2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for syncevolution 1.0beta3.
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='syncevolution'
728 PACKAGE_TARNAME='syncevolution'
729 PACKAGE_VERSION='1.0beta3'
730 PACKAGE_STRING='syncevolution 1.0beta3'
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
821 INSTALL_STRIP_PROGRAM
851 ENABLE_UNIT_TESTS_TRUE
852 ENABLE_UNIT_TESTS_FALSE
865 ENABLE_BLUETOOTH_TRUE
866 ENABLE_BLUETOOTH_FALSE
892 INTLTOOL_DESKTOP_RULE
893 INTLTOOL_DIRECTORY_RULE
900 INTLTOOL_SOUNDLIST_RULE
905 INTLTOOL_XML_NOMERGE_RULE
907 INTLTOOL_SCHEMAS_RULE
909 INTLTOOL_SERVICE_RULE
940 SYNCEVOLUTION_LOCALEDIR
957 SYNTHESIS_SUBDIR_INCLUDES
965 GNOMEBLUETOOTH_CFLAGS
968 ENABLE_GNOME_BLUETOOTH_PANEL_TRUE
969 ENABLE_GNOME_BLUETOOTH_PANEL_FALSE
980 LIBICAL_AVAILABLE_CFLAGS
981 LIBICAL_AVAILABLE_LIBS
1021 ENABLE_MODULES_FALSE
1023 SYNCEVOLUTION_CXXFLAGS
1024 ENABLE_EVOLUTION_COMPATIBILITY_TRUE
1025 ENABLE_EVOLUTION_COMPATIBILITY_FALSE
1031 ac_precious_vars='build_alias
1057 MX_GTK_0_99_1_CFLAGS
1070 GNOMEBLUETOOTH_CFLAGS
1078 LIBICAL_AVAILABLE_CFLAGS
1079 LIBICAL_AVAILABLE_LIBS
1099 # Initialize some variables set by options.
1101 ac_init_version=false
1102 # The variables have the same names as the options, with
1103 # dashes changed to underlines.
1104 cache_file=/dev/null
1111 program_transform_name=s,x,x,
1119 # Installation directory options.
1120 # These are left unexpanded so users can "make install exec_prefix=/foo"
1121 # and all the variables that are supposed to be based on exec_prefix
1122 # by default will actually change.
1123 # Use braces instead of parens because sh, perl, etc. also accept them.
1124 # (The list follows the same order as the GNU Coding Standards.)
1125 bindir='${exec_prefix}/bin'
1126 sbindir='${exec_prefix}/sbin'
1127 libexecdir='${exec_prefix}/libexec'
1128 datarootdir='${prefix}/share'
1129 datadir='${datarootdir}'
1130 sysconfdir='${prefix}/etc'
1131 sharedstatedir='${prefix}/com'
1132 localstatedir='${prefix}/var'
1133 includedir='${prefix}/include'
1134 oldincludedir='/usr/include'
1135 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1136 infodir='${datarootdir}/info'
1141 libdir='${exec_prefix}/lib'
1142 localedir='${datarootdir}/locale'
1143 mandir='${datarootdir}/man'
1149 # If the previous option needs an argument, assign it.
1150 if test -n "$ac_prev"; then
1151 eval $ac_prev=\$ac_option
1157 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1161 # Accept the important Cygnus configure options, so we can diagnose typos.
1163 case $ac_dashdash$ac_option in
1167 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1169 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1170 bindir=$ac_optarg ;;
1172 -build | --build | --buil | --bui | --bu)
1173 ac_prev=build_alias ;;
1174 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1175 build_alias=$ac_optarg ;;
1177 -cache-file | --cache-file | --cache-fil | --cache-fi \
1178 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1179 ac_prev=cache_file ;;
1180 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1181 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1182 cache_file=$ac_optarg ;;
1184 --config-cache | -C)
1185 cache_file=config.cache ;;
1187 -datadir | --datadir | --datadi | --datad)
1189 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1190 datadir=$ac_optarg ;;
1192 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1193 | --dataroo | --dataro | --datar)
1194 ac_prev=datarootdir ;;
1195 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1196 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1197 datarootdir=$ac_optarg ;;
1199 -disable-* | --disable-*)
1200 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1201 # Reject names that are not valid shell variable names.
1202 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1203 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1204 { (exit 1); exit 1; }; }
1205 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1206 eval enable_$ac_feature=no ;;
1208 -docdir | --docdir | --docdi | --doc | --do)
1210 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1211 docdir=$ac_optarg ;;
1213 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1215 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1216 dvidir=$ac_optarg ;;
1218 -enable-* | --enable-*)
1219 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1220 # Reject names that are not valid shell variable names.
1221 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1222 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1223 { (exit 1); exit 1; }; }
1224 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1225 eval enable_$ac_feature=\$ac_optarg ;;
1227 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1228 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1229 | --exec | --exe | --ex)
1230 ac_prev=exec_prefix ;;
1231 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1232 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1233 | --exec=* | --exe=* | --ex=*)
1234 exec_prefix=$ac_optarg ;;
1236 -gas | --gas | --ga | --g)
1237 # Obsolete; use --with-gas.
1240 -help | --help | --hel | --he | -h)
1241 ac_init_help=long ;;
1242 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1243 ac_init_help=recursive ;;
1244 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1245 ac_init_help=short ;;
1247 -host | --host | --hos | --ho)
1248 ac_prev=host_alias ;;
1249 -host=* | --host=* | --hos=* | --ho=*)
1250 host_alias=$ac_optarg ;;
1252 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1254 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1256 htmldir=$ac_optarg ;;
1258 -includedir | --includedir | --includedi | --included | --include \
1259 | --includ | --inclu | --incl | --inc)
1260 ac_prev=includedir ;;
1261 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1262 | --includ=* | --inclu=* | --incl=* | --inc=*)
1263 includedir=$ac_optarg ;;
1265 -infodir | --infodir | --infodi | --infod | --info | --inf)
1267 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1268 infodir=$ac_optarg ;;
1270 -libdir | --libdir | --libdi | --libd)
1272 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1273 libdir=$ac_optarg ;;
1275 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1276 | --libexe | --libex | --libe)
1277 ac_prev=libexecdir ;;
1278 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1279 | --libexe=* | --libex=* | --libe=*)
1280 libexecdir=$ac_optarg ;;
1282 -localedir | --localedir | --localedi | --localed | --locale)
1283 ac_prev=localedir ;;
1284 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1285 localedir=$ac_optarg ;;
1287 -localstatedir | --localstatedir | --localstatedi | --localstated \
1288 | --localstate | --localstat | --localsta | --localst | --locals)
1289 ac_prev=localstatedir ;;
1290 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1291 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1292 localstatedir=$ac_optarg ;;
1294 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1296 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1297 mandir=$ac_optarg ;;
1299 -nfp | --nfp | --nf)
1300 # Obsolete; use --without-fp.
1303 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1304 | --no-cr | --no-c | -n)
1307 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1308 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1311 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1312 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1313 | --oldin | --oldi | --old | --ol | --o)
1314 ac_prev=oldincludedir ;;
1315 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1316 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1317 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1318 oldincludedir=$ac_optarg ;;
1320 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1322 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1323 prefix=$ac_optarg ;;
1325 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1326 | --program-pre | --program-pr | --program-p)
1327 ac_prev=program_prefix ;;
1328 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1329 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1330 program_prefix=$ac_optarg ;;
1332 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1333 | --program-suf | --program-su | --program-s)
1334 ac_prev=program_suffix ;;
1335 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1336 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1337 program_suffix=$ac_optarg ;;
1339 -program-transform-name | --program-transform-name \
1340 | --program-transform-nam | --program-transform-na \
1341 | --program-transform-n | --program-transform- \
1342 | --program-transform | --program-transfor \
1343 | --program-transfo | --program-transf \
1344 | --program-trans | --program-tran \
1345 | --progr-tra | --program-tr | --program-t)
1346 ac_prev=program_transform_name ;;
1347 -program-transform-name=* | --program-transform-name=* \
1348 | --program-transform-nam=* | --program-transform-na=* \
1349 | --program-transform-n=* | --program-transform-=* \
1350 | --program-transform=* | --program-transfor=* \
1351 | --program-transfo=* | --program-transf=* \
1352 | --program-trans=* | --program-tran=* \
1353 | --progr-tra=* | --program-tr=* | --program-t=*)
1354 program_transform_name=$ac_optarg ;;
1356 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1358 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1359 pdfdir=$ac_optarg ;;
1361 -psdir | --psdir | --psdi | --psd | --ps)
1363 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1366 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1367 | -silent | --silent | --silen | --sile | --sil)
1370 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1372 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1374 sbindir=$ac_optarg ;;
1376 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1377 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1378 | --sharedst | --shareds | --shared | --share | --shar \
1380 ac_prev=sharedstatedir ;;
1381 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1382 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1383 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1385 sharedstatedir=$ac_optarg ;;
1387 -site | --site | --sit)
1389 -site=* | --site=* | --sit=*)
1392 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1394 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1395 srcdir=$ac_optarg ;;
1397 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1398 | --syscon | --sysco | --sysc | --sys | --sy)
1399 ac_prev=sysconfdir ;;
1400 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1401 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1402 sysconfdir=$ac_optarg ;;
1404 -target | --target | --targe | --targ | --tar | --ta | --t)
1405 ac_prev=target_alias ;;
1406 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1407 target_alias=$ac_optarg ;;
1409 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1412 -version | --version | --versio | --versi | --vers | -V)
1413 ac_init_version=: ;;
1416 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1417 # Reject names that are not valid shell variable names.
1418 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1419 { echo "$as_me: error: invalid package name: $ac_package" >&2
1420 { (exit 1); exit 1; }; }
1421 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1422 eval with_$ac_package=\$ac_optarg ;;
1424 -without-* | --without-*)
1425 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1426 # Reject names that are not valid shell variable names.
1427 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1428 { echo "$as_me: error: invalid package name: $ac_package" >&2
1429 { (exit 1); exit 1; }; }
1430 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1431 eval with_$ac_package=no ;;
1434 # Obsolete; use --with-x.
1437 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1438 | --x-incl | --x-inc | --x-in | --x-i)
1439 ac_prev=x_includes ;;
1440 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1441 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1442 x_includes=$ac_optarg ;;
1444 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1445 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1446 ac_prev=x_libraries ;;
1447 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1448 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1449 x_libraries=$ac_optarg ;;
1451 -*) { echo "$as_me: error: unrecognized option: $ac_option
1452 Try \`$0 --help' for more information." >&2
1453 { (exit 1); exit 1; }; }
1457 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1458 # Reject names that are not valid shell variable names.
1459 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1460 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1461 { (exit 1); exit 1; }; }
1462 eval $ac_envvar=\$ac_optarg
1463 export $ac_envvar ;;
1466 # FIXME: should be removed in autoconf 3.0.
1467 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1468 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1469 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1470 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1476 if test -n "$ac_prev"; then
1477 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1478 { echo "$as_me: error: missing argument to $ac_option" >&2
1479 { (exit 1); exit 1; }; }
1482 # Be sure to have absolute directory names.
1483 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1484 datadir sysconfdir sharedstatedir localstatedir includedir \
1485 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1486 libdir localedir mandir
1488 eval ac_val=\$$ac_var
1490 [\\/$]* | ?:[\\/]* ) continue;;
1491 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1493 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1494 { (exit 1); exit 1; }; }
1497 # There might be people who depend on the old broken behavior: `$host'
1498 # used to hold the argument of --host etc.
1499 # FIXME: To remove some day.
1502 target=$target_alias
1504 # FIXME: To remove some day.
1505 if test "x$host_alias" != x; then
1506 if test "x$build_alias" = x; then
1507 cross_compiling=maybe
1508 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1509 If a cross compiler is detected then cross compile mode will be used." >&2
1510 elif test "x$build_alias" != "x$host_alias"; then
1516 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1518 test "$silent" = yes && exec 6>/dev/null
1521 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1522 ac_ls_di=`ls -di .` &&
1523 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1524 { echo "$as_me: error: Working directory cannot be determined" >&2
1525 { (exit 1); exit 1; }; }
1526 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1527 { echo "$as_me: error: pwd does not report name of working directory" >&2
1528 { (exit 1); exit 1; }; }
1531 # Find the source files, if location was not specified.
1532 if test -z "$srcdir"; then
1533 ac_srcdir_defaulted=yes
1534 # Try the directory containing this script, then the parent directory.
1535 ac_confdir=`$as_dirname -- "$0" ||
1536 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1537 X"$0" : 'X\(//\)[^/]' \| \
1538 X"$0" : 'X\(//\)$' \| \
1539 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1541 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1559 if test ! -r "$srcdir/$ac_unique_file"; then
1563 ac_srcdir_defaulted=no
1565 if test ! -r "$srcdir/$ac_unique_file"; then
1566 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1567 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1568 { (exit 1); exit 1; }; }
1570 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1572 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1573 { (exit 1); exit 1; }; }
1575 # When building in place, set srcdir=.
1576 if test "$ac_abs_confdir" = "$ac_pwd"; then
1579 # Remove unnecessary trailing slashes from srcdir.
1580 # Double slashes in file names in object file debugging info
1581 # mess up M-x gdb in Emacs.
1583 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1585 for ac_var in $ac_precious_vars; do
1586 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1587 eval ac_env_${ac_var}_value=\$${ac_var}
1588 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1589 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1593 # Report the --help message.
1595 if test "$ac_init_help" = "long"; then
1596 # Omit some internal or obsolete options to make the list less imposing.
1597 # This message is too long to be a string in the A/UX 3.1 sh.
1599 \`configure' configures syncevolution 1.0beta3 to adapt to many kinds of systems.
1601 Usage: $0 [OPTION]... [VAR=VALUE]...
1603 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1604 VAR=VALUE. See below for descriptions of some of the useful variables.
1606 Defaults for the options are specified in brackets.
1609 -h, --help display this help and exit
1610 --help=short display options specific to this package
1611 --help=recursive display the short help of all the included packages
1612 -V, --version display version information and exit
1613 -q, --quiet, --silent do not print \`checking...' messages
1614 --cache-file=FILE cache test results in FILE [disabled]
1615 -C, --config-cache alias for \`--cache-file=config.cache'
1616 -n, --no-create do not create output files
1617 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1619 Installation directories:
1620 --prefix=PREFIX install architecture-independent files in PREFIX
1621 [$ac_default_prefix]
1622 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1625 By default, \`make install' will install all the files in
1626 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1627 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1628 for instance \`--prefix=\$HOME'.
1630 For better control, use the options below.
1632 Fine tuning of the installation directories:
1633 --bindir=DIR user executables [EPREFIX/bin]
1634 --sbindir=DIR system admin executables [EPREFIX/sbin]
1635 --libexecdir=DIR program executables [EPREFIX/libexec]
1636 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1637 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1638 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1639 --libdir=DIR object code libraries [EPREFIX/lib]
1640 --includedir=DIR C header files [PREFIX/include]
1641 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1642 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1643 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1644 --infodir=DIR info documentation [DATAROOTDIR/info]
1645 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1646 --mandir=DIR man documentation [DATAROOTDIR/man]
1647 --docdir=DIR documentation root [DATAROOTDIR/doc/syncevolution]
1648 --htmldir=DIR html documentation [DOCDIR]
1649 --dvidir=DIR dvi documentation [DOCDIR]
1650 --pdfdir=DIR pdf documentation [DOCDIR]
1651 --psdir=DIR ps documentation [DOCDIR]
1657 --program-prefix=PREFIX prepend PREFIX to installed program names
1658 --program-suffix=SUFFIX append SUFFIX to installed program names
1659 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1662 --build=BUILD configure for building on BUILD [guessed]
1663 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1667 if test -n "$ac_init_help"; then
1668 case $ac_init_help in
1669 short | recursive ) echo "Configuration of syncevolution 1.0beta3:";;
1674 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1675 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1676 --enable-shared build backends as dynamically loadable modules
1677 --enable-static build backends also as static libraries
1678 --enable-unit-tests enables tests embedded in the source code of the
1679 library (changes content of executable)
1680 --enable-integration-tests
1681 enables tests outside of the library (can be used
1682 together with normal builds of the library)
1683 --enable-static-cxx build executables which contain libstdc++ instead of
1684 requiring suitable libstdc++.so to run
1685 --enable-evolution-compatibility
1686 build executables which only call Evolution via
1687 dlopen/dlsym: this avoids all hard dependencies on
1688 EDS shared objects, but might lead to crashes when
1690 --enable-developer-mode The dynamic loadble backend libraries is loaded from
1691 current build directory instead of the standard
1693 --enable-maemo enables some hacks which work around problems with
1694 the Maemo 2.0 until at least 3.0 EDS-Dbus
1695 --disable-dependency-tracking speeds up one-time build
1696 --enable-dependency-tracking do not reject slow dependency extractors
1697 --enable-libcurl enable libcurl as transport layer
1698 --enable-libsoup enable libsoup as transport layer
1699 --enable-bluetooth enable bluetooth transport support
1700 --disable-ssl-certificate-check
1701 Disable SSL certificate checking in all server
1702 *templates*. Users can still choose to enable or
1703 disable it in their configuration. This is necessary
1704 on platforms where the transport library has
1705 problems verifying the server's certificate (libsoup
1707 http://bugzilla.moblin.org/show_bug.cgi?id=4551)
1708 --enable-gui=gui type enables building the GTK+ UI that uses the
1709 SyncEvolution DBus API. Options: gtk, moblin, all
1710 (builds sync-ui-gtk and sync-ui-moblin) "gtk" is the
1711 default for --enable-gui without type. No GUI is
1712 built when --enable-gui is not used.
1713 --enable-core enables building the core SyncEvolution (library,
1715 --enable-dbus-service enables building the dbus service executable and all
1716 related features (the DBus wrapper library, command
1717 line usage of server, etc).
1718 --enable-notify send notifications for automatic sync events
1719 --disable-nls do not use Native Language Support
1720 --enable-gnome-bluetooth-panel-plugin
1721 GNOME Bluetooth panel plugin adding a "sync" button
1722 for paired devices (off by default)
1723 --enable-addressbook enable access to Mac OS X address book (default off)
1724 --disable-ebook disable access to Evolution addressbooks (must be
1725 used to compile without it)
1726 --disable-ecal disable access to Evolution calendars and tasks
1727 (must be used to compile without it)
1728 --disable-file disable file-based backend which stores items in
1729 separate files in a fixed directory (default on)
1730 --enable-maemo-calendar enable access to PIM data stored in Maemo 5 calendar
1731 application (default off)
1732 --enable-sqlite enable access to PIM data stored in SQLite files
1733 (experimental, default off)
1734 --enable-xmlrpc enable XMLRPC-based backend which stores items on a
1735 central web service (default off)
1736 --enable-shared[=PKGS] build shared libraries [default=yes]
1737 --enable-static[=PKGS] build static libraries [default=yes]
1738 --enable-fast-install[=PKGS]
1739 optimize for fast installation [default=yes]
1740 --disable-libtool-lock avoid locking (might break parallel builds)
1743 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1744 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1745 --with-synthesis-src=<base directory|svn URL|git URL>
1746 Specifies location of the Synthesis root directory.
1747 Use this when the Synthesis library is to be
1748 compiled as part of the SyncEvolution compilation.
1749 In release versions of SyncEvolution, a copy of the
1750 Synthesis code is bundled under 'src/synthesis' and
1751 compiled unless something else is specified.
1752 --with-synthesis-src can be given a path to sources
1753 checked out already, a Subversion repository URL or
1754 a git repository URL. When given a repository URL,
1755 then the configure script will checkout the sources
1756 into 'src/synthesis-workdir' or update that working
1757 copy if the directory already exists. Default:
1758 bundled source in src/synthesis (in released
1759 SyncEvolution sources), otherwise.
1760 --with-syncml-engines=client|server|both
1761 Determines which kind of support for SyncML is
1762 compiled and linked into SyncEvolution. Default is
1763 both. Currently has no effect.
1764 --with-synthesis-username=<svn username>
1765 username to use when checking out
1766 --with-synthesis-src sources from Subversion,
1768 --with-synthesis-revision=<git tag/branch/hash or Subversion revision>
1769 Identifies which source revision to use from
1770 --with-synthesis-src repository, empty string stands
1771 for latest. Default for default --synthesis-src:
1773 --with-ca-certificates=<colon separated list of files>
1774 Specifies location of one or more CA certificate
1775 files. This sets the default value for the
1776 SSLServerCertificates option. Default: empty when
1777 using libcurl (because it has its own default), a
1778 list of paths known to work for Debian and Red Hat
1780 --with-boost[=DIR] use boost (default is yes) - it is possible to
1781 specify the root directory for boost (optional)
1782 --with-boost-libdir=LIB_DIR
1783 Force given directory for boost libraries. Note that
1784 this will overwrite library path detection, so use
1785 this parameter only if default library detection
1786 fails and you know exactly where your boost
1787 libraries are located.
1788 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1789 --with-pic try to use only PIC/non-PIC objects [default=use
1791 --with-tags[=TAGS] include additional configurations [automatic]
1793 Some influential environment variables:
1794 CC C compiler command
1795 CFLAGS C compiler flags
1796 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1797 nonstandard directory <lib dir>
1798 LIBS libraries to pass to the linker, e.g. -l<library>
1799 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1800 you have headers in a nonstandard directory <include dir>
1802 PKG_CONFIG path to pkg-config utility
1804 C compiler flags for LIBSOUP, overriding pkg-config
1806 linker flags for LIBSOUP, overriding pkg-config
1808 C compiler flags for LIBOPENOBEX, overriding pkg-config
1810 linker flags for LIBOPENOBEX, overriding pkg-config
1812 C compiler flags for BLUEZ, overriding pkg-config
1813 BLUEZ_LIBS linker flags for BLUEZ, overriding pkg-config
1815 C compiler flags for KEYRING, overriding pkg-config
1817 linker flags for KEYRING, overriding pkg-config
1819 C compiler flags for KEYRING_2_20, overriding pkg-config
1821 linker flags for KEYRING_2_20, overriding pkg-config
1822 DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1823 DBUS_LIBS linker flags for DBUS, overriding pkg-config
1825 C compiler flags for LIBNOTIFY, overriding pkg-config
1827 linker flags for LIBNOTIFY, overriding pkg-config
1829 C compiler flags for DBUS_GLIB, overriding pkg-config
1831 linker flags for DBUS_GLIB, overriding pkg-config
1832 MX_GTK_0_99_1_CFLAGS
1833 C compiler flags for MX_GTK_0_99_1, overriding pkg-config
1835 linker flags for MX_GTK_0_99_1, overriding pkg-config
1837 C compiler flags for UNIQUE, overriding pkg-config
1838 UNIQUE_LIBS linker flags for UNIQUE, overriding pkg-config
1840 C compiler flags for GTK_2_18, overriding pkg-config
1842 linker flags for GTK_2_18, overriding pkg-config
1843 GUI_CFLAGS C compiler flags for GUI, overriding pkg-config
1844 GUI_LIBS linker flags for GUI, overriding pkg-config
1845 CXX C++ compiler command
1846 CXXFLAGS C++ compiler flags
1848 C compiler flags for SYNTHESIS, overriding pkg-config
1850 linker flags for SYNTHESIS, overriding pkg-config
1851 GNOMEBLUETOOTH_CFLAGS
1852 C compiler flags for GNOMEBLUETOOTH, overriding pkg-config
1854 linker flags for GNOMEBLUETOOTH, overriding pkg-config
1856 C compiler flags for EPACKAGE, overriding pkg-config
1858 linker flags for EPACKAGE, overriding pkg-config
1859 ECAL_CFLAGS C compiler flags for ECAL, overriding pkg-config
1860 ECAL_LIBS linker flags for ECAL, overriding pkg-config
1862 C compiler flags for EBOOK, overriding pkg-config
1863 EBOOK_LIBS linker flags for EBOOK, overriding pkg-config
1864 LIBICAL_AVAILABLE_CFLAGS
1865 C compiler flags for LIBICAL_AVAILABLE, overriding pkg-config
1866 LIBICAL_AVAILABLE_LIBS
1867 linker flags for LIBICAL_AVAILABLE, overriding pkg-config
1869 C compiler flags for MCALB, overriding pkg-config
1870 MCALB_LIBS linker flags for MCALB, overriding pkg-config
1872 C compiler flags for SQLITE, overriding pkg-config
1873 SQLITE_LIBS linker flags for SQLITE, overriding pkg-config
1874 CXXCPP C++ preprocessor
1875 F77 Fortran 77 compiler command
1876 FFLAGS Fortran 77 compiler flags
1877 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1878 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1880 C compiler flags for GTHREAD, overriding pkg-config
1882 linker flags for GTHREAD, overriding pkg-config
1884 C compiler flags for GOBJECT, overriding pkg-config
1886 linker flags for GOBJECT, overriding pkg-config
1888 C compiler flags for GLIB216, overriding pkg-config
1890 linker flags for GLIB216, overriding pkg-config
1891 NSS_CFLAGS C compiler flags for NSS, overriding pkg-config
1892 NSS_LIBS linker flags for NSS, overriding pkg-config
1894 Use these variables to override the choices made by `configure' or to help
1895 it to find libraries and programs with nonstandard names/locations.
1901 if test "$ac_init_help" = "recursive"; then
1902 # If there are subdirs, report their specific --help.
1903 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1904 test -d "$ac_dir" || continue
1908 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1910 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1911 # A ".." for each directory in $ac_dir_suffix.
1912 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1913 case $ac_top_builddir_sub in
1914 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1915 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1918 ac_abs_top_builddir=$ac_pwd
1919 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1920 # for backward compatibility:
1921 ac_top_builddir=$ac_top_build_prefix
1924 .) # We are building in place.
1926 ac_top_srcdir=$ac_top_builddir_sub
1927 ac_abs_top_srcdir=$ac_pwd ;;
1928 [\\/]* | ?:[\\/]* ) # Absolute name.
1929 ac_srcdir=$srcdir$ac_dir_suffix;
1930 ac_top_srcdir=$srcdir
1931 ac_abs_top_srcdir=$srcdir ;;
1933 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1934 ac_top_srcdir=$ac_top_build_prefix$srcdir
1935 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1937 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1939 cd "$ac_dir" || { ac_status=$?; continue; }
1940 # Check for guested configure.
1941 if test -f "$ac_srcdir/configure.gnu"; then
1943 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1944 elif test -f "$ac_srcdir/configure"; then
1946 $SHELL "$ac_srcdir/configure" --help=recursive
1948 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1950 cd "$ac_pwd" || { ac_status=$?; break; }
1954 test -n "$ac_init_help" && exit $ac_status
1955 if $ac_init_version; then
1957 syncevolution configure 1.0beta3
1958 generated by GNU Autoconf 2.61
1960 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1961 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1962 This configure script is free software; the Free Software Foundation
1963 gives unlimited permission to copy, distribute and modify it.
1967 cat >config.log <<_ACEOF
1968 This file contains any messages produced by compilers while
1969 running configure, to aid debugging if configure makes a mistake.
1971 It was created by syncevolution $as_me 1.0beta3, which was
1972 generated by GNU Autoconf 2.61. Invocation command line was
1984 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1985 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1986 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1987 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1988 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1990 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1991 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1993 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1994 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1995 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1996 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1997 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1998 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1999 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2007 test -z "$as_dir" && as_dir=.
2008 echo "PATH: $as_dir"
2024 # Keep a trace of the command line.
2025 # Strip out --no-create and --no-recursion so they do not pile up.
2026 # Strip out --silent because we don't want to record it for future runs.
2027 # Also quote any args containing shell meta-characters.
2028 # Make two passes to allow for proper duplicate-argument suppression.
2032 ac_must_keep_next=false
2038 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2039 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2040 | -silent | --silent | --silen | --sile | --sil)
2043 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2046 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2048 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2049 if test $ac_must_keep_next = true; then
2050 ac_must_keep_next=false # Got value, back to normal.
2053 *=* | --config-cache | -C | -disable-* | --disable-* \
2054 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2055 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2056 | -with-* | --with-* | -without-* | --without-* | --x)
2057 case "$ac_configure_args0 " in
2058 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2061 -* ) ac_must_keep_next=true ;;
2064 ac_configure_args="$ac_configure_args '$ac_arg'"
2069 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2070 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2072 # When interrupted or exit'd, cleanup temporary files, and complete
2073 # config.log. We remove comments because anyway the quotes in there
2074 # would cause problems or look ugly.
2075 # WARNING: Use '\'' to represent an apostrophe within the trap.
2076 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2077 trap 'exit_status=$?
2078 # Save into config.log some information that might help in debugging.
2083 ## ---------------- ##
2084 ## Cache variables. ##
2085 ## ---------------- ##
2088 # The following way of writing the cache mishandles newlines in values,
2090 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2091 eval ac_val=\$$ac_var
2095 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2096 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2099 _ | IFS | as_nl) ;; #(
2100 *) $as_unset $ac_var ;;
2105 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2106 *${as_nl}ac_space=\ *)
2108 "s/'\''/'\''\\\\'\'''\''/g;
2109 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2112 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2120 ## ----------------- ##
2121 ## Output variables. ##
2122 ## ----------------- ##
2125 for ac_var in $ac_subst_vars
2127 eval ac_val=\$$ac_var
2129 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2131 echo "$ac_var='\''$ac_val'\''"
2135 if test -n "$ac_subst_files"; then
2137 ## ------------------- ##
2138 ## File substitutions. ##
2139 ## ------------------- ##
2142 for ac_var in $ac_subst_files
2144 eval ac_val=\$$ac_var
2146 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2148 echo "$ac_var='\''$ac_val'\''"
2153 if test -s confdefs.h; then
2163 test "$ac_signal" != 0 &&
2164 echo "$as_me: caught signal $ac_signal"
2165 echo "$as_me: exit $exit_status"
2167 rm -f core *.core core.conftest.* &&
2168 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2171 for ac_signal in 1 2 13 15; do
2172 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2176 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2177 rm -f -r conftest* confdefs.h
2179 # Predefined preprocessor variables.
2181 cat >>confdefs.h <<_ACEOF
2182 #define PACKAGE_NAME "$PACKAGE_NAME"
2186 cat >>confdefs.h <<_ACEOF
2187 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2191 cat >>confdefs.h <<_ACEOF
2192 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2196 cat >>confdefs.h <<_ACEOF
2197 #define PACKAGE_STRING "$PACKAGE_STRING"
2201 cat >>confdefs.h <<_ACEOF
2202 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2206 # Let the site file select an alternate cache file if it wants to.
2207 # Prefer explicitly selected file to automatically selected ones.
2208 if test -n "$CONFIG_SITE"; then
2209 set x "$CONFIG_SITE"
2210 elif test "x$prefix" != xNONE; then
2211 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2213 set x "$ac_default_prefix/share/config.site" \
2214 "$ac_default_prefix/etc/config.site"
2219 if test -r "$ac_site_file"; then
2220 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2221 echo "$as_me: loading site script $ac_site_file" >&6;}
2222 sed 's/^/| /' "$ac_site_file" >&5
2227 if test -r "$cache_file"; then
2228 # Some versions of bash will fail to source /dev/null (special
2229 # files actually), so we avoid doing that.
2230 if test -f "$cache_file"; then
2231 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2232 echo "$as_me: loading cache $cache_file" >&6;}
2234 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2235 *) . "./$cache_file";;
2239 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2240 echo "$as_me: creating cache $cache_file" >&6;}
2244 # Check that the precious variables saved in the cache have kept the same
2246 ac_cache_corrupted=false
2247 for ac_var in $ac_precious_vars; do
2248 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2249 eval ac_new_set=\$ac_env_${ac_var}_set
2250 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2251 eval ac_new_val=\$ac_env_${ac_var}_value
2252 case $ac_old_set,$ac_new_set in
2254 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2255 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2256 ac_cache_corrupted=: ;;
2258 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2259 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2260 ac_cache_corrupted=: ;;
2263 if test "x$ac_old_val" != "x$ac_new_val"; then
2264 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2265 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2266 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2267 echo "$as_me: former value: $ac_old_val" >&2;}
2268 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2269 echo "$as_me: current value: $ac_new_val" >&2;}
2270 ac_cache_corrupted=:
2273 # Pass precious variables to config.status.
2274 if test "$ac_new_set" = set; then
2276 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2277 *) ac_arg=$ac_var=$ac_new_val ;;
2279 case " $ac_configure_args " in
2280 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2281 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2285 if $ac_cache_corrupted; then
2286 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2287 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2288 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2289 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2290 { (exit 1); exit 1; }; }
2318 ac_cpp='$CPP $CPPFLAGS'
2319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2324 STABLE_VERSION=0.9.2+
2327 am__api_version='1.10'
2330 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2331 if test -f "$ac_dir/install-sh"; then
2333 ac_install_sh="$ac_aux_dir/install-sh -c"
2335 elif test -f "$ac_dir/install.sh"; then
2337 ac_install_sh="$ac_aux_dir/install.sh -c"
2339 elif test -f "$ac_dir/shtool"; then
2341 ac_install_sh="$ac_aux_dir/shtool install -c"
2345 if test -z "$ac_aux_dir"; then
2346 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2347 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2348 { (exit 1); exit 1; }; }
2351 # These three variables are undocumented and unsupported,
2352 # and are intended to be withdrawn in a future Autoconf release.
2353 # They can cause serious problems if a builder's source tree is in a directory
2354 # whose full name contains unusual characters.
2355 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2356 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2357 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2360 # Find a good install program. We prefer a C program (faster),
2361 # so one script is as good as another. But avoid the broken or
2362 # incompatible versions:
2363 # SysV /etc/install, /usr/sbin/install
2364 # SunOS /usr/etc/install
2365 # IRIX /sbin/install
2367 # AmigaOS /C/install, which installs bootblocks on floppy discs
2368 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2369 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2370 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2371 # OS/2's system install, which has a completely different semantic
2372 # ./install, which can be erroneously created by make from ./install.sh.
2373 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2374 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2375 if test -z "$INSTALL"; then
2376 if test "${ac_cv_path_install+set}" = set; then
2377 echo $ECHO_N "(cached) $ECHO_C" >&6
2379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2383 test -z "$as_dir" && as_dir=.
2384 # Account for people who put trailing slashes in PATH elements.
2386 ./ | .// | /cC/* | \
2387 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2388 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2391 # OSF1 and SCO ODT 3.0 have their own names for install.
2392 # Don't use installbsd from OSF since it installs stuff as root
2394 for ac_prog in ginstall scoinst install; do
2395 for ac_exec_ext in '' $ac_executable_extensions; do
2396 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2397 if test $ac_prog = install &&
2398 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2399 # AIX install. It has an incompatible calling convention.
2401 elif test $ac_prog = install &&
2402 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2403 # program-specific install script used by HP pwplus--don't use.
2406 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2419 if test "${ac_cv_path_install+set}" = set; then
2420 INSTALL=$ac_cv_path_install
2422 # As a last resort, use the slow shell script. Don't cache a
2423 # value for INSTALL within a source directory, because that will
2424 # break other packages using the cache if that directory is
2425 # removed, or if the value is a relative name.
2426 INSTALL=$ac_install_sh
2429 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2430 echo "${ECHO_T}$INSTALL" >&6; }
2432 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2433 # It thinks the first close brace ends the variable substitution.
2434 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2436 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2438 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2440 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2441 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2444 echo timestamp > conftest.file
2445 # Do `set' in a subshell so we don't clobber the current shell's
2446 # arguments. Must try -L first in case configure is actually a
2447 # symlink; some systems play weird games with the mod time of symlinks
2448 # (eg FreeBSD returns the mod time of the symlink's containing
2451 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2452 if test "$*" = "X"; then
2454 set X `ls -t $srcdir/configure conftest.file`
2457 if test "$*" != "X $srcdir/configure conftest.file" \
2458 && test "$*" != "X conftest.file $srcdir/configure"; then
2460 # If neither matched, then we have a broken ls. This can happen
2461 # if, for instance, CONFIG_SHELL is bash and it inherits a
2462 # broken ls alias from the environment. This has actually
2463 # happened. Such a system could not be considered "sane".
2464 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2465 alias in your environment" >&5
2466 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2467 alias in your environment" >&2;}
2468 { (exit 1); exit 1; }; }
2471 test "$2" = conftest.file
2477 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2478 Check your system clock" >&5
2479 echo "$as_me: error: newly created file is older than distributed files!
2480 Check your system clock" >&2;}
2481 { (exit 1); exit 1; }; }
2483 { echo "$as_me:$LINENO: result: yes" >&5
2484 echo "${ECHO_T}yes" >&6; }
2485 test "$program_prefix" != NONE &&
2486 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2487 # Use a double $ so make ignores it.
2488 test "$program_suffix" != NONE &&
2489 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2490 # Double any \ or $. echo might interpret backslashes.
2491 # By default was `s,x,x', remove it if useless.
2492 cat <<\_ACEOF >conftest.sed
2493 s/[\\$]/&&/g;s/;s,x,x,$//
2495 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2498 # expand $ac_aux_dir to an absolute path
2499 am_aux_dir=`cd $ac_aux_dir && pwd`
2501 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2502 # Use eval to expand $SHELL
2503 if eval "$MISSING --run true"; then
2504 am_missing_run="$MISSING --run "
2507 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2508 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2511 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2512 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2513 if test -z "$MKDIR_P"; then
2514 if test "${ac_cv_path_mkdir+set}" = set; then
2515 echo $ECHO_N "(cached) $ECHO_C" >&6
2517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2518 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2521 test -z "$as_dir" && as_dir=.
2522 for ac_prog in mkdir gmkdir; do
2523 for ac_exec_ext in '' $ac_executable_extensions; do
2524 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2525 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2526 'mkdir (GNU coreutils) '* | \
2527 'mkdir (coreutils) '* | \
2528 'mkdir (fileutils) '4.1*)
2529 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2539 if test "${ac_cv_path_mkdir+set}" = set; then
2540 MKDIR_P="$ac_cv_path_mkdir -p"
2542 # As a last resort, use the slow shell script. Don't cache a
2543 # value for MKDIR_P within a source directory, because that will
2544 # break other packages using the cache if that directory is
2545 # removed, or if the value is a relative name.
2546 test -d ./--version && rmdir ./--version
2547 MKDIR_P="$ac_install_sh -d"
2550 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2551 echo "${ECHO_T}$MKDIR_P" >&6; }
2555 [\\/$]* | ?:[\\/]*) ;;
2556 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2559 for ac_prog in gawk mawk nawk awk
2561 # Extract the first word of "$ac_prog", so it can be a program name with args.
2562 set dummy $ac_prog; ac_word=$2
2563 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2564 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2565 if test "${ac_cv_prog_AWK+set}" = set; then
2566 echo $ECHO_N "(cached) $ECHO_C" >&6
2568 if test -n "$AWK"; then
2569 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2575 test -z "$as_dir" && as_dir=.
2576 for ac_exec_ext in '' $ac_executable_extensions; do
2577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2578 ac_cv_prog_AWK="$ac_prog"
2579 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2589 if test -n "$AWK"; then
2590 { echo "$as_me:$LINENO: result: $AWK" >&5
2591 echo "${ECHO_T}$AWK" >&6; }
2593 { echo "$as_me:$LINENO: result: no" >&5
2594 echo "${ECHO_T}no" >&6; }
2598 test -n "$AWK" && break
2601 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2602 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2603 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2604 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2605 echo $ECHO_N "(cached) $ECHO_C" >&6
2607 cat >conftest.make <<\_ACEOF
2610 @echo '@@@%%%=$(MAKE)=@@@%%%'
2612 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2613 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2615 eval ac_cv_prog_make_${ac_make}_set=yes;;
2617 eval ac_cv_prog_make_${ac_make}_set=no;;
2621 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2622 { echo "$as_me:$LINENO: result: yes" >&5
2623 echo "${ECHO_T}yes" >&6; }
2626 { echo "$as_me:$LINENO: result: no" >&5
2627 echo "${ECHO_T}no" >&6; }
2628 SET_MAKE="MAKE=${MAKE-make}"
2631 rm -rf .tst 2>/dev/null
2632 mkdir .tst 2>/dev/null
2633 if test -d .tst; then
2638 rmdir .tst 2>/dev/null
2640 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2641 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2642 # is not polluted with repeated "-I."
2643 am__isrc=' -I$(srcdir)'
2644 # test to see if srcdir already configured
2645 if test -f $srcdir/config.status; then
2646 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2647 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2648 { (exit 1); exit 1; }; }
2652 # test whether we have cygpath
2653 if test -z "$CYGPATH_W"; then
2654 if (cygpath --version) >/dev/null 2>/dev/null; then
2655 CYGPATH_W='cygpath -w'
2662 # Define the identity of the package.
2663 PACKAGE='syncevolution'
2667 cat >>confdefs.h <<_ACEOF
2668 #define PACKAGE "$PACKAGE"
2672 cat >>confdefs.h <<_ACEOF
2673 #define VERSION "$VERSION"
2676 # Some tools Automake needs.
2678 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2681 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2684 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2687 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2690 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2692 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2694 # Installed binaries are usually stripped using `strip' when the user
2695 # run `make install-strip'. However `strip' might not be the right
2696 # tool to use in cross-compilation environments, therefore Automake
2697 # will honor the `STRIP' environment variable to overrule this program.
2698 if test "$cross_compiling" != no; then
2699 if test -n "$ac_tool_prefix"; then
2700 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2701 set dummy ${ac_tool_prefix}strip; ac_word=$2
2702 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2704 if test "${ac_cv_prog_STRIP+set}" = set; then
2705 echo $ECHO_N "(cached) $ECHO_C" >&6
2707 if test -n "$STRIP"; then
2708 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2714 test -z "$as_dir" && as_dir=.
2715 for ac_exec_ext in '' $ac_executable_extensions; do
2716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2717 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2718 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2727 STRIP=$ac_cv_prog_STRIP
2728 if test -n "$STRIP"; then
2729 { echo "$as_me:$LINENO: result: $STRIP" >&5
2730 echo "${ECHO_T}$STRIP" >&6; }
2732 { echo "$as_me:$LINENO: result: no" >&5
2733 echo "${ECHO_T}no" >&6; }
2738 if test -z "$ac_cv_prog_STRIP"; then
2740 # Extract the first word of "strip", so it can be a program name with args.
2741 set dummy strip; ac_word=$2
2742 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2743 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2744 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2745 echo $ECHO_N "(cached) $ECHO_C" >&6
2747 if test -n "$ac_ct_STRIP"; then
2748 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2754 test -z "$as_dir" && as_dir=.
2755 for ac_exec_ext in '' $ac_executable_extensions; do
2756 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2757 ac_cv_prog_ac_ct_STRIP="strip"
2758 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2767 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2768 if test -n "$ac_ct_STRIP"; then
2769 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2770 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2772 { echo "$as_me:$LINENO: result: no" >&5
2773 echo "${ECHO_T}no" >&6; }
2776 if test "x$ac_ct_STRIP" = x; then
2779 case $cross_compiling:$ac_tool_warned in
2781 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2782 whose name does not start with the host triplet. If you think this
2783 configuration is useful to you, please write to autoconf@gnu.org." >&5
2784 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2785 whose name does not start with the host triplet. If you think this
2786 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2787 ac_tool_warned=yes ;;
2792 STRIP="$ac_cv_prog_STRIP"
2796 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2798 # We need awk for the "check" target. The system "awk" is bad on
2800 # Always define AMTAR for backward compatibility.
2802 AMTAR=${AMTAR-"${am_missing_run}tar"}
2805 { echo "$as_me:$LINENO: checking how to create a ustar tar archive" >&5
2806 echo $ECHO_N "checking how to create a ustar tar archive... $ECHO_C" >&6; }
2807 # Loop over all known methods to create a tar archive until one works.
2808 _am_tools='gnutar plaintar pax cpio none'
2809 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2810 # Do not fold the above two line into one, because Tru64 sh and
2811 # Solaris sh will not grok spaces in the rhs of `-'.
2812 for _am_tool in $_am_tools
2816 for _am_tar in tar gnutar gtar;
2818 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2819 ($_am_tar --version) >&5 2>&5
2821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2822 (exit $ac_status); } && break
2824 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
2825 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
2826 am__untar="$_am_tar -xf -"
2829 # Must skip GNU tar: if it does not support --format= it doesn't create
2830 # ustar tarball either.
2831 (tar --version) >/dev/null 2>&1 && continue
2832 am__tar='tar chf - "$$tardir"'
2833 am__tar_='tar chf - "$tardir"'
2834 am__untar='tar xf -'
2837 am__tar='pax -L -x ustar -w "$$tardir"'
2838 am__tar_='pax -L -x ustar -w "$tardir"'
2842 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
2843 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
2844 am__untar='cpio -i -H ustar -d'
2853 # If the value was cached, stop now. We just wanted to have am__tar
2854 # and am__untar set.
2855 test -n "${am_cv_prog_tar_ustar}" && break
2857 # tar/untar a dummy directory, and stop if the command works
2860 echo GrepMe > conftest.dir/file
2861 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2862 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2865 (exit $ac_status); }
2867 if test -s conftest.tar; then
2868 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2869 ($am__untar <conftest.tar) >&5 2>&5
2871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2872 (exit $ac_status); }
2873 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2878 if test "${am_cv_prog_tar_ustar+set}" = set; then
2879 echo $ECHO_N "(cached) $ECHO_C" >&6
2881 am_cv_prog_tar_ustar=$_am_tool
2884 { echo "$as_me:$LINENO: result: $am_cv_prog_tar_ustar" >&5
2885 echo "${ECHO_T}$am_cv_prog_tar_ustar" >&6; }
2894 ac_config_headers="$ac_config_headers config.h"
2899 DEVICE_TYPE=workstation
2902 # Check whether --with-synthesis-src was given.
2903 if test "${with_synthesis_src+set}" = set; then
2904 withval=$with_synthesis_src; SYNTHESISSRC="$withval"
2905 test "$SYNTHESISSRC" != "yes" || { { echo "$as_me:$LINENO: error: --with-synthesis-src requires a parameter (base directory, svn URL or git URL)" >&5
2906 echo "$as_me: error: --with-synthesis-src requires a parameter (base directory, svn URL or git URL)" >&2;}
2907 { (exit 1); exit 1; }; }
2909 SYNTHESISSRC="$SYNTHESISSRC_DEF"; REVISION="syncevolution-0.9"
2914 # Check whether --with-syncml-engines was given.
2915 if test "${with_syncml_engines+set}" = set; then
2916 withval=$with_syncml_engines; SYNCML_ENGINES="$withval"
2922 case $SYNCML_ENGINES in both|client)
2923 cat >>confdefs.h <<\_ACEOF
2924 #define ENABLE_SYNCML_CLIENT 1
2927 case $SYNCML_ENGINES in both|server)
2928 cat >>confdefs.h <<\_ACEOF
2929 #define ENABLE_SYNCML_SERVER 1
2932 case $SYNCML_ENGINES in both|server|client) true;; *) { { echo "$as_me:$LINENO: error: Invalid value for --with-syncml-engines: $SYNCML_ENGINES" >&5
2933 echo "$as_me: error: Invalid value for --with-syncml-engines: $SYNCML_ENGINES" >&2;}
2934 { (exit 1); exit 1; }; };; esac
2937 # Check whether --with-synthesis-username was given.
2938 if test "${with_synthesis_username+set}" = set; then
2939 withval=$with_synthesis_username; USERNAME="$withval"
2946 # Check whether --with-synthesis-revision was given.
2947 if test "${with_synthesis_revision+set}" = set; then
2948 withval=$with_synthesis_revision; REVISION="$withval"
2952 # Check whether --enable-shared was given.
2953 if test "${enable_shared+set}" = set; then
2954 enableval=$enable_shared; enable_shared="$enableval"
2960 # Check whether --enable-static was given.
2961 if test "${enable_static+set}" = set; then
2962 enableval=$enable_static; enable_static="$enableval"
2968 # Check whether --enable-unit-tests was given.
2969 if test "${enable_unit_tests+set}" = set; then
2970 enableval=$enable_unit_tests; enable_unit_tests="$enableval"
2972 enable_unit_tests="no"
2975 # Check whether --enable-integration-tests was given.
2976 if test "${enable_integration_tests+set}" = set; then
2977 enableval=$enable_integration_tests; enable_integration_tests="$enableval"
2979 enable_integration_tests="no"
2983 # Check whether --enable-static-cxx was given.
2984 if test "${enable_static_cxx+set}" = set; then
2985 enableval=$enable_static_cxx; enable_static_cxx="$enableval"
2987 enable_static_cxx="no"
2991 # Check whether --enable-evolution-compatibility was given.
2992 if test "${enable_evolution_compatibility+set}" = set; then
2993 enableval=$enable_evolution_compatibility; enable_evolution_compatibility="$enableval"
2995 enable_evolution_compatibility="no"
2999 # Check whether --enable-developer-mode was given.
3000 if test "${enable_developer_mode+set}" = set; then
3001 enableval=$enable_developer_mode; enable_developer_mode="$enableval"
3003 enable_developer_mode="no"
3008 # - set the (non-standard!) DBUS_DEFAULT_TIMEOUT
3009 # - wrap e_book_from_string() to fix invalid parameter
3010 # - don't use UTF-8 encoding in Perl script
3011 # Check whether --enable-maemo was given.
3012 if test "${enable_maemo+set}" = set; then
3013 enableval=$enable_maemo;
3014 cat >>confdefs.h <<\_ACEOF
3015 #define ENABLE_MAEMO 1
3019 MODIFY_SYNCCOMPARE='-e "s/use encoding/#use encoding/;" -e "s/:utf8//;"'
3024 DEPDIR="${am__leading_dot}deps"
3026 ac_config_commands="$ac_config_commands depfiles"
3029 am_make=${MAKE-make}
3030 cat > confinc << 'END'
3035 # If we don't find an include directive, just comment out the code.
3036 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3037 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3041 # First try GNU make style include.
3042 echo "include confinc" > confmf
3043 # We grep out `Entering directory' and `Leaving directory'
3044 # messages which can occur if `w' ends up in MAKEFLAGS.
3045 # In particular we don't look at `^make:' because GNU make might
3046 # be invoked under some other name (usually "gmake"), in which
3047 # case it prints its new name instead of `make'.
3048 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3053 # Now try BSD make style include.
3054 if test "$am__include" = "#"; then
3055 echo '.include "confinc"' > confmf
3056 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3057 am__include=.include
3064 { echo "$as_me:$LINENO: result: $_am_result" >&5
3065 echo "${ECHO_T}$_am_result" >&6; }
3066 rm -f confinc confmf
3068 # Check whether --enable-dependency-tracking was given.
3069 if test "${enable_dependency_tracking+set}" = set; then
3070 enableval=$enable_dependency_tracking;
3073 if test "x$enable_dependency_tracking" != xno; then
3074 am_depcomp="$ac_aux_dir/depcomp"
3077 if test "x$enable_dependency_tracking" != xno; then
3087 ac_cpp='$CPP $CPPFLAGS'
3088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3091 if test -n "$ac_tool_prefix"; then
3092 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3093 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3094 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3095 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3096 if test "${ac_cv_prog_CC+set}" = set; then
3097 echo $ECHO_N "(cached) $ECHO_C" >&6
3099 if test -n "$CC"; then
3100 ac_cv_prog_CC="$CC" # Let the user override the test.
3102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3106 test -z "$as_dir" && as_dir=.
3107 for ac_exec_ext in '' $ac_executable_extensions; do
3108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3109 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3110 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3120 if test -n "$CC"; then
3121 { echo "$as_me:$LINENO: result: $CC" >&5
3122 echo "${ECHO_T}$CC" >&6; }
3124 { echo "$as_me:$LINENO: result: no" >&5
3125 echo "${ECHO_T}no" >&6; }
3130 if test -z "$ac_cv_prog_CC"; then
3132 # Extract the first word of "gcc", so it can be a program name with args.
3133 set dummy gcc; ac_word=$2
3134 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3136 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3137 echo $ECHO_N "(cached) $ECHO_C" >&6
3139 if test -n "$ac_ct_CC"; then
3140 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3146 test -z "$as_dir" && as_dir=.
3147 for ac_exec_ext in '' $ac_executable_extensions; do
3148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3149 ac_cv_prog_ac_ct_CC="gcc"
3150 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3159 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3160 if test -n "$ac_ct_CC"; then
3161 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3162 echo "${ECHO_T}$ac_ct_CC" >&6; }
3164 { echo "$as_me:$LINENO: result: no" >&5
3165 echo "${ECHO_T}no" >&6; }
3168 if test "x$ac_ct_CC" = x; then
3171 case $cross_compiling:$ac_tool_warned in
3173 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3174 whose name does not start with the host triplet. If you think this
3175 configuration is useful to you, please write to autoconf@gnu.org." >&5
3176 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3177 whose name does not start with the host triplet. If you think this
3178 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3179 ac_tool_warned=yes ;;
3187 if test -z "$CC"; then
3188 if test -n "$ac_tool_prefix"; then
3189 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3190 set dummy ${ac_tool_prefix}cc; ac_word=$2
3191 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3193 if test "${ac_cv_prog_CC+set}" = set; then
3194 echo $ECHO_N "(cached) $ECHO_C" >&6
3196 if test -n "$CC"; then
3197 ac_cv_prog_CC="$CC" # Let the user override the test.
3199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3203 test -z "$as_dir" && as_dir=.
3204 for ac_exec_ext in '' $ac_executable_extensions; do
3205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3206 ac_cv_prog_CC="${ac_tool_prefix}cc"
3207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3217 if test -n "$CC"; then
3218 { echo "$as_me:$LINENO: result: $CC" >&5
3219 echo "${ECHO_T}$CC" >&6; }
3221 { echo "$as_me:$LINENO: result: no" >&5
3222 echo "${ECHO_T}no" >&6; }
3228 if test -z "$CC"; then
3229 # Extract the first word of "cc", so it can be a program name with args.
3230 set dummy cc; ac_word=$2
3231 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3233 if test "${ac_cv_prog_CC+set}" = set; then
3234 echo $ECHO_N "(cached) $ECHO_C" >&6
3236 if test -n "$CC"; then
3237 ac_cv_prog_CC="$CC" # Let the user override the test.
3240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3244 test -z "$as_dir" && as_dir=.
3245 for ac_exec_ext in '' $ac_executable_extensions; do
3246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3247 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3248 ac_prog_rejected=yes
3252 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3259 if test $ac_prog_rejected = yes; then
3260 # We found a bogon in the path, so make sure we never use it.
3261 set dummy $ac_cv_prog_CC
3263 if test $# != 0; then
3264 # We chose a different compiler from the bogus one.
3265 # However, it has the same basename, so the bogon will be chosen
3266 # first if we set CC to just the basename; use the full file name.
3268 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3274 if test -n "$CC"; then
3275 { echo "$as_me:$LINENO: result: $CC" >&5
3276 echo "${ECHO_T}$CC" >&6; }
3278 { echo "$as_me:$LINENO: result: no" >&5
3279 echo "${ECHO_T}no" >&6; }
3284 if test -z "$CC"; then
3285 if test -n "$ac_tool_prefix"; then
3286 for ac_prog in cl.exe
3288 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3289 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3290 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3291 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3292 if test "${ac_cv_prog_CC+set}" = set; then
3293 echo $ECHO_N "(cached) $ECHO_C" >&6
3295 if test -n "$CC"; then
3296 ac_cv_prog_CC="$CC" # Let the user override the test.
3298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3302 test -z "$as_dir" && as_dir=.
3303 for ac_exec_ext in '' $ac_executable_extensions; do
3304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3305 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3306 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3316 if test -n "$CC"; then
3317 { echo "$as_me:$LINENO: result: $CC" >&5
3318 echo "${ECHO_T}$CC" >&6; }
3320 { echo "$as_me:$LINENO: result: no" >&5
3321 echo "${ECHO_T}no" >&6; }
3325 test -n "$CC" && break
3328 if test -z "$CC"; then
3330 for ac_prog in cl.exe
3332 # Extract the first word of "$ac_prog", so it can be a program name with args.
3333 set dummy $ac_prog; ac_word=$2
3334 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3336 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3337 echo $ECHO_N "(cached) $ECHO_C" >&6
3339 if test -n "$ac_ct_CC"; then
3340 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3346 test -z "$as_dir" && as_dir=.
3347 for ac_exec_ext in '' $ac_executable_extensions; do
3348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3349 ac_cv_prog_ac_ct_CC="$ac_prog"
3350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3359 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3360 if test -n "$ac_ct_CC"; then
3361 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3362 echo "${ECHO_T}$ac_ct_CC" >&6; }
3364 { echo "$as_me:$LINENO: result: no" >&5
3365 echo "${ECHO_T}no" >&6; }
3369 test -n "$ac_ct_CC" && break
3372 if test "x$ac_ct_CC" = x; then
3375 case $cross_compiling:$ac_tool_warned in
3377 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3378 whose name does not start with the host triplet. If you think this
3379 configuration is useful to you, please write to autoconf@gnu.org." >&5
3380 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3381 whose name does not start with the host triplet. If you think this
3382 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3383 ac_tool_warned=yes ;;
3392 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3393 See \`config.log' for more details." >&5
3394 echo "$as_me: error: no acceptable C compiler found in \$PATH
3395 See \`config.log' for more details." >&2;}
3396 { (exit 1); exit 1; }; }
3398 # Provide some information about the compiler.
3399 echo "$as_me:$LINENO: checking for C compiler version" >&5
3400 ac_compiler=`set X $ac_compile; echo $2`
3401 { (ac_try="$ac_compiler --version >&5"
3403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3404 *) ac_try_echo=$ac_try;;
3406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3407 (eval "$ac_compiler --version >&5") 2>&5
3409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3410 (exit $ac_status); }
3411 { (ac_try="$ac_compiler -v >&5"
3413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3414 *) ac_try_echo=$ac_try;;
3416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3417 (eval "$ac_compiler -v >&5") 2>&5
3419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3420 (exit $ac_status); }
3421 { (ac_try="$ac_compiler -V >&5"
3423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3424 *) ac_try_echo=$ac_try;;
3426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3427 (eval "$ac_compiler -V >&5") 2>&5
3429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3430 (exit $ac_status); }
3432 cat >conftest.$ac_ext <<_ACEOF
3435 cat confdefs.h >>conftest.$ac_ext
3436 cat >>conftest.$ac_ext <<_ACEOF
3437 /* end confdefs.h. */
3447 ac_clean_files_save=$ac_clean_files
3448 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3449 # Try to create an executable without -o first, disregard a.out.
3450 # It will help us diagnose broken compilers, and finding out an intuition
3452 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3453 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3454 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3456 # List of possible output files, starting from the most likely.
3457 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
3458 # only as a last resort. b.out is created by i960 compilers.
3459 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
3461 # The IRIX 6 linker writes into existing files which may not be
3462 # executable, retaining their permissions. Remove them first so a
3463 # subsequent execution test works.
3465 for ac_file in $ac_files
3468 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3469 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3474 if { (ac_try="$ac_link_default"
3476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3477 *) ac_try_echo=$ac_try;;
3479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3480 (eval "$ac_link_default") 2>&5
3482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3483 (exit $ac_status); }; then
3484 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3485 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3486 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3487 # so that the user can short-circuit this test for compilers unknown to
3489 for ac_file in $ac_files ''
3491 test -f "$ac_file" || continue
3493 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3496 # We found the default executable, but exeext='' is most
3500 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3502 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3504 # We set ac_cv_exeext here because the later test for it is not
3505 # safe: cross compilers may not add the suffix if given an `-o'
3506 # argument, so we may need to know it at that point already.
3507 # Even if this section looks crufty: it has the advantage of
3514 test "$ac_cv_exeext" = no && ac_cv_exeext=
3520 { echo "$as_me:$LINENO: result: $ac_file" >&5
3521 echo "${ECHO_T}$ac_file" >&6; }
3522 if test -z "$ac_file"; then
3523 echo "$as_me: failed program was:" >&5
3524 sed 's/^/| /' conftest.$ac_ext >&5
3526 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3527 See \`config.log' for more details." >&5
3528 echo "$as_me: error: C compiler cannot create executables
3529 See \`config.log' for more details." >&2;}
3530 { (exit 77); exit 77; }; }
3533 ac_exeext=$ac_cv_exeext
3535 # Check that the compiler produces executables we can run. If not, either
3536 # the compiler is broken, or we cross compile.
3537 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3538 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3539 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3540 # If not cross compiling, check that we can run a simple program.
3541 if test "$cross_compiling" != yes; then
3542 if { ac_try='./$ac_file'
3543 { (case "(($ac_try" in
3544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3545 *) ac_try_echo=$ac_try;;
3547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3548 (eval "$ac_try") 2>&5
3550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3551 (exit $ac_status); }; }; then
3554 if test "$cross_compiling" = maybe; then
3557 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3558 If you meant to cross compile, use \`--host'.
3559 See \`config.log' for more details." >&5
3560 echo "$as_me: error: cannot run C compiled programs.
3561 If you meant to cross compile, use \`--host'.
3562 See \`config.log' for more details." >&2;}
3563 { (exit 1); exit 1; }; }
3567 { echo "$as_me:$LINENO: result: yes" >&5
3568 echo "${ECHO_T}yes" >&6; }
3570 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3571 ac_clean_files=$ac_clean_files_save
3572 # Check that the compiler produces executables we can run. If not, either
3573 # the compiler is broken, or we cross compile.
3574 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3575 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3576 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3577 echo "${ECHO_T}$cross_compiling" >&6; }
3579 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3580 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3581 if { (ac_try="$ac_link"
3583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3584 *) ac_try_echo=$ac_try;;
3586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3587 (eval "$ac_link") 2>&5
3589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3590 (exit $ac_status); }; then
3591 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3592 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3593 # work properly (i.e., refer to `conftest.exe'), while it won't with
3595 for ac_file in conftest.exe conftest conftest.*; do
3596 test -f "$ac_file" || continue
3598 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3599 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3605 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3606 See \`config.log' for more details." >&5
3607 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3608 See \`config.log' for more details." >&2;}
3609 { (exit 1); exit 1; }; }
3612 rm -f conftest$ac_cv_exeext
3613 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3614 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3616 rm -f conftest.$ac_ext
3617 EXEEXT=$ac_cv_exeext
3619 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3620 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3621 if test "${ac_cv_objext+set}" = set; then
3622 echo $ECHO_N "(cached) $ECHO_C" >&6
3624 cat >conftest.$ac_ext <<_ACEOF
3627 cat confdefs.h >>conftest.$ac_ext
3628 cat >>conftest.$ac_ext <<_ACEOF
3629 /* end confdefs.h. */
3639 rm -f conftest.o conftest.obj
3640 if { (ac_try="$ac_compile"
3642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3643 *) ac_try_echo=$ac_try;;
3645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3646 (eval "$ac_compile") 2>&5
3648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3649 (exit $ac_status); }; then
3650 for ac_file in conftest.o conftest.obj conftest.*; do
3651 test -f "$ac_file" || continue;
3653 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3654 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3659 echo "$as_me: failed program was:" >&5
3660 sed 's/^/| /' conftest.$ac_ext >&5
3662 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3663 See \`config.log' for more details." >&5
3664 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3665 See \`config.log' for more details." >&2;}
3666 { (exit 1); exit 1; }; }
3669 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3671 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3672 echo "${ECHO_T}$ac_cv_objext" >&6; }
3673 OBJEXT=$ac_cv_objext
3675 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3676 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3677 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3678 echo $ECHO_N "(cached) $ECHO_C" >&6
3680 cat >conftest.$ac_ext <<_ACEOF
3683 cat confdefs.h >>conftest.$ac_ext
3684 cat >>conftest.$ac_ext <<_ACEOF
3685 /* end confdefs.h. */
3698 rm -f conftest.$ac_objext
3699 if { (ac_try="$ac_compile"
3701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3702 *) ac_try_echo=$ac_try;;
3704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3705 (eval "$ac_compile") 2>conftest.er1
3707 grep -v '^ *+' conftest.er1 >conftest.err
3709 cat conftest.err >&5
3710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3711 (exit $ac_status); } && {
3712 test -z "$ac_c_werror_flag" ||
3713 test ! -s conftest.err
3714 } && test -s conftest.$ac_objext; then
3717 echo "$as_me: failed program was:" >&5
3718 sed 's/^/| /' conftest.$ac_ext >&5
3723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3724 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3727 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3728 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3729 GCC=`test $ac_compiler_gnu = yes && echo yes`
3730 ac_test_CFLAGS=${CFLAGS+set}
3731 ac_save_CFLAGS=$CFLAGS
3732 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3733 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3734 if test "${ac_cv_prog_cc_g+set}" = set; then
3735 echo $ECHO_N "(cached) $ECHO_C" >&6
3737 ac_save_c_werror_flag=$ac_c_werror_flag
3738 ac_c_werror_flag=yes
3741 cat >conftest.$ac_ext <<_ACEOF
3744 cat confdefs.h >>conftest.$ac_ext
3745 cat >>conftest.$ac_ext <<_ACEOF
3746 /* end confdefs.h. */
3756 rm -f conftest.$ac_objext
3757 if { (ac_try="$ac_compile"
3759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3760 *) ac_try_echo=$ac_try;;
3762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3763 (eval "$ac_compile") 2>conftest.er1
3765 grep -v '^ *+' conftest.er1 >conftest.err
3767 cat conftest.err >&5
3768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3769 (exit $ac_status); } && {
3770 test -z "$ac_c_werror_flag" ||
3771 test ! -s conftest.err
3772 } && test -s conftest.$ac_objext; then
3775 echo "$as_me: failed program was:" >&5
3776 sed 's/^/| /' conftest.$ac_ext >&5
3779 cat >conftest.$ac_ext <<_ACEOF
3782 cat confdefs.h >>conftest.$ac_ext
3783 cat >>conftest.$ac_ext <<_ACEOF
3784 /* end confdefs.h. */
3794 rm -f conftest.$ac_objext
3795 if { (ac_try="$ac_compile"
3797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3798 *) ac_try_echo=$ac_try;;
3800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3801 (eval "$ac_compile") 2>conftest.er1
3803 grep -v '^ *+' conftest.er1 >conftest.err
3805 cat conftest.err >&5
3806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3807 (exit $ac_status); } && {
3808 test -z "$ac_c_werror_flag" ||
3809 test ! -s conftest.err
3810 } && test -s conftest.$ac_objext; then
3813 echo "$as_me: failed program was:" >&5
3814 sed 's/^/| /' conftest.$ac_ext >&5
3816 ac_c_werror_flag=$ac_save_c_werror_flag
3818 cat >conftest.$ac_ext <<_ACEOF
3821 cat confdefs.h >>conftest.$ac_ext
3822 cat >>conftest.$ac_ext <<_ACEOF
3823 /* end confdefs.h. */
3833 rm -f conftest.$ac_objext
3834 if { (ac_try="$ac_compile"
3836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3837 *) ac_try_echo=$ac_try;;
3839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3840 (eval "$ac_compile") 2>conftest.er1
3842 grep -v '^ *+' conftest.er1 >conftest.err
3844 cat conftest.err >&5
3845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3846 (exit $ac_status); } && {
3847 test -z "$ac_c_werror_flag" ||
3848 test ! -s conftest.err
3849 } && test -s conftest.$ac_objext; then
3852 echo "$as_me: failed program was:" >&5
3853 sed 's/^/| /' conftest.$ac_ext >&5
3858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3865 ac_c_werror_flag=$ac_save_c_werror_flag
3867 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3868 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3869 if test "$ac_test_CFLAGS" = set; then
3870 CFLAGS=$ac_save_CFLAGS
3871 elif test $ac_cv_prog_cc_g = yes; then
3872 if test "$GCC" = yes; then
3878 if test "$GCC" = yes; then
3884 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3885 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3886 if test "${ac_cv_prog_cc_c89+set}" = set; then
3887 echo $ECHO_N "(cached) $ECHO_C" >&6
3889 ac_cv_prog_cc_c89=no
3891 cat >conftest.$ac_ext <<_ACEOF
3894 cat confdefs.h >>conftest.$ac_ext
3895 cat >>conftest.$ac_ext <<_ACEOF
3896 /* end confdefs.h. */
3899 #include <sys/types.h>
3900 #include <sys/stat.h>
3901 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3902 struct buf { int x; };
3903 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3904 static char *e (p, i)
3910 static char *f (char * (*g) (char **, int), char **p, ...)
3915 s = g (p, va_arg (v,int));
3920 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3921 function prototypes and stuff, but not '\xHH' hex character constants.
3922 These don't provoke an error unfortunately, instead are silently treated
3923 as 'x'. The following induces an error, until -std is added to get
3924 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3925 array size at least. It's necessary to write '\x00'==0 to get something
3926 that's true only with -std. */
3927 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3929 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3930 inside strings and character constants. */
3932 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3934 int test (int i, double x);
3935 struct s1 {int (*f) (int a);};
3936 struct s2 {int (*f) (double a);};
3937 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3943 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3948 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3949 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3951 CC="$ac_save_CC $ac_arg"
3952 rm -f conftest.$ac_objext
3953 if { (ac_try="$ac_compile"
3955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3956 *) ac_try_echo=$ac_try;;
3958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3959 (eval "$ac_compile") 2>conftest.er1
3961 grep -v '^ *+' conftest.er1 >conftest.err
3963 cat conftest.err >&5
3964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3965 (exit $ac_status); } && {
3966 test -z "$ac_c_werror_flag" ||
3967 test ! -s conftest.err
3968 } && test -s conftest.$ac_objext; then
3969 ac_cv_prog_cc_c89=$ac_arg
3971 echo "$as_me: failed program was:" >&5
3972 sed 's/^/| /' conftest.$ac_ext >&5
3977 rm -f core conftest.err conftest.$ac_objext
3978 test "x$ac_cv_prog_cc_c89" != "xno" && break
3980 rm -f conftest.$ac_ext
3985 case "x$ac_cv_prog_cc_c89" in
3987 { echo "$as_me:$LINENO: result: none needed" >&5
3988 echo "${ECHO_T}none needed" >&6; } ;;
3990 { echo "$as_me:$LINENO: result: unsupported" >&5
3991 echo "${ECHO_T}unsupported" >&6; } ;;
3993 CC="$CC $ac_cv_prog_cc_c89"
3994 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3995 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4000 ac_cpp='$CPP $CPPFLAGS'
4001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4005 depcc="$CC" am_compiler_list=
4007 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4008 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4009 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4010 echo $ECHO_N "(cached) $ECHO_C" >&6
4012 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4013 # We make a subdir and do the tests there. Otherwise we can end up
4014 # making bogus files that we don't know about and never remove. For
4015 # instance it was reported that on HP-UX the gcc test will end up
4016 # making a dummy file named `D' -- because `-MD' means `put the output
4019 # Copy depcomp to subdir because otherwise we won't find it if we're
4020 # using a relative directory.
4021 cp "$am_depcomp" conftest.dir
4023 # We will build objects and dependencies in a subdirectory because
4024 # it helps to detect inapplicable dependency modes. For instance
4025 # both Tru64's cc and ICC support -MD to output dependencies as a
4026 # side effect of compilation, but ICC will put the dependencies in
4027 # the current directory while Tru64 will put them in the object
4031 am_cv_CC_dependencies_compiler_type=none
4032 if test "$am_compiler_list" = ""; then
4033 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4035 for depmode in $am_compiler_list; do
4036 # Setup a source with many dependencies, because some compilers
4037 # like to wrap large dependency lists on column 80 (with \), and
4038 # we should not choose a depcomp mode which is confused by this.
4040 # We need to recreate these files for each test, as the compiler may
4041 # overwrite some of them when testing with obscure command lines.
4042 # This happens at least with the AIX C compiler.
4044 for i in 1 2 3 4 5 6; do
4045 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4046 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4047 # Solaris 8's {/usr,}/bin/sh.
4048 touch sub/conftst$i.h
4050 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4054 # after this tag, mechanisms are not by side-effect, so they'll
4055 # only be used when explicitly requested
4056 if test "x$enable_dependency_tracking" = xyes; then
4064 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4065 # mode. It turns out that the SunPro C++ compiler does not properly
4066 # handle `-M -o', and we need to detect this.
4067 if depmode=$depmode \
4068 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4069 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4070 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4071 >/dev/null 2>conftest.err &&
4072 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4073 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4074 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4075 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4076 # icc doesn't choke on unknown options, it will just issue warnings
4077 # or remarks (even with -Werror). So we grep stderr for any message
4078 # that says an option was ignored or not supported.
4079 # When given -MP, icc 7.0 and 7.1 complain thusly:
4080 # icc: Command line warning: ignoring option '-M'; no argument required
4081 # The diagnosis changed in icc 8.0:
4082 # icc: Command line remark: option '-MP' not supported
4083 if (grep 'ignoring option' conftest.err ||
4084 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4085 am_cv_CC_dependencies_compiler_type=$depmode
4094 am_cv_CC_dependencies_compiler_type=none
4098 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4099 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4100 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4103 test "x$enable_dependency_tracking" != xno \
4104 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4106 am__fastdepCC_FALSE='#'
4108 am__fastdepCC_TRUE='#'
4109 am__fastdepCC_FALSE=
4115 ac_cpp='$CPP $CPPFLAGS'
4116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4119 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4120 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4121 # On Suns, sometimes $CPP names a directory.
4122 if test -n "$CPP" && test -d "$CPP"; then
4125 if test -z "$CPP"; then
4126 if test "${ac_cv_prog_CPP+set}" = set; then
4127 echo $ECHO_N "(cached) $ECHO_C" >&6
4129 # Double quotes because CPP needs to be expanded
4130 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4133 for ac_c_preproc_warn_flag in '' yes
4135 # Use a header file that comes with gcc, so configuring glibc
4136 # with a fresh cross-compiler works.
4137 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4138 # <limits.h> exists even on freestanding compilers.
4139 # On the NeXT, cc -E runs the code through the compiler's parser,
4140 # not just through cpp. "Syntax error" is here to catch this case.
4141 cat >conftest.$ac_ext <<_ACEOF
4144 cat confdefs.h >>conftest.$ac_ext
4145 cat >>conftest.$ac_ext <<_ACEOF
4146 /* end confdefs.h. */
4148 # include <limits.h>
4150 # include <assert.h>
4154 if { (ac_try="$ac_cpp conftest.$ac_ext"
4156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4157 *) ac_try_echo=$ac_try;;
4159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4160 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4162 grep -v '^ *+' conftest.er1 >conftest.err
4164 cat conftest.err >&5
4165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4166 (exit $ac_status); } >/dev/null && {
4167 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4168 test ! -s conftest.err
4172 echo "$as_me: failed program was:" >&5
4173 sed 's/^/| /' conftest.$ac_ext >&5
4175 # Broken: fails on valid input.
4179 rm -f conftest.err conftest.$ac_ext
4181 # OK, works on sane cases. Now check whether nonexistent headers
4182 # can be detected and how.
4183 cat >conftest.$ac_ext <<_ACEOF
4186 cat confdefs.h >>conftest.$ac_ext
4187 cat >>conftest.$ac_ext <<_ACEOF
4188 /* end confdefs.h. */
4189 #include <ac_nonexistent.h>
4191 if { (ac_try="$ac_cpp conftest.$ac_ext"
4193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4194 *) ac_try_echo=$ac_try;;
4196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4197 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4199 grep -v '^ *+' conftest.er1 >conftest.err
4201 cat conftest.err >&5
4202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4203 (exit $ac_status); } >/dev/null && {
4204 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4205 test ! -s conftest.err
4207 # Broken: success on invalid input.
4210 echo "$as_me: failed program was:" >&5
4211 sed 's/^/| /' conftest.$ac_ext >&5
4213 # Passes both tests.
4218 rm -f conftest.err conftest.$ac_ext
4221 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4222 rm -f conftest.err conftest.$ac_ext
4223 if $ac_preproc_ok; then
4235 { echo "$as_me:$LINENO: result: $CPP" >&5
4236 echo "${ECHO_T}$CPP" >&6; }
4238 for ac_c_preproc_warn_flag in '' yes
4240 # Use a header file that comes with gcc, so configuring glibc
4241 # with a fresh cross-compiler works.
4242 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4243 # <limits.h> exists even on freestanding compilers.
4244 # On the NeXT, cc -E runs the code through the compiler's parser,
4245 # not just through cpp. "Syntax error" is here to catch this case.
4246 cat >conftest.$ac_ext <<_ACEOF
4249 cat confdefs.h >>conftest.$ac_ext
4250 cat >>conftest.$ac_ext <<_ACEOF
4251 /* end confdefs.h. */
4253 # include <limits.h>
4255 # include <assert.h>
4259 if { (ac_try="$ac_cpp conftest.$ac_ext"
4261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4262 *) ac_try_echo=$ac_try;;
4264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4265 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4267 grep -v '^ *+' conftest.er1 >conftest.err
4269 cat conftest.err >&5
4270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4271 (exit $ac_status); } >/dev/null && {
4272 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4273 test ! -s conftest.err
4277 echo "$as_me: failed program was:" >&5
4278 sed 's/^/| /' conftest.$ac_ext >&5
4280 # Broken: fails on valid input.
4284 rm -f conftest.err conftest.$ac_ext
4286 # OK, works on sane cases. Now check whether nonexistent headers
4287 # can be detected and how.
4288 cat >conftest.$ac_ext <<_ACEOF
4291 cat confdefs.h >>conftest.$ac_ext
4292 cat >>conftest.$ac_ext <<_ACEOF
4293 /* end confdefs.h. */
4294 #include <ac_nonexistent.h>
4296 if { (ac_try="$ac_cpp conftest.$ac_ext"
4298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4299 *) ac_try_echo=$ac_try;;
4301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4302 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4304 grep -v '^ *+' conftest.er1 >conftest.err
4306 cat conftest.err >&5
4307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4308 (exit $ac_status); } >/dev/null && {
4309 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4310 test ! -s conftest.err
4312 # Broken: success on invalid input.
4315 echo "$as_me: failed program was:" >&5
4316 sed 's/^/| /' conftest.$ac_ext >&5
4318 # Passes both tests.
4323 rm -f conftest.err conftest.$ac_ext
4326 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4327 rm -f conftest.err conftest.$ac_ext
4328 if $ac_preproc_ok; then
4331 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4332 See \`config.log' for more details." >&5
4333 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4334 See \`config.log' for more details." >&2;}
4335 { (exit 1); exit 1; }; }
4339 ac_cpp='$CPP $CPPFLAGS'
4340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4345 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4346 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4347 if test "${ac_cv_path_GREP+set}" = set; then
4348 echo $ECHO_N "(cached) $ECHO_C" >&6
4350 # Extract the first word of "grep ggrep" to use in msg output
4351 if test -z "$GREP"; then
4352 set dummy grep ggrep; ac_prog_name=$2
4353 if test "${ac_cv_path_GREP+set}" = set; then
4354 echo $ECHO_N "(cached) $ECHO_C" >&6
4356 ac_path_GREP_found=false
4357 # Loop through the user's path and test for each of PROGNAME-LIST
4358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4359 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4362 test -z "$as_dir" && as_dir=.
4363 for ac_prog in grep ggrep; do
4364 for ac_exec_ext in '' $ac_executable_extensions; do
4365 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4366 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4367 # Check for GNU ac_path_GREP and select it if it is found.
4368 # Check for GNU $ac_path_GREP
4369 case `"$ac_path_GREP" --version 2>&1` in
4371 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4374 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4377 cat "conftest.in" "conftest.in" >"conftest.tmp"
4378 mv "conftest.tmp" "conftest.in"
4379 cp "conftest.in" "conftest.nl"
4380 echo 'GREP' >> "conftest.nl"
4381 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4382 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4383 ac_count=`expr $ac_count + 1`
4384 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4385 # Best one so far, save it but keep looking for a better one
4386 ac_cv_path_GREP="$ac_path_GREP"
4387 ac_path_GREP_max=$ac_count
4389 # 10*(2^10) chars as input seems more than enough
4390 test $ac_count -gt 10 && break
4392 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4396 $ac_path_GREP_found && break 3
4406 GREP="$ac_cv_path_GREP"
4407 if test -z "$GREP"; then
4408 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4409 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4410 { (exit 1); exit 1; }; }
4414 ac_cv_path_GREP=$GREP
4419 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4420 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4421 GREP="$ac_cv_path_GREP"
4424 { echo "$as_me:$LINENO: checking for egrep" >&5
4425 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4426 if test "${ac_cv_path_EGREP+set}" = set; then
4427 echo $ECHO_N "(cached) $ECHO_C" >&6
4429 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4430 then ac_cv_path_EGREP="$GREP -E"
4432 # Extract the first word of "egrep" to use in msg output
4433 if test -z "$EGREP"; then
4434 set dummy egrep; ac_prog_name=$2
4435 if test "${ac_cv_path_EGREP+set}" = set; then
4436 echo $ECHO_N "(cached) $ECHO_C" >&6
4438 ac_path_EGREP_found=false
4439 # Loop through the user's path and test for each of PROGNAME-LIST
4440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4441 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4444 test -z "$as_dir" && as_dir=.
4445 for ac_prog in egrep; do
4446 for ac_exec_ext in '' $ac_executable_extensions; do
4447 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4448 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4449 # Check for GNU ac_path_EGREP and select it if it is found.
4450 # Check for GNU $ac_path_EGREP
4451 case `"$ac_path_EGREP" --version 2>&1` in
4453 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4456 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4459 cat "conftest.in" "conftest.in" >"conftest.tmp"
4460 mv "conftest.tmp" "conftest.in"
4461 cp "conftest.in" "conftest.nl"
4462 echo 'EGREP' >> "conftest.nl"
4463 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4464 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4465 ac_count=`expr $ac_count + 1`
4466 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4467 # Best one so far, save it but keep looking for a better one
4468 ac_cv_path_EGREP="$ac_path_EGREP"
4469 ac_path_EGREP_max=$ac_count
4471 # 10*(2^10) chars as input seems more than enough
4472 test $ac_count -gt 10 && break
4474 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4478 $ac_path_EGREP_found && break 3
4488 EGREP="$ac_cv_path_EGREP"
4489 if test -z "$EGREP"; then
4490 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4491 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4492 { (exit 1); exit 1; }; }
4496 ac_cv_path_EGREP=$EGREP
4502 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4503 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4504 EGREP="$ac_cv_path_EGREP"
4507 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4508 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4509 if test "${ac_cv_header_stdc+set}" = set; then
4510 echo $ECHO_N "(cached) $ECHO_C" >&6
4512 cat >conftest.$ac_ext <<_ACEOF
4515 cat confdefs.h >>conftest.$ac_ext
4516 cat >>conftest.$ac_ext <<_ACEOF
4517 /* end confdefs.h. */
4531 rm -f conftest.$ac_objext
4532 if { (ac_try="$ac_compile"
4534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4535 *) ac_try_echo=$ac_try;;
4537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4538 (eval "$ac_compile") 2>conftest.er1
4540 grep -v '^ *+' conftest.er1 >conftest.err
4542 cat conftest.err >&5
4543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4544 (exit $ac_status); } && {
4545 test -z "$ac_c_werror_flag" ||
4546 test ! -s conftest.err
4547 } && test -s conftest.$ac_objext; then
4548 ac_cv_header_stdc=yes
4550 echo "$as_me: failed program was:" >&5
4551 sed 's/^/| /' conftest.$ac_ext >&5
4553 ac_cv_header_stdc=no
4556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4558 if test $ac_cv_header_stdc = yes; then
4559 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4560 cat >conftest.$ac_ext <<_ACEOF
4563 cat confdefs.h >>conftest.$ac_ext
4564 cat >>conftest.$ac_ext <<_ACEOF
4565 /* end confdefs.h. */
4569 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4570 $EGREP "memchr" >/dev/null 2>&1; then
4573 ac_cv_header_stdc=no
4579 if test $ac_cv_header_stdc = yes; then
4580 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4581 cat >conftest.$ac_ext <<_ACEOF
4584 cat confdefs.h >>conftest.$ac_ext
4585 cat >>conftest.$ac_ext <<_ACEOF
4586 /* end confdefs.h. */
4590 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4591 $EGREP "free" >/dev/null 2>&1; then
4594 ac_cv_header_stdc=no
4600 if test $ac_cv_header_stdc = yes; then
4601 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4602 if test "$cross_compiling" = yes; then
4605 cat >conftest.$ac_ext <<_ACEOF
4608 cat confdefs.h >>conftest.$ac_ext
4609 cat >>conftest.$ac_ext <<_ACEOF
4610 /* end confdefs.h. */
4613 #if ((' ' & 0x0FF) == 0x020)
4614 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4615 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4617 # define ISLOWER(c) \
4618 (('a' <= (c) && (c) <= 'i') \
4619 || ('j' <= (c) && (c) <= 'r') \
4620 || ('s' <= (c) && (c) <= 'z'))
4621 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4624 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4629 for (i = 0; i < 256; i++)
4630 if (XOR (islower (i), ISLOWER (i))
4631 || toupper (i) != TOUPPER (i))
4636 rm -f conftest$ac_exeext
4637 if { (ac_try="$ac_link"
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_link") 2>&5
4645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4646 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4647 { (case "(($ac_try" in
4648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4649 *) ac_try_echo=$ac_try;;
4651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4652 (eval "$ac_try") 2>&5
4654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4655 (exit $ac_status); }; }; then
4658 echo "$as_me: program exited with status $ac_status" >&5
4659 echo "$as_me: failed program was:" >&5
4660 sed 's/^/| /' conftest.$ac_ext >&5
4663 ac_cv_header_stdc=no
4665 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4671 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4672 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4673 if test $ac_cv_header_stdc = yes; then
4675 cat >>confdefs.h <<\_ACEOF
4676 #define STDC_HEADERS 1
4681 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4691 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4692 inttypes.h stdint.h unistd.h
4694 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4695 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4696 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4697 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4698 echo $ECHO_N "(cached) $ECHO_C" >&6
4700 cat >conftest.$ac_ext <<_ACEOF
4703 cat confdefs.h >>conftest.$ac_ext
4704 cat >>conftest.$ac_ext <<_ACEOF
4705 /* end confdefs.h. */
4706 $ac_includes_default
4708 #include <$ac_header>
4710 rm -f conftest.$ac_objext
4711 if { (ac_try="$ac_compile"
4713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4714 *) ac_try_echo=$ac_try;;
4716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4717 (eval "$ac_compile") 2>conftest.er1
4719 grep -v '^ *+' conftest.er1 >conftest.err
4721 cat conftest.err >&5
4722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4723 (exit $ac_status); } && {
4724 test -z "$ac_c_werror_flag" ||
4725 test ! -s conftest.err
4726 } && test -s conftest.$ac_objext; then
4727 eval "$as_ac_Header=yes"
4729 echo "$as_me: failed program was:" >&5
4730 sed 's/^/| /' conftest.$ac_ext >&5
4732 eval "$as_ac_Header=no"
4735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4737 ac_res=`eval echo '${'$as_ac_Header'}'`
4738 { echo "$as_me:$LINENO: result: $ac_res" >&5
4739 echo "${ECHO_T}$ac_res" >&6; }
4740 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4741 cat >>confdefs.h <<_ACEOF
4742 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4752 for ac_header in signal.h dlfcn.h
4754 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4755 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4756 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4757 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4758 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4759 echo $ECHO_N "(cached) $ECHO_C" >&6
4761 ac_res=`eval echo '${'$as_ac_Header'}'`
4762 { echo "$as_me:$LINENO: result: $ac_res" >&5
4763 echo "${ECHO_T}$ac_res" >&6; }
4765 # Is the header compilable?
4766 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4767 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4768 cat >conftest.$ac_ext <<_ACEOF
4771 cat confdefs.h >>conftest.$ac_ext
4772 cat >>conftest.$ac_ext <<_ACEOF
4773 /* end confdefs.h. */
4774 $ac_includes_default
4775 #include <$ac_header>
4777 rm -f conftest.$ac_objext
4778 if { (ac_try="$ac_compile"
4780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4781 *) ac_try_echo=$ac_try;;
4783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4784 (eval "$ac_compile") 2>conftest.er1
4786 grep -v '^ *+' conftest.er1 >conftest.err
4788 cat conftest.err >&5
4789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4790 (exit $ac_status); } && {
4791 test -z "$ac_c_werror_flag" ||
4792 test ! -s conftest.err
4793 } && test -s conftest.$ac_objext; then
4794 ac_header_compiler=yes
4796 echo "$as_me: failed program was:" >&5
4797 sed 's/^/| /' conftest.$ac_ext >&5
4799 ac_header_compiler=no
4802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4803 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4804 echo "${ECHO_T}$ac_header_compiler" >&6; }
4806 # Is the header present?
4807 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4808 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4809 cat >conftest.$ac_ext <<_ACEOF
4812 cat confdefs.h >>conftest.$ac_ext
4813 cat >>conftest.$ac_ext <<_ACEOF
4814 /* end confdefs.h. */
4815 #include <$ac_header>
4817 if { (ac_try="$ac_cpp conftest.$ac_ext"
4819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4820 *) ac_try_echo=$ac_try;;
4822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4823 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4825 grep -v '^ *+' conftest.er1 >conftest.err
4827 cat conftest.err >&5
4828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4829 (exit $ac_status); } >/dev/null && {
4830 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4831 test ! -s conftest.err
4833 ac_header_preproc=yes
4835 echo "$as_me: failed program was:" >&5
4836 sed 's/^/| /' conftest.$ac_ext >&5
4838 ac_header_preproc=no
4841 rm -f conftest.err conftest.$ac_ext
4842 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4843 echo "${ECHO_T}$ac_header_preproc" >&6; }
4845 # So? What about this header?
4846 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4848 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4849 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4850 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4851 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4852 ac_header_preproc=yes
4855 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4856 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4857 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4858 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4859 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4860 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4861 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4862 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4863 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4864 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4865 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4866 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4870 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4871 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4872 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4873 echo $ECHO_N "(cached) $ECHO_C" >&6
4875 eval "$as_ac_Header=\$ac_header_preproc"
4877 ac_res=`eval echo '${'$as_ac_Header'}'`
4878 { echo "$as_me:$LINENO: result: $ac_res" >&5
4879 echo "${ECHO_T}$ac_res" >&6; }
4882 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4883 cat >>confdefs.h <<_ACEOF
4884 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4893 if test $enable_unit_tests == "yes" || test $enable_integration_tests == yes; then
4894 CPPUNIT_CXXFLAGS=`cppunit-config --cflags` || { { echo "$as_me:$LINENO: error: \"cppunit-config --cflags failed - is it installed?\"" >&5
4895 echo "$as_me: error: \"cppunit-config --cflags failed - is it installed?\"" >&2;}
4896 { (exit 1); exit 1; }; }
4897 CPPUNIT_LDFLAGS=`cppunit-config --libs` || { { echo "$as_me:$LINENO: error: \"cppunit-config --libs failed - is it installed?\"" >&5
4898 echo "$as_me: error: \"cppunit-config --libs failed - is it installed?\"" >&2;}
4899 { (exit 1); exit 1; }; }
4904 if test "$enable_unit_tests" = "yes"; then
4906 cat >>confdefs.h <<\_ACEOF
4907 #define ENABLE_UNIT_TESTS 1
4911 if test "$enable_integration_tests" = "yes"; then
4913 cat >>confdefs.h <<\_ACEOF
4914 #define ENABLE_INTEGRATION_TESTS 1
4918 if test "$enable_unit_tests" = "yes"; then
4919 ENABLE_UNIT_TESTS_TRUE=
4920 ENABLE_UNIT_TESTS_FALSE='#'
4922 ENABLE_UNIT_TESTS_TRUE='#'
4923 ENABLE_UNIT_TESTS_FALSE=
4926 if test "$enable_unit_tests" = "yes" || test "$enable_integration_tests" = "yes" ; then
4927 ENABLE_TESTING_TRUE=
4928 ENABLE_TESTING_FALSE='#'
4930 ENABLE_TESTING_TRUE='#'
4931 ENABLE_TESTING_FALSE=
4935 if test $enable_static_cxx == "yes"; then
4937 CORE_LDADD_DEP=libstdc++.a
4941 # Check for transport layer.
4942 # Both curl and libsoup can be enabled and disabled explicitly.
4943 # The default is to use libsoup if available, otherwise curl.
4945 { echo "$as_me:$LINENO: checking for libcurl" >&5
4946 echo $ECHO_N "checking for libcurl... $ECHO_C" >&6; }
4947 if LIBCURL_LIBS=`sh -c 'curl-config --libs' 2>&5` && \
4948 LIBCURL_CFLAGS=`sh -c 'curl-config --cflags' 2>&5`; then
4949 { echo "$as_me:$LINENO: result: yes" >&5
4950 echo "${ECHO_T}yes" >&6; }
4953 { echo "$as_me:$LINENO: result: no" >&5
4954 echo "${ECHO_T}no" >&6; }
4960 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4961 if test -n "$ac_tool_prefix"; then
4962 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4963 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4964 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4966 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
4967 echo $ECHO_N "(cached) $ECHO_C" >&6
4971 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4978 test -z "$as_dir" && as_dir=.
4979 for ac_exec_ext in '' $ac_executable_extensions; do
4980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4981 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4982 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4992 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4993 if test -n "$PKG_CONFIG"; then
4994 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
4995 echo "${ECHO_T}$PKG_CONFIG" >&6; }
4997 { echo "$as_me:$LINENO: result: no" >&5
4998 echo "${ECHO_T}no" >&6; }
5003 if test -z "$ac_cv_path_PKG_CONFIG"; then
5004 ac_pt_PKG_CONFIG=$PKG_CONFIG
5005 # Extract the first word of "pkg-config", so it can be a program name with args.
5006 set dummy pkg-config; ac_word=$2
5007 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5008 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5009 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
5010 echo $ECHO_N "(cached) $ECHO_C" >&6
5012 case $ac_pt_PKG_CONFIG in
5014 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5021 test -z "$as_dir" && as_dir=.
5022 for ac_exec_ext in '' $ac_executable_extensions; do
5023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5024 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5025 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5035 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
5036 if test -n "$ac_pt_PKG_CONFIG"; then
5037 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
5038 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
5040 { echo "$as_me:$LINENO: result: no" >&5
5041 echo "${ECHO_T}no" >&6; }
5044 if test "x$ac_pt_PKG_CONFIG" = x; then
5047 case $cross_compiling:$ac_tool_warned in
5049 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5050 whose name does not start with the host triplet. If you think this
5051 configuration is useful to you, please write to autoconf@gnu.org." >&5
5052 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5053 whose name does not start with the host triplet. If you think this
5054 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5055 ac_tool_warned=yes ;;
5057 PKG_CONFIG=$ac_pt_PKG_CONFIG
5060 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
5064 if test -n "$PKG_CONFIG"; then
5065 _pkg_min_version=0.9.0
5066 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
5067 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
5068 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5069 { echo "$as_me:$LINENO: result: yes" >&5
5070 echo "${ECHO_T}yes" >&6; }
5072 { echo "$as_me:$LINENO: result: no" >&5
5073 echo "${ECHO_T}no" >&6; }
5080 { echo "$as_me:$LINENO: checking for LIBSOUP" >&5
5081 echo $ECHO_N "checking for LIBSOUP... $ECHO_C" >&6; }
5083 if test -n "$PKG_CONFIG"; then
5084 if test -n "$LIBSOUP_CFLAGS"; then
5085 pkg_cv_LIBSOUP_CFLAGS="$LIBSOUP_CFLAGS"
5087 if test -n "$PKG_CONFIG" && \
5088 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-gnome-2.4\"") >&5
5089 ($PKG_CONFIG --exists --print-errors "libsoup-gnome-2.4") 2>&5
5091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5092 (exit $ac_status); }; then
5093 pkg_cv_LIBSOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-gnome-2.4" 2>/dev/null`
5101 if test -n "$PKG_CONFIG"; then
5102 if test -n "$LIBSOUP_LIBS"; then
5103 pkg_cv_LIBSOUP_LIBS="$LIBSOUP_LIBS"
5105 if test -n "$PKG_CONFIG" && \
5106 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-gnome-2.4\"") >&5
5107 ($PKG_CONFIG --exists --print-errors "libsoup-gnome-2.4") 2>&5
5109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5110 (exit $ac_status); }; then
5111 pkg_cv_LIBSOUP_LIBS=`$PKG_CONFIG --libs "libsoup-gnome-2.4" 2>/dev/null`
5122 if test $pkg_failed = yes; then
5124 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5125 _pkg_short_errors_supported=yes
5127 _pkg_short_errors_supported=no
5129 if test $_pkg_short_errors_supported = yes; then
5130 LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libsoup-gnome-2.4"`
5132 LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libsoup-gnome-2.4"`
5134 # Put the nasty error message in config.log where it belongs
5135 echo "$LIBSOUP_PKG_ERRORS" >&5
5137 { echo "$as_me:$LINENO: result: no" >&5
5138 echo "${ECHO_T}no" >&6; }
5141 { echo "$as_me:$LINENO: checking for LIBSOUP" >&5
5142 echo $ECHO_N "checking for LIBSOUP... $ECHO_C" >&6; }
5144 if test -n "$PKG_CONFIG"; then
5145 if test -n "$LIBSOUP_CFLAGS"; then
5146 pkg_cv_LIBSOUP_CFLAGS="$LIBSOUP_CFLAGS"
5148 if test -n "$PKG_CONFIG" && \
5149 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\"") >&5
5150 ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
5152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5153 (exit $ac_status); }; then
5154 pkg_cv_LIBSOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4" 2>/dev/null`
5162 if test -n "$PKG_CONFIG"; then
5163 if test -n "$LIBSOUP_LIBS"; then
5164 pkg_cv_LIBSOUP_LIBS="$LIBSOUP_LIBS"
5166 if test -n "$PKG_CONFIG" && \
5167 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\"") >&5
5168 ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
5170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5171 (exit $ac_status); }; then
5172 pkg_cv_LIBSOUP_LIBS=`$PKG_CONFIG --libs "libsoup-2.4" 2>/dev/null`
5183 if test $pkg_failed = yes; then
5185 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5186 _pkg_short_errors_supported=yes
5188 _pkg_short_errors_supported=no
5190 if test $_pkg_short_errors_supported = yes; then
5191 LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libsoup-2.4"`
5193 LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libsoup-2.4"`
5195 # Put the nasty error message in config.log where it belongs
5196 echo "$LIBSOUP_PKG_ERRORS" >&5
5198 { echo "$as_me:$LINENO: result: no" >&5
5199 echo "${ECHO_T}no" >&6; }
5201 elif test $pkg_failed = untried; then
5204 LIBSOUP_CFLAGS=$pkg_cv_LIBSOUP_CFLAGS
5205 LIBSOUP_LIBS=$pkg_cv_LIBSOUP_LIBS
5206 { echo "$as_me:$LINENO: result: yes" >&5
5207 echo "${ECHO_T}yes" >&6; }
5210 elif test $pkg_failed = untried; then
5213 { echo "$as_me:$LINENO: checking for LIBSOUP" >&5
5214 echo $ECHO_N "checking for LIBSOUP... $ECHO_C" >&6; }
5216 if test -n "$PKG_CONFIG"; then
5217 if test -n "$LIBSOUP_CFLAGS"; then
5218 pkg_cv_LIBSOUP_CFLAGS="$LIBSOUP_CFLAGS"
5220 if test -n "$PKG_CONFIG" && \
5221 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\"") >&5
5222 ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
5224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5225 (exit $ac_status); }; then
5226 pkg_cv_LIBSOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4" 2>/dev/null`
5234 if test -n "$PKG_CONFIG"; then
5235 if test -n "$LIBSOUP_LIBS"; then
5236 pkg_cv_LIBSOUP_LIBS="$LIBSOUP_LIBS"
5238 if test -n "$PKG_CONFIG" && \
5239 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\"") >&5
5240 ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
5242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5243 (exit $ac_status); }; then
5244 pkg_cv_LIBSOUP_LIBS=`$PKG_CONFIG --libs "libsoup-2.4" 2>/dev/null`
5255 if test $pkg_failed = yes; then
5257 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5258 _pkg_short_errors_supported=yes
5260 _pkg_short_errors_supported=no
5262 if test $_pkg_short_errors_supported = yes; then
5263 LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libsoup-2.4"`
5265 LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libsoup-2.4"`
5267 # Put the nasty error message in config.log where it belongs
5268 echo "$LIBSOUP_PKG_ERRORS" >&5
5270 { echo "$as_me:$LINENO: result: no" >&5
5271 echo "${ECHO_T}no" >&6; }
5273 elif test $pkg_failed = untried; then
5276 LIBSOUP_CFLAGS=$pkg_cv_LIBSOUP_CFLAGS
5277 LIBSOUP_LIBS=$pkg_cv_LIBSOUP_LIBS
5278 { echo "$as_me:$LINENO: result: yes" >&5
5279 echo "${ECHO_T}yes" >&6; }
5283 LIBSOUP_CFLAGS=$pkg_cv_LIBSOUP_CFLAGS
5284 LIBSOUP_LIBS=$pkg_cv_LIBSOUP_LIBS
5285 { echo "$as_me:$LINENO: result: yes" >&5
5286 echo "${ECHO_T}yes" >&6; }
5289 cat >>confdefs.h <<\_ACEOF
5290 #define HAVE_LIBSOUP_SOUP_GNOME_FEATURES_H 1
5297 { echo "$as_me:$LINENO: checking for LIBOPENOBEX" >&5
5298 echo $ECHO_N "checking for LIBOPENOBEX... $ECHO_C" >&6; }
5300 if test -n "$PKG_CONFIG"; then
5301 if test -n "$LIBOPENOBEX_CFLAGS"; then
5302 pkg_cv_LIBOPENOBEX_CFLAGS="$LIBOPENOBEX_CFLAGS"
5304 if test -n "$PKG_CONFIG" && \
5305 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"openobex\"") >&5
5306 ($PKG_CONFIG --exists --print-errors "openobex") 2>&5
5308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5309 (exit $ac_status); }; then
5310 pkg_cv_LIBOPENOBEX_CFLAGS=`$PKG_CONFIG --cflags "openobex" 2>/dev/null`
5318 if test -n "$PKG_CONFIG"; then
5319 if test -n "$LIBOPENOBEX_LIBS"; then
5320 pkg_cv_LIBOPENOBEX_LIBS="$LIBOPENOBEX_LIBS"
5322 if test -n "$PKG_CONFIG" && \
5323 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"openobex\"") >&5
5324 ($PKG_CONFIG --exists --print-errors "openobex") 2>&5
5326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5327 (exit $ac_status); }; then
5328 pkg_cv_LIBOPENOBEX_LIBS=`$PKG_CONFIG --libs "openobex" 2>/dev/null`
5339 if test $pkg_failed = yes; then
5341 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5342 _pkg_short_errors_supported=yes
5344 _pkg_short_errors_supported=no
5346 if test $_pkg_short_errors_supported = yes; then
5347 LIBOPENOBEX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "openobex"`
5349 LIBOPENOBEX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "openobex"`
5351 # Put the nasty error message in config.log where it belongs
5352 echo "$LIBOPENOBEX_PKG_ERRORS" >&5
5354 { echo "$as_me:$LINENO: result: no" >&5
5355 echo "${ECHO_T}no" >&6; }
5357 elif test $pkg_failed = untried; then
5360 LIBOPENOBEX_CFLAGS=$pkg_cv_LIBOPENOBEX_CFLAGS
5361 LIBOPENOBEX_LIBS=$pkg_cv_LIBOPENOBEX_LIBS
5362 { echo "$as_me:$LINENO: result: yes" >&5
5363 echo "${ECHO_T}yes" >&6; }
5367 if test $have_obex = "yes"; then
5370 { echo "$as_me:$LINENO: checking for BLUEZ" >&5
5371 echo $ECHO_N "checking for BLUEZ... $ECHO_C" >&6; }
5373 if test -n "$PKG_CONFIG"; then
5374 if test -n "$BLUEZ_CFLAGS"; then
5375 pkg_cv_BLUEZ_CFLAGS="$BLUEZ_CFLAGS"
5377 if test -n "$PKG_CONFIG" && \
5378 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"bluez\"") >&5
5379 ($PKG_CONFIG --exists --print-errors "bluez") 2>&5
5381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5382 (exit $ac_status); }; then
5383 pkg_cv_BLUEZ_CFLAGS=`$PKG_CONFIG --cflags "bluez" 2>/dev/null`
5391 if test -n "$PKG_CONFIG"; then
5392 if test -n "$BLUEZ_LIBS"; then
5393 pkg_cv_BLUEZ_LIBS="$BLUEZ_LIBS"
5395 if test -n "$PKG_CONFIG" && \
5396 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"bluez\"") >&5
5397 ($PKG_CONFIG --exists --print-errors "bluez") 2>&5
5399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5400 (exit $ac_status); }; then
5401 pkg_cv_BLUEZ_LIBS=`$PKG_CONFIG --libs "bluez" 2>/dev/null`
5412 if test $pkg_failed = yes; then
5414 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5415 _pkg_short_errors_supported=yes
5417 _pkg_short_errors_supported=no
5419 if test $_pkg_short_errors_supported = yes; then
5420 BLUEZ_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "bluez"`
5422 BLUEZ_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "bluez"`
5424 # Put the nasty error message in config.log where it belongs
5425 echo "$BLUEZ_PKG_ERRORS" >&5
5427 { echo "$as_me:$LINENO: result: no" >&5
5428 echo "${ECHO_T}no" >&6; }
5430 elif test $pkg_failed = untried; then
5433 BLUEZ_CFLAGS=$pkg_cv_BLUEZ_CFLAGS
5434 BLUEZ_LIBS=$pkg_cv_BLUEZ_LIBS
5435 { echo "$as_me:$LINENO: result: yes" >&5
5436 echo "${ECHO_T}yes" >&6; }
5439 if test $have_bluez = "yes"; then
5440 have_bluetooth="yes"
5453 # Check whether --with-ca-certificates was given.
5454 if test "${with_ca_certificates+set}" = set; then
5455 withval=$with_ca_certificates; CA_CERTIFICATES="$withval"
5460 # choose default http transport (mirrors code in EvolutionSyncClient::createTransportAgent())
5461 if test "$have_libsoup" = "yes"; then
5462 default_http_transport="libsoup"
5463 elif test "$have_libcurl" = "yes"; then
5464 default_http_transport="libcurl"
5467 # Check whether --enable-libcurl was given.
5468 if test "${enable_libcurl+set}" = set; then
5469 enableval=$enable_libcurl; if test "$enableval" = "yes"; then
5470 test "$have_libcurl" = "yes" || { { echo "$as_me:$LINENO: error: libcurl not found" >&5
5471 echo "$as_me: error: libcurl not found" >&2;}
5472 { (exit 1); exit 1; }; }
5473 TRANSPORT="$TRANSPORT libcurl"
5474 TRANSPORT_LIBS="$TRANSPORT_LIBS $LIBCURL_LIBS"
5475 TRANSPORT_CFLAGS="$TRANSPORT_CFLAGS $LIBCURL_CFLAGS"
5477 cat >>confdefs.h <<\_ACEOF
5478 #define ENABLE_LIBCURL 1
5482 libcurl_disabled="yes"
5485 if test "$have_libcurl" = "yes" && test "$default_http_transport" = "libcurl" ; then
5486 TRANSPORT="$TRANSPORT libcurl"
5487 TRANSPORT_LIBS="$TRANSPORT_LIBS $LIBCURL_LIBS"
5488 TRANSPORT_CFLAGS="$TRANSPORT_CFLAGS $LIBCURL_CFLAGS"
5490 cat >>confdefs.h <<\_ACEOF
5491 #define ENABLE_LIBCURL 1
5498 # Check whether --enable-libsoup was given.
5499 if test "${enable_libsoup+set}" = set; then
5500 enableval=$enable_libsoup; if test "$enableval" = "yes"; then
5501 test "$have_libsoup" = "yes" || { { echo "$as_me:$LINENO: error: libsoup not found" >&5
5502 echo "$as_me: error: libsoup not found" >&2;}
5503 { (exit 1); exit 1; }; }
5504 TRANSPORT="$TRANSPORT libsoup"
5505 TRANSPORT_LIBS="$TRANSPORT_LIBS $LIBSOUP_LIBS"
5506 TRANSPORT_CFLAGS="$TRANSPORT_CFLAGS $LIBSOUP_CFLAGS"
5508 cat >>confdefs.h <<\_ACEOF
5509 #define ENABLE_LIBSOUP 1
5513 libsoup_disabled="yes"
5516 if test "$have_libsoup" = "yes" && test "$default_http_transport" = "libsoup"; then
5517 TRANSPORT="$TRANSPORT libsoup"
5518 TRANSPORT_LIBS="$TRANSPORT_LIBS $LIBSOUP_LIBS"
5519 TRANSPORT_CFLAGS="$TRANSPORT_CFLAGS $LIBSOUP_CFLAGS"
5521 cat >>confdefs.h <<\_ACEOF
5522 #define ENABLE_LIBSOUP 1
5529 bluetooth_disabled=no
5530 # Check whether --enable-bluetooth was given.
5531 if test "${enable_bluetooth+set}" = set; then
5532 enableval=$enable_bluetooth; enable_bluetooth="$enableval"
5533 if test "$enableval" = "no"; then
5534 bluetooth_disabled=yes
5538 enable_bluetooth="$have_bluetooth"
5542 if test "$enable_bluetooth" = "yes"; then
5543 # currently we need Bluetooth and OBEX support
5544 test "$have_bluetooth" = "yes" || { { echo "$as_me:$LINENO: error: openobex or bluez not found" >&5
5545 echo "$as_me: error: openobex or bluez not found" >&2;}
5546 { (exit 1); exit 1; }; }
5549 ac_cpp='$CPP $CPPFLAGS'
5550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5554 CFLAGS_old="$CFLAGS"
5555 CFLAGS="$CPPFLAGS $BLUEZ_CFLAGS"
5556 # test in this order:
5557 # - recent libbluetooth (no _safe variant, base function has bufsize)
5558 # - intermediate with _safe
5559 # - else assume old-style (no bufsize, no _safe)
5561 # The source code checks the signature both by via pointer assignment and calling
5562 # it (better safe than sorry). One these should fail if the signature is not right.
5563 cat >conftest.$ac_ext <<_ACEOF
5564 #include <bluetooth/sdp.h>
5565 #include <bluetooth/sdp_lib.h>
5566 sdp_record_t *(*extract_pdu)(const uint8_t *pdata, int bufsize, int *scanned) =
5569 uint8_t *pdata = NULL;
5571 sdp_extract_pdu(pdata, 100, &scanned);
5575 rm -f conftest.$ac_objext
5576 if { (ac_try="$ac_compile"
5578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5579 *) ac_try_echo=$ac_try;;
5581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5582 (eval "$ac_compile") 2>conftest.er1
5584 grep -v '^ *+' conftest.er1 >conftest.err
5586 cat conftest.err >&5
5587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5588 (exit $ac_status); } && {
5589 test -z "$ac_c_werror_flag" ||
5590 test ! -s conftest.err
5591 } && test -s conftest.$ac_objext; then
5593 cat >>confdefs.h <<\_ACEOF
5594 #define HAVE_BLUEZ_BUFSIZE 1
5598 echo "$as_me: failed program was:" >&5
5599 sed 's/^/| /' conftest.$ac_ext >&5
5601 cat >conftest.$ac_ext <<_ACEOF
5602 #include <bluetooth/sdp.h>
5603 #include <bluetooth/sdp_lib.h>
5604 sdp_record_t *(*extract_pdu)(const uint8_t *pdata, int bufsize, int *scanned) =
5605 sdp_extract_pdu_safe;
5607 uint8_t *pdata = NULL;
5609 sdp_extract_pdu_safe(pdata, 100, &scanned);
5613 rm -f conftest.$ac_objext
5614 if { (ac_try="$ac_compile"
5616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5617 *) ac_try_echo=$ac_try;;
5619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5620 (eval "$ac_compile") 2>conftest.er1
5622 grep -v '^ *+' conftest.er1 >conftest.err
5624 cat conftest.err >&5
5625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5626 (exit $ac_status); } && {
5627 test -z "$ac_c_werror_flag" ||
5628 test ! -s conftest.err
5629 } && test -s conftest.$ac_objext; then
5631 cat >>confdefs.h <<\_ACEOF
5632 #define HAVE_BLUEZ_SAFE 1
5636 echo "$as_me: failed program was:" >&5
5637 sed 's/^/| /' conftest.$ac_ext >&5
5642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5646 CFLAGS="$CFLAGS_old"
5648 if test "$have_obex" = "yes"; then
5650 cat >>confdefs.h <<\_ACEOF
5651 #define ENABLE_OBEX 1
5655 if test "$have_bluez" = "yes"; then
5657 cat >>confdefs.h <<\_ACEOF
5658 #define ENABLE_BLUETOOTH 1
5663 if test "$have_obex" = "yes" && test "$enable_bluetooth" = "yes"; then
5665 ENABLE_OBEX_FALSE='#'
5667 ENABLE_OBEX_TRUE='#'
5671 if test "$have_bluetooth" = "yes" && test "$enable_bluetooth" = "yes"; then
5672 ENABLE_BLUETOOTH_TRUE=
5673 ENABLE_BLUETOOTH_FALSE='#'
5675 ENABLE_BLUETOOTH_TRUE='#'
5676 ENABLE_BLUETOOTH_FALSE=
5680 if test ! "$TRANSPORT" &&
5681 test "$libsoup_disabled" != "yes" &&
5682 test "$libcurl_disabled" != "yes" &&
5683 test "$bluetooth_disabled" != "yes" &&
5684 test "$have_bluetooth" != "yes" ; then
5685 { { echo "$as_me:$LINENO: error: no transport library found, configure with --disable-libcurl --disable-libsoup --disable-bluetooth to continue anyway (only useful if users of libsyncevolution provide transport implementation)" >&5
5686 echo "$as_me: error: no transport library found, configure with --disable-libcurl --disable-libsoup --disable-bluetooth to continue anyway (only useful if users of libsyncevolution provide transport implementation)" >&2;}
5687 { (exit 1); exit 1; }; }
5690 # for libsoup we must specify the SSL certificate file outself
5691 if test "$libsoup_disabled" != "yes" && test -z "$CA_CERTIFICATES"; then
5692 # Debian and Red Hat paths
5693 CA_CERTIFICATES="/etc/ssl/certs/ca-certificates.crt:/etc/pki/tls/certs/ca-bundle.crt:/usr/share/ssl/certs/ca-bundle.crt"
5696 cat >>confdefs.h <<_ACEOF
5697 #define SYNCEVOLUTION_SSL_SERVER_CERTIFICATES "$CA_CERTIFICATES"
5704 # Check whether --enable-ssl-certificate-check was given.
5705 if test "${enable_ssl_certificate_check+set}" = set; then
5706 enableval=$enable_ssl_certificate_check; enable_ssl_certificate_check="$enableval"
5708 enable_ssl_certificate_check="yes"
5711 if test "$enable_ssl_certificate_check" = "yes"; then
5713 cat >>confdefs.h <<\_ACEOF
5714 #define ENABLE_SSL_CERTIFICATE_CHECK 1
5719 # for dbus interface file mangling
5720 # Extract the first word of "xsltproc", so it can be a program name with args.
5721 set dummy xsltproc; ac_word=$2
5722 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5724 if test "${ac_cv_path_XSLT+set}" = set; then
5725 echo $ECHO_N "(cached) $ECHO_C" >&6
5729 ac_cv_path_XSLT="$XSLT" # Let the user override the test with a path.
5732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5736 test -z "$as_dir" && as_dir=.
5737 for ac_exec_ext in '' $ac_executable_extensions; do
5738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5739 ac_cv_path_XSLT="$as_dir/$ac_word$ac_exec_ext"
5740 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5750 XSLT=$ac_cv_path_XSLT
5751 if test -n "$XSLT"; then
5752 { echo "$as_me:$LINENO: result: $XSLT" >&5
5753 echo "${ECHO_T}$XSLT" >&6; }
5755 { echo "$as_me:$LINENO: result: no" >&5
5756 echo "${ECHO_T}no" >&6; }
5761 # Check whether --enable-gui was given.
5762 if test "${enable_gui+set}" = set; then
5763 enableval=$enable_gui; if test "$enableval" = "gtk" ; then
5765 elif test "$enableval" = "yes" ; then
5767 elif test "$enableval" = "moblin" ; then
5769 elif test "$enableval" = "no" ; then
5771 elif test "$enableval" = "all" ; then
5774 { { echo "$as_me:$LINENO: error: Unknown gui type: '$enableval'" >&5
5775 echo "$as_me: error: Unknown gui type: '$enableval'" >&2;}
5776 { (exit 1); exit 1; }; }
5784 if test "$enable_gui" != "no"; then
5793 # Check whether --enable-core was given.
5794 if test "${enable_core+set}" = set; then
5795 enableval=$enable_core; enable_core="$enableval"
5800 if test "$enable_core" = "yes"; then
5809 # Check whether --enable-dbus-service was given.
5810 if test "${enable_dbus_service+set}" = set; then
5811 enableval=$enable_dbus_service; enable_dbus_service="$enableval"
5813 if test $enable_gui == "no"; then
5814 enable_dbus_service="no"
5816 enable_dbus_service="yes"
5820 if test "$enable_dbus_service" = "yes"; then
5831 { echo "$as_me:$LINENO: checking for KEYRING" >&5
5832 echo $ECHO_N "checking for KEYRING... $ECHO_C" >&6; }
5834 if test -n "$PKG_CONFIG"; then
5835 if test -n "$KEYRING_CFLAGS"; then
5836 pkg_cv_KEYRING_CFLAGS="$KEYRING_CFLAGS"
5838 if test -n "$PKG_CONFIG" && \
5839 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-keyring-1\"") >&5
5840 ($PKG_CONFIG --exists --print-errors "gnome-keyring-1") 2>&5
5842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5843 (exit $ac_status); }; then
5844 pkg_cv_KEYRING_CFLAGS=`$PKG_CONFIG --cflags "gnome-keyring-1" 2>/dev/null`
5852 if test -n "$PKG_CONFIG"; then
5853 if test -n "$KEYRING_LIBS"; then
5854 pkg_cv_KEYRING_LIBS="$KEYRING_LIBS"
5856 if test -n "$PKG_CONFIG" && \
5857 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-keyring-1\"") >&5
5858 ($PKG_CONFIG --exists --print-errors "gnome-keyring-1") 2>&5
5860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5861 (exit $ac_status); }; then
5862 pkg_cv_KEYRING_LIBS=`$PKG_CONFIG --libs "gnome-keyring-1" 2>/dev/null`
5873 if test $pkg_failed = yes; then
5875 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5876 _pkg_short_errors_supported=yes
5878 _pkg_short_errors_supported=no
5880 if test $_pkg_short_errors_supported = yes; then
5881 KEYRING_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-keyring-1"`
5883 KEYRING_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-keyring-1"`
5885 # Put the nasty error message in config.log where it belongs
5886 echo "$KEYRING_PKG_ERRORS" >&5
5888 { echo "$as_me:$LINENO: result: no" >&5
5889 echo "${ECHO_T}no" >&6; }
5891 elif test $pkg_failed = untried; then
5894 KEYRING_CFLAGS=$pkg_cv_KEYRING_CFLAGS
5895 KEYRING_LIBS=$pkg_cv_KEYRING_LIBS
5896 { echo "$as_me:$LINENO: result: yes" >&5
5897 echo "${ECHO_T}yes" >&6; }
5900 if test $HAVE_KEYRING == "yes"; then
5902 cat >>confdefs.h <<\_ACEOF
5903 #define USE_GNOME_KEYRING 1
5908 { echo "$as_me:$LINENO: checking for KEYRING_2_20" >&5
5909 echo $ECHO_N "checking for KEYRING_2_20... $ECHO_C" >&6; }
5911 if test -n "$PKG_CONFIG"; then
5912 if test -n "$KEYRING_2_20_CFLAGS"; then
5913 pkg_cv_KEYRING_2_20_CFLAGS="$KEYRING_2_20_CFLAGS"
5915 if test -n "$PKG_CONFIG" && \
5916 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-keyring-1 >= 2.20 \"") >&5
5917 ($PKG_CONFIG --exists --print-errors "gnome-keyring-1 >= 2.20 ") 2>&5
5919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5920 (exit $ac_status); }; then
5921 pkg_cv_KEYRING_2_20_CFLAGS=`$PKG_CONFIG --cflags "gnome-keyring-1 >= 2.20 " 2>/dev/null`
5929 if test -n "$PKG_CONFIG"; then
5930 if test -n "$KEYRING_2_20_LIBS"; then
5931 pkg_cv_KEYRING_2_20_LIBS="$KEYRING_2_20_LIBS"
5933 if test -n "$PKG_CONFIG" && \
5934 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-keyring-1 >= 2.20 \"") >&5
5935 ($PKG_CONFIG --exists --print-errors "gnome-keyring-1 >= 2.20 ") 2>&5
5937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5938 (exit $ac_status); }; then
5939 pkg_cv_KEYRING_2_20_LIBS=`$PKG_CONFIG --libs "gnome-keyring-1 >= 2.20 " 2>/dev/null`
5950 if test $pkg_failed = yes; then
5952 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5953 _pkg_short_errors_supported=yes
5955 _pkg_short_errors_supported=no
5957 if test $_pkg_short_errors_supported = yes; then
5958 KEYRING_2_20_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-keyring-1 >= 2.20 "`
5960 KEYRING_2_20_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-keyring-1 >= 2.20 "`
5962 # Put the nasty error message in config.log where it belongs
5963 echo "$KEYRING_2_20_PKG_ERRORS" >&5
5965 { echo "$as_me:$LINENO: result: no" >&5
5966 echo "${ECHO_T}no" >&6; }
5968 elif test $pkg_failed = untried; then
5971 KEYRING_2_20_CFLAGS=$pkg_cv_KEYRING_2_20_CFLAGS
5972 KEYRING_2_20_LIBS=$pkg_cv_KEYRING_2_20_LIBS
5973 { echo "$as_me:$LINENO: result: yes" >&5
5974 echo "${ECHO_T}yes" >&6; }
5977 if test $KEYRING220 == "yes"; then
5979 cat >>confdefs.h <<\_ACEOF
5980 #define GNOME_KEYRING_220 1
5986 if test $enable_dbus_service == "yes"; then
5987 if test -z "$XSLT"; then
5988 { { echo "$as_me:$LINENO: error: xsltproc not found, is required for D-Bus service" >&5
5989 echo "$as_me: error: xsltproc not found, is required for D-Bus service" >&2;}
5990 { (exit 1); exit 1; }; }
5994 { echo "$as_me:$LINENO: checking for DBUS" >&5
5995 echo $ECHO_N "checking for DBUS... $ECHO_C" >&6; }
5997 if test -n "$PKG_CONFIG"; then
5998 if test -n "$DBUS_CFLAGS"; then
5999 pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
6001 if test -n "$PKG_CONFIG" && \
6002 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-1\"") >&5
6003 ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5
6005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6006 (exit $ac_status); }; then
6007 pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1" 2>/dev/null`
6015 if test -n "$PKG_CONFIG"; then
6016 if test -n "$DBUS_LIBS"; then
6017 pkg_cv_DBUS_LIBS="$DBUS_LIBS"
6019 if test -n "$PKG_CONFIG" && \
6020 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-1\"") >&5
6021 ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5
6023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6024 (exit $ac_status); }; then
6025 pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1" 2>/dev/null`
6036 if test $pkg_failed = yes; then
6038 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6039 _pkg_short_errors_supported=yes
6041 _pkg_short_errors_supported=no
6043 if test $_pkg_short_errors_supported = yes; then
6044 DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "dbus-1"`
6046 DBUS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "dbus-1"`
6048 # Put the nasty error message in config.log where it belongs
6049 echo "$DBUS_PKG_ERRORS" >&5
6051 { echo "$as_me:$LINENO: result: no" >&5
6052 echo "${ECHO_T}no" >&6; }
6053 { { echo "$as_me:$LINENO: error: libdbus-1 is required" >&5
6054 echo "$as_me: error: libdbus-1 is required" >&2;}
6055 { (exit 1); exit 1; }; }
6056 elif test $pkg_failed = untried; then
6057 { { echo "$as_me:$LINENO: error: libdbus-1 is required" >&5
6058 echo "$as_me: error: libdbus-1 is required" >&2;}
6059 { (exit 1); exit 1; }; }
6061 DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
6062 DBUS_LIBS=$pkg_cv_DBUS_LIBS
6063 { echo "$as_me:$LINENO: result: yes" >&5
6064 echo "${ECHO_T}yes" >&6; }
6067 { echo "$as_me:$LINENO: checking for dbus_watch_get_unix_fd in -ldbus-1" >&5
6068 echo $ECHO_N "checking for dbus_watch_get_unix_fd in -ldbus-1... $ECHO_C" >&6; }
6069 if test "${ac_cv_lib_dbus_1_dbus_watch_get_unix_fd+set}" = set; then
6070 echo $ECHO_N "(cached) $ECHO_C" >&6
6072 ac_check_lib_save_LIBS=$LIBS
6073 LIBS="-ldbus-1 $LIBS"
6074 cat >conftest.$ac_ext <<_ACEOF
6077 cat confdefs.h >>conftest.$ac_ext
6078 cat >>conftest.$ac_ext <<_ACEOF
6079 /* end confdefs.h. */
6081 /* Override any GCC internal prototype to avoid an error.
6082 Use char because int might match the return type of a GCC
6083 builtin and then its argument prototype would still apply. */
6087 char dbus_watch_get_unix_fd ();
6091 return dbus_watch_get_unix_fd ();
6096 rm -f conftest.$ac_objext conftest$ac_exeext
6097 if { (ac_try="$ac_link"
6099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6100 *) ac_try_echo=$ac_try;;
6102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6103 (eval "$ac_link") 2>conftest.er1
6105 grep -v '^ *+' conftest.er1 >conftest.err
6107 cat conftest.err >&5
6108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6109 (exit $ac_status); } && {
6110 test -z "$ac_c_werror_flag" ||
6111 test ! -s conftest.err
6112 } && test -s conftest$ac_exeext &&
6113 $as_test_x conftest$ac_exeext; then
6114 ac_cv_lib_dbus_1_dbus_watch_get_unix_fd=yes
6116 echo "$as_me: failed program was:" >&5
6117 sed 's/^/| /' conftest.$ac_ext >&5
6119 ac_cv_lib_dbus_1_dbus_watch_get_unix_fd=no
6122 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6123 conftest$ac_exeext conftest.$ac_ext
6124 LIBS=$ac_check_lib_save_LIBS
6126 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_watch_get_unix_fd" >&5
6127 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_watch_get_unix_fd" >&6; }
6128 if test $ac_cv_lib_dbus_1_dbus_watch_get_unix_fd = yes; then
6132 cat >>confdefs.h <<\_ACEOF
6133 #define NEED_DBUS_WATCH_GET_UNIX_FD 1
6141 { echo "$as_me:$LINENO: checking for LIBNOTIFY" >&5
6142 echo $ECHO_N "checking for LIBNOTIFY... $ECHO_C" >&6; }
6144 if test -n "$PKG_CONFIG"; then
6145 if test -n "$LIBNOTIFY_CFLAGS"; then
6146 pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
6148 if test -n "$PKG_CONFIG" && \
6149 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libnotify\"") >&5
6150 ($PKG_CONFIG --exists --print-errors "libnotify") 2>&5
6152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6153 (exit $ac_status); }; then
6154 pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify" 2>/dev/null`
6162 if test -n "$PKG_CONFIG"; then
6163 if test -n "$LIBNOTIFY_LIBS"; then
6164 pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
6166 if test -n "$PKG_CONFIG" && \
6167 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libnotify\"") >&5
6168 ($PKG_CONFIG --exists --print-errors "libnotify") 2>&5
6170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6171 (exit $ac_status); }; then
6172 pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify" 2>/dev/null`
6183 if test $pkg_failed = yes; then
6185 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6186 _pkg_short_errors_supported=yes
6188 _pkg_short_errors_supported=no
6190 if test $_pkg_short_errors_supported = yes; then
6191 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify"`
6193 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify"`
6195 # Put the nasty error message in config.log where it belongs
6196 echo "$LIBNOTIFY_PKG_ERRORS" >&5
6198 { echo "$as_me:$LINENO: result: no" >&5
6199 echo "${ECHO_T}no" >&6; }
6201 elif test $pkg_failed = untried; then
6204 LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
6205 LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
6206 { echo "$as_me:$LINENO: result: yes" >&5
6207 echo "${ECHO_T}yes" >&6; }
6210 # Check whether --enable-notify was given.
6211 if test "${enable_notify+set}" = set; then
6212 enableval=$enable_notify; test "$enableval" = "no" || test $HAVE_LIBNOTIFY = "yes" || { { echo "$as_me:$LINENO: error: required libnotify package not found" >&5
6213 echo "$as_me: error: required libnotify package not found" >&2;}
6214 { (exit 1); exit 1; }; }
6216 test $HAVE_LIBNOTIFY = "yes" || { { echo "$as_me:$LINENO: error: required libnotify package not found, use --disable-notify to compile without notifications" >&5
6217 echo "$as_me: error: required libnotify package not found, use --disable-notify to compile without notifications" >&2;}
6218 { (exit 1); exit 1; }; }
6221 if test $HAVE_LIBNOTIFY == "yes"; then
6223 cat >>confdefs.h <<\_ACEOF
6224 #define HAS_NOTIFY 1
6229 cat >>confdefs.h <<\_ACEOF
6230 #define DBUS_SERVICE 1
6244 DBUS_SERVICES_DIR="${datadir}/dbus-1/services"
6247 cat >>confdefs.h <<_ACEOF
6248 #define DBUS_SERVICES_DIR "$DBUS_SERVICES_DIR"
6252 if test $enable_gui != "no" || test $enable_dbus_service == "yes"; then
6254 { echo "$as_me:$LINENO: checking whether NLS is requested" >&5
6255 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; }
6256 # Check whether --enable-nls was given.
6257 if test "${enable_nls+set}" = set; then
6258 enableval=$enable_nls; USE_NLS=$enableval
6263 { echo "$as_me:$LINENO: result: $USE_NLS" >&5
6264 echo "${ECHO_T}$USE_NLS" >&6; }
6269 case "$am__api_version" in
6271 { { echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
6272 echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
6273 { (exit 1); exit 1; }; }
6279 if test -n "0.37.1"; then
6280 { echo "$as_me:$LINENO: checking for intltool >= 0.37.1" >&5
6281 echo $ECHO_N "checking for intltool >= 0.37.1... $ECHO_C" >&6; }
6283 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.37.1 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
6284 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
6285 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
6287 { echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
6288 echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6; }
6289 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
6290 { { echo "$as_me:$LINENO: error: Your intltool is too old. You need intltool 0.37.1 or later." >&5
6291 echo "$as_me: error: Your intltool is too old. You need intltool 0.37.1 or later." >&2;}
6292 { (exit 1); exit 1; }; }
6295 # Extract the first word of "intltool-update", so it can be a program name with args.
6296 set dummy intltool-update; ac_word=$2
6297 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6299 if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then
6300 echo $ECHO_N "(cached) $ECHO_C" >&6
6302 case $INTLTOOL_UPDATE in
6304 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
6307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6311 test -z "$as_dir" && as_dir=.
6312 for ac_exec_ext in '' $ac_executable_extensions; do
6313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6314 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
6315 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6325 INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
6326 if test -n "$INTLTOOL_UPDATE"; then
6327 { echo "$as_me:$LINENO: result: $INTLTOOL_UPDATE" >&5
6328 echo "${ECHO_T}$INTLTOOL_UPDATE" >&6; }
6330 { echo "$as_me:$LINENO: result: no" >&5
6331 echo "${ECHO_T}no" >&6; }
6335 # Extract the first word of "intltool-merge", so it can be a program name with args.
6336 set dummy intltool-merge; ac_word=$2
6337 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6338 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6339 if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then
6340 echo $ECHO_N "(cached) $ECHO_C" >&6
6342 case $INTLTOOL_MERGE in
6344 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
6347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6351 test -z "$as_dir" && as_dir=.
6352 for ac_exec_ext in '' $ac_executable_extensions; do
6353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6354 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
6355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6365 INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
6366 if test -n "$INTLTOOL_MERGE"; then
6367 { echo "$as_me:$LINENO: result: $INTLTOOL_MERGE" >&5
6368 echo "${ECHO_T}$INTLTOOL_MERGE" >&6; }
6370 { echo "$as_me:$LINENO: result: no" >&5
6371 echo "${ECHO_T}no" >&6; }
6375 # Extract the first word of "intltool-extract", so it can be a program name with args.
6376 set dummy intltool-extract; ac_word=$2
6377 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6379 if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then
6380 echo $ECHO_N "(cached) $ECHO_C" >&6
6382 case $INTLTOOL_EXTRACT in
6384 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
6387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6391 test -z "$as_dir" && as_dir=.
6392 for ac_exec_ext in '' $ac_executable_extensions; do
6393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6394 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
6395 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6405 INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
6406 if test -n "$INTLTOOL_EXTRACT"; then
6407 { echo "$as_me:$LINENO: result: $INTLTOOL_EXTRACT" >&5
6408 echo "${ECHO_T}$INTLTOOL_EXTRACT" >&6; }
6410 { echo "$as_me:$LINENO: result: no" >&5
6411 echo "${ECHO_T}no" >&6; }
6415 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
6416 { { echo "$as_me:$LINENO: error: The intltool scripts were not found. Please install intltool." >&5
6417 echo "$as_me: error: The intltool scripts were not found. Please install intltool." >&2;}
6418 { (exit 1); exit 1; }; }
6421 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 $< $@'
6422 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 $< $@'
6423 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 $< $@'
6424 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 $< $@'
6425 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
6426 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 $< $@'
6427 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 $< $@'
6428 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 $< $@'
6429 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 $< $@'
6430 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 $< $@'
6431 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 $< $@'
6432 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
6433 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 $< $@'
6434 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 $< $@'
6435 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 $< $@'
6436 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 $< $@'
6437 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 $< $@'
6438 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 $< $@'
6439 INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
6537 # Check the gettext tools to make sure they are GNU
6538 # Extract the first word of "xgettext", so it can be a program name with args.
6539 set dummy xgettext; ac_word=$2
6540 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6541 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6542 if test "${ac_cv_path_XGETTEXT+set}" = set; then
6543 echo $ECHO_N "(cached) $ECHO_C" >&6
6547 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
6550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6554 test -z "$as_dir" && as_dir=.
6555 for ac_exec_ext in '' $ac_executable_extensions; do
6556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6557 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
6558 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6568 XGETTEXT=$ac_cv_path_XGETTEXT
6569 if test -n "$XGETTEXT"; then
6570 { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
6571 echo "${ECHO_T}$XGETTEXT" >&6; }
6573 { echo "$as_me:$LINENO: result: no" >&5
6574 echo "${ECHO_T}no" >&6; }
6578 # Extract the first word of "msgmerge", so it can be a program name with args.
6579 set dummy msgmerge; ac_word=$2
6580 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6581 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6582 if test "${ac_cv_path_MSGMERGE+set}" = set; then
6583 echo $ECHO_N "(cached) $ECHO_C" >&6
6587 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
6590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6594 test -z "$as_dir" && as_dir=.
6595 for ac_exec_ext in '' $ac_executable_extensions; do
6596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6597 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
6598 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6608 MSGMERGE=$ac_cv_path_MSGMERGE
6609 if test -n "$MSGMERGE"; then
6610 { echo "$as_me:$LINENO: result: $MSGMERGE" >&5
6611 echo "${ECHO_T}$MSGMERGE" >&6; }
6613 { echo "$as_me:$LINENO: result: no" >&5
6614 echo "${ECHO_T}no" >&6; }
6618 # Extract the first word of "msgfmt", so it can be a program name with args.
6619 set dummy msgfmt; ac_word=$2
6620 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6622 if test "${ac_cv_path_MSGFMT+set}" = set; then
6623 echo $ECHO_N "(cached) $ECHO_C" >&6
6627 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
6630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6634 test -z "$as_dir" && as_dir=.
6635 for ac_exec_ext in '' $ac_executable_extensions; do
6636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6637 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
6638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6648 MSGFMT=$ac_cv_path_MSGFMT
6649 if test -n "$MSGFMT"; then
6650 { echo "$as_me:$LINENO: result: $MSGFMT" >&5
6651 echo "${ECHO_T}$MSGFMT" >&6; }
6653 { echo "$as_me:$LINENO: result: no" >&5
6654 echo "${ECHO_T}no" >&6; }
6658 # Extract the first word of "gmsgfmt", so it can be a program name with args.
6659 set dummy gmsgfmt; ac_word=$2
6660 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6661 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6662 if test "${ac_cv_path_GMSGFMT+set}" = set; then
6663 echo $ECHO_N "(cached) $ECHO_C" >&6
6667 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
6670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6674 test -z "$as_dir" && as_dir=.
6675 for ac_exec_ext in '' $ac_executable_extensions; do
6676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6677 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
6678 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6685 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
6689 GMSGFMT=$ac_cv_path_GMSGFMT
6690 if test -n "$GMSGFMT"; then
6691 { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
6692 echo "${ECHO_T}$GMSGFMT" >&6; }
6694 { echo "$as_me:$LINENO: result: no" >&5
6695 echo "${ECHO_T}no" >&6; }
6699 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
6700 { { echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
6701 echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
6702 { (exit 1); exit 1; }; }
6704 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
6705 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
6706 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
6707 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
6708 { { echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
6709 echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
6710 { (exit 1); exit 1; }; }
6713 # Extract the first word of "perl", so it can be a program name with args.
6714 set dummy perl; ac_word=$2
6715 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6716 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6717 if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
6718 echo $ECHO_N "(cached) $ECHO_C" >&6
6720 case $INTLTOOL_PERL in
6722 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
6725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6729 test -z "$as_dir" && as_dir=.
6730 for ac_exec_ext in '' $ac_executable_extensions; do
6731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6732 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
6733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6743 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
6744 if test -n "$INTLTOOL_PERL"; then
6745 { echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
6746 echo "${ECHO_T}$INTLTOOL_PERL" >&6; }
6748 { echo "$as_me:$LINENO: result: no" >&5
6749 echo "${ECHO_T}no" >&6; }
6753 if test -z "$INTLTOOL_PERL"; then
6754 { { echo "$as_me:$LINENO: error: perl not found" >&5
6755 echo "$as_me: error: perl not found" >&2;}
6756 { (exit 1); exit 1; }; }
6758 { echo "$as_me:$LINENO: checking for perl >= 5.8.1" >&5
6759 echo $ECHO_N "checking for perl >= 5.8.1... $ECHO_C" >&6; }
6760 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
6761 if test $? -ne 0; then
6762 { { echo "$as_me:$LINENO: error: perl 5.8.1 is required for intltool" >&5
6763 echo "$as_me: error: perl 5.8.1 is required for intltool" >&2;}
6764 { (exit 1); exit 1; }; }
6766 IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
6767 { echo "$as_me:$LINENO: result: $IT_PERL_VERSION" >&5
6768 echo "${ECHO_T}$IT_PERL_VERSION" >&6; }
6770 if test "x" != "xno-xml"; then
6771 { echo "$as_me:$LINENO: checking for XML::Parser" >&5
6772 echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6; }
6773 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
6774 { echo "$as_me:$LINENO: result: ok" >&5
6775 echo "${ECHO_T}ok" >&6; }
6777 { { echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
6778 echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
6779 { (exit 1); exit 1; }; }
6783 # Substitute ALL_LINGUAS so we can use it in po/Makefile
6786 # Set DATADIRNAME correctly if it is not set yet
6787 # (copied from glib-gettext.m4)
6788 if test -z "$DATADIRNAME"; then
6789 cat >conftest.$ac_ext <<_ACEOF
6792 cat confdefs.h >>conftest.$ac_ext
6793 cat >>conftest.$ac_ext <<_ACEOF
6794 /* end confdefs.h. */
6799 extern int _nl_msg_cat_cntr;
6800 return _nl_msg_cat_cntr
6805 rm -f conftest.$ac_objext conftest$ac_exeext
6806 if { (ac_try="$ac_link"
6808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6809 *) ac_try_echo=$ac_try;;
6811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6812 (eval "$ac_link") 2>conftest.er1
6814 grep -v '^ *+' conftest.er1 >conftest.err
6816 cat conftest.err >&5
6817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6818 (exit $ac_status); } && {
6819 test -z "$ac_c_werror_flag" ||
6820 test ! -s conftest.err
6821 } && test -s conftest$ac_exeext &&
6822 $as_test_x conftest$ac_exeext; then
6825 echo "$as_me: failed program was:" >&5
6826 sed 's/^/| /' conftest.$ac_ext >&5
6830 { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
6831 echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
6832 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
6833 echo $ECHO_N "(cached) $ECHO_C" >&6
6835 cat >conftest.$ac_ext <<_ACEOF
6838 cat confdefs.h >>conftest.$ac_ext
6839 cat >>conftest.$ac_ext <<_ACEOF
6840 /* end confdefs.h. */
6841 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
6842 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6843 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
6845 /* System header to define __stub macros and hopefully few prototypes,
6846 which can conflict with char bind_textdomain_codeset (); below.
6847 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6848 <limits.h> exists even on freestanding compilers. */
6851 # include <limits.h>
6853 # include <assert.h>
6856 #undef bind_textdomain_codeset
6858 /* Override any GCC internal prototype to avoid an error.
6859 Use char because int might match the return type of a GCC
6860 builtin and then its argument prototype would still apply. */
6864 char bind_textdomain_codeset ();
6865 /* The GNU C library defines this for functions which it implements
6866 to always fail with ENOSYS. Some functions are actually named
6867 something starting with __ and the normal name is an alias. */
6868 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
6875 return bind_textdomain_codeset ();
6880 rm -f conftest.$ac_objext conftest$ac_exeext
6881 if { (ac_try="$ac_link"
6883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6884 *) ac_try_echo=$ac_try;;
6886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6887 (eval "$ac_link") 2>conftest.er1
6889 grep -v '^ *+' conftest.er1 >conftest.err
6891 cat conftest.err >&5
6892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6893 (exit $ac_status); } && {
6894 test -z "$ac_c_werror_flag" ||
6895 test ! -s conftest.err
6896 } && test -s conftest$ac_exeext &&
6897 $as_test_x conftest$ac_exeext; then
6898 ac_cv_func_bind_textdomain_codeset=yes
6900 echo "$as_me: failed program was:" >&5
6901 sed 's/^/| /' conftest.$ac_ext >&5
6903 ac_cv_func_bind_textdomain_codeset=no
6906 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6907 conftest$ac_exeext conftest.$ac_ext
6909 { echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
6910 echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
6911 if test $ac_cv_func_bind_textdomain_codeset = yes; then
6924 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6925 conftest$ac_exeext conftest.$ac_ext
6932 GETTEXT_PACKAGE=syncevolution
6934 cat >>confdefs.h <<_ACEOF
6935 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
6940 for ac_header in locale.h
6942 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6943 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6944 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6945 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6946 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6947 echo $ECHO_N "(cached) $ECHO_C" >&6
6949 ac_res=`eval echo '${'$as_ac_Header'}'`
6950 { echo "$as_me:$LINENO: result: $ac_res" >&5
6951 echo "${ECHO_T}$ac_res" >&6; }
6953 # Is the header compilable?
6954 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6955 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6956 cat >conftest.$ac_ext <<_ACEOF
6959 cat confdefs.h >>conftest.$ac_ext
6960 cat >>conftest.$ac_ext <<_ACEOF
6961 /* end confdefs.h. */
6962 $ac_includes_default
6963 #include <$ac_header>
6965 rm -f conftest.$ac_objext
6966 if { (ac_try="$ac_compile"
6968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6969 *) ac_try_echo=$ac_try;;
6971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6972 (eval "$ac_compile") 2>conftest.er1
6974 grep -v '^ *+' conftest.er1 >conftest.err
6976 cat conftest.err >&5
6977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6978 (exit $ac_status); } && {
6979 test -z "$ac_c_werror_flag" ||
6980 test ! -s conftest.err
6981 } && test -s conftest.$ac_objext; then
6982 ac_header_compiler=yes
6984 echo "$as_me: failed program was:" >&5
6985 sed 's/^/| /' conftest.$ac_ext >&5
6987 ac_header_compiler=no
6990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6991 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6992 echo "${ECHO_T}$ac_header_compiler" >&6; }
6994 # Is the header present?
6995 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6996 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6997 cat >conftest.$ac_ext <<_ACEOF
7000 cat confdefs.h >>conftest.$ac_ext
7001 cat >>conftest.$ac_ext <<_ACEOF
7002 /* end confdefs.h. */
7003 #include <$ac_header>
7005 if { (ac_try="$ac_cpp conftest.$ac_ext"
7007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7008 *) ac_try_echo=$ac_try;;
7010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7011 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7013 grep -v '^ *+' conftest.er1 >conftest.err
7015 cat conftest.err >&5
7016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7017 (exit $ac_status); } >/dev/null && {
7018 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7019 test ! -s conftest.err
7021 ac_header_preproc=yes
7023 echo "$as_me: failed program was:" >&5
7024 sed 's/^/| /' conftest.$ac_ext >&5
7026 ac_header_preproc=no
7029 rm -f conftest.err conftest.$ac_ext
7030 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7031 echo "${ECHO_T}$ac_header_preproc" >&6; }
7033 # So? What about this header?
7034 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7036 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7037 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7038 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7039 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7040 ac_header_preproc=yes
7043 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7044 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7045 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7046 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7047 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7048 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7049 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7050 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7051 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7052 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7053 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7054 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7058 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7059 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7060 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7061 echo $ECHO_N "(cached) $ECHO_C" >&6
7063 eval "$as_ac_Header=\$ac_header_preproc"
7065 ac_res=`eval echo '${'$as_ac_Header'}'`
7066 { echo "$as_me:$LINENO: result: $ac_res" >&5
7067 echo "${ECHO_T}$ac_res" >&6; }
7070 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7071 cat >>confdefs.h <<_ACEOF
7072 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7079 if test $ac_cv_header_locale_h = yes; then
7080 { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
7081 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
7082 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
7083 echo $ECHO_N "(cached) $ECHO_C" >&6
7085 cat >conftest.$ac_ext <<_ACEOF
7088 cat confdefs.h >>conftest.$ac_ext
7089 cat >>conftest.$ac_ext <<_ACEOF
7090 /* end confdefs.h. */
7100 rm -f conftest.$ac_objext conftest$ac_exeext
7101 if { (ac_try="$ac_link"
7103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7104 *) ac_try_echo=$ac_try;;
7106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7107 (eval "$ac_link") 2>conftest.er1
7109 grep -v '^ *+' conftest.er1 >conftest.err
7111 cat conftest.err >&5
7112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7113 (exit $ac_status); } && {
7114 test -z "$ac_c_werror_flag" ||
7115 test ! -s conftest.err
7116 } && test -s conftest$ac_exeext &&
7117 $as_test_x conftest$ac_exeext; then
7118 am_cv_val_LC_MESSAGES=yes
7120 echo "$as_me: failed program was:" >&5
7121 sed 's/^/| /' conftest.$ac_ext >&5
7123 am_cv_val_LC_MESSAGES=no
7126 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7127 conftest$ac_exeext conftest.$ac_ext
7129 { echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
7130 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
7131 if test $am_cv_val_LC_MESSAGES = yes; then
7133 cat >>confdefs.h <<\_ACEOF
7134 #define HAVE_LC_MESSAGES 1
7142 gt_cv_have_gettext=no
7148 if test "${ac_cv_header_libintl_h+set}" = set; then
7149 { echo "$as_me:$LINENO: checking for libintl.h" >&5
7150 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
7151 if test "${ac_cv_header_libintl_h+set}" = set; then
7152 echo $ECHO_N "(cached) $ECHO_C" >&6
7154 { echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
7155 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
7157 # Is the header compilable?
7158 { echo "$as_me:$LINENO: checking libintl.h usability" >&5
7159 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
7160 cat >conftest.$ac_ext <<_ACEOF
7163 cat confdefs.h >>conftest.$ac_ext
7164 cat >>conftest.$ac_ext <<_ACEOF
7165 /* end confdefs.h. */
7166 $ac_includes_default
7167 #include <libintl.h>
7169 rm -f conftest.$ac_objext
7170 if { (ac_try="$ac_compile"
7172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7173 *) ac_try_echo=$ac_try;;
7175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7176 (eval "$ac_compile") 2>conftest.er1
7178 grep -v '^ *+' conftest.er1 >conftest.err
7180 cat conftest.err >&5
7181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7182 (exit $ac_status); } && {
7183 test -z "$ac_c_werror_flag" ||
7184 test ! -s conftest.err
7185 } && test -s conftest.$ac_objext; then
7186 ac_header_compiler=yes
7188 echo "$as_me: failed program was:" >&5
7189 sed 's/^/| /' conftest.$ac_ext >&5
7191 ac_header_compiler=no
7194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7195 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7196 echo "${ECHO_T}$ac_header_compiler" >&6; }
7198 # Is the header present?
7199 { echo "$as_me:$LINENO: checking libintl.h presence" >&5
7200 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
7201 cat >conftest.$ac_ext <<_ACEOF
7204 cat confdefs.h >>conftest.$ac_ext
7205 cat >>conftest.$ac_ext <<_ACEOF
7206 /* end confdefs.h. */
7207 #include <libintl.h>
7209 if { (ac_try="$ac_cpp conftest.$ac_ext"
7211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7212 *) ac_try_echo=$ac_try;;
7214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7215 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7217 grep -v '^ *+' conftest.er1 >conftest.err
7219 cat conftest.err >&5
7220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7221 (exit $ac_status); } >/dev/null && {
7222 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7223 test ! -s conftest.err
7225 ac_header_preproc=yes
7227 echo "$as_me: failed program was:" >&5
7228 sed 's/^/| /' conftest.$ac_ext >&5
7230 ac_header_preproc=no
7233 rm -f conftest.err conftest.$ac_ext
7234 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7235 echo "${ECHO_T}$ac_header_preproc" >&6; }
7237 # So? What about this header?
7238 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7240 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
7241 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7242 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
7243 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
7244 ac_header_preproc=yes
7247 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
7248 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
7249 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
7250 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
7251 { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
7252 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
7253 { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
7254 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
7255 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
7256 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
7257 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
7258 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
7262 { echo "$as_me:$LINENO: checking for libintl.h" >&5
7263 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
7264 if test "${ac_cv_header_libintl_h+set}" = set; then
7265 echo $ECHO_N "(cached) $ECHO_C" >&6
7267 ac_cv_header_libintl_h=$ac_header_preproc
7269 { echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
7270 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
7273 if test $ac_cv_header_libintl_h = yes; then
7274 gt_cv_func_dgettext_libintl="no"
7275 libintl_extra_libs=""
7278 # First check in libc
7280 { echo "$as_me:$LINENO: checking for ngettext in libc" >&5
7281 echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6; }
7282 if test "${gt_cv_func_ngettext_libc+set}" = set; then
7283 echo $ECHO_N "(cached) $ECHO_C" >&6
7285 cat >conftest.$ac_ext <<_ACEOF
7288 cat confdefs.h >>conftest.$ac_ext
7289 cat >>conftest.$ac_ext <<_ACEOF
7290 /* end confdefs.h. */
7292 #include <libintl.h>
7297 return !ngettext ("","", 1)
7302 rm -f conftest.$ac_objext conftest$ac_exeext
7303 if { (ac_try="$ac_link"
7305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7306 *) ac_try_echo=$ac_try;;
7308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7309 (eval "$ac_link") 2>conftest.er1
7311 grep -v '^ *+' conftest.er1 >conftest.err
7313 cat conftest.err >&5
7314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7315 (exit $ac_status); } && {
7316 test -z "$ac_c_werror_flag" ||
7317 test ! -s conftest.err
7318 } && test -s conftest$ac_exeext &&
7319 $as_test_x conftest$ac_exeext; then
7320 gt_cv_func_ngettext_libc=yes
7322 echo "$as_me: failed program was:" >&5
7323 sed 's/^/| /' conftest.$ac_ext >&5
7325 gt_cv_func_ngettext_libc=no
7328 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7329 conftest$ac_exeext conftest.$ac_ext
7332 { echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
7333 echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6; }
7335 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
7336 { echo "$as_me:$LINENO: checking for dgettext in libc" >&5
7337 echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6; }
7338 if test "${gt_cv_func_dgettext_libc+set}" = set; then
7339 echo $ECHO_N "(cached) $ECHO_C" >&6
7341 cat >conftest.$ac_ext <<_ACEOF
7344 cat confdefs.h >>conftest.$ac_ext
7345 cat >>conftest.$ac_ext <<_ACEOF
7346 /* end confdefs.h. */
7348 #include <libintl.h>
7353 return !dgettext ("","")
7358 rm -f conftest.$ac_objext conftest$ac_exeext
7359 if { (ac_try="$ac_link"
7361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7362 *) ac_try_echo=$ac_try;;
7364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7365 (eval "$ac_link") 2>conftest.er1
7367 grep -v '^ *+' conftest.er1 >conftest.err
7369 cat conftest.err >&5
7370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7371 (exit $ac_status); } && {
7372 test -z "$ac_c_werror_flag" ||
7373 test ! -s conftest.err
7374 } && test -s conftest$ac_exeext &&
7375 $as_test_x conftest$ac_exeext; then
7376 gt_cv_func_dgettext_libc=yes
7378 echo "$as_me: failed program was:" >&5
7379 sed 's/^/| /' conftest.$ac_ext >&5
7381 gt_cv_func_dgettext_libc=no
7384 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7385 conftest$ac_exeext conftest.$ac_ext
7388 { echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
7389 echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6; }
7392 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
7394 for ac_func in bind_textdomain_codeset
7396 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7397 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7399 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7400 echo $ECHO_N "(cached) $ECHO_C" >&6
7402 cat >conftest.$ac_ext <<_ACEOF
7405 cat confdefs.h >>conftest.$ac_ext
7406 cat >>conftest.$ac_ext <<_ACEOF
7407 /* end confdefs.h. */
7408 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7409 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7410 #define $ac_func innocuous_$ac_func
7412 /* System header to define __stub macros and hopefully few prototypes,
7413 which can conflict with char $ac_func (); below.
7414 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7415 <limits.h> exists even on freestanding compilers. */
7418 # include <limits.h>
7420 # include <assert.h>
7425 /* Override any GCC internal prototype to avoid an error.
7426 Use char because int might match the return type of a GCC
7427 builtin and then its argument prototype would still apply. */
7432 /* The GNU C library defines this for functions which it implements
7433 to always fail with ENOSYS. Some functions are actually named
7434 something starting with __ and the normal name is an alias. */
7435 #if defined __stub_$ac_func || defined __stub___$ac_func
7447 rm -f conftest.$ac_objext conftest$ac_exeext
7448 if { (ac_try="$ac_link"
7450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7451 *) ac_try_echo=$ac_try;;
7453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7454 (eval "$ac_link") 2>conftest.er1
7456 grep -v '^ *+' conftest.er1 >conftest.err
7458 cat conftest.err >&5
7459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7460 (exit $ac_status); } && {
7461 test -z "$ac_c_werror_flag" ||
7462 test ! -s conftest.err
7463 } && test -s conftest$ac_exeext &&
7464 $as_test_x conftest$ac_exeext; then
7465 eval "$as_ac_var=yes"
7467 echo "$as_me: failed program was:" >&5
7468 sed 's/^/| /' conftest.$ac_ext >&5
7470 eval "$as_ac_var=no"
7473 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7474 conftest$ac_exeext conftest.$ac_ext
7476 ac_res=`eval echo '${'$as_ac_var'}'`
7477 { echo "$as_me:$LINENO: result: $ac_res" >&5
7478 echo "${ECHO_T}$ac_res" >&6; }
7479 if test `eval echo '${'$as_ac_var'}'` = yes; then
7480 cat >>confdefs.h <<_ACEOF
7481 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7490 # If we don't have everything we want, check in libintl
7492 if test "$gt_cv_func_dgettext_libc" != "yes" \
7493 || test "$gt_cv_func_ngettext_libc" != "yes" \
7494 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
7496 { echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
7497 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
7498 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
7499 echo $ECHO_N "(cached) $ECHO_C" >&6
7501 ac_check_lib_save_LIBS=$LIBS
7503 cat >conftest.$ac_ext <<_ACEOF
7506 cat confdefs.h >>conftest.$ac_ext
7507 cat >>conftest.$ac_ext <<_ACEOF
7508 /* end confdefs.h. */
7510 /* Override any GCC internal prototype to avoid an error.
7511 Use char because int might match the return type of a GCC
7512 builtin and then its argument prototype would still apply. */
7516 char bindtextdomain ();
7520 return bindtextdomain ();
7525 rm -f conftest.$ac_objext conftest$ac_exeext
7526 if { (ac_try="$ac_link"
7528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7529 *) ac_try_echo=$ac_try;;
7531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7532 (eval "$ac_link") 2>conftest.er1
7534 grep -v '^ *+' conftest.er1 >conftest.err
7536 cat conftest.err >&5
7537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7538 (exit $ac_status); } && {
7539 test -z "$ac_c_werror_flag" ||
7540 test ! -s conftest.err
7541 } && test -s conftest$ac_exeext &&
7542 $as_test_x conftest$ac_exeext; then
7543 ac_cv_lib_intl_bindtextdomain=yes
7545 echo "$as_me: failed program was:" >&5
7546 sed 's/^/| /' conftest.$ac_ext >&5
7548 ac_cv_lib_intl_bindtextdomain=no
7551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7552 conftest$ac_exeext conftest.$ac_ext
7553 LIBS=$ac_check_lib_save_LIBS
7555 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
7556 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
7557 if test $ac_cv_lib_intl_bindtextdomain = yes; then
7558 { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
7559 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
7560 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
7561 echo $ECHO_N "(cached) $ECHO_C" >&6
7563 ac_check_lib_save_LIBS=$LIBS
7565 cat >conftest.$ac_ext <<_ACEOF
7568 cat confdefs.h >>conftest.$ac_ext
7569 cat >>conftest.$ac_ext <<_ACEOF
7570 /* end confdefs.h. */
7572 /* Override any GCC internal prototype to avoid an error.
7573 Use char because int might match the return type of a GCC
7574 builtin and then its argument prototype would still apply. */
7587 rm -f conftest.$ac_objext conftest$ac_exeext
7588 if { (ac_try="$ac_link"
7590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7591 *) ac_try_echo=$ac_try;;
7593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7594 (eval "$ac_link") 2>conftest.er1
7596 grep -v '^ *+' conftest.er1 >conftest.err
7598 cat conftest.err >&5
7599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7600 (exit $ac_status); } && {
7601 test -z "$ac_c_werror_flag" ||
7602 test ! -s conftest.err
7603 } && test -s conftest$ac_exeext &&
7604 $as_test_x conftest$ac_exeext; then
7605 ac_cv_lib_intl_ngettext=yes
7607 echo "$as_me: failed program was:" >&5
7608 sed 's/^/| /' conftest.$ac_ext >&5
7610 ac_cv_lib_intl_ngettext=no
7613 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7614 conftest$ac_exeext conftest.$ac_ext
7615 LIBS=$ac_check_lib_save_LIBS
7617 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
7618 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
7619 if test $ac_cv_lib_intl_ngettext = yes; then
7620 { echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
7621 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; }
7622 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
7623 echo $ECHO_N "(cached) $ECHO_C" >&6
7625 ac_check_lib_save_LIBS=$LIBS
7627 cat >conftest.$ac_ext <<_ACEOF
7630 cat confdefs.h >>conftest.$ac_ext
7631 cat >>conftest.$ac_ext <<_ACEOF
7632 /* end confdefs.h. */
7634 /* Override any GCC internal prototype to avoid an error.
7635 Use char because int might match the return type of a GCC
7636 builtin and then its argument prototype would still apply. */
7649 rm -f conftest.$ac_objext conftest$ac_exeext
7650 if { (ac_try="$ac_link"
7652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7653 *) ac_try_echo=$ac_try;;
7655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7656 (eval "$ac_link") 2>conftest.er1
7658 grep -v '^ *+' conftest.er1 >conftest.err
7660 cat conftest.err >&5
7661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7662 (exit $ac_status); } && {
7663 test -z "$ac_c_werror_flag" ||
7664 test ! -s conftest.err
7665 } && test -s conftest$ac_exeext &&
7666 $as_test_x conftest$ac_exeext; then
7667 ac_cv_lib_intl_dgettext=yes
7669 echo "$as_me: failed program was:" >&5
7670 sed 's/^/| /' conftest.$ac_ext >&5
7672 ac_cv_lib_intl_dgettext=no
7675 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7676 conftest$ac_exeext conftest.$ac_ext
7677 LIBS=$ac_check_lib_save_LIBS
7679 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
7680 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; }
7681 if test $ac_cv_lib_intl_dgettext = yes; then
7682 gt_cv_func_dgettext_libintl=yes
7690 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
7691 { echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
7692 echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6; }
7693 { echo "$as_me:$LINENO: result: " >&5
7694 echo "${ECHO_T}" >&6; }
7695 { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
7696 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
7697 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
7698 echo $ECHO_N "(cached) $ECHO_C" >&6
7700 ac_check_lib_save_LIBS=$LIBS
7701 LIBS="-lintl -liconv $LIBS"
7702 cat >conftest.$ac_ext <<_ACEOF
7705 cat confdefs.h >>conftest.$ac_ext
7706 cat >>conftest.$ac_ext <<_ACEOF
7707 /* end confdefs.h. */
7709 /* Override any GCC internal prototype to avoid an error.
7710 Use char because int might match the return type of a GCC
7711 builtin and then its argument prototype would still apply. */
7724 rm -f conftest.$ac_objext conftest$ac_exeext
7725 if { (ac_try="$ac_link"
7727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7728 *) ac_try_echo=$ac_try;;
7730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7731 (eval "$ac_link") 2>conftest.er1
7733 grep -v '^ *+' conftest.er1 >conftest.err
7735 cat conftest.err >&5
7736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7737 (exit $ac_status); } && {
7738 test -z "$ac_c_werror_flag" ||
7739 test ! -s conftest.err
7740 } && test -s conftest$ac_exeext &&
7741 $as_test_x conftest$ac_exeext; then
7742 ac_cv_lib_intl_ngettext=yes
7744 echo "$as_me: failed program was:" >&5
7745 sed 's/^/| /' conftest.$ac_ext >&5
7747 ac_cv_lib_intl_ngettext=no
7750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7751 conftest$ac_exeext conftest.$ac_ext
7752 LIBS=$ac_check_lib_save_LIBS
7754 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
7755 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
7756 if test $ac_cv_lib_intl_ngettext = yes; then
7757 { echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
7758 echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6; }
7759 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
7760 echo $ECHO_N "(cached) $ECHO_C" >&6
7762 ac_check_lib_save_LIBS=$LIBS
7763 LIBS="-lintl -liconv $LIBS"
7764 cat >conftest.$ac_ext <<_ACEOF
7767 cat confdefs.h >>conftest.$ac_ext
7768 cat >>conftest.$ac_ext <<_ACEOF
7769 /* end confdefs.h. */
7771 /* Override any GCC internal prototype to avoid an error.
7772 Use char because int might match the return type of a GCC
7773 builtin and then its argument prototype would still apply. */
7781 return dcgettext ();
7786 rm -f conftest.$ac_objext conftest$ac_exeext
7787 if { (ac_try="$ac_link"
7789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7790 *) ac_try_echo=$ac_try;;
7792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7793 (eval "$ac_link") 2>conftest.er1
7795 grep -v '^ *+' conftest.er1 >conftest.err
7797 cat conftest.err >&5
7798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7799 (exit $ac_status); } && {
7800 test -z "$ac_c_werror_flag" ||
7801 test ! -s conftest.err
7802 } && test -s conftest$ac_exeext &&
7803 $as_test_x conftest$ac_exeext; then
7804 ac_cv_lib_intl_dcgettext=yes
7806 echo "$as_me: failed program was:" >&5
7807 sed 's/^/| /' conftest.$ac_ext >&5
7809 ac_cv_lib_intl_dcgettext=no
7812 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7813 conftest$ac_exeext conftest.$ac_ext
7814 LIBS=$ac_check_lib_save_LIBS
7816 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
7817 echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6; }
7818 if test $ac_cv_lib_intl_dcgettext = yes; then
7819 gt_cv_func_dgettext_libintl=yes
7820 libintl_extra_libs=-liconv
7832 # If we found libintl, then check in it for bind_textdomain_codeset();
7833 # we'll prefer libc if neither have bind_textdomain_codeset(),
7834 # and both have dgettext and ngettext
7836 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
7837 glib_save_LIBS="$LIBS"
7838 LIBS="$LIBS -lintl $libintl_extra_libs"
7839 unset ac_cv_func_bind_textdomain_codeset
7841 for ac_func in bind_textdomain_codeset
7843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7844 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7846 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7847 echo $ECHO_N "(cached) $ECHO_C" >&6
7849 cat >conftest.$ac_ext <<_ACEOF
7852 cat confdefs.h >>conftest.$ac_ext
7853 cat >>conftest.$ac_ext <<_ACEOF
7854 /* end confdefs.h. */
7855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7857 #define $ac_func innocuous_$ac_func
7859 /* System header to define __stub macros and hopefully few prototypes,
7860 which can conflict with char $ac_func (); below.
7861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7862 <limits.h> exists even on freestanding compilers. */
7865 # include <limits.h>
7867 # include <assert.h>
7872 /* Override any GCC internal prototype to avoid an error.
7873 Use char because int might match the return type of a GCC
7874 builtin and then its argument prototype would still apply. */
7879 /* The GNU C library defines this for functions which it implements
7880 to always fail with ENOSYS. Some functions are actually named
7881 something starting with __ and the normal name is an alias. */
7882 #if defined __stub_$ac_func || defined __stub___$ac_func
7894 rm -f conftest.$ac_objext conftest$ac_exeext
7895 if { (ac_try="$ac_link"
7897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7898 *) ac_try_echo=$ac_try;;
7900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7901 (eval "$ac_link") 2>conftest.er1
7903 grep -v '^ *+' conftest.er1 >conftest.err
7905 cat conftest.err >&5
7906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7907 (exit $ac_status); } && {
7908 test -z "$ac_c_werror_flag" ||
7909 test ! -s conftest.err
7910 } && test -s conftest$ac_exeext &&
7911 $as_test_x conftest$ac_exeext; then
7912 eval "$as_ac_var=yes"
7914 echo "$as_me: failed program was:" >&5
7915 sed 's/^/| /' conftest.$ac_ext >&5
7917 eval "$as_ac_var=no"
7920 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7921 conftest$ac_exeext conftest.$ac_ext
7923 ac_res=`eval echo '${'$as_ac_var'}'`
7924 { echo "$as_me:$LINENO: result: $ac_res" >&5
7925 echo "${ECHO_T}$ac_res" >&6; }
7926 if test `eval echo '${'$as_ac_var'}'` = yes; then
7927 cat >>confdefs.h <<_ACEOF
7928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7934 LIBS="$glib_save_LIBS"
7936 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
7937 gt_cv_func_dgettext_libc=no
7939 if test "$gt_cv_func_dgettext_libc" = "yes" \
7940 && test "$gt_cv_func_ngettext_libc" = "yes"; then
7941 gt_cv_func_dgettext_libintl=no
7947 if test "$gt_cv_func_dgettext_libc" = "yes" \
7948 || test "$gt_cv_func_dgettext_libintl" = "yes"; then
7949 gt_cv_have_gettext=yes
7952 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
7953 INTLLIBS="-lintl $libintl_extra_libs"
7956 if test "$gt_cv_have_gettext" = "yes"; then
7958 cat >>confdefs.h <<\_ACEOF
7959 #define HAVE_GETTEXT 1
7962 # Extract the first word of "msgfmt", so it can be a program name with args.
7963 set dummy msgfmt; ac_word=$2
7964 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7966 if test "${ac_cv_path_MSGFMT+set}" = set; then
7967 echo $ECHO_N "(cached) $ECHO_C" >&6
7971 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
7974 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
7975 for ac_dir in $PATH; do
7976 test -z "$ac_dir" && ac_dir=.
7977 if test -f $ac_dir/$ac_word; then
7978 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
7979 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
7985 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
7989 MSGFMT="$ac_cv_path_MSGFMT"
7990 if test "$MSGFMT" != "no"; then
7991 { echo "$as_me:$LINENO: result: $MSGFMT" >&5
7992 echo "${ECHO_T}$MSGFMT" >&6; }
7994 { echo "$as_me:$LINENO: result: no" >&5
7995 echo "${ECHO_T}no" >&6; }
7997 if test "$MSGFMT" != "no"; then
7998 glib_save_LIBS="$LIBS"
7999 LIBS="$LIBS $INTLLIBS"
8001 for ac_func in dcgettext
8003 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8004 { echo "$as_me:$LINENO: checking for $ac_func" >&5
8005 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8006 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8007 echo $ECHO_N "(cached) $ECHO_C" >&6
8009 cat >conftest.$ac_ext <<_ACEOF
8012 cat confdefs.h >>conftest.$ac_ext
8013 cat >>conftest.$ac_ext <<_ACEOF
8014 /* end confdefs.h. */
8015 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8016 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8017 #define $ac_func innocuous_$ac_func
8019 /* System header to define __stub macros and hopefully few prototypes,
8020 which can conflict with char $ac_func (); below.
8021 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8022 <limits.h> exists even on freestanding compilers. */
8025 # include <limits.h>
8027 # include <assert.h>
8032 /* Override any GCC internal prototype to avoid an error.
8033 Use char because int might match the return type of a GCC
8034 builtin and then its argument prototype would still apply. */
8039 /* The GNU C library defines this for functions which it implements
8040 to always fail with ENOSYS. Some functions are actually named
8041 something starting with __ and the normal name is an alias. */
8042 #if defined __stub_$ac_func || defined __stub___$ac_func
8054 rm -f conftest.$ac_objext conftest$ac_exeext
8055 if { (ac_try="$ac_link"
8057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8058 *) ac_try_echo=$ac_try;;
8060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8061 (eval "$ac_link") 2>conftest.er1
8063 grep -v '^ *+' conftest.er1 >conftest.err
8065 cat conftest.err >&5
8066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8067 (exit $ac_status); } && {
8068 test -z "$ac_c_werror_flag" ||
8069 test ! -s conftest.err
8070 } && test -s conftest$ac_exeext &&
8071 $as_test_x conftest$ac_exeext; then
8072 eval "$as_ac_var=yes"
8074 echo "$as_me: failed program was:" >&5
8075 sed 's/^/| /' conftest.$ac_ext >&5
8077 eval "$as_ac_var=no"
8080 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8081 conftest$ac_exeext conftest.$ac_ext
8083 ac_res=`eval echo '${'$as_ac_var'}'`
8084 { echo "$as_me:$LINENO: result: $ac_res" >&5
8085 echo "${ECHO_T}$ac_res" >&6; }
8086 if test `eval echo '${'$as_ac_var'}'` = yes; then
8087 cat >>confdefs.h <<_ACEOF
8088 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8095 { echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
8096 echo $ECHO_N "checking if msgfmt accepts -c... $ECHO_C" >&6; }
8097 cat >conftest.foo <<_ACEOF
8101 "Content-Type: text/plain; charset=UTF-8\n"
8102 "Project-Id-Version: test 1.0\n"
8103 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
8104 "Last-Translator: test <foo@bar.xx>\n"
8105 "Language-Team: C <LL@li.org>\n"
8106 "MIME-Version: 1.0\n"
8107 "Content-Transfer-Encoding: 8bit\n"
8110 if { (echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
8111 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
8113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8114 (exit $ac_status); }; then
8115 MSGFMT_OPTS=-c; { echo "$as_me:$LINENO: result: yes" >&5
8116 echo "${ECHO_T}yes" >&6; }
8117 else { echo "$as_me:$LINENO: result: no" >&5
8118 echo "${ECHO_T}no" >&6; }
8119 echo "$as_me: failed input was:" >&5
8120 sed 's/^/| /' conftest.foo >&5
8123 # Extract the first word of "gmsgfmt", so it can be a program name with args.
8124 set dummy gmsgfmt; ac_word=$2
8125 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8127 if test "${ac_cv_path_GMSGFMT+set}" = set; then
8128 echo $ECHO_N "(cached) $ECHO_C" >&6
8132 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
8135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8139 test -z "$as_dir" && as_dir=.
8140 for ac_exec_ext in '' $ac_executable_extensions; do
8141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8142 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
8143 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8150 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
8154 GMSGFMT=$ac_cv_path_GMSGFMT
8155 if test -n "$GMSGFMT"; then
8156 { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
8157 echo "${ECHO_T}$GMSGFMT" >&6; }
8159 { echo "$as_me:$LINENO: result: no" >&5
8160 echo "${ECHO_T}no" >&6; }
8164 # Extract the first word of "xgettext", so it can be a program name with args.
8165 set dummy xgettext; ac_word=$2
8166 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8167 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8168 if test "${ac_cv_path_XGETTEXT+set}" = set; then
8169 echo $ECHO_N "(cached) $ECHO_C" >&6
8173 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
8176 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
8177 for ac_dir in $PATH; do
8178 test -z "$ac_dir" && ac_dir=.
8179 if test -f $ac_dir/$ac_word; then
8180 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
8181 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
8187 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
8191 XGETTEXT="$ac_cv_path_XGETTEXT"
8192 if test "$XGETTEXT" != ":"; then
8193 { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
8194 echo "${ECHO_T}$XGETTEXT" >&6; }
8196 { echo "$as_me:$LINENO: result: no" >&5
8197 echo "${ECHO_T}no" >&6; }
8200 cat >conftest.$ac_ext <<_ACEOF
8203 cat confdefs.h >>conftest.$ac_ext
8204 cat >>conftest.$ac_ext <<_ACEOF
8205 /* end confdefs.h. */
8210 extern int _nl_msg_cat_cntr;
8211 return _nl_msg_cat_cntr
8216 rm -f conftest.$ac_objext conftest$ac_exeext
8217 if { (ac_try="$ac_link"
8219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8220 *) ac_try_echo=$ac_try;;
8222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8223 (eval "$ac_link") 2>conftest.er1
8225 grep -v '^ *+' conftest.er1 >conftest.err
8227 cat conftest.err >&5
8228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8229 (exit $ac_status); } && {
8230 test -z "$ac_c_werror_flag" ||
8231 test ! -s conftest.err
8232 } && test -s conftest$ac_exeext &&
8233 $as_test_x conftest$ac_exeext; then
8237 echo "$as_me: failed program was:" >&5
8238 sed 's/^/| /' conftest.$ac_ext >&5
8242 { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
8243 echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
8244 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
8245 echo $ECHO_N "(cached) $ECHO_C" >&6
8247 cat >conftest.$ac_ext <<_ACEOF
8250 cat confdefs.h >>conftest.$ac_ext
8251 cat >>conftest.$ac_ext <<_ACEOF
8252 /* end confdefs.h. */
8253 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
8254 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8255 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
8257 /* System header to define __stub macros and hopefully few prototypes,
8258 which can conflict with char bind_textdomain_codeset (); below.
8259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8260 <limits.h> exists even on freestanding compilers. */
8263 # include <limits.h>
8265 # include <assert.h>
8268 #undef bind_textdomain_codeset
8270 /* Override any GCC internal prototype to avoid an error.
8271 Use char because int might match the return type of a GCC
8272 builtin and then its argument prototype would still apply. */
8276 char bind_textdomain_codeset ();
8277 /* The GNU C library defines this for functions which it implements
8278 to always fail with ENOSYS. Some functions are actually named
8279 something starting with __ and the normal name is an alias. */
8280 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
8287 return bind_textdomain_codeset ();
8292 rm -f conftest.$ac_objext conftest$ac_exeext
8293 if { (ac_try="$ac_link"
8295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8296 *) ac_try_echo=$ac_try;;
8298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8299 (eval "$ac_link") 2>conftest.er1
8301 grep -v '^ *+' conftest.er1 >conftest.err
8303 cat conftest.err >&5
8304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8305 (exit $ac_status); } && {
8306 test -z "$ac_c_werror_flag" ||
8307 test ! -s conftest.err
8308 } && test -s conftest$ac_exeext &&
8309 $as_test_x conftest$ac_exeext; then
8310 ac_cv_func_bind_textdomain_codeset=yes
8312 echo "$as_me: failed program was:" >&5
8313 sed 's/^/| /' conftest.$ac_ext >&5
8315 ac_cv_func_bind_textdomain_codeset=no
8318 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8319 conftest$ac_exeext conftest.$ac_ext
8321 { echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
8322 echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
8323 if test $ac_cv_func_bind_textdomain_codeset = yes; then
8339 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8340 conftest$ac_exeext conftest.$ac_ext
8341 LIBS="$glib_save_LIBS"
8344 gt_cv_have_gettext=no
8352 if test "$gt_cv_have_gettext" = "yes" ; then
8354 cat >>confdefs.h <<\_ACEOF
8355 #define ENABLE_NLS 1
8360 if test "$XGETTEXT" != ":"; then
8361 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
8364 { echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
8365 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; }
8370 # We need to process the po/ directory.
8373 ac_config_commands="$ac_config_commands default-1"
8376 for lang in $ALL_LINGUAS; do
8377 GMOFILES="$GMOFILES $lang.gmo"
8378 POFILES="$POFILES $lang.po"
8393 if test "$gt_cv_have_gettext" = "yes"; then
8394 if test "x$ALL_LINGUAS" = "x"; then
8397 { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
8398 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
8400 for presentlang in $ALL_LINGUAS; do
8402 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
8403 desiredlanguages="$LINGUAS"
8405 desiredlanguages="$ALL_LINGUAS"
8407 for desiredlang in $desiredlanguages; do
8408 # Use the presentlang catalog if desiredlang is
8409 # a. equal to presentlang, or
8410 # b. a variant of presentlang (because in this case,
8411 # presentlang can be used as a fallback for messages
8412 # which are not translated in the desiredlang catalog).
8413 case "$desiredlang" in
8414 "$presentlang"*) useit=yes;;
8417 if test $useit = yes; then
8418 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
8421 LINGUAS=$NEW_LINGUAS
8422 { echo "$as_me:$LINENO: result: $LINGUAS" >&5
8423 echo "${ECHO_T}$LINGUAS" >&6; }
8426 if test -n "$LINGUAS"; then
8427 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
8432 if test -n "$ac_aux_dir"; then
8433 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
8435 if test -z "$MKINSTALLDIRS"; then
8436 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
8440 test -d po || mkdir po
8441 if test "x$srcdir" != "x."; then
8442 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
8443 posrcprefix="$srcdir/"
8445 posrcprefix="../$srcdir/"
8451 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
8452 < $srcdir/po/POTFILES.in > po/POTFILES
8454 SYNCEVOLUTION_LOCALEDIR=${datadir}/locale
8457 # decide which sync-ui(s) we are building:
8458 # sync-ui (in either GTK or Moblin mode) or both (in separate binaries)
8460 all) GUI_PROGRAMS='sync-ui-gtk${EXEEXT} sync-ui-moblin${EXEEXT}'; GUI_DESKTOP_FILES="sync-gtk.desktop sync-moblin.desktop";;
8461 gtk|moblin) GUI_PROGRAMS='sync-ui${EXEEXT}'; GUI_DESKTOP_FILES="sync.desktop";;
8462 no) GUI_PROGRAMS=; GUI_DESKTOP_FILES=;;
8463 *) { { echo "$as_me:$LINENO: error: Unknown enable_gui type: '$enable_gui'" >&5
8464 echo "$as_me: error: Unknown enable_gui type: '$enable_gui'" >&2;}
8465 { (exit 1); exit 1; }; }
8468 if test $enable_gui != "no"; then
8471 { echo "$as_me:$LINENO: checking for DBUS_GLIB" >&5
8472 echo $ECHO_N "checking for DBUS_GLIB... $ECHO_C" >&6; }
8474 if test -n "$PKG_CONFIG"; then
8475 if test -n "$DBUS_GLIB_CFLAGS"; then
8476 pkg_cv_DBUS_GLIB_CFLAGS="$DBUS_GLIB_CFLAGS"
8478 if test -n "$PKG_CONFIG" && \
8479 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 glib-2.0\"") >&5
8480 ($PKG_CONFIG --exists --print-errors "dbus-glib-1 glib-2.0") 2>&5
8482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8483 (exit $ac_status); }; then
8484 pkg_cv_DBUS_GLIB_CFLAGS=`$PKG_CONFIG --cflags "dbus-glib-1 glib-2.0" 2>/dev/null`
8492 if test -n "$PKG_CONFIG"; then
8493 if test -n "$DBUS_GLIB_LIBS"; then
8494 pkg_cv_DBUS_GLIB_LIBS="$DBUS_GLIB_LIBS"
8496 if test -n "$PKG_CONFIG" && \
8497 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 glib-2.0\"") >&5
8498 ($PKG_CONFIG --exists --print-errors "dbus-glib-1 glib-2.0") 2>&5
8500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8501 (exit $ac_status); }; then
8502 pkg_cv_DBUS_GLIB_LIBS=`$PKG_CONFIG --libs "dbus-glib-1 glib-2.0" 2>/dev/null`
8513 if test $pkg_failed = yes; then
8515 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8516 _pkg_short_errors_supported=yes
8518 _pkg_short_errors_supported=no
8520 if test $_pkg_short_errors_supported = yes; then
8521 DBUS_GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "dbus-glib-1 glib-2.0"`
8523 DBUS_GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "dbus-glib-1 glib-2.0"`
8525 # Put the nasty error message in config.log where it belongs
8526 echo "$DBUS_GLIB_PKG_ERRORS" >&5
8528 { { echo "$as_me:$LINENO: error: Package requirements (dbus-glib-1 glib-2.0) were not met:
8530 $DBUS_GLIB_PKG_ERRORS
8532 Consider adjusting the PKG_CONFIG_PATH environment variable if you
8533 installed software in a non-standard prefix.
8535 Alternatively, you may set the environment variables DBUS_GLIB_CFLAGS
8536 and DBUS_GLIB_LIBS to avoid the need to call pkg-config.
8537 See the pkg-config man page for more details.
8539 echo "$as_me: error: Package requirements (dbus-glib-1 glib-2.0) were not met:
8541 $DBUS_GLIB_PKG_ERRORS
8543 Consider adjusting the PKG_CONFIG_PATH environment variable if you
8544 installed software in a non-standard prefix.
8546 Alternatively, you may set the environment variables DBUS_GLIB_CFLAGS
8547 and DBUS_GLIB_LIBS to avoid the need to call pkg-config.
8548 See the pkg-config man page for more details.
8550 { (exit 1); exit 1; }; }
8551 elif test $pkg_failed = untried; then
8552 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
8553 is in your PATH or set the PKG_CONFIG environment variable to the full
8556 Alternatively, you may set the environment variables DBUS_GLIB_CFLAGS
8557 and DBUS_GLIB_LIBS to avoid the need to call pkg-config.
8558 See the pkg-config man page for more details.
8560 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
8561 See \`config.log' for more details." >&5
8562 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
8563 is in your PATH or set the PKG_CONFIG environment variable to the full
8566 Alternatively, you may set the environment variables DBUS_GLIB_CFLAGS
8567 and DBUS_GLIB_LIBS to avoid the need to call pkg-config.
8568 See the pkg-config man page for more details.
8570 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
8571 See \`config.log' for more details." >&2;}
8572 { (exit 1); exit 1; }; }
8574 DBUS_GLIB_CFLAGS=$pkg_cv_DBUS_GLIB_CFLAGS
8575 DBUS_GLIB_LIBS=$pkg_cv_DBUS_GLIB_LIBS
8576 { echo "$as_me:$LINENO: result: yes" >&5
8577 echo "${ECHO_T}yes" >&6; }
8580 # Extract the first word of "dbus-binding-tool", so it can be a program name with args.
8581 set dummy dbus-binding-tool; ac_word=$2
8582 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8583 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8584 if test "${ac_cv_path_DBUS_BINDING_TOOL+set}" = set; then
8585 echo $ECHO_N "(cached) $ECHO_C" >&6
8587 case $DBUS_BINDING_TOOL in
8589 ac_cv_path_DBUS_BINDING_TOOL="$DBUS_BINDING_TOOL" # Let the user override the test with a path.
8592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8596 test -z "$as_dir" && as_dir=.
8597 for ac_exec_ext in '' $ac_executable_extensions; do
8598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8599 ac_cv_path_DBUS_BINDING_TOOL="$as_dir/$ac_word$ac_exec_ext"
8600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8610 DBUS_BINDING_TOOL=$ac_cv_path_DBUS_BINDING_TOOL
8611 if test -n "$DBUS_BINDING_TOOL"; then
8612 { echo "$as_me:$LINENO: result: $DBUS_BINDING_TOOL" >&5
8613 echo "${ECHO_T}$DBUS_BINDING_TOOL" >&6; }
8615 { echo "$as_me:$LINENO: result: no" >&5
8616 echo "${ECHO_T}no" >&6; }
8620 # Extract the first word of "glib-genmarshal", so it can be a program name with args.
8621 set dummy glib-genmarshal; ac_word=$2
8622 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8624 if test "${ac_cv_path_GLIB_GENMARSHAL+set}" = set; then
8625 echo $ECHO_N "(cached) $ECHO_C" >&6
8627 case $GLIB_GENMARSHAL in
8629 ac_cv_path_GLIB_GENMARSHAL="$GLIB_GENMARSHAL" # Let the user override the test with a path.
8632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8636 test -z "$as_dir" && as_dir=.
8637 for ac_exec_ext in '' $ac_executable_extensions; do
8638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8639 ac_cv_path_GLIB_GENMARSHAL="$as_dir/$ac_word$ac_exec_ext"
8640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8650 GLIB_GENMARSHAL=$ac_cv_path_GLIB_GENMARSHAL
8651 if test -n "$GLIB_GENMARSHAL"; then
8652 { echo "$as_me:$LINENO: result: $GLIB_GENMARSHAL" >&5
8653 echo "${ECHO_T}$GLIB_GENMARSHAL" >&6; }
8655 { echo "$as_me:$LINENO: result: no" >&5
8656 echo "${ECHO_T}no" >&6; }
8661 gui_modules="glib-2.0 dbus-glib-1 >= 0.60 gtk+-2.0 libglade-2.0 gio-2.0"
8662 if test $enable_gui == "moblin"; then
8664 cat >>confdefs.h <<\_ACEOF
8665 #define USE_MOBLIN_UX 1
8669 if test $enable_gui == "moblin" -o $enable_gui == "all"; then
8670 gui_modules="$guimodules mx-gtk-1.0"
8674 { echo "$as_me:$LINENO: checking for MX_GTK_0_99_1" >&5
8675 echo $ECHO_N "checking for MX_GTK_0_99_1... $ECHO_C" >&6; }
8677 if test -n "$PKG_CONFIG"; then
8678 if test -n "$MX_GTK_0_99_1_CFLAGS"; then
8679 pkg_cv_MX_GTK_0_99_1_CFLAGS="$MX_GTK_0_99_1_CFLAGS"
8681 if test -n "$PKG_CONFIG" && \
8682 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"mx-gtk-1.0 >= 0.99.1\"") >&5
8683 ($PKG_CONFIG --exists --print-errors "mx-gtk-1.0 >= 0.99.1") 2>&5
8685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8686 (exit $ac_status); }; then
8687 pkg_cv_MX_GTK_0_99_1_CFLAGS=`$PKG_CONFIG --cflags "mx-gtk-1.0 >= 0.99.1" 2>/dev/null`
8695 if test -n "$PKG_CONFIG"; then
8696 if test -n "$MX_GTK_0_99_1_LIBS"; then
8697 pkg_cv_MX_GTK_0_99_1_LIBS="$MX_GTK_0_99_1_LIBS"
8699 if test -n "$PKG_CONFIG" && \
8700 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"mx-gtk-1.0 >= 0.99.1\"") >&5
8701 ($PKG_CONFIG --exists --print-errors "mx-gtk-1.0 >= 0.99.1") 2>&5
8703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8704 (exit $ac_status); }; then
8705 pkg_cv_MX_GTK_0_99_1_LIBS=`$PKG_CONFIG --libs "mx-gtk-1.0 >= 0.99.1" 2>/dev/null`
8716 if test $pkg_failed = yes; then
8718 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8719 _pkg_short_errors_supported=yes
8721 _pkg_short_errors_supported=no
8723 if test $_pkg_short_errors_supported = yes; then
8724 MX_GTK_0_99_1_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "mx-gtk-1.0 >= 0.99.1"`
8726 MX_GTK_0_99_1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mx-gtk-1.0 >= 0.99.1"`
8728 # Put the nasty error message in config.log where it belongs
8729 echo "$MX_GTK_0_99_1_PKG_ERRORS" >&5
8731 { echo "$as_me:$LINENO: result: no" >&5
8732 echo "${ECHO_T}no" >&6; }
8733 have_mx_gtk_0_99_1="no"
8734 elif test $pkg_failed = untried; then
8735 have_mx_gtk_0_99_1="no"
8737 MX_GTK_0_99_1_CFLAGS=$pkg_cv_MX_GTK_0_99_1_CFLAGS
8738 MX_GTK_0_99_1_LIBS=$pkg_cv_MX_GTK_0_99_1_LIBS
8739 { echo "$as_me:$LINENO: result: yes" >&5
8740 echo "${ECHO_T}yes" >&6; }
8741 have_mx_gtk_0_99_1="yes"
8743 if test $have_mx_gtk_0_99_1 == "yes"; then
8745 cat >>confdefs.h <<\_ACEOF
8746 #define MX_GTK_0_99_1 1
8754 { echo "$as_me:$LINENO: checking for UNIQUE" >&5
8755 echo $ECHO_N "checking for UNIQUE... $ECHO_C" >&6; }
8757 if test -n "$PKG_CONFIG"; then
8758 if test -n "$UNIQUE_CFLAGS"; then
8759 pkg_cv_UNIQUE_CFLAGS="$UNIQUE_CFLAGS"
8761 if test -n "$PKG_CONFIG" && \
8762 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"unique-1.0\"") >&5
8763 ($PKG_CONFIG --exists --print-errors "unique-1.0") 2>&5
8765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8766 (exit $ac_status); }; then
8767 pkg_cv_UNIQUE_CFLAGS=`$PKG_CONFIG --cflags "unique-1.0" 2>/dev/null`
8775 if test -n "$PKG_CONFIG"; then
8776 if test -n "$UNIQUE_LIBS"; then
8777 pkg_cv_UNIQUE_LIBS="$UNIQUE_LIBS"
8779 if test -n "$PKG_CONFIG" && \
8780 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"unique-1.0\"") >&5
8781 ($PKG_CONFIG --exists --print-errors "unique-1.0") 2>&5
8783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8784 (exit $ac_status); }; then
8785 pkg_cv_UNIQUE_LIBS=`$PKG_CONFIG --libs "unique-1.0" 2>/dev/null`
8796 if test $pkg_failed = yes; then
8798 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8799 _pkg_short_errors_supported=yes
8801 _pkg_short_errors_supported=no
8803 if test $_pkg_short_errors_supported = yes; then
8804 UNIQUE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "unique-1.0"`
8806 UNIQUE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "unique-1.0"`
8808 # Put the nasty error message in config.log where it belongs
8809 echo "$UNIQUE_PKG_ERRORS" >&5
8811 { echo "$as_me:$LINENO: result: no" >&5
8812 echo "${ECHO_T}no" >&6; }
8814 elif test $pkg_failed = untried; then
8817 UNIQUE_CFLAGS=$pkg_cv_UNIQUE_CFLAGS
8818 UNIQUE_LIBS=$pkg_cv_UNIQUE_LIBS
8819 { echo "$as_me:$LINENO: result: yes" >&5
8820 echo "${ECHO_T}yes" >&6; }
8823 if test $have_unique == "yes"; then
8824 gui_modules="$gui_modules unique-1.0"
8826 cat >>confdefs.h <<\_ACEOF
8827 #define ENABLE_UNIQUE 1
8834 { echo "$as_me:$LINENO: checking for GTK_2_18" >&5
8835 echo $ECHO_N "checking for GTK_2_18... $ECHO_C" >&6; }
8837 if test -n "$PKG_CONFIG"; then
8838 if test -n "$GTK_2_18_CFLAGS"; then
8839 pkg_cv_GTK_2_18_CFLAGS="$GTK_2_18_CFLAGS"
8841 if test -n "$PKG_CONFIG" && \
8842 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\"") >&5
8843 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
8845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8846 (exit $ac_status); }; then
8847 pkg_cv_GTK_2_18_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.18" 2>/dev/null`
8855 if test -n "$PKG_CONFIG"; then
8856 if test -n "$GTK_2_18_LIBS"; then
8857 pkg_cv_GTK_2_18_LIBS="$GTK_2_18_LIBS"
8859 if test -n "$PKG_CONFIG" && \
8860 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\"") >&5
8861 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
8863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8864 (exit $ac_status); }; then
8865 pkg_cv_GTK_2_18_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.18" 2>/dev/null`
8876 if test $pkg_failed = yes; then
8878 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8879 _pkg_short_errors_supported=yes
8881 _pkg_short_errors_supported=no
8883 if test $_pkg_short_errors_supported = yes; then
8884 GTK_2_18_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0 >= 2.18"`
8886 GTK_2_18_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.18"`
8888 # Put the nasty error message in config.log where it belongs
8889 echo "$GTK_2_18_PKG_ERRORS" >&5
8891 { echo "$as_me:$LINENO: result: no" >&5
8892 echo "${ECHO_T}no" >&6; }
8894 elif test $pkg_failed = untried; then
8897 GTK_2_18_CFLAGS=$pkg_cv_GTK_2_18_CFLAGS
8898 GTK_2_18_LIBS=$pkg_cv_GTK_2_18_LIBS
8899 { echo "$as_me:$LINENO: result: yes" >&5
8900 echo "${ECHO_T}yes" >&6; }
8903 if test $have_gtk_2_18 == "yes"; then
8905 cat >>confdefs.h <<\_ACEOF
8913 { echo "$as_me:$LINENO: checking for GUI" >&5
8914 echo $ECHO_N "checking for GUI... $ECHO_C" >&6; }
8916 if test -n "$PKG_CONFIG"; then
8917 if test -n "$GUI_CFLAGS"; then
8918 pkg_cv_GUI_CFLAGS="$GUI_CFLAGS"
8920 if test -n "$PKG_CONFIG" && \
8921 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$gui_modules\"") >&5
8922 ($PKG_CONFIG --exists --print-errors "$gui_modules") 2>&5
8924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8925 (exit $ac_status); }; then
8926 pkg_cv_GUI_CFLAGS=`$PKG_CONFIG --cflags "$gui_modules" 2>/dev/null`
8934 if test -n "$PKG_CONFIG"; then
8935 if test -n "$GUI_LIBS"; then
8936 pkg_cv_GUI_LIBS="$GUI_LIBS"
8938 if test -n "$PKG_CONFIG" && \
8939 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$gui_modules\"") >&5
8940 ($PKG_CONFIG --exists --print-errors "$gui_modules") 2>&5
8942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8943 (exit $ac_status); }; then
8944 pkg_cv_GUI_LIBS=`$PKG_CONFIG --libs "$gui_modules" 2>/dev/null`
8955 if test $pkg_failed = yes; then
8957 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8958 _pkg_short_errors_supported=yes
8960 _pkg_short_errors_supported=no
8962 if test $_pkg_short_errors_supported = yes; then
8963 GUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$gui_modules"`
8965 GUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$gui_modules"`
8967 # Put the nasty error message in config.log where it belongs
8968 echo "$GUI_PKG_ERRORS" >&5
8970 { { echo "$as_me:$LINENO: error: Package requirements ($gui_modules) were not met:
8974 Consider adjusting the PKG_CONFIG_PATH environment variable if you
8975 installed software in a non-standard prefix.
8977 Alternatively, you may set the environment variables GUI_CFLAGS
8978 and GUI_LIBS to avoid the need to call pkg-config.
8979 See the pkg-config man page for more details.
8981 echo "$as_me: error: Package requirements ($gui_modules) were not met:
8985 Consider adjusting the PKG_CONFIG_PATH environment variable if you
8986 installed software in a non-standard prefix.
8988 Alternatively, you may set the environment variables GUI_CFLAGS
8989 and GUI_LIBS to avoid the need to call pkg-config.
8990 See the pkg-config man page for more details.
8992 { (exit 1); exit 1; }; }
8993 elif test $pkg_failed = untried; then
8994 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
8995 is in your PATH or set the PKG_CONFIG environment variable to the full
8998 Alternatively, you may set the environment variables GUI_CFLAGS
8999 and GUI_LIBS to avoid the need to call pkg-config.
9000 See the pkg-config man page for more details.
9002 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
9003 See \`config.log' for more details." >&5
9004 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
9005 is in your PATH or set the PKG_CONFIG environment variable to the full
9008 Alternatively, you may set the environment variables GUI_CFLAGS
9009 and GUI_LIBS to avoid the need to call pkg-config.
9010 See the pkg-config man page for more details.
9012 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
9013 See \`config.log' for more details." >&2;}
9014 { (exit 1); exit 1; }; }
9016 GUI_CFLAGS=$pkg_cv_GUI_CFLAGS
9017 GUI_LIBS=$pkg_cv_GUI_LIBS
9018 { echo "$as_me:$LINENO: result: yes" >&5
9019 echo "${ECHO_T}yes" >&6; }
9023 # Extract the first word of "gtk-builder-convert", so it can be a program name with args.
9024 set dummy gtk-builder-convert; ac_word=$2
9025 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9027 if test "${ac_cv_path_GTK_BUILDER_CONV+set}" = set; then
9028 echo $ECHO_N "(cached) $ECHO_C" >&6
9030 case $GTK_BUILDER_CONV in
9032 ac_cv_path_GTK_BUILDER_CONV="$GTK_BUILDER_CONV" # Let the user override the test with a path.
9035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9039 test -z "$as_dir" && as_dir=.
9040 for ac_exec_ext in '' $ac_executable_extensions; do
9041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9042 ac_cv_path_GTK_BUILDER_CONV="$as_dir/$ac_word$ac_exec_ext"
9043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9053 GTK_BUILDER_CONV=$ac_cv_path_GTK_BUILDER_CONV
9054 if test -n "$GTK_BUILDER_CONV"; then
9055 { echo "$as_me:$LINENO: result: $GTK_BUILDER_CONV" >&5
9056 echo "${ECHO_T}$GTK_BUILDER_CONV" >&6; }
9058 { echo "$as_me:$LINENO: result: no" >&5
9059 echo "${ECHO_T}no" >&6; }
9063 elif test "$enable_dbus_service" = "yes"; then
9064 # syncevo-dbus-server needs localization
9067 INTLTOOL_UPDATE="true"
9078 # Boost headers: boost/foreach.hpp is needed (1.33/Debian Etch
9079 # doesn't have it, 1.34/Ubuntu 8.10 Hardy does). 1.35 is available
9080 # as Debian Etch backport.
9082 ac_cpp='$CXXCPP $CPPFLAGS'
9083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9086 if test -z "$CXX"; then
9087 if test -n "$CCC"; then
9090 if test -n "$ac_tool_prefix"; then
9091 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
9093 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9094 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9095 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9097 if test "${ac_cv_prog_CXX+set}" = set; then
9098 echo $ECHO_N "(cached) $ECHO_C" >&6
9100 if test -n "$CXX"; then
9101 ac_cv_prog_CXX="$CXX" # Let the user override the test.
9103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9107 test -z "$as_dir" && as_dir=.
9108 for ac_exec_ext in '' $ac_executable_extensions; do
9109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9110 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
9111 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9121 if test -n "$CXX"; then
9122 { echo "$as_me:$LINENO: result: $CXX" >&5
9123 echo "${ECHO_T}$CXX" >&6; }
9125 { echo "$as_me:$LINENO: result: no" >&5
9126 echo "${ECHO_T}no" >&6; }
9130 test -n "$CXX" && break
9133 if test -z "$CXX"; then
9135 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
9137 # Extract the first word of "$ac_prog", so it can be a program name with args.
9138 set dummy $ac_prog; ac_word=$2
9139 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9140 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9141 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
9142 echo $ECHO_N "(cached) $ECHO_C" >&6
9144 if test -n "$ac_ct_CXX"; then
9145 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
9147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9151 test -z "$as_dir" && as_dir=.
9152 for ac_exec_ext in '' $ac_executable_extensions; do
9153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9154 ac_cv_prog_ac_ct_CXX="$ac_prog"
9155 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9164 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
9165 if test -n "$ac_ct_CXX"; then
9166 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
9167 echo "${ECHO_T}$ac_ct_CXX" >&6; }
9169 { echo "$as_me:$LINENO: result: no" >&5
9170 echo "${ECHO_T}no" >&6; }
9174 test -n "$ac_ct_CXX" && break
9177 if test "x$ac_ct_CXX" = x; then
9180 case $cross_compiling:$ac_tool_warned in
9182 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9183 whose name does not start with the host triplet. If you think this
9184 configuration is useful to you, please write to autoconf@gnu.org." >&5
9185 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9186 whose name does not start with the host triplet. If you think this
9187 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9188 ac_tool_warned=yes ;;
9196 # Provide some information about the compiler.
9197 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
9198 ac_compiler=`set X $ac_compile; echo $2`
9199 { (ac_try="$ac_compiler --version >&5"
9201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9202 *) ac_try_echo=$ac_try;;
9204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9205 (eval "$ac_compiler --version >&5") 2>&5
9207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9208 (exit $ac_status); }
9209 { (ac_try="$ac_compiler -v >&5"
9211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9212 *) ac_try_echo=$ac_try;;
9214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9215 (eval "$ac_compiler -v >&5") 2>&5
9217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9218 (exit $ac_status); }
9219 { (ac_try="$ac_compiler -V >&5"
9221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9222 *) ac_try_echo=$ac_try;;
9224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9225 (eval "$ac_compiler -V >&5") 2>&5
9227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9228 (exit $ac_status); }
9230 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
9231 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
9232 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
9233 echo $ECHO_N "(cached) $ECHO_C" >&6
9235 cat >conftest.$ac_ext <<_ACEOF
9238 cat confdefs.h >>conftest.$ac_ext
9239 cat >>conftest.$ac_ext <<_ACEOF
9240 /* end confdefs.h. */
9253 rm -f conftest.$ac_objext
9254 if { (ac_try="$ac_compile"
9256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9257 *) ac_try_echo=$ac_try;;
9259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9260 (eval "$ac_compile") 2>conftest.er1
9262 grep -v '^ *+' conftest.er1 >conftest.err
9264 cat conftest.err >&5
9265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9266 (exit $ac_status); } && {
9267 test -z "$ac_cxx_werror_flag" ||
9268 test ! -s conftest.err
9269 } && test -s conftest.$ac_objext; then
9272 echo "$as_me: failed program was:" >&5
9273 sed 's/^/| /' conftest.$ac_ext >&5
9278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9279 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
9282 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
9283 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
9284 GXX=`test $ac_compiler_gnu = yes && echo yes`
9285 ac_test_CXXFLAGS=${CXXFLAGS+set}
9286 ac_save_CXXFLAGS=$CXXFLAGS
9287 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
9288 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
9289 if test "${ac_cv_prog_cxx_g+set}" = set; then
9290 echo $ECHO_N "(cached) $ECHO_C" >&6
9292 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
9293 ac_cxx_werror_flag=yes
9296 cat >conftest.$ac_ext <<_ACEOF
9299 cat confdefs.h >>conftest.$ac_ext
9300 cat >>conftest.$ac_ext <<_ACEOF
9301 /* end confdefs.h. */
9311 rm -f conftest.$ac_objext
9312 if { (ac_try="$ac_compile"
9314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9315 *) ac_try_echo=$ac_try;;
9317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9318 (eval "$ac_compile") 2>conftest.er1
9320 grep -v '^ *+' conftest.er1 >conftest.err
9322 cat conftest.err >&5
9323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9324 (exit $ac_status); } && {
9325 test -z "$ac_cxx_werror_flag" ||
9326 test ! -s conftest.err
9327 } && test -s conftest.$ac_objext; then
9328 ac_cv_prog_cxx_g=yes
9330 echo "$as_me: failed program was:" >&5
9331 sed 's/^/| /' conftest.$ac_ext >&5
9334 cat >conftest.$ac_ext <<_ACEOF
9337 cat confdefs.h >>conftest.$ac_ext
9338 cat >>conftest.$ac_ext <<_ACEOF
9339 /* end confdefs.h. */
9349 rm -f conftest.$ac_objext
9350 if { (ac_try="$ac_compile"
9352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9353 *) ac_try_echo=$ac_try;;
9355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9356 (eval "$ac_compile") 2>conftest.er1
9358 grep -v '^ *+' conftest.er1 >conftest.err
9360 cat conftest.err >&5
9361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9362 (exit $ac_status); } && {
9363 test -z "$ac_cxx_werror_flag" ||
9364 test ! -s conftest.err
9365 } && test -s conftest.$ac_objext; then
9368 echo "$as_me: failed program was:" >&5
9369 sed 's/^/| /' conftest.$ac_ext >&5
9371 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
9373 cat >conftest.$ac_ext <<_ACEOF
9376 cat confdefs.h >>conftest.$ac_ext
9377 cat >>conftest.$ac_ext <<_ACEOF
9378 /* end confdefs.h. */
9388 rm -f conftest.$ac_objext
9389 if { (ac_try="$ac_compile"
9391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9392 *) ac_try_echo=$ac_try;;
9394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9395 (eval "$ac_compile") 2>conftest.er1
9397 grep -v '^ *+' conftest.er1 >conftest.err
9399 cat conftest.err >&5
9400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9401 (exit $ac_status); } && {
9402 test -z "$ac_cxx_werror_flag" ||
9403 test ! -s conftest.err
9404 } && test -s conftest.$ac_objext; then
9405 ac_cv_prog_cxx_g=yes
9407 echo "$as_me: failed program was:" >&5
9408 sed 's/^/| /' conftest.$ac_ext >&5
9413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9420 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
9422 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
9423 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
9424 if test "$ac_test_CXXFLAGS" = set; then
9425 CXXFLAGS=$ac_save_CXXFLAGS
9426 elif test $ac_cv_prog_cxx_g = yes; then
9427 if test "$GXX" = yes; then
9433 if test "$GXX" = yes; then
9440 ac_cpp='$CXXCPP $CPPFLAGS'
9441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9445 depcc="$CXX" am_compiler_list=
9447 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
9448 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
9449 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
9450 echo $ECHO_N "(cached) $ECHO_C" >&6
9452 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
9453 # We make a subdir and do the tests there. Otherwise we can end up
9454 # making bogus files that we don't know about and never remove. For
9455 # instance it was reported that on HP-UX the gcc test will end up
9456 # making a dummy file named `D' -- because `-MD' means `put the output
9459 # Copy depcomp to subdir because otherwise we won't find it if we're
9460 # using a relative directory.
9461 cp "$am_depcomp" conftest.dir
9463 # We will build objects and dependencies in a subdirectory because
9464 # it helps to detect inapplicable dependency modes. For instance
9465 # both Tru64's cc and ICC support -MD to output dependencies as a
9466 # side effect of compilation, but ICC will put the dependencies in
9467 # the current directory while Tru64 will put them in the object
9471 am_cv_CXX_dependencies_compiler_type=none
9472 if test "$am_compiler_list" = ""; then
9473 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
9475 for depmode in $am_compiler_list; do
9476 # Setup a source with many dependencies, because some compilers
9477 # like to wrap large dependency lists on column 80 (with \), and
9478 # we should not choose a depcomp mode which is confused by this.
9480 # We need to recreate these files for each test, as the compiler may
9481 # overwrite some of them when testing with obscure command lines.
9482 # This happens at least with the AIX C compiler.
9484 for i in 1 2 3 4 5 6; do
9485 echo '#include "conftst'$i'.h"' >> sub/conftest.c
9486 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
9487 # Solaris 8's {/usr,}/bin/sh.
9488 touch sub/conftst$i.h
9490 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
9494 # after this tag, mechanisms are not by side-effect, so they'll
9495 # only be used when explicitly requested
9496 if test "x$enable_dependency_tracking" = xyes; then
9504 # We check with `-c' and `-o' for the sake of the "dashmstdout"
9505 # mode. It turns out that the SunPro C++ compiler does not properly
9506 # handle `-M -o', and we need to detect this.
9507 if depmode=$depmode \
9508 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
9509 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
9510 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
9511 >/dev/null 2>conftest.err &&
9512 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
9513 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
9514 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
9515 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
9516 # icc doesn't choke on unknown options, it will just issue warnings
9517 # or remarks (even with -Werror). So we grep stderr for any message
9518 # that says an option was ignored or not supported.
9519 # When given -MP, icc 7.0 and 7.1 complain thusly:
9520 # icc: Command line warning: ignoring option '-M'; no argument required
9521 # The diagnosis changed in icc 8.0:
9522 # icc: Command line remark: option '-MP' not supported
9523 if (grep 'ignoring option' conftest.err ||
9524 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
9525 am_cv_CXX_dependencies_compiler_type=$depmode
9534 am_cv_CXX_dependencies_compiler_type=none
9538 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
9539 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
9540 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
9543 test "x$enable_dependency_tracking" != xno \
9544 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
9545 am__fastdepCXX_TRUE=
9546 am__fastdepCXX_FALSE='#'
9548 am__fastdepCXX_TRUE='#'
9549 am__fastdepCXX_FALSE=
9556 # Check whether --with-boost was given.
9557 if test "${with_boost+set}" = set; then
9558 withval=$with_boost;
9559 if test "$withval" = "no"; then
9561 elif test "$withval" = "yes"; then
9566 ac_boost_path="$withval"
9576 # Check whether --with-boost-libdir was given.
9577 if test "${with_boost_libdir+set}" = set; then
9578 withval=$with_boost_libdir;
9581 ac_boost_lib_path="$withval"
9583 { { echo "$as_me:$LINENO: error: --with-boost-libdir expected directory name" >&5
9584 echo "$as_me: error: --with-boost-libdir expected directory name" >&2;}
9585 { (exit 1); exit 1; }; }
9589 ac_boost_lib_path=""
9594 if test "x$want_boost" = "xyes"; then
9595 boost_lib_version_req=1.34
9596 boost_lib_version_req_shorten=`expr $boost_lib_version_req : '\([0-9]*\.[0-9]*\)'`
9597 boost_lib_version_req_major=`expr $boost_lib_version_req : '\([0-9]*\)'`
9598 boost_lib_version_req_minor=`expr $boost_lib_version_req : '[0-9]*\.\([0-9]*\)'`
9599 boost_lib_version_req_sub_minor=`expr $boost_lib_version_req : '[0-9]*\.[0-9]*\.\([0-9]*\)'`
9600 if test "x$boost_lib_version_req_sub_minor" = "x" ; then
9601 boost_lib_version_req_sub_minor="0"
9603 WANT_BOOST_VERSION=`expr $boost_lib_version_req_major \* 100000 \+ $boost_lib_version_req_minor \* 100 \+ $boost_lib_version_req_sub_minor`
9604 { echo "$as_me:$LINENO: checking for boostlib >= $boost_lib_version_req" >&5
9605 echo $ECHO_N "checking for boostlib >= $boost_lib_version_req... $ECHO_C" >&6; }
9608 if test "$ac_boost_path" != ""; then
9609 BOOST_LDFLAGS="-L$ac_boost_path/lib"
9610 BOOST_CPPFLAGS="-I$ac_boost_path/include"
9612 for ac_boost_path_tmp in /usr /usr/local /opt /opt/local ; do
9613 if test -d "$ac_boost_path_tmp/include/boost" && test -r "$ac_boost_path_tmp/include/boost"; then
9614 BOOST_LDFLAGS="-L$ac_boost_path_tmp/lib"
9615 BOOST_CPPFLAGS="-I$ac_boost_path_tmp/include"
9621 if test "$ac_boost_lib_path" != ""; then
9622 BOOST_LDFLAGS="-L$ac_boost_lib_path"
9625 CPPFLAGS_SAVED="$CPPFLAGS"
9626 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
9629 LDFLAGS_SAVED="$LDFLAGS"
9630 LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
9634 ac_cpp='$CXXCPP $CPPFLAGS'
9635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9639 cat >conftest.$ac_ext <<_ACEOF
9642 cat confdefs.h >>conftest.$ac_ext
9643 cat >>conftest.$ac_ext <<_ACEOF
9644 /* end confdefs.h. */
9646 #include <boost/version.hpp>
9652 #if BOOST_VERSION >= $WANT_BOOST_VERSION
9653 // Everything is okay
9655 # error Boost version is too old
9662 rm -f conftest.$ac_objext
9663 if { (ac_try="$ac_compile"
9665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9666 *) ac_try_echo=$ac_try;;
9668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9669 (eval "$ac_compile") 2>conftest.er1
9671 grep -v '^ *+' conftest.er1 >conftest.err
9673 cat conftest.err >&5
9674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9675 (exit $ac_status); } && {
9676 test -z "$ac_cxx_werror_flag" ||
9677 test ! -s conftest.err
9678 } && test -s conftest.$ac_objext; then
9680 { echo "$as_me:$LINENO: result: yes" >&5
9681 echo "${ECHO_T}yes" >&6; }
9686 echo "$as_me: failed program was:" >&5
9687 sed 's/^/| /' conftest.$ac_ext >&5
9693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9695 ac_cpp='$CPP $CPPFLAGS'
9696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9703 if test "x$succeeded" != "xyes"; then
9705 if test "$ac_boost_path" != ""; then
9706 if test -d "$ac_boost_path" && test -r "$ac_boost_path"; then
9707 for i in `ls -d $ac_boost_path/include/boost-* 2>/dev/null`; do
9708 _version_tmp=`echo $i | sed "s#$ac_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'`
9709 V_CHECK=`expr $_version_tmp \> $_version`
9710 if test "$V_CHECK" = "1" ; then
9711 _version=$_version_tmp
9713 VERSION_UNDERSCORE=`echo $_version | sed 's/\./_/'`
9714 BOOST_CPPFLAGS="-I$ac_boost_path/include/boost-$VERSION_UNDERSCORE"
9718 for ac_boost_path in /usr /usr/local /opt /opt/local ; do
9719 if test -d "$ac_boost_path" && test -r "$ac_boost_path"; then
9720 for i in `ls -d $ac_boost_path/include/boost-* 2>/dev/null`; do
9721 _version_tmp=`echo $i | sed "s#$ac_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'`
9722 V_CHECK=`expr $_version_tmp \> $_version`
9723 if test "$V_CHECK" = "1" ; then
9724 _version=$_version_tmp
9725 best_path=$ac_boost_path
9731 VERSION_UNDERSCORE=`echo $_version | sed 's/\./_/'`
9732 BOOST_CPPFLAGS="-I$best_path/include/boost-$VERSION_UNDERSCORE"
9733 if test "$ac_boost_lib_path" = ""
9735 BOOST_LDFLAGS="-L$best_path/lib"
9738 if test "x$BOOST_ROOT" != "x"; then
9739 if test -d "$BOOST_ROOT" && test -r "$BOOST_ROOT" && test -d "$BOOST_ROOT/stage/lib" && test -r "$BOOST_ROOT/stage/lib"; then
9740 version_dir=`expr //$BOOST_ROOT : '.*/\(.*\)'`
9741 stage_version=`echo $version_dir | sed 's/boost_//' | sed 's/_/./g'`
9742 stage_version_shorten=`expr $stage_version : '\([0-9]*\.[0-9]*\)'`
9743 V_CHECK=`expr $stage_version_shorten \>\= $_version`
9744 if test "$V_CHECK" = "1" -a "$ac_boost_lib_path" = "" ; then
9745 { echo "$as_me:$LINENO: We will use a staged boost library from $BOOST_ROOT" >&5
9746 echo "$as_me: We will use a staged boost library from $BOOST_ROOT" >&6;}
9747 BOOST_CPPFLAGS="-I$BOOST_ROOT"
9748 BOOST_LDFLAGS="-L$BOOST_ROOT/stage/lib"
9754 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
9756 LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
9760 ac_cpp='$CXXCPP $CPPFLAGS'
9761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9765 cat >conftest.$ac_ext <<_ACEOF
9768 cat confdefs.h >>conftest.$ac_ext
9769 cat >>conftest.$ac_ext <<_ACEOF
9770 /* end confdefs.h. */
9772 #include <boost/version.hpp>
9778 #if BOOST_VERSION >= $WANT_BOOST_VERSION
9779 // Everything is okay
9781 # error Boost version is too old
9788 rm -f conftest.$ac_objext
9789 if { (ac_try="$ac_compile"
9791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9792 *) ac_try_echo=$ac_try;;
9794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9795 (eval "$ac_compile") 2>conftest.er1
9797 grep -v '^ *+' conftest.er1 >conftest.err
9799 cat conftest.err >&5
9800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9801 (exit $ac_status); } && {
9802 test -z "$ac_cxx_werror_flag" ||
9803 test ! -s conftest.err
9804 } && test -s conftest.$ac_objext; then
9806 { echo "$as_me:$LINENO: result: yes" >&5
9807 echo "${ECHO_T}yes" >&6; }
9812 echo "$as_me: failed program was:" >&5
9813 sed 's/^/| /' conftest.$ac_ext >&5
9819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9821 ac_cpp='$CPP $CPPFLAGS'
9822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9828 if test "$succeeded" != "yes" ; then
9829 if test "$_version" = "0" ; then
9830 { { echo "$as_me:$LINENO: error: We could not detect the boost libraries (version $boost_lib_version_req_shorten or higher). If you have a staged boost library (still not installed) please specify \$BOOST_ROOT in your environment and do not give a PATH to --with-boost option. If you are sure you have boost installed, then check your version number looking in <boost/version.hpp>. See http://randspringer.de/boost for more documentation." >&5
9831 echo "$as_me: error: We could not detect the boost libraries (version $boost_lib_version_req_shorten or higher). If you have a staged boost library (still not installed) please specify \$BOOST_ROOT in your environment and do not give a PATH to --with-boost option. If you are sure you have boost installed, then check your version number looking in <boost/version.hpp>. See http://randspringer.de/boost for more documentation." >&2;}
9832 { (exit 1); exit 1; }; }
9834 { echo "$as_me:$LINENO: Your boost libraries seems to old (version $_version)." >&5
9835 echo "$as_me: Your boost libraries seems to old (version $_version)." >&6;}
9841 cat >>confdefs.h <<\_ACEOF
9847 CPPFLAGS="$CPPFLAGS_SAVED"
9848 LDFLAGS="$LDFLAGS_SAVED"
9853 # absolute patch to source of Synthesis client library
9854 SYNTHESIS_SRC=no-synthesis-source
9856 if test "$SYNTHESISSRC" && test "$SYNTHESISSRC" != "none"; then
9857 # default: checkout a copy of the sources, remove it during maintainer-clean and distclean
9858 CLEAN_CLIENT_SRC=synthesis-workdir
9859 SYNTHESIS_SRC=$PWD/src/synthesis-workdir
9861 { echo "$as_me:$LINENO: updating the content of $SYNTHESIS_SRC from $SYNTHESISSRC " >&5
9862 echo "$as_me: updating the content of $SYNTHESIS_SRC from $SYNTHESISSRC " >&6;}
9863 case "$SYNTHESISSRC" in
9864 *.git) protocol=git;;
9865 *://*) protocol="`echo $SYNTHESISSRC | sed -e 's;://.*;;'`";;
9866 *) protocol="file";;
9872 # use existing copy of the sources
9874 case "$SYNTHESISSRC" in
9875 /*) SYNTHESIS_SRC="$SYNTHESISSRC";;
9876 *) SYNTHESIS_SRC="$PWD/$SYNTHESISSRC";;
9880 SYNTHESISSRCREV="$SYNTHESISSRC"
9881 if test "$REVISION"; then
9882 revarg="-r $REVISION "
9883 if `echo $SYNTHESISSRC | grep '@0123456789*'` >/dev/null; then
9886 SYNTHESISSRCREV="$SYNTHESISSRC@$REVISION"
9889 if test -d $SYNTHESIS_SRC ; then
9890 ( set -x; cd $SYNTHESIS_SRC && svn --username=$USERNAME switch $revarg "$SYNTHESISSRC" ) || { { echo "$as_me:$LINENO: error: updating from $SYNTHESISSRC failed" >&5
9891 echo "$as_me: error: updating from $SYNTHESISSRC failed" >&2;}
9892 { (exit 1); exit 1; }; }
9894 (set -x; svn --username=$USERNAME checkout $revarg "$SYNTHESISSRCREV" $SYNTHESIS_SRC ) || { { echo "$as_me:$LINENO: error: checking out $SYNTHESISSRC failed" >&5
9895 echo "$as_me: error: checking out $SYNTHESISSRC failed" >&2;}
9896 { (exit 1); exit 1; }; }
9900 if test -d $SYNTHESIS_SRC ; then
9901 ( set -x; cd $SYNTHESIS_SRC && git fetch "$SYNTHESISSRC" ) || { { echo "$as_me:$LINENO: error: updating from $SYNTHESISSRC failed" >&5
9902 echo "$as_me: error: updating from $SYNTHESISSRC failed" >&2;}
9903 { (exit 1); exit 1; }; }
9905 ( set -x; git clone "$SYNTHESISSRC" $SYNTHESIS_SRC ) || { { echo "$as_me:$LINENO: error: cloning $SYNTHESISSRC failed" >&5
9906 echo "$as_me: error: cloning $SYNTHESISSRC failed" >&2;}
9907 { (exit 1); exit 1; }; }
9909 if test "$REVISION"; then
9910 # git 1.6 finds tags and branches without explicit prefix, 1.4.4.4 doesn't
9911 ( set -x; cd $SYNTHESIS_SRC &&
9912 (git checkout "$REVISION" ||
9913 git checkout "tags/$REVISION" ||
9914 git checkout "origin/$REVISION") ) || { { echo "$as_me:$LINENO: error: checking out $SYNTHESISSRC failed" >&5
9915 echo "$as_me: error: checking out $SYNTHESISSRC failed" >&2;}
9916 { (exit 1); exit 1; }; }
9920 elif test "$SYNTHESISSRC" != "none" && test -d $srcdir/src/synthesis; then
9921 # use existing copy of the sources; beware of
9922 # out-of-tree compilation
9924 /*) SYNTHESIS_SRC="$srcdir/src/synthesis";;
9925 *) SYNTHESIS_SRC="$PWD/$srcdir/src/synthesis";;
9927 elif test "$enable_shared" = "no"; then
9928 # link against engine
9931 { echo "$as_me:$LINENO: checking for SYNTHESIS" >&5
9932 echo $ECHO_N "checking for SYNTHESIS... $ECHO_C" >&6; }
9934 if test -n "$PKG_CONFIG"; then
9935 if test -n "$SYNTHESIS_CFLAGS"; then
9936 pkg_cv_SYNTHESIS_CFLAGS="$SYNTHESIS_CFLAGS"
9938 if test -n "$PKG_CONFIG" && \
9939 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\"synthesis\"\"") >&5
9940 ($PKG_CONFIG --exists --print-errors ""synthesis"") 2>&5
9942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9943 (exit $ac_status); }; then
9944 pkg_cv_SYNTHESIS_CFLAGS=`$PKG_CONFIG --cflags ""synthesis"" 2>/dev/null`
9952 if test -n "$PKG_CONFIG"; then
9953 if test -n "$SYNTHESIS_LIBS"; then
9954 pkg_cv_SYNTHESIS_LIBS="$SYNTHESIS_LIBS"
9956 if test -n "$PKG_CONFIG" && \
9957 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\"synthesis\"\"") >&5
9958 ($PKG_CONFIG --exists --print-errors ""synthesis"") 2>&5
9960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9961 (exit $ac_status); }; then
9962 pkg_cv_SYNTHESIS_LIBS=`$PKG_CONFIG --libs ""synthesis"" 2>/dev/null`
9973 if test $pkg_failed = yes; then
9975 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9976 _pkg_short_errors_supported=yes
9978 _pkg_short_errors_supported=no
9980 if test $_pkg_short_errors_supported = yes; then
9981 SYNTHESIS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors ""synthesis""`
9983 SYNTHESIS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors ""synthesis""`
9985 # Put the nasty error message in config.log where it belongs
9986 echo "$SYNTHESIS_PKG_ERRORS" >&5
9988 { { echo "$as_me:$LINENO: error: Package requirements (\"synthesis\") were not met:
9990 $SYNTHESIS_PKG_ERRORS
9992 Consider adjusting the PKG_CONFIG_PATH environment variable if you
9993 installed software in a non-standard prefix.
9995 Alternatively, you may set the environment variables SYNTHESIS_CFLAGS
9996 and SYNTHESIS_LIBS to avoid the need to call pkg-config.
9997 See the pkg-config man page for more details.
9999 echo "$as_me: error: Package requirements (\"synthesis\") were not met:
10001 $SYNTHESIS_PKG_ERRORS
10003 Consider adjusting the PKG_CONFIG_PATH environment variable if you
10004 installed software in a non-standard prefix.
10006 Alternatively, you may set the environment variables SYNTHESIS_CFLAGS
10007 and SYNTHESIS_LIBS to avoid the need to call pkg-config.
10008 See the pkg-config man page for more details.
10010 { (exit 1); exit 1; }; }
10011 elif test $pkg_failed = untried; then
10012 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
10013 is in your PATH or set the PKG_CONFIG environment variable to the full
10014 path to pkg-config.
10016 Alternatively, you may set the environment variables SYNTHESIS_CFLAGS
10017 and SYNTHESIS_LIBS to avoid the need to call pkg-config.
10018 See the pkg-config man page for more details.
10020 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
10021 See \`config.log' for more details." >&5
10022 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
10023 is in your PATH or set the PKG_CONFIG environment variable to the full
10024 path to pkg-config.
10026 Alternatively, you may set the environment variables SYNTHESIS_CFLAGS
10027 and SYNTHESIS_LIBS to avoid the need to call pkg-config.
10028 See the pkg-config man page for more details.
10030 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
10031 See \`config.log' for more details." >&2;}
10032 { (exit 1); exit 1; }; }
10034 SYNTHESIS_CFLAGS=$pkg_cv_SYNTHESIS_CFLAGS
10035 SYNTHESIS_LIBS=$pkg_cv_SYNTHESIS_LIBS
10036 { echo "$as_me:$LINENO: result: yes" >&5
10037 echo "${ECHO_T}yes" >&6; }
10040 SYNTHESIS_ENGINE="$SYNTHESIS_LIBS -lsynthesis"
10042 # link against SDK alone, except in client-test
10043 #PKG_CHECK_MODULES(SYNTHESIS, "synthesis-sdk")
10044 #SYNTHESIS_ENGINE="`echo $SYNTHESIS_LIBS | sed -e 's/-lsynthesisstubs/-lsynthesis/'`"
10046 # can't use the SDK alone because of sysync::SySyncDebugPuts()
10049 { echo "$as_me:$LINENO: checking for SYNTHESIS" >&5
10050 echo $ECHO_N "checking for SYNTHESIS... $ECHO_C" >&6; }
10052 if test -n "$PKG_CONFIG"; then
10053 if test -n "$SYNTHESIS_CFLAGS"; then
10054 pkg_cv_SYNTHESIS_CFLAGS="$SYNTHESIS_CFLAGS"
10056 if test -n "$PKG_CONFIG" && \
10057 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\"synthesis\"\"") >&5
10058 ($PKG_CONFIG --exists --print-errors ""synthesis"") 2>&5
10060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10061 (exit $ac_status); }; then
10062 pkg_cv_SYNTHESIS_CFLAGS=`$PKG_CONFIG --cflags ""synthesis"" 2>/dev/null`
10070 if test -n "$PKG_CONFIG"; then
10071 if test -n "$SYNTHESIS_LIBS"; then
10072 pkg_cv_SYNTHESIS_LIBS="$SYNTHESIS_LIBS"
10074 if test -n "$PKG_CONFIG" && \
10075 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\"synthesis\"\"") >&5
10076 ($PKG_CONFIG --exists --print-errors ""synthesis"") 2>&5
10078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10079 (exit $ac_status); }; then
10080 pkg_cv_SYNTHESIS_LIBS=`$PKG_CONFIG --libs ""synthesis"" 2>/dev/null`
10091 if test $pkg_failed = yes; then
10093 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10094 _pkg_short_errors_supported=yes
10096 _pkg_short_errors_supported=no
10098 if test $_pkg_short_errors_supported = yes; then
10099 SYNTHESIS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors ""synthesis""`
10101 SYNTHESIS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors ""synthesis""`
10103 # Put the nasty error message in config.log where it belongs
10104 echo "$SYNTHESIS_PKG_ERRORS" >&5
10106 { { echo "$as_me:$LINENO: error: Package requirements (\"synthesis\") were not met:
10108 $SYNTHESIS_PKG_ERRORS
10110 Consider adjusting the PKG_CONFIG_PATH environment variable if you
10111 installed software in a non-standard prefix.
10113 Alternatively, you may set the environment variables SYNTHESIS_CFLAGS
10114 and SYNTHESIS_LIBS to avoid the need to call pkg-config.
10115 See the pkg-config man page for more details.
10117 echo "$as_me: error: Package requirements (\"synthesis\") were not met:
10119 $SYNTHESIS_PKG_ERRORS
10121 Consider adjusting the PKG_CONFIG_PATH environment variable if you
10122 installed software in a non-standard prefix.
10124 Alternatively, you may set the environment variables SYNTHESIS_CFLAGS
10125 and SYNTHESIS_LIBS to avoid the need to call pkg-config.
10126 See the pkg-config man page for more details.
10128 { (exit 1); exit 1; }; }
10129 elif test $pkg_failed = untried; then
10130 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
10131 is in your PATH or set the PKG_CONFIG environment variable to the full
10132 path to pkg-config.
10134 Alternatively, you may set the environment variables SYNTHESIS_CFLAGS
10135 and SYNTHESIS_LIBS to avoid the need to call pkg-config.
10136 See the pkg-config man page for more details.
10138 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
10139 See \`config.log' for more details." >&5
10140 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
10141 is in your PATH or set the PKG_CONFIG environment variable to the full
10142 path to pkg-config.
10144 Alternatively, you may set the environment variables SYNTHESIS_CFLAGS
10145 and SYNTHESIS_LIBS to avoid the need to call pkg-config.
10146 See the pkg-config man page for more details.
10148 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
10149 See \`config.log' for more details." >&2;}
10150 { (exit 1); exit 1; }; }
10152 SYNTHESIS_CFLAGS=$pkg_cv_SYNTHESIS_CFLAGS
10153 SYNTHESIS_LIBS=$pkg_cv_SYNTHESIS_LIBS
10154 { echo "$as_me:$LINENO: result: yes" >&5
10155 echo "${ECHO_T}yes" >&6; }
10158 SYNTHESIS_ENGINE="$SYNTHESIS_LIBS"
10161 if test $SYNTHESIS_SRC != "no-synthesis-source"; then
10162 ( cd $SYNTHESIS_SRC && ( test -f configure || sh autogen.sh ) ) || { { echo "$as_me:$LINENO: error: --with-synthesis-src=$SYNTHESIS_SRC: no Synthesis configure script found in that directory" >&5
10163 echo "$as_me: error: --with-synthesis-src=$SYNTHESIS_SRC: no Synthesis configure script found in that directory" >&2;}
10164 { (exit 1); exit 1; }; }
10166 SYNTHESIS_CONFIGURE="$SYNTHESIS_SRC/configure"
10167 chmod u+x $SYNTHESIS_SRC/configure $SYNTHESIS_SRC/config.sub $SYNTHESIS_SRC/config.guess
10169 # use local copy of the sources, with dependencies
10170 # to trigger building the synthesis library
10171 SYNTHESIS_SUBDIR=$PWD/src/build-synthesis
10172 SYNTHESIS_CFLAGS="-I$SYNTHESIS_SUBDIR/src"
10173 SYNTHESIS_LIBS="$SYNTHESIS_SUBDIR/src/libsynthesissdk.la"
10175 if test "$enable_core" = "no" && test "$enable_gui" != "no"; then
10176 # SYNTHESIS_SUBDIR is ignored, at least build headers for GUI
10177 SYNTHESIS_SUBDIR_INCLUDES=synthesis-includes
10180 if test "$enable_shared" = "no"; then
10181 # link against the engines that were enabled
10182 case $SYNCML_ENGINES in both|client|server) SYNTHESIS_LIBS="$SYNTHESIS_LIBS $SYNTHESIS_SUBDIR/src/libsynthesis.la";; esac
10184 cat >>confdefs.h <<\_ACEOF
10185 #define ENABLE_SYNCML_LINKED 1
10189 # It would be nice if we could avoid linking against libsynthesis.la here.
10190 # This doesn't work at the moment because sysync::SySyncDebugPuts()
10191 # is called directly by the libsynthesissdk instead of going through
10192 # the normal C function pointer lookup.
10193 SYNTHESIS_LIBS="$SYNTHESIS_LIBS $SYNTHESIS_SUBDIR/src/libsynthesis.la"
10195 SYNTHESIS_DEP=$SYNTHESIS_LIBS
10197 # for linking client-test
10198 SYNTHESIS_ENGINE="$SYNTHESIS_SUBDIR/src/libsynthesis.la"
10200 { echo "$as_me:$LINENO: configuring the Synthesis library " >&5
10201 echo "$as_me: configuring the Synthesis library " >&6;}
10202 if (set -x; mkdir -p $SYNTHESIS_SUBDIR && cd $SYNTHESIS_SUBDIR && eval "\$SHELL \"\$SYNTHESIS_CONFIGURE\" $ac_configure_args \"--srcdir=\$SYNTHESIS_SRC\" " ); then true; else
10203 { { echo "$as_me:$LINENO: error: configuring Synthesis library failed " >&5
10204 echo "$as_me: error: configuring Synthesis library failed " >&2;}
10205 { (exit 1); exit 1; }; }
10221 # AC_ARG_ENABLE_BACKEND(BACKEND, DIR, HELP-STRING, [ACTION-IF-GIVEN],
10222 # [ACTION-IF-NOT-GIVEN])
10224 # Same as AC_ARG_ENABLE(), but also tells configure that the
10227 # BACKEND = name of modules built in that dir as .la files without the
10228 # obligatory sync prefix, e.g. "ebook"
10229 # DIR = name of the directory inside src/backends, e.g., "evolution"
10234 BACKEND_CPPFLAGS="$SYNTHESIS_CFLAGS $EPACKAGE_CFLAGS $EBOOK_CFLAGS $ECAL_CFLAGS $GLIB_CFLAGS $BOOST_CPPFLAGS"
10237 # GNOME Bluetooth Panel plugin
10240 { echo "$as_me:$LINENO: checking for GNOMEBLUETOOTH" >&5
10241 echo $ECHO_N "checking for GNOMEBLUETOOTH... $ECHO_C" >&6; }
10243 if test -n "$PKG_CONFIG"; then
10244 if test -n "$GNOMEBLUETOOTH_CFLAGS"; then
10245 pkg_cv_GNOMEBLUETOOTH_CFLAGS="$GNOMEBLUETOOTH_CFLAGS"
10247 if test -n "$PKG_CONFIG" && \
10248 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-bluetooth-1.0 >= 2.27.6\"") >&5
10249 ($PKG_CONFIG --exists --print-errors "gnome-bluetooth-1.0 >= 2.27.6") 2>&5
10251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10252 (exit $ac_status); }; then
10253 pkg_cv_GNOMEBLUETOOTH_CFLAGS=`$PKG_CONFIG --cflags "gnome-bluetooth-1.0 >= 2.27.6" 2>/dev/null`
10261 if test -n "$PKG_CONFIG"; then
10262 if test -n "$GNOMEBLUETOOTH_LIBS"; then
10263 pkg_cv_GNOMEBLUETOOTH_LIBS="$GNOMEBLUETOOTH_LIBS"
10265 if test -n "$PKG_CONFIG" && \
10266 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-bluetooth-1.0 >= 2.27.6\"") >&5
10267 ($PKG_CONFIG --exists --print-errors "gnome-bluetooth-1.0 >= 2.27.6") 2>&5
10269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10270 (exit $ac_status); }; then
10271 pkg_cv_GNOMEBLUETOOTH_LIBS=`$PKG_CONFIG --libs "gnome-bluetooth-1.0 >= 2.27.6" 2>/dev/null`
10282 if test $pkg_failed = yes; then
10284 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10285 _pkg_short_errors_supported=yes
10287 _pkg_short_errors_supported=no
10289 if test $_pkg_short_errors_supported = yes; then
10290 GNOMEBLUETOOTH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-bluetooth-1.0 >= 2.27.6"`
10292 GNOMEBLUETOOTH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-bluetooth-1.0 >= 2.27.6"`
10294 # Put the nasty error message in config.log where it belongs
10295 echo "$GNOMEBLUETOOTH_PKG_ERRORS" >&5
10297 { echo "$as_me:$LINENO: result: no" >&5
10298 echo "${ECHO_T}no" >&6; }
10300 elif test $pkg_failed = untried; then
10303 GNOMEBLUETOOTH_CFLAGS=$pkg_cv_GNOMEBLUETOOTH_CFLAGS
10304 GNOMEBLUETOOTH_LIBS=$pkg_cv_GNOMEBLUETOOTH_LIBS
10305 { echo "$as_me:$LINENO: result: yes" >&5
10306 echo "${ECHO_T}yes" >&6; }
10308 GNOMEBLUETOOTH_DIR=`$PKG_CONFIG --variable=libdir gnome-bluetooth-1.0 2>/dev/null`/gnome-bluetooth
10313 # Check whether --enable-gnome-bluetooth-panel-plugin was given.
10314 if test "${enable_gnome_bluetooth_panel_plugin+set}" = set; then
10315 enableval=$enable_gnome_bluetooth_panel_plugin; enable_gnome_bluetooth_panel="$enableval"
10317 enable_gnome_bluetooth_panel="no"
10321 if test "$enable_gnome_bluetooth_panel" = "yes"; then
10322 test "$have_gbt" = "yes" || { { echo "$as_me:$LINENO: error: --enable-gnome-bluetooth-panel requires
10323 pkg-config information for gnome-bluetooth-1.0 >= 2.27.6 which was not found" >&5
10324 echo "$as_me: error: --enable-gnome-bluetooth-panel requires
10325 pkg-config information for gnome-bluetooth-1.0 >= 2.27.6 which was not found" >&2;}
10326 { (exit 1); exit 1; }; }
10328 ac_config_files="$ac_config_files src/gnome-bluetooth/Makefile"
10330 if test "$have_gbt" = "yes" && test "$enable_gnome_bluetooth_panel" = "yes"; then
10331 ENABLE_GNOME_BLUETOOTH_PANEL_TRUE=
10332 ENABLE_GNOME_BLUETOOTH_PANEL_FALSE='#'
10334 ENABLE_GNOME_BLUETOOTH_PANEL_TRUE='#'
10335 ENABLE_GNOME_BLUETOOTH_PANEL_FALSE=
10340 # vvvvvvvvvvvvvv src/backends/addressbook/configure-sub.in vvvvvvvvvvvvvv
10342 ADDRESSBOOK_CFLAGS=
10344 ADDRESSBOOK_LIBS="-framework AddressBook -framework CoreFoundation"
10347 BACKEND_CPPFLAGS="$BACKEND_CPPFLAGS $ADDRESSBOOK_CFLAGS"
10350 # Check whether --enable-addressbook was given.
10351 if test "${enable_addressbook+set}" = set; then
10352 enableval=$enable_addressbook; enable_addressbook="$enableval"
10354 enable_addressbook="no"
10357 BACKENDS="$BACKENDS addressbook"
10358 BACKEND_DEFINES="$BACKEND_DEFINES ENABLE_`echo addressbook | tr a-z A-Z`"
10359 for source in addressbook; do
10360 SYNCSOURCES="$SYNCSOURCES backends/addressbook/syncaddressbook.la"
10364 if test "$enable_addressbook" = "yes"; then
10366 cat >>confdefs.h <<\_ACEOF
10367 #define ENABLE_ADDRESSBOOK 1
10370 DEVICE_TYPE=MacOS_X
10376 ac_config_files="$ac_config_files src/backends/addressbook/Makefile"
10378 # ^^^^^^^^^^^^^^ src/backends/addressbook/configure-sub.in ^^^^^^^^^^^^^^
10380 # vvvvvvvvvvvvvv src/backends/evolution/configure-sub.in vvvvvvvvvvvvvv
10382 pkg_emodules_10="libedataserver-1.0"
10383 pkg_emodules_11="libedataserver-1.1"
10384 pkg_emodules_12="libedataserver-1.2"
10385 pkg_ebook_10="libebook-1.0"
10386 pkg_ebook_11="libebook-1.1"
10387 pkg_ebook_12="libebook-1.2"
10388 pkg_ecal_10="libecal-1.0"
10389 pkg_ecal_11="libecal-1.1"
10390 pkg_ecal_12="libecal-1.2"
10393 Please install the development packages of Evolution and/or
10394 set the PKG_CONFIG_PATH variable so that it points towards
10395 the .pc files of libedataserver, libecal and libebook (the
10396 latter two are optional).
10398 You can check that these packages are available by running
10399 pkg-config --list-all."
10401 evomissing="No compatible evolution-data-server was found.
10406 { echo "$as_me:$LINENO: checking for EPACKAGE" >&5
10407 echo $ECHO_N "checking for EPACKAGE... $ECHO_C" >&6; }
10409 if test -n "$PKG_CONFIG"; then
10410 if test -n "$EPACKAGE_CFLAGS"; then
10411 pkg_cv_EPACKAGE_CFLAGS="$EPACKAGE_CFLAGS"
10413 if test -n "$PKG_CONFIG" && \
10414 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$pkg_emodules_12\"") >&5
10415 ($PKG_CONFIG --exists --print-errors "$pkg_emodules_12") 2>&5
10417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10418 (exit $ac_status); }; then
10419 pkg_cv_EPACKAGE_CFLAGS=`$PKG_CONFIG --cflags "$pkg_emodules_12" 2>/dev/null`
10427 if test -n "$PKG_CONFIG"; then
10428 if test -n "$EPACKAGE_LIBS"; then
10429 pkg_cv_EPACKAGE_LIBS="$EPACKAGE_LIBS"
10431 if test -n "$PKG_CONFIG" && \
10432 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$pkg_emodules_12\"") >&5
10433 ($PKG_CONFIG --exists --print-errors "$pkg_emodules_12") 2>&5
10435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10436 (exit $ac_status); }; then
10437 pkg_cv_EPACKAGE_LIBS=`$PKG_CONFIG --libs "$pkg_emodules_12" 2>/dev/null`
10448 if test $pkg_failed = yes; then
10450 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10451 _pkg_short_errors_supported=yes
10453 _pkg_short_errors_supported=no
10455 if test $_pkg_short_errors_supported = yes; then
10456 EPACKAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$pkg_emodules_12"`
10458 EPACKAGE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$pkg_emodules_12"`
10460 # Put the nasty error message in config.log where it belongs
10461 echo "$EPACKAGE_PKG_ERRORS" >&5
10463 { echo "$as_me:$LINENO: result: no" >&5
10464 echo "${ECHO_T}no" >&6; }
10466 elif test $pkg_failed = untried; then
10469 EPACKAGE_CFLAGS=$pkg_cv_EPACKAGE_CFLAGS
10470 EPACKAGE_LIBS=$pkg_cv_EPACKAGE_LIBS
10471 { echo "$as_me:$LINENO: result: yes" >&5
10472 echo "${ECHO_T}yes" >&6; }
10475 if test "x${EDSFOUND}" = "xno"; then
10478 { echo "$as_me:$LINENO: checking for EPACKAGE" >&5
10479 echo $ECHO_N "checking for EPACKAGE... $ECHO_C" >&6; }
10481 if test -n "$PKG_CONFIG"; then
10482 if test -n "$EPACKAGE_CFLAGS"; then
10483 pkg_cv_EPACKAGE_CFLAGS="$EPACKAGE_CFLAGS"
10485 if test -n "$PKG_CONFIG" && \
10486 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$pkg_emodules_11\"") >&5
10487 ($PKG_CONFIG --exists --print-errors "$pkg_emodules_11") 2>&5
10489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10490 (exit $ac_status); }; then
10491 pkg_cv_EPACKAGE_CFLAGS=`$PKG_CONFIG --cflags "$pkg_emodules_11" 2>/dev/null`
10499 if test -n "$PKG_CONFIG"; then
10500 if test -n "$EPACKAGE_LIBS"; then
10501 pkg_cv_EPACKAGE_LIBS="$EPACKAGE_LIBS"
10503 if test -n "$PKG_CONFIG" && \
10504 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$pkg_emodules_11\"") >&5
10505 ($PKG_CONFIG --exists --print-errors "$pkg_emodules_11") 2>&5
10507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10508 (exit $ac_status); }; then
10509 pkg_cv_EPACKAGE_LIBS=`$PKG_CONFIG --libs "$pkg_emodules_11" 2>/dev/null`
10520 if test $pkg_failed = yes; then
10522 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10523 _pkg_short_errors_supported=yes
10525 _pkg_short_errors_supported=no
10527 if test $_pkg_short_errors_supported = yes; then
10528 EPACKAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$pkg_emodules_11"`
10530 EPACKAGE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$pkg_emodules_11"`
10532 # Put the nasty error message in config.log where it belongs
10533 echo "$EPACKAGE_PKG_ERRORS" >&5
10535 { echo "$as_me:$LINENO: result: no" >&5
10536 echo "${ECHO_T}no" >&6; }
10538 elif test $pkg_failed = untried; then
10541 EPACKAGE_CFLAGS=$pkg_cv_EPACKAGE_CFLAGS
10542 EPACKAGE_LIBS=$pkg_cv_EPACKAGE_LIBS
10543 { echo "$as_me:$LINENO: result: yes" >&5
10544 echo "${ECHO_T}yes" >&6; }
10547 if test "x${EDSFOUND}" = "xno"; then
10550 { echo "$as_me:$LINENO: checking for EPACKAGE" >&5
10551 echo $ECHO_N "checking for EPACKAGE... $ECHO_C" >&6; }
10553 if test -n "$PKG_CONFIG"; then
10554 if test -n "$EPACKAGE_CFLAGS"; then
10555 pkg_cv_EPACKAGE_CFLAGS="$EPACKAGE_CFLAGS"
10557 if test -n "$PKG_CONFIG" && \
10558 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$pkg_emodules_10\"") >&5
10559 ($PKG_CONFIG --exists --print-errors "$pkg_emodules_10") 2>&5
10561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10562 (exit $ac_status); }; then
10563 pkg_cv_EPACKAGE_CFLAGS=`$PKG_CONFIG --cflags "$pkg_emodules_10" 2>/dev/null`
10571 if test -n "$PKG_CONFIG"; then
10572 if test -n "$EPACKAGE_LIBS"; then
10573 pkg_cv_EPACKAGE_LIBS="$EPACKAGE_LIBS"
10575 if test -n "$PKG_CONFIG" && \
10576 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$pkg_emodules_10\"") >&5
10577 ($PKG_CONFIG --exists --print-errors "$pkg_emodules_10") 2>&5
10579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10580 (exit $ac_status); }; then
10581 pkg_cv_EPACKAGE_LIBS=`$PKG_CONFIG --libs "$pkg_emodules_10" 2>/dev/null`
10592 if test $pkg_failed = yes; then
10594 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10595 _pkg_short_errors_supported=yes
10597 _pkg_short_errors_supported=no
10599 if test $_pkg_short_errors_supported = yes; then
10600 EPACKAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$pkg_emodules_10"`
10602 EPACKAGE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$pkg_emodules_10"`
10604 # Put the nasty error message in config.log where it belongs
10605 echo "$EPACKAGE_PKG_ERRORS" >&5
10607 { echo "$as_me:$LINENO: result: no" >&5
10608 echo "${ECHO_T}no" >&6; }
10610 elif test $pkg_failed = untried; then
10613 EPACKAGE_CFLAGS=$pkg_cv_EPACKAGE_CFLAGS
10614 EPACKAGE_LIBS=$pkg_cv_EPACKAGE_LIBS
10615 { echo "$as_me:$LINENO: result: yes" >&5
10616 echo "${ECHO_T}yes" >&6; }
10624 { echo "$as_me:$LINENO: checking for ECAL" >&5
10625 echo $ECHO_N "checking for ECAL... $ECHO_C" >&6; }
10627 if test -n "$PKG_CONFIG"; then
10628 if test -n "$ECAL_CFLAGS"; then
10629 pkg_cv_ECAL_CFLAGS="$ECAL_CFLAGS"
10631 if test -n "$PKG_CONFIG" && \
10632 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$pkg_ecal_12\"") >&5
10633 ($PKG_CONFIG --exists --print-errors "$pkg_ecal_12") 2>&5
10635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10636 (exit $ac_status); }; then
10637 pkg_cv_ECAL_CFLAGS=`$PKG_CONFIG --cflags "$pkg_ecal_12" 2>/dev/null`
10645 if test -n "$PKG_CONFIG"; then
10646 if test -n "$ECAL_LIBS"; then
10647 pkg_cv_ECAL_LIBS="$ECAL_LIBS"
10649 if test -n "$PKG_CONFIG" && \
10650 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$pkg_ecal_12\"") >&5
10651 ($PKG_CONFIG --exists --print-errors "$pkg_ecal_12") 2>&5
10653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10654 (exit $ac_status); }; then
10655 pkg_cv_ECAL_LIBS=`$PKG_CONFIG --libs "$pkg_ecal_12" 2>/dev/null`
10666 if test $pkg_failed = yes; then
10668 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10669 _pkg_short_errors_supported=yes
10671 _pkg_short_errors_supported=no
10673 if test $_pkg_short_errors_supported = yes; then
10674 ECAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$pkg_ecal_12"`
10676 ECAL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$pkg_ecal_12"`
10678 # Put the nasty error message in config.log where it belongs
10679 echo "$ECAL_PKG_ERRORS" >&5
10681 { echo "$as_me:$LINENO: result: no" >&5
10682 echo "${ECHO_T}no" >&6; }
10684 elif test $pkg_failed = untried; then
10687 ECAL_CFLAGS=$pkg_cv_ECAL_CFLAGS
10688 ECAL_LIBS=$pkg_cv_ECAL_LIBS
10689 { echo "$as_me:$LINENO: result: yes" >&5
10690 echo "${ECHO_T}yes" >&6; }
10693 if test "x${ECALFOUND}" = "xno"; then
10696 { echo "$as_me:$LINENO: checking for ECAL" >&5
10697 echo $ECHO_N "checking for ECAL... $ECHO_C" >&6; }
10699 if test -n "$PKG_CONFIG"; then
10700 if test -n "$ECAL_CFLAGS"; then
10701 pkg_cv_ECAL_CFLAGS="$ECAL_CFLAGS"
10703 if test -n "$PKG_CONFIG" && \
10704 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$pkg_ecal_11\"") >&5
10705 ($PKG_CONFIG --exists --print-errors "$pkg_ecal_11") 2>&5
10707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10708 (exit $ac_status); }; then
10709 pkg_cv_ECAL_CFLAGS=`$PKG_CONFIG --cflags "$pkg_ecal_11" 2>/dev/null`
10717 if test -n "$PKG_CONFIG"; then
10718 if test -n "$ECAL_LIBS"; then
10719 pkg_cv_ECAL_LIBS="$ECAL_LIBS"
10721 if test -n "$PKG_CONFIG" && \
10722 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$pkg_ecal_11\"") >&5
10723 ($PKG_CONFIG --exists --print-errors "$pkg_ecal_11") 2>&5
10725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10726 (exit $ac_status); }; then
10727 pkg_cv_ECAL_LIBS=`$PKG_CONFIG --libs "$pkg_ecal_11" 2>/dev/null`
10738 if test $pkg_failed = yes; then
10740 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10741 _pkg_short_errors_supported=yes
10743 _pkg_short_errors_supported=no
10745 if test $_pkg_short_errors_supported = yes; then
10746 ECAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$pkg_ecal_11"`
10748 ECAL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$pkg_ecal_11"`
10750 # Put the nasty error message in config.log where it belongs
10751 echo "$ECAL_PKG_ERRORS" >&5
10753 { echo "$as_me:$LINENO: result: no" >&5
10754 echo "${ECHO_T}no" >&6; }
10756 elif test $pkg_failed = untried; then
10759 ECAL_CFLAGS=$pkg_cv_ECAL_CFLAGS
10760 ECAL_LIBS=$pkg_cv_ECAL_LIBS
10761 { echo "$as_me:$LINENO: result: yes" >&5
10762 echo "${ECHO_T}yes" >&6; }
10765 if test "x${ECALFOUND}" = "xno"; then
10768 { echo "$as_me:$LINENO: checking for ECAL" >&5
10769 echo $ECHO_N "checking for ECAL... $ECHO_C" >&6; }
10771 if test -n "$PKG_CONFIG"; then
10772 if test -n "$ECAL_CFLAGS"; then
10773 pkg_cv_ECAL_CFLAGS="$ECAL_CFLAGS"
10775 if test -n "$PKG_CONFIG" && \
10776 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$pkg_ecal_10\"") >&5
10777 ($PKG_CONFIG --exists --print-errors "$pkg_ecal_10") 2>&5
10779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10780 (exit $ac_status); }; then
10781 pkg_cv_ECAL_CFLAGS=`$PKG_CONFIG --cflags "$pkg_ecal_10" 2>/dev/null`
10789 if test -n "$PKG_CONFIG"; then
10790 if test -n "$ECAL_LIBS"; then
10791 pkg_cv_ECAL_LIBS="$ECAL_LIBS"
10793 if test -n "$PKG_CONFIG" && \
10794 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$pkg_ecal_10\"") >&5
10795 ($PKG_CONFIG --exists --print-errors "$pkg_ecal_10") 2>&5
10797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10798 (exit $ac_status); }; then
10799 pkg_cv_ECAL_LIBS=`$PKG_CONFIG --libs "$pkg_ecal_10" 2>/dev/null`
10810 if test $pkg_failed = yes; then
10812 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10813 _pkg_short_errors_supported=yes
10815 _pkg_short_errors_supported=no
10817 if test $_pkg_short_errors_supported = yes; then
10818 ECAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$pkg_ecal_10"`
10820 ECAL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$pkg_ecal_10"`
10822 # Put the nasty error message in config.log where it belongs
10823 echo "$ECAL_PKG_ERRORS" >&5
10825 { echo "$as_me:$LINENO: result: no" >&5
10826 echo "${ECHO_T}no" >&6; }
10828 elif test $pkg_failed = untried; then
10831 ECAL_CFLAGS=$pkg_cv_ECAL_CFLAGS
10832 ECAL_LIBS=$pkg_cv_ECAL_LIBS
10833 { echo "$as_me:$LINENO: result: yes" >&5
10834 echo "${ECHO_T}yes" >&6; }
10842 { echo "$as_me:$LINENO: checking for EBOOK" >&5
10843 echo $ECHO_N "checking for EBOOK... $ECHO_C" >&6; }
10845 if test -n "$PKG_CONFIG"; then
10846 if test -n "$EBOOK_CFLAGS"; then
10847 pkg_cv_EBOOK_CFLAGS="$EBOOK_CFLAGS"
10849 if test -n "$PKG_CONFIG" && \
10850 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$pkg_ebook_12\"") >&5
10851 ($PKG_CONFIG --exists --print-errors "$pkg_ebook_12") 2>&5
10853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10854 (exit $ac_status); }; then
10855 pkg_cv_EBOOK_CFLAGS=`$PKG_CONFIG --cflags "$pkg_ebook_12" 2>/dev/null`
10863 if test -n "$PKG_CONFIG"; then
10864 if test -n "$EBOOK_LIBS"; then
10865 pkg_cv_EBOOK_LIBS="$EBOOK_LIBS"
10867 if test -n "$PKG_CONFIG" && \
10868 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$pkg_ebook_12\"") >&5
10869 ($PKG_CONFIG --exists --print-errors "$pkg_ebook_12") 2>&5
10871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10872 (exit $ac_status); }; then
10873 pkg_cv_EBOOK_LIBS=`$PKG_CONFIG --libs "$pkg_ebook_12" 2>/dev/null`
10884 if test $pkg_failed = yes; then
10886 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10887 _pkg_short_errors_supported=yes
10889 _pkg_short_errors_supported=no
10891 if test $_pkg_short_errors_supported = yes; then
10892 EBOOK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$pkg_ebook_12"`
10894 EBOOK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$pkg_ebook_12"`
10896 # Put the nasty error message in config.log where it belongs
10897 echo "$EBOOK_PKG_ERRORS" >&5
10899 { echo "$as_me:$LINENO: result: no" >&5
10900 echo "${ECHO_T}no" >&6; }
10902 elif test $pkg_failed = untried; then
10905 EBOOK_CFLAGS=$pkg_cv_EBOOK_CFLAGS
10906 EBOOK_LIBS=$pkg_cv_EBOOK_LIBS
10907 { echo "$as_me:$LINENO: result: yes" >&5
10908 echo "${ECHO_T}yes" >&6; }
10911 if test "x${EBOOKFOUND}" = "xno"; then
10914 { echo "$as_me:$LINENO: checking for EBOOK" >&5
10915 echo $ECHO_N "checking for EBOOK... $ECHO_C" >&6; }
10917 if test -n "$PKG_CONFIG"; then
10918 if test -n "$EBOOK_CFLAGS"; then
10919 pkg_cv_EBOOK_CFLAGS="$EBOOK_CFLAGS"
10921 if test -n "$PKG_CONFIG" && \
10922 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$pkg_ebook_11\"") >&5
10923 ($PKG_CONFIG --exists --print-errors "$pkg_ebook_11") 2>&5
10925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10926 (exit $ac_status); }; then
10927 pkg_cv_EBOOK_CFLAGS=`$PKG_CONFIG --cflags "$pkg_ebook_11" 2>/dev/null`
10935 if test -n "$PKG_CONFIG"; then
10936 if test -n "$EBOOK_LIBS"; then
10937 pkg_cv_EBOOK_LIBS="$EBOOK_LIBS"
10939 if test -n "$PKG_CONFIG" && \
10940 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$pkg_ebook_11\"") >&5
10941 ($PKG_CONFIG --exists --print-errors "$pkg_ebook_11") 2>&5
10943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10944 (exit $ac_status); }; then
10945 pkg_cv_EBOOK_LIBS=`$PKG_CONFIG --libs "$pkg_ebook_11" 2>/dev/null`
10956 if test $pkg_failed = yes; then
10958 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10959 _pkg_short_errors_supported=yes
10961 _pkg_short_errors_supported=no
10963 if test $_pkg_short_errors_supported = yes; then
10964 EBOOK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$pkg_ebook_11"`
10966 EBOOK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$pkg_ebook_11"`
10968 # Put the nasty error message in config.log where it belongs
10969 echo "$EBOOK_PKG_ERRORS" >&5
10971 { echo "$as_me:$LINENO: result: no" >&5
10972 echo "${ECHO_T}no" >&6; }
10974 elif test $pkg_failed = untried; then
10977 EBOOK_CFLAGS=$pkg_cv_EBOOK_CFLAGS
10978 EBOOK_LIBS=$pkg_cv_EBOOK_LIBS
10979 { echo "$as_me:$LINENO: result: yes" >&5
10980 echo "${ECHO_T}yes" >&6; }
10983 if test "x${EBOOKFOUND}" = "xno"; then
10986 { echo "$as_me:$LINENO: checking for EBOOK" >&5
10987 echo $ECHO_N "checking for EBOOK... $ECHO_C" >&6; }
10989 if test -n "$PKG_CONFIG"; then
10990 if test -n "$EBOOK_CFLAGS"; then
10991 pkg_cv_EBOOK_CFLAGS="$EBOOK_CFLAGS"
10993 if test -n "$PKG_CONFIG" && \
10994 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$pkg_ebook_10\"") >&5
10995 ($PKG_CONFIG --exists --print-errors "$pkg_ebook_10") 2>&5
10997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10998 (exit $ac_status); }; then
10999 pkg_cv_EBOOK_CFLAGS=`$PKG_CONFIG --cflags "$pkg_ebook_10" 2>/dev/null`
11007 if test -n "$PKG_CONFIG"; then
11008 if test -n "$EBOOK_LIBS"; then
11009 pkg_cv_EBOOK_LIBS="$EBOOK_LIBS"
11011 if test -n "$PKG_CONFIG" && \
11012 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$pkg_ebook_10\"") >&5
11013 ($PKG_CONFIG --exists --print-errors "$pkg_ebook_10") 2>&5
11015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11016 (exit $ac_status); }; then
11017 pkg_cv_EBOOK_LIBS=`$PKG_CONFIG --libs "$pkg_ebook_10" 2>/dev/null`
11028 if test $pkg_failed = yes; then
11030 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11031 _pkg_short_errors_supported=yes
11033 _pkg_short_errors_supported=no
11035 if test $_pkg_short_errors_supported = yes; then
11036 EBOOK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$pkg_ebook_10"`
11038 EBOOK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$pkg_ebook_10"`
11040 # Put the nasty error message in config.log where it belongs
11041 echo "$EBOOK_PKG_ERRORS" >&5
11043 { echo "$as_me:$LINENO: result: no" >&5
11044 echo "${ECHO_T}no" >&6; }
11046 elif test $pkg_failed = untried; then
11049 EBOOK_CFLAGS=$pkg_cv_EBOOK_CFLAGS
11050 EBOOK_LIBS=$pkg_cv_EBOOK_LIBS
11051 { echo "$as_me:$LINENO: result: yes" >&5
11052 echo "${ECHO_T}yes" >&6; }
11059 # Check whether --enable-ebook was given.
11060 if test "${enable_ebook+set}" = set; then
11061 enableval=$enable_ebook; enable_ebook="$enableval"
11063 test "$EBOOKFOUND" = "yes" && enable_ebook="yes" ||
11064 { { echo "$as_me:$LINENO: error: libebook not found. Use --disable-ebook to compile without or install the necessary development files." >&5
11065 echo "$as_me: error: libebook not found. Use --disable-ebook to compile without or install the necessary development files." >&2;}
11066 { (exit 1); exit 1; }; }
11069 BACKENDS="$BACKENDS ebook"
11070 BACKEND_DEFINES="$BACKEND_DEFINES ENABLE_`echo ebook | tr a-z A-Z`"
11071 for source in evolution; do
11072 SYNCSOURCES="$SYNCSOURCES backends/evolution/syncebook.la"
11076 # Check whether --enable-ecal was given.
11077 if test "${enable_ecal+set}" = set; then
11078 enableval=$enable_ecal; enable_ecal="$enableval"
11080 test "$ECALFOUND" = "yes" && enable_ecal="yes" ||
11081 { { echo "$as_me:$LINENO: error: libecal not found. Use --disable-ecal to compile without or install the necessary development files." >&5
11082 echo "$as_me: error: libecal not found. Use --disable-ecal to compile without or install the necessary development files." >&2;}
11083 { (exit 1); exit 1; }; }
11086 BACKENDS="$BACKENDS ecal"
11087 BACKEND_DEFINES="$BACKEND_DEFINES ENABLE_`echo ecal | tr a-z A-Z`"
11088 for source in evolution; do
11089 SYNCSOURCES="$SYNCSOURCES backends/evolution/syncecal.la"
11094 if test "$enable_ebook" = "yes"; then
11095 test "x${EBOOKFOUND}" == "xyes" || { { echo "$as_me:$LINENO: error: --enable-ebook requires pkg-config information for libebook, which was not found" >&5
11096 echo "$as_me: error: --enable-ebook requires pkg-config information for libebook, which was not found" >&2;}
11097 { (exit 1); exit 1; }; }
11099 cat >>confdefs.h <<\_ACEOF
11100 #define ENABLE_EBOOK 1
11109 if test "$enable_ecal" == "yes"; then
11111 ENABLE_ECAL_FALSE='#'
11113 ENABLE_ECAL_TRUE='#'
11117 if test "$enable_ecal" = "yes"; then
11118 test "x${ECALFOUND}" == "xyes" || { { echo "$as_me:$LINENO: error: --enable-ecal requires pkg-config information for libecal, which was not found\"" >&5
11119 echo "$as_me: error: --enable-ecal requires pkg-config information for libecal, which was not found\"" >&2;}
11120 { (exit 1); exit 1; }; }
11122 cat >>confdefs.h <<\_ACEOF
11123 #define ENABLE_ECAL 1
11134 { echo "$as_me:$LINENO: checking for LIBICAL_AVAILABLE" >&5
11135 echo $ECHO_N "checking for LIBICAL_AVAILABLE... $ECHO_C" >&6; }
11137 if test -n "$PKG_CONFIG"; then
11138 if test -n "$LIBICAL_AVAILABLE_CFLAGS"; then
11139 pkg_cv_LIBICAL_AVAILABLE_CFLAGS="$LIBICAL_AVAILABLE_CFLAGS"
11141 if test -n "$PKG_CONFIG" && \
11142 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libical >= 0.43\"") >&5
11143 ($PKG_CONFIG --exists --print-errors "libical >= 0.43") 2>&5
11145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11146 (exit $ac_status); }; then
11147 pkg_cv_LIBICAL_AVAILABLE_CFLAGS=`$PKG_CONFIG --cflags "libical >= 0.43" 2>/dev/null`
11155 if test -n "$PKG_CONFIG"; then
11156 if test -n "$LIBICAL_AVAILABLE_LIBS"; then
11157 pkg_cv_LIBICAL_AVAILABLE_LIBS="$LIBICAL_AVAILABLE_LIBS"
11159 if test -n "$PKG_CONFIG" && \
11160 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libical >= 0.43\"") >&5
11161 ($PKG_CONFIG --exists --print-errors "libical >= 0.43") 2>&5
11163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11164 (exit $ac_status); }; then
11165 pkg_cv_LIBICAL_AVAILABLE_LIBS=`$PKG_CONFIG --libs "libical >= 0.43" 2>/dev/null`
11176 if test $pkg_failed = yes; then
11178 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11179 _pkg_short_errors_supported=yes
11181 _pkg_short_errors_supported=no
11183 if test $_pkg_short_errors_supported = yes; then
11184 LIBICAL_AVAILABLE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libical >= 0.43"`
11186 LIBICAL_AVAILABLE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libical >= 0.43"`
11188 # Put the nasty error message in config.log where it belongs
11189 echo "$LIBICAL_AVAILABLE_PKG_ERRORS" >&5
11191 { echo "$as_me:$LINENO: result: no" >&5
11192 echo "${ECHO_T}no" >&6; }
11194 elif test $pkg_failed = untried; then
11197 LIBICAL_AVAILABLE_CFLAGS=$pkg_cv_LIBICAL_AVAILABLE_CFLAGS
11198 LIBICAL_AVAILABLE_LIBS=$pkg_cv_LIBICAL_AVAILABLE_LIBS
11199 { echo "$as_me:$LINENO: result: yes" >&5
11200 echo "${ECHO_T}yes" >&6; }
11202 cat >>confdefs.h <<\_ACEOF
11203 #define HAVE_LIBICAL_R 1
11208 if test "$enable_evo" = "yes"; then
11210 if test "$EDSFOUND" = "yes"; then
11212 cat >>confdefs.h <<\_ACEOF
11217 { { echo "$as_me:$LINENO: error: $evomissing" >&5
11218 echo "$as_me: error: $evomissing" >&2;}
11219 { (exit 1); exit 1; }; }
11226 BACKEND_CPPFLAGS="$BACKEND_CPPFLAGS $EPACKAGE_CFLAGS $ECAL_CFLAGS $EBOOK_CFLAGS"
11227 ac_config_files="$ac_config_files src/backends/evolution/Makefile"
11229 # ^^^^^^^^^^^^^^ src/backends/evolution/configure-sub.in ^^^^^^^^^^^^^^
11231 # vvvvvvvvvvvvvv src/backends/file/configure-sub.in vvvvvvvvvvvvvv
11239 BACKEND_CPPFLAGS="$BACKEND_CPPFLAGS $FILE_CFLAGS"
11242 # Check whether --enable-file was given.
11243 if test "${enable_file+set}" = set; then
11244 enableval=$enable_file; enable_file="$enableval"
11250 BACKENDS="$BACKENDS file"
11251 BACKEND_DEFINES="$BACKEND_DEFINES ENABLE_`echo file | tr a-z A-Z`"
11252 for source in file; do
11253 SYNCSOURCES="$SYNCSOURCES backends/file/syncfile.la"
11257 if test "$enable_file" = "yes"; then
11259 cat >>confdefs.h <<\_ACEOF
11260 #define ENABLE_FILE 1
11264 ac_config_files="$ac_config_files src/backends/file/Makefile"
11266 # ^^^^^^^^^^^^^^ src/backends/file/configure-sub.in ^^^^^^^^^^^^^^
11268 # vvvvvvvvvvvvvv src/backends/maemo/configure-sub.in vvvvvvvvvvvvvv
11272 { echo "$as_me:$LINENO: checking for MCALB" >&5
11273 echo $ECHO_N "checking for MCALB... $ECHO_C" >&6; }
11275 if test -n "$PKG_CONFIG"; then
11276 if test -n "$MCALB_CFLAGS"; then
11277 pkg_cv_MCALB_CFLAGS="$MCALB_CFLAGS"
11279 if test -n "$PKG_CONFIG" && \
11280 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"calendar-backend\"") >&5
11281 ($PKG_CONFIG --exists --print-errors "calendar-backend") 2>&5
11283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11284 (exit $ac_status); }; then
11285 pkg_cv_MCALB_CFLAGS=`$PKG_CONFIG --cflags "calendar-backend" 2>/dev/null`
11293 if test -n "$PKG_CONFIG"; then
11294 if test -n "$MCALB_LIBS"; then
11295 pkg_cv_MCALB_LIBS="$MCALB_LIBS"
11297 if test -n "$PKG_CONFIG" && \
11298 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"calendar-backend\"") >&5
11299 ($PKG_CONFIG --exists --print-errors "calendar-backend") 2>&5
11301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11302 (exit $ac_status); }; then
11303 pkg_cv_MCALB_LIBS=`$PKG_CONFIG --libs "calendar-backend" 2>/dev/null`
11314 if test $pkg_failed = yes; then
11316 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11317 _pkg_short_errors_supported=yes
11319 _pkg_short_errors_supported=no
11321 if test $_pkg_short_errors_supported = yes; then
11322 MCALB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "calendar-backend"`
11324 MCALB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "calendar-backend"`
11326 # Put the nasty error message in config.log where it belongs
11327 echo "$MCALB_PKG_ERRORS" >&5
11329 { echo "$as_me:$LINENO: result: no" >&5
11330 echo "${ECHO_T}no" >&6; }
11332 elif test $pkg_failed = untried; then
11335 MCALB_CFLAGS=$pkg_cv_MCALB_CFLAGS
11336 MCALB_LIBS=$pkg_cv_MCALB_LIBS
11337 { echo "$as_me:$LINENO: result: yes" >&5
11338 echo "${ECHO_T}yes" >&6; }
11343 BACKEND_CPPFLAGS="$BACKEND_CPPFLAGS $MCALB_CFLAGS"
11346 # Check whether --enable-maemocal was given.
11347 if test "${enable_maemocal+set}" = set; then
11348 enableval=$enable_maemocal; enable_maemocal="$enableval"
11350 enable_maemocal="no"
11353 BACKENDS="$BACKENDS maemocal"
11354 BACKEND_DEFINES="$BACKEND_DEFINES ENABLE_`echo maemocal | tr a-z A-Z`"
11355 for source in maemo; do
11356 SYNCSOURCES="$SYNCSOURCES backends/maemo/syncmaemocal.la"
11360 if test "$enable_maemocal" = "yes"; then
11361 test "x${MCALBFOUND}" == "xyes" || { { echo "$as_me:$LINENO: error: --enable-maemo-calendar requires pkg-config information for calendar-backend, which was not found" >&5
11362 echo "$as_me: error: --enable-maemo-calendar requires pkg-config information for calendar-backend, which was not found" >&2;}
11363 { (exit 1); exit 1; }; }
11365 cat >>confdefs.h <<\_ACEOF
11366 #define ENABLE_MAEMO_CALENDAR 1
11370 ac_config_files="$ac_config_files src/backends/maemo/Makefile"
11372 # ^^^^^^^^^^^^^^ src/backends/maemo/configure-sub.in ^^^^^^^^^^^^^^
11374 # vvvvvvvvvvvvvv src/backends/sqlite/configure-sub.in vvvvvvvvvvvvvv
11378 { echo "$as_me:$LINENO: checking for SQLITE" >&5
11379 echo $ECHO_N "checking for SQLITE... $ECHO_C" >&6; }
11381 if test -n "$PKG_CONFIG"; then
11382 if test -n "$SQLITE_CFLAGS"; then
11383 pkg_cv_SQLITE_CFLAGS="$SQLITE_CFLAGS"
11385 if test -n "$PKG_CONFIG" && \
11386 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sqlite3\"") >&5
11387 ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
11389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11390 (exit $ac_status); }; then
11391 pkg_cv_SQLITE_CFLAGS=`$PKG_CONFIG --cflags "sqlite3" 2>/dev/null`
11399 if test -n "$PKG_CONFIG"; then
11400 if test -n "$SQLITE_LIBS"; then
11401 pkg_cv_SQLITE_LIBS="$SQLITE_LIBS"
11403 if test -n "$PKG_CONFIG" && \
11404 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sqlite3\"") >&5
11405 ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
11407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11408 (exit $ac_status); }; then
11409 pkg_cv_SQLITE_LIBS=`$PKG_CONFIG --libs "sqlite3" 2>/dev/null`
11420 if test $pkg_failed = yes; then
11422 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11423 _pkg_short_errors_supported=yes
11425 _pkg_short_errors_supported=no
11427 if test $_pkg_short_errors_supported = yes; then
11428 SQLITE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "sqlite3"`
11430 SQLITE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "sqlite3"`
11432 # Put the nasty error message in config.log where it belongs
11433 echo "$SQLITE_PKG_ERRORS" >&5
11435 { echo "$as_me:$LINENO: result: no" >&5
11436 echo "${ECHO_T}no" >&6; }
11438 elif test $pkg_failed = untried; then
11441 SQLITE_CFLAGS=$pkg_cv_SQLITE_CFLAGS
11442 SQLITE_LIBS=$pkg_cv_SQLITE_LIBS
11443 { echo "$as_me:$LINENO: result: yes" >&5
11444 echo "${ECHO_T}yes" >&6; }
11449 BACKEND_CPPFLAGS="$BACKEND_CPPFLAGS $SQLITE_CFLAGS"
11452 # Check whether --enable-sqlite was given.
11453 if test "${enable_sqlite+set}" = set; then
11454 enableval=$enable_sqlite; enable_sqlite="$enableval"
11459 BACKENDS="$BACKENDS sqlite"
11460 BACKEND_DEFINES="$BACKEND_DEFINES ENABLE_`echo sqlite | tr a-z A-Z`"
11461 for source in sqlite; do
11462 SYNCSOURCES="$SYNCSOURCES backends/sqlite/syncsqlite.la"
11466 if test "$enable_sqlite" = "yes"; then
11467 test "x${SQLITEFOUND}" == "xyes" || { { echo "$as_me:$LINENO: error: --enable-sqlite requires pkg-config information for sqlite3, which was not found" >&5
11468 echo "$as_me: error: --enable-sqlite requires pkg-config information for sqlite3, which was not found" >&2;}
11469 { (exit 1); exit 1; }; }
11471 cat >>confdefs.h <<\_ACEOF
11472 #define ENABLE_SQLITE 1
11476 # avoid linking against it if not needed
11480 ac_config_files="$ac_config_files src/backends/sqlite/Makefile"
11482 # ^^^^^^^^^^^^^^ src/backends/sqlite/configure-sub.in ^^^^^^^^^^^^^^
11484 # vvvvvvvvvvvvvv src/backends/xmlrpc/configure-sub.in vvvvvvvvvvvvvv
11489 # Check whether --enable-xmlrpc was given.
11490 if test "${enable_xmlrpc+set}" = set; then
11491 enableval=$enable_xmlrpc; enable_xmlrpc="$enableval"
11497 BACKENDS="$BACKENDS xmlrpc"
11498 BACKEND_DEFINES="$BACKEND_DEFINES ENABLE_`echo xmlrpc | tr a-z A-Z`"
11499 for source in xmlrpc; do
11500 SYNCSOURCES="$SYNCSOURCES backends/xmlrpc/syncxmlrpc.la"
11504 if test "$enable_xmlrpc" = "yes"; then
11506 test -e /usr/bin/xmlrpc-c-config || { { echo "$as_me:$LINENO: error: --enable-xmlrpc requires xmlrpc-c-config, which was not found" >&5
11507 echo "$as_me: error: --enable-xmlrpc requires xmlrpc-c-config, which was not found" >&2;}
11508 { (exit 1); exit 1; }; }
11510 XMLRPC_CFLAGS=`/usr/bin/xmlrpc-c-config c++2 client --cflags`
11511 XMLRPC_LIBS=`/usr/bin/xmlrpc-c-config c++2 client --libs`
11515 BACKEND_CPPFLAGS="$BACKEND_CPPFLAGS $XMLRPC_CFLAGS"
11518 cat >>confdefs.h <<\_ACEOF
11519 #define ENABLE_XMLRPC 1
11523 ac_config_files="$ac_config_files src/backends/xmlrpc/Makefile"
11525 # ^^^^^^^^^^^^^^ src/backends/xmlrpc/configure-sub.in ^^^^^^^^^^^^^^
11531 backend_is_enabled () {
11532 eval echo \${enable_${1}}
11534 for backend in $BACKENDS; do
11535 if test `backend_is_enabled $backend` == "yes"; then
11537 SYNCEVOLUTION_MODULES="$SYNCEVOLUTION_MODULES src/backends/sync${backend}.la"
11541 if test "$enable_any" = "no"; then
11542 { { echo "$as_me:$LINENO: error: no backend enabled - refusing to continue: $anymissing" >&5
11543 echo "$as_me: error: no backend enabled - refusing to continue: $anymissing" >&2;}
11544 { (exit 1); exit 1; }; }
11548 ac_cpp='$CXXCPP $CPPFLAGS'
11549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11552 if test -z "$CXX"; then
11553 if test -n "$CCC"; then
11556 if test -n "$ac_tool_prefix"; then
11557 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11559 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11560 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11561 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11562 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11563 if test "${ac_cv_prog_CXX+set}" = set; then
11564 echo $ECHO_N "(cached) $ECHO_C" >&6
11566 if test -n "$CXX"; then
11567 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11570 for as_dir in $PATH
11573 test -z "$as_dir" && as_dir=.
11574 for ac_exec_ext in '' $ac_executable_extensions; do
11575 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11576 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11577 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11586 CXX=$ac_cv_prog_CXX
11587 if test -n "$CXX"; then
11588 { echo "$as_me:$LINENO: result: $CXX" >&5
11589 echo "${ECHO_T}$CXX" >&6; }
11591 { echo "$as_me:$LINENO: result: no" >&5
11592 echo "${ECHO_T}no" >&6; }
11596 test -n "$CXX" && break
11599 if test -z "$CXX"; then
11601 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11603 # Extract the first word of "$ac_prog", so it can be a program name with args.
11604 set dummy $ac_prog; ac_word=$2
11605 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11607 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11608 echo $ECHO_N "(cached) $ECHO_C" >&6
11610 if test -n "$ac_ct_CXX"; then
11611 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11614 for as_dir in $PATH
11617 test -z "$as_dir" && as_dir=.
11618 for ac_exec_ext in '' $ac_executable_extensions; do
11619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11620 ac_cv_prog_ac_ct_CXX="$ac_prog"
11621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11630 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11631 if test -n "$ac_ct_CXX"; then
11632 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11633 echo "${ECHO_T}$ac_ct_CXX" >&6; }
11635 { echo "$as_me:$LINENO: result: no" >&5
11636 echo "${ECHO_T}no" >&6; }
11640 test -n "$ac_ct_CXX" && break
11643 if test "x$ac_ct_CXX" = x; then
11646 case $cross_compiling:$ac_tool_warned in
11648 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
11649 whose name does not start with the host triplet. If you think this
11650 configuration is useful to you, please write to autoconf@gnu.org." >&5
11651 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
11652 whose name does not start with the host triplet. If you think this
11653 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
11654 ac_tool_warned=yes ;;
11662 # Provide some information about the compiler.
11663 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
11664 ac_compiler=`set X $ac_compile; echo $2`
11665 { (ac_try="$ac_compiler --version >&5"
11666 case "(($ac_try" in
11667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11668 *) ac_try_echo=$ac_try;;
11670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11671 (eval "$ac_compiler --version >&5") 2>&5
11673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11674 (exit $ac_status); }
11675 { (ac_try="$ac_compiler -v >&5"
11676 case "(($ac_try" in
11677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11678 *) ac_try_echo=$ac_try;;
11680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11681 (eval "$ac_compiler -v >&5") 2>&5
11683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11684 (exit $ac_status); }
11685 { (ac_try="$ac_compiler -V >&5"
11686 case "(($ac_try" in
11687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11688 *) ac_try_echo=$ac_try;;
11690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11691 (eval "$ac_compiler -V >&5") 2>&5
11693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11694 (exit $ac_status); }
11696 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11697 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
11698 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11699 echo $ECHO_N "(cached) $ECHO_C" >&6
11701 cat >conftest.$ac_ext <<_ACEOF
11704 cat confdefs.h >>conftest.$ac_ext
11705 cat >>conftest.$ac_ext <<_ACEOF
11706 /* end confdefs.h. */
11719 rm -f conftest.$ac_objext
11720 if { (ac_try="$ac_compile"
11721 case "(($ac_try" in
11722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11723 *) ac_try_echo=$ac_try;;
11725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11726 (eval "$ac_compile") 2>conftest.er1
11728 grep -v '^ *+' conftest.er1 >conftest.err
11730 cat conftest.err >&5
11731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11732 (exit $ac_status); } && {
11733 test -z "$ac_cxx_werror_flag" ||
11734 test ! -s conftest.err
11735 } && test -s conftest.$ac_objext; then
11736 ac_compiler_gnu=yes
11738 echo "$as_me: failed program was:" >&5
11739 sed 's/^/| /' conftest.$ac_ext >&5
11744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11745 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11748 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11749 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
11750 GXX=`test $ac_compiler_gnu = yes && echo yes`
11751 ac_test_CXXFLAGS=${CXXFLAGS+set}
11752 ac_save_CXXFLAGS=$CXXFLAGS
11753 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11754 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
11755 if test "${ac_cv_prog_cxx_g+set}" = set; then
11756 echo $ECHO_N "(cached) $ECHO_C" >&6
11758 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
11759 ac_cxx_werror_flag=yes
11760 ac_cv_prog_cxx_g=no
11762 cat >conftest.$ac_ext <<_ACEOF
11765 cat confdefs.h >>conftest.$ac_ext
11766 cat >>conftest.$ac_ext <<_ACEOF
11767 /* end confdefs.h. */
11777 rm -f conftest.$ac_objext
11778 if { (ac_try="$ac_compile"
11779 case "(($ac_try" in
11780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11781 *) ac_try_echo=$ac_try;;
11783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11784 (eval "$ac_compile") 2>conftest.er1
11786 grep -v '^ *+' conftest.er1 >conftest.err
11788 cat conftest.err >&5
11789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11790 (exit $ac_status); } && {
11791 test -z "$ac_cxx_werror_flag" ||
11792 test ! -s conftest.err
11793 } && test -s conftest.$ac_objext; then
11794 ac_cv_prog_cxx_g=yes
11796 echo "$as_me: failed program was:" >&5
11797 sed 's/^/| /' conftest.$ac_ext >&5
11800 cat >conftest.$ac_ext <<_ACEOF
11803 cat confdefs.h >>conftest.$ac_ext
11804 cat >>conftest.$ac_ext <<_ACEOF
11805 /* end confdefs.h. */
11815 rm -f conftest.$ac_objext
11816 if { (ac_try="$ac_compile"
11817 case "(($ac_try" in
11818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11819 *) ac_try_echo=$ac_try;;
11821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11822 (eval "$ac_compile") 2>conftest.er1
11824 grep -v '^ *+' conftest.er1 >conftest.err
11826 cat conftest.err >&5
11827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11828 (exit $ac_status); } && {
11829 test -z "$ac_cxx_werror_flag" ||
11830 test ! -s conftest.err
11831 } && test -s conftest.$ac_objext; then
11834 echo "$as_me: failed program was:" >&5
11835 sed 's/^/| /' conftest.$ac_ext >&5
11837 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11839 cat >conftest.$ac_ext <<_ACEOF
11842 cat confdefs.h >>conftest.$ac_ext
11843 cat >>conftest.$ac_ext <<_ACEOF
11844 /* end confdefs.h. */
11854 rm -f conftest.$ac_objext
11855 if { (ac_try="$ac_compile"
11856 case "(($ac_try" in
11857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11858 *) ac_try_echo=$ac_try;;
11860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11861 (eval "$ac_compile") 2>conftest.er1
11863 grep -v '^ *+' conftest.er1 >conftest.err
11865 cat conftest.err >&5
11866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11867 (exit $ac_status); } && {
11868 test -z "$ac_cxx_werror_flag" ||
11869 test ! -s conftest.err
11870 } && test -s conftest.$ac_objext; then
11871 ac_cv_prog_cxx_g=yes
11873 echo "$as_me: failed program was:" >&5
11874 sed 's/^/| /' conftest.$ac_ext >&5
11879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11886 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11888 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11889 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
11890 if test "$ac_test_CXXFLAGS" = set; then
11891 CXXFLAGS=$ac_save_CXXFLAGS
11892 elif test $ac_cv_prog_cxx_g = yes; then
11893 if test "$GXX" = yes; then
11899 if test "$GXX" = yes; then
11906 ac_cpp='$CPP $CPPFLAGS'
11907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11911 depcc="$CXX" am_compiler_list=
11913 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
11914 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
11915 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
11916 echo $ECHO_N "(cached) $ECHO_C" >&6
11918 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11919 # We make a subdir and do the tests there. Otherwise we can end up
11920 # making bogus files that we don't know about and never remove. For
11921 # instance it was reported that on HP-UX the gcc test will end up
11922 # making a dummy file named `D' -- because `-MD' means `put the output
11925 # Copy depcomp to subdir because otherwise we won't find it if we're
11926 # using a relative directory.
11927 cp "$am_depcomp" conftest.dir
11929 # We will build objects and dependencies in a subdirectory because
11930 # it helps to detect inapplicable dependency modes. For instance
11931 # both Tru64's cc and ICC support -MD to output dependencies as a
11932 # side effect of compilation, but ICC will put the dependencies in
11933 # the current directory while Tru64 will put them in the object
11937 am_cv_CXX_dependencies_compiler_type=none
11938 if test "$am_compiler_list" = ""; then
11939 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11941 for depmode in $am_compiler_list; do
11942 # Setup a source with many dependencies, because some compilers
11943 # like to wrap large dependency lists on column 80 (with \), and
11944 # we should not choose a depcomp mode which is confused by this.
11946 # We need to recreate these files for each test, as the compiler may
11947 # overwrite some of them when testing with obscure command lines.
11948 # This happens at least with the AIX C compiler.
11950 for i in 1 2 3 4 5 6; do
11951 echo '#include "conftst'$i'.h"' >> sub/conftest.c
11952 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11953 # Solaris 8's {/usr,}/bin/sh.
11954 touch sub/conftst$i.h
11956 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11960 # after this tag, mechanisms are not by side-effect, so they'll
11961 # only be used when explicitly requested
11962 if test "x$enable_dependency_tracking" = xyes; then
11970 # We check with `-c' and `-o' for the sake of the "dashmstdout"
11971 # mode. It turns out that the SunPro C++ compiler does not properly
11972 # handle `-M -o', and we need to detect this.
11973 if depmode=$depmode \
11974 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
11975 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11976 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
11977 >/dev/null 2>conftest.err &&
11978 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11979 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11980 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
11981 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11982 # icc doesn't choke on unknown options, it will just issue warnings
11983 # or remarks (even with -Werror). So we grep stderr for any message
11984 # that says an option was ignored or not supported.
11985 # When given -MP, icc 7.0 and 7.1 complain thusly:
11986 # icc: Command line warning: ignoring option '-M'; no argument required
11987 # The diagnosis changed in icc 8.0:
11988 # icc: Command line remark: option '-MP' not supported
11989 if (grep 'ignoring option' conftest.err ||
11990 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11991 am_cv_CXX_dependencies_compiler_type=$depmode
11998 rm -rf conftest.dir
12000 am_cv_CXX_dependencies_compiler_type=none
12004 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
12005 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
12006 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
12009 test "x$enable_dependency_tracking" != xno \
12010 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
12011 am__fastdepCXX_TRUE=
12012 am__fastdepCXX_FALSE='#'
12014 am__fastdepCXX_TRUE='#'
12015 am__fastdepCXX_FALSE=
12019 # Check whether --enable-shared was given.
12020 if test "${enable_shared+set}" = set; then
12021 enableval=$enable_shared; p=${PACKAGE-default}
12023 yes) enable_shared=yes ;;
12024 no) enable_shared=no ;;
12027 # Look at the argument we got. We use all the common list separators.
12028 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12029 for pkg in $enableval; do
12031 if test "X$pkg" = "X$p"; then
12043 # Check whether --enable-static was given.
12044 if test "${enable_static+set}" = set; then
12045 enableval=$enable_static; p=${PACKAGE-default}
12047 yes) enable_static=yes ;;
12048 no) enable_static=no ;;
12051 # Look at the argument we got. We use all the common list separators.
12052 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12053 for pkg in $enableval; do
12055 if test "X$pkg" = "X$p"; then
12067 # Check whether --enable-fast-install was given.
12068 if test "${enable_fast_install+set}" = set; then
12069 enableval=$enable_fast_install; p=${PACKAGE-default}
12071 yes) enable_fast_install=yes ;;
12072 no) enable_fast_install=no ;;
12074 enable_fast_install=no
12075 # Look at the argument we got. We use all the common list separators.
12076 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12077 for pkg in $enableval; do
12079 if test "X$pkg" = "X$p"; then
12080 enable_fast_install=yes
12087 enable_fast_install=yes
12091 # Make sure we can run config.sub.
12092 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
12093 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
12094 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
12095 { (exit 1); exit 1; }; }
12097 { echo "$as_me:$LINENO: checking build system type" >&5
12098 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
12099 if test "${ac_cv_build+set}" = set; then
12100 echo $ECHO_N "(cached) $ECHO_C" >&6
12102 ac_build_alias=$build_alias
12103 test "x$ac_build_alias" = x &&
12104 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
12105 test "x$ac_build_alias" = x &&
12106 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
12107 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
12108 { (exit 1); exit 1; }; }
12109 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
12110 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
12111 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
12112 { (exit 1); exit 1; }; }
12115 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
12116 echo "${ECHO_T}$ac_cv_build" >&6; }
12117 case $ac_cv_build in
12119 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
12120 echo "$as_me: error: invalid value of canonical build" >&2;}
12121 { (exit 1); exit 1; }; };;
12124 ac_save_IFS=$IFS; IFS='-'
12130 # Remember, the first character of IFS is used to create $*,
12131 # except with old shells:
12134 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
12137 { echo "$as_me:$LINENO: checking host system type" >&5
12138 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
12139 if test "${ac_cv_host+set}" = set; then
12140 echo $ECHO_N "(cached) $ECHO_C" >&6
12142 if test "x$host_alias" = x; then
12143 ac_cv_host=$ac_cv_build
12145 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
12146 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
12147 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
12148 { (exit 1); exit 1; }; }
12152 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
12153 echo "${ECHO_T}$ac_cv_host" >&6; }
12154 case $ac_cv_host in
12156 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
12157 echo "$as_me: error: invalid value of canonical host" >&2;}
12158 { (exit 1); exit 1; }; };;
12161 ac_save_IFS=$IFS; IFS='-'
12167 # Remember, the first character of IFS is used to create $*,
12168 # except with old shells:
12171 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
12174 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
12175 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
12176 if test "${lt_cv_path_SED+set}" = set; then
12177 echo $ECHO_N "(cached) $ECHO_C" >&6
12179 # Loop through the user's path and test for sed and gsed.
12180 # Then use that list of sed's as ones to test for truncation.
12181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12182 for as_dir in $PATH
12185 test -z "$as_dir" && as_dir=.
12186 for lt_ac_prog in sed gsed; do
12187 for ac_exec_ext in '' $ac_executable_extensions; do
12188 if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
12189 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
12197 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
12198 # along with /bin/sed that truncates output.
12199 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
12200 test ! -f $lt_ac_sed && continue
12201 cat /dev/null > conftest.in
12203 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
12204 # Check for GNU sed and select it if it is found.
12205 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
12206 lt_cv_path_SED=$lt_ac_sed
12210 cat conftest.in conftest.in >conftest.tmp
12211 mv conftest.tmp conftest.in
12212 cp conftest.in conftest.nl
12214 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
12215 cmp -s conftest.out conftest.nl || break
12216 # 10000 chars as input seems more than enough
12217 test $lt_ac_count -gt 10 && break
12218 lt_ac_count=`expr $lt_ac_count + 1`
12219 if test $lt_ac_count -gt $lt_ac_max; then
12220 lt_ac_max=$lt_ac_count
12221 lt_cv_path_SED=$lt_ac_sed
12228 SED=$lt_cv_path_SED
12230 { echo "$as_me:$LINENO: result: $SED" >&5
12231 echo "${ECHO_T}$SED" >&6; }
12234 # Check whether --with-gnu-ld was given.
12235 if test "${with_gnu_ld+set}" = set; then
12236 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12242 if test "$GCC" = yes; then
12243 # Check if gcc -print-prog-name=ld gives a path.
12244 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
12245 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
12248 # gcc leaves a trailing carriage return which upsets mingw
12249 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12251 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12254 # Accept absolute paths.
12256 re_direlt='/[^/][^/]*/\.\./'
12257 # Canonicalize the pathname of ld
12258 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
12259 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12260 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
12262 test -z "$LD" && LD="$ac_prog"
12265 # If it fails, then pretend we aren't using GCC.
12269 # If it is relative, then search for the first ld in PATH.
12270 with_gnu_ld=unknown
12273 elif test "$with_gnu_ld" = yes; then
12274 { echo "$as_me:$LINENO: checking for GNU ld" >&5
12275 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
12277 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12278 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
12280 if test "${lt_cv_path_LD+set}" = set; then
12281 echo $ECHO_N "(cached) $ECHO_C" >&6
12283 if test -z "$LD"; then
12284 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12285 for ac_dir in $PATH; do
12287 test -z "$ac_dir" && ac_dir=.
12288 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12289 lt_cv_path_LD="$ac_dir/$ac_prog"
12290 # Check to see if the program is GNU ld. I'd rather use --version,
12291 # but apparently some variants of GNU ld only accept -v.
12292 # Break only if it was the GNU/non-GNU ld that we prefer.
12293 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12294 *GNU* | *'with BFD'*)
12295 test "$with_gnu_ld" != no && break
12298 test "$with_gnu_ld" != yes && break
12305 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12309 LD="$lt_cv_path_LD"
12310 if test -n "$LD"; then
12311 { echo "$as_me:$LINENO: result: $LD" >&5
12312 echo "${ECHO_T}$LD" >&6; }
12314 { echo "$as_me:$LINENO: result: no" >&5
12315 echo "${ECHO_T}no" >&6; }
12317 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12318 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12319 { (exit 1); exit 1; }; }
12320 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12321 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
12322 if test "${lt_cv_prog_gnu_ld+set}" = set; then
12323 echo $ECHO_N "(cached) $ECHO_C" >&6
12325 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12326 case `$LD -v 2>&1 </dev/null` in
12327 *GNU* | *'with BFD'*)
12328 lt_cv_prog_gnu_ld=yes
12331 lt_cv_prog_gnu_ld=no
12335 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
12336 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
12337 with_gnu_ld=$lt_cv_prog_gnu_ld
12340 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
12341 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
12342 if test "${lt_cv_ld_reload_flag+set}" = set; then
12343 echo $ECHO_N "(cached) $ECHO_C" >&6
12345 lt_cv_ld_reload_flag='-r'
12347 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
12348 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
12349 reload_flag=$lt_cv_ld_reload_flag
12350 case $reload_flag in
12352 *) reload_flag=" $reload_flag" ;;
12354 reload_cmds='$LD$reload_flag -o $output$reload_objs'
12357 if test "$GCC" = yes; then
12358 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
12360 reload_cmds='$LD$reload_flag -o $output$reload_objs'
12365 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
12366 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
12367 if test "${lt_cv_path_NM+set}" = set; then
12368 echo $ECHO_N "(cached) $ECHO_C" >&6
12370 if test -n "$NM"; then
12371 # Let the user override the test.
12372 lt_cv_path_NM="$NM"
12374 lt_nm_to_check="${ac_tool_prefix}nm"
12375 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
12376 lt_nm_to_check="$lt_nm_to_check nm"
12378 for lt_tmp_nm in $lt_nm_to_check; do
12379 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12380 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
12382 test -z "$ac_dir" && ac_dir=.
12383 tmp_nm="$ac_dir/$lt_tmp_nm"
12384 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
12385 # Check to see if the nm accepts a BSD-compat flag.
12386 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
12387 # nm: unknown option "B" ignored
12388 # Tru64's nm complains that /dev/null is an invalid object file
12389 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
12390 */dev/null* | *'Invalid file or object type'*)
12391 lt_cv_path_NM="$tmp_nm -B"
12395 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
12397 lt_cv_path_NM="$tmp_nm -p"
12401 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
12402 continue # so that we can try to find one that supports BSD flags
12411 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
12414 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
12415 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
12416 NM="$lt_cv_path_NM"
12418 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
12419 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
12421 if test "$LN_S" = "ln -s"; then
12422 { echo "$as_me:$LINENO: result: yes" >&5
12423 echo "${ECHO_T}yes" >&6; }
12425 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12426 echo "${ECHO_T}no, using $LN_S" >&6; }
12429 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
12430 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
12431 if test "${lt_cv_deplibs_check_method+set}" = set; then
12432 echo $ECHO_N "(cached) $ECHO_C" >&6
12434 lt_cv_file_magic_cmd='$MAGIC_CMD'
12435 lt_cv_file_magic_test_file=
12436 lt_cv_deplibs_check_method='unknown'
12437 # Need to set the preceding variable on all platforms that support
12438 # interlibrary dependencies.
12439 # 'none' -- dependencies not supported.
12440 # `unknown' -- same as none, but documents that we really don't know.
12441 # 'pass_all' -- all dependencies passed with no checks.
12442 # 'test_compile' -- check by making test program.
12443 # 'file_magic [[regex]]' -- check by looking for files in library path
12444 # which responds to the $file_magic_cmd with a given extended regex.
12445 # If you have `file' or equivalent on your system and you're not sure
12446 # whether `pass_all' will *always* work, you probably want this one.
12450 lt_cv_deplibs_check_method=pass_all
12454 lt_cv_deplibs_check_method=pass_all
12458 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
12459 lt_cv_file_magic_cmd='/usr/bin/file -L'
12460 lt_cv_file_magic_test_file=/shlib/libc.so
12464 # func_win32_libid is a shell function defined in ltmain.sh
12465 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
12466 lt_cv_file_magic_cmd='func_win32_libid'
12470 # Base MSYS/MinGW do not provide the 'file' command needed by
12471 # func_win32_libid shell function, so use a weaker test based on 'objdump',
12472 # unless we find 'file', for example because we are cross-compiling.
12473 if ( file / ) >/dev/null 2>&1; then
12474 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
12475 lt_cv_file_magic_cmd='func_win32_libid'
12477 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
12478 lt_cv_file_magic_cmd='$OBJDUMP -f'
12482 darwin* | rhapsody*)
12483 lt_cv_deplibs_check_method=pass_all
12486 freebsd* | dragonfly*)
12487 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
12490 # Not sure whether the presence of OpenBSD here was a mistake.
12491 # Let's accept both of them until this is cleared up.
12492 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
12493 lt_cv_file_magic_cmd=/usr/bin/file
12494 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
12498 lt_cv_deplibs_check_method=pass_all
12503 lt_cv_deplibs_check_method=pass_all
12506 hpux10.20* | hpux11*)
12507 lt_cv_file_magic_cmd=/usr/bin/file
12510 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
12511 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
12514 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]'
12515 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
12518 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
12519 lt_cv_file_magic_test_file=/usr/lib/libc.sl
12525 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
12526 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
12529 irix5* | irix6* | nonstopux*)
12531 *-32|*"-32 ") libmagic=32-bit;;
12532 *-n32|*"-n32 ") libmagic=N32;;
12533 *-64|*"-64 ") libmagic=64-bit;;
12534 *) libmagic=never-match;;
12536 lt_cv_deplibs_check_method=pass_all
12539 # This must be Linux ELF.
12540 linux* | k*bsd*-gnu)
12541 lt_cv_deplibs_check_method=pass_all
12544 netbsd* | netbsdelf*-gnu)
12545 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
12546 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
12548 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
12553 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
12554 lt_cv_file_magic_cmd=/usr/bin/file
12555 lt_cv_file_magic_test_file=/usr/lib/libnls.so
12559 lt_cv_deplibs_check_method=unknown
12563 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12564 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
12566 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
12570 osf3* | osf4* | osf5*)
12571 lt_cv_deplibs_check_method=pass_all
12575 lt_cv_deplibs_check_method=pass_all
12579 lt_cv_deplibs_check_method=pass_all
12583 case $host_vendor in
12585 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]'
12586 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
12589 lt_cv_deplibs_check_method=pass_all
12592 lt_cv_file_magic_cmd='/bin/file'
12593 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
12596 lt_cv_file_magic_cmd='/bin/file'
12597 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
12598 lt_cv_file_magic_test_file=/lib/libc.so
12601 lt_cv_deplibs_check_method=pass_all
12604 lt_cv_deplibs_check_method=pass_all
12609 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12610 lt_cv_deplibs_check_method=pass_all
12615 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
12616 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
12617 file_magic_cmd=$lt_cv_file_magic_cmd
12618 deplibs_check_method=$lt_cv_deplibs_check_method
12619 test -z "$deplibs_check_method" && deplibs_check_method=unknown
12624 # If no C compiler was specified, use CC.
12627 # If no C compiler flags were specified, use CFLAGS.
12628 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12630 # Allow CC to be a program name with arguments.
12633 # Check whether --enable-libtool-lock was given.
12634 if test "${enable_libtool_lock+set}" = set; then
12635 enableval=$enable_libtool_lock;
12638 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
12640 # Some flags need to be propagated to the compiler or linker for good
12644 # Find out which ABI we are using.
12645 echo 'int i;' > conftest.$ac_ext
12646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12647 (eval $ac_compile) 2>&5
12649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12650 (exit $ac_status); }; then
12651 case `/usr/bin/file conftest.$ac_objext` in
12653 HPUX_IA64_MODE="32"
12656 HPUX_IA64_MODE="64"
12663 # Find out which ABI we are using.
12664 echo '#line 12664 "configure"' > conftest.$ac_ext
12665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12666 (eval $ac_compile) 2>&5
12668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12669 (exit $ac_status); }; then
12670 if test "$lt_cv_prog_gnu_ld" = yes; then
12671 case `/usr/bin/file conftest.$ac_objext` in
12673 LD="${LD-ld} -melf32bsmip"
12676 LD="${LD-ld} -melf32bmipn32"
12679 LD="${LD-ld} -melf64bmip"
12683 case `/usr/bin/file conftest.$ac_objext` in
12699 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
12700 s390*-*linux*|sparc*-*linux*)
12701 # Find out which ABI we are using.
12702 echo 'int i;' > conftest.$ac_ext
12703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12704 (eval $ac_compile) 2>&5
12706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12707 (exit $ac_status); }; then
12708 case `/usr/bin/file conftest.o` in
12711 x86_64-*kfreebsd*-gnu)
12712 LD="${LD-ld} -m elf_i386_fbsd"
12715 LD="${LD-ld} -m elf_i386"
12717 ppc64-*linux*|powerpc64-*linux*)
12718 LD="${LD-ld} -m elf32ppclinux"
12721 LD="${LD-ld} -m elf_s390"
12724 LD="${LD-ld} -m elf32_sparc"
12730 x86_64-*kfreebsd*-gnu)
12731 LD="${LD-ld} -m elf_x86_64_fbsd"
12734 LD="${LD-ld} -m elf_x86_64"
12736 ppc*-*linux*|powerpc*-*linux*)
12737 LD="${LD-ld} -m elf64ppc"
12740 LD="${LD-ld} -m elf64_s390"
12743 LD="${LD-ld} -m elf64_sparc"
12753 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
12754 SAVE_CFLAGS="$CFLAGS"
12755 CFLAGS="$CFLAGS -belf"
12756 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
12757 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
12758 if test "${lt_cv_cc_needs_belf+set}" = set; then
12759 echo $ECHO_N "(cached) $ECHO_C" >&6
12762 ac_cpp='$CPP $CPPFLAGS'
12763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12767 cat >conftest.$ac_ext <<_ACEOF
12770 cat confdefs.h >>conftest.$ac_ext
12771 cat >>conftest.$ac_ext <<_ACEOF
12772 /* end confdefs.h. */
12782 rm -f conftest.$ac_objext conftest$ac_exeext
12783 if { (ac_try="$ac_link"
12784 case "(($ac_try" in
12785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12786 *) ac_try_echo=$ac_try;;
12788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12789 (eval "$ac_link") 2>conftest.er1
12791 grep -v '^ *+' conftest.er1 >conftest.err
12793 cat conftest.err >&5
12794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12795 (exit $ac_status); } && {
12796 test -z "$ac_c_werror_flag" ||
12797 test ! -s conftest.err
12798 } && test -s conftest$ac_exeext &&
12799 $as_test_x conftest$ac_exeext; then
12800 lt_cv_cc_needs_belf=yes
12802 echo "$as_me: failed program was:" >&5
12803 sed 's/^/| /' conftest.$ac_ext >&5
12805 lt_cv_cc_needs_belf=no
12808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12809 conftest$ac_exeext conftest.$ac_ext
12811 ac_cpp='$CPP $CPPFLAGS'
12812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12817 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
12818 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
12819 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
12820 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
12821 CFLAGS="$SAVE_CFLAGS"
12825 # Find out which ABI we are using.
12826 echo 'int i;' > conftest.$ac_ext
12827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12828 (eval $ac_compile) 2>&5
12830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12831 (exit $ac_status); }; then
12832 case `/usr/bin/file conftest.o` in
12834 case $lt_cv_prog_gnu_ld in
12835 yes*) LD="${LD-ld} -m elf64_sparc" ;;
12837 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
12851 need_locks="$enable_libtool_lock"
12855 for ac_header in dlfcn.h
12857 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12858 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12859 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12860 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12861 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12862 echo $ECHO_N "(cached) $ECHO_C" >&6
12864 ac_res=`eval echo '${'$as_ac_Header'}'`
12865 { echo "$as_me:$LINENO: result: $ac_res" >&5
12866 echo "${ECHO_T}$ac_res" >&6; }
12868 # Is the header compilable?
12869 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
12870 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12871 cat >conftest.$ac_ext <<_ACEOF
12874 cat confdefs.h >>conftest.$ac_ext
12875 cat >>conftest.$ac_ext <<_ACEOF
12876 /* end confdefs.h. */
12877 $ac_includes_default
12878 #include <$ac_header>
12880 rm -f conftest.$ac_objext
12881 if { (ac_try="$ac_compile"
12882 case "(($ac_try" in
12883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12884 *) ac_try_echo=$ac_try;;
12886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12887 (eval "$ac_compile") 2>conftest.er1
12889 grep -v '^ *+' conftest.er1 >conftest.err
12891 cat conftest.err >&5
12892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12893 (exit $ac_status); } && {
12894 test -z "$ac_c_werror_flag" ||
12895 test ! -s conftest.err
12896 } && test -s conftest.$ac_objext; then
12897 ac_header_compiler=yes
12899 echo "$as_me: failed program was:" >&5
12900 sed 's/^/| /' conftest.$ac_ext >&5
12902 ac_header_compiler=no
12905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12906 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12907 echo "${ECHO_T}$ac_header_compiler" >&6; }
12909 # Is the header present?
12910 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
12911 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12912 cat >conftest.$ac_ext <<_ACEOF
12915 cat confdefs.h >>conftest.$ac_ext
12916 cat >>conftest.$ac_ext <<_ACEOF
12917 /* end confdefs.h. */
12918 #include <$ac_header>
12920 if { (ac_try="$ac_cpp conftest.$ac_ext"
12921 case "(($ac_try" in
12922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12923 *) ac_try_echo=$ac_try;;
12925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12926 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12928 grep -v '^ *+' conftest.er1 >conftest.err
12930 cat conftest.err >&5
12931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12932 (exit $ac_status); } >/dev/null && {
12933 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12934 test ! -s conftest.err
12936 ac_header_preproc=yes
12938 echo "$as_me: failed program was:" >&5
12939 sed 's/^/| /' conftest.$ac_ext >&5
12941 ac_header_preproc=no
12944 rm -f conftest.err conftest.$ac_ext
12945 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12946 echo "${ECHO_T}$ac_header_preproc" >&6; }
12948 # So? What about this header?
12949 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12951 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12952 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12953 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12954 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12955 ac_header_preproc=yes
12958 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12959 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12960 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12961 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12962 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12963 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12964 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12965 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12966 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12967 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12968 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12969 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12973 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12974 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12975 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12976 echo $ECHO_N "(cached) $ECHO_C" >&6
12978 eval "$as_ac_Header=\$ac_header_preproc"
12980 ac_res=`eval echo '${'$as_ac_Header'}'`
12981 { echo "$as_me:$LINENO: result: $ac_res" >&5
12982 echo "${ECHO_T}$ac_res" >&6; }
12985 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12986 cat >>confdefs.h <<_ACEOF
12987 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12996 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12997 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12998 (test "X$CXX" != "Xg++"))) ; then
13000 ac_cpp='$CXXCPP $CPPFLAGS'
13001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13004 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
13005 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
13006 if test -z "$CXXCPP"; then
13007 if test "${ac_cv_prog_CXXCPP+set}" = set; then
13008 echo $ECHO_N "(cached) $ECHO_C" >&6
13010 # Double quotes because CXXCPP needs to be expanded
13011 for CXXCPP in "$CXX -E" "/lib/cpp"
13013 ac_preproc_ok=false
13014 for ac_cxx_preproc_warn_flag in '' yes
13016 # Use a header file that comes with gcc, so configuring glibc
13017 # with a fresh cross-compiler works.
13018 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13019 # <limits.h> exists even on freestanding compilers.
13020 # On the NeXT, cc -E runs the code through the compiler's parser,
13021 # not just through cpp. "Syntax error" is here to catch this case.
13022 cat >conftest.$ac_ext <<_ACEOF
13025 cat confdefs.h >>conftest.$ac_ext
13026 cat >>conftest.$ac_ext <<_ACEOF
13027 /* end confdefs.h. */
13029 # include <limits.h>
13031 # include <assert.h>
13035 if { (ac_try="$ac_cpp conftest.$ac_ext"
13036 case "(($ac_try" in
13037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13038 *) ac_try_echo=$ac_try;;
13040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13041 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13043 grep -v '^ *+' conftest.er1 >conftest.err
13045 cat conftest.err >&5
13046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13047 (exit $ac_status); } >/dev/null && {
13048 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
13049 test ! -s conftest.err
13053 echo "$as_me: failed program was:" >&5
13054 sed 's/^/| /' conftest.$ac_ext >&5
13056 # Broken: fails on valid input.
13060 rm -f conftest.err conftest.$ac_ext
13062 # OK, works on sane cases. Now check whether nonexistent headers
13063 # can be detected and how.
13064 cat >conftest.$ac_ext <<_ACEOF
13067 cat confdefs.h >>conftest.$ac_ext
13068 cat >>conftest.$ac_ext <<_ACEOF
13069 /* end confdefs.h. */
13070 #include <ac_nonexistent.h>
13072 if { (ac_try="$ac_cpp conftest.$ac_ext"
13073 case "(($ac_try" in
13074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13075 *) ac_try_echo=$ac_try;;
13077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13078 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13080 grep -v '^ *+' conftest.er1 >conftest.err
13082 cat conftest.err >&5
13083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13084 (exit $ac_status); } >/dev/null && {
13085 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
13086 test ! -s conftest.err
13088 # Broken: success on invalid input.
13091 echo "$as_me: failed program was:" >&5
13092 sed 's/^/| /' conftest.$ac_ext >&5
13094 # Passes both tests.
13099 rm -f conftest.err conftest.$ac_ext
13102 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13103 rm -f conftest.err conftest.$ac_ext
13104 if $ac_preproc_ok; then
13109 ac_cv_prog_CXXCPP=$CXXCPP
13112 CXXCPP=$ac_cv_prog_CXXCPP
13114 ac_cv_prog_CXXCPP=$CXXCPP
13116 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
13117 echo "${ECHO_T}$CXXCPP" >&6; }
13118 ac_preproc_ok=false
13119 for ac_cxx_preproc_warn_flag in '' yes
13121 # Use a header file that comes with gcc, so configuring glibc
13122 # with a fresh cross-compiler works.
13123 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13124 # <limits.h> exists even on freestanding compilers.
13125 # On the NeXT, cc -E runs the code through the compiler's parser,
13126 # not just through cpp. "Syntax error" is here to catch this case.
13127 cat >conftest.$ac_ext <<_ACEOF
13130 cat confdefs.h >>conftest.$ac_ext
13131 cat >>conftest.$ac_ext <<_ACEOF
13132 /* end confdefs.h. */
13134 # include <limits.h>
13136 # include <assert.h>
13140 if { (ac_try="$ac_cpp conftest.$ac_ext"
13141 case "(($ac_try" in
13142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13143 *) ac_try_echo=$ac_try;;
13145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13146 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13148 grep -v '^ *+' conftest.er1 >conftest.err
13150 cat conftest.err >&5
13151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13152 (exit $ac_status); } >/dev/null && {
13153 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
13154 test ! -s conftest.err
13158 echo "$as_me: failed program was:" >&5
13159 sed 's/^/| /' conftest.$ac_ext >&5
13161 # Broken: fails on valid input.
13165 rm -f conftest.err conftest.$ac_ext
13167 # OK, works on sane cases. Now check whether nonexistent headers
13168 # can be detected and how.
13169 cat >conftest.$ac_ext <<_ACEOF
13172 cat confdefs.h >>conftest.$ac_ext
13173 cat >>conftest.$ac_ext <<_ACEOF
13174 /* end confdefs.h. */
13175 #include <ac_nonexistent.h>
13177 if { (ac_try="$ac_cpp conftest.$ac_ext"
13178 case "(($ac_try" in
13179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13180 *) ac_try_echo=$ac_try;;
13182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13183 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13185 grep -v '^ *+' conftest.er1 >conftest.err
13187 cat conftest.err >&5
13188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13189 (exit $ac_status); } >/dev/null && {
13190 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
13191 test ! -s conftest.err
13193 # Broken: success on invalid input.
13196 echo "$as_me: failed program was:" >&5
13197 sed 's/^/| /' conftest.$ac_ext >&5
13199 # Passes both tests.
13204 rm -f conftest.err conftest.$ac_ext
13207 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13208 rm -f conftest.err conftest.$ac_ext
13209 if $ac_preproc_ok; then
13212 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
13213 See \`config.log' for more details." >&5
13214 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
13215 See \`config.log' for more details." >&2;}
13216 { (exit 1); exit 1; }; }
13220 ac_cpp='$CXXCPP $CPPFLAGS'
13221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13228 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13229 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13230 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
13231 if test -n "$ac_tool_prefix"; then
13232 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
13234 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13235 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13236 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13237 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13238 if test "${ac_cv_prog_F77+set}" = set; then
13239 echo $ECHO_N "(cached) $ECHO_C" >&6
13241 if test -n "$F77"; then
13242 ac_cv_prog_F77="$F77" # Let the user override the test.
13244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13245 for as_dir in $PATH
13248 test -z "$as_dir" && as_dir=.
13249 for ac_exec_ext in '' $ac_executable_extensions; do
13250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13251 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
13252 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13261 F77=$ac_cv_prog_F77
13262 if test -n "$F77"; then
13263 { echo "$as_me:$LINENO: result: $F77" >&5
13264 echo "${ECHO_T}$F77" >&6; }
13266 { echo "$as_me:$LINENO: result: no" >&5
13267 echo "${ECHO_T}no" >&6; }
13271 test -n "$F77" && break
13274 if test -z "$F77"; then
13276 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
13278 # Extract the first word of "$ac_prog", so it can be a program name with args.
13279 set dummy $ac_prog; ac_word=$2
13280 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13282 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
13283 echo $ECHO_N "(cached) $ECHO_C" >&6
13285 if test -n "$ac_ct_F77"; then
13286 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
13288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13289 for as_dir in $PATH
13292 test -z "$as_dir" && as_dir=.
13293 for ac_exec_ext in '' $ac_executable_extensions; do
13294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13295 ac_cv_prog_ac_ct_F77="$ac_prog"
13296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13305 ac_ct_F77=$ac_cv_prog_ac_ct_F77
13306 if test -n "$ac_ct_F77"; then
13307 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
13308 echo "${ECHO_T}$ac_ct_F77" >&6; }
13310 { echo "$as_me:$LINENO: result: no" >&5
13311 echo "${ECHO_T}no" >&6; }
13315 test -n "$ac_ct_F77" && break
13318 if test "x$ac_ct_F77" = x; then
13321 case $cross_compiling:$ac_tool_warned in
13323 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13324 whose name does not start with the host triplet. If you think this
13325 configuration is useful to you, please write to autoconf@gnu.org." >&5
13326 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13327 whose name does not start with the host triplet. If you think this
13328 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13329 ac_tool_warned=yes ;;
13336 # Provide some information about the compiler.
13337 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
13338 ac_compiler=`set X $ac_compile; echo $2`
13339 { (ac_try="$ac_compiler --version >&5"
13340 case "(($ac_try" in
13341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13342 *) ac_try_echo=$ac_try;;
13344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13345 (eval "$ac_compiler --version >&5") 2>&5
13347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13348 (exit $ac_status); }
13349 { (ac_try="$ac_compiler -v >&5"
13350 case "(($ac_try" in
13351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13352 *) ac_try_echo=$ac_try;;
13354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13355 (eval "$ac_compiler -v >&5") 2>&5
13357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13358 (exit $ac_status); }
13359 { (ac_try="$ac_compiler -V >&5"
13360 case "(($ac_try" in
13361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13362 *) ac_try_echo=$ac_try;;
13364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13365 (eval "$ac_compiler -V >&5") 2>&5
13367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13368 (exit $ac_status); }
13371 # If we don't use `.F' as extension, the preprocessor is not run on the
13372 # input file. (Note that this only needs to work for GNU compilers.)
13373 ac_save_ext=$ac_ext
13375 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
13376 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
13377 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
13378 echo $ECHO_N "(cached) $ECHO_C" >&6
13380 cat >conftest.$ac_ext <<_ACEOF
13388 rm -f conftest.$ac_objext
13389 if { (ac_try="$ac_compile"
13390 case "(($ac_try" in
13391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13392 *) ac_try_echo=$ac_try;;
13394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13395 (eval "$ac_compile") 2>conftest.er1
13397 grep -v '^ *+' conftest.er1 >conftest.err
13399 cat conftest.err >&5
13400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13401 (exit $ac_status); } && {
13402 test -z "$ac_f77_werror_flag" ||
13403 test ! -s conftest.err
13404 } && test -s conftest.$ac_objext; then
13405 ac_compiler_gnu=yes
13407 echo "$as_me: failed program was:" >&5
13408 sed 's/^/| /' conftest.$ac_ext >&5
13413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13414 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
13417 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
13418 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
13419 ac_ext=$ac_save_ext
13420 ac_test_FFLAGS=${FFLAGS+set}
13421 ac_save_FFLAGS=$FFLAGS
13423 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
13424 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
13425 if test "${ac_cv_prog_f77_g+set}" = set; then
13426 echo $ECHO_N "(cached) $ECHO_C" >&6
13429 cat >conftest.$ac_ext <<_ACEOF
13434 rm -f conftest.$ac_objext
13435 if { (ac_try="$ac_compile"
13436 case "(($ac_try" in
13437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13438 *) ac_try_echo=$ac_try;;
13440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13441 (eval "$ac_compile") 2>conftest.er1
13443 grep -v '^ *+' conftest.er1 >conftest.err
13445 cat conftest.err >&5
13446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13447 (exit $ac_status); } && {
13448 test -z "$ac_f77_werror_flag" ||
13449 test ! -s conftest.err
13450 } && test -s conftest.$ac_objext; then
13451 ac_cv_prog_f77_g=yes
13453 echo "$as_me: failed program was:" >&5
13454 sed 's/^/| /' conftest.$ac_ext >&5
13456 ac_cv_prog_f77_g=no
13459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13462 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
13463 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
13464 if test "$ac_test_FFLAGS" = set; then
13465 FFLAGS=$ac_save_FFLAGS
13466 elif test $ac_cv_prog_f77_g = yes; then
13467 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
13473 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
13480 G77=`test $ac_compiler_gnu = yes && echo yes`
13482 ac_cpp='$CPP $CPPFLAGS'
13483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13489 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
13490 # find the maximum length of command line arguments
13491 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
13492 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
13493 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
13494 echo $ECHO_N "(cached) $ECHO_C" >&6
13501 # On DJGPP, this test can blow up pretty badly due to problems in libc
13502 # (any single argument exceeding 2000 bytes causes a buffer overrun
13503 # during glob expansion). Even if it were fixed, the result of this
13504 # check would be larger than it should be.
13505 lt_cv_sys_max_cmd_len=12288; # 12K is about right
13509 # Under GNU Hurd, this test is not required because there is
13510 # no limit to the length of command line arguments.
13511 # Libtool will interpret -1 as no limit whatsoever
13512 lt_cv_sys_max_cmd_len=-1;
13516 # On Win9x/ME, this test blows up -- it succeeds, but takes
13517 # about 5 minutes as the teststring grows exponentially.
13518 # Worse, since 9x/ME are not pre-emptively multitasking,
13519 # you end up with a "frozen" computer, even though with patience
13520 # the test eventually succeeds (with a max line length of 256k).
13521 # Instead, let's just punt: use the minimum linelength reported by
13522 # all of the supported platforms: 8192 (on NT/2K/XP).
13523 lt_cv_sys_max_cmd_len=8192;
13527 # On AmigaOS with pdksh, this test takes hours, literally.
13528 # So we just punt and use a minimum line length of 8192.
13529 lt_cv_sys_max_cmd_len=8192;
13532 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
13533 # This has been around since 386BSD, at least. Likely further.
13534 if test -x /sbin/sysctl; then
13535 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
13536 elif test -x /usr/sbin/sysctl; then
13537 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
13539 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
13541 # And add a safety zone
13542 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
13543 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
13547 # We know the value 262144 and hardcode it with a safety zone (like BSD)
13548 lt_cv_sys_max_cmd_len=196608
13552 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
13553 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
13554 # nice to cause kernel panics so lets avoid the loop below.
13555 # First set a reasonable default.
13556 lt_cv_sys_max_cmd_len=16384
13558 if test -x /sbin/sysconfig; then
13559 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
13560 *1*) lt_cv_sys_max_cmd_len=-1 ;;
13565 lt_cv_sys_max_cmd_len=102400
13567 sysv5* | sco5v6* | sysv4.2uw2*)
13568 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
13569 if test -n "$kargmax"; then
13570 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
13572 lt_cv_sys_max_cmd_len=32768
13576 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
13577 if test -n "$lt_cv_sys_max_cmd_len"; then
13578 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
13579 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
13581 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
13582 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
13583 = "XX$teststring") >/dev/null 2>&1 &&
13584 new_result=`expr "X$teststring" : ".*" 2>&1` &&
13585 lt_cv_sys_max_cmd_len=$new_result &&
13586 test $i != 17 # 1/2 MB should be enough
13589 teststring=$teststring$teststring
13592 # Add a significant safety factor because C++ compilers can tack on massive
13593 # amounts of additional arguments before passing them to the linker.
13594 # It appears as though 1/2 is a usable value.
13595 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
13602 if test -n $lt_cv_sys_max_cmd_len ; then
13603 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
13604 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
13606 { echo "$as_me:$LINENO: result: none" >&5
13607 echo "${ECHO_T}none" >&6; }
13614 # Check for command to grab the raw symbol name followed by C symbol from nm.
13615 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
13616 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
13617 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
13618 echo $ECHO_N "(cached) $ECHO_C" >&6
13621 # These are sane defaults that work on at least a few old systems.
13622 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
13624 # Character class describing NM global symbol codes.
13625 symcode='[BCDEGRST]'
13627 # Regexp to match symbols that can be accessed directly from C.
13628 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
13630 # Transform an extracted symbol line into a proper C declaration
13631 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
13633 # Transform an extracted symbol line into symbol name and symbol address
13634 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'"
13636 # Define system-specific variables.
13641 cygwin* | mingw* | pw32*)
13642 symcode='[ABCDGISTW]'
13644 hpux*) # Its linker distinguishes data from code symbols
13645 if test "$host_cpu" = ia64; then
13646 symcode='[ABCDEGRST]'
13648 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
13649 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'"
13651 linux* | k*bsd*-gnu)
13652 if test "$host_cpu" = ia64; then
13653 symcode='[ABCDGIRSTW]'
13654 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
13655 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'"
13658 irix* | nonstopux*)
13659 symcode='[BCDEGRST]'
13662 symcode='[BCDEGQRST]'
13673 sysv5* | sco5v6* | unixware* | OpenUNIX*)
13681 # Handle CRLF in mingw tool chain
13685 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
13689 # If we're using GNU nm, then use its standard symbol codes.
13690 case `$NM -V 2>&1` in
13691 *GNU* | *'with BFD'*)
13692 symcode='[ABCDGIRSTW]' ;;
13695 # Try without a prefix undercore, then with it.
13696 for ac_symprfx in "" "_"; do
13698 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
13699 symxfrm="\\1 $ac_symprfx\\2 \\2"
13701 # Write the raw and C identifiers.
13702 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
13704 # Check to see that the pipe works correctly.
13708 cat > conftest.$ac_ext <<EOF
13713 void nm_test_func(){}
13717 int main(){nm_test_var='a';nm_test_func();return(0);}
13720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13721 (eval $ac_compile) 2>&5
13723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13724 (exit $ac_status); }; then
13725 # Now try to grab the symbols.
13727 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
13728 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
13730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13731 (exit $ac_status); } && test -s "$nlist"; then
13732 # Try sorting and uniquifying the output.
13733 if sort "$nlist" | uniq > "$nlist"T; then
13734 mv -f "$nlist"T "$nlist"
13739 # Make sure that we snagged all the symbols we need.
13740 if grep ' nm_test_var$' "$nlist" >/dev/null; then
13741 if grep ' nm_test_func$' "$nlist" >/dev/null; then
13742 cat <<EOF > conftest.$ac_ext
13748 # Now generate the symbol file.
13749 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
13751 cat <<EOF >> conftest.$ac_ext
13752 #if defined (__STDC__) && __STDC__
13753 # define lt_ptr_t void *
13755 # define lt_ptr_t char *
13759 /* The mapping between symbol names and symbols. */
13764 lt_preloaded_symbols[] =
13767 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
13768 cat <<\EOF >> conftest.$ac_ext
13776 # Now try linking the two files.
13777 mv conftest.$ac_objext conftstm.$ac_objext
13778 lt_save_LIBS="$LIBS"
13779 lt_save_CFLAGS="$CFLAGS"
13780 LIBS="conftstm.$ac_objext"
13781 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
13782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13783 (eval $ac_link) 2>&5
13785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13786 (exit $ac_status); } && test -s conftest${ac_exeext}; then
13789 LIBS="$lt_save_LIBS"
13790 CFLAGS="$lt_save_CFLAGS"
13792 echo "cannot find nm_test_func in $nlist" >&5
13795 echo "cannot find nm_test_var in $nlist" >&5
13798 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
13801 echo "$progname: failed program was:" >&5
13802 cat conftest.$ac_ext >&5
13804 rm -rf conftest* conftst*
13806 # Do not use the global_symbol_pipe unless it works.
13807 if test "$pipe_works" = yes; then
13810 lt_cv_sys_global_symbol_pipe=
13816 if test -z "$lt_cv_sys_global_symbol_pipe"; then
13817 lt_cv_sys_global_symbol_to_cdecl=
13819 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
13820 { echo "$as_me:$LINENO: result: failed" >&5
13821 echo "${ECHO_T}failed" >&6; }
13823 { echo "$as_me:$LINENO: result: ok" >&5
13824 echo "${ECHO_T}ok" >&6; }
13827 { echo "$as_me:$LINENO: checking for objdir" >&5
13828 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
13829 if test "${lt_cv_objdir+set}" = set; then
13830 echo $ECHO_N "(cached) $ECHO_C" >&6
13832 rm -f .libs 2>/dev/null
13833 mkdir .libs 2>/dev/null
13834 if test -d .libs; then
13837 # MS-DOS does not allow filenames that begin with a dot.
13840 rmdir .libs 2>/dev/null
13842 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
13843 echo "${ECHO_T}$lt_cv_objdir" >&6; }
13844 objdir=$lt_cv_objdir
13852 # AIX sometimes has problems with the GCC collect2 program. For some
13853 # reason, if we set the COLLECT_NAMES environment variable, the problems
13854 # vanish in a puff of smoke.
13855 if test "X${COLLECT_NAMES+set}" != Xset; then
13857 export COLLECT_NAMES
13862 # Sed substitution that helps us do robust quoting. It backslashifies
13863 # metacharacters that are still active within double-quoted strings.
13864 Xsed='sed -e 1s/^X//'
13865 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
13867 # Same as above, but do not quote variable references.
13868 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
13870 # Sed substitution to delay expansion of an escaped shell variable in a
13871 # double_quote_subst'ed string.
13872 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
13874 # Sed substitution to avoid accidental globbing in evaled expressions
13875 no_glob_subst='s/\*/\\\*/g'
13880 # Global variables:
13881 default_ofile=libtool
13882 can_build_shared=yes
13884 # All known linkers require a `.a' archive for static linking (except MSVC,
13885 # which needs '.lib').
13887 ltmain="$ac_aux_dir/ltmain.sh"
13888 ofile="$default_ofile"
13889 with_gnu_ld="$lt_cv_prog_gnu_ld"
13891 if test -n "$ac_tool_prefix"; then
13892 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
13893 set dummy ${ac_tool_prefix}ar; ac_word=$2
13894 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13896 if test "${ac_cv_prog_AR+set}" = set; then
13897 echo $ECHO_N "(cached) $ECHO_C" >&6
13899 if test -n "$AR"; then
13900 ac_cv_prog_AR="$AR" # Let the user override the test.
13902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13903 for as_dir in $PATH
13906 test -z "$as_dir" && as_dir=.
13907 for ac_exec_ext in '' $ac_executable_extensions; do
13908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13909 ac_cv_prog_AR="${ac_tool_prefix}ar"
13910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13920 if test -n "$AR"; then
13921 { echo "$as_me:$LINENO: result: $AR" >&5
13922 echo "${ECHO_T}$AR" >&6; }
13924 { echo "$as_me:$LINENO: result: no" >&5
13925 echo "${ECHO_T}no" >&6; }
13930 if test -z "$ac_cv_prog_AR"; then
13932 # Extract the first word of "ar", so it can be a program name with args.
13933 set dummy ar; ac_word=$2
13934 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13935 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13936 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
13937 echo $ECHO_N "(cached) $ECHO_C" >&6
13939 if test -n "$ac_ct_AR"; then
13940 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
13942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13943 for as_dir in $PATH
13946 test -z "$as_dir" && as_dir=.
13947 for ac_exec_ext in '' $ac_executable_extensions; do
13948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13949 ac_cv_prog_ac_ct_AR="ar"
13950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13959 ac_ct_AR=$ac_cv_prog_ac_ct_AR
13960 if test -n "$ac_ct_AR"; then
13961 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
13962 echo "${ECHO_T}$ac_ct_AR" >&6; }
13964 { echo "$as_me:$LINENO: result: no" >&5
13965 echo "${ECHO_T}no" >&6; }
13968 if test "x$ac_ct_AR" = x; then
13971 case $cross_compiling:$ac_tool_warned in
13973 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13974 whose name does not start with the host triplet. If you think this
13975 configuration is useful to you, please write to autoconf@gnu.org." >&5
13976 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13977 whose name does not start with the host triplet. If you think this
13978 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13979 ac_tool_warned=yes ;;
13984 AR="$ac_cv_prog_AR"
13987 if test -n "$ac_tool_prefix"; then
13988 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
13989 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
13990 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13992 if test "${ac_cv_prog_RANLIB+set}" = set; then
13993 echo $ECHO_N "(cached) $ECHO_C" >&6
13995 if test -n "$RANLIB"; then
13996 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
13998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13999 for as_dir in $PATH
14002 test -z "$as_dir" && as_dir=.
14003 for ac_exec_ext in '' $ac_executable_extensions; do
14004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14005 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
14006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14015 RANLIB=$ac_cv_prog_RANLIB
14016 if test -n "$RANLIB"; then
14017 { echo "$as_me:$LINENO: result: $RANLIB" >&5
14018 echo "${ECHO_T}$RANLIB" >&6; }
14020 { echo "$as_me:$LINENO: result: no" >&5
14021 echo "${ECHO_T}no" >&6; }
14026 if test -z "$ac_cv_prog_RANLIB"; then
14027 ac_ct_RANLIB=$RANLIB
14028 # Extract the first word of "ranlib", so it can be a program name with args.
14029 set dummy ranlib; ac_word=$2
14030 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14032 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14033 echo $ECHO_N "(cached) $ECHO_C" >&6
14035 if test -n "$ac_ct_RANLIB"; then
14036 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
14038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14039 for as_dir in $PATH
14042 test -z "$as_dir" && as_dir=.
14043 for ac_exec_ext in '' $ac_executable_extensions; do
14044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14045 ac_cv_prog_ac_ct_RANLIB="ranlib"
14046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14055 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
14056 if test -n "$ac_ct_RANLIB"; then
14057 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
14058 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
14060 { echo "$as_me:$LINENO: result: no" >&5
14061 echo "${ECHO_T}no" >&6; }
14064 if test "x$ac_ct_RANLIB" = x; then
14067 case $cross_compiling:$ac_tool_warned in
14069 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14070 whose name does not start with the host triplet. If you think this
14071 configuration is useful to you, please write to autoconf@gnu.org." >&5
14072 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14073 whose name does not start with the host triplet. If you think this
14074 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14075 ac_tool_warned=yes ;;
14077 RANLIB=$ac_ct_RANLIB
14080 RANLIB="$ac_cv_prog_RANLIB"
14083 if test -n "$ac_tool_prefix"; then
14084 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
14085 set dummy ${ac_tool_prefix}strip; ac_word=$2
14086 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14088 if test "${ac_cv_prog_STRIP+set}" = set; then
14089 echo $ECHO_N "(cached) $ECHO_C" >&6
14091 if test -n "$STRIP"; then
14092 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
14094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14095 for as_dir in $PATH
14098 test -z "$as_dir" && as_dir=.
14099 for ac_exec_ext in '' $ac_executable_extensions; do
14100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14101 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
14102 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14111 STRIP=$ac_cv_prog_STRIP
14112 if test -n "$STRIP"; then
14113 { echo "$as_me:$LINENO: result: $STRIP" >&5
14114 echo "${ECHO_T}$STRIP" >&6; }
14116 { echo "$as_me:$LINENO: result: no" >&5
14117 echo "${ECHO_T}no" >&6; }
14122 if test -z "$ac_cv_prog_STRIP"; then
14124 # Extract the first word of "strip", so it can be a program name with args.
14125 set dummy strip; ac_word=$2
14126 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14127 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14128 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
14129 echo $ECHO_N "(cached) $ECHO_C" >&6
14131 if test -n "$ac_ct_STRIP"; then
14132 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
14134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14135 for as_dir in $PATH
14138 test -z "$as_dir" && as_dir=.
14139 for ac_exec_ext in '' $ac_executable_extensions; do
14140 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14141 ac_cv_prog_ac_ct_STRIP="strip"
14142 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14151 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
14152 if test -n "$ac_ct_STRIP"; then
14153 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
14154 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
14156 { echo "$as_me:$LINENO: result: no" >&5
14157 echo "${ECHO_T}no" >&6; }
14160 if test "x$ac_ct_STRIP" = x; then
14163 case $cross_compiling:$ac_tool_warned in
14165 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14166 whose name does not start with the host triplet. If you think this
14167 configuration is useful to you, please write to autoconf@gnu.org." >&5
14168 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14169 whose name does not start with the host triplet. If you think this
14170 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14171 ac_tool_warned=yes ;;
14176 STRIP="$ac_cv_prog_STRIP"
14181 old_CFLAGS="$CFLAGS"
14183 # Set sane defaults for various variables
14184 test -z "$AR" && AR=ar
14185 test -z "$AR_FLAGS" && AR_FLAGS=cru
14186 test -z "$AS" && AS=as
14187 test -z "$CC" && CC=cc
14188 test -z "$LTCC" && LTCC=$CC
14189 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
14190 test -z "$DLLTOOL" && DLLTOOL=dlltool
14191 test -z "$LD" && LD=ld
14192 test -z "$LN_S" && LN_S="ln -s"
14193 test -z "$MAGIC_CMD" && MAGIC_CMD=file
14194 test -z "$NM" && NM=nm
14195 test -z "$SED" && SED=sed
14196 test -z "$OBJDUMP" && OBJDUMP=objdump
14197 test -z "$RANLIB" && RANLIB=:
14198 test -z "$STRIP" && STRIP=:
14199 test -z "$ac_objext" && ac_objext=o
14201 # Determine commands to create old-style static archives.
14202 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
14203 old_postinstall_cmds='chmod 644 $oldlib'
14204 old_postuninstall_cmds=
14206 if test -n "$RANLIB"; then
14209 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
14212 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
14215 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
14218 for cc_temp in $compiler""; do
14220 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14221 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14226 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14229 # Only perform the check for file, if the check method requires it
14230 case $deplibs_check_method in
14232 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
14233 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
14234 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
14235 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
14236 echo $ECHO_N "(cached) $ECHO_C" >&6
14240 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
14243 lt_save_MAGIC_CMD="$MAGIC_CMD"
14244 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14245 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
14246 for ac_dir in $ac_dummy; do
14248 test -z "$ac_dir" && ac_dir=.
14249 if test -f $ac_dir/${ac_tool_prefix}file; then
14250 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
14251 if test -n "$file_magic_test_file"; then
14252 case $deplibs_check_method in
14254 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
14255 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14256 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
14257 $EGREP "$file_magic_regex" > /dev/null; then
14262 *** Warning: the command libtool uses to detect shared libraries,
14263 *** $file_magic_cmd, produces output that libtool cannot recognize.
14264 *** The result is that libtool may fail to recognize shared libraries
14265 *** as such. This will affect the creation of libtool libraries that
14266 *** depend on shared libraries, but programs linked with such libtool
14267 *** libraries will work regardless of this problem. Nevertheless, you
14268 *** may want to report the problem to your system manager and/or to
14269 *** bug-libtool@gnu.org
14279 MAGIC_CMD="$lt_save_MAGIC_CMD"
14284 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14285 if test -n "$MAGIC_CMD"; then
14286 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
14287 echo "${ECHO_T}$MAGIC_CMD" >&6; }
14289 { echo "$as_me:$LINENO: result: no" >&5
14290 echo "${ECHO_T}no" >&6; }
14293 if test -z "$lt_cv_path_MAGIC_CMD"; then
14294 if test -n "$ac_tool_prefix"; then
14295 { echo "$as_me:$LINENO: checking for file" >&5
14296 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
14297 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
14298 echo $ECHO_N "(cached) $ECHO_C" >&6
14302 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
14305 lt_save_MAGIC_CMD="$MAGIC_CMD"
14306 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14307 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
14308 for ac_dir in $ac_dummy; do
14310 test -z "$ac_dir" && ac_dir=.
14311 if test -f $ac_dir/file; then
14312 lt_cv_path_MAGIC_CMD="$ac_dir/file"
14313 if test -n "$file_magic_test_file"; then
14314 case $deplibs_check_method in
14316 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
14317 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14318 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
14319 $EGREP "$file_magic_regex" > /dev/null; then
14324 *** Warning: the command libtool uses to detect shared libraries,
14325 *** $file_magic_cmd, produces output that libtool cannot recognize.
14326 *** The result is that libtool may fail to recognize shared libraries
14327 *** as such. This will affect the creation of libtool libraries that
14328 *** depend on shared libraries, but programs linked with such libtool
14329 *** libraries will work regardless of this problem. Nevertheless, you
14330 *** may want to report the problem to your system manager and/or to
14331 *** bug-libtool@gnu.org
14341 MAGIC_CMD="$lt_save_MAGIC_CMD"
14346 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14347 if test -n "$MAGIC_CMD"; then
14348 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
14349 echo "${ECHO_T}$MAGIC_CMD" >&6; }
14351 { echo "$as_me:$LINENO: result: no" >&5
14352 echo "${ECHO_T}no" >&6; }
14366 rhapsody* | darwin*)
14367 if test -n "$ac_tool_prefix"; then
14368 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
14369 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
14370 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14371 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14372 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
14373 echo $ECHO_N "(cached) $ECHO_C" >&6
14375 if test -n "$DSYMUTIL"; then
14376 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
14378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14379 for as_dir in $PATH
14382 test -z "$as_dir" && as_dir=.
14383 for ac_exec_ext in '' $ac_executable_extensions; do
14384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14385 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
14386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14395 DSYMUTIL=$ac_cv_prog_DSYMUTIL
14396 if test -n "$DSYMUTIL"; then
14397 { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
14398 echo "${ECHO_T}$DSYMUTIL" >&6; }
14400 { echo "$as_me:$LINENO: result: no" >&5
14401 echo "${ECHO_T}no" >&6; }
14406 if test -z "$ac_cv_prog_DSYMUTIL"; then
14407 ac_ct_DSYMUTIL=$DSYMUTIL
14408 # Extract the first word of "dsymutil", so it can be a program name with args.
14409 set dummy dsymutil; ac_word=$2
14410 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14412 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
14413 echo $ECHO_N "(cached) $ECHO_C" >&6
14415 if test -n "$ac_ct_DSYMUTIL"; then
14416 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
14418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14419 for as_dir in $PATH
14422 test -z "$as_dir" && as_dir=.
14423 for ac_exec_ext in '' $ac_executable_extensions; do
14424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14425 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
14426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14435 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
14436 if test -n "$ac_ct_DSYMUTIL"; then
14437 { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
14438 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
14440 { echo "$as_me:$LINENO: result: no" >&5
14441 echo "${ECHO_T}no" >&6; }
14444 if test "x$ac_ct_DSYMUTIL" = x; then
14447 case $cross_compiling:$ac_tool_warned in
14449 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14450 whose name does not start with the host triplet. If you think this
14451 configuration is useful to you, please write to autoconf@gnu.org." >&5
14452 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14453 whose name does not start with the host triplet. If you think this
14454 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14455 ac_tool_warned=yes ;;
14457 DSYMUTIL=$ac_ct_DSYMUTIL
14460 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
14463 if test -n "$ac_tool_prefix"; then
14464 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
14465 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
14466 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14468 if test "${ac_cv_prog_NMEDIT+set}" = set; then
14469 echo $ECHO_N "(cached) $ECHO_C" >&6
14471 if test -n "$NMEDIT"; then
14472 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
14474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14475 for as_dir in $PATH
14478 test -z "$as_dir" && as_dir=.
14479 for ac_exec_ext in '' $ac_executable_extensions; do
14480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14481 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
14482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14491 NMEDIT=$ac_cv_prog_NMEDIT
14492 if test -n "$NMEDIT"; then
14493 { echo "$as_me:$LINENO: result: $NMEDIT" >&5
14494 echo "${ECHO_T}$NMEDIT" >&6; }
14496 { echo "$as_me:$LINENO: result: no" >&5
14497 echo "${ECHO_T}no" >&6; }
14502 if test -z "$ac_cv_prog_NMEDIT"; then
14503 ac_ct_NMEDIT=$NMEDIT
14504 # Extract the first word of "nmedit", so it can be a program name with args.
14505 set dummy nmedit; ac_word=$2
14506 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14508 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
14509 echo $ECHO_N "(cached) $ECHO_C" >&6
14511 if test -n "$ac_ct_NMEDIT"; then
14512 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
14514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14515 for as_dir in $PATH
14518 test -z "$as_dir" && as_dir=.
14519 for ac_exec_ext in '' $ac_executable_extensions; do
14520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14521 ac_cv_prog_ac_ct_NMEDIT="nmedit"
14522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14531 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
14532 if test -n "$ac_ct_NMEDIT"; then
14533 { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
14534 echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
14536 { echo "$as_me:$LINENO: result: no" >&5
14537 echo "${ECHO_T}no" >&6; }
14540 if test "x$ac_ct_NMEDIT" = x; then
14543 case $cross_compiling:$ac_tool_warned in
14545 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14546 whose name does not start with the host triplet. If you think this
14547 configuration is useful to you, please write to autoconf@gnu.org." >&5
14548 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14549 whose name does not start with the host triplet. If you think this
14550 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14551 ac_tool_warned=yes ;;
14553 NMEDIT=$ac_ct_NMEDIT
14556 NMEDIT="$ac_cv_prog_NMEDIT"
14560 { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
14561 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
14562 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
14563 echo $ECHO_N "(cached) $ECHO_C" >&6
14565 lt_cv_apple_cc_single_mod=no
14566 if test -z "${LT_MULTI_MODULE}"; then
14567 # By default we will add the -single_module flag. You can override
14568 # by either setting the environment variable LT_MULTI_MODULE
14569 # non-empty at configure time, or by adding -multi_module to the
14571 echo "int foo(void){return 1;}" > conftest.c
14572 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
14573 -dynamiclib ${wl}-single_module conftest.c
14574 if test -f libconftest.dylib; then
14575 lt_cv_apple_cc_single_mod=yes
14576 rm -rf libconftest.dylib*
14581 { echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
14582 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
14583 { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
14584 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
14585 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
14586 echo $ECHO_N "(cached) $ECHO_C" >&6
14588 lt_cv_ld_exported_symbols_list=no
14589 save_LDFLAGS=$LDFLAGS
14590 echo "_main" > conftest.sym
14591 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
14592 cat >conftest.$ac_ext <<_ACEOF
14595 cat confdefs.h >>conftest.$ac_ext
14596 cat >>conftest.$ac_ext <<_ACEOF
14597 /* end confdefs.h. */
14607 rm -f conftest.$ac_objext conftest$ac_exeext
14608 if { (ac_try="$ac_link"
14609 case "(($ac_try" in
14610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14611 *) ac_try_echo=$ac_try;;
14613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14614 (eval "$ac_link") 2>conftest.er1
14616 grep -v '^ *+' conftest.er1 >conftest.err
14618 cat conftest.err >&5
14619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14620 (exit $ac_status); } && {
14621 test -z "$ac_c_werror_flag" ||
14622 test ! -s conftest.err
14623 } && test -s conftest$ac_exeext &&
14624 $as_test_x conftest$ac_exeext; then
14625 lt_cv_ld_exported_symbols_list=yes
14627 echo "$as_me: failed program was:" >&5
14628 sed 's/^/| /' conftest.$ac_ext >&5
14630 lt_cv_ld_exported_symbols_list=no
14633 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14634 conftest$ac_exeext conftest.$ac_ext
14635 LDFLAGS="$save_LDFLAGS"
14638 { echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
14639 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
14641 rhapsody* | darwin1.[0123])
14642 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
14644 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
14646 # if running on 10.5 or later, the deployment target defaults
14647 # to the OS version, if on x86, and 10.4, the deployment
14648 # target defaults to 10.4. Don't you love it?
14649 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
14650 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
14651 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
14653 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
14655 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
14659 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
14660 _lt_dar_single_mod='$single_module'
14662 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
14663 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
14665 _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
14667 if test "$DSYMUTIL" != ":"; then
14668 _lt_dsymutil="~$DSYMUTIL \$lib || :"
14677 enable_win32_dll=no
14679 # Check whether --enable-libtool-lock was given.
14680 if test "${enable_libtool_lock+set}" = set; then
14681 enableval=$enable_libtool_lock;
14684 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
14687 # Check whether --with-pic was given.
14688 if test "${with_pic+set}" = set; then
14689 withval=$with_pic; pic_mode="$withval"
14694 test -z "$pic_mode" && pic_mode=default
14696 # Use C for the default configuration in the libtool script
14700 ac_cpp='$CPP $CPPFLAGS'
14701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14706 # Source file extension for C test sources.
14709 # Object file extension for compiled C test sources.
14713 # Code to be used in simple compile tests
14714 lt_simple_compile_test_code="int some_variable = 0;"
14716 # Code to be used in simple link tests
14717 lt_simple_link_test_code='int main(){return(0);}'
14720 # If no C compiler was specified, use CC.
14723 # If no C compiler flags were specified, use CFLAGS.
14724 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14726 # Allow CC to be a program name with arguments.
14730 # save warnings/boilerplate of simple test code
14731 ac_outfile=conftest.$ac_objext
14732 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14733 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14734 _lt_compiler_boilerplate=`cat conftest.err`
14737 ac_outfile=conftest.$ac_objext
14738 echo "$lt_simple_link_test_code" >conftest.$ac_ext
14739 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14740 _lt_linker_boilerplate=`cat conftest.err`
14745 lt_prog_compiler_no_builtin_flag=
14747 if test "$GCC" = yes; then
14748 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
14751 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
14752 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
14753 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
14754 echo $ECHO_N "(cached) $ECHO_C" >&6
14756 lt_cv_prog_compiler_rtti_exceptions=no
14757 ac_outfile=conftest.$ac_objext
14758 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14759 lt_compiler_flag="-fno-rtti -fno-exceptions"
14760 # Insert the option either (1) after the last *FLAGS variable, or
14761 # (2) before a word containing "conftest.", or (3) at the end.
14762 # Note that $ac_compile itself does not contain backslashes and begins
14763 # with a dollar sign (not a hyphen), so the echo should work correctly.
14764 # The option is referenced via a variable to avoid confusing sed.
14765 lt_compile=`echo "$ac_compile" | $SED \
14766 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14767 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14768 -e 's:$: $lt_compiler_flag:'`
14769 (eval echo "\"\$as_me:14769: $lt_compile\"" >&5)
14770 (eval "$lt_compile" 2>conftest.err)
14772 cat conftest.err >&5
14773 echo "$as_me:14773: \$? = $ac_status" >&5
14774 if (exit $ac_status) && test -s "$ac_outfile"; then
14775 # The compiler can only warn and ignore the option if not recognized
14776 # So say no if there are warnings other than the usual output.
14777 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14778 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14779 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14780 lt_cv_prog_compiler_rtti_exceptions=yes
14786 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
14787 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
14789 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
14790 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
14797 lt_prog_compiler_wl=
14798 lt_prog_compiler_pic=
14799 lt_prog_compiler_static=
14801 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14802 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14804 if test "$GCC" = yes; then
14805 lt_prog_compiler_wl='-Wl,'
14806 lt_prog_compiler_static='-static'
14810 # All AIX code is PIC.
14811 if test "$host_cpu" = ia64; then
14812 # AIX 5 now supports IA64 processor
14813 lt_prog_compiler_static='-Bstatic'
14818 # FIXME: we need at least 68020 code to build shared libraries, but
14819 # adding the `-m68020' flag to GCC prevents building anything better,
14821 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
14824 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14825 # PIC is the default for these OSes.
14828 mingw* | cygwin* | pw32* | os2*)
14829 # This hack is so that the source file can tell whether it is being
14830 # built for inclusion in a dll (and should export symbols for example).
14831 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14832 # (--disable-auto-import) libraries
14833 lt_prog_compiler_pic='-DDLL_EXPORT'
14836 darwin* | rhapsody*)
14837 # PIC is the default on this platform
14838 # Common symbols not allowed in MH_DYLIB files
14839 lt_prog_compiler_pic='-fno-common'
14843 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14844 # Instead, we relocate shared libraries at runtime.
14848 # Just because we use GCC doesn't mean we suddenly get shared libraries
14849 # on systems that don't support them.
14850 lt_prog_compiler_can_build_shared=no
14855 if test -d /usr/nec; then
14856 lt_prog_compiler_pic=-Kconform_pic
14861 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14862 # not for PA HP-UX.
14868 lt_prog_compiler_pic='-fPIC'
14874 lt_prog_compiler_pic='-fPIC'
14878 # PORTME Check for flag to pass linker flags through the system compiler.
14881 lt_prog_compiler_wl='-Wl,'
14882 if test "$host_cpu" = ia64; then
14883 # AIX 5 now supports IA64 processor
14884 lt_prog_compiler_static='-Bstatic'
14886 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
14890 # PIC is the default on this platform
14891 # Common symbols not allowed in MH_DYLIB files
14892 case $cc_basename in
14894 lt_prog_compiler_pic='-qnocommon'
14895 lt_prog_compiler_wl='-Wl,'
14900 mingw* | cygwin* | pw32* | os2*)
14901 # This hack is so that the source file can tell whether it is being
14902 # built for inclusion in a dll (and should export symbols for example).
14903 lt_prog_compiler_pic='-DDLL_EXPORT'
14906 hpux9* | hpux10* | hpux11*)
14907 lt_prog_compiler_wl='-Wl,'
14908 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14909 # not for PA HP-UX.
14915 lt_prog_compiler_pic='+Z'
14918 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14919 lt_prog_compiler_static='${wl}-a ${wl}archive'
14922 irix5* | irix6* | nonstopux*)
14923 lt_prog_compiler_wl='-Wl,'
14924 # PIC (with -KPIC) is the default.
14925 lt_prog_compiler_static='-non_shared'
14929 lt_prog_compiler_pic='-KPIC'
14930 lt_prog_compiler_static='-Bstatic'
14933 linux* | k*bsd*-gnu)
14934 case $cc_basename in
14936 lt_prog_compiler_wl='-Wl,'
14937 lt_prog_compiler_pic='-KPIC'
14938 lt_prog_compiler_static='-static'
14940 pgcc* | pgf77* | pgf90* | pgf95*)
14941 # Portland Group compilers (*not* the Pentium gcc compiler,
14942 # which looks to be a dead project)
14943 lt_prog_compiler_wl='-Wl,'
14944 lt_prog_compiler_pic='-fpic'
14945 lt_prog_compiler_static='-Bstatic'
14948 lt_prog_compiler_wl='-Wl,'
14949 # All Alpha code is PIC.
14950 lt_prog_compiler_static='-non_shared'
14953 case `$CC -V 2>&1 | sed 5q` in
14956 lt_prog_compiler_pic='-KPIC'
14957 lt_prog_compiler_static='-Bstatic'
14958 lt_prog_compiler_wl='-Wl,'
14961 # Sun Fortran 8.3 passes all unrecognized flags to the linker
14962 lt_prog_compiler_pic='-KPIC'
14963 lt_prog_compiler_static='-Bstatic'
14964 lt_prog_compiler_wl=''
14971 osf3* | osf4* | osf5*)
14972 lt_prog_compiler_wl='-Wl,'
14973 # All OSF/1 code is PIC.
14974 lt_prog_compiler_static='-non_shared'
14978 lt_prog_compiler_static='-non_shared'
14982 lt_prog_compiler_pic='-KPIC'
14983 lt_prog_compiler_static='-Bstatic'
14984 case $cc_basename in
14985 f77* | f90* | f95*)
14986 lt_prog_compiler_wl='-Qoption ld ';;
14988 lt_prog_compiler_wl='-Wl,';;
14993 lt_prog_compiler_wl='-Qoption ld '
14994 lt_prog_compiler_pic='-PIC'
14995 lt_prog_compiler_static='-Bstatic'
14998 sysv4 | sysv4.2uw2* | sysv4.3*)
14999 lt_prog_compiler_wl='-Wl,'
15000 lt_prog_compiler_pic='-KPIC'
15001 lt_prog_compiler_static='-Bstatic'
15005 if test -d /usr/nec ;then
15006 lt_prog_compiler_pic='-Kconform_pic'
15007 lt_prog_compiler_static='-Bstatic'
15011 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15012 lt_prog_compiler_wl='-Wl,'
15013 lt_prog_compiler_pic='-KPIC'
15014 lt_prog_compiler_static='-Bstatic'
15018 lt_prog_compiler_wl='-Wl,'
15019 lt_prog_compiler_can_build_shared=no
15023 lt_prog_compiler_pic='-pic'
15024 lt_prog_compiler_static='-Bstatic'
15028 lt_prog_compiler_can_build_shared=no
15033 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
15034 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
15037 # Check to make sure the PIC flag actually works.
15039 if test -n "$lt_prog_compiler_pic"; then
15041 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
15042 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
15043 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
15044 echo $ECHO_N "(cached) $ECHO_C" >&6
15046 lt_cv_prog_compiler_pic_works=no
15047 ac_outfile=conftest.$ac_objext
15048 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15049 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
15050 # Insert the option either (1) after the last *FLAGS variable, or
15051 # (2) before a word containing "conftest.", or (3) at the end.
15052 # Note that $ac_compile itself does not contain backslashes and begins
15053 # with a dollar sign (not a hyphen), so the echo should work correctly.
15054 # The option is referenced via a variable to avoid confusing sed.
15055 lt_compile=`echo "$ac_compile" | $SED \
15056 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15057 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15058 -e 's:$: $lt_compiler_flag:'`
15059 (eval echo "\"\$as_me:15059: $lt_compile\"" >&5)
15060 (eval "$lt_compile" 2>conftest.err)
15062 cat conftest.err >&5
15063 echo "$as_me:15063: \$? = $ac_status" >&5
15064 if (exit $ac_status) && test -s "$ac_outfile"; then
15065 # The compiler can only warn and ignore the option if not recognized
15066 # So say no if there are warnings other than the usual output.
15067 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15068 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15069 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15070 lt_cv_prog_compiler_pic_works=yes
15076 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
15077 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
15079 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
15080 case $lt_prog_compiler_pic in
15082 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
15085 lt_prog_compiler_pic=
15086 lt_prog_compiler_can_build_shared=no
15091 # For platforms which do not support PIC, -DPIC is meaningless:
15093 lt_prog_compiler_pic=
15096 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
15101 # Check to make sure the static flag actually works.
15103 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
15104 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15105 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
15106 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
15107 echo $ECHO_N "(cached) $ECHO_C" >&6
15109 lt_cv_prog_compiler_static_works=no
15110 save_LDFLAGS="$LDFLAGS"
15111 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15112 echo "$lt_simple_link_test_code" > conftest.$ac_ext
15113 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15114 # The linker can only warn and ignore the option if not recognized
15115 # So say no if there are warnings
15116 if test -s conftest.err; then
15117 # Append any errors to the config.log.
15118 cat conftest.err 1>&5
15119 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15120 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15121 if diff conftest.exp conftest.er2 >/dev/null; then
15122 lt_cv_prog_compiler_static_works=yes
15125 lt_cv_prog_compiler_static_works=yes
15129 LDFLAGS="$save_LDFLAGS"
15132 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
15133 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
15135 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
15138 lt_prog_compiler_static=
15142 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15143 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
15144 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
15145 echo $ECHO_N "(cached) $ECHO_C" >&6
15147 lt_cv_prog_compiler_c_o=no
15148 $rm -r conftest 2>/dev/null
15152 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15154 lt_compiler_flag="-o out/conftest2.$ac_objext"
15155 # Insert the option either (1) after the last *FLAGS variable, or
15156 # (2) before a word containing "conftest.", or (3) at the end.
15157 # Note that $ac_compile itself does not contain backslashes and begins
15158 # with a dollar sign (not a hyphen), so the echo should work correctly.
15159 lt_compile=`echo "$ac_compile" | $SED \
15160 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15161 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15162 -e 's:$: $lt_compiler_flag:'`
15163 (eval echo "\"\$as_me:15163: $lt_compile\"" >&5)
15164 (eval "$lt_compile" 2>out/conftest.err)
15166 cat out/conftest.err >&5
15167 echo "$as_me:15167: \$? = $ac_status" >&5
15168 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15170 # The compiler can only warn and ignore the option if not recognized
15171 # So say no if there are warnings
15172 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15173 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15174 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15175 lt_cv_prog_compiler_c_o=yes
15180 # SGI C++ compiler will create directory out/ii_files/ for
15181 # template instantiation
15182 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
15183 $rm out/* && rmdir out
15189 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
15190 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
15193 hard_links="nottested"
15194 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
15195 # do not overwrite the value of need_locks provided by the user
15196 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15197 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
15200 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15202 ln conftest.a conftest.b 2>&5 || hard_links=no
15203 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15204 { echo "$as_me:$LINENO: result: $hard_links" >&5
15205 echo "${ECHO_T}$hard_links" >&6; }
15206 if test "$hard_links" = no; then
15207 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15208 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15215 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15216 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
15219 allow_undefined_flag=
15220 enable_shared_with_static_runtimes=no
15222 archive_expsym_cmds=
15223 old_archive_From_new_cmds=
15224 old_archive_from_expsyms_cmds=
15225 export_dynamic_flag_spec=
15226 whole_archive_flag_spec=
15227 thread_safe_flag_spec=
15228 hardcode_libdir_flag_spec=
15229 hardcode_libdir_flag_spec_ld=
15230 hardcode_libdir_separator=
15232 hardcode_minus_L=no
15233 hardcode_shlibpath_var=unsupported
15234 link_all_deplibs=unknown
15235 hardcode_automatic=no
15237 module_expsym_cmds=
15238 always_export_symbols=no
15239 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15240 # include_expsyms should be a list of space-separated symbols to be *always*
15241 # included in the symbol list
15243 # exclude_expsyms can be an extended regexp of symbols to exclude
15244 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15245 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15246 # as well as any symbol that contains `d'.
15247 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15248 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15249 # platforms (ab)use it in PIC code, but their linkers get confused if
15250 # the symbol is explicitly referenced. Since portable code cannot
15251 # rely on this symbol name, it's probably fine to never include it in
15252 # preloaded symbol tables.
15253 # Exclude shared library initialization/finalization symbols.
15254 extract_expsyms_cmds=
15255 # Just being paranoid about ensuring that cc_basename is set.
15256 for cc_temp in $compiler""; do
15258 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15259 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15264 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15267 cygwin* | mingw* | pw32*)
15268 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15269 # When not using gcc, we currently assume that we are using
15270 # Microsoft Visual C++.
15271 if test "$GCC" != yes; then
15276 # we just hope/assume this is gcc and not c89 (= MSVC++)
15285 if test "$with_gnu_ld" = yes; then
15286 # If archive_cmds runs LD, not CC, wlarc should be empty
15289 # Set some defaults for GNU ld with shared library support. These
15290 # are reset later if shared libraries are not supported. Putting them
15291 # here allows them to be overridden if necessary.
15292 runpath_var=LD_RUN_PATH
15293 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
15294 export_dynamic_flag_spec='${wl}--export-dynamic'
15295 # ancient GNU ld didn't support --whole-archive et. al.
15296 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15297 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15299 whole_archive_flag_spec=
15301 supports_anon_versioning=no
15302 case `$LD -v 2>/dev/null` in
15303 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
15304 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
15305 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
15306 *\ 2.11.*) ;; # other 2.11 versions
15307 *) supports_anon_versioning=yes ;;
15310 # See if GNU ld supports shared libraries.
15313 # On AIX/PPC, the GNU linker is very broken
15314 if test "$host_cpu" != ia64; then
15318 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15319 *** to be unable to reliably create shared libraries on AIX.
15320 *** Therefore, libtool is disabling shared libraries support. If you
15321 *** really care for shared libraries, you may want to modify your PATH
15322 *** so that a non-GNU linker is found, and then restart.
15329 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)'
15330 hardcode_libdir_flag_spec='-L$libdir'
15331 hardcode_minus_L=yes
15333 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15334 # that the semantics of dynamic libraries on AmigaOS, at least up
15335 # to version 4, is to share data among multiple programs linked
15336 # with the same dynamic library. Since this doesn't match the
15337 # behavior of shared libraries on other platforms, we can't use
15343 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15344 allow_undefined_flag=unsupported
15345 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15346 # support --undefined. This deserves some investigation. FIXME
15347 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15353 cygwin* | mingw* | pw32*)
15354 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
15355 # as there is no search path for DLLs.
15356 hardcode_libdir_flag_spec='-L$libdir'
15357 allow_undefined_flag=unsupported
15358 always_export_symbols=no
15359 enable_shared_with_static_runtimes=yes
15360 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
15362 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15363 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15364 # If the export-symbols file already is a .def file (1st line
15365 # is EXPORTS), use it as is; otherwise, prepend...
15366 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15367 cp $export_symbols $output_objdir/$soname.def;
15369 echo EXPORTS > $output_objdir/$soname.def;
15370 cat $export_symbols >> $output_objdir/$soname.def;
15372 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15380 hardcode_shlibpath_var=no
15381 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
15382 export_dynamic_flag_spec='${wl}-E'
15383 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15384 # Instead, shared libraries are loaded at an image base (0x10000000 by
15385 # default) and relocated if they conflict, which is a slow very memory
15386 # consuming and fragmenting process. To avoid this, we pick a random,
15387 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15388 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15389 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15390 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'
15393 gnu* | linux* | k*bsd*-gnu)
15394 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15396 case $cc_basename,$host_cpu in
15397 pgcc*) # Portland Group C compiler
15398 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'
15399 tmp_addflag=' $pic_flag'
15401 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
15402 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'
15403 tmp_addflag=' $pic_flag -Mnomain' ;;
15404 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
15405 tmp_addflag=' -i_dynamic' ;;
15406 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
15407 tmp_addflag=' -i_dynamic -nofor_main' ;;
15408 ifc* | ifort*) # Intel Fortran compiler
15409 tmp_addflag=' -nofor_main' ;;
15411 case `$CC -V 2>&1 | sed 5q` in
15412 *Sun\ C*) # Sun C 5.9
15413 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'
15414 tmp_sharedflag='-G' ;;
15415 *Sun\ F*) # Sun Fortran 8.3
15416 tmp_sharedflag='-G' ;;
15418 tmp_sharedflag='-shared' ;;
15420 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15422 if test $supports_anon_versioning = yes; then
15423 archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
15424 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15425 $echo "local: *; };" >> $output_objdir/$libname.ver~
15426 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15428 link_all_deplibs=no
15434 netbsd* | netbsdelf*-gnu)
15435 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15436 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15439 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15440 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15445 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15449 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15450 *** create shared libraries on Solaris systems. Therefore, libtool
15451 *** is disabling shared libraries support. We urge you to upgrade GNU
15452 *** binutils to release 2.9.1 or newer. Another option is to modify
15453 *** your PATH or compiler configuration so that the native linker is
15454 *** used, and then restart.
15457 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15458 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15459 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15465 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
15466 case `$LD -v 2>&1` in
15467 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
15471 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
15472 *** reliably create shared libraries on SCO systems. Therefore, libtool
15473 *** is disabling shared libraries support. We urge you to upgrade GNU
15474 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
15475 *** your PATH or compiler configuration so that the native linker is
15476 *** used, and then restart.
15481 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15482 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
15483 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
15484 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
15493 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15495 hardcode_direct=yes
15496 hardcode_shlibpath_var=no
15500 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15501 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15502 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15509 if test "$ld_shlibs" = no; then
15511 hardcode_libdir_flag_spec=
15512 export_dynamic_flag_spec=
15513 whole_archive_flag_spec=
15516 # PORTME fill in a description of your system's linker (not GNU ld)
15519 allow_undefined_flag=unsupported
15520 always_export_symbols=yes
15521 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'
15522 # Note: this linker hardcodes the directories in LIBPATH if there
15523 # are no directories specified by -L.
15524 hardcode_minus_L=yes
15525 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
15526 # Neither direct hardcoding nor static linking is supported with a
15528 hardcode_direct=unsupported
15533 if test "$host_cpu" = ia64; then
15534 # On IA64, the linker does run time linking by default, so we don't
15535 # have to do anything special.
15536 aix_use_runtimelinking=no
15537 exp_sym_flag='-Bexport'
15540 # If we're using GNU nm, then we don't want the "-C" option.
15541 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15542 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15543 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'
15545 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'
15547 aix_use_runtimelinking=no
15549 # Test if we are trying to use run time linking or normal
15550 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15551 # need to do runtime linking.
15552 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
15553 for ld_flag in $LDFLAGS; do
15554 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15555 aix_use_runtimelinking=yes
15562 exp_sym_flag='-bexport'
15563 no_entry_flag='-bnoentry'
15566 # When large executables or shared objects are built, AIX ld can
15567 # have problems creating the table of contents. If linking a library
15568 # or program results in "error TOC overflow" add -mminimal-toc to
15569 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15570 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15573 hardcode_direct=yes
15574 hardcode_libdir_separator=':'
15575 link_all_deplibs=yes
15577 if test "$GCC" = yes; then
15578 case $host_os in aix4.[012]|aix4.[012].*)
15579 # We only want to do this on AIX 4.2 and lower, the check
15580 # below for broken collect2 doesn't work under 4.3+
15581 collect2name=`${CC} -print-prog-name=collect2`
15582 if test -f "$collect2name" && \
15583 strings "$collect2name" | grep resolve_lib_name >/dev/null
15585 # We have reworked collect2
15588 # We have old collect2
15589 hardcode_direct=unsupported
15590 # It fails to find uninstalled libraries when the uninstalled
15591 # path is not listed in the libpath. Setting hardcode_minus_L
15592 # to unsupported forces relinking
15593 hardcode_minus_L=yes
15594 hardcode_libdir_flag_spec='-L$libdir'
15595 hardcode_libdir_separator=
15599 shared_flag='-shared'
15600 if test "$aix_use_runtimelinking" = yes; then
15601 shared_flag="$shared_flag "'${wl}-G'
15605 if test "$host_cpu" = ia64; then
15606 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15607 # chokes on -Wl,-G. The following line is correct:
15610 if test "$aix_use_runtimelinking" = yes; then
15611 shared_flag='${wl}-G'
15613 shared_flag='${wl}-bM:SRE'
15618 # It seems that -bexpall does not export symbols beginning with
15619 # underscore (_), so it is better to generate a list of symbols to export.
15620 always_export_symbols=yes
15621 if test "$aix_use_runtimelinking" = yes; then
15622 # Warning - without using the other runtime loading flags (-brtl),
15623 # -berok will link without error, but may produce a broken library.
15624 allow_undefined_flag='-berok'
15625 # Determine the default libpath from the value encoded in an empty executable.
15626 cat >conftest.$ac_ext <<_ACEOF
15629 cat confdefs.h >>conftest.$ac_ext
15630 cat >>conftest.$ac_ext <<_ACEOF
15631 /* end confdefs.h. */
15641 rm -f conftest.$ac_objext conftest$ac_exeext
15642 if { (ac_try="$ac_link"
15643 case "(($ac_try" in
15644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15645 *) ac_try_echo=$ac_try;;
15647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15648 (eval "$ac_link") 2>conftest.er1
15650 grep -v '^ *+' conftest.er1 >conftest.err
15652 cat conftest.err >&5
15653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15654 (exit $ac_status); } && {
15655 test -z "$ac_c_werror_flag" ||
15656 test ! -s conftest.err
15657 } && test -s conftest$ac_exeext &&
15658 $as_test_x conftest$ac_exeext; then
15660 lt_aix_libpath_sed='
15661 /Import File Strings/,/^$/ {
15667 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15668 # Check for a 64-bit object if we didn't find anything.
15669 if test -z "$aix_libpath"; then
15670 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15673 echo "$as_me: failed program was:" >&5
15674 sed 's/^/| /' conftest.$ac_ext >&5
15679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15680 conftest$ac_exeext conftest.$ac_ext
15681 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15683 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
15684 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"
15686 if test "$host_cpu" = ia64; then
15687 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
15688 allow_undefined_flag="-z nodefs"
15689 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"
15691 # Determine the default libpath from the value encoded in an empty executable.
15692 cat >conftest.$ac_ext <<_ACEOF
15695 cat confdefs.h >>conftest.$ac_ext
15696 cat >>conftest.$ac_ext <<_ACEOF
15697 /* end confdefs.h. */
15707 rm -f conftest.$ac_objext conftest$ac_exeext
15708 if { (ac_try="$ac_link"
15709 case "(($ac_try" in
15710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15711 *) ac_try_echo=$ac_try;;
15713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15714 (eval "$ac_link") 2>conftest.er1
15716 grep -v '^ *+' conftest.er1 >conftest.err
15718 cat conftest.err >&5
15719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15720 (exit $ac_status); } && {
15721 test -z "$ac_c_werror_flag" ||
15722 test ! -s conftest.err
15723 } && test -s conftest$ac_exeext &&
15724 $as_test_x conftest$ac_exeext; then
15726 lt_aix_libpath_sed='
15727 /Import File Strings/,/^$/ {
15733 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15734 # Check for a 64-bit object if we didn't find anything.
15735 if test -z "$aix_libpath"; then
15736 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15739 echo "$as_me: failed program was:" >&5
15740 sed 's/^/| /' conftest.$ac_ext >&5
15745 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15746 conftest$ac_exeext conftest.$ac_ext
15747 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15749 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
15750 # Warning - without using the other run time loading flags,
15751 # -berok will link without error, but may produce a broken library.
15752 no_undefined_flag=' ${wl}-bernotok'
15753 allow_undefined_flag=' ${wl}-berok'
15754 # Exported symbols can be pulled into shared objects from archives
15755 whole_archive_flag_spec='$convenience'
15756 archive_cmds_need_lc=yes
15757 # This is similar to how AIX traditionally builds its shared libraries.
15758 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'
15764 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)'
15765 hardcode_libdir_flag_spec='-L$libdir'
15766 hardcode_minus_L=yes
15767 # see comment about different semantics on the GNU ld section
15772 export_dynamic_flag_spec=-rdynamic
15775 cygwin* | mingw* | pw32*)
15776 # When not using gcc, we currently assume that we are using
15777 # Microsoft Visual C++.
15778 # hardcode_libdir_flag_spec is actually meaningless, as there is
15779 # no search path for DLLs.
15780 hardcode_libdir_flag_spec=' '
15781 allow_undefined_flag=unsupported
15782 # Tell ltmain to make .lib files, not .a files.
15784 # Tell ltmain to make .dll files, not .so files.
15786 # FIXME: Setting linknames here is a bad hack.
15787 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15788 # The linker will automatically build a .lib file if we build a DLL.
15789 old_archive_From_new_cmds='true'
15790 # FIXME: Should let the user specify the lib program.
15791 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
15792 fix_srcfile_path='`cygpath -w "$srcfile"`'
15793 enable_shared_with_static_runtimes=yes
15796 darwin* | rhapsody*)
15798 rhapsody* | darwin1.[012])
15799 allow_undefined_flag='${wl}-undefined ${wl}suppress'
15802 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15803 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15805 case ${MACOSX_DEPLOYMENT_TARGET} in
15807 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15810 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
15816 archive_cmds_need_lc=no
15818 hardcode_automatic=yes
15819 hardcode_shlibpath_var=unsupported
15820 whole_archive_flag_spec=''
15821 link_all_deplibs=yes
15822 if test "$GCC" = yes ; then
15823 output_verbose_link_cmd='echo'
15824 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
15825 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15826 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
15827 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
15829 case $cc_basename in
15831 output_verbose_link_cmd='echo'
15832 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
15833 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15834 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15835 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}'
15836 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}'
15846 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15847 hardcode_libdir_flag_spec='-L$libdir'
15848 hardcode_shlibpath_var=no
15855 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15856 # support. Future versions do this automatically, but an explicit c++rt0.o
15857 # does not break anything, and helps significantly (at the cost of a little
15860 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15861 hardcode_libdir_flag_spec='-R$libdir'
15862 hardcode_direct=yes
15863 hardcode_shlibpath_var=no
15866 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15868 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15869 hardcode_direct=yes
15870 hardcode_minus_L=yes
15871 hardcode_shlibpath_var=no
15874 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15875 freebsd* | dragonfly*)
15876 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15877 hardcode_libdir_flag_spec='-R$libdir'
15878 hardcode_direct=yes
15879 hardcode_shlibpath_var=no
15883 if test "$GCC" = yes; then
15884 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'
15886 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'
15888 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
15889 hardcode_libdir_separator=:
15890 hardcode_direct=yes
15892 # hardcode_minus_L: Not really in the search PATH,
15893 # but as the default location of the library.
15894 hardcode_minus_L=yes
15895 export_dynamic_flag_spec='${wl}-E'
15899 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15900 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15902 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15904 if test "$with_gnu_ld" = no; then
15905 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
15906 hardcode_libdir_separator=:
15908 hardcode_direct=yes
15909 export_dynamic_flag_spec='${wl}-E'
15911 # hardcode_minus_L: Not really in the search PATH,
15912 # but as the default location of the library.
15913 hardcode_minus_L=yes
15918 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15921 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15924 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15927 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15933 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15936 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15939 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15943 if test "$with_gnu_ld" = no; then
15944 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
15945 hardcode_libdir_separator=:
15949 hardcode_libdir_flag_spec_ld='+b $libdir'
15951 hardcode_shlibpath_var=no
15954 hardcode_direct=yes
15955 export_dynamic_flag_spec='${wl}-E'
15957 # hardcode_minus_L: Not really in the search PATH,
15958 # but as the default location of the library.
15959 hardcode_minus_L=yes
15965 irix5* | irix6* | nonstopux*)
15966 if test "$GCC" = yes; then
15967 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'
15969 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'
15970 hardcode_libdir_flag_spec_ld='-rpath $libdir'
15972 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
15973 hardcode_libdir_separator=:
15974 link_all_deplibs=yes
15977 netbsd* | netbsdelf*-gnu)
15978 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15979 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15981 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15983 hardcode_libdir_flag_spec='-R$libdir'
15984 hardcode_direct=yes
15985 hardcode_shlibpath_var=no
15989 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15990 hardcode_direct=yes
15991 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
15992 hardcode_libdir_separator=:
15993 hardcode_shlibpath_var=no
15997 if test -f /usr/libexec/ld.so; then
15998 hardcode_direct=yes
15999 hardcode_shlibpath_var=no
16000 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16001 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16002 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16003 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
16004 export_dynamic_flag_spec='${wl}-E'
16007 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16008 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16009 hardcode_libdir_flag_spec='-R$libdir'
16012 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16013 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
16023 hardcode_libdir_flag_spec='-L$libdir'
16024 hardcode_minus_L=yes
16025 allow_undefined_flag=unsupported
16026 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'
16027 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16031 if test "$GCC" = yes; then
16032 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
16033 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'
16035 allow_undefined_flag=' -expect_unresolved \*'
16036 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'
16038 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
16039 hardcode_libdir_separator=:
16042 osf4* | osf5*) # as osf3* with the addition of -msym flag
16043 if test "$GCC" = yes; then
16044 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
16045 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'
16046 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
16048 allow_undefined_flag=' -expect_unresolved \*'
16049 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'
16050 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
16051 $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'
16053 # Both c and cxx compiler support -rpath directly
16054 hardcode_libdir_flag_spec='-rpath $libdir'
16056 hardcode_libdir_separator=:
16060 no_undefined_flag=' -z text'
16061 if test "$GCC" = yes; then
16063 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16064 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16065 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16068 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16069 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16070 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16072 hardcode_libdir_flag_spec='-R$libdir'
16073 hardcode_shlibpath_var=no
16075 solaris2.[0-5] | solaris2.[0-5].*) ;;
16077 # The compiler driver will combine and reorder linker options,
16078 # but understands `-z linker_flag'. GCC discards it without `$wl',
16079 # but is careful enough not to reorder.
16080 # Supported since Solaris 2.6 (maybe 2.5.1?)
16081 if test "$GCC" = yes; then
16082 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
16084 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
16088 link_all_deplibs=yes
16092 if test "x$host_vendor" = xsequent; then
16093 # Use $CC to link under sequent, because it throws in some extra .o
16094 # files that make .init and .fini sections work.
16095 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16097 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16099 hardcode_libdir_flag_spec='-L$libdir'
16100 hardcode_direct=yes
16101 hardcode_minus_L=yes
16102 hardcode_shlibpath_var=no
16106 case $host_vendor in
16108 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16109 hardcode_direct=yes # is this really true???
16112 ## LD is ld it makes a PLAMLIB
16113 ## CC just makes a GrossModule.
16114 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16115 reload_cmds='$CC -r -o $output$reload_objs'
16119 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16120 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
16123 runpath_var='LD_RUN_PATH'
16124 hardcode_shlibpath_var=no
16128 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16129 hardcode_shlibpath_var=no
16130 export_dynamic_flag_spec='-Bexport'
16134 if test -d /usr/nec; then
16135 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16136 hardcode_shlibpath_var=no
16137 runpath_var=LD_RUN_PATH
16138 hardcode_runpath_var=yes
16143 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
16144 no_undefined_flag='${wl}-z,text'
16145 archive_cmds_need_lc=no
16146 hardcode_shlibpath_var=no
16147 runpath_var='LD_RUN_PATH'
16149 if test "$GCC" = yes; then
16150 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16151 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16153 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16154 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16158 sysv5* | sco3.2v5* | sco5v6*)
16159 # Note: We can NOT use -z defs as we might desire, because we do not
16160 # link with -lc, and that would cause any symbols used from libc to
16161 # always be unresolved, which means just about no library would
16162 # ever link correctly. If we're not using GNU ld we use -z text
16163 # though, which does catch some bad symbols but isn't as heavy-handed
16165 no_undefined_flag='${wl}-z,text'
16166 allow_undefined_flag='${wl}-z,nodefs'
16167 archive_cmds_need_lc=no
16168 hardcode_shlibpath_var=no
16169 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
16170 hardcode_libdir_separator=':'
16171 link_all_deplibs=yes
16172 export_dynamic_flag_spec='${wl}-Bexport'
16173 runpath_var='LD_RUN_PATH'
16175 if test "$GCC" = yes; then
16176 archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16177 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16179 archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16180 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16185 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16186 hardcode_libdir_flag_spec='-L$libdir'
16187 hardcode_shlibpath_var=no
16196 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
16197 echo "${ECHO_T}$ld_shlibs" >&6; }
16198 test "$ld_shlibs" = no && can_build_shared=no
16201 # Do we need to explicitly link libc?
16203 case "x$archive_cmds_need_lc" in
16205 # Assume -lc should be added
16206 archive_cmds_need_lc=yes
16208 if test "$enable_shared" = yes && test "$GCC" = yes; then
16209 case $archive_cmds in
16211 # FIXME: we may have to deal with multi-command sequences.
16214 # Test whether the compiler implicitly links with -lc since on some
16215 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16216 # to ld, don't add -lc before -lgcc.
16217 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16218 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
16220 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16223 (eval $ac_compile) 2>&5
16225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16226 (exit $ac_status); } 2>conftest.err; then
16229 libobjs=conftest.$ac_objext
16231 wl=$lt_prog_compiler_wl
16232 pic_flag=$lt_prog_compiler_pic
16238 lt_save_allow_undefined_flag=$allow_undefined_flag
16239 allow_undefined_flag=
16240 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16241 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16244 (exit $ac_status); }
16246 archive_cmds_need_lc=no
16248 archive_cmds_need_lc=yes
16250 allow_undefined_flag=$lt_save_allow_undefined_flag
16252 cat conftest.err 1>&5
16255 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
16256 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
16263 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16264 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
16265 library_names_spec=
16266 libname_spec='lib$name'
16270 postuninstall_cmds=
16274 shlibpath_overrides_runpath=unknown
16276 dynamic_linker="$host_os ld.so"
16277 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16279 if test "$GCC" = yes; then
16281 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
16282 *) lt_awk_arg="/^libraries:/" ;;
16284 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16285 if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
16286 # if the path contains ";" then we assume it to be the separator
16287 # otherwise default to the standard path separator (i.e. ":") - it is
16288 # assumed that no part of a normal pathname contains ";" but that should
16289 # okay in the real world where ";" in dirpaths is itself problematic.
16290 lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
16292 lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16294 # Ok, now we have the path, separated by spaces, we can step through it
16295 # and add multilib dir if necessary.
16296 lt_tmp_lt_search_path_spec=
16297 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
16298 for lt_sys_path in $lt_search_path_spec; do
16299 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
16300 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
16302 test -d "$lt_sys_path" && \
16303 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
16306 lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
16307 BEGIN {RS=" "; FS="/|\n";} {
16310 for (lt_i = NF; lt_i > 0; lt_i--) {
16311 if ($lt_i != "" && $lt_i != ".") {
16312 if ($lt_i == "..") {
16315 if (lt_count == 0) {
16316 lt_foo="/" $lt_i lt_foo;
16323 if (lt_foo != "") { lt_freq[lt_foo]++; }
16324 if (lt_freq[lt_foo] == 1) { print lt_foo; }
16326 sys_lib_search_path_spec=`echo $lt_search_path_spec`
16328 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16330 need_lib_prefix=unknown
16331 hardcode_into_libs=no
16333 # when you set need_version to no, make sure it does not cause -set_version
16334 # flags to be left without arguments
16335 need_version=unknown
16340 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16341 shlibpath_var=LIBPATH
16343 # AIX 3 has no versioning support, so we append a major version to the name.
16344 soname_spec='${libname}${release}${shared_ext}$major'
16351 hardcode_into_libs=yes
16352 if test "$host_cpu" = ia64; then
16353 # AIX 5 supports IA64
16354 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16355 shlibpath_var=LD_LIBRARY_PATH
16357 # With GCC up to 2.95.x, collect2 would create an import file
16358 # for dependence libraries. The import file would start with
16359 # the line `#! .'. This would cause the generated library to
16360 # depend on `.', always an invalid library. This was fixed in
16361 # development snapshots of GCC prior to 3.0.
16363 aix4 | aix4.[01] | aix4.[01].*)
16364 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16366 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16369 can_build_shared=no
16373 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16374 # soname into executable. Probably we can add versioning support to
16375 # collect2, so additional links can be useful in future.
16376 if test "$aix_use_runtimelinking" = yes; then
16377 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16378 # instead of lib<name>.a to let people know that these are not
16379 # typical AIX shared libraries.
16380 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16382 # We preserve .a as extension for shared libraries through AIX4.2
16383 # and later when we are not doing run time linking.
16384 library_names_spec='${libname}${release}.a $libname.a'
16385 soname_spec='${libname}${release}${shared_ext}$major'
16387 shlibpath_var=LIBPATH
16392 library_names_spec='$libname.ixlibrary $libname.a'
16393 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16394 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'
16398 library_names_spec='${libname}${shared_ext}'
16399 dynamic_linker="$host_os ld.so"
16400 shlibpath_var=LIBRARY_PATH
16406 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16407 soname_spec='${libname}${release}${shared_ext}$major'
16408 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16409 shlibpath_var=LD_LIBRARY_PATH
16410 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16411 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16412 # the default ld.so.conf also contains /usr/contrib/lib and
16413 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16414 # libtool to hard-code these into programs
16417 cygwin* | mingw* | pw32*)
16418 version_type=windows
16423 case $GCC,$host_os in
16424 yes,cygwin* | yes,mingw* | yes,pw32*)
16425 library_names_spec='$libname.dll.a'
16426 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16427 postinstall_cmds='base_file=`basename \${file}`~
16428 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16429 dldir=$destdir/`dirname \$dlpath`~
16430 test -d \$dldir || mkdir -p \$dldir~
16431 $install_prog $dir/$dlname \$dldir/$dlname~
16432 chmod a+x \$dldir/$dlname'
16433 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16434 dlpath=$dir/\$dldll~
16436 shlibpath_overrides_runpath=yes
16440 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16441 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16442 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
16445 # MinGW DLLs use traditional 'lib' prefix
16446 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16447 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16448 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16449 # It is most probably a Windows format PATH printed by
16450 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16451 # path with ; separators, and with drive letters. We can handle the
16452 # drive letters (cygwin fileutils understands them), so leave them,
16453 # especially as we might pass files found there to a mingw objdump,
16454 # which wouldn't understand a cygwinified path. Ahh.
16455 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16457 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16461 # pw32 DLLs use 'pw' prefix rather than 'lib'
16462 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16468 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16471 dynamic_linker='Win32 ld.exe'
16472 # FIXME: first we should search . and the directory the executable is in
16476 darwin* | rhapsody*)
16477 dynamic_linker="$host_os dyld"
16478 version_type=darwin
16481 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16482 soname_spec='${libname}${release}${major}$shared_ext'
16483 shlibpath_overrides_runpath=yes
16484 shlibpath_var=DYLD_LIBRARY_PATH
16485 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16487 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
16488 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16495 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16496 soname_spec='${libname}${release}${shared_ext}$major'
16497 shlibpath_var=LD_LIBRARY_PATH
16504 freebsd* | dragonfly*)
16505 # DragonFly does not have aout. When/if they implement a new
16506 # versioning mechanism, adjust this.
16507 if test -x /usr/bin/objformat; then
16508 objformat=`/usr/bin/objformat`
16511 freebsd[123]*) objformat=aout ;;
16512 *) objformat=elf ;;
16515 version_type=freebsd-$objformat
16516 case $version_type in
16518 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16523 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16527 shlibpath_var=LD_LIBRARY_PATH
16530 shlibpath_overrides_runpath=yes
16532 freebsd3.[01]* | freebsdelf3.[01]*)
16533 shlibpath_overrides_runpath=yes
16534 hardcode_into_libs=yes
16536 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16537 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16538 shlibpath_overrides_runpath=no
16539 hardcode_into_libs=yes
16541 *) # from 4.6 on, and DragonFly
16542 shlibpath_overrides_runpath=yes
16543 hardcode_into_libs=yes
16552 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16553 soname_spec='${libname}${release}${shared_ext}$major'
16554 shlibpath_var=LD_LIBRARY_PATH
16555 hardcode_into_libs=yes
16558 hpux9* | hpux10* | hpux11*)
16559 # Give a soname corresponding to the major version so that dld.sl refuses to
16560 # link against other versions.
16567 hardcode_into_libs=yes
16568 dynamic_linker="$host_os dld.so"
16569 shlibpath_var=LD_LIBRARY_PATH
16570 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16571 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16572 soname_spec='${libname}${release}${shared_ext}$major'
16573 if test "X$HPUX_IA64_MODE" = X32; then
16574 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16576 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16578 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16582 hardcode_into_libs=yes
16583 dynamic_linker="$host_os dld.sl"
16584 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16585 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16586 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16587 soname_spec='${libname}${release}${shared_ext}$major'
16588 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16589 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16593 dynamic_linker="$host_os dld.sl"
16594 shlibpath_var=SHLIB_PATH
16595 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16596 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16597 soname_spec='${libname}${release}${shared_ext}$major'
16600 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16601 postinstall_cmds='chmod 555 $lib'
16608 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16609 soname_spec='${libname}${release}${shared_ext}$major'
16610 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16611 shlibpath_var=LD_LIBRARY_PATH
16612 shlibpath_overrides_runpath=no
16613 hardcode_into_libs=yes
16616 irix5* | irix6* | nonstopux*)
16618 nonstopux*) version_type=nonstopux ;;
16620 if test "$lt_cv_prog_gnu_ld" = yes; then
16628 soname_spec='${libname}${release}${shared_ext}$major'
16629 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16631 irix5* | nonstopux*)
16632 libsuff= shlibsuff=
16635 case $LD in # libtool.m4 will add one of these switches to LD
16636 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16637 libsuff= shlibsuff= libmagic=32-bit;;
16638 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16639 libsuff=32 shlibsuff=N32 libmagic=N32;;
16640 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16641 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16642 *) libsuff= shlibsuff= libmagic=never-match;;
16646 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16647 shlibpath_overrides_runpath=no
16648 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16649 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16650 hardcode_into_libs=yes
16653 # No shared lib support for Linux oldld, aout, or coff.
16654 linux*oldld* | linux*aout* | linux*coff*)
16658 # This must be Linux ELF.
16659 linux* | k*bsd*-gnu)
16663 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16664 soname_spec='${libname}${release}${shared_ext}$major'
16665 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16666 shlibpath_var=LD_LIBRARY_PATH
16667 shlibpath_overrides_runpath=no
16668 # This implies no fast_install, which is unacceptable.
16669 # Some rework will be needed to allow for fast_install
16670 # before this can be enabled.
16671 hardcode_into_libs=yes
16673 # Append ld.so.conf contents to the search path
16674 if test -f /etc/ld.so.conf; then
16675 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' ' '`
16676 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16679 # We used to test for /lib/ld.so.1 and disable shared libraries on
16680 # powerpc, because MkLinux only supported shared libraries with the
16681 # GNU dynamic linker. Since this was broken with cross compilers,
16682 # most powerpc-linux boxes support dynamic linking these days and
16683 # people can always --disable-shared, the test was removed, and we
16684 # assume the GNU/Linux dynamic linker is in use.
16685 dynamic_linker='GNU/Linux ld.so'
16692 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16693 soname_spec='${libname}${release}${shared_ext}$major'
16694 shlibpath_var=LD_LIBRARY_PATH
16695 shlibpath_overrides_runpath=no
16696 hardcode_into_libs=yes
16697 dynamic_linker='NetBSD ld.elf_so'
16704 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16705 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16706 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16707 dynamic_linker='NetBSD (a.out) ld.so'
16709 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16710 soname_spec='${libname}${release}${shared_ext}$major'
16711 dynamic_linker='NetBSD ld.elf_so'
16713 shlibpath_var=LD_LIBRARY_PATH
16714 shlibpath_overrides_runpath=yes
16715 hardcode_into_libs=yes
16720 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16721 shlibpath_var=LD_LIBRARY_PATH
16722 shlibpath_overrides_runpath=yes
16729 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16730 soname_spec='${libname}${release}${shared_ext}$major'
16731 shlibpath_var=LD_LIBRARY_PATH
16732 shlibpath_overrides_runpath=yes
16737 sys_lib_dlsearch_path_spec="/usr/lib"
16739 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16741 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16742 *) need_version=no ;;
16744 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16745 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16746 shlibpath_var=LD_LIBRARY_PATH
16747 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16749 openbsd2.[89] | openbsd2.[89].*)
16750 shlibpath_overrides_runpath=no
16753 shlibpath_overrides_runpath=yes
16757 shlibpath_overrides_runpath=yes
16762 libname_spec='$name'
16765 library_names_spec='$libname${shared_ext} $libname.a'
16766 dynamic_linker='OS/2 ld.exe'
16767 shlibpath_var=LIBPATH
16770 osf3* | osf4* | osf5*)
16774 soname_spec='${libname}${release}${shared_ext}$major'
16775 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16776 shlibpath_var=LD_LIBRARY_PATH
16777 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16778 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16789 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16790 soname_spec='${libname}${release}${shared_ext}$major'
16791 shlibpath_var=LD_LIBRARY_PATH
16792 shlibpath_overrides_runpath=yes
16793 hardcode_into_libs=yes
16794 # ldd complains unless libraries are executable
16795 postinstall_cmds='chmod +x $lib'
16800 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16801 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16802 shlibpath_var=LD_LIBRARY_PATH
16803 shlibpath_overrides_runpath=yes
16804 if test "$with_gnu_ld" = yes; then
16812 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16813 soname_spec='${libname}${release}${shared_ext}$major'
16814 shlibpath_var=LD_LIBRARY_PATH
16815 case $host_vendor in
16817 shlibpath_overrides_runpath=no
16819 export_dynamic_flag_spec='${wl}-Blargedynsym'
16820 runpath_var=LD_RUN_PATH
16828 shlibpath_overrides_runpath=no
16829 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16835 if test -d /usr/nec ;then
16837 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16838 soname_spec='$libname${shared_ext}.$major'
16839 shlibpath_var=LD_LIBRARY_PATH
16843 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16844 version_type=freebsd-elf
16847 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16848 soname_spec='${libname}${release}${shared_ext}$major'
16849 shlibpath_var=LD_LIBRARY_PATH
16850 hardcode_into_libs=yes
16851 if test "$with_gnu_ld" = yes; then
16852 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16853 shlibpath_overrides_runpath=no
16855 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16856 shlibpath_overrides_runpath=yes
16859 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16863 sys_lib_dlsearch_path_spec='/usr/lib'
16868 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16869 soname_spec='${libname}${release}${shared_ext}$major'
16870 shlibpath_var=LD_LIBRARY_PATH
16877 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16878 echo "${ECHO_T}$dynamic_linker" >&6; }
16879 test "$dynamic_linker" = no && can_build_shared=no
16881 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16882 echo $ECHO_N "(cached) $ECHO_C" >&6
16884 lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
16887 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
16888 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16889 echo $ECHO_N "(cached) $ECHO_C" >&6
16891 lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
16894 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
16896 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16897 if test "$GCC" = yes; then
16898 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16901 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16902 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16904 if test -n "$hardcode_libdir_flag_spec" || \
16905 test -n "$runpath_var" || \
16906 test "X$hardcode_automatic" = "Xyes" ; then
16908 # We can hardcode non-existant directories.
16909 if test "$hardcode_direct" != no &&
16910 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16911 # have to relink, otherwise we might link with an installed library
16912 # when we should be linking with a yet-to-be-installed one
16913 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
16914 test "$hardcode_minus_L" != no; then
16915 # Linking always hardcodes the temporary library directory.
16916 hardcode_action=relink
16918 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16919 hardcode_action=immediate
16922 # We cannot hardcode anything, or else we can only hardcode existing
16924 hardcode_action=unsupported
16926 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
16927 echo "${ECHO_T}$hardcode_action" >&6; }
16929 if test "$hardcode_action" = relink; then
16930 # Fast installation is not supported
16931 enable_fast_install=no
16932 elif test "$shlibpath_overrides_runpath" = yes ||
16933 test "$enable_shared" = no; then
16934 # Fast installation is not necessary
16935 enable_fast_install=needless
16940 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16941 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
16942 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
16943 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
16944 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
16945 { echo "$as_me:$LINENO: result: yes" >&5
16946 echo "${ECHO_T}yes" >&6; }
16948 # FIXME - insert some real tests, host_os isn't really good enough
16951 if test -n "$STRIP" ; then
16952 striplib="$STRIP -x"
16953 old_striplib="$STRIP -S"
16954 { echo "$as_me:$LINENO: result: yes" >&5
16955 echo "${ECHO_T}yes" >&6; }
16957 { echo "$as_me:$LINENO: result: no" >&5
16958 echo "${ECHO_T}no" >&6; }
16962 { echo "$as_me:$LINENO: result: no" >&5
16963 echo "${ECHO_T}no" >&6; }
16968 if test "x$enable_dlopen" != xyes; then
16969 enable_dlopen=unknown
16970 enable_dlopen_self=unknown
16971 enable_dlopen_self_static=unknown
16978 lt_cv_dlopen="load_add_on"
16980 lt_cv_dlopen_self=yes
16984 lt_cv_dlopen="LoadLibrary"
16989 lt_cv_dlopen="dlopen"
16994 # if libdl is installed we need to link against it
16995 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16996 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16997 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16998 echo $ECHO_N "(cached) $ECHO_C" >&6
17000 ac_check_lib_save_LIBS=$LIBS
17002 cat >conftest.$ac_ext <<_ACEOF
17005 cat confdefs.h >>conftest.$ac_ext
17006 cat >>conftest.$ac_ext <<_ACEOF
17007 /* end confdefs.h. */
17009 /* Override any GCC internal prototype to avoid an error.
17010 Use char because int might match the return type of a GCC
17011 builtin and then its argument prototype would still apply. */
17024 rm -f conftest.$ac_objext conftest$ac_exeext
17025 if { (ac_try="$ac_link"
17026 case "(($ac_try" in
17027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17028 *) ac_try_echo=$ac_try;;
17030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17031 (eval "$ac_link") 2>conftest.er1
17033 grep -v '^ *+' conftest.er1 >conftest.err
17035 cat conftest.err >&5
17036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17037 (exit $ac_status); } && {
17038 test -z "$ac_c_werror_flag" ||
17039 test ! -s conftest.err
17040 } && test -s conftest$ac_exeext &&
17041 $as_test_x conftest$ac_exeext; then
17042 ac_cv_lib_dl_dlopen=yes
17044 echo "$as_me: failed program was:" >&5
17045 sed 's/^/| /' conftest.$ac_ext >&5
17047 ac_cv_lib_dl_dlopen=no
17050 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17051 conftest$ac_exeext conftest.$ac_ext
17052 LIBS=$ac_check_lib_save_LIBS
17054 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17055 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17056 if test $ac_cv_lib_dl_dlopen = yes; then
17057 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17060 lt_cv_dlopen="dyld"
17062 lt_cv_dlopen_self=yes
17069 { echo "$as_me:$LINENO: checking for shl_load" >&5
17070 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
17071 if test "${ac_cv_func_shl_load+set}" = set; then
17072 echo $ECHO_N "(cached) $ECHO_C" >&6
17074 cat >conftest.$ac_ext <<_ACEOF
17077 cat confdefs.h >>conftest.$ac_ext
17078 cat >>conftest.$ac_ext <<_ACEOF
17079 /* end confdefs.h. */
17080 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
17081 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17082 #define shl_load innocuous_shl_load
17084 /* System header to define __stub macros and hopefully few prototypes,
17085 which can conflict with char shl_load (); below.
17086 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17087 <limits.h> exists even on freestanding compilers. */
17090 # include <limits.h>
17092 # include <assert.h>
17097 /* Override any GCC internal prototype to avoid an error.
17098 Use char because int might match the return type of a GCC
17099 builtin and then its argument prototype would still apply. */
17104 /* The GNU C library defines this for functions which it implements
17105 to always fail with ENOSYS. Some functions are actually named
17106 something starting with __ and the normal name is an alias. */
17107 #if defined __stub_shl_load || defined __stub___shl_load
17114 return shl_load ();
17119 rm -f conftest.$ac_objext conftest$ac_exeext
17120 if { (ac_try="$ac_link"
17121 case "(($ac_try" in
17122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17123 *) ac_try_echo=$ac_try;;
17125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17126 (eval "$ac_link") 2>conftest.er1
17128 grep -v '^ *+' conftest.er1 >conftest.err
17130 cat conftest.err >&5
17131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17132 (exit $ac_status); } && {
17133 test -z "$ac_c_werror_flag" ||
17134 test ! -s conftest.err
17135 } && test -s conftest$ac_exeext &&
17136 $as_test_x conftest$ac_exeext; then
17137 ac_cv_func_shl_load=yes
17139 echo "$as_me: failed program was:" >&5
17140 sed 's/^/| /' conftest.$ac_ext >&5
17142 ac_cv_func_shl_load=no
17145 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17146 conftest$ac_exeext conftest.$ac_ext
17148 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
17149 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
17150 if test $ac_cv_func_shl_load = yes; then
17151 lt_cv_dlopen="shl_load"
17153 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
17154 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
17155 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
17156 echo $ECHO_N "(cached) $ECHO_C" >&6
17158 ac_check_lib_save_LIBS=$LIBS
17160 cat >conftest.$ac_ext <<_ACEOF
17163 cat confdefs.h >>conftest.$ac_ext
17164 cat >>conftest.$ac_ext <<_ACEOF
17165 /* end confdefs.h. */
17167 /* Override any GCC internal prototype to avoid an error.
17168 Use char because int might match the return type of a GCC
17169 builtin and then its argument prototype would still apply. */
17177 return shl_load ();
17182 rm -f conftest.$ac_objext conftest$ac_exeext
17183 if { (ac_try="$ac_link"
17184 case "(($ac_try" in
17185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17186 *) ac_try_echo=$ac_try;;
17188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17189 (eval "$ac_link") 2>conftest.er1
17191 grep -v '^ *+' conftest.er1 >conftest.err
17193 cat conftest.err >&5
17194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17195 (exit $ac_status); } && {
17196 test -z "$ac_c_werror_flag" ||
17197 test ! -s conftest.err
17198 } && test -s conftest$ac_exeext &&
17199 $as_test_x conftest$ac_exeext; then
17200 ac_cv_lib_dld_shl_load=yes
17202 echo "$as_me: failed program was:" >&5
17203 sed 's/^/| /' conftest.$ac_ext >&5
17205 ac_cv_lib_dld_shl_load=no
17208 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17209 conftest$ac_exeext conftest.$ac_ext
17210 LIBS=$ac_check_lib_save_LIBS
17212 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17213 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
17214 if test $ac_cv_lib_dld_shl_load = yes; then
17215 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
17217 { echo "$as_me:$LINENO: checking for dlopen" >&5
17218 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
17219 if test "${ac_cv_func_dlopen+set}" = set; then
17220 echo $ECHO_N "(cached) $ECHO_C" >&6
17222 cat >conftest.$ac_ext <<_ACEOF
17225 cat confdefs.h >>conftest.$ac_ext
17226 cat >>conftest.$ac_ext <<_ACEOF
17227 /* end confdefs.h. */
17228 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
17229 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17230 #define dlopen innocuous_dlopen
17232 /* System header to define __stub macros and hopefully few prototypes,
17233 which can conflict with char dlopen (); below.
17234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17235 <limits.h> exists even on freestanding compilers. */
17238 # include <limits.h>
17240 # include <assert.h>
17245 /* Override any GCC internal prototype to avoid an error.
17246 Use char because int might match the return type of a GCC
17247 builtin and then its argument prototype would still apply. */
17252 /* The GNU C library defines this for functions which it implements
17253 to always fail with ENOSYS. Some functions are actually named
17254 something starting with __ and the normal name is an alias. */
17255 #if defined __stub_dlopen || defined __stub___dlopen
17267 rm -f conftest.$ac_objext conftest$ac_exeext
17268 if { (ac_try="$ac_link"
17269 case "(($ac_try" in
17270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17271 *) ac_try_echo=$ac_try;;
17273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17274 (eval "$ac_link") 2>conftest.er1
17276 grep -v '^ *+' conftest.er1 >conftest.err
17278 cat conftest.err >&5
17279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17280 (exit $ac_status); } && {
17281 test -z "$ac_c_werror_flag" ||
17282 test ! -s conftest.err
17283 } && test -s conftest$ac_exeext &&
17284 $as_test_x conftest$ac_exeext; then
17285 ac_cv_func_dlopen=yes
17287 echo "$as_me: failed program was:" >&5
17288 sed 's/^/| /' conftest.$ac_ext >&5
17290 ac_cv_func_dlopen=no
17293 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17294 conftest$ac_exeext conftest.$ac_ext
17296 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17297 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
17298 if test $ac_cv_func_dlopen = yes; then
17299 lt_cv_dlopen="dlopen"
17301 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17302 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
17303 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17304 echo $ECHO_N "(cached) $ECHO_C" >&6
17306 ac_check_lib_save_LIBS=$LIBS
17308 cat >conftest.$ac_ext <<_ACEOF
17311 cat confdefs.h >>conftest.$ac_ext
17312 cat >>conftest.$ac_ext <<_ACEOF
17313 /* end confdefs.h. */
17315 /* Override any GCC internal prototype to avoid an error.
17316 Use char because int might match the return type of a GCC
17317 builtin and then its argument prototype would still apply. */
17330 rm -f conftest.$ac_objext conftest$ac_exeext
17331 if { (ac_try="$ac_link"
17332 case "(($ac_try" in
17333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17334 *) ac_try_echo=$ac_try;;
17336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17337 (eval "$ac_link") 2>conftest.er1
17339 grep -v '^ *+' conftest.er1 >conftest.err
17341 cat conftest.err >&5
17342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17343 (exit $ac_status); } && {
17344 test -z "$ac_c_werror_flag" ||
17345 test ! -s conftest.err
17346 } && test -s conftest$ac_exeext &&
17347 $as_test_x conftest$ac_exeext; then
17348 ac_cv_lib_dl_dlopen=yes
17350 echo "$as_me: failed program was:" >&5
17351 sed 's/^/| /' conftest.$ac_ext >&5
17353 ac_cv_lib_dl_dlopen=no
17356 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17357 conftest$ac_exeext conftest.$ac_ext
17358 LIBS=$ac_check_lib_save_LIBS
17360 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17361 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17362 if test $ac_cv_lib_dl_dlopen = yes; then
17363 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17365 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17366 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
17367 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17368 echo $ECHO_N "(cached) $ECHO_C" >&6
17370 ac_check_lib_save_LIBS=$LIBS
17371 LIBS="-lsvld $LIBS"
17372 cat >conftest.$ac_ext <<_ACEOF
17375 cat confdefs.h >>conftest.$ac_ext
17376 cat >>conftest.$ac_ext <<_ACEOF
17377 /* end confdefs.h. */
17379 /* Override any GCC internal prototype to avoid an error.
17380 Use char because int might match the return type of a GCC
17381 builtin and then its argument prototype would still apply. */
17394 rm -f conftest.$ac_objext conftest$ac_exeext
17395 if { (ac_try="$ac_link"
17396 case "(($ac_try" in
17397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17398 *) ac_try_echo=$ac_try;;
17400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17401 (eval "$ac_link") 2>conftest.er1
17403 grep -v '^ *+' conftest.er1 >conftest.err
17405 cat conftest.err >&5
17406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17407 (exit $ac_status); } && {
17408 test -z "$ac_c_werror_flag" ||
17409 test ! -s conftest.err
17410 } && test -s conftest$ac_exeext &&
17411 $as_test_x conftest$ac_exeext; then
17412 ac_cv_lib_svld_dlopen=yes
17414 echo "$as_me: failed program was:" >&5
17415 sed 's/^/| /' conftest.$ac_ext >&5
17417 ac_cv_lib_svld_dlopen=no
17420 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17421 conftest$ac_exeext conftest.$ac_ext
17422 LIBS=$ac_check_lib_save_LIBS
17424 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17425 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
17426 if test $ac_cv_lib_svld_dlopen = yes; then
17427 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
17429 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17430 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
17431 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17432 echo $ECHO_N "(cached) $ECHO_C" >&6
17434 ac_check_lib_save_LIBS=$LIBS
17436 cat >conftest.$ac_ext <<_ACEOF
17439 cat confdefs.h >>conftest.$ac_ext
17440 cat >>conftest.$ac_ext <<_ACEOF
17441 /* end confdefs.h. */
17443 /* Override any GCC internal prototype to avoid an error.
17444 Use char because int might match the return type of a GCC
17445 builtin and then its argument prototype would still apply. */
17453 return dld_link ();
17458 rm -f conftest.$ac_objext conftest$ac_exeext
17459 if { (ac_try="$ac_link"
17460 case "(($ac_try" in
17461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17462 *) ac_try_echo=$ac_try;;
17464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17465 (eval "$ac_link") 2>conftest.er1
17467 grep -v '^ *+' conftest.er1 >conftest.err
17469 cat conftest.err >&5
17470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17471 (exit $ac_status); } && {
17472 test -z "$ac_c_werror_flag" ||
17473 test ! -s conftest.err
17474 } && test -s conftest$ac_exeext &&
17475 $as_test_x conftest$ac_exeext; then
17476 ac_cv_lib_dld_dld_link=yes
17478 echo "$as_me: failed program was:" >&5
17479 sed 's/^/| /' conftest.$ac_ext >&5
17481 ac_cv_lib_dld_dld_link=no
17484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17485 conftest$ac_exeext conftest.$ac_ext
17486 LIBS=$ac_check_lib_save_LIBS
17488 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17489 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
17490 if test $ac_cv_lib_dld_dld_link = yes; then
17491 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
17512 if test "x$lt_cv_dlopen" != xno; then
17518 case $lt_cv_dlopen in
17520 save_CPPFLAGS="$CPPFLAGS"
17521 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17523 save_LDFLAGS="$LDFLAGS"
17524 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17527 LIBS="$lt_cv_dlopen_libs $LIBS"
17529 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17530 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
17531 if test "${lt_cv_dlopen_self+set}" = set; then
17532 echo $ECHO_N "(cached) $ECHO_C" >&6
17534 if test "$cross_compiling" = yes; then :
17535 lt_cv_dlopen_self=cross
17537 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17538 lt_status=$lt_dlunknown
17539 cat > conftest.$ac_ext <<EOF
17540 #line 17540 "configure"
17541 #include "confdefs.h"
17550 # define LT_DLGLOBAL RTLD_GLOBAL
17553 # define LT_DLGLOBAL DL_GLOBAL
17555 # define LT_DLGLOBAL 0
17559 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17560 find out it does not work in some platform. */
17561 #ifndef LT_DLLAZY_OR_NOW
17563 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17566 # define LT_DLLAZY_OR_NOW DL_LAZY
17569 # define LT_DLLAZY_OR_NOW RTLD_NOW
17572 # define LT_DLLAZY_OR_NOW DL_NOW
17574 # define LT_DLLAZY_OR_NOW 0
17582 extern "C" void exit (int);
17585 void fnord() { int i=42;}
17588 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17589 int status = $lt_dlunknown;
17593 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17594 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17595 /* dlclose (self); */
17603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17604 (eval $ac_link) 2>&5
17606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17607 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17608 (./conftest; exit; ) >&5 2>/dev/null
17610 case x$lt_status in
17611 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17612 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
17613 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
17616 # compilation failed
17617 lt_cv_dlopen_self=no
17624 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17625 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
17627 if test "x$lt_cv_dlopen_self" = xyes; then
17628 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
17629 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17630 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
17631 if test "${lt_cv_dlopen_self_static+set}" = set; then
17632 echo $ECHO_N "(cached) $ECHO_C" >&6
17634 if test "$cross_compiling" = yes; then :
17635 lt_cv_dlopen_self_static=cross
17637 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17638 lt_status=$lt_dlunknown
17639 cat > conftest.$ac_ext <<EOF
17640 #line 17640 "configure"
17641 #include "confdefs.h"
17650 # define LT_DLGLOBAL RTLD_GLOBAL
17653 # define LT_DLGLOBAL DL_GLOBAL
17655 # define LT_DLGLOBAL 0
17659 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17660 find out it does not work in some platform. */
17661 #ifndef LT_DLLAZY_OR_NOW
17663 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17666 # define LT_DLLAZY_OR_NOW DL_LAZY
17669 # define LT_DLLAZY_OR_NOW RTLD_NOW
17672 # define LT_DLLAZY_OR_NOW DL_NOW
17674 # define LT_DLLAZY_OR_NOW 0
17682 extern "C" void exit (int);
17685 void fnord() { int i=42;}
17688 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17689 int status = $lt_dlunknown;
17693 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17694 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17695 /* dlclose (self); */
17703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17704 (eval $ac_link) 2>&5
17706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17707 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17708 (./conftest; exit; ) >&5 2>/dev/null
17710 case x$lt_status in
17711 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
17712 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
17713 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
17716 # compilation failed
17717 lt_cv_dlopen_self_static=no
17724 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
17725 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
17728 CPPFLAGS="$save_CPPFLAGS"
17729 LDFLAGS="$save_LDFLAGS"
17734 case $lt_cv_dlopen_self in
17735 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
17736 *) enable_dlopen_self=unknown ;;
17739 case $lt_cv_dlopen_self_static in
17740 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
17741 *) enable_dlopen_self_static=unknown ;;
17746 # Report which library types will actually be built
17747 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
17748 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
17749 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
17750 echo "${ECHO_T}$can_build_shared" >&6; }
17752 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
17753 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
17754 test "$can_build_shared" = "no" && enable_shared=no
17756 # On AIX, shared libraries and static libraries use the same namespace, and
17757 # are all built from PIC.
17760 test "$enable_shared" = yes && enable_static=no
17761 if test -n "$RANLIB"; then
17762 archive_cmds="$archive_cmds~\$RANLIB \$lib"
17763 postinstall_cmds='$RANLIB $lib'
17768 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
17769 test "$enable_shared" = yes && enable_static=no
17773 { echo "$as_me:$LINENO: result: $enable_shared" >&5
17774 echo "${ECHO_T}$enable_shared" >&6; }
17776 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
17777 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
17778 # Make sure either enable_shared or enable_static is yes.
17779 test "$enable_shared" = yes || enable_static=yes
17780 { echo "$as_me:$LINENO: result: $enable_static" >&5
17781 echo "${ECHO_T}$enable_static" >&6; }
17783 # The else clause should only fire when bootstrapping the
17784 # libtool distribution, otherwise you forgot to ship ltmain.sh
17785 # with your package, and you will get complaints that there are
17786 # no rules to generate ltmain.sh.
17787 if test -f "$ltmain"; then
17788 # See if we are running on zsh, and set the options which allow our commands through
17789 # without removal of \ escapes.
17790 if test -n "${ZSH_VERSION+set}" ; then
17791 setopt NO_GLOB_SUBST
17793 # Now quote all the things that may contain metacharacters while being
17794 # careful not to overquote the AC_SUBSTed values. We take copies of the
17795 # variables and quote the copies for generation of the libtool script.
17796 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17798 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17799 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17800 deplibs_check_method reload_flag reload_cmds need_locks \
17801 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17802 lt_cv_sys_global_symbol_to_c_name_address \
17803 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17804 old_postinstall_cmds old_postuninstall_cmds \
17808 lt_prog_compiler_wl \
17809 lt_prog_compiler_pic \
17810 lt_prog_compiler_static \
17811 lt_prog_compiler_no_builtin_flag \
17812 export_dynamic_flag_spec \
17813 thread_safe_flag_spec \
17814 whole_archive_flag_spec \
17815 enable_shared_with_static_runtimes \
17817 old_archive_from_new_cmds \
17822 compiler_lib_search_path \
17823 compiler_lib_search_dirs \
17825 archive_expsym_cmds \
17827 postuninstall_cmds \
17828 old_archive_from_expsyms_cmds \
17829 allow_undefined_flag \
17830 no_undefined_flag \
17831 export_symbols_cmds \
17832 hardcode_libdir_flag_spec \
17833 hardcode_libdir_flag_spec_ld \
17834 hardcode_libdir_separator \
17835 hardcode_automatic \
17837 module_expsym_cmds \
17838 lt_cv_prog_compiler_c_o \
17841 include_expsyms; do
17844 old_archive_cmds | \
17845 old_archive_from_new_cmds | \
17847 archive_expsym_cmds | \
17849 module_expsym_cmds | \
17850 old_archive_from_expsyms_cmds | \
17851 export_symbols_cmds | \
17852 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17853 postinstall_cmds | postuninstall_cmds | \
17854 old_postinstall_cmds | old_postuninstall_cmds | \
17855 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17856 # Double-quote double-evaled strings.
17857 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17860 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17866 *'\$0 --fallback-echo"')
17867 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17871 cfgfile="${ofile}T"
17872 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
17874 { echo "$as_me:$LINENO: creating $ofile" >&5
17875 echo "$as_me: creating $ofile" >&6;}
17877 cat <<__EOF__ >> "$cfgfile"
17880 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17881 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
17882 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17884 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
17885 # Free Software Foundation, Inc.
17887 # This file is part of GNU Libtool:
17888 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
17890 # This program is free software; you can redistribute it and/or modify
17891 # it under the terms of the GNU General Public License as published by
17892 # the Free Software Foundation; either version 2 of the License, or
17893 # (at your option) any later version.
17895 # This program is distributed in the hope that it will be useful, but
17896 # WITHOUT ANY WARRANTY; without even the implied warranty of
17897 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17898 # General Public License for more details.
17900 # You should have received a copy of the GNU General Public License
17901 # along with this program; if not, write to the Free Software
17902 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17904 # As a special exception to the GNU General Public License, if you
17905 # distribute this file as part of a program that contains a
17906 # configuration script generated by Autoconf, you may include it under
17907 # the same distribution terms that you use for the rest of that program.
17909 # A sed program that does not truncate output.
17912 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17913 Xsed="$SED -e 1s/^X//"
17915 # The HP-UX ksh and POSIX shell print the target directory to stdout
17916 # if CDPATH is set.
17917 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17919 # The names of the tagged configurations supported by this script.
17922 # ### BEGIN LIBTOOL CONFIG
17924 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17926 # Shell to use when invoking shell scripts.
17929 # Whether or not to build shared libraries.
17930 build_libtool_libs=$enable_shared
17932 # Whether or not to build static libraries.
17933 build_old_libs=$enable_static
17935 # Whether or not to add -lc for building shared libraries.
17936 build_libtool_need_lc=$archive_cmds_need_lc
17938 # Whether or not to disallow shared libs when runtime libs are static
17939 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17941 # Whether or not to optimize for fast installation.
17942 fast_install=$enable_fast_install
17945 host_alias=$host_alias
17949 # The build system.
17950 build_alias=$build_alias
17954 # An echo program that does not interpret backslashes.
17959 AR_FLAGS=$lt_AR_FLAGS
17964 # LTCC compiler flags.
17965 LTCFLAGS=$lt_LTCFLAGS
17967 # A language-specific compiler.
17970 # Is the compiler the GNU C compiler?
17976 # The linker used to build libraries.
17979 # Whether we need hard or soft links.
17982 # A BSD-compatible nm program.
17985 # A symbol stripping program
17988 # Used to examine libraries when file_magic_cmd begins "file"
17989 MAGIC_CMD=$MAGIC_CMD
17991 # Used on cygwin: DLL creation program.
17994 # Used on cygwin: object dumper.
17997 # Used on cygwin: assembler.
18000 # The name of the directory that contains temporary libtool files.
18003 # How to create reloadable object files.
18004 reload_flag=$lt_reload_flag
18005 reload_cmds=$lt_reload_cmds
18007 # How to pass a linker flag through the compiler.
18008 wl=$lt_lt_prog_compiler_wl
18010 # Object file suffix (normally "o").
18011 objext="$ac_objext"
18013 # Old archive suffix (normally "a").
18016 # Shared library suffix (normally ".so").
18017 shrext_cmds='$shrext_cmds'
18019 # Executable file suffix (normally "").
18022 # Additional compiler flags for building library objects.
18023 pic_flag=$lt_lt_prog_compiler_pic
18026 # What is the maximum length of a command?
18027 max_cmd_len=$lt_cv_sys_max_cmd_len
18029 # Does compiler simultaneously support -c and -o options?
18030 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18032 # Must we lock files when doing compilation?
18033 need_locks=$lt_need_locks
18035 # Do we need the lib prefix for modules?
18036 need_lib_prefix=$need_lib_prefix
18038 # Do we need a version for libraries?
18039 need_version=$need_version
18041 # Whether dlopen is supported.
18042 dlopen_support=$enable_dlopen
18044 # Whether dlopen of programs is supported.
18045 dlopen_self=$enable_dlopen_self
18047 # Whether dlopen of statically linked programs is supported.
18048 dlopen_self_static=$enable_dlopen_self_static
18050 # Compiler flag to prevent dynamic linking.
18051 link_static_flag=$lt_lt_prog_compiler_static
18053 # Compiler flag to turn off builtin functions.
18054 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18056 # Compiler flag to allow reflexive dlopens.
18057 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18059 # Compiler flag to generate shared objects directly from archives.
18060 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18062 # Compiler flag to generate thread-safe objects.
18063 thread_safe_flag_spec=$lt_thread_safe_flag_spec
18065 # Library versioning type.
18066 version_type=$version_type
18068 # Format of library name prefix.
18069 libname_spec=$lt_libname_spec
18071 # List of archive names. First name is the real one, the rest are links.
18072 # The last name is the one that the linker finds with -lNAME.
18073 library_names_spec=$lt_library_names_spec
18075 # The coded name of the library, if different from the real name.
18076 soname_spec=$lt_soname_spec
18078 # Commands used to build and install an old-style archive.
18080 old_archive_cmds=$lt_old_archive_cmds
18081 old_postinstall_cmds=$lt_old_postinstall_cmds
18082 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18084 # Create an old-style archive from a shared archive.
18085 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18087 # Create a temporary old-style archive to link instead of a shared archive.
18088 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18090 # Commands used to build and install a shared archive.
18091 archive_cmds=$lt_archive_cmds
18092 archive_expsym_cmds=$lt_archive_expsym_cmds
18093 postinstall_cmds=$lt_postinstall_cmds
18094 postuninstall_cmds=$lt_postuninstall_cmds
18096 # Commands used to build a loadable module (assumed same as above if empty)
18097 module_cmds=$lt_module_cmds
18098 module_expsym_cmds=$lt_module_expsym_cmds
18100 # Commands to strip libraries.
18101 old_striplib=$lt_old_striplib
18102 striplib=$lt_striplib
18104 # Dependencies to place before the objects being linked to create a
18106 predep_objects=$lt_predep_objects
18108 # Dependencies to place after the objects being linked to create a
18110 postdep_objects=$lt_postdep_objects
18112 # Dependencies to place before the objects being linked to create a
18114 predeps=$lt_predeps
18116 # Dependencies to place after the objects being linked to create a
18118 postdeps=$lt_postdeps
18120 # The directories searched by this compiler when creating a shared
18122 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18124 # The library search path used internally by the compiler when linking
18125 # a shared library.
18126 compiler_lib_search_path=$lt_compiler_lib_search_path
18128 # Method to check whether dependent libraries are shared objects.
18129 deplibs_check_method=$lt_deplibs_check_method
18131 # Command to use when deplibs_check_method == file_magic.
18132 file_magic_cmd=$lt_file_magic_cmd
18134 # Flag that allows shared libraries with undefined symbols to be built.
18135 allow_undefined_flag=$lt_allow_undefined_flag
18137 # Flag that forces no undefined symbols.
18138 no_undefined_flag=$lt_no_undefined_flag
18140 # Commands used to finish a libtool library installation in a directory.
18141 finish_cmds=$lt_finish_cmds
18143 # Same as above, but a single script fragment to be evaled but not shown.
18144 finish_eval=$lt_finish_eval
18146 # Take the output of nm and produce a listing of raw symbols and C names.
18147 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18149 # Transform the output of nm in a proper C declaration
18150 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18152 # Transform the output of nm in a C name address pair
18153 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18155 # This is the shared library runtime path variable.
18156 runpath_var=$runpath_var
18158 # This is the shared library path variable.
18159 shlibpath_var=$shlibpath_var
18161 # Is shlibpath searched before the hard-coded library search path?
18162 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18164 # How to hardcode a shared library path into an executable.
18165 hardcode_action=$hardcode_action
18167 # Whether we should hardcode library paths into libraries.
18168 hardcode_into_libs=$hardcode_into_libs
18170 # Flag to hardcode \$libdir into a binary during linking.
18171 # This must work even if \$libdir does not exist.
18172 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18174 # If ld is used when linking, flag to hardcode \$libdir into
18175 # a binary during linking. This must work even if \$libdir does
18177 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18179 # Whether we need a single -rpath flag with a separated argument.
18180 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18182 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18183 # resulting binary.
18184 hardcode_direct=$hardcode_direct
18186 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18187 # resulting binary.
18188 hardcode_minus_L=$hardcode_minus_L
18190 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18191 # the resulting binary.
18192 hardcode_shlibpath_var=$hardcode_shlibpath_var
18194 # Set to yes if building a shared library automatically hardcodes DIR into the library
18195 # and all subsequent libraries and executables linked against it.
18196 hardcode_automatic=$hardcode_automatic
18198 # Variables whose values should be saved in libtool wrapper scripts and
18199 # restored at relink time.
18200 variables_saved_for_relink="$variables_saved_for_relink"
18202 # Whether libtool must link a program against all its dependency libraries.
18203 link_all_deplibs=$link_all_deplibs
18205 # Compile-time system search path for libraries
18206 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18208 # Run-time system search path for libraries
18209 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18211 # Fix the shell variable \$srcfile for the compiler.
18212 fix_srcfile_path=$lt_fix_srcfile_path
18214 # Set to yes if exported symbols are required.
18215 always_export_symbols=$always_export_symbols
18217 # The commands to list exported symbols.
18218 export_symbols_cmds=$lt_export_symbols_cmds
18220 # The commands to extract the exported symbol list from a shared archive.
18221 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18223 # Symbols that should not be listed in the preloaded symbols.
18224 exclude_expsyms=$lt_exclude_expsyms
18226 # Symbols that must always be exported.
18227 include_expsyms=$lt_include_expsyms
18229 # ### END LIBTOOL CONFIG
18236 cat <<\EOF >> "$cfgfile"
18238 # AIX sometimes has problems with the GCC collect2 program. For some
18239 # reason, if we set the COLLECT_NAMES environment variable, the problems
18240 # vanish in a puff of smoke.
18241 if test "X${COLLECT_NAMES+set}" != Xset; then
18243 export COLLECT_NAMES
18249 # We use sed instead of cat because bash on DJGPP gets confused if
18250 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18251 # text mode, it properly converts lines to CR/LF. This bash problem
18252 # is reportedly fixed, but why not run on old versions too?
18253 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
18255 mv -f "$cfgfile" "$ofile" || \
18256 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18260 # If there is no Makefile yet, we rely on a make rule to execute
18261 # `config.status --recheck' to rerun these tests and create the
18262 # libtool script then.
18263 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18264 if test -f "$ltmain_in"; then
18265 test -f Makefile && make "$ltmain"
18271 ac_cpp='$CPP $CPPFLAGS'
18272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18279 # Check whether --with-tags was given.
18280 if test "${with_tags+set}" = set; then
18281 withval=$with_tags; tagnames="$withval"
18285 if test -f "$ltmain" && test -n "$tagnames"; then
18286 if test ! -f "${ofile}"; then
18287 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
18288 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
18291 if test -z "$LTCC"; then
18292 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
18293 if test -z "$LTCC"; then
18294 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
18295 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
18297 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
18298 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
18301 if test -z "$LTCFLAGS"; then
18302 eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
18305 # Extract list of available tagged configurations in $ofile.
18306 # Note that this assumes the entire list is on one line.
18307 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
18309 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
18310 for tagname in $tagnames; do
18312 # Check whether tagname contains only valid characters
18313 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
18315 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
18316 echo "$as_me: error: invalid tag name: $tagname" >&2;}
18317 { (exit 1); exit 1; }; }
18321 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
18323 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
18324 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
18325 { (exit 1); exit 1; }; }
18328 # Update the list of available tags.
18329 if test -n "$tagname"; then
18330 echo appending configuration tag \"$tagname\" to $ofile
18334 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
18335 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
18336 (test "X$CXX" != "Xg++"))) ; then
18338 ac_cpp='$CXXCPP $CPPFLAGS'
18339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18346 archive_cmds_need_lc_CXX=no
18347 allow_undefined_flag_CXX=
18348 always_export_symbols_CXX=no
18349 archive_expsym_cmds_CXX=
18350 export_dynamic_flag_spec_CXX=
18351 hardcode_direct_CXX=no
18352 hardcode_libdir_flag_spec_CXX=
18353 hardcode_libdir_flag_spec_ld_CXX=
18354 hardcode_libdir_separator_CXX=
18355 hardcode_minus_L_CXX=no
18356 hardcode_shlibpath_var_CXX=unsupported
18357 hardcode_automatic_CXX=no
18359 module_expsym_cmds_CXX=
18360 link_all_deplibs_CXX=unknown
18361 old_archive_cmds_CXX=$old_archive_cmds
18362 no_undefined_flag_CXX=
18363 whole_archive_flag_spec_CXX=
18364 enable_shared_with_static_runtimes_CXX=no
18366 # Dependencies to place before and after the object being linked:
18367 predep_objects_CXX=
18368 postdep_objects_CXX=
18371 compiler_lib_search_path_CXX=
18372 compiler_lib_search_dirs_CXX=
18374 # Source file extension for C++ test sources.
18377 # Object file extension for compiled C++ test sources.
18381 # Code to be used in simple compile tests
18382 lt_simple_compile_test_code="int some_variable = 0;"
18384 # Code to be used in simple link tests
18385 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
18387 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18389 # If no C compiler was specified, use CC.
18392 # If no C compiler flags were specified, use CFLAGS.
18393 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
18395 # Allow CC to be a program name with arguments.
18399 # save warnings/boilerplate of simple test code
18400 ac_outfile=conftest.$ac_objext
18401 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
18402 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18403 _lt_compiler_boilerplate=`cat conftest.err`
18406 ac_outfile=conftest.$ac_objext
18407 echo "$lt_simple_link_test_code" >conftest.$ac_ext
18408 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18409 _lt_linker_boilerplate=`cat conftest.err`
18413 # Allow CC to be a program name with arguments.
18418 lt_save_with_gnu_ld=$with_gnu_ld
18419 lt_save_path_LD=$lt_cv_path_LD
18420 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
18421 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
18423 $as_unset lt_cv_prog_gnu_ld
18425 if test -n "${lt_cv_path_LDCXX+set}"; then
18426 lt_cv_path_LD=$lt_cv_path_LDCXX
18428 $as_unset lt_cv_path_LD
18430 test -z "${LDCXX+set}" || LD=$LDCXX
18434 for cc_temp in $compiler""; do
18436 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18437 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18442 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18445 # We don't want -fno-exception wen compiling C++ code, so set the
18446 # no_builtin_flag separately
18447 if test "$GXX" = yes; then
18448 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
18450 lt_prog_compiler_no_builtin_flag_CXX=
18453 if test "$GXX" = yes; then
18454 # Set up default GNU C++ configuration
18457 # Check whether --with-gnu-ld was given.
18458 if test "${with_gnu_ld+set}" = set; then
18459 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
18465 if test "$GCC" = yes; then
18466 # Check if gcc -print-prog-name=ld gives a path.
18467 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
18468 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
18471 # gcc leaves a trailing carriage return which upsets mingw
18472 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
18474 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
18477 # Accept absolute paths.
18479 re_direlt='/[^/][^/]*/\.\./'
18480 # Canonicalize the pathname of ld
18481 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
18482 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
18483 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
18485 test -z "$LD" && LD="$ac_prog"
18488 # If it fails, then pretend we aren't using GCC.
18492 # If it is relative, then search for the first ld in PATH.
18493 with_gnu_ld=unknown
18496 elif test "$with_gnu_ld" = yes; then
18497 { echo "$as_me:$LINENO: checking for GNU ld" >&5
18498 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
18500 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
18501 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
18503 if test "${lt_cv_path_LD+set}" = set; then
18504 echo $ECHO_N "(cached) $ECHO_C" >&6
18506 if test -z "$LD"; then
18507 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
18508 for ac_dir in $PATH; do
18510 test -z "$ac_dir" && ac_dir=.
18511 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
18512 lt_cv_path_LD="$ac_dir/$ac_prog"
18513 # Check to see if the program is GNU ld. I'd rather use --version,
18514 # but apparently some variants of GNU ld only accept -v.
18515 # Break only if it was the GNU/non-GNU ld that we prefer.
18516 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
18517 *GNU* | *'with BFD'*)
18518 test "$with_gnu_ld" != no && break
18521 test "$with_gnu_ld" != yes && break
18528 lt_cv_path_LD="$LD" # Let the user override the test with a path.
18532 LD="$lt_cv_path_LD"
18533 if test -n "$LD"; then
18534 { echo "$as_me:$LINENO: result: $LD" >&5
18535 echo "${ECHO_T}$LD" >&6; }
18537 { echo "$as_me:$LINENO: result: no" >&5
18538 echo "${ECHO_T}no" >&6; }
18540 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
18541 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
18542 { (exit 1); exit 1; }; }
18543 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
18544 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
18545 if test "${lt_cv_prog_gnu_ld+set}" = set; then
18546 echo $ECHO_N "(cached) $ECHO_C" >&6
18548 # I'd rather use --version here, but apparently some GNU lds only accept -v.
18549 case `$LD -v 2>&1 </dev/null` in
18550 *GNU* | *'with BFD'*)
18551 lt_cv_prog_gnu_ld=yes
18554 lt_cv_prog_gnu_ld=no
18558 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
18559 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
18560 with_gnu_ld=$lt_cv_prog_gnu_ld
18564 # Check if GNU C++ uses GNU ld as the underlying linker, since the
18565 # archiving commands below assume that GNU ld is being used.
18566 if test "$with_gnu_ld" = yes; then
18567 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18568 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'
18570 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
18571 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18573 # If archive_cmds runs LD, not CC, wlarc should be empty
18574 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
18575 # investigate it a little bit more. (MM)
18578 # ancient GNU ld didn't support --whole-archive et. al.
18579 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
18580 grep 'no-whole-archive' > /dev/null; then
18581 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18583 whole_archive_flag_spec_CXX=
18589 # A generic and very simple default shared library creation
18590 # command for GNU C++ for the case where it uses the native
18591 # linker, instead of GNU ld. If possible, this setting should
18592 # overridden to take advantage of the native linker features on
18593 # the platform it is being used on.
18594 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18597 # Commands to make compiler produce verbose output that lists
18598 # what "hidden" libraries, object files and flags are used when
18599 # linking a shared library.
18600 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
18608 # PORTME: fill in a description of your system's C++ link characteristics
18609 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18610 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
18614 # FIXME: insert proper C++ library support
18618 if test "$host_cpu" = ia64; then
18619 # On IA64, the linker does run time linking by default, so we don't
18620 # have to do anything special.
18621 aix_use_runtimelinking=no
18622 exp_sym_flag='-Bexport'
18625 aix_use_runtimelinking=no
18627 # Test if we are trying to use run time linking or normal
18628 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18629 # need to do runtime linking.
18630 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
18631 for ld_flag in $LDFLAGS; do
18634 aix_use_runtimelinking=yes
18642 exp_sym_flag='-bexport'
18643 no_entry_flag='-bnoentry'
18646 # When large executables or shared objects are built, AIX ld can
18647 # have problems creating the table of contents. If linking a library
18648 # or program results in "error TOC overflow" add -mminimal-toc to
18649 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18650 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18652 archive_cmds_CXX=''
18653 hardcode_direct_CXX=yes
18654 hardcode_libdir_separator_CXX=':'
18655 link_all_deplibs_CXX=yes
18657 if test "$GXX" = yes; then
18658 case $host_os in aix4.[012]|aix4.[012].*)
18659 # We only want to do this on AIX 4.2 and lower, the check
18660 # below for broken collect2 doesn't work under 4.3+
18661 collect2name=`${CC} -print-prog-name=collect2`
18662 if test -f "$collect2name" && \
18663 strings "$collect2name" | grep resolve_lib_name >/dev/null
18665 # We have reworked collect2
18668 # We have old collect2
18669 hardcode_direct_CXX=unsupported
18670 # It fails to find uninstalled libraries when the uninstalled
18671 # path is not listed in the libpath. Setting hardcode_minus_L
18672 # to unsupported forces relinking
18673 hardcode_minus_L_CXX=yes
18674 hardcode_libdir_flag_spec_CXX='-L$libdir'
18675 hardcode_libdir_separator_CXX=
18679 shared_flag='-shared'
18680 if test "$aix_use_runtimelinking" = yes; then
18681 shared_flag="$shared_flag "'${wl}-G'
18685 if test "$host_cpu" = ia64; then
18686 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18687 # chokes on -Wl,-G. The following line is correct:
18690 if test "$aix_use_runtimelinking" = yes; then
18691 shared_flag='${wl}-G'
18693 shared_flag='${wl}-bM:SRE'
18698 # It seems that -bexpall does not export symbols beginning with
18699 # underscore (_), so it is better to generate a list of symbols to export.
18700 always_export_symbols_CXX=yes
18701 if test "$aix_use_runtimelinking" = yes; then
18702 # Warning - without using the other runtime loading flags (-brtl),
18703 # -berok will link without error, but may produce a broken library.
18704 allow_undefined_flag_CXX='-berok'
18705 # Determine the default libpath from the value encoded in an empty executable.
18706 cat >conftest.$ac_ext <<_ACEOF
18709 cat confdefs.h >>conftest.$ac_ext
18710 cat >>conftest.$ac_ext <<_ACEOF
18711 /* end confdefs.h. */
18721 rm -f conftest.$ac_objext conftest$ac_exeext
18722 if { (ac_try="$ac_link"
18723 case "(($ac_try" in
18724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18725 *) ac_try_echo=$ac_try;;
18727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18728 (eval "$ac_link") 2>conftest.er1
18730 grep -v '^ *+' conftest.er1 >conftest.err
18732 cat conftest.err >&5
18733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18734 (exit $ac_status); } && {
18735 test -z "$ac_cxx_werror_flag" ||
18736 test ! -s conftest.err
18737 } && test -s conftest$ac_exeext &&
18738 $as_test_x conftest$ac_exeext; then
18740 lt_aix_libpath_sed='
18741 /Import File Strings/,/^$/ {
18747 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18748 # Check for a 64-bit object if we didn't find anything.
18749 if test -z "$aix_libpath"; then
18750 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18753 echo "$as_me: failed program was:" >&5
18754 sed 's/^/| /' conftest.$ac_ext >&5
18759 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18760 conftest$ac_exeext conftest.$ac_ext
18761 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18763 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
18765 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"
18767 if test "$host_cpu" = ia64; then
18768 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
18769 allow_undefined_flag_CXX="-z nodefs"
18770 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"
18772 # Determine the default libpath from the value encoded in an empty executable.
18773 cat >conftest.$ac_ext <<_ACEOF
18776 cat confdefs.h >>conftest.$ac_ext
18777 cat >>conftest.$ac_ext <<_ACEOF
18778 /* end confdefs.h. */
18788 rm -f conftest.$ac_objext conftest$ac_exeext
18789 if { (ac_try="$ac_link"
18790 case "(($ac_try" in
18791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18792 *) ac_try_echo=$ac_try;;
18794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18795 (eval "$ac_link") 2>conftest.er1
18797 grep -v '^ *+' conftest.er1 >conftest.err
18799 cat conftest.err >&5
18800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18801 (exit $ac_status); } && {
18802 test -z "$ac_cxx_werror_flag" ||
18803 test ! -s conftest.err
18804 } && test -s conftest$ac_exeext &&
18805 $as_test_x conftest$ac_exeext; then
18807 lt_aix_libpath_sed='
18808 /Import File Strings/,/^$/ {
18814 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18815 # Check for a 64-bit object if we didn't find anything.
18816 if test -z "$aix_libpath"; then
18817 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18820 echo "$as_me: failed program was:" >&5
18821 sed 's/^/| /' conftest.$ac_ext >&5
18826 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18827 conftest$ac_exeext conftest.$ac_ext
18828 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18830 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
18831 # Warning - without using the other run time loading flags,
18832 # -berok will link without error, but may produce a broken library.
18833 no_undefined_flag_CXX=' ${wl}-bernotok'
18834 allow_undefined_flag_CXX=' ${wl}-berok'
18835 # Exported symbols can be pulled into shared objects from archives
18836 whole_archive_flag_spec_CXX='$convenience'
18837 archive_cmds_need_lc_CXX=yes
18838 # This is similar to how AIX traditionally builds its shared libraries.
18839 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'
18845 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18846 allow_undefined_flag_CXX=unsupported
18847 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18848 # support --undefined. This deserves some investigation. FIXME
18849 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18856 case $cc_basename in
18858 # FIXME: insert proper C++ library support
18864 cygwin* | mingw* | pw32*)
18865 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
18866 # as there is no search path for DLLs.
18867 hardcode_libdir_flag_spec_CXX='-L$libdir'
18868 allow_undefined_flag_CXX=unsupported
18869 always_export_symbols_CXX=no
18870 enable_shared_with_static_runtimes_CXX=yes
18872 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
18873 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'
18874 # If the export-symbols file already is a .def file (1st line
18875 # is EXPORTS), use it as is; otherwise, prepend...
18876 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18877 cp $export_symbols $output_objdir/$soname.def;
18879 echo EXPORTS > $output_objdir/$soname.def;
18880 cat $export_symbols >> $output_objdir/$soname.def;
18882 $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'
18887 darwin* | rhapsody*)
18888 archive_cmds_need_lc_CXX=no
18889 hardcode_direct_CXX=no
18890 hardcode_automatic_CXX=yes
18891 hardcode_shlibpath_var_CXX=unsupported
18892 whole_archive_flag_spec_CXX=''
18893 link_all_deplibs_CXX=yes
18894 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
18895 if test "$GXX" = yes ; then
18896 output_verbose_link_cmd='echo'
18897 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
18898 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
18899 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
18900 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
18901 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
18902 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
18903 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
18906 case $cc_basename in
18908 output_verbose_link_cmd='echo'
18909 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'
18910 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18911 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18912 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}'
18913 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}'
18923 case $cc_basename in
18925 # FIXME: insert proper C++ library support
18929 # Green Hills C++ Compiler
18930 # FIXME: insert proper C++ library support
18934 # FIXME: insert proper C++ library support
18940 # C++ shared libraries reported to be fairly broken before switch to ELF
18944 archive_cmds_need_lc_CXX=no
18946 freebsd* | dragonfly*)
18947 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
18954 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
18955 hardcode_libdir_separator_CXX=:
18956 export_dynamic_flag_spec_CXX='${wl}-E'
18957 hardcode_direct_CXX=yes
18958 hardcode_minus_L_CXX=yes # Not in the search PATH,
18959 # but as the default
18960 # location of the library.
18962 case $cc_basename in
18964 # FIXME: insert proper C++ library support
18968 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'
18969 # Commands to make compiler produce verbose output that lists
18970 # what "hidden" libraries, object files and flags are used when
18971 # linking a shared library.
18973 # There doesn't appear to be a way to prevent this compiler from
18974 # explicitly linking system object files so we need to strip them
18975 # from the output so that they don't get included in the library
18977 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'
18980 if test "$GXX" = yes; then
18981 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'
18983 # FIXME: insert proper C++ library support
18990 if test $with_gnu_ld = no; then
18991 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
18992 hardcode_libdir_separator_CXX=:
18997 export_dynamic_flag_spec_CXX='${wl}-E'
19003 hardcode_direct_CXX=no
19004 hardcode_shlibpath_var_CXX=no
19007 hardcode_direct_CXX=yes
19008 hardcode_minus_L_CXX=yes # Not in the search PATH,
19009 # but as the default
19010 # location of the library.
19014 case $cc_basename in
19016 # FIXME: insert proper C++ library support
19022 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19025 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19028 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19031 # Commands to make compiler produce verbose output that lists
19032 # what "hidden" libraries, object files and flags are used when
19033 # linking a shared library.
19035 # There doesn't appear to be a way to prevent this compiler from
19036 # explicitly linking system object files so we need to strip them
19037 # from the output so that they don't get included in the library
19039 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'
19042 if test "$GXX" = yes; then
19043 if test $with_gnu_ld = no; then
19046 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19049 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19052 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'
19057 # FIXME: insert proper C++ library support
19064 hardcode_direct_CXX=no
19065 hardcode_shlibpath_var_CXX=no
19066 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
19067 export_dynamic_flag_spec_CXX='${wl}-E'
19068 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
19069 # Instead, shared libraries are loaded at an image base (0x10000000 by
19070 # default) and relocated if they conflict, which is a slow very memory
19071 # consuming and fragmenting process. To avoid this, we pick a random,
19072 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
19073 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
19074 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'
19075 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'
19078 case $cc_basename in
19081 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'
19083 # Archives containing C++ object files must be created using
19084 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
19085 # necessary to make sure instantiated templates are included
19087 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
19090 if test "$GXX" = yes; then
19091 if test "$with_gnu_ld" = no; then
19092 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'
19094 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'
19097 link_all_deplibs_CXX=yes
19100 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
19101 hardcode_libdir_separator_CXX=:
19103 linux* | k*bsd*-gnu)
19104 case $cc_basename in
19106 # Kuck and Associates, Inc. (KAI) C++ Compiler
19108 # KCC will only create a shared library if the output file
19109 # ends with ".so" (or ".sl" for HP-UX), so rename the library
19110 # to its proper name (with version) after linking.
19111 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'
19112 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'
19113 # Commands to make compiler produce verbose output that lists
19114 # what "hidden" libraries, object files and flags are used when
19115 # linking a shared library.
19117 # There doesn't appear to be a way to prevent this compiler from
19118 # explicitly linking system object files so we need to strip them
19119 # from the output so that they don't get included in the library
19121 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'
19123 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
19124 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
19126 # Archives containing C++ object files must be created using
19127 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
19128 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
19133 # version 8.0 and above of icpc choke on multiply defined symbols
19134 # if we add $predep_objects and $postdep_objects, however 7.1 and
19135 # earlier do not add the objects themselves.
19136 case `$CC -V 2>&1` in
19138 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
19139 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'
19141 *) # Version 8.0 or newer
19144 ia64*) tmp_idyn=' -i_dynamic';;
19146 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19147 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'
19150 archive_cmds_need_lc_CXX=no
19151 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
19152 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
19153 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
19156 # Portland Group C++ compiler
19157 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
19158 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'
19160 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
19161 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
19162 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'
19166 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
19167 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'
19169 runpath_var=LD_RUN_PATH
19170 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
19171 hardcode_libdir_separator_CXX=:
19173 # Commands to make compiler produce verbose output that lists
19174 # what "hidden" libraries, object files and flags are used when
19175 # linking a shared library.
19177 # There doesn't appear to be a way to prevent this compiler from
19178 # explicitly linking system object files so we need to strip them
19179 # from the output so that they don't get included in the library
19181 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'
19184 case `$CC -V 2>&1 | sed 5q` in
19187 no_undefined_flag_CXX=' -zdefs'
19188 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19189 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'
19190 hardcode_libdir_flag_spec_CXX='-R$libdir'
19191 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'
19193 # Not sure whether something based on
19194 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
19196 output_verbose_link_cmd='echo'
19198 # Archives containing C++ object files must be created using
19199 # "CC -xar", where "CC" is the Sun C++ compiler. This is
19200 # necessary to make sure instantiated templates are included
19202 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
19209 # FIXME: insert proper C++ library support
19213 # FIXME: insert proper C++ library support
19217 case $cc_basename in
19219 # FIXME: insert proper C++ library support
19223 # FIXME: insert proper C++ library support
19228 netbsd* | netbsdelf*-gnu)
19229 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19230 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
19232 hardcode_libdir_flag_spec_CXX='-R$libdir'
19233 hardcode_direct_CXX=yes
19234 hardcode_shlibpath_var_CXX=no
19236 # Workaround some broken pre-1.5 toolchains
19237 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
19240 # C++ shared libraries are fairly broken
19244 if test -f /usr/libexec/ld.so; then
19245 hardcode_direct_CXX=yes
19246 hardcode_shlibpath_var_CXX=no
19247 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
19248 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
19249 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19250 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
19251 export_dynamic_flag_spec_CXX='${wl}-E'
19252 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
19254 output_verbose_link_cmd='echo'
19260 case $cc_basename in
19262 # Kuck and Associates, Inc. (KAI) C++ Compiler
19264 # KCC will only create a shared library if the output file
19265 # ends with ".so" (or ".sl" for HP-UX), so rename the library
19266 # to its proper name (with version) after linking.
19267 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'
19269 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
19270 hardcode_libdir_separator_CXX=:
19272 # Archives containing C++ object files must be created using
19273 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
19274 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
19278 # Rational C++ 2.4.1
19279 # FIXME: insert proper C++ library support
19283 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
19284 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'
19286 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
19287 hardcode_libdir_separator_CXX=:
19289 # Commands to make compiler produce verbose output that lists
19290 # what "hidden" libraries, object files and flags are used when
19291 # linking a shared library.
19293 # There doesn't appear to be a way to prevent this compiler from
19294 # explicitly linking system object files so we need to strip them
19295 # from the output so that they don't get included in the library
19297 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'
19300 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
19301 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
19302 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'
19304 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
19305 hardcode_libdir_separator_CXX=:
19307 # Commands to make compiler produce verbose output that lists
19308 # what "hidden" libraries, object files and flags are used when
19309 # linking a shared library.
19310 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
19313 # FIXME: insert proper C++ library support
19320 case $cc_basename in
19322 # Kuck and Associates, Inc. (KAI) C++ Compiler
19324 # KCC will only create a shared library if the output file
19325 # ends with ".so" (or ".sl" for HP-UX), so rename the library
19326 # to its proper name (with version) after linking.
19327 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'
19329 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
19330 hardcode_libdir_separator_CXX=:
19332 # Archives containing C++ object files must be created using
19333 # the KAI C++ compiler.
19334 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
19337 # Rational C++ 2.4.1
19338 # FIXME: insert proper C++ library support
19342 allow_undefined_flag_CXX=' -expect_unresolved \*'
19343 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'
19344 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
19345 echo "-hidden">> $lib.exp~
19346 $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~
19349 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
19350 hardcode_libdir_separator_CXX=:
19352 # Commands to make compiler produce verbose output that lists
19353 # what "hidden" libraries, object files and flags are used when
19354 # linking a shared library.
19356 # There doesn't appear to be a way to prevent this compiler from
19357 # explicitly linking system object files so we need to strip them
19358 # from the output so that they don't get included in the library
19360 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'
19363 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
19364 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
19365 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'
19367 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
19368 hardcode_libdir_separator_CXX=:
19370 # Commands to make compiler produce verbose output that lists
19371 # what "hidden" libraries, object files and flags are used when
19372 # linking a shared library.
19373 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
19376 # FIXME: insert proper C++ library support
19383 # FIXME: insert proper C++ library support
19387 case $cc_basename in
19390 # FIXME: insert proper C++ library support
19395 # FIXME: insert proper C++ library support
19399 # FIXME: insert proper C++ library support
19405 case $cc_basename in
19407 # Sun C++ 4.2, 5.x and Centerline C++
19408 archive_cmds_need_lc_CXX=yes
19409 no_undefined_flag_CXX=' -zdefs'
19410 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19411 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19412 $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'
19414 hardcode_libdir_flag_spec_CXX='-R$libdir'
19415 hardcode_shlibpath_var_CXX=no
19417 solaris2.[0-5] | solaris2.[0-5].*) ;;
19419 # The compiler driver will combine and reorder linker options,
19420 # but understands `-z linker_flag'.
19421 # Supported since Solaris 2.6 (maybe 2.5.1?)
19422 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
19425 link_all_deplibs_CXX=yes
19427 output_verbose_link_cmd='echo'
19429 # Archives containing C++ object files must be created using
19430 # "CC -xar", where "CC" is the Sun C++ compiler. This is
19431 # necessary to make sure instantiated templates are included
19433 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
19436 # Green Hills C++ Compiler
19437 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19439 # The C++ compiler must be used to create the archive.
19440 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
19443 # GNU C++ compiler with Solaris linker
19444 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
19445 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
19446 if $CC --version | grep -v '^2\.7' > /dev/null; then
19447 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19448 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19449 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
19451 # Commands to make compiler produce verbose output that lists
19452 # what "hidden" libraries, object files and flags are used when
19453 # linking a shared library.
19454 output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
19456 # g++ 2.7 appears to require `-G' NOT `-shared' on this
19458 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19459 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19460 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
19462 # Commands to make compiler produce verbose output that lists
19463 # what "hidden" libraries, object files and flags are used when
19464 # linking a shared library.
19465 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
19468 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
19470 solaris2.[0-5] | solaris2.[0-5].*) ;;
19472 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
19479 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
19480 no_undefined_flag_CXX='${wl}-z,text'
19481 archive_cmds_need_lc_CXX=no
19482 hardcode_shlibpath_var_CXX=no
19483 runpath_var='LD_RUN_PATH'
19485 case $cc_basename in
19487 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19488 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19491 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19492 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19496 sysv5* | sco3.2v5* | sco5v6*)
19497 # Note: We can NOT use -z defs as we might desire, because we do not
19498 # link with -lc, and that would cause any symbols used from libc to
19499 # always be unresolved, which means just about no library would
19500 # ever link correctly. If we're not using GNU ld we use -z text
19501 # though, which does catch some bad symbols but isn't as heavy-handed
19503 # For security reasons, it is highly recommended that you always
19504 # use absolute paths for naming shared libraries, and exclude the
19505 # DT_RUNPATH tag from executables and libraries. But doing so
19506 # requires that you compile everything twice, which is a pain.
19507 # So that behaviour is only enabled if SCOABSPATH is set to a
19508 # non-empty value in the environment. Most likely only useful for
19509 # creating official distributions of packages.
19510 # This is a hack until libtool officially supports absolute path
19511 # names for shared libraries.
19512 no_undefined_flag_CXX='${wl}-z,text'
19513 allow_undefined_flag_CXX='${wl}-z,nodefs'
19514 archive_cmds_need_lc_CXX=no
19515 hardcode_shlibpath_var_CXX=no
19516 hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
19517 hardcode_libdir_separator_CXX=':'
19518 link_all_deplibs_CXX=yes
19519 export_dynamic_flag_spec_CXX='${wl}-Bexport'
19520 runpath_var='LD_RUN_PATH'
19522 case $cc_basename in
19524 archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19525 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19528 archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19529 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19534 case $cc_basename in
19536 # NonStop-UX NCC 3.20
19537 # FIXME: insert proper C++ library support
19541 # FIXME: insert proper C++ library support
19547 # FIXME: insert proper C++ library support
19551 # FIXME: insert proper C++ library support
19555 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
19556 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
19557 test "$ld_shlibs_CXX" = no && can_build_shared=no
19562 cat > conftest.$ac_ext <<EOF
19566 Foo (void) { a = 0; }
19572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19573 (eval $ac_compile) 2>&5
19575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19576 (exit $ac_status); }; then
19577 # Parse the compiler output and extract the necessary
19578 # objects, libraries and library flags.
19580 # Sentinel used to keep track of whether or not we are before
19581 # the conftest object file.
19582 pre_test_object_deps_done=no
19584 # The `*' in the case matches for architectures that use `case' in
19585 # $output_verbose_cmd can trigger glob expansion during the loop
19586 # eval without this substitution.
19587 output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
19589 for p in `eval $output_verbose_link_cmd`; do
19593 # Some compilers place space between "-{L,R}" and the path.
19594 # Remove the space.
19595 if test $p = "-L" \
19596 || test $p = "-R"; then
19603 if test "$pre_test_object_deps_done" = no; then
19606 # Internal compiler library paths should come after those
19607 # provided the user. The postdeps already come after the
19608 # user supplied libs so there is no need to process them.
19609 if test -z "$compiler_lib_search_path_CXX"; then
19610 compiler_lib_search_path_CXX="${prev}${p}"
19612 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
19615 # The "-l" case would never come before the object being
19616 # linked, so don't bother handling this case.
19619 if test -z "$postdeps_CXX"; then
19620 postdeps_CXX="${prev}${p}"
19622 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
19628 # This assumes that the test object file only shows up
19629 # once in the compiler output.
19630 if test "$p" = "conftest.$objext"; then
19631 pre_test_object_deps_done=yes
19635 if test "$pre_test_object_deps_done" = no; then
19636 if test -z "$predep_objects_CXX"; then
19637 predep_objects_CXX="$p"
19639 predep_objects_CXX="$predep_objects_CXX $p"
19642 if test -z "$postdep_objects_CXX"; then
19643 postdep_objects_CXX="$p"
19645 postdep_objects_CXX="$postdep_objects_CXX $p"
19650 *) ;; # Ignore the rest.
19658 echo "libtool.m4: error: problem compiling CXX test program"
19661 $rm -f confest.$objext
19663 compiler_lib_search_dirs_CXX=
19664 if test -n "$compiler_lib_search_path_CXX"; then
19665 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
19668 # PORTME: override above test on systems where it is broken
19671 # Interix 3.5 installs completely hosed .la files for C++, so rather than
19672 # hack all around it, let's just trust "g++" to DTRT.
19673 predep_objects_CXX=
19674 postdep_objects_CXX=
19679 case `$CC -V 2>&1 | sed 5q` in
19683 # The more standards-conforming stlport4 library is
19684 # incompatible with the Cstd library. Avoid specifying
19685 # it if it's in CXXFLAGS. Ignore libCrun as
19686 # -library=stlport4 depends on it.
19687 case " $CXX $CXXFLAGS " in
19688 *" -library=stlport4 "*)
19689 solaris_use_stlport4=yes
19692 if test "$solaris_use_stlport4" != yes; then
19693 postdeps_CXX='-library=Cstd -library=Crun'
19700 case $cc_basename in
19702 # The more standards-conforming stlport4 library is
19703 # incompatible with the Cstd library. Avoid specifying
19704 # it if it's in CXXFLAGS. Ignore libCrun as
19705 # -library=stlport4 depends on it.
19706 case " $CXX $CXXFLAGS " in
19707 *" -library=stlport4 "*)
19708 solaris_use_stlport4=yes
19712 # Adding this requires a known-good setup of shared libraries for
19713 # Sun compiler versions before 5.6, else PIC objects from an old
19714 # archive will be linked into the output, leading to subtle bugs.
19715 if test "$solaris_use_stlport4" != yes; then
19716 postdeps_CXX='-library=Cstd -library=Crun'
19723 case " $postdeps_CXX " in
19724 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
19727 lt_prog_compiler_wl_CXX=
19728 lt_prog_compiler_pic_CXX=
19729 lt_prog_compiler_static_CXX=
19731 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
19732 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
19734 # C++ specific cases for pic, static, wl, etc.
19735 if test "$GXX" = yes; then
19736 lt_prog_compiler_wl_CXX='-Wl,'
19737 lt_prog_compiler_static_CXX='-static'
19741 # All AIX code is PIC.
19742 if test "$host_cpu" = ia64; then
19743 # AIX 5 now supports IA64 processor
19744 lt_prog_compiler_static_CXX='-Bstatic'
19748 # FIXME: we need at least 68020 code to build shared libraries, but
19749 # adding the `-m68020' flag to GCC prevents building anything better,
19751 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
19753 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
19754 # PIC is the default for these OSes.
19756 mingw* | cygwin* | os2* | pw32*)
19757 # This hack is so that the source file can tell whether it is being
19758 # built for inclusion in a dll (and should export symbols for example).
19759 # Although the cygwin gcc ignores -fPIC, still need this for old-style
19760 # (--disable-auto-import) libraries
19761 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
19763 darwin* | rhapsody*)
19764 # PIC is the default on this platform
19765 # Common symbols not allowed in MH_DYLIB files
19766 lt_prog_compiler_pic_CXX='-fno-common'
19769 # DJGPP does not support shared libraries at all
19770 lt_prog_compiler_pic_CXX=
19773 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
19774 # Instead, we relocate shared libraries at runtime.
19777 if test -d /usr/nec; then
19778 lt_prog_compiler_pic_CXX=-Kconform_pic
19782 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19783 # not for PA HP-UX.
19788 lt_prog_compiler_pic_CXX='-fPIC'
19793 lt_prog_compiler_pic_CXX='-fPIC'
19799 # All AIX code is PIC.
19800 if test "$host_cpu" = ia64; then
19801 # AIX 5 now supports IA64 processor
19802 lt_prog_compiler_static_CXX='-Bstatic'
19804 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
19808 case $cc_basename in
19810 # Green Hills C++ Compiler
19811 # _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"
19816 # PIC is the default on this platform
19817 # Common symbols not allowed in MH_DYLIB files
19818 case $cc_basename in
19820 lt_prog_compiler_pic_CXX='-qnocommon'
19821 lt_prog_compiler_wl_CXX='-Wl,'
19826 case $cc_basename in
19828 lt_prog_compiler_pic_CXX='-KPIC'
19831 # Green Hills C++ Compiler
19832 lt_prog_compiler_pic_CXX='-pic'
19838 freebsd* | dragonfly*)
19839 # FreeBSD uses GNU C++
19841 hpux9* | hpux10* | hpux11*)
19842 case $cc_basename in
19844 lt_prog_compiler_wl_CXX='-Wl,'
19845 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
19846 if test "$host_cpu" != ia64; then
19847 lt_prog_compiler_pic_CXX='+Z'
19851 lt_prog_compiler_wl_CXX='-Wl,'
19852 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
19858 lt_prog_compiler_pic_CXX='+Z'
19867 # This is c89, which is MS Visual C++ (no shared libs)
19868 # Anyone wants to do a port?
19870 irix5* | irix6* | nonstopux*)
19871 case $cc_basename in
19873 lt_prog_compiler_wl_CXX='-Wl,'
19874 lt_prog_compiler_static_CXX='-non_shared'
19875 # CC pic flag -KPIC is the default.
19881 linux* | k*bsd*-gnu)
19882 case $cc_basename in
19885 lt_prog_compiler_wl_CXX='--backend -Wl,'
19886 lt_prog_compiler_pic_CXX='-fPIC'
19890 lt_prog_compiler_wl_CXX='-Wl,'
19891 lt_prog_compiler_pic_CXX='-KPIC'
19892 lt_prog_compiler_static_CXX='-static'
19895 # Portland Group C++ compiler.
19896 lt_prog_compiler_wl_CXX='-Wl,'
19897 lt_prog_compiler_pic_CXX='-fpic'
19898 lt_prog_compiler_static_CXX='-Bstatic'
19902 # Make sure the PIC flag is empty. It appears that all Alpha
19903 # Linux and Compaq Tru64 Unix objects are PIC.
19904 lt_prog_compiler_pic_CXX=
19905 lt_prog_compiler_static_CXX='-non_shared'
19908 case `$CC -V 2>&1 | sed 5q` in
19911 lt_prog_compiler_pic_CXX='-KPIC'
19912 lt_prog_compiler_static_CXX='-Bstatic'
19913 lt_prog_compiler_wl_CXX='-Qoption ld '
19924 case $cc_basename in
19926 lt_prog_compiler_pic_CXX='-W c,exportall'
19932 netbsd* | netbsdelf*-gnu)
19934 osf3* | osf4* | osf5*)
19935 case $cc_basename in
19937 lt_prog_compiler_wl_CXX='--backend -Wl,'
19940 # Rational C++ 2.4.1
19941 lt_prog_compiler_pic_CXX='-pic'
19944 # Digital/Compaq C++
19945 lt_prog_compiler_wl_CXX='-Wl,'
19946 # Make sure the PIC flag is empty. It appears that all Alpha
19947 # Linux and Compaq Tru64 Unix objects are PIC.
19948 lt_prog_compiler_pic_CXX=
19949 lt_prog_compiler_static_CXX='-non_shared'
19958 case $cc_basename in
19960 # Sun C++ 4.2, 5.x and Centerline C++
19961 lt_prog_compiler_pic_CXX='-KPIC'
19962 lt_prog_compiler_static_CXX='-Bstatic'
19963 lt_prog_compiler_wl_CXX='-Qoption ld '
19966 # Green Hills C++ Compiler
19967 lt_prog_compiler_pic_CXX='-PIC'
19974 case $cc_basename in
19977 lt_prog_compiler_pic_CXX='-pic'
19978 lt_prog_compiler_static_CXX='-Bstatic'
19982 lt_prog_compiler_pic_CXX='-pic'
19989 case $cc_basename in
19991 # NonStop-UX NCC 3.20
19992 lt_prog_compiler_pic_CXX='-KPIC'
19998 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
19999 case $cc_basename in
20001 lt_prog_compiler_wl_CXX='-Wl,'
20002 lt_prog_compiler_pic_CXX='-KPIC'
20003 lt_prog_compiler_static_CXX='-Bstatic'
20010 lt_prog_compiler_can_build_shared_CXX=no
20015 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
20016 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
20019 # Check to make sure the PIC flag actually works.
20021 if test -n "$lt_prog_compiler_pic_CXX"; then
20023 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
20024 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
20025 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
20026 echo $ECHO_N "(cached) $ECHO_C" >&6
20028 lt_cv_prog_compiler_pic_works_CXX=no
20029 ac_outfile=conftest.$ac_objext
20030 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
20031 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
20032 # Insert the option either (1) after the last *FLAGS variable, or
20033 # (2) before a word containing "conftest.", or (3) at the end.
20034 # Note that $ac_compile itself does not contain backslashes and begins
20035 # with a dollar sign (not a hyphen), so the echo should work correctly.
20036 # The option is referenced via a variable to avoid confusing sed.
20037 lt_compile=`echo "$ac_compile" | $SED \
20038 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20039 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20040 -e 's:$: $lt_compiler_flag:'`
20041 (eval echo "\"\$as_me:20041: $lt_compile\"" >&5)
20042 (eval "$lt_compile" 2>conftest.err)
20044 cat conftest.err >&5
20045 echo "$as_me:20045: \$? = $ac_status" >&5
20046 if (exit $ac_status) && test -s "$ac_outfile"; then
20047 # The compiler can only warn and ignore the option if not recognized
20048 # So say no if there are warnings other than the usual output.
20049 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
20050 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
20051 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
20052 lt_cv_prog_compiler_pic_works_CXX=yes
20058 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
20059 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
20061 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
20062 case $lt_prog_compiler_pic_CXX in
20064 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
20067 lt_prog_compiler_pic_CXX=
20068 lt_prog_compiler_can_build_shared_CXX=no
20073 # For platforms which do not support PIC, -DPIC is meaningless:
20075 lt_prog_compiler_pic_CXX=
20078 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
20083 # Check to make sure the static flag actually works.
20085 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
20086 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
20087 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
20088 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
20089 echo $ECHO_N "(cached) $ECHO_C" >&6
20091 lt_cv_prog_compiler_static_works_CXX=no
20092 save_LDFLAGS="$LDFLAGS"
20093 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
20094 echo "$lt_simple_link_test_code" > conftest.$ac_ext
20095 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
20096 # The linker can only warn and ignore the option if not recognized
20097 # So say no if there are warnings
20098 if test -s conftest.err; then
20099 # Append any errors to the config.log.
20100 cat conftest.err 1>&5
20101 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
20102 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
20103 if diff conftest.exp conftest.er2 >/dev/null; then
20104 lt_cv_prog_compiler_static_works_CXX=yes
20107 lt_cv_prog_compiler_static_works_CXX=yes
20111 LDFLAGS="$save_LDFLAGS"
20114 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
20115 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
20117 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
20120 lt_prog_compiler_static_CXX=
20124 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
20125 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
20126 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
20127 echo $ECHO_N "(cached) $ECHO_C" >&6
20129 lt_cv_prog_compiler_c_o_CXX=no
20130 $rm -r conftest 2>/dev/null
20134 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
20136 lt_compiler_flag="-o out/conftest2.$ac_objext"
20137 # Insert the option either (1) after the last *FLAGS variable, or
20138 # (2) before a word containing "conftest.", or (3) at the end.
20139 # Note that $ac_compile itself does not contain backslashes and begins
20140 # with a dollar sign (not a hyphen), so the echo should work correctly.
20141 lt_compile=`echo "$ac_compile" | $SED \
20142 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20143 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20144 -e 's:$: $lt_compiler_flag:'`
20145 (eval echo "\"\$as_me:20145: $lt_compile\"" >&5)
20146 (eval "$lt_compile" 2>out/conftest.err)
20148 cat out/conftest.err >&5
20149 echo "$as_me:20149: \$? = $ac_status" >&5
20150 if (exit $ac_status) && test -s out/conftest2.$ac_objext
20152 # The compiler can only warn and ignore the option if not recognized
20153 # So say no if there are warnings
20154 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
20155 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
20156 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
20157 lt_cv_prog_compiler_c_o_CXX=yes
20162 # SGI C++ compiler will create directory out/ii_files/ for
20163 # template instantiation
20164 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
20165 $rm out/* && rmdir out
20171 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
20172 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
20175 hard_links="nottested"
20176 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
20177 # do not overwrite the value of need_locks provided by the user
20178 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
20179 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
20182 ln conftest.a conftest.b 2>/dev/null && hard_links=no
20184 ln conftest.a conftest.b 2>&5 || hard_links=no
20185 ln conftest.a conftest.b 2>/dev/null && hard_links=no
20186 { echo "$as_me:$LINENO: result: $hard_links" >&5
20187 echo "${ECHO_T}$hard_links" >&6; }
20188 if test "$hard_links" = no; then
20189 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
20190 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
20197 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
20198 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
20200 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
20203 # If we're using GNU nm, then we don't want the "-C" option.
20204 # -C means demangle to AIX nm, but means don't demangle with GNU nm
20205 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
20206 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'
20208 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'
20212 export_symbols_cmds_CXX="$ltdll_cmds"
20215 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'
20217 linux* | k*bsd*-gnu)
20218 link_all_deplibs_CXX=no
20221 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
20224 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
20226 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
20227 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
20228 test "$ld_shlibs_CXX" = no && can_build_shared=no
20231 # Do we need to explicitly link libc?
20233 case "x$archive_cmds_need_lc_CXX" in
20235 # Assume -lc should be added
20236 archive_cmds_need_lc_CXX=yes
20238 if test "$enable_shared" = yes && test "$GCC" = yes; then
20239 case $archive_cmds_CXX in
20241 # FIXME: we may have to deal with multi-command sequences.
20244 # Test whether the compiler implicitly links with -lc since on some
20245 # systems, -lgcc has to come before -lc. If gcc already passes -lc
20246 # to ld, don't add -lc before -lgcc.
20247 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
20248 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
20250 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
20252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20253 (eval $ac_compile) 2>&5
20255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20256 (exit $ac_status); } 2>conftest.err; then
20259 libobjs=conftest.$ac_objext
20261 wl=$lt_prog_compiler_wl_CXX
20262 pic_flag=$lt_prog_compiler_pic_CXX
20268 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
20269 allow_undefined_flag_CXX=
20270 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
20271 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
20273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20274 (exit $ac_status); }
20276 archive_cmds_need_lc_CXX=no
20278 archive_cmds_need_lc_CXX=yes
20280 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
20282 cat conftest.err 1>&5
20285 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
20286 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
20293 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
20294 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
20295 library_names_spec=
20296 libname_spec='lib$name'
20300 postuninstall_cmds=
20304 shlibpath_overrides_runpath=unknown
20306 dynamic_linker="$host_os ld.so"
20307 sys_lib_dlsearch_path_spec="/lib /usr/lib"
20309 need_lib_prefix=unknown
20310 hardcode_into_libs=no
20312 # when you set need_version to no, make sure it does not cause -set_version
20313 # flags to be left without arguments
20314 need_version=unknown
20319 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
20320 shlibpath_var=LIBPATH
20322 # AIX 3 has no versioning support, so we append a major version to the name.
20323 soname_spec='${libname}${release}${shared_ext}$major'
20330 hardcode_into_libs=yes
20331 if test "$host_cpu" = ia64; then
20332 # AIX 5 supports IA64
20333 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
20334 shlibpath_var=LD_LIBRARY_PATH
20336 # With GCC up to 2.95.x, collect2 would create an import file
20337 # for dependence libraries. The import file would start with
20338 # the line `#! .'. This would cause the generated library to
20339 # depend on `.', always an invalid library. This was fixed in
20340 # development snapshots of GCC prior to 3.0.
20342 aix4 | aix4.[01] | aix4.[01].*)
20343 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
20345 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
20348 can_build_shared=no
20352 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
20353 # soname into executable. Probably we can add versioning support to
20354 # collect2, so additional links can be useful in future.
20355 if test "$aix_use_runtimelinking" = yes; then
20356 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
20357 # instead of lib<name>.a to let people know that these are not
20358 # typical AIX shared libraries.
20359 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20361 # We preserve .a as extension for shared libraries through AIX4.2
20362 # and later when we are not doing run time linking.
20363 library_names_spec='${libname}${release}.a $libname.a'
20364 soname_spec='${libname}${release}${shared_ext}$major'
20366 shlibpath_var=LIBPATH
20371 library_names_spec='$libname.ixlibrary $libname.a'
20372 # Create ${libname}_ixlibrary.a entries in /sys/libs.
20373 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'
20377 library_names_spec='${libname}${shared_ext}'
20378 dynamic_linker="$host_os ld.so"
20379 shlibpath_var=LIBRARY_PATH
20385 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20386 soname_spec='${libname}${release}${shared_ext}$major'
20387 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
20388 shlibpath_var=LD_LIBRARY_PATH
20389 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
20390 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
20391 # the default ld.so.conf also contains /usr/contrib/lib and
20392 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
20393 # libtool to hard-code these into programs
20396 cygwin* | mingw* | pw32*)
20397 version_type=windows
20402 case $GCC,$host_os in
20403 yes,cygwin* | yes,mingw* | yes,pw32*)
20404 library_names_spec='$libname.dll.a'
20405 # DLL is installed to $(libdir)/../bin by postinstall_cmds
20406 postinstall_cmds='base_file=`basename \${file}`~
20407 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
20408 dldir=$destdir/`dirname \$dlpath`~
20409 test -d \$dldir || mkdir -p \$dldir~
20410 $install_prog $dir/$dlname \$dldir/$dlname~
20411 chmod a+x \$dldir/$dlname'
20412 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
20413 dlpath=$dir/\$dldll~
20415 shlibpath_overrides_runpath=yes
20419 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
20420 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20421 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
20424 # MinGW DLLs use traditional 'lib' prefix
20425 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20426 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
20427 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
20428 # It is most probably a Windows format PATH printed by
20429 # mingw gcc, but we are running on Cygwin. Gcc prints its search
20430 # path with ; separators, and with drive letters. We can handle the
20431 # drive letters (cygwin fileutils understands them), so leave them,
20432 # especially as we might pass files found there to a mingw objdump,
20433 # which wouldn't understand a cygwinified path. Ahh.
20434 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20436 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20440 # pw32 DLLs use 'pw' prefix rather than 'lib'
20441 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20447 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
20450 dynamic_linker='Win32 ld.exe'
20451 # FIXME: first we should search . and the directory the executable is in
20455 darwin* | rhapsody*)
20456 dynamic_linker="$host_os dyld"
20457 version_type=darwin
20460 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
20461 soname_spec='${libname}${release}${major}$shared_ext'
20462 shlibpath_overrides_runpath=yes
20463 shlibpath_var=DYLD_LIBRARY_PATH
20464 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
20466 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
20473 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
20474 soname_spec='${libname}${release}${shared_ext}$major'
20475 shlibpath_var=LD_LIBRARY_PATH
20482 freebsd* | dragonfly*)
20483 # DragonFly does not have aout. When/if they implement a new
20484 # versioning mechanism, adjust this.
20485 if test -x /usr/bin/objformat; then
20486 objformat=`/usr/bin/objformat`
20489 freebsd[123]*) objformat=aout ;;
20490 *) objformat=elf ;;
20493 version_type=freebsd-$objformat
20494 case $version_type in
20496 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20501 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
20505 shlibpath_var=LD_LIBRARY_PATH
20508 shlibpath_overrides_runpath=yes
20510 freebsd3.[01]* | freebsdelf3.[01]*)
20511 shlibpath_overrides_runpath=yes
20512 hardcode_into_libs=yes
20514 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
20515 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
20516 shlibpath_overrides_runpath=no
20517 hardcode_into_libs=yes
20519 *) # from 4.6 on, and DragonFly
20520 shlibpath_overrides_runpath=yes
20521 hardcode_into_libs=yes
20530 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
20531 soname_spec='${libname}${release}${shared_ext}$major'
20532 shlibpath_var=LD_LIBRARY_PATH
20533 hardcode_into_libs=yes
20536 hpux9* | hpux10* | hpux11*)
20537 # Give a soname corresponding to the major version so that dld.sl refuses to
20538 # link against other versions.
20545 hardcode_into_libs=yes
20546 dynamic_linker="$host_os dld.so"
20547 shlibpath_var=LD_LIBRARY_PATH
20548 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20549 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20550 soname_spec='${libname}${release}${shared_ext}$major'
20551 if test "X$HPUX_IA64_MODE" = X32; then
20552 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
20554 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
20556 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20560 hardcode_into_libs=yes
20561 dynamic_linker="$host_os dld.sl"
20562 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
20563 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20564 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20565 soname_spec='${libname}${release}${shared_ext}$major'
20566 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
20567 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20571 dynamic_linker="$host_os dld.sl"
20572 shlibpath_var=SHLIB_PATH
20573 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
20574 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20575 soname_spec='${libname}${release}${shared_ext}$major'
20578 # HP-UX runs *really* slowly unless shared libraries are mode 555.
20579 postinstall_cmds='chmod 555 $lib'
20586 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20587 soname_spec='${libname}${release}${shared_ext}$major'
20588 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
20589 shlibpath_var=LD_LIBRARY_PATH
20590 shlibpath_overrides_runpath=no
20591 hardcode_into_libs=yes
20594 irix5* | irix6* | nonstopux*)
20596 nonstopux*) version_type=nonstopux ;;
20598 if test "$lt_cv_prog_gnu_ld" = yes; then
20606 soname_spec='${libname}${release}${shared_ext}$major'
20607 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
20609 irix5* | nonstopux*)
20610 libsuff= shlibsuff=
20613 case $LD in # libtool.m4 will add one of these switches to LD
20614 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
20615 libsuff= shlibsuff= libmagic=32-bit;;
20616 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
20617 libsuff=32 shlibsuff=N32 libmagic=N32;;
20618 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
20619 libsuff=64 shlibsuff=64 libmagic=64-bit;;
20620 *) libsuff= shlibsuff= libmagic=never-match;;
20624 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
20625 shlibpath_overrides_runpath=no
20626 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20627 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
20628 hardcode_into_libs=yes
20631 # No shared lib support for Linux oldld, aout, or coff.
20632 linux*oldld* | linux*aout* | linux*coff*)
20636 # This must be Linux ELF.
20637 linux* | k*bsd*-gnu)
20641 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20642 soname_spec='${libname}${release}${shared_ext}$major'
20643 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
20644 shlibpath_var=LD_LIBRARY_PATH
20645 shlibpath_overrides_runpath=no
20646 # This implies no fast_install, which is unacceptable.
20647 # Some rework will be needed to allow for fast_install
20648 # before this can be enabled.
20649 hardcode_into_libs=yes
20651 # Append ld.so.conf contents to the search path
20652 if test -f /etc/ld.so.conf; then
20653 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' ' '`
20654 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
20657 # We used to test for /lib/ld.so.1 and disable shared libraries on
20658 # powerpc, because MkLinux only supported shared libraries with the
20659 # GNU dynamic linker. Since this was broken with cross compilers,
20660 # most powerpc-linux boxes support dynamic linking these days and
20661 # people can always --disable-shared, the test was removed, and we
20662 # assume the GNU/Linux dynamic linker is in use.
20663 dynamic_linker='GNU/Linux ld.so'
20670 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20671 soname_spec='${libname}${release}${shared_ext}$major'
20672 shlibpath_var=LD_LIBRARY_PATH
20673 shlibpath_overrides_runpath=no
20674 hardcode_into_libs=yes
20675 dynamic_linker='NetBSD ld.elf_so'
20682 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20683 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20684 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20685 dynamic_linker='NetBSD (a.out) ld.so'
20687 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20688 soname_spec='${libname}${release}${shared_ext}$major'
20689 dynamic_linker='NetBSD ld.elf_so'
20691 shlibpath_var=LD_LIBRARY_PATH
20692 shlibpath_overrides_runpath=yes
20693 hardcode_into_libs=yes
20698 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20699 shlibpath_var=LD_LIBRARY_PATH
20700 shlibpath_overrides_runpath=yes
20707 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20708 soname_spec='${libname}${release}${shared_ext}$major'
20709 shlibpath_var=LD_LIBRARY_PATH
20710 shlibpath_overrides_runpath=yes
20715 sys_lib_dlsearch_path_spec="/usr/lib"
20717 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
20719 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
20720 *) need_version=no ;;
20722 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20723 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20724 shlibpath_var=LD_LIBRARY_PATH
20725 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20727 openbsd2.[89] | openbsd2.[89].*)
20728 shlibpath_overrides_runpath=no
20731 shlibpath_overrides_runpath=yes
20735 shlibpath_overrides_runpath=yes
20740 libname_spec='$name'
20743 library_names_spec='$libname${shared_ext} $libname.a'
20744 dynamic_linker='OS/2 ld.exe'
20745 shlibpath_var=LIBPATH
20748 osf3* | osf4* | osf5*)
20752 soname_spec='${libname}${release}${shared_ext}$major'
20753 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20754 shlibpath_var=LD_LIBRARY_PATH
20755 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20756 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
20767 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20768 soname_spec='${libname}${release}${shared_ext}$major'
20769 shlibpath_var=LD_LIBRARY_PATH
20770 shlibpath_overrides_runpath=yes
20771 hardcode_into_libs=yes
20772 # ldd complains unless libraries are executable
20773 postinstall_cmds='chmod +x $lib'
20778 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20779 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20780 shlibpath_var=LD_LIBRARY_PATH
20781 shlibpath_overrides_runpath=yes
20782 if test "$with_gnu_ld" = yes; then
20790 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20791 soname_spec='${libname}${release}${shared_ext}$major'
20792 shlibpath_var=LD_LIBRARY_PATH
20793 case $host_vendor in
20795 shlibpath_overrides_runpath=no
20797 export_dynamic_flag_spec='${wl}-Blargedynsym'
20798 runpath_var=LD_RUN_PATH
20806 shlibpath_overrides_runpath=no
20807 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
20813 if test -d /usr/nec ;then
20815 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
20816 soname_spec='$libname${shared_ext}.$major'
20817 shlibpath_var=LD_LIBRARY_PATH
20821 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
20822 version_type=freebsd-elf
20825 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20826 soname_spec='${libname}${release}${shared_ext}$major'
20827 shlibpath_var=LD_LIBRARY_PATH
20828 hardcode_into_libs=yes
20829 if test "$with_gnu_ld" = yes; then
20830 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
20831 shlibpath_overrides_runpath=no
20833 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
20834 shlibpath_overrides_runpath=yes
20837 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
20841 sys_lib_dlsearch_path_spec='/usr/lib'
20846 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20847 soname_spec='${libname}${release}${shared_ext}$major'
20848 shlibpath_var=LD_LIBRARY_PATH
20855 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
20856 echo "${ECHO_T}$dynamic_linker" >&6; }
20857 test "$dynamic_linker" = no && can_build_shared=no
20859 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
20860 echo $ECHO_N "(cached) $ECHO_C" >&6
20862 lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
20865 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
20866 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
20867 echo $ECHO_N "(cached) $ECHO_C" >&6
20869 lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
20872 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
20874 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
20875 if test "$GCC" = yes; then
20876 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20879 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
20880 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
20881 hardcode_action_CXX=
20882 if test -n "$hardcode_libdir_flag_spec_CXX" || \
20883 test -n "$runpath_var_CXX" || \
20884 test "X$hardcode_automatic_CXX" = "Xyes" ; then
20886 # We can hardcode non-existant directories.
20887 if test "$hardcode_direct_CXX" != no &&
20888 # If the only mechanism to avoid hardcoding is shlibpath_var, we
20889 # have to relink, otherwise we might link with an installed library
20890 # when we should be linking with a yet-to-be-installed one
20891 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
20892 test "$hardcode_minus_L_CXX" != no; then
20893 # Linking always hardcodes the temporary library directory.
20894 hardcode_action_CXX=relink
20896 # We can link without hardcoding, and we can hardcode nonexisting dirs.
20897 hardcode_action_CXX=immediate
20900 # We cannot hardcode anything, or else we can only hardcode existing
20902 hardcode_action_CXX=unsupported
20904 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
20905 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
20907 if test "$hardcode_action_CXX" = relink; then
20908 # Fast installation is not supported
20909 enable_fast_install=no
20910 elif test "$shlibpath_overrides_runpath" = yes ||
20911 test "$enable_shared" = no; then
20912 # Fast installation is not necessary
20913 enable_fast_install=needless
20917 # The else clause should only fire when bootstrapping the
20918 # libtool distribution, otherwise you forgot to ship ltmain.sh
20919 # with your package, and you will get complaints that there are
20920 # no rules to generate ltmain.sh.
20921 if test -f "$ltmain"; then
20922 # See if we are running on zsh, and set the options which allow our commands through
20923 # without removal of \ escapes.
20924 if test -n "${ZSH_VERSION+set}" ; then
20925 setopt NO_GLOB_SUBST
20927 # Now quote all the things that may contain metacharacters while being
20928 # careful not to overquote the AC_SUBSTed values. We take copies of the
20929 # variables and quote the copies for generation of the libtool script.
20930 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20932 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20933 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20934 deplibs_check_method reload_flag reload_cmds need_locks \
20935 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20936 lt_cv_sys_global_symbol_to_c_name_address \
20937 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20938 old_postinstall_cmds old_postuninstall_cmds \
20942 lt_prog_compiler_wl_CXX \
20943 lt_prog_compiler_pic_CXX \
20944 lt_prog_compiler_static_CXX \
20945 lt_prog_compiler_no_builtin_flag_CXX \
20946 export_dynamic_flag_spec_CXX \
20947 thread_safe_flag_spec_CXX \
20948 whole_archive_flag_spec_CXX \
20949 enable_shared_with_static_runtimes_CXX \
20950 old_archive_cmds_CXX \
20951 old_archive_from_new_cmds_CXX \
20952 predep_objects_CXX \
20953 postdep_objects_CXX \
20956 compiler_lib_search_path_CXX \
20957 compiler_lib_search_dirs_CXX \
20959 archive_expsym_cmds_CXX \
20960 postinstall_cmds_CXX \
20961 postuninstall_cmds_CXX \
20962 old_archive_from_expsyms_cmds_CXX \
20963 allow_undefined_flag_CXX \
20964 no_undefined_flag_CXX \
20965 export_symbols_cmds_CXX \
20966 hardcode_libdir_flag_spec_CXX \
20967 hardcode_libdir_flag_spec_ld_CXX \
20968 hardcode_libdir_separator_CXX \
20969 hardcode_automatic_CXX \
20971 module_expsym_cmds_CXX \
20972 lt_cv_prog_compiler_c_o_CXX \
20973 fix_srcfile_path_CXX \
20974 exclude_expsyms_CXX \
20975 include_expsyms_CXX; do
20978 old_archive_cmds_CXX | \
20979 old_archive_from_new_cmds_CXX | \
20980 archive_cmds_CXX | \
20981 archive_expsym_cmds_CXX | \
20982 module_cmds_CXX | \
20983 module_expsym_cmds_CXX | \
20984 old_archive_from_expsyms_cmds_CXX | \
20985 export_symbols_cmds_CXX | \
20986 extract_expsyms_cmds | reload_cmds | finish_cmds | \
20987 postinstall_cmds | postuninstall_cmds | \
20988 old_postinstall_cmds | old_postuninstall_cmds | \
20989 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
20990 # Double-quote double-evaled strings.
20991 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20994 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
21000 *'\$0 --fallback-echo"')
21001 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
21007 cat <<__EOF__ >> "$cfgfile"
21008 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
21010 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21012 # Shell to use when invoking shell scripts.
21015 # Whether or not to build shared libraries.
21016 build_libtool_libs=$enable_shared
21018 # Whether or not to build static libraries.
21019 build_old_libs=$enable_static
21021 # Whether or not to add -lc for building shared libraries.
21022 build_libtool_need_lc=$archive_cmds_need_lc_CXX
21024 # Whether or not to disallow shared libs when runtime libs are static
21025 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
21027 # Whether or not to optimize for fast installation.
21028 fast_install=$enable_fast_install
21031 host_alias=$host_alias
21035 # The build system.
21036 build_alias=$build_alias
21040 # An echo program that does not interpret backslashes.
21045 AR_FLAGS=$lt_AR_FLAGS
21050 # LTCC compiler flags.
21051 LTCFLAGS=$lt_LTCFLAGS
21053 # A language-specific compiler.
21054 CC=$lt_compiler_CXX
21056 # Is the compiler the GNU C compiler?
21062 # The linker used to build libraries.
21065 # Whether we need hard or soft links.
21068 # A BSD-compatible nm program.
21071 # A symbol stripping program
21074 # Used to examine libraries when file_magic_cmd begins "file"
21075 MAGIC_CMD=$MAGIC_CMD
21077 # Used on cygwin: DLL creation program.
21080 # Used on cygwin: object dumper.
21083 # Used on cygwin: assembler.
21086 # The name of the directory that contains temporary libtool files.
21089 # How to create reloadable object files.
21090 reload_flag=$lt_reload_flag
21091 reload_cmds=$lt_reload_cmds
21093 # How to pass a linker flag through the compiler.
21094 wl=$lt_lt_prog_compiler_wl_CXX
21096 # Object file suffix (normally "o").
21097 objext="$ac_objext"
21099 # Old archive suffix (normally "a").
21102 # Shared library suffix (normally ".so").
21103 shrext_cmds='$shrext_cmds'
21105 # Executable file suffix (normally "").
21108 # Additional compiler flags for building library objects.
21109 pic_flag=$lt_lt_prog_compiler_pic_CXX
21112 # What is the maximum length of a command?
21113 max_cmd_len=$lt_cv_sys_max_cmd_len
21115 # Does compiler simultaneously support -c and -o options?
21116 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
21118 # Must we lock files when doing compilation?
21119 need_locks=$lt_need_locks
21121 # Do we need the lib prefix for modules?
21122 need_lib_prefix=$need_lib_prefix
21124 # Do we need a version for libraries?
21125 need_version=$need_version
21127 # Whether dlopen is supported.
21128 dlopen_support=$enable_dlopen
21130 # Whether dlopen of programs is supported.
21131 dlopen_self=$enable_dlopen_self
21133 # Whether dlopen of statically linked programs is supported.
21134 dlopen_self_static=$enable_dlopen_self_static
21136 # Compiler flag to prevent dynamic linking.
21137 link_static_flag=$lt_lt_prog_compiler_static_CXX
21139 # Compiler flag to turn off builtin functions.
21140 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
21142 # Compiler flag to allow reflexive dlopens.
21143 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
21145 # Compiler flag to generate shared objects directly from archives.
21146 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
21148 # Compiler flag to generate thread-safe objects.
21149 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
21151 # Library versioning type.
21152 version_type=$version_type
21154 # Format of library name prefix.
21155 libname_spec=$lt_libname_spec
21157 # List of archive names. First name is the real one, the rest are links.
21158 # The last name is the one that the linker finds with -lNAME.
21159 library_names_spec=$lt_library_names_spec
21161 # The coded name of the library, if different from the real name.
21162 soname_spec=$lt_soname_spec
21164 # Commands used to build and install an old-style archive.
21166 old_archive_cmds=$lt_old_archive_cmds_CXX
21167 old_postinstall_cmds=$lt_old_postinstall_cmds
21168 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21170 # Create an old-style archive from a shared archive.
21171 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
21173 # Create a temporary old-style archive to link instead of a shared archive.
21174 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
21176 # Commands used to build and install a shared archive.
21177 archive_cmds=$lt_archive_cmds_CXX
21178 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
21179 postinstall_cmds=$lt_postinstall_cmds
21180 postuninstall_cmds=$lt_postuninstall_cmds
21182 # Commands used to build a loadable module (assumed same as above if empty)
21183 module_cmds=$lt_module_cmds_CXX
21184 module_expsym_cmds=$lt_module_expsym_cmds_CXX
21186 # Commands to strip libraries.
21187 old_striplib=$lt_old_striplib
21188 striplib=$lt_striplib
21190 # Dependencies to place before the objects being linked to create a
21192 predep_objects=$lt_predep_objects_CXX
21194 # Dependencies to place after the objects being linked to create a
21196 postdep_objects=$lt_postdep_objects_CXX
21198 # Dependencies to place before the objects being linked to create a
21200 predeps=$lt_predeps_CXX
21202 # Dependencies to place after the objects being linked to create a
21204 postdeps=$lt_postdeps_CXX
21206 # The directories searched by this compiler when creating a shared
21208 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
21210 # The library search path used internally by the compiler when linking
21211 # a shared library.
21212 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
21214 # Method to check whether dependent libraries are shared objects.
21215 deplibs_check_method=$lt_deplibs_check_method
21217 # Command to use when deplibs_check_method == file_magic.
21218 file_magic_cmd=$lt_file_magic_cmd
21220 # Flag that allows shared libraries with undefined symbols to be built.
21221 allow_undefined_flag=$lt_allow_undefined_flag_CXX
21223 # Flag that forces no undefined symbols.
21224 no_undefined_flag=$lt_no_undefined_flag_CXX
21226 # Commands used to finish a libtool library installation in a directory.
21227 finish_cmds=$lt_finish_cmds
21229 # Same as above, but a single script fragment to be evaled but not shown.
21230 finish_eval=$lt_finish_eval
21232 # Take the output of nm and produce a listing of raw symbols and C names.
21233 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21235 # Transform the output of nm in a proper C declaration
21236 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21238 # Transform the output of nm in a C name address pair
21239 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21241 # This is the shared library runtime path variable.
21242 runpath_var=$runpath_var
21244 # This is the shared library path variable.
21245 shlibpath_var=$shlibpath_var
21247 # Is shlibpath searched before the hard-coded library search path?
21248 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21250 # How to hardcode a shared library path into an executable.
21251 hardcode_action=$hardcode_action_CXX
21253 # Whether we should hardcode library paths into libraries.
21254 hardcode_into_libs=$hardcode_into_libs
21256 # Flag to hardcode \$libdir into a binary during linking.
21257 # This must work even if \$libdir does not exist.
21258 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
21260 # If ld is used when linking, flag to hardcode \$libdir into
21261 # a binary during linking. This must work even if \$libdir does
21263 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
21265 # Whether we need a single -rpath flag with a separated argument.
21266 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
21268 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
21269 # resulting binary.
21270 hardcode_direct=$hardcode_direct_CXX
21272 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
21273 # resulting binary.
21274 hardcode_minus_L=$hardcode_minus_L_CXX
21276 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
21277 # the resulting binary.
21278 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
21280 # Set to yes if building a shared library automatically hardcodes DIR into the library
21281 # and all subsequent libraries and executables linked against it.
21282 hardcode_automatic=$hardcode_automatic_CXX
21284 # Variables whose values should be saved in libtool wrapper scripts and
21285 # restored at relink time.
21286 variables_saved_for_relink="$variables_saved_for_relink"
21288 # Whether libtool must link a program against all its dependency libraries.
21289 link_all_deplibs=$link_all_deplibs_CXX
21291 # Compile-time system search path for libraries
21292 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21294 # Run-time system search path for libraries
21295 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21297 # Fix the shell variable \$srcfile for the compiler.
21298 fix_srcfile_path=$lt_fix_srcfile_path
21300 # Set to yes if exported symbols are required.
21301 always_export_symbols=$always_export_symbols_CXX
21303 # The commands to list exported symbols.
21304 export_symbols_cmds=$lt_export_symbols_cmds_CXX
21306 # The commands to extract the exported symbol list from a shared archive.
21307 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21309 # Symbols that should not be listed in the preloaded symbols.
21310 exclude_expsyms=$lt_exclude_expsyms_CXX
21312 # Symbols that must always be exported.
21313 include_expsyms=$lt_include_expsyms_CXX
21315 # ### END LIBTOOL TAG CONFIG: $tagname
21321 # If there is no Makefile yet, we rely on a make rule to execute
21322 # `config.status --recheck' to rerun these tests and create the
21323 # libtool script then.
21324 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
21325 if test -f "$ltmain_in"; then
21326 test -f Makefile && make "$ltmain"
21332 ac_cpp='$CPP $CPPFLAGS'
21333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21341 with_gnu_ldcxx=$with_gnu_ld
21342 with_gnu_ld=$lt_save_with_gnu_ld
21343 lt_cv_path_LDCXX=$lt_cv_path_LD
21344 lt_cv_path_LD=$lt_save_path_LD
21345 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
21346 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
21354 if test -n "$F77" && test "X$F77" != "Xno"; then
21357 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
21358 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21359 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
21362 archive_cmds_need_lc_F77=no
21363 allow_undefined_flag_F77=
21364 always_export_symbols_F77=no
21365 archive_expsym_cmds_F77=
21366 export_dynamic_flag_spec_F77=
21367 hardcode_direct_F77=no
21368 hardcode_libdir_flag_spec_F77=
21369 hardcode_libdir_flag_spec_ld_F77=
21370 hardcode_libdir_separator_F77=
21371 hardcode_minus_L_F77=no
21372 hardcode_automatic_F77=no
21374 module_expsym_cmds_F77=
21375 link_all_deplibs_F77=unknown
21376 old_archive_cmds_F77=$old_archive_cmds
21377 no_undefined_flag_F77=
21378 whole_archive_flag_spec_F77=
21379 enable_shared_with_static_runtimes_F77=no
21381 # Source file extension for f77 test sources.
21384 # Object file extension for compiled f77 test sources.
21388 # Code to be used in simple compile tests
21389 lt_simple_compile_test_code="\
21395 # Code to be used in simple link tests
21396 lt_simple_link_test_code="\
21401 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
21403 # If no C compiler was specified, use CC.
21406 # If no C compiler flags were specified, use CFLAGS.
21407 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
21409 # Allow CC to be a program name with arguments.
21413 # save warnings/boilerplate of simple test code
21414 ac_outfile=conftest.$ac_objext
21415 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
21416 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
21417 _lt_compiler_boilerplate=`cat conftest.err`
21420 ac_outfile=conftest.$ac_objext
21421 echo "$lt_simple_link_test_code" >conftest.$ac_ext
21422 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
21423 _lt_linker_boilerplate=`cat conftest.err`
21427 # Allow CC to be a program name with arguments.
21432 for cc_temp in $compiler""; do
21434 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
21435 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
21440 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
21443 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
21444 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
21445 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
21446 echo "${ECHO_T}$can_build_shared" >&6; }
21448 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
21449 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
21450 test "$can_build_shared" = "no" && enable_shared=no
21452 # On AIX, shared libraries and static libraries use the same namespace, and
21453 # are all built from PIC.
21456 test "$enable_shared" = yes && enable_static=no
21457 if test -n "$RANLIB"; then
21458 archive_cmds="$archive_cmds~\$RANLIB \$lib"
21459 postinstall_cmds='$RANLIB $lib'
21463 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
21464 test "$enable_shared" = yes && enable_static=no
21468 { echo "$as_me:$LINENO: result: $enable_shared" >&5
21469 echo "${ECHO_T}$enable_shared" >&6; }
21471 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
21472 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
21473 # Make sure either enable_shared or enable_static is yes.
21474 test "$enable_shared" = yes || enable_static=yes
21475 { echo "$as_me:$LINENO: result: $enable_static" >&5
21476 echo "${ECHO_T}$enable_static" >&6; }
21481 lt_prog_compiler_wl_F77=
21482 lt_prog_compiler_pic_F77=
21483 lt_prog_compiler_static_F77=
21485 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
21486 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
21488 if test "$GCC" = yes; then
21489 lt_prog_compiler_wl_F77='-Wl,'
21490 lt_prog_compiler_static_F77='-static'
21494 # All AIX code is PIC.
21495 if test "$host_cpu" = ia64; then
21496 # AIX 5 now supports IA64 processor
21497 lt_prog_compiler_static_F77='-Bstatic'
21502 # FIXME: we need at least 68020 code to build shared libraries, but
21503 # adding the `-m68020' flag to GCC prevents building anything better,
21505 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
21508 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
21509 # PIC is the default for these OSes.
21512 mingw* | cygwin* | pw32* | os2*)
21513 # This hack is so that the source file can tell whether it is being
21514 # built for inclusion in a dll (and should export symbols for example).
21515 # Although the cygwin gcc ignores -fPIC, still need this for old-style
21516 # (--disable-auto-import) libraries
21517 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
21520 darwin* | rhapsody*)
21521 # PIC is the default on this platform
21522 # Common symbols not allowed in MH_DYLIB files
21523 lt_prog_compiler_pic_F77='-fno-common'
21527 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
21528 # Instead, we relocate shared libraries at runtime.
21532 # Just because we use GCC doesn't mean we suddenly get shared libraries
21533 # on systems that don't support them.
21534 lt_prog_compiler_can_build_shared_F77=no
21539 if test -d /usr/nec; then
21540 lt_prog_compiler_pic_F77=-Kconform_pic
21545 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
21546 # not for PA HP-UX.
21552 lt_prog_compiler_pic_F77='-fPIC'
21558 lt_prog_compiler_pic_F77='-fPIC'
21562 # PORTME Check for flag to pass linker flags through the system compiler.
21565 lt_prog_compiler_wl_F77='-Wl,'
21566 if test "$host_cpu" = ia64; then
21567 # AIX 5 now supports IA64 processor
21568 lt_prog_compiler_static_F77='-Bstatic'
21570 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
21574 # PIC is the default on this platform
21575 # Common symbols not allowed in MH_DYLIB files
21576 case $cc_basename in
21578 lt_prog_compiler_pic_F77='-qnocommon'
21579 lt_prog_compiler_wl_F77='-Wl,'
21584 mingw* | cygwin* | pw32* | os2*)
21585 # This hack is so that the source file can tell whether it is being
21586 # built for inclusion in a dll (and should export symbols for example).
21587 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
21590 hpux9* | hpux10* | hpux11*)
21591 lt_prog_compiler_wl_F77='-Wl,'
21592 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
21593 # not for PA HP-UX.
21599 lt_prog_compiler_pic_F77='+Z'
21602 # Is there a better lt_prog_compiler_static that works with the bundled CC?
21603 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
21606 irix5* | irix6* | nonstopux*)
21607 lt_prog_compiler_wl_F77='-Wl,'
21608 # PIC (with -KPIC) is the default.
21609 lt_prog_compiler_static_F77='-non_shared'
21613 lt_prog_compiler_pic_F77='-KPIC'
21614 lt_prog_compiler_static_F77='-Bstatic'
21617 linux* | k*bsd*-gnu)
21618 case $cc_basename in
21620 lt_prog_compiler_wl_F77='-Wl,'
21621 lt_prog_compiler_pic_F77='-KPIC'
21622 lt_prog_compiler_static_F77='-static'
21624 pgcc* | pgf77* | pgf90* | pgf95*)
21625 # Portland Group compilers (*not* the Pentium gcc compiler,
21626 # which looks to be a dead project)
21627 lt_prog_compiler_wl_F77='-Wl,'
21628 lt_prog_compiler_pic_F77='-fpic'
21629 lt_prog_compiler_static_F77='-Bstatic'
21632 lt_prog_compiler_wl_F77='-Wl,'
21633 # All Alpha code is PIC.
21634 lt_prog_compiler_static_F77='-non_shared'
21637 case `$CC -V 2>&1 | sed 5q` in
21640 lt_prog_compiler_pic_F77='-KPIC'
21641 lt_prog_compiler_static_F77='-Bstatic'
21642 lt_prog_compiler_wl_F77='-Wl,'
21645 # Sun Fortran 8.3 passes all unrecognized flags to the linker
21646 lt_prog_compiler_pic_F77='-KPIC'
21647 lt_prog_compiler_static_F77='-Bstatic'
21648 lt_prog_compiler_wl_F77=''
21655 osf3* | osf4* | osf5*)
21656 lt_prog_compiler_wl_F77='-Wl,'
21657 # All OSF/1 code is PIC.
21658 lt_prog_compiler_static_F77='-non_shared'
21662 lt_prog_compiler_static_F77='-non_shared'
21666 lt_prog_compiler_pic_F77='-KPIC'
21667 lt_prog_compiler_static_F77='-Bstatic'
21668 case $cc_basename in
21669 f77* | f90* | f95*)
21670 lt_prog_compiler_wl_F77='-Qoption ld ';;
21672 lt_prog_compiler_wl_F77='-Wl,';;
21677 lt_prog_compiler_wl_F77='-Qoption ld '
21678 lt_prog_compiler_pic_F77='-PIC'
21679 lt_prog_compiler_static_F77='-Bstatic'
21682 sysv4 | sysv4.2uw2* | sysv4.3*)
21683 lt_prog_compiler_wl_F77='-Wl,'
21684 lt_prog_compiler_pic_F77='-KPIC'
21685 lt_prog_compiler_static_F77='-Bstatic'
21689 if test -d /usr/nec ;then
21690 lt_prog_compiler_pic_F77='-Kconform_pic'
21691 lt_prog_compiler_static_F77='-Bstatic'
21695 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
21696 lt_prog_compiler_wl_F77='-Wl,'
21697 lt_prog_compiler_pic_F77='-KPIC'
21698 lt_prog_compiler_static_F77='-Bstatic'
21702 lt_prog_compiler_wl_F77='-Wl,'
21703 lt_prog_compiler_can_build_shared_F77=no
21707 lt_prog_compiler_pic_F77='-pic'
21708 lt_prog_compiler_static_F77='-Bstatic'
21712 lt_prog_compiler_can_build_shared_F77=no
21717 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
21718 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
21721 # Check to make sure the PIC flag actually works.
21723 if test -n "$lt_prog_compiler_pic_F77"; then
21725 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
21726 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
21727 if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
21728 echo $ECHO_N "(cached) $ECHO_C" >&6
21730 lt_cv_prog_compiler_pic_works_F77=no
21731 ac_outfile=conftest.$ac_objext
21732 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
21733 lt_compiler_flag="$lt_prog_compiler_pic_F77"
21734 # Insert the option either (1) after the last *FLAGS variable, or
21735 # (2) before a word containing "conftest.", or (3) at the end.
21736 # Note that $ac_compile itself does not contain backslashes and begins
21737 # with a dollar sign (not a hyphen), so the echo should work correctly.
21738 # The option is referenced via a variable to avoid confusing sed.
21739 lt_compile=`echo "$ac_compile" | $SED \
21740 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21741 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21742 -e 's:$: $lt_compiler_flag:'`
21743 (eval echo "\"\$as_me:21743: $lt_compile\"" >&5)
21744 (eval "$lt_compile" 2>conftest.err)
21746 cat conftest.err >&5
21747 echo "$as_me:21747: \$? = $ac_status" >&5
21748 if (exit $ac_status) && test -s "$ac_outfile"; then
21749 # The compiler can only warn and ignore the option if not recognized
21750 # So say no if there are warnings other than the usual output.
21751 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
21752 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
21753 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
21754 lt_cv_prog_compiler_pic_works_F77=yes
21760 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
21761 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; }
21763 if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
21764 case $lt_prog_compiler_pic_F77 in
21766 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
21769 lt_prog_compiler_pic_F77=
21770 lt_prog_compiler_can_build_shared_F77=no
21775 # For platforms which do not support PIC, -DPIC is meaningless:
21777 lt_prog_compiler_pic_F77=
21780 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
21785 # Check to make sure the static flag actually works.
21787 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
21788 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
21789 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
21790 if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
21791 echo $ECHO_N "(cached) $ECHO_C" >&6
21793 lt_cv_prog_compiler_static_works_F77=no
21794 save_LDFLAGS="$LDFLAGS"
21795 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
21796 echo "$lt_simple_link_test_code" > conftest.$ac_ext
21797 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
21798 # The linker can only warn and ignore the option if not recognized
21799 # So say no if there are warnings
21800 if test -s conftest.err; then
21801 # Append any errors to the config.log.
21802 cat conftest.err 1>&5
21803 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
21804 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
21805 if diff conftest.exp conftest.er2 >/dev/null; then
21806 lt_cv_prog_compiler_static_works_F77=yes
21809 lt_cv_prog_compiler_static_works_F77=yes
21813 LDFLAGS="$save_LDFLAGS"
21816 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
21817 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; }
21819 if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
21822 lt_prog_compiler_static_F77=
21826 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
21827 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
21828 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
21829 echo $ECHO_N "(cached) $ECHO_C" >&6
21831 lt_cv_prog_compiler_c_o_F77=no
21832 $rm -r conftest 2>/dev/null
21836 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
21838 lt_compiler_flag="-o out/conftest2.$ac_objext"
21839 # Insert the option either (1) after the last *FLAGS variable, or
21840 # (2) before a word containing "conftest.", or (3) at the end.
21841 # Note that $ac_compile itself does not contain backslashes and begins
21842 # with a dollar sign (not a hyphen), so the echo should work correctly.
21843 lt_compile=`echo "$ac_compile" | $SED \
21844 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21845 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21846 -e 's:$: $lt_compiler_flag:'`
21847 (eval echo "\"\$as_me:21847: $lt_compile\"" >&5)
21848 (eval "$lt_compile" 2>out/conftest.err)
21850 cat out/conftest.err >&5
21851 echo "$as_me:21851: \$? = $ac_status" >&5
21852 if (exit $ac_status) && test -s out/conftest2.$ac_objext
21854 # The compiler can only warn and ignore the option if not recognized
21855 # So say no if there are warnings
21856 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
21857 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
21858 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
21859 lt_cv_prog_compiler_c_o_F77=yes
21864 # SGI C++ compiler will create directory out/ii_files/ for
21865 # template instantiation
21866 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
21867 $rm out/* && rmdir out
21873 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
21874 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
21877 hard_links="nottested"
21878 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
21879 # do not overwrite the value of need_locks provided by the user
21880 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
21881 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
21884 ln conftest.a conftest.b 2>/dev/null && hard_links=no
21886 ln conftest.a conftest.b 2>&5 || hard_links=no
21887 ln conftest.a conftest.b 2>/dev/null && hard_links=no
21888 { echo "$as_me:$LINENO: result: $hard_links" >&5
21889 echo "${ECHO_T}$hard_links" >&6; }
21890 if test "$hard_links" = no; then
21891 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
21892 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
21899 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
21900 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
21903 allow_undefined_flag_F77=
21904 enable_shared_with_static_runtimes_F77=no
21906 archive_expsym_cmds_F77=
21907 old_archive_From_new_cmds_F77=
21908 old_archive_from_expsyms_cmds_F77=
21909 export_dynamic_flag_spec_F77=
21910 whole_archive_flag_spec_F77=
21911 thread_safe_flag_spec_F77=
21912 hardcode_libdir_flag_spec_F77=
21913 hardcode_libdir_flag_spec_ld_F77=
21914 hardcode_libdir_separator_F77=
21915 hardcode_direct_F77=no
21916 hardcode_minus_L_F77=no
21917 hardcode_shlibpath_var_F77=unsupported
21918 link_all_deplibs_F77=unknown
21919 hardcode_automatic_F77=no
21921 module_expsym_cmds_F77=
21922 always_export_symbols_F77=no
21923 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
21924 # include_expsyms should be a list of space-separated symbols to be *always*
21925 # included in the symbol list
21926 include_expsyms_F77=
21927 # exclude_expsyms can be an extended regexp of symbols to exclude
21928 # it will be wrapped by ` (' and `)$', so one must not match beginning or
21929 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
21930 # as well as any symbol that contains `d'.
21931 exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
21932 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
21933 # platforms (ab)use it in PIC code, but their linkers get confused if
21934 # the symbol is explicitly referenced. Since portable code cannot
21935 # rely on this symbol name, it's probably fine to never include it in
21936 # preloaded symbol tables.
21937 # Exclude shared library initialization/finalization symbols.
21938 extract_expsyms_cmds=
21939 # Just being paranoid about ensuring that cc_basename is set.
21940 for cc_temp in $compiler""; do
21942 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
21943 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
21948 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
21951 cygwin* | mingw* | pw32*)
21952 # FIXME: the MSVC++ port hasn't been tested in a loooong time
21953 # When not using gcc, we currently assume that we are using
21954 # Microsoft Visual C++.
21955 if test "$GCC" != yes; then
21960 # we just hope/assume this is gcc and not c89 (= MSVC++)
21969 if test "$with_gnu_ld" = yes; then
21970 # If archive_cmds runs LD, not CC, wlarc should be empty
21973 # Set some defaults for GNU ld with shared library support. These
21974 # are reset later if shared libraries are not supported. Putting them
21975 # here allows them to be overridden if necessary.
21976 runpath_var=LD_RUN_PATH
21977 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
21978 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
21979 # ancient GNU ld didn't support --whole-archive et. al.
21980 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
21981 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
21983 whole_archive_flag_spec_F77=
21985 supports_anon_versioning=no
21986 case `$LD -v 2>/dev/null` in
21987 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
21988 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
21989 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
21990 *\ 2.11.*) ;; # other 2.11 versions
21991 *) supports_anon_versioning=yes ;;
21994 # See if GNU ld supports shared libraries.
21997 # On AIX/PPC, the GNU linker is very broken
21998 if test "$host_cpu" != ia64; then
22002 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
22003 *** to be unable to reliably create shared libraries on AIX.
22004 *** Therefore, libtool is disabling shared libraries support. If you
22005 *** really care for shared libraries, you may want to modify your PATH
22006 *** so that a non-GNU linker is found, and then restart.
22013 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)'
22014 hardcode_libdir_flag_spec_F77='-L$libdir'
22015 hardcode_minus_L_F77=yes
22017 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
22018 # that the semantics of dynamic libraries on AmigaOS, at least up
22019 # to version 4, is to share data among multiple programs linked
22020 # with the same dynamic library. Since this doesn't match the
22021 # behavior of shared libraries on other platforms, we can't use
22027 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
22028 allow_undefined_flag_F77=unsupported
22029 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
22030 # support --undefined. This deserves some investigation. FIXME
22031 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22037 cygwin* | mingw* | pw32*)
22038 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
22039 # as there is no search path for DLLs.
22040 hardcode_libdir_flag_spec_F77='-L$libdir'
22041 allow_undefined_flag_F77=unsupported
22042 always_export_symbols_F77=no
22043 enable_shared_with_static_runtimes_F77=yes
22044 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
22046 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
22047 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
22048 # If the export-symbols file already is a .def file (1st line
22049 # is EXPORTS), use it as is; otherwise, prepend...
22050 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
22051 cp $export_symbols $output_objdir/$soname.def;
22053 echo EXPORTS > $output_objdir/$soname.def;
22054 cat $export_symbols >> $output_objdir/$soname.def;
22056 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
22063 hardcode_direct_F77=no
22064 hardcode_shlibpath_var_F77=no
22065 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
22066 export_dynamic_flag_spec_F77='${wl}-E'
22067 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
22068 # Instead, shared libraries are loaded at an image base (0x10000000 by
22069 # default) and relocated if they conflict, which is a slow very memory
22070 # consuming and fragmenting process. To avoid this, we pick a random,
22071 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
22072 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
22073 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'
22074 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'
22077 gnu* | linux* | k*bsd*-gnu)
22078 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
22080 case $cc_basename,$host_cpu in
22081 pgcc*) # Portland Group C compiler
22082 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'
22083 tmp_addflag=' $pic_flag'
22085 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
22086 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'
22087 tmp_addflag=' $pic_flag -Mnomain' ;;
22088 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
22089 tmp_addflag=' -i_dynamic' ;;
22090 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
22091 tmp_addflag=' -i_dynamic -nofor_main' ;;
22092 ifc* | ifort*) # Intel Fortran compiler
22093 tmp_addflag=' -nofor_main' ;;
22095 case `$CC -V 2>&1 | sed 5q` in
22096 *Sun\ C*) # Sun C 5.9
22097 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'
22098 tmp_sharedflag='-G' ;;
22099 *Sun\ F*) # Sun Fortran 8.3
22100 tmp_sharedflag='-G' ;;
22102 tmp_sharedflag='-shared' ;;
22104 archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22106 if test $supports_anon_versioning = yes; then
22107 archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
22108 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
22109 $echo "local: *; };" >> $output_objdir/$libname.ver~
22110 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
22112 link_all_deplibs_F77=no
22118 netbsd* | netbsdelf*-gnu)
22119 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
22120 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
22123 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22124 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
22129 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
22133 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
22134 *** create shared libraries on Solaris systems. Therefore, libtool
22135 *** is disabling shared libraries support. We urge you to upgrade GNU
22136 *** binutils to release 2.9.1 or newer. Another option is to modify
22137 *** your PATH or compiler configuration so that the native linker is
22138 *** used, and then restart.
22141 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
22142 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22143 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
22149 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
22150 case `$LD -v 2>&1` in
22151 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
22155 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
22156 *** reliably create shared libraries on SCO systems. Therefore, libtool
22157 *** is disabling shared libraries support. We urge you to upgrade GNU
22158 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
22159 *** your PATH or compiler configuration so that the native linker is
22160 *** used, and then restart.
22165 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
22166 hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
22167 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
22168 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
22177 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22179 hardcode_direct_F77=yes
22180 hardcode_shlibpath_var_F77=no
22184 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
22185 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22186 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
22193 if test "$ld_shlibs_F77" = no; then
22195 hardcode_libdir_flag_spec_F77=
22196 export_dynamic_flag_spec_F77=
22197 whole_archive_flag_spec_F77=
22200 # PORTME fill in a description of your system's linker (not GNU ld)
22203 allow_undefined_flag_F77=unsupported
22204 always_export_symbols_F77=yes
22205 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'
22206 # Note: this linker hardcodes the directories in LIBPATH if there
22207 # are no directories specified by -L.
22208 hardcode_minus_L_F77=yes
22209 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
22210 # Neither direct hardcoding nor static linking is supported with a
22212 hardcode_direct_F77=unsupported
22217 if test "$host_cpu" = ia64; then
22218 # On IA64, the linker does run time linking by default, so we don't
22219 # have to do anything special.
22220 aix_use_runtimelinking=no
22221 exp_sym_flag='-Bexport'
22224 # If we're using GNU nm, then we don't want the "-C" option.
22225 # -C means demangle to AIX nm, but means don't demangle with GNU nm
22226 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
22227 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'
22229 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'
22231 aix_use_runtimelinking=no
22233 # Test if we are trying to use run time linking or normal
22234 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
22235 # need to do runtime linking.
22236 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
22237 for ld_flag in $LDFLAGS; do
22238 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
22239 aix_use_runtimelinking=yes
22246 exp_sym_flag='-bexport'
22247 no_entry_flag='-bnoentry'
22250 # When large executables or shared objects are built, AIX ld can
22251 # have problems creating the table of contents. If linking a library
22252 # or program results in "error TOC overflow" add -mminimal-toc to
22253 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
22254 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
22256 archive_cmds_F77=''
22257 hardcode_direct_F77=yes
22258 hardcode_libdir_separator_F77=':'
22259 link_all_deplibs_F77=yes
22261 if test "$GCC" = yes; then
22262 case $host_os in aix4.[012]|aix4.[012].*)
22263 # We only want to do this on AIX 4.2 and lower, the check
22264 # below for broken collect2 doesn't work under 4.3+
22265 collect2name=`${CC} -print-prog-name=collect2`
22266 if test -f "$collect2name" && \
22267 strings "$collect2name" | grep resolve_lib_name >/dev/null
22269 # We have reworked collect2
22272 # We have old collect2
22273 hardcode_direct_F77=unsupported
22274 # It fails to find uninstalled libraries when the uninstalled
22275 # path is not listed in the libpath. Setting hardcode_minus_L
22276 # to unsupported forces relinking
22277 hardcode_minus_L_F77=yes
22278 hardcode_libdir_flag_spec_F77='-L$libdir'
22279 hardcode_libdir_separator_F77=
22283 shared_flag='-shared'
22284 if test "$aix_use_runtimelinking" = yes; then
22285 shared_flag="$shared_flag "'${wl}-G'
22289 if test "$host_cpu" = ia64; then
22290 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
22291 # chokes on -Wl,-G. The following line is correct:
22294 if test "$aix_use_runtimelinking" = yes; then
22295 shared_flag='${wl}-G'
22297 shared_flag='${wl}-bM:SRE'
22302 # It seems that -bexpall does not export symbols beginning with
22303 # underscore (_), so it is better to generate a list of symbols to export.
22304 always_export_symbols_F77=yes
22305 if test "$aix_use_runtimelinking" = yes; then
22306 # Warning - without using the other runtime loading flags (-brtl),
22307 # -berok will link without error, but may produce a broken library.
22308 allow_undefined_flag_F77='-berok'
22309 # Determine the default libpath from the value encoded in an empty executable.
22310 cat >conftest.$ac_ext <<_ACEOF
22315 rm -f conftest.$ac_objext conftest$ac_exeext
22316 if { (ac_try="$ac_link"
22317 case "(($ac_try" in
22318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22319 *) ac_try_echo=$ac_try;;
22321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22322 (eval "$ac_link") 2>conftest.er1
22324 grep -v '^ *+' conftest.er1 >conftest.err
22326 cat conftest.err >&5
22327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22328 (exit $ac_status); } && {
22329 test -z "$ac_f77_werror_flag" ||
22330 test ! -s conftest.err
22331 } && test -s conftest$ac_exeext &&
22332 $as_test_x conftest$ac_exeext; then
22334 lt_aix_libpath_sed='
22335 /Import File Strings/,/^$/ {
22341 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
22342 # Check for a 64-bit object if we didn't find anything.
22343 if test -z "$aix_libpath"; then
22344 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
22347 echo "$as_me: failed program was:" >&5
22348 sed 's/^/| /' conftest.$ac_ext >&5
22353 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22354 conftest$ac_exeext conftest.$ac_ext
22355 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
22357 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
22358 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"
22360 if test "$host_cpu" = ia64; then
22361 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
22362 allow_undefined_flag_F77="-z nodefs"
22363 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"
22365 # Determine the default libpath from the value encoded in an empty executable.
22366 cat >conftest.$ac_ext <<_ACEOF
22371 rm -f conftest.$ac_objext conftest$ac_exeext
22372 if { (ac_try="$ac_link"
22373 case "(($ac_try" in
22374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22375 *) ac_try_echo=$ac_try;;
22377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22378 (eval "$ac_link") 2>conftest.er1
22380 grep -v '^ *+' conftest.er1 >conftest.err
22382 cat conftest.err >&5
22383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22384 (exit $ac_status); } && {
22385 test -z "$ac_f77_werror_flag" ||
22386 test ! -s conftest.err
22387 } && test -s conftest$ac_exeext &&
22388 $as_test_x conftest$ac_exeext; then
22390 lt_aix_libpath_sed='
22391 /Import File Strings/,/^$/ {
22397 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
22398 # Check for a 64-bit object if we didn't find anything.
22399 if test -z "$aix_libpath"; then
22400 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
22403 echo "$as_me: failed program was:" >&5
22404 sed 's/^/| /' conftest.$ac_ext >&5
22409 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22410 conftest$ac_exeext conftest.$ac_ext
22411 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
22413 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
22414 # Warning - without using the other run time loading flags,
22415 # -berok will link without error, but may produce a broken library.
22416 no_undefined_flag_F77=' ${wl}-bernotok'
22417 allow_undefined_flag_F77=' ${wl}-berok'
22418 # Exported symbols can be pulled into shared objects from archives
22419 whole_archive_flag_spec_F77='$convenience'
22420 archive_cmds_need_lc_F77=yes
22421 # This is similar to how AIX traditionally builds its shared libraries.
22422 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'
22428 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)'
22429 hardcode_libdir_flag_spec_F77='-L$libdir'
22430 hardcode_minus_L_F77=yes
22431 # see comment about different semantics on the GNU ld section
22436 export_dynamic_flag_spec_F77=-rdynamic
22439 cygwin* | mingw* | pw32*)
22440 # When not using gcc, we currently assume that we are using
22441 # Microsoft Visual C++.
22442 # hardcode_libdir_flag_spec is actually meaningless, as there is
22443 # no search path for DLLs.
22444 hardcode_libdir_flag_spec_F77=' '
22445 allow_undefined_flag_F77=unsupported
22446 # Tell ltmain to make .lib files, not .a files.
22448 # Tell ltmain to make .dll files, not .so files.
22450 # FIXME: Setting linknames here is a bad hack.
22451 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
22452 # The linker will automatically build a .lib file if we build a DLL.
22453 old_archive_From_new_cmds_F77='true'
22454 # FIXME: Should let the user specify the lib program.
22455 old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
22456 fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
22457 enable_shared_with_static_runtimes_F77=yes
22460 darwin* | rhapsody*)
22462 rhapsody* | darwin1.[012])
22463 allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
22466 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
22467 allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
22469 case ${MACOSX_DEPLOYMENT_TARGET} in
22471 allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
22474 allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
22480 archive_cmds_need_lc_F77=no
22481 hardcode_direct_F77=no
22482 hardcode_automatic_F77=yes
22483 hardcode_shlibpath_var_F77=unsupported
22484 whole_archive_flag_spec_F77=''
22485 link_all_deplibs_F77=yes
22486 if test "$GCC" = yes ; then
22487 output_verbose_link_cmd='echo'
22488 archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
22489 module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
22490 archive_expsym_cmds_F77="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
22491 module_expsym_cmds_F77="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
22493 case $cc_basename in
22495 output_verbose_link_cmd='echo'
22496 archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
22497 module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
22498 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
22499 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}'
22500 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}'
22510 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22511 hardcode_libdir_flag_spec_F77='-L$libdir'
22512 hardcode_shlibpath_var_F77=no
22519 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
22520 # support. Future versions do this automatically, but an explicit c++rt0.o
22521 # does not break anything, and helps significantly (at the cost of a little
22524 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
22525 hardcode_libdir_flag_spec_F77='-R$libdir'
22526 hardcode_direct_F77=yes
22527 hardcode_shlibpath_var_F77=no
22530 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
22532 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22533 hardcode_direct_F77=yes
22534 hardcode_minus_L_F77=yes
22535 hardcode_shlibpath_var_F77=no
22538 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
22539 freebsd* | dragonfly*)
22540 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
22541 hardcode_libdir_flag_spec_F77='-R$libdir'
22542 hardcode_direct_F77=yes
22543 hardcode_shlibpath_var_F77=no
22547 if test "$GCC" = yes; then
22548 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'
22550 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'
22552 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
22553 hardcode_libdir_separator_F77=:
22554 hardcode_direct_F77=yes
22556 # hardcode_minus_L: Not really in the search PATH,
22557 # but as the default location of the library.
22558 hardcode_minus_L_F77=yes
22559 export_dynamic_flag_spec_F77='${wl}-E'
22563 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
22564 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22566 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
22568 if test "$with_gnu_ld" = no; then
22569 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
22570 hardcode_libdir_separator_F77=:
22572 hardcode_direct_F77=yes
22573 export_dynamic_flag_spec_F77='${wl}-E'
22575 # hardcode_minus_L: Not really in the search PATH,
22576 # but as the default location of the library.
22577 hardcode_minus_L_F77=yes
22582 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
22585 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22588 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
22591 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22597 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22600 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
22603 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22607 if test "$with_gnu_ld" = no; then
22608 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
22609 hardcode_libdir_separator_F77=:
22613 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
22614 hardcode_direct_F77=no
22615 hardcode_shlibpath_var_F77=no
22618 hardcode_direct_F77=yes
22619 export_dynamic_flag_spec_F77='${wl}-E'
22621 # hardcode_minus_L: Not really in the search PATH,
22622 # but as the default location of the library.
22623 hardcode_minus_L_F77=yes
22629 irix5* | irix6* | nonstopux*)
22630 if test "$GCC" = yes; then
22631 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'
22633 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'
22634 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
22636 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
22637 hardcode_libdir_separator_F77=:
22638 link_all_deplibs_F77=yes
22641 netbsd* | netbsdelf*-gnu)
22642 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
22643 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
22645 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
22647 hardcode_libdir_flag_spec_F77='-R$libdir'
22648 hardcode_direct_F77=yes
22649 hardcode_shlibpath_var_F77=no
22653 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22654 hardcode_direct_F77=yes
22655 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
22656 hardcode_libdir_separator_F77=:
22657 hardcode_shlibpath_var_F77=no
22661 if test -f /usr/libexec/ld.so; then
22662 hardcode_direct_F77=yes
22663 hardcode_shlibpath_var_F77=no
22664 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
22665 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22666 archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
22667 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
22668 export_dynamic_flag_spec_F77='${wl}-E'
22671 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
22672 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22673 hardcode_libdir_flag_spec_F77='-R$libdir'
22676 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22677 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
22687 hardcode_libdir_flag_spec_F77='-L$libdir'
22688 hardcode_minus_L_F77=yes
22689 allow_undefined_flag_F77=unsupported
22690 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'
22691 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
22695 if test "$GCC" = yes; then
22696 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
22697 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'
22699 allow_undefined_flag_F77=' -expect_unresolved \*'
22700 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'
22702 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
22703 hardcode_libdir_separator_F77=:
22706 osf4* | osf5*) # as osf3* with the addition of -msym flag
22707 if test "$GCC" = yes; then
22708 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
22709 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'
22710 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
22712 allow_undefined_flag_F77=' -expect_unresolved \*'
22713 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'
22714 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~
22715 $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'
22717 # Both c and cxx compiler support -rpath directly
22718 hardcode_libdir_flag_spec_F77='-rpath $libdir'
22720 hardcode_libdir_separator_F77=:
22724 no_undefined_flag_F77=' -z text'
22725 if test "$GCC" = yes; then
22727 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22728 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
22729 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
22732 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
22733 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
22734 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
22736 hardcode_libdir_flag_spec_F77='-R$libdir'
22737 hardcode_shlibpath_var_F77=no
22739 solaris2.[0-5] | solaris2.[0-5].*) ;;
22741 # The compiler driver will combine and reorder linker options,
22742 # but understands `-z linker_flag'. GCC discards it without `$wl',
22743 # but is careful enough not to reorder.
22744 # Supported since Solaris 2.6 (maybe 2.5.1?)
22745 if test "$GCC" = yes; then
22746 whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
22748 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
22752 link_all_deplibs_F77=yes
22756 if test "x$host_vendor" = xsequent; then
22757 # Use $CC to link under sequent, because it throws in some extra .o
22758 # files that make .init and .fini sections work.
22759 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
22761 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
22763 hardcode_libdir_flag_spec_F77='-L$libdir'
22764 hardcode_direct_F77=yes
22765 hardcode_minus_L_F77=yes
22766 hardcode_shlibpath_var_F77=no
22770 case $host_vendor in
22772 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22773 hardcode_direct_F77=yes # is this really true???
22776 ## LD is ld it makes a PLAMLIB
22777 ## CC just makes a GrossModule.
22778 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
22779 reload_cmds_F77='$CC -r -o $output$reload_objs'
22780 hardcode_direct_F77=no
22783 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22784 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
22787 runpath_var='LD_RUN_PATH'
22788 hardcode_shlibpath_var_F77=no
22792 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22793 hardcode_shlibpath_var_F77=no
22794 export_dynamic_flag_spec_F77='-Bexport'
22798 if test -d /usr/nec; then
22799 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22800 hardcode_shlibpath_var_F77=no
22801 runpath_var=LD_RUN_PATH
22802 hardcode_runpath_var=yes
22807 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
22808 no_undefined_flag_F77='${wl}-z,text'
22809 archive_cmds_need_lc_F77=no
22810 hardcode_shlibpath_var_F77=no
22811 runpath_var='LD_RUN_PATH'
22813 if test "$GCC" = yes; then
22814 archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22815 archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22817 archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22818 archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22822 sysv5* | sco3.2v5* | sco5v6*)
22823 # Note: We can NOT use -z defs as we might desire, because we do not
22824 # link with -lc, and that would cause any symbols used from libc to
22825 # always be unresolved, which means just about no library would
22826 # ever link correctly. If we're not using GNU ld we use -z text
22827 # though, which does catch some bad symbols but isn't as heavy-handed
22829 no_undefined_flag_F77='${wl}-z,text'
22830 allow_undefined_flag_F77='${wl}-z,nodefs'
22831 archive_cmds_need_lc_F77=no
22832 hardcode_shlibpath_var_F77=no
22833 hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
22834 hardcode_libdir_separator_F77=':'
22835 link_all_deplibs_F77=yes
22836 export_dynamic_flag_spec_F77='${wl}-Bexport'
22837 runpath_var='LD_RUN_PATH'
22839 if test "$GCC" = yes; then
22840 archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22841 archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22843 archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22844 archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22849 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22850 hardcode_libdir_flag_spec_F77='-L$libdir'
22851 hardcode_shlibpath_var_F77=no
22860 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
22861 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
22862 test "$ld_shlibs_F77" = no && can_build_shared=no
22865 # Do we need to explicitly link libc?
22867 case "x$archive_cmds_need_lc_F77" in
22869 # Assume -lc should be added
22870 archive_cmds_need_lc_F77=yes
22872 if test "$enable_shared" = yes && test "$GCC" = yes; then
22873 case $archive_cmds_F77 in
22875 # FIXME: we may have to deal with multi-command sequences.
22878 # Test whether the compiler implicitly links with -lc since on some
22879 # systems, -lgcc has to come before -lc. If gcc already passes -lc
22880 # to ld, don't add -lc before -lgcc.
22881 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
22882 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
22884 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
22886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22887 (eval $ac_compile) 2>&5
22889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22890 (exit $ac_status); } 2>conftest.err; then
22893 libobjs=conftest.$ac_objext
22895 wl=$lt_prog_compiler_wl_F77
22896 pic_flag=$lt_prog_compiler_pic_F77
22902 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
22903 allow_undefined_flag_F77=
22904 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
22905 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
22907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22908 (exit $ac_status); }
22910 archive_cmds_need_lc_F77=no
22912 archive_cmds_need_lc_F77=yes
22914 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
22916 cat conftest.err 1>&5
22919 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
22920 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
22927 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
22928 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
22929 library_names_spec=
22930 libname_spec='lib$name'
22934 postuninstall_cmds=
22938 shlibpath_overrides_runpath=unknown
22940 dynamic_linker="$host_os ld.so"
22941 sys_lib_dlsearch_path_spec="/lib /usr/lib"
22943 need_lib_prefix=unknown
22944 hardcode_into_libs=no
22946 # when you set need_version to no, make sure it does not cause -set_version
22947 # flags to be left without arguments
22948 need_version=unknown
22953 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
22954 shlibpath_var=LIBPATH
22956 # AIX 3 has no versioning support, so we append a major version to the name.
22957 soname_spec='${libname}${release}${shared_ext}$major'
22964 hardcode_into_libs=yes
22965 if test "$host_cpu" = ia64; then
22966 # AIX 5 supports IA64
22967 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
22968 shlibpath_var=LD_LIBRARY_PATH
22970 # With GCC up to 2.95.x, collect2 would create an import file
22971 # for dependence libraries. The import file would start with
22972 # the line `#! .'. This would cause the generated library to
22973 # depend on `.', always an invalid library. This was fixed in
22974 # development snapshots of GCC prior to 3.0.
22976 aix4 | aix4.[01] | aix4.[01].*)
22977 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
22979 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
22982 can_build_shared=no
22986 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
22987 # soname into executable. Probably we can add versioning support to
22988 # collect2, so additional links can be useful in future.
22989 if test "$aix_use_runtimelinking" = yes; then
22990 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
22991 # instead of lib<name>.a to let people know that these are not
22992 # typical AIX shared libraries.
22993 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22995 # We preserve .a as extension for shared libraries through AIX4.2
22996 # and later when we are not doing run time linking.
22997 library_names_spec='${libname}${release}.a $libname.a'
22998 soname_spec='${libname}${release}${shared_ext}$major'
23000 shlibpath_var=LIBPATH
23005 library_names_spec='$libname.ixlibrary $libname.a'
23006 # Create ${libname}_ixlibrary.a entries in /sys/libs.
23007 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'
23011 library_names_spec='${libname}${shared_ext}'
23012 dynamic_linker="$host_os ld.so"
23013 shlibpath_var=LIBRARY_PATH
23019 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23020 soname_spec='${libname}${release}${shared_ext}$major'
23021 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
23022 shlibpath_var=LD_LIBRARY_PATH
23023 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
23024 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
23025 # the default ld.so.conf also contains /usr/contrib/lib and
23026 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
23027 # libtool to hard-code these into programs
23030 cygwin* | mingw* | pw32*)
23031 version_type=windows
23036 case $GCC,$host_os in
23037 yes,cygwin* | yes,mingw* | yes,pw32*)
23038 library_names_spec='$libname.dll.a'
23039 # DLL is installed to $(libdir)/../bin by postinstall_cmds
23040 postinstall_cmds='base_file=`basename \${file}`~
23041 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
23042 dldir=$destdir/`dirname \$dlpath`~
23043 test -d \$dldir || mkdir -p \$dldir~
23044 $install_prog $dir/$dlname \$dldir/$dlname~
23045 chmod a+x \$dldir/$dlname'
23046 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
23047 dlpath=$dir/\$dldll~
23049 shlibpath_overrides_runpath=yes
23053 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
23054 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
23055 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
23058 # MinGW DLLs use traditional 'lib' prefix
23059 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
23060 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
23061 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
23062 # It is most probably a Windows format PATH printed by
23063 # mingw gcc, but we are running on Cygwin. Gcc prints its search
23064 # path with ; separators, and with drive letters. We can handle the
23065 # drive letters (cygwin fileutils understands them), so leave them,
23066 # especially as we might pass files found there to a mingw objdump,
23067 # which wouldn't understand a cygwinified path. Ahh.
23068 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
23070 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
23074 # pw32 DLLs use 'pw' prefix rather than 'lib'
23075 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
23081 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
23084 dynamic_linker='Win32 ld.exe'
23085 # FIXME: first we should search . and the directory the executable is in
23089 darwin* | rhapsody*)
23090 dynamic_linker="$host_os dyld"
23091 version_type=darwin
23094 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
23095 soname_spec='${libname}${release}${major}$shared_ext'
23096 shlibpath_overrides_runpath=yes
23097 shlibpath_var=DYLD_LIBRARY_PATH
23098 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
23100 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
23107 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
23108 soname_spec='${libname}${release}${shared_ext}$major'
23109 shlibpath_var=LD_LIBRARY_PATH
23116 freebsd* | dragonfly*)
23117 # DragonFly does not have aout. When/if they implement a new
23118 # versioning mechanism, adjust this.
23119 if test -x /usr/bin/objformat; then
23120 objformat=`/usr/bin/objformat`
23123 freebsd[123]*) objformat=aout ;;
23124 *) objformat=elf ;;
23127 version_type=freebsd-$objformat
23128 case $version_type in
23130 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
23135 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
23139 shlibpath_var=LD_LIBRARY_PATH
23142 shlibpath_overrides_runpath=yes
23144 freebsd3.[01]* | freebsdelf3.[01]*)
23145 shlibpath_overrides_runpath=yes
23146 hardcode_into_libs=yes
23148 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
23149 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
23150 shlibpath_overrides_runpath=no
23151 hardcode_into_libs=yes
23153 *) # from 4.6 on, and DragonFly
23154 shlibpath_overrides_runpath=yes
23155 hardcode_into_libs=yes
23164 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
23165 soname_spec='${libname}${release}${shared_ext}$major'
23166 shlibpath_var=LD_LIBRARY_PATH
23167 hardcode_into_libs=yes
23170 hpux9* | hpux10* | hpux11*)
23171 # Give a soname corresponding to the major version so that dld.sl refuses to
23172 # link against other versions.
23179 hardcode_into_libs=yes
23180 dynamic_linker="$host_os dld.so"
23181 shlibpath_var=LD_LIBRARY_PATH
23182 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
23183 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23184 soname_spec='${libname}${release}${shared_ext}$major'
23185 if test "X$HPUX_IA64_MODE" = X32; then
23186 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
23188 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
23190 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
23194 hardcode_into_libs=yes
23195 dynamic_linker="$host_os dld.sl"
23196 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
23197 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
23198 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23199 soname_spec='${libname}${release}${shared_ext}$major'
23200 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
23201 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
23205 dynamic_linker="$host_os dld.sl"
23206 shlibpath_var=SHLIB_PATH
23207 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
23208 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23209 soname_spec='${libname}${release}${shared_ext}$major'
23212 # HP-UX runs *really* slowly unless shared libraries are mode 555.
23213 postinstall_cmds='chmod 555 $lib'
23220 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
23221 soname_spec='${libname}${release}${shared_ext}$major'
23222 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
23223 shlibpath_var=LD_LIBRARY_PATH
23224 shlibpath_overrides_runpath=no
23225 hardcode_into_libs=yes
23228 irix5* | irix6* | nonstopux*)
23230 nonstopux*) version_type=nonstopux ;;
23232 if test "$lt_cv_prog_gnu_ld" = yes; then
23240 soname_spec='${libname}${release}${shared_ext}$major'
23241 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
23243 irix5* | nonstopux*)
23244 libsuff= shlibsuff=
23247 case $LD in # libtool.m4 will add one of these switches to LD
23248 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
23249 libsuff= shlibsuff= libmagic=32-bit;;
23250 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
23251 libsuff=32 shlibsuff=N32 libmagic=N32;;
23252 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
23253 libsuff=64 shlibsuff=64 libmagic=64-bit;;
23254 *) libsuff= shlibsuff= libmagic=never-match;;
23258 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
23259 shlibpath_overrides_runpath=no
23260 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
23261 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
23262 hardcode_into_libs=yes
23265 # No shared lib support for Linux oldld, aout, or coff.
23266 linux*oldld* | linux*aout* | linux*coff*)
23270 # This must be Linux ELF.
23271 linux* | k*bsd*-gnu)
23275 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23276 soname_spec='${libname}${release}${shared_ext}$major'
23277 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
23278 shlibpath_var=LD_LIBRARY_PATH
23279 shlibpath_overrides_runpath=no
23280 # This implies no fast_install, which is unacceptable.
23281 # Some rework will be needed to allow for fast_install
23282 # before this can be enabled.
23283 hardcode_into_libs=yes
23285 # Append ld.so.conf contents to the search path
23286 if test -f /etc/ld.so.conf; then
23287 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' ' '`
23288 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
23291 # We used to test for /lib/ld.so.1 and disable shared libraries on
23292 # powerpc, because MkLinux only supported shared libraries with the
23293 # GNU dynamic linker. Since this was broken with cross compilers,
23294 # most powerpc-linux boxes support dynamic linking these days and
23295 # people can always --disable-shared, the test was removed, and we
23296 # assume the GNU/Linux dynamic linker is in use.
23297 dynamic_linker='GNU/Linux ld.so'
23304 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
23305 soname_spec='${libname}${release}${shared_ext}$major'
23306 shlibpath_var=LD_LIBRARY_PATH
23307 shlibpath_overrides_runpath=no
23308 hardcode_into_libs=yes
23309 dynamic_linker='NetBSD ld.elf_so'
23316 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
23317 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23318 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
23319 dynamic_linker='NetBSD (a.out) ld.so'
23321 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
23322 soname_spec='${libname}${release}${shared_ext}$major'
23323 dynamic_linker='NetBSD ld.elf_so'
23325 shlibpath_var=LD_LIBRARY_PATH
23326 shlibpath_overrides_runpath=yes
23327 hardcode_into_libs=yes
23332 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23333 shlibpath_var=LD_LIBRARY_PATH
23334 shlibpath_overrides_runpath=yes
23341 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23342 soname_spec='${libname}${release}${shared_ext}$major'
23343 shlibpath_var=LD_LIBRARY_PATH
23344 shlibpath_overrides_runpath=yes
23349 sys_lib_dlsearch_path_spec="/usr/lib"
23351 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
23353 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
23354 *) need_version=no ;;
23356 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23357 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
23358 shlibpath_var=LD_LIBRARY_PATH
23359 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
23361 openbsd2.[89] | openbsd2.[89].*)
23362 shlibpath_overrides_runpath=no
23365 shlibpath_overrides_runpath=yes
23369 shlibpath_overrides_runpath=yes
23374 libname_spec='$name'
23377 library_names_spec='$libname${shared_ext} $libname.a'
23378 dynamic_linker='OS/2 ld.exe'
23379 shlibpath_var=LIBPATH
23382 osf3* | osf4* | osf5*)
23386 soname_spec='${libname}${release}${shared_ext}$major'
23387 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23388 shlibpath_var=LD_LIBRARY_PATH
23389 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
23390 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
23401 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23402 soname_spec='${libname}${release}${shared_ext}$major'
23403 shlibpath_var=LD_LIBRARY_PATH
23404 shlibpath_overrides_runpath=yes
23405 hardcode_into_libs=yes
23406 # ldd complains unless libraries are executable
23407 postinstall_cmds='chmod +x $lib'
23412 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23413 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
23414 shlibpath_var=LD_LIBRARY_PATH
23415 shlibpath_overrides_runpath=yes
23416 if test "$with_gnu_ld" = yes; then
23424 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23425 soname_spec='${libname}${release}${shared_ext}$major'
23426 shlibpath_var=LD_LIBRARY_PATH
23427 case $host_vendor in
23429 shlibpath_overrides_runpath=no
23431 export_dynamic_flag_spec='${wl}-Blargedynsym'
23432 runpath_var=LD_RUN_PATH
23440 shlibpath_overrides_runpath=no
23441 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
23447 if test -d /usr/nec ;then
23449 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
23450 soname_spec='$libname${shared_ext}.$major'
23451 shlibpath_var=LD_LIBRARY_PATH
23455 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
23456 version_type=freebsd-elf
23459 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
23460 soname_spec='${libname}${release}${shared_ext}$major'
23461 shlibpath_var=LD_LIBRARY_PATH
23462 hardcode_into_libs=yes
23463 if test "$with_gnu_ld" = yes; then
23464 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
23465 shlibpath_overrides_runpath=no
23467 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
23468 shlibpath_overrides_runpath=yes
23471 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
23475 sys_lib_dlsearch_path_spec='/usr/lib'
23480 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23481 soname_spec='${libname}${release}${shared_ext}$major'
23482 shlibpath_var=LD_LIBRARY_PATH
23489 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
23490 echo "${ECHO_T}$dynamic_linker" >&6; }
23491 test "$dynamic_linker" = no && can_build_shared=no
23493 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
23494 echo $ECHO_N "(cached) $ECHO_C" >&6
23496 lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
23499 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
23500 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
23501 echo $ECHO_N "(cached) $ECHO_C" >&6
23503 lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
23506 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
23508 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
23509 if test "$GCC" = yes; then
23510 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
23513 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
23514 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
23515 hardcode_action_F77=
23516 if test -n "$hardcode_libdir_flag_spec_F77" || \
23517 test -n "$runpath_var_F77" || \
23518 test "X$hardcode_automatic_F77" = "Xyes" ; then
23520 # We can hardcode non-existant directories.
23521 if test "$hardcode_direct_F77" != no &&
23522 # If the only mechanism to avoid hardcoding is shlibpath_var, we
23523 # have to relink, otherwise we might link with an installed library
23524 # when we should be linking with a yet-to-be-installed one
23525 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
23526 test "$hardcode_minus_L_F77" != no; then
23527 # Linking always hardcodes the temporary library directory.
23528 hardcode_action_F77=relink
23530 # We can link without hardcoding, and we can hardcode nonexisting dirs.
23531 hardcode_action_F77=immediate
23534 # We cannot hardcode anything, or else we can only hardcode existing
23536 hardcode_action_F77=unsupported
23538 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
23539 echo "${ECHO_T}$hardcode_action_F77" >&6; }
23541 if test "$hardcode_action_F77" = relink; then
23542 # Fast installation is not supported
23543 enable_fast_install=no
23544 elif test "$shlibpath_overrides_runpath" = yes ||
23545 test "$enable_shared" = no; then
23546 # Fast installation is not necessary
23547 enable_fast_install=needless
23551 # The else clause should only fire when bootstrapping the
23552 # libtool distribution, otherwise you forgot to ship ltmain.sh
23553 # with your package, and you will get complaints that there are
23554 # no rules to generate ltmain.sh.
23555 if test -f "$ltmain"; then
23556 # See if we are running on zsh, and set the options which allow our commands through
23557 # without removal of \ escapes.
23558 if test -n "${ZSH_VERSION+set}" ; then
23559 setopt NO_GLOB_SUBST
23561 # Now quote all the things that may contain metacharacters while being
23562 # careful not to overquote the AC_SUBSTed values. We take copies of the
23563 # variables and quote the copies for generation of the libtool script.
23564 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
23566 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
23567 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
23568 deplibs_check_method reload_flag reload_cmds need_locks \
23569 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
23570 lt_cv_sys_global_symbol_to_c_name_address \
23571 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
23572 old_postinstall_cmds old_postuninstall_cmds \
23576 lt_prog_compiler_wl_F77 \
23577 lt_prog_compiler_pic_F77 \
23578 lt_prog_compiler_static_F77 \
23579 lt_prog_compiler_no_builtin_flag_F77 \
23580 export_dynamic_flag_spec_F77 \
23581 thread_safe_flag_spec_F77 \
23582 whole_archive_flag_spec_F77 \
23583 enable_shared_with_static_runtimes_F77 \
23584 old_archive_cmds_F77 \
23585 old_archive_from_new_cmds_F77 \
23586 predep_objects_F77 \
23587 postdep_objects_F77 \
23590 compiler_lib_search_path_F77 \
23591 compiler_lib_search_dirs_F77 \
23593 archive_expsym_cmds_F77 \
23594 postinstall_cmds_F77 \
23595 postuninstall_cmds_F77 \
23596 old_archive_from_expsyms_cmds_F77 \
23597 allow_undefined_flag_F77 \
23598 no_undefined_flag_F77 \
23599 export_symbols_cmds_F77 \
23600 hardcode_libdir_flag_spec_F77 \
23601 hardcode_libdir_flag_spec_ld_F77 \
23602 hardcode_libdir_separator_F77 \
23603 hardcode_automatic_F77 \
23605 module_expsym_cmds_F77 \
23606 lt_cv_prog_compiler_c_o_F77 \
23607 fix_srcfile_path_F77 \
23608 exclude_expsyms_F77 \
23609 include_expsyms_F77; do
23612 old_archive_cmds_F77 | \
23613 old_archive_from_new_cmds_F77 | \
23614 archive_cmds_F77 | \
23615 archive_expsym_cmds_F77 | \
23616 module_cmds_F77 | \
23617 module_expsym_cmds_F77 | \
23618 old_archive_from_expsyms_cmds_F77 | \
23619 export_symbols_cmds_F77 | \
23620 extract_expsyms_cmds | reload_cmds | finish_cmds | \
23621 postinstall_cmds | postuninstall_cmds | \
23622 old_postinstall_cmds | old_postuninstall_cmds | \
23623 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
23624 # Double-quote double-evaled strings.
23625 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
23628 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
23634 *'\$0 --fallback-echo"')
23635 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
23641 cat <<__EOF__ >> "$cfgfile"
23642 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
23644 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23646 # Shell to use when invoking shell scripts.
23649 # Whether or not to build shared libraries.
23650 build_libtool_libs=$enable_shared
23652 # Whether or not to build static libraries.
23653 build_old_libs=$enable_static
23655 # Whether or not to add -lc for building shared libraries.
23656 build_libtool_need_lc=$archive_cmds_need_lc_F77
23658 # Whether or not to disallow shared libs when runtime libs are static
23659 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
23661 # Whether or not to optimize for fast installation.
23662 fast_install=$enable_fast_install
23665 host_alias=$host_alias
23669 # The build system.
23670 build_alias=$build_alias
23674 # An echo program that does not interpret backslashes.
23679 AR_FLAGS=$lt_AR_FLAGS
23684 # LTCC compiler flags.
23685 LTCFLAGS=$lt_LTCFLAGS
23687 # A language-specific compiler.
23688 CC=$lt_compiler_F77
23690 # Is the compiler the GNU C compiler?
23696 # The linker used to build libraries.
23699 # Whether we need hard or soft links.
23702 # A BSD-compatible nm program.
23705 # A symbol stripping program
23708 # Used to examine libraries when file_magic_cmd begins "file"
23709 MAGIC_CMD=$MAGIC_CMD
23711 # Used on cygwin: DLL creation program.
23714 # Used on cygwin: object dumper.
23717 # Used on cygwin: assembler.
23720 # The name of the directory that contains temporary libtool files.
23723 # How to create reloadable object files.
23724 reload_flag=$lt_reload_flag
23725 reload_cmds=$lt_reload_cmds
23727 # How to pass a linker flag through the compiler.
23728 wl=$lt_lt_prog_compiler_wl_F77
23730 # Object file suffix (normally "o").
23731 objext="$ac_objext"
23733 # Old archive suffix (normally "a").
23736 # Shared library suffix (normally ".so").
23737 shrext_cmds='$shrext_cmds'
23739 # Executable file suffix (normally "").
23742 # Additional compiler flags for building library objects.
23743 pic_flag=$lt_lt_prog_compiler_pic_F77
23746 # What is the maximum length of a command?
23747 max_cmd_len=$lt_cv_sys_max_cmd_len
23749 # Does compiler simultaneously support -c and -o options?
23750 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
23752 # Must we lock files when doing compilation?
23753 need_locks=$lt_need_locks
23755 # Do we need the lib prefix for modules?
23756 need_lib_prefix=$need_lib_prefix
23758 # Do we need a version for libraries?
23759 need_version=$need_version
23761 # Whether dlopen is supported.
23762 dlopen_support=$enable_dlopen
23764 # Whether dlopen of programs is supported.
23765 dlopen_self=$enable_dlopen_self
23767 # Whether dlopen of statically linked programs is supported.
23768 dlopen_self_static=$enable_dlopen_self_static
23770 # Compiler flag to prevent dynamic linking.
23771 link_static_flag=$lt_lt_prog_compiler_static_F77
23773 # Compiler flag to turn off builtin functions.
23774 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
23776 # Compiler flag to allow reflexive dlopens.
23777 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
23779 # Compiler flag to generate shared objects directly from archives.
23780 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
23782 # Compiler flag to generate thread-safe objects.
23783 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
23785 # Library versioning type.
23786 version_type=$version_type
23788 # Format of library name prefix.
23789 libname_spec=$lt_libname_spec
23791 # List of archive names. First name is the real one, the rest are links.
23792 # The last name is the one that the linker finds with -lNAME.
23793 library_names_spec=$lt_library_names_spec
23795 # The coded name of the library, if different from the real name.
23796 soname_spec=$lt_soname_spec
23798 # Commands used to build and install an old-style archive.
23800 old_archive_cmds=$lt_old_archive_cmds_F77
23801 old_postinstall_cmds=$lt_old_postinstall_cmds
23802 old_postuninstall_cmds=$lt_old_postuninstall_cmds
23804 # Create an old-style archive from a shared archive.
23805 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
23807 # Create a temporary old-style archive to link instead of a shared archive.
23808 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
23810 # Commands used to build and install a shared archive.
23811 archive_cmds=$lt_archive_cmds_F77
23812 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
23813 postinstall_cmds=$lt_postinstall_cmds
23814 postuninstall_cmds=$lt_postuninstall_cmds
23816 # Commands used to build a loadable module (assumed same as above if empty)
23817 module_cmds=$lt_module_cmds_F77
23818 module_expsym_cmds=$lt_module_expsym_cmds_F77
23820 # Commands to strip libraries.
23821 old_striplib=$lt_old_striplib
23822 striplib=$lt_striplib
23824 # Dependencies to place before the objects being linked to create a
23826 predep_objects=$lt_predep_objects_F77
23828 # Dependencies to place after the objects being linked to create a
23830 postdep_objects=$lt_postdep_objects_F77
23832 # Dependencies to place before the objects being linked to create a
23834 predeps=$lt_predeps_F77
23836 # Dependencies to place after the objects being linked to create a
23838 postdeps=$lt_postdeps_F77
23840 # The directories searched by this compiler when creating a shared
23842 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
23844 # The library search path used internally by the compiler when linking
23845 # a shared library.
23846 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
23848 # Method to check whether dependent libraries are shared objects.
23849 deplibs_check_method=$lt_deplibs_check_method
23851 # Command to use when deplibs_check_method == file_magic.
23852 file_magic_cmd=$lt_file_magic_cmd
23854 # Flag that allows shared libraries with undefined symbols to be built.
23855 allow_undefined_flag=$lt_allow_undefined_flag_F77
23857 # Flag that forces no undefined symbols.
23858 no_undefined_flag=$lt_no_undefined_flag_F77
23860 # Commands used to finish a libtool library installation in a directory.
23861 finish_cmds=$lt_finish_cmds
23863 # Same as above, but a single script fragment to be evaled but not shown.
23864 finish_eval=$lt_finish_eval
23866 # Take the output of nm and produce a listing of raw symbols and C names.
23867 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23869 # Transform the output of nm in a proper C declaration
23870 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23872 # Transform the output of nm in a C name address pair
23873 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23875 # This is the shared library runtime path variable.
23876 runpath_var=$runpath_var
23878 # This is the shared library path variable.
23879 shlibpath_var=$shlibpath_var
23881 # Is shlibpath searched before the hard-coded library search path?
23882 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23884 # How to hardcode a shared library path into an executable.
23885 hardcode_action=$hardcode_action_F77
23887 # Whether we should hardcode library paths into libraries.
23888 hardcode_into_libs=$hardcode_into_libs
23890 # Flag to hardcode \$libdir into a binary during linking.
23891 # This must work even if \$libdir does not exist.
23892 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
23894 # If ld is used when linking, flag to hardcode \$libdir into
23895 # a binary during linking. This must work even if \$libdir does
23897 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
23899 # Whether we need a single -rpath flag with a separated argument.
23900 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
23902 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
23903 # resulting binary.
23904 hardcode_direct=$hardcode_direct_F77
23906 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
23907 # resulting binary.
23908 hardcode_minus_L=$hardcode_minus_L_F77
23910 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
23911 # the resulting binary.
23912 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
23914 # Set to yes if building a shared library automatically hardcodes DIR into the library
23915 # and all subsequent libraries and executables linked against it.
23916 hardcode_automatic=$hardcode_automatic_F77
23918 # Variables whose values should be saved in libtool wrapper scripts and
23919 # restored at relink time.
23920 variables_saved_for_relink="$variables_saved_for_relink"
23922 # Whether libtool must link a program against all its dependency libraries.
23923 link_all_deplibs=$link_all_deplibs_F77
23925 # Compile-time system search path for libraries
23926 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23928 # Run-time system search path for libraries
23929 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
23931 # Fix the shell variable \$srcfile for the compiler.
23932 fix_srcfile_path=$lt_fix_srcfile_path
23934 # Set to yes if exported symbols are required.
23935 always_export_symbols=$always_export_symbols_F77
23937 # The commands to list exported symbols.
23938 export_symbols_cmds=$lt_export_symbols_cmds_F77
23940 # The commands to extract the exported symbol list from a shared archive.
23941 extract_expsyms_cmds=$lt_extract_expsyms_cmds
23943 # Symbols that should not be listed in the preloaded symbols.
23944 exclude_expsyms=$lt_exclude_expsyms_F77
23946 # Symbols that must always be exported.
23947 include_expsyms=$lt_include_expsyms_F77
23949 # ### END LIBTOOL TAG CONFIG: $tagname
23955 # If there is no Makefile yet, we rely on a make rule to execute
23956 # `config.status --recheck' to rerun these tests and create the
23957 # libtool script then.
23958 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
23959 if test -f "$ltmain_in"; then
23960 test -f Makefile && make "$ltmain"
23966 ac_cpp='$CPP $CPPFLAGS'
23967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23979 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
23982 # Source file extension for Java test sources.
23985 # Object file extension for compiled Java test sources.
23989 # Code to be used in simple compile tests
23990 lt_simple_compile_test_code="class foo {}"
23992 # Code to be used in simple link tests
23993 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
23995 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
23997 # If no C compiler was specified, use CC.
24000 # If no C compiler flags were specified, use CFLAGS.
24001 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
24003 # Allow CC to be a program name with arguments.
24007 # save warnings/boilerplate of simple test code
24008 ac_outfile=conftest.$ac_objext
24009 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
24010 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
24011 _lt_compiler_boilerplate=`cat conftest.err`
24014 ac_outfile=conftest.$ac_objext
24015 echo "$lt_simple_link_test_code" >conftest.$ac_ext
24016 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
24017 _lt_linker_boilerplate=`cat conftest.err`
24021 # Allow CC to be a program name with arguments.
24026 for cc_temp in $compiler""; do
24028 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
24029 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
24034 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
24037 # GCJ did not exist at the time GCC didn't implicitly link libc in.
24038 archive_cmds_need_lc_GCJ=no
24040 old_archive_cmds_GCJ=$old_archive_cmds
24043 lt_prog_compiler_no_builtin_flag_GCJ=
24045 if test "$GCC" = yes; then
24046 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
24049 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
24050 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
24051 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
24052 echo $ECHO_N "(cached) $ECHO_C" >&6
24054 lt_cv_prog_compiler_rtti_exceptions=no
24055 ac_outfile=conftest.$ac_objext
24056 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
24057 lt_compiler_flag="-fno-rtti -fno-exceptions"
24058 # Insert the option either (1) after the last *FLAGS variable, or
24059 # (2) before a word containing "conftest.", or (3) at the end.
24060 # Note that $ac_compile itself does not contain backslashes and begins
24061 # with a dollar sign (not a hyphen), so the echo should work correctly.
24062 # The option is referenced via a variable to avoid confusing sed.
24063 lt_compile=`echo "$ac_compile" | $SED \
24064 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
24065 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
24066 -e 's:$: $lt_compiler_flag:'`
24067 (eval echo "\"\$as_me:24067: $lt_compile\"" >&5)
24068 (eval "$lt_compile" 2>conftest.err)
24070 cat conftest.err >&5
24071 echo "$as_me:24071: \$? = $ac_status" >&5
24072 if (exit $ac_status) && test -s "$ac_outfile"; then
24073 # The compiler can only warn and ignore the option if not recognized
24074 # So say no if there are warnings other than the usual output.
24075 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
24076 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
24077 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
24078 lt_cv_prog_compiler_rtti_exceptions=yes
24084 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
24085 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
24087 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
24088 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
24095 lt_prog_compiler_wl_GCJ=
24096 lt_prog_compiler_pic_GCJ=
24097 lt_prog_compiler_static_GCJ=
24099 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
24100 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
24102 if test "$GCC" = yes; then
24103 lt_prog_compiler_wl_GCJ='-Wl,'
24104 lt_prog_compiler_static_GCJ='-static'
24108 # All AIX code is PIC.
24109 if test "$host_cpu" = ia64; then
24110 # AIX 5 now supports IA64 processor
24111 lt_prog_compiler_static_GCJ='-Bstatic'
24116 # FIXME: we need at least 68020 code to build shared libraries, but
24117 # adding the `-m68020' flag to GCC prevents building anything better,
24119 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
24122 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
24123 # PIC is the default for these OSes.
24126 mingw* | cygwin* | pw32* | os2*)
24127 # This hack is so that the source file can tell whether it is being
24128 # built for inclusion in a dll (and should export symbols for example).
24129 # Although the cygwin gcc ignores -fPIC, still need this for old-style
24130 # (--disable-auto-import) libraries
24134 darwin* | rhapsody*)
24135 # PIC is the default on this platform
24136 # Common symbols not allowed in MH_DYLIB files
24137 lt_prog_compiler_pic_GCJ='-fno-common'
24141 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
24142 # Instead, we relocate shared libraries at runtime.
24146 # Just because we use GCC doesn't mean we suddenly get shared libraries
24147 # on systems that don't support them.
24148 lt_prog_compiler_can_build_shared_GCJ=no
24153 if test -d /usr/nec; then
24154 lt_prog_compiler_pic_GCJ=-Kconform_pic
24159 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
24160 # not for PA HP-UX.
24166 lt_prog_compiler_pic_GCJ='-fPIC'
24172 lt_prog_compiler_pic_GCJ='-fPIC'
24176 # PORTME Check for flag to pass linker flags through the system compiler.
24179 lt_prog_compiler_wl_GCJ='-Wl,'
24180 if test "$host_cpu" = ia64; then
24181 # AIX 5 now supports IA64 processor
24182 lt_prog_compiler_static_GCJ='-Bstatic'
24184 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
24188 # PIC is the default on this platform
24189 # Common symbols not allowed in MH_DYLIB files
24190 case $cc_basename in
24192 lt_prog_compiler_pic_GCJ='-qnocommon'
24193 lt_prog_compiler_wl_GCJ='-Wl,'
24198 mingw* | cygwin* | pw32* | os2*)
24199 # This hack is so that the source file can tell whether it is being
24200 # built for inclusion in a dll (and should export symbols for example).
24204 hpux9* | hpux10* | hpux11*)
24205 lt_prog_compiler_wl_GCJ='-Wl,'
24206 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
24207 # not for PA HP-UX.
24213 lt_prog_compiler_pic_GCJ='+Z'
24216 # Is there a better lt_prog_compiler_static that works with the bundled CC?
24217 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
24220 irix5* | irix6* | nonstopux*)
24221 lt_prog_compiler_wl_GCJ='-Wl,'
24222 # PIC (with -KPIC) is the default.
24223 lt_prog_compiler_static_GCJ='-non_shared'
24227 lt_prog_compiler_pic_GCJ='-KPIC'
24228 lt_prog_compiler_static_GCJ='-Bstatic'
24231 linux* | k*bsd*-gnu)
24232 case $cc_basename in
24234 lt_prog_compiler_wl_GCJ='-Wl,'
24235 lt_prog_compiler_pic_GCJ='-KPIC'
24236 lt_prog_compiler_static_GCJ='-static'
24238 pgcc* | pgf77* | pgf90* | pgf95*)
24239 # Portland Group compilers (*not* the Pentium gcc compiler,
24240 # which looks to be a dead project)
24241 lt_prog_compiler_wl_GCJ='-Wl,'
24242 lt_prog_compiler_pic_GCJ='-fpic'
24243 lt_prog_compiler_static_GCJ='-Bstatic'
24246 lt_prog_compiler_wl_GCJ='-Wl,'
24247 # All Alpha code is PIC.
24248 lt_prog_compiler_static_GCJ='-non_shared'
24251 case `$CC -V 2>&1 | sed 5q` in
24254 lt_prog_compiler_pic_GCJ='-KPIC'
24255 lt_prog_compiler_static_GCJ='-Bstatic'
24256 lt_prog_compiler_wl_GCJ='-Wl,'
24259 # Sun Fortran 8.3 passes all unrecognized flags to the linker
24260 lt_prog_compiler_pic_GCJ='-KPIC'
24261 lt_prog_compiler_static_GCJ='-Bstatic'
24262 lt_prog_compiler_wl_GCJ=''
24269 osf3* | osf4* | osf5*)
24270 lt_prog_compiler_wl_GCJ='-Wl,'
24271 # All OSF/1 code is PIC.
24272 lt_prog_compiler_static_GCJ='-non_shared'
24276 lt_prog_compiler_static_GCJ='-non_shared'
24280 lt_prog_compiler_pic_GCJ='-KPIC'
24281 lt_prog_compiler_static_GCJ='-Bstatic'
24282 case $cc_basename in
24283 f77* | f90* | f95*)
24284 lt_prog_compiler_wl_GCJ='-Qoption ld ';;
24286 lt_prog_compiler_wl_GCJ='-Wl,';;
24291 lt_prog_compiler_wl_GCJ='-Qoption ld '
24292 lt_prog_compiler_pic_GCJ='-PIC'
24293 lt_prog_compiler_static_GCJ='-Bstatic'
24296 sysv4 | sysv4.2uw2* | sysv4.3*)
24297 lt_prog_compiler_wl_GCJ='-Wl,'
24298 lt_prog_compiler_pic_GCJ='-KPIC'
24299 lt_prog_compiler_static_GCJ='-Bstatic'
24303 if test -d /usr/nec ;then
24304 lt_prog_compiler_pic_GCJ='-Kconform_pic'
24305 lt_prog_compiler_static_GCJ='-Bstatic'
24309 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
24310 lt_prog_compiler_wl_GCJ='-Wl,'
24311 lt_prog_compiler_pic_GCJ='-KPIC'
24312 lt_prog_compiler_static_GCJ='-Bstatic'
24316 lt_prog_compiler_wl_GCJ='-Wl,'
24317 lt_prog_compiler_can_build_shared_GCJ=no
24321 lt_prog_compiler_pic_GCJ='-pic'
24322 lt_prog_compiler_static_GCJ='-Bstatic'
24326 lt_prog_compiler_can_build_shared_GCJ=no
24331 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
24332 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
24335 # Check to make sure the PIC flag actually works.
24337 if test -n "$lt_prog_compiler_pic_GCJ"; then
24339 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
24340 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
24341 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
24342 echo $ECHO_N "(cached) $ECHO_C" >&6
24344 lt_cv_prog_compiler_pic_works_GCJ=no
24345 ac_outfile=conftest.$ac_objext
24346 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
24347 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
24348 # Insert the option either (1) after the last *FLAGS variable, or
24349 # (2) before a word containing "conftest.", or (3) at the end.
24350 # Note that $ac_compile itself does not contain backslashes and begins
24351 # with a dollar sign (not a hyphen), so the echo should work correctly.
24352 # The option is referenced via a variable to avoid confusing sed.
24353 lt_compile=`echo "$ac_compile" | $SED \
24354 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
24355 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
24356 -e 's:$: $lt_compiler_flag:'`
24357 (eval echo "\"\$as_me:24357: $lt_compile\"" >&5)
24358 (eval "$lt_compile" 2>conftest.err)
24360 cat conftest.err >&5
24361 echo "$as_me:24361: \$? = $ac_status" >&5
24362 if (exit $ac_status) && test -s "$ac_outfile"; then
24363 # The compiler can only warn and ignore the option if not recognized
24364 # So say no if there are warnings other than the usual output.
24365 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
24366 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
24367 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
24368 lt_cv_prog_compiler_pic_works_GCJ=yes
24374 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
24375 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
24377 if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
24378 case $lt_prog_compiler_pic_GCJ in
24380 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
24383 lt_prog_compiler_pic_GCJ=
24384 lt_prog_compiler_can_build_shared_GCJ=no
24389 # For platforms which do not support PIC, -DPIC is meaningless:
24391 lt_prog_compiler_pic_GCJ=
24394 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
24399 # Check to make sure the static flag actually works.
24401 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
24402 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
24403 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
24404 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
24405 echo $ECHO_N "(cached) $ECHO_C" >&6
24407 lt_cv_prog_compiler_static_works_GCJ=no
24408 save_LDFLAGS="$LDFLAGS"
24409 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
24410 echo "$lt_simple_link_test_code" > conftest.$ac_ext
24411 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
24412 # The linker can only warn and ignore the option if not recognized
24413 # So say no if there are warnings
24414 if test -s conftest.err; then
24415 # Append any errors to the config.log.
24416 cat conftest.err 1>&5
24417 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
24418 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
24419 if diff conftest.exp conftest.er2 >/dev/null; then
24420 lt_cv_prog_compiler_static_works_GCJ=yes
24423 lt_cv_prog_compiler_static_works_GCJ=yes
24427 LDFLAGS="$save_LDFLAGS"
24430 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
24431 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; }
24433 if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
24436 lt_prog_compiler_static_GCJ=
24440 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
24441 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
24442 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
24443 echo $ECHO_N "(cached) $ECHO_C" >&6
24445 lt_cv_prog_compiler_c_o_GCJ=no
24446 $rm -r conftest 2>/dev/null
24450 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
24452 lt_compiler_flag="-o out/conftest2.$ac_objext"
24453 # Insert the option either (1) after the last *FLAGS variable, or
24454 # (2) before a word containing "conftest.", or (3) at the end.
24455 # Note that $ac_compile itself does not contain backslashes and begins
24456 # with a dollar sign (not a hyphen), so the echo should work correctly.
24457 lt_compile=`echo "$ac_compile" | $SED \
24458 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
24459 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
24460 -e 's:$: $lt_compiler_flag:'`
24461 (eval echo "\"\$as_me:24461: $lt_compile\"" >&5)
24462 (eval "$lt_compile" 2>out/conftest.err)
24464 cat out/conftest.err >&5
24465 echo "$as_me:24465: \$? = $ac_status" >&5
24466 if (exit $ac_status) && test -s out/conftest2.$ac_objext
24468 # The compiler can only warn and ignore the option if not recognized
24469 # So say no if there are warnings
24470 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
24471 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
24472 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
24473 lt_cv_prog_compiler_c_o_GCJ=yes
24478 # SGI C++ compiler will create directory out/ii_files/ for
24479 # template instantiation
24480 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
24481 $rm out/* && rmdir out
24487 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
24488 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
24491 hard_links="nottested"
24492 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
24493 # do not overwrite the value of need_locks provided by the user
24494 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
24495 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
24498 ln conftest.a conftest.b 2>/dev/null && hard_links=no
24500 ln conftest.a conftest.b 2>&5 || hard_links=no
24501 ln conftest.a conftest.b 2>/dev/null && hard_links=no
24502 { echo "$as_me:$LINENO: result: $hard_links" >&5
24503 echo "${ECHO_T}$hard_links" >&6; }
24504 if test "$hard_links" = no; then
24505 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
24506 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
24513 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
24514 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
24517 allow_undefined_flag_GCJ=
24518 enable_shared_with_static_runtimes_GCJ=no
24520 archive_expsym_cmds_GCJ=
24521 old_archive_From_new_cmds_GCJ=
24522 old_archive_from_expsyms_cmds_GCJ=
24523 export_dynamic_flag_spec_GCJ=
24524 whole_archive_flag_spec_GCJ=
24525 thread_safe_flag_spec_GCJ=
24526 hardcode_libdir_flag_spec_GCJ=
24527 hardcode_libdir_flag_spec_ld_GCJ=
24528 hardcode_libdir_separator_GCJ=
24529 hardcode_direct_GCJ=no
24530 hardcode_minus_L_GCJ=no
24531 hardcode_shlibpath_var_GCJ=unsupported
24532 link_all_deplibs_GCJ=unknown
24533 hardcode_automatic_GCJ=no
24535 module_expsym_cmds_GCJ=
24536 always_export_symbols_GCJ=no
24537 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
24538 # include_expsyms should be a list of space-separated symbols to be *always*
24539 # included in the symbol list
24540 include_expsyms_GCJ=
24541 # exclude_expsyms can be an extended regexp of symbols to exclude
24542 # it will be wrapped by ` (' and `)$', so one must not match beginning or
24543 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
24544 # as well as any symbol that contains `d'.
24545 exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
24546 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
24547 # platforms (ab)use it in PIC code, but their linkers get confused if
24548 # the symbol is explicitly referenced. Since portable code cannot
24549 # rely on this symbol name, it's probably fine to never include it in
24550 # preloaded symbol tables.
24551 # Exclude shared library initialization/finalization symbols.
24552 extract_expsyms_cmds=
24553 # Just being paranoid about ensuring that cc_basename is set.
24554 for cc_temp in $compiler""; do
24556 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
24557 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
24562 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
24565 cygwin* | mingw* | pw32*)
24566 # FIXME: the MSVC++ port hasn't been tested in a loooong time
24567 # When not using gcc, we currently assume that we are using
24568 # Microsoft Visual C++.
24569 if test "$GCC" != yes; then
24574 # we just hope/assume this is gcc and not c89 (= MSVC++)
24583 if test "$with_gnu_ld" = yes; then
24584 # If archive_cmds runs LD, not CC, wlarc should be empty
24587 # Set some defaults for GNU ld with shared library support. These
24588 # are reset later if shared libraries are not supported. Putting them
24589 # here allows them to be overridden if necessary.
24590 runpath_var=LD_RUN_PATH
24591 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
24592 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
24593 # ancient GNU ld didn't support --whole-archive et. al.
24594 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
24595 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
24597 whole_archive_flag_spec_GCJ=
24599 supports_anon_versioning=no
24600 case `$LD -v 2>/dev/null` in
24601 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
24602 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
24603 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
24604 *\ 2.11.*) ;; # other 2.11 versions
24605 *) supports_anon_versioning=yes ;;
24608 # See if GNU ld supports shared libraries.
24611 # On AIX/PPC, the GNU linker is very broken
24612 if test "$host_cpu" != ia64; then
24616 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
24617 *** to be unable to reliably create shared libraries on AIX.
24618 *** Therefore, libtool is disabling shared libraries support. If you
24619 *** really care for shared libraries, you may want to modify your PATH
24620 *** so that a non-GNU linker is found, and then restart.
24627 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)'
24628 hardcode_libdir_flag_spec_GCJ='-L$libdir'
24629 hardcode_minus_L_GCJ=yes
24631 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
24632 # that the semantics of dynamic libraries on AmigaOS, at least up
24633 # to version 4, is to share data among multiple programs linked
24634 # with the same dynamic library. Since this doesn't match the
24635 # behavior of shared libraries on other platforms, we can't use
24641 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
24642 allow_undefined_flag_GCJ=unsupported
24643 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
24644 # support --undefined. This deserves some investigation. FIXME
24645 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24651 cygwin* | mingw* | pw32*)
24652 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
24653 # as there is no search path for DLLs.
24654 hardcode_libdir_flag_spec_GCJ='-L$libdir'
24655 allow_undefined_flag_GCJ=unsupported
24656 always_export_symbols_GCJ=no
24657 enable_shared_with_static_runtimes_GCJ=yes
24658 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
24660 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
24661 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
24662 # If the export-symbols file already is a .def file (1st line
24663 # is EXPORTS), use it as is; otherwise, prepend...
24664 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
24665 cp $export_symbols $output_objdir/$soname.def;
24667 echo EXPORTS > $output_objdir/$soname.def;
24668 cat $export_symbols >> $output_objdir/$soname.def;
24670 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
24677 hardcode_direct_GCJ=no
24678 hardcode_shlibpath_var_GCJ=no
24679 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
24680 export_dynamic_flag_spec_GCJ='${wl}-E'
24681 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
24682 # Instead, shared libraries are loaded at an image base (0x10000000 by
24683 # default) and relocated if they conflict, which is a slow very memory
24684 # consuming and fragmenting process. To avoid this, we pick a random,
24685 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
24686 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
24687 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'
24688 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'
24691 gnu* | linux* | k*bsd*-gnu)
24692 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
24694 case $cc_basename,$host_cpu in
24695 pgcc*) # Portland Group C compiler
24696 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'
24697 tmp_addflag=' $pic_flag'
24699 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
24700 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'
24701 tmp_addflag=' $pic_flag -Mnomain' ;;
24702 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
24703 tmp_addflag=' -i_dynamic' ;;
24704 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
24705 tmp_addflag=' -i_dynamic -nofor_main' ;;
24706 ifc* | ifort*) # Intel Fortran compiler
24707 tmp_addflag=' -nofor_main' ;;
24709 case `$CC -V 2>&1 | sed 5q` in
24710 *Sun\ C*) # Sun C 5.9
24711 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'
24712 tmp_sharedflag='-G' ;;
24713 *Sun\ F*) # Sun Fortran 8.3
24714 tmp_sharedflag='-G' ;;
24716 tmp_sharedflag='-shared' ;;
24718 archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24720 if test $supports_anon_versioning = yes; then
24721 archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
24722 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
24723 $echo "local: *; };" >> $output_objdir/$libname.ver~
24724 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
24726 link_all_deplibs_GCJ=no
24732 netbsd* | netbsdelf*-gnu)
24733 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
24734 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
24737 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24738 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24743 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
24747 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
24748 *** create shared libraries on Solaris systems. Therefore, libtool
24749 *** is disabling shared libraries support. We urge you to upgrade GNU
24750 *** binutils to release 2.9.1 or newer. Another option is to modify
24751 *** your PATH or compiler configuration so that the native linker is
24752 *** used, and then restart.
24755 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
24756 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24757 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24763 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
24764 case `$LD -v 2>&1` in
24765 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
24769 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
24770 *** reliably create shared libraries on SCO systems. Therefore, libtool
24771 *** is disabling shared libraries support. We urge you to upgrade GNU
24772 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
24773 *** your PATH or compiler configuration so that the native linker is
24774 *** used, and then restart.
24779 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
24780 hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
24781 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
24782 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
24791 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
24793 hardcode_direct_GCJ=yes
24794 hardcode_shlibpath_var_GCJ=no
24798 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
24799 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
24800 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
24807 if test "$ld_shlibs_GCJ" = no; then
24809 hardcode_libdir_flag_spec_GCJ=
24810 export_dynamic_flag_spec_GCJ=
24811 whole_archive_flag_spec_GCJ=
24814 # PORTME fill in a description of your system's linker (not GNU ld)
24817 allow_undefined_flag_GCJ=unsupported
24818 always_export_symbols_GCJ=yes
24819 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'
24820 # Note: this linker hardcodes the directories in LIBPATH if there
24821 # are no directories specified by -L.
24822 hardcode_minus_L_GCJ=yes
24823 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
24824 # Neither direct hardcoding nor static linking is supported with a
24826 hardcode_direct_GCJ=unsupported
24831 if test "$host_cpu" = ia64; then
24832 # On IA64, the linker does run time linking by default, so we don't
24833 # have to do anything special.
24834 aix_use_runtimelinking=no
24835 exp_sym_flag='-Bexport'
24838 # If we're using GNU nm, then we don't want the "-C" option.
24839 # -C means demangle to AIX nm, but means don't demangle with GNU nm
24840 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
24841 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'
24843 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'
24845 aix_use_runtimelinking=no
24847 # Test if we are trying to use run time linking or normal
24848 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
24849 # need to do runtime linking.
24850 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
24851 for ld_flag in $LDFLAGS; do
24852 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
24853 aix_use_runtimelinking=yes
24860 exp_sym_flag='-bexport'
24861 no_entry_flag='-bnoentry'
24864 # When large executables or shared objects are built, AIX ld can
24865 # have problems creating the table of contents. If linking a library
24866 # or program results in "error TOC overflow" add -mminimal-toc to
24867 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
24868 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
24870 archive_cmds_GCJ=''
24871 hardcode_direct_GCJ=yes
24872 hardcode_libdir_separator_GCJ=':'
24873 link_all_deplibs_GCJ=yes
24875 if test "$GCC" = yes; then
24876 case $host_os in aix4.[012]|aix4.[012].*)
24877 # We only want to do this on AIX 4.2 and lower, the check
24878 # below for broken collect2 doesn't work under 4.3+
24879 collect2name=`${CC} -print-prog-name=collect2`
24880 if test -f "$collect2name" && \
24881 strings "$collect2name" | grep resolve_lib_name >/dev/null
24883 # We have reworked collect2
24886 # We have old collect2
24887 hardcode_direct_GCJ=unsupported
24888 # It fails to find uninstalled libraries when the uninstalled
24889 # path is not listed in the libpath. Setting hardcode_minus_L
24890 # to unsupported forces relinking
24891 hardcode_minus_L_GCJ=yes
24892 hardcode_libdir_flag_spec_GCJ='-L$libdir'
24893 hardcode_libdir_separator_GCJ=
24897 shared_flag='-shared'
24898 if test "$aix_use_runtimelinking" = yes; then
24899 shared_flag="$shared_flag "'${wl}-G'
24903 if test "$host_cpu" = ia64; then
24904 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
24905 # chokes on -Wl,-G. The following line is correct:
24908 if test "$aix_use_runtimelinking" = yes; then
24909 shared_flag='${wl}-G'
24911 shared_flag='${wl}-bM:SRE'
24916 # It seems that -bexpall does not export symbols beginning with
24917 # underscore (_), so it is better to generate a list of symbols to export.
24918 always_export_symbols_GCJ=yes
24919 if test "$aix_use_runtimelinking" = yes; then
24920 # Warning - without using the other runtime loading flags (-brtl),
24921 # -berok will link without error, but may produce a broken library.
24922 allow_undefined_flag_GCJ='-berok'
24923 # Determine the default libpath from the value encoded in an empty executable.
24924 cat >conftest.$ac_ext <<_ACEOF
24927 cat confdefs.h >>conftest.$ac_ext
24928 cat >>conftest.$ac_ext <<_ACEOF
24929 /* end confdefs.h. */
24939 rm -f conftest.$ac_objext conftest$ac_exeext
24940 if { (ac_try="$ac_link"
24941 case "(($ac_try" in
24942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24943 *) ac_try_echo=$ac_try;;
24945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24946 (eval "$ac_link") 2>conftest.er1
24948 grep -v '^ *+' conftest.er1 >conftest.err
24950 cat conftest.err >&5
24951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24952 (exit $ac_status); } && {
24953 test -z "$ac_c_werror_flag" ||
24954 test ! -s conftest.err
24955 } && test -s conftest$ac_exeext &&
24956 $as_test_x conftest$ac_exeext; then
24958 lt_aix_libpath_sed='
24959 /Import File Strings/,/^$/ {
24965 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
24966 # Check for a 64-bit object if we didn't find anything.
24967 if test -z "$aix_libpath"; then
24968 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
24971 echo "$as_me: failed program was:" >&5
24972 sed 's/^/| /' conftest.$ac_ext >&5
24977 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24978 conftest$ac_exeext conftest.$ac_ext
24979 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
24981 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
24982 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"
24984 if test "$host_cpu" = ia64; then
24985 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
24986 allow_undefined_flag_GCJ="-z nodefs"
24987 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"
24989 # Determine the default libpath from the value encoded in an empty executable.
24990 cat >conftest.$ac_ext <<_ACEOF
24993 cat confdefs.h >>conftest.$ac_ext
24994 cat >>conftest.$ac_ext <<_ACEOF
24995 /* end confdefs.h. */
25005 rm -f conftest.$ac_objext conftest$ac_exeext
25006 if { (ac_try="$ac_link"
25007 case "(($ac_try" in
25008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25009 *) ac_try_echo=$ac_try;;
25011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25012 (eval "$ac_link") 2>conftest.er1
25014 grep -v '^ *+' conftest.er1 >conftest.err
25016 cat conftest.err >&5
25017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25018 (exit $ac_status); } && {
25019 test -z "$ac_c_werror_flag" ||
25020 test ! -s conftest.err
25021 } && test -s conftest$ac_exeext &&
25022 $as_test_x conftest$ac_exeext; then
25024 lt_aix_libpath_sed='
25025 /Import File Strings/,/^$/ {
25031 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
25032 # Check for a 64-bit object if we didn't find anything.
25033 if test -z "$aix_libpath"; then
25034 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
25037 echo "$as_me: failed program was:" >&5
25038 sed 's/^/| /' conftest.$ac_ext >&5
25043 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25044 conftest$ac_exeext conftest.$ac_ext
25045 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
25047 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
25048 # Warning - without using the other run time loading flags,
25049 # -berok will link without error, but may produce a broken library.
25050 no_undefined_flag_GCJ=' ${wl}-bernotok'
25051 allow_undefined_flag_GCJ=' ${wl}-berok'
25052 # Exported symbols can be pulled into shared objects from archives
25053 whole_archive_flag_spec_GCJ='$convenience'
25054 archive_cmds_need_lc_GCJ=yes
25055 # This is similar to how AIX traditionally builds its shared libraries.
25056 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'
25062 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)'
25063 hardcode_libdir_flag_spec_GCJ='-L$libdir'
25064 hardcode_minus_L_GCJ=yes
25065 # see comment about different semantics on the GNU ld section
25070 export_dynamic_flag_spec_GCJ=-rdynamic
25073 cygwin* | mingw* | pw32*)
25074 # When not using gcc, we currently assume that we are using
25075 # Microsoft Visual C++.
25076 # hardcode_libdir_flag_spec is actually meaningless, as there is
25077 # no search path for DLLs.
25078 hardcode_libdir_flag_spec_GCJ=' '
25079 allow_undefined_flag_GCJ=unsupported
25080 # Tell ltmain to make .lib files, not .a files.
25082 # Tell ltmain to make .dll files, not .so files.
25084 # FIXME: Setting linknames here is a bad hack.
25085 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
25086 # The linker will automatically build a .lib file if we build a DLL.
25087 old_archive_From_new_cmds_GCJ='true'
25088 # FIXME: Should let the user specify the lib program.
25089 old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
25090 fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
25091 enable_shared_with_static_runtimes_GCJ=yes
25094 darwin* | rhapsody*)
25096 rhapsody* | darwin1.[012])
25097 allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
25100 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
25101 allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
25103 case ${MACOSX_DEPLOYMENT_TARGET} in
25105 allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
25108 allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
25114 archive_cmds_need_lc_GCJ=no
25115 hardcode_direct_GCJ=no
25116 hardcode_automatic_GCJ=yes
25117 hardcode_shlibpath_var_GCJ=unsupported
25118 whole_archive_flag_spec_GCJ=''
25119 link_all_deplibs_GCJ=yes
25120 if test "$GCC" = yes ; then
25121 output_verbose_link_cmd='echo'
25122 archive_cmds_GCJ="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
25123 module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
25124 archive_expsym_cmds_GCJ="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
25125 module_expsym_cmds_GCJ="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
25127 case $cc_basename in
25129 output_verbose_link_cmd='echo'
25130 archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
25131 module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
25132 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
25133 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}'
25134 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}'
25144 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25145 hardcode_libdir_flag_spec_GCJ='-L$libdir'
25146 hardcode_shlibpath_var_GCJ=no
25153 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
25154 # support. Future versions do this automatically, but an explicit c++rt0.o
25155 # does not break anything, and helps significantly (at the cost of a little
25158 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
25159 hardcode_libdir_flag_spec_GCJ='-R$libdir'
25160 hardcode_direct_GCJ=yes
25161 hardcode_shlibpath_var_GCJ=no
25164 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
25166 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
25167 hardcode_direct_GCJ=yes
25168 hardcode_minus_L_GCJ=yes
25169 hardcode_shlibpath_var_GCJ=no
25172 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
25173 freebsd* | dragonfly*)
25174 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
25175 hardcode_libdir_flag_spec_GCJ='-R$libdir'
25176 hardcode_direct_GCJ=yes
25177 hardcode_shlibpath_var_GCJ=no
25181 if test "$GCC" = yes; then
25182 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'
25184 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'
25186 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
25187 hardcode_libdir_separator_GCJ=:
25188 hardcode_direct_GCJ=yes
25190 # hardcode_minus_L: Not really in the search PATH,
25191 # but as the default location of the library.
25192 hardcode_minus_L_GCJ=yes
25193 export_dynamic_flag_spec_GCJ='${wl}-E'
25197 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
25198 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
25200 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
25202 if test "$with_gnu_ld" = no; then
25203 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
25204 hardcode_libdir_separator_GCJ=:
25206 hardcode_direct_GCJ=yes
25207 export_dynamic_flag_spec_GCJ='${wl}-E'
25209 # hardcode_minus_L: Not really in the search PATH,
25210 # but as the default location of the library.
25211 hardcode_minus_L_GCJ=yes
25216 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
25219 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
25222 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
25225 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
25231 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
25234 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
25237 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
25241 if test "$with_gnu_ld" = no; then
25242 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
25243 hardcode_libdir_separator_GCJ=:
25247 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
25248 hardcode_direct_GCJ=no
25249 hardcode_shlibpath_var_GCJ=no
25252 hardcode_direct_GCJ=yes
25253 export_dynamic_flag_spec_GCJ='${wl}-E'
25255 # hardcode_minus_L: Not really in the search PATH,
25256 # but as the default location of the library.
25257 hardcode_minus_L_GCJ=yes
25263 irix5* | irix6* | nonstopux*)
25264 if test "$GCC" = yes; then
25265 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'
25267 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'
25268 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
25270 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
25271 hardcode_libdir_separator_GCJ=:
25272 link_all_deplibs_GCJ=yes
25275 netbsd* | netbsdelf*-gnu)
25276 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
25277 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
25279 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
25281 hardcode_libdir_flag_spec_GCJ='-R$libdir'
25282 hardcode_direct_GCJ=yes
25283 hardcode_shlibpath_var_GCJ=no
25287 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25288 hardcode_direct_GCJ=yes
25289 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
25290 hardcode_libdir_separator_GCJ=:
25291 hardcode_shlibpath_var_GCJ=no
25295 if test -f /usr/libexec/ld.so; then
25296 hardcode_direct_GCJ=yes
25297 hardcode_shlibpath_var_GCJ=no
25298 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
25299 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
25300 archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
25301 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
25302 export_dynamic_flag_spec_GCJ='${wl}-E'
25305 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
25306 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
25307 hardcode_libdir_flag_spec_GCJ='-R$libdir'
25310 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
25311 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
25321 hardcode_libdir_flag_spec_GCJ='-L$libdir'
25322 hardcode_minus_L_GCJ=yes
25323 allow_undefined_flag_GCJ=unsupported
25324 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'
25325 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
25329 if test "$GCC" = yes; then
25330 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
25331 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'
25333 allow_undefined_flag_GCJ=' -expect_unresolved \*'
25334 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'
25336 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
25337 hardcode_libdir_separator_GCJ=:
25340 osf4* | osf5*) # as osf3* with the addition of -msym flag
25341 if test "$GCC" = yes; then
25342 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
25343 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'
25344 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
25346 allow_undefined_flag_GCJ=' -expect_unresolved \*'
25347 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'
25348 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~
25349 $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'
25351 # Both c and cxx compiler support -rpath directly
25352 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
25354 hardcode_libdir_separator_GCJ=:
25358 no_undefined_flag_GCJ=' -z text'
25359 if test "$GCC" = yes; then
25361 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
25362 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
25363 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
25366 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
25367 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
25368 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
25370 hardcode_libdir_flag_spec_GCJ='-R$libdir'
25371 hardcode_shlibpath_var_GCJ=no
25373 solaris2.[0-5] | solaris2.[0-5].*) ;;
25375 # The compiler driver will combine and reorder linker options,
25376 # but understands `-z linker_flag'. GCC discards it without `$wl',
25377 # but is careful enough not to reorder.
25378 # Supported since Solaris 2.6 (maybe 2.5.1?)
25379 if test "$GCC" = yes; then
25380 whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
25382 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
25386 link_all_deplibs_GCJ=yes
25390 if test "x$host_vendor" = xsequent; then
25391 # Use $CC to link under sequent, because it throws in some extra .o
25392 # files that make .init and .fini sections work.
25393 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
25395 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
25397 hardcode_libdir_flag_spec_GCJ='-L$libdir'
25398 hardcode_direct_GCJ=yes
25399 hardcode_minus_L_GCJ=yes
25400 hardcode_shlibpath_var_GCJ=no
25404 case $host_vendor in
25406 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25407 hardcode_direct_GCJ=yes # is this really true???
25410 ## LD is ld it makes a PLAMLIB
25411 ## CC just makes a GrossModule.
25412 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
25413 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
25414 hardcode_direct_GCJ=no
25417 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25418 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
25421 runpath_var='LD_RUN_PATH'
25422 hardcode_shlibpath_var_GCJ=no
25426 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25427 hardcode_shlibpath_var_GCJ=no
25428 export_dynamic_flag_spec_GCJ='-Bexport'
25432 if test -d /usr/nec; then
25433 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25434 hardcode_shlibpath_var_GCJ=no
25435 runpath_var=LD_RUN_PATH
25436 hardcode_runpath_var=yes
25441 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
25442 no_undefined_flag_GCJ='${wl}-z,text'
25443 archive_cmds_need_lc_GCJ=no
25444 hardcode_shlibpath_var_GCJ=no
25445 runpath_var='LD_RUN_PATH'
25447 if test "$GCC" = yes; then
25448 archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25449 archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25451 archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25452 archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
25456 sysv5* | sco3.2v5* | sco5v6*)
25457 # Note: We can NOT use -z defs as we might desire, because we do not
25458 # link with -lc, and that would cause any symbols used from libc to
25459 # always be unresolved, which means just about no library would
25460 # ever link correctly. If we're not using GNU ld we use -z text
25461 # though, which does catch some bad symbols but isn't as heavy-handed
25463 no_undefined_flag_GCJ='${wl}-z,text'
25464 allow_undefined_flag_GCJ='${wl}-z,nodefs'
25465 archive_cmds_need_lc_GCJ=no
25466 hardcode_shlibpath_var_GCJ=no
25467 hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
25468 hardcode_libdir_separator_GCJ=':'
25469 link_all_deplibs_GCJ=yes
25470 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
25471 runpath_var='LD_RUN_PATH'
25473 if test "$GCC" = yes; then
25474 archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25475 archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25477 archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25478 archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
25483 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25484 hardcode_libdir_flag_spec_GCJ='-L$libdir'
25485 hardcode_shlibpath_var_GCJ=no
25494 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
25495 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
25496 test "$ld_shlibs_GCJ" = no && can_build_shared=no
25499 # Do we need to explicitly link libc?
25501 case "x$archive_cmds_need_lc_GCJ" in
25503 # Assume -lc should be added
25504 archive_cmds_need_lc_GCJ=yes
25506 if test "$enable_shared" = yes && test "$GCC" = yes; then
25507 case $archive_cmds_GCJ in
25509 # FIXME: we may have to deal with multi-command sequences.
25512 # Test whether the compiler implicitly links with -lc since on some
25513 # systems, -lgcc has to come before -lc. If gcc already passes -lc
25514 # to ld, don't add -lc before -lgcc.
25515 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
25516 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
25518 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
25520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25521 (eval $ac_compile) 2>&5
25523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25524 (exit $ac_status); } 2>conftest.err; then
25527 libobjs=conftest.$ac_objext
25529 wl=$lt_prog_compiler_wl_GCJ
25530 pic_flag=$lt_prog_compiler_pic_GCJ
25536 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
25537 allow_undefined_flag_GCJ=
25538 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
25539 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
25541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25542 (exit $ac_status); }
25544 archive_cmds_need_lc_GCJ=no
25546 archive_cmds_need_lc_GCJ=yes
25548 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
25550 cat conftest.err 1>&5
25553 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
25554 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
25561 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
25562 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
25563 library_names_spec=
25564 libname_spec='lib$name'
25568 postuninstall_cmds=
25572 shlibpath_overrides_runpath=unknown
25574 dynamic_linker="$host_os ld.so"
25575 sys_lib_dlsearch_path_spec="/lib /usr/lib"
25577 need_lib_prefix=unknown
25578 hardcode_into_libs=no
25580 # when you set need_version to no, make sure it does not cause -set_version
25581 # flags to be left without arguments
25582 need_version=unknown
25587 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
25588 shlibpath_var=LIBPATH
25590 # AIX 3 has no versioning support, so we append a major version to the name.
25591 soname_spec='${libname}${release}${shared_ext}$major'
25598 hardcode_into_libs=yes
25599 if test "$host_cpu" = ia64; then
25600 # AIX 5 supports IA64
25601 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
25602 shlibpath_var=LD_LIBRARY_PATH
25604 # With GCC up to 2.95.x, collect2 would create an import file
25605 # for dependence libraries. The import file would start with
25606 # the line `#! .'. This would cause the generated library to
25607 # depend on `.', always an invalid library. This was fixed in
25608 # development snapshots of GCC prior to 3.0.
25610 aix4 | aix4.[01] | aix4.[01].*)
25611 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
25613 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
25616 can_build_shared=no
25620 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
25621 # soname into executable. Probably we can add versioning support to
25622 # collect2, so additional links can be useful in future.
25623 if test "$aix_use_runtimelinking" = yes; then
25624 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
25625 # instead of lib<name>.a to let people know that these are not
25626 # typical AIX shared libraries.
25627 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25629 # We preserve .a as extension for shared libraries through AIX4.2
25630 # and later when we are not doing run time linking.
25631 library_names_spec='${libname}${release}.a $libname.a'
25632 soname_spec='${libname}${release}${shared_ext}$major'
25634 shlibpath_var=LIBPATH
25639 library_names_spec='$libname.ixlibrary $libname.a'
25640 # Create ${libname}_ixlibrary.a entries in /sys/libs.
25641 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'
25645 library_names_spec='${libname}${shared_ext}'
25646 dynamic_linker="$host_os ld.so"
25647 shlibpath_var=LIBRARY_PATH
25653 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25654 soname_spec='${libname}${release}${shared_ext}$major'
25655 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
25656 shlibpath_var=LD_LIBRARY_PATH
25657 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
25658 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
25659 # the default ld.so.conf also contains /usr/contrib/lib and
25660 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
25661 # libtool to hard-code these into programs
25664 cygwin* | mingw* | pw32*)
25665 version_type=windows
25670 case $GCC,$host_os in
25671 yes,cygwin* | yes,mingw* | yes,pw32*)
25672 library_names_spec='$libname.dll.a'
25673 # DLL is installed to $(libdir)/../bin by postinstall_cmds
25674 postinstall_cmds='base_file=`basename \${file}`~
25675 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
25676 dldir=$destdir/`dirname \$dlpath`~
25677 test -d \$dldir || mkdir -p \$dldir~
25678 $install_prog $dir/$dlname \$dldir/$dlname~
25679 chmod a+x \$dldir/$dlname'
25680 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
25681 dlpath=$dir/\$dldll~
25683 shlibpath_overrides_runpath=yes
25687 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
25688 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25689 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
25692 # MinGW DLLs use traditional 'lib' prefix
25693 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25694 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
25695 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
25696 # It is most probably a Windows format PATH printed by
25697 # mingw gcc, but we are running on Cygwin. Gcc prints its search
25698 # path with ; separators, and with drive letters. We can handle the
25699 # drive letters (cygwin fileutils understands them), so leave them,
25700 # especially as we might pass files found there to a mingw objdump,
25701 # which wouldn't understand a cygwinified path. Ahh.
25702 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
25704 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
25708 # pw32 DLLs use 'pw' prefix rather than 'lib'
25709 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
25715 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
25718 dynamic_linker='Win32 ld.exe'
25719 # FIXME: first we should search . and the directory the executable is in
25723 darwin* | rhapsody*)
25724 dynamic_linker="$host_os dyld"
25725 version_type=darwin
25728 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
25729 soname_spec='${libname}${release}${major}$shared_ext'
25730 shlibpath_overrides_runpath=yes
25731 shlibpath_var=DYLD_LIBRARY_PATH
25732 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
25734 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
25741 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
25742 soname_spec='${libname}${release}${shared_ext}$major'
25743 shlibpath_var=LD_LIBRARY_PATH
25750 freebsd* | dragonfly*)
25751 # DragonFly does not have aout. When/if they implement a new
25752 # versioning mechanism, adjust this.
25753 if test -x /usr/bin/objformat; then
25754 objformat=`/usr/bin/objformat`
25757 freebsd[123]*) objformat=aout ;;
25758 *) objformat=elf ;;
25761 version_type=freebsd-$objformat
25762 case $version_type in
25764 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
25769 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
25773 shlibpath_var=LD_LIBRARY_PATH
25776 shlibpath_overrides_runpath=yes
25778 freebsd3.[01]* | freebsdelf3.[01]*)
25779 shlibpath_overrides_runpath=yes
25780 hardcode_into_libs=yes
25782 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
25783 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
25784 shlibpath_overrides_runpath=no
25785 hardcode_into_libs=yes
25787 *) # from 4.6 on, and DragonFly
25788 shlibpath_overrides_runpath=yes
25789 hardcode_into_libs=yes
25798 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
25799 soname_spec='${libname}${release}${shared_ext}$major'
25800 shlibpath_var=LD_LIBRARY_PATH
25801 hardcode_into_libs=yes
25804 hpux9* | hpux10* | hpux11*)
25805 # Give a soname corresponding to the major version so that dld.sl refuses to
25806 # link against other versions.
25813 hardcode_into_libs=yes
25814 dynamic_linker="$host_os dld.so"
25815 shlibpath_var=LD_LIBRARY_PATH
25816 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
25817 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25818 soname_spec='${libname}${release}${shared_ext}$major'
25819 if test "X$HPUX_IA64_MODE" = X32; then
25820 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
25822 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
25824 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
25828 hardcode_into_libs=yes
25829 dynamic_linker="$host_os dld.sl"
25830 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
25831 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
25832 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25833 soname_spec='${libname}${release}${shared_ext}$major'
25834 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
25835 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
25839 dynamic_linker="$host_os dld.sl"
25840 shlibpath_var=SHLIB_PATH
25841 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
25842 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25843 soname_spec='${libname}${release}${shared_ext}$major'
25846 # HP-UX runs *really* slowly unless shared libraries are mode 555.
25847 postinstall_cmds='chmod 555 $lib'
25854 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25855 soname_spec='${libname}${release}${shared_ext}$major'
25856 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
25857 shlibpath_var=LD_LIBRARY_PATH
25858 shlibpath_overrides_runpath=no
25859 hardcode_into_libs=yes
25862 irix5* | irix6* | nonstopux*)
25864 nonstopux*) version_type=nonstopux ;;
25866 if test "$lt_cv_prog_gnu_ld" = yes; then
25874 soname_spec='${libname}${release}${shared_ext}$major'
25875 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
25877 irix5* | nonstopux*)
25878 libsuff= shlibsuff=
25881 case $LD in # libtool.m4 will add one of these switches to LD
25882 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
25883 libsuff= shlibsuff= libmagic=32-bit;;
25884 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
25885 libsuff=32 shlibsuff=N32 libmagic=N32;;
25886 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
25887 libsuff=64 shlibsuff=64 libmagic=64-bit;;
25888 *) libsuff= shlibsuff= libmagic=never-match;;
25892 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
25893 shlibpath_overrides_runpath=no
25894 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
25895 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
25896 hardcode_into_libs=yes
25899 # No shared lib support for Linux oldld, aout, or coff.
25900 linux*oldld* | linux*aout* | linux*coff*)
25904 # This must be Linux ELF.
25905 linux* | k*bsd*-gnu)
25909 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25910 soname_spec='${libname}${release}${shared_ext}$major'
25911 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
25912 shlibpath_var=LD_LIBRARY_PATH
25913 shlibpath_overrides_runpath=no
25914 # This implies no fast_install, which is unacceptable.
25915 # Some rework will be needed to allow for fast_install
25916 # before this can be enabled.
25917 hardcode_into_libs=yes
25919 # Append ld.so.conf contents to the search path
25920 if test -f /etc/ld.so.conf; then
25921 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' ' '`
25922 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
25925 # We used to test for /lib/ld.so.1 and disable shared libraries on
25926 # powerpc, because MkLinux only supported shared libraries with the
25927 # GNU dynamic linker. Since this was broken with cross compilers,
25928 # most powerpc-linux boxes support dynamic linking these days and
25929 # people can always --disable-shared, the test was removed, and we
25930 # assume the GNU/Linux dynamic linker is in use.
25931 dynamic_linker='GNU/Linux ld.so'
25938 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25939 soname_spec='${libname}${release}${shared_ext}$major'
25940 shlibpath_var=LD_LIBRARY_PATH
25941 shlibpath_overrides_runpath=no
25942 hardcode_into_libs=yes
25943 dynamic_linker='NetBSD ld.elf_so'
25950 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
25951 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
25952 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
25953 dynamic_linker='NetBSD (a.out) ld.so'
25955 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
25956 soname_spec='${libname}${release}${shared_ext}$major'
25957 dynamic_linker='NetBSD ld.elf_so'
25959 shlibpath_var=LD_LIBRARY_PATH
25960 shlibpath_overrides_runpath=yes
25961 hardcode_into_libs=yes
25966 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25967 shlibpath_var=LD_LIBRARY_PATH
25968 shlibpath_overrides_runpath=yes
25975 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
25976 soname_spec='${libname}${release}${shared_ext}$major'
25977 shlibpath_var=LD_LIBRARY_PATH
25978 shlibpath_overrides_runpath=yes
25983 sys_lib_dlsearch_path_spec="/usr/lib"
25985 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
25987 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
25988 *) need_version=no ;;
25990 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
25991 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
25992 shlibpath_var=LD_LIBRARY_PATH
25993 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
25995 openbsd2.[89] | openbsd2.[89].*)
25996 shlibpath_overrides_runpath=no
25999 shlibpath_overrides_runpath=yes
26003 shlibpath_overrides_runpath=yes
26008 libname_spec='$name'
26011 library_names_spec='$libname${shared_ext} $libname.a'
26012 dynamic_linker='OS/2 ld.exe'
26013 shlibpath_var=LIBPATH
26016 osf3* | osf4* | osf5*)
26020 soname_spec='${libname}${release}${shared_ext}$major'
26021 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26022 shlibpath_var=LD_LIBRARY_PATH
26023 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
26024 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
26035 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26036 soname_spec='${libname}${release}${shared_ext}$major'
26037 shlibpath_var=LD_LIBRARY_PATH
26038 shlibpath_overrides_runpath=yes
26039 hardcode_into_libs=yes
26040 # ldd complains unless libraries are executable
26041 postinstall_cmds='chmod +x $lib'
26046 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
26047 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
26048 shlibpath_var=LD_LIBRARY_PATH
26049 shlibpath_overrides_runpath=yes
26050 if test "$with_gnu_ld" = yes; then
26058 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26059 soname_spec='${libname}${release}${shared_ext}$major'
26060 shlibpath_var=LD_LIBRARY_PATH
26061 case $host_vendor in
26063 shlibpath_overrides_runpath=no
26065 export_dynamic_flag_spec='${wl}-Blargedynsym'
26066 runpath_var=LD_RUN_PATH
26074 shlibpath_overrides_runpath=no
26075 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
26081 if test -d /usr/nec ;then
26083 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
26084 soname_spec='$libname${shared_ext}.$major'
26085 shlibpath_var=LD_LIBRARY_PATH
26089 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
26090 version_type=freebsd-elf
26093 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
26094 soname_spec='${libname}${release}${shared_ext}$major'
26095 shlibpath_var=LD_LIBRARY_PATH
26096 hardcode_into_libs=yes
26097 if test "$with_gnu_ld" = yes; then
26098 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
26099 shlibpath_overrides_runpath=no
26101 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
26102 shlibpath_overrides_runpath=yes
26105 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
26109 sys_lib_dlsearch_path_spec='/usr/lib'
26114 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
26115 soname_spec='${libname}${release}${shared_ext}$major'
26116 shlibpath_var=LD_LIBRARY_PATH
26123 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
26124 echo "${ECHO_T}$dynamic_linker" >&6; }
26125 test "$dynamic_linker" = no && can_build_shared=no
26127 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
26128 echo $ECHO_N "(cached) $ECHO_C" >&6
26130 lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
26133 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
26134 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
26135 echo $ECHO_N "(cached) $ECHO_C" >&6
26137 lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
26140 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
26142 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
26143 if test "$GCC" = yes; then
26144 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
26147 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
26148 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
26149 hardcode_action_GCJ=
26150 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
26151 test -n "$runpath_var_GCJ" || \
26152 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
26154 # We can hardcode non-existant directories.
26155 if test "$hardcode_direct_GCJ" != no &&
26156 # If the only mechanism to avoid hardcoding is shlibpath_var, we
26157 # have to relink, otherwise we might link with an installed library
26158 # when we should be linking with a yet-to-be-installed one
26159 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
26160 test "$hardcode_minus_L_GCJ" != no; then
26161 # Linking always hardcodes the temporary library directory.
26162 hardcode_action_GCJ=relink
26164 # We can link without hardcoding, and we can hardcode nonexisting dirs.
26165 hardcode_action_GCJ=immediate
26168 # We cannot hardcode anything, or else we can only hardcode existing
26170 hardcode_action_GCJ=unsupported
26172 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
26173 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
26175 if test "$hardcode_action_GCJ" = relink; then
26176 # Fast installation is not supported
26177 enable_fast_install=no
26178 elif test "$shlibpath_overrides_runpath" = yes ||
26179 test "$enable_shared" = no; then
26180 # Fast installation is not necessary
26181 enable_fast_install=needless
26185 # The else clause should only fire when bootstrapping the
26186 # libtool distribution, otherwise you forgot to ship ltmain.sh
26187 # with your package, and you will get complaints that there are
26188 # no rules to generate ltmain.sh.
26189 if test -f "$ltmain"; then
26190 # See if we are running on zsh, and set the options which allow our commands through
26191 # without removal of \ escapes.
26192 if test -n "${ZSH_VERSION+set}" ; then
26193 setopt NO_GLOB_SUBST
26195 # Now quote all the things that may contain metacharacters while being
26196 # careful not to overquote the AC_SUBSTed values. We take copies of the
26197 # variables and quote the copies for generation of the libtool script.
26198 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
26200 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
26201 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
26202 deplibs_check_method reload_flag reload_cmds need_locks \
26203 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
26204 lt_cv_sys_global_symbol_to_c_name_address \
26205 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
26206 old_postinstall_cmds old_postuninstall_cmds \
26210 lt_prog_compiler_wl_GCJ \
26211 lt_prog_compiler_pic_GCJ \
26212 lt_prog_compiler_static_GCJ \
26213 lt_prog_compiler_no_builtin_flag_GCJ \
26214 export_dynamic_flag_spec_GCJ \
26215 thread_safe_flag_spec_GCJ \
26216 whole_archive_flag_spec_GCJ \
26217 enable_shared_with_static_runtimes_GCJ \
26218 old_archive_cmds_GCJ \
26219 old_archive_from_new_cmds_GCJ \
26220 predep_objects_GCJ \
26221 postdep_objects_GCJ \
26224 compiler_lib_search_path_GCJ \
26225 compiler_lib_search_dirs_GCJ \
26227 archive_expsym_cmds_GCJ \
26228 postinstall_cmds_GCJ \
26229 postuninstall_cmds_GCJ \
26230 old_archive_from_expsyms_cmds_GCJ \
26231 allow_undefined_flag_GCJ \
26232 no_undefined_flag_GCJ \
26233 export_symbols_cmds_GCJ \
26234 hardcode_libdir_flag_spec_GCJ \
26235 hardcode_libdir_flag_spec_ld_GCJ \
26236 hardcode_libdir_separator_GCJ \
26237 hardcode_automatic_GCJ \
26239 module_expsym_cmds_GCJ \
26240 lt_cv_prog_compiler_c_o_GCJ \
26241 fix_srcfile_path_GCJ \
26242 exclude_expsyms_GCJ \
26243 include_expsyms_GCJ; do
26246 old_archive_cmds_GCJ | \
26247 old_archive_from_new_cmds_GCJ | \
26248 archive_cmds_GCJ | \
26249 archive_expsym_cmds_GCJ | \
26250 module_cmds_GCJ | \
26251 module_expsym_cmds_GCJ | \
26252 old_archive_from_expsyms_cmds_GCJ | \
26253 export_symbols_cmds_GCJ | \
26254 extract_expsyms_cmds | reload_cmds | finish_cmds | \
26255 postinstall_cmds | postuninstall_cmds | \
26256 old_postinstall_cmds | old_postuninstall_cmds | \
26257 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
26258 # Double-quote double-evaled strings.
26259 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
26262 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
26268 *'\$0 --fallback-echo"')
26269 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
26275 cat <<__EOF__ >> "$cfgfile"
26276 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
26278 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26280 # Shell to use when invoking shell scripts.
26283 # Whether or not to build shared libraries.
26284 build_libtool_libs=$enable_shared
26286 # Whether or not to build static libraries.
26287 build_old_libs=$enable_static
26289 # Whether or not to add -lc for building shared libraries.
26290 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
26292 # Whether or not to disallow shared libs when runtime libs are static
26293 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
26295 # Whether or not to optimize for fast installation.
26296 fast_install=$enable_fast_install
26299 host_alias=$host_alias
26303 # The build system.
26304 build_alias=$build_alias
26308 # An echo program that does not interpret backslashes.
26313 AR_FLAGS=$lt_AR_FLAGS
26318 # LTCC compiler flags.
26319 LTCFLAGS=$lt_LTCFLAGS
26321 # A language-specific compiler.
26322 CC=$lt_compiler_GCJ
26324 # Is the compiler the GNU C compiler?
26330 # The linker used to build libraries.
26333 # Whether we need hard or soft links.
26336 # A BSD-compatible nm program.
26339 # A symbol stripping program
26342 # Used to examine libraries when file_magic_cmd begins "file"
26343 MAGIC_CMD=$MAGIC_CMD
26345 # Used on cygwin: DLL creation program.
26348 # Used on cygwin: object dumper.
26351 # Used on cygwin: assembler.
26354 # The name of the directory that contains temporary libtool files.
26357 # How to create reloadable object files.
26358 reload_flag=$lt_reload_flag
26359 reload_cmds=$lt_reload_cmds
26361 # How to pass a linker flag through the compiler.
26362 wl=$lt_lt_prog_compiler_wl_GCJ
26364 # Object file suffix (normally "o").
26365 objext="$ac_objext"
26367 # Old archive suffix (normally "a").
26370 # Shared library suffix (normally ".so").
26371 shrext_cmds='$shrext_cmds'
26373 # Executable file suffix (normally "").
26376 # Additional compiler flags for building library objects.
26377 pic_flag=$lt_lt_prog_compiler_pic_GCJ
26380 # What is the maximum length of a command?
26381 max_cmd_len=$lt_cv_sys_max_cmd_len
26383 # Does compiler simultaneously support -c and -o options?
26384 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
26386 # Must we lock files when doing compilation?
26387 need_locks=$lt_need_locks
26389 # Do we need the lib prefix for modules?
26390 need_lib_prefix=$need_lib_prefix
26392 # Do we need a version for libraries?
26393 need_version=$need_version
26395 # Whether dlopen is supported.
26396 dlopen_support=$enable_dlopen
26398 # Whether dlopen of programs is supported.
26399 dlopen_self=$enable_dlopen_self
26401 # Whether dlopen of statically linked programs is supported.
26402 dlopen_self_static=$enable_dlopen_self_static
26404 # Compiler flag to prevent dynamic linking.
26405 link_static_flag=$lt_lt_prog_compiler_static_GCJ
26407 # Compiler flag to turn off builtin functions.
26408 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
26410 # Compiler flag to allow reflexive dlopens.
26411 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
26413 # Compiler flag to generate shared objects directly from archives.
26414 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
26416 # Compiler flag to generate thread-safe objects.
26417 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
26419 # Library versioning type.
26420 version_type=$version_type
26422 # Format of library name prefix.
26423 libname_spec=$lt_libname_spec
26425 # List of archive names. First name is the real one, the rest are links.
26426 # The last name is the one that the linker finds with -lNAME.
26427 library_names_spec=$lt_library_names_spec
26429 # The coded name of the library, if different from the real name.
26430 soname_spec=$lt_soname_spec
26432 # Commands used to build and install an old-style archive.
26434 old_archive_cmds=$lt_old_archive_cmds_GCJ
26435 old_postinstall_cmds=$lt_old_postinstall_cmds
26436 old_postuninstall_cmds=$lt_old_postuninstall_cmds
26438 # Create an old-style archive from a shared archive.
26439 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
26441 # Create a temporary old-style archive to link instead of a shared archive.
26442 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
26444 # Commands used to build and install a shared archive.
26445 archive_cmds=$lt_archive_cmds_GCJ
26446 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
26447 postinstall_cmds=$lt_postinstall_cmds
26448 postuninstall_cmds=$lt_postuninstall_cmds
26450 # Commands used to build a loadable module (assumed same as above if empty)
26451 module_cmds=$lt_module_cmds_GCJ
26452 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
26454 # Commands to strip libraries.
26455 old_striplib=$lt_old_striplib
26456 striplib=$lt_striplib
26458 # Dependencies to place before the objects being linked to create a
26460 predep_objects=$lt_predep_objects_GCJ
26462 # Dependencies to place after the objects being linked to create a
26464 postdep_objects=$lt_postdep_objects_GCJ
26466 # Dependencies to place before the objects being linked to create a
26468 predeps=$lt_predeps_GCJ
26470 # Dependencies to place after the objects being linked to create a
26472 postdeps=$lt_postdeps_GCJ
26474 # The directories searched by this compiler when creating a shared
26476 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
26478 # The library search path used internally by the compiler when linking
26479 # a shared library.
26480 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
26482 # Method to check whether dependent libraries are shared objects.
26483 deplibs_check_method=$lt_deplibs_check_method
26485 # Command to use when deplibs_check_method == file_magic.
26486 file_magic_cmd=$lt_file_magic_cmd
26488 # Flag that allows shared libraries with undefined symbols to be built.
26489 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
26491 # Flag that forces no undefined symbols.
26492 no_undefined_flag=$lt_no_undefined_flag_GCJ
26494 # Commands used to finish a libtool library installation in a directory.
26495 finish_cmds=$lt_finish_cmds
26497 # Same as above, but a single script fragment to be evaled but not shown.
26498 finish_eval=$lt_finish_eval
26500 # Take the output of nm and produce a listing of raw symbols and C names.
26501 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26503 # Transform the output of nm in a proper C declaration
26504 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26506 # Transform the output of nm in a C name address pair
26507 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26509 # This is the shared library runtime path variable.
26510 runpath_var=$runpath_var
26512 # This is the shared library path variable.
26513 shlibpath_var=$shlibpath_var
26515 # Is shlibpath searched before the hard-coded library search path?
26516 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
26518 # How to hardcode a shared library path into an executable.
26519 hardcode_action=$hardcode_action_GCJ
26521 # Whether we should hardcode library paths into libraries.
26522 hardcode_into_libs=$hardcode_into_libs
26524 # Flag to hardcode \$libdir into a binary during linking.
26525 # This must work even if \$libdir does not exist.
26526 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
26528 # If ld is used when linking, flag to hardcode \$libdir into
26529 # a binary during linking. This must work even if \$libdir does
26531 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
26533 # Whether we need a single -rpath flag with a separated argument.
26534 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
26536 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
26537 # resulting binary.
26538 hardcode_direct=$hardcode_direct_GCJ
26540 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
26541 # resulting binary.
26542 hardcode_minus_L=$hardcode_minus_L_GCJ
26544 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
26545 # the resulting binary.
26546 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
26548 # Set to yes if building a shared library automatically hardcodes DIR into the library
26549 # and all subsequent libraries and executables linked against it.
26550 hardcode_automatic=$hardcode_automatic_GCJ
26552 # Variables whose values should be saved in libtool wrapper scripts and
26553 # restored at relink time.
26554 variables_saved_for_relink="$variables_saved_for_relink"
26556 # Whether libtool must link a program against all its dependency libraries.
26557 link_all_deplibs=$link_all_deplibs_GCJ
26559 # Compile-time system search path for libraries
26560 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
26562 # Run-time system search path for libraries
26563 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
26565 # Fix the shell variable \$srcfile for the compiler.
26566 fix_srcfile_path=$lt_fix_srcfile_path
26568 # Set to yes if exported symbols are required.
26569 always_export_symbols=$always_export_symbols_GCJ
26571 # The commands to list exported symbols.
26572 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
26574 # The commands to extract the exported symbol list from a shared archive.
26575 extract_expsyms_cmds=$lt_extract_expsyms_cmds
26577 # Symbols that should not be listed in the preloaded symbols.
26578 exclude_expsyms=$lt_exclude_expsyms_GCJ
26580 # Symbols that must always be exported.
26581 include_expsyms=$lt_include_expsyms_GCJ
26583 # ### END LIBTOOL TAG CONFIG: $tagname
26589 # If there is no Makefile yet, we rely on a make rule to execute
26590 # `config.status --recheck' to rerun these tests and create the
26591 # libtool script then.
26592 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
26593 if test -f "$ltmain_in"; then
26594 test -f Makefile && make "$ltmain"
26600 ac_cpp='$CPP $CPPFLAGS'
26601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26615 # Source file extension for RC test sources.
26618 # Object file extension for compiled RC test sources.
26622 # Code to be used in simple compile tests
26623 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
26625 # Code to be used in simple link tests
26626 lt_simple_link_test_code="$lt_simple_compile_test_code"
26628 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
26630 # If no C compiler was specified, use CC.
26633 # If no C compiler flags were specified, use CFLAGS.
26634 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
26636 # Allow CC to be a program name with arguments.
26640 # save warnings/boilerplate of simple test code
26641 ac_outfile=conftest.$ac_objext
26642 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
26643 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
26644 _lt_compiler_boilerplate=`cat conftest.err`
26647 ac_outfile=conftest.$ac_objext
26648 echo "$lt_simple_link_test_code" >conftest.$ac_ext
26649 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
26650 _lt_linker_boilerplate=`cat conftest.err`
26654 # Allow CC to be a program name with arguments.
26659 for cc_temp in $compiler""; do
26661 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
26662 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
26667 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
26669 lt_cv_prog_compiler_c_o_RC=yes
26671 # The else clause should only fire when bootstrapping the
26672 # libtool distribution, otherwise you forgot to ship ltmain.sh
26673 # with your package, and you will get complaints that there are
26674 # no rules to generate ltmain.sh.
26675 if test -f "$ltmain"; then
26676 # See if we are running on zsh, and set the options which allow our commands through
26677 # without removal of \ escapes.
26678 if test -n "${ZSH_VERSION+set}" ; then
26679 setopt NO_GLOB_SUBST
26681 # Now quote all the things that may contain metacharacters while being
26682 # careful not to overquote the AC_SUBSTed values. We take copies of the
26683 # variables and quote the copies for generation of the libtool script.
26684 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
26686 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
26687 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
26688 deplibs_check_method reload_flag reload_cmds need_locks \
26689 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
26690 lt_cv_sys_global_symbol_to_c_name_address \
26691 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
26692 old_postinstall_cmds old_postuninstall_cmds \
26696 lt_prog_compiler_wl_RC \
26697 lt_prog_compiler_pic_RC \
26698 lt_prog_compiler_static_RC \
26699 lt_prog_compiler_no_builtin_flag_RC \
26700 export_dynamic_flag_spec_RC \
26701 thread_safe_flag_spec_RC \
26702 whole_archive_flag_spec_RC \
26703 enable_shared_with_static_runtimes_RC \
26704 old_archive_cmds_RC \
26705 old_archive_from_new_cmds_RC \
26706 predep_objects_RC \
26707 postdep_objects_RC \
26710 compiler_lib_search_path_RC \
26711 compiler_lib_search_dirs_RC \
26713 archive_expsym_cmds_RC \
26714 postinstall_cmds_RC \
26715 postuninstall_cmds_RC \
26716 old_archive_from_expsyms_cmds_RC \
26717 allow_undefined_flag_RC \
26718 no_undefined_flag_RC \
26719 export_symbols_cmds_RC \
26720 hardcode_libdir_flag_spec_RC \
26721 hardcode_libdir_flag_spec_ld_RC \
26722 hardcode_libdir_separator_RC \
26723 hardcode_automatic_RC \
26725 module_expsym_cmds_RC \
26726 lt_cv_prog_compiler_c_o_RC \
26727 fix_srcfile_path_RC \
26728 exclude_expsyms_RC \
26729 include_expsyms_RC; do
26732 old_archive_cmds_RC | \
26733 old_archive_from_new_cmds_RC | \
26734 archive_cmds_RC | \
26735 archive_expsym_cmds_RC | \
26737 module_expsym_cmds_RC | \
26738 old_archive_from_expsyms_cmds_RC | \
26739 export_symbols_cmds_RC | \
26740 extract_expsyms_cmds | reload_cmds | finish_cmds | \
26741 postinstall_cmds | postuninstall_cmds | \
26742 old_postinstall_cmds | old_postuninstall_cmds | \
26743 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
26744 # Double-quote double-evaled strings.
26745 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
26748 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
26754 *'\$0 --fallback-echo"')
26755 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
26761 cat <<__EOF__ >> "$cfgfile"
26762 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
26764 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26766 # Shell to use when invoking shell scripts.
26769 # Whether or not to build shared libraries.
26770 build_libtool_libs=$enable_shared
26772 # Whether or not to build static libraries.
26773 build_old_libs=$enable_static
26775 # Whether or not to add -lc for building shared libraries.
26776 build_libtool_need_lc=$archive_cmds_need_lc_RC
26778 # Whether or not to disallow shared libs when runtime libs are static
26779 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
26781 # Whether or not to optimize for fast installation.
26782 fast_install=$enable_fast_install
26785 host_alias=$host_alias
26789 # The build system.
26790 build_alias=$build_alias
26794 # An echo program that does not interpret backslashes.
26799 AR_FLAGS=$lt_AR_FLAGS
26804 # LTCC compiler flags.
26805 LTCFLAGS=$lt_LTCFLAGS
26807 # A language-specific compiler.
26810 # Is the compiler the GNU C compiler?
26816 # The linker used to build libraries.
26819 # Whether we need hard or soft links.
26822 # A BSD-compatible nm program.
26825 # A symbol stripping program
26828 # Used to examine libraries when file_magic_cmd begins "file"
26829 MAGIC_CMD=$MAGIC_CMD
26831 # Used on cygwin: DLL creation program.
26834 # Used on cygwin: object dumper.
26837 # Used on cygwin: assembler.
26840 # The name of the directory that contains temporary libtool files.
26843 # How to create reloadable object files.
26844 reload_flag=$lt_reload_flag
26845 reload_cmds=$lt_reload_cmds
26847 # How to pass a linker flag through the compiler.
26848 wl=$lt_lt_prog_compiler_wl_RC
26850 # Object file suffix (normally "o").
26851 objext="$ac_objext"
26853 # Old archive suffix (normally "a").
26856 # Shared library suffix (normally ".so").
26857 shrext_cmds='$shrext_cmds'
26859 # Executable file suffix (normally "").
26862 # Additional compiler flags for building library objects.
26863 pic_flag=$lt_lt_prog_compiler_pic_RC
26866 # What is the maximum length of a command?
26867 max_cmd_len=$lt_cv_sys_max_cmd_len
26869 # Does compiler simultaneously support -c and -o options?
26870 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
26872 # Must we lock files when doing compilation?
26873 need_locks=$lt_need_locks
26875 # Do we need the lib prefix for modules?
26876 need_lib_prefix=$need_lib_prefix
26878 # Do we need a version for libraries?
26879 need_version=$need_version
26881 # Whether dlopen is supported.
26882 dlopen_support=$enable_dlopen
26884 # Whether dlopen of programs is supported.
26885 dlopen_self=$enable_dlopen_self
26887 # Whether dlopen of statically linked programs is supported.
26888 dlopen_self_static=$enable_dlopen_self_static
26890 # Compiler flag to prevent dynamic linking.
26891 link_static_flag=$lt_lt_prog_compiler_static_RC
26893 # Compiler flag to turn off builtin functions.
26894 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
26896 # Compiler flag to allow reflexive dlopens.
26897 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
26899 # Compiler flag to generate shared objects directly from archives.
26900 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
26902 # Compiler flag to generate thread-safe objects.
26903 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
26905 # Library versioning type.
26906 version_type=$version_type
26908 # Format of library name prefix.
26909 libname_spec=$lt_libname_spec
26911 # List of archive names. First name is the real one, the rest are links.
26912 # The last name is the one that the linker finds with -lNAME.
26913 library_names_spec=$lt_library_names_spec
26915 # The coded name of the library, if different from the real name.
26916 soname_spec=$lt_soname_spec
26918 # Commands used to build and install an old-style archive.
26920 old_archive_cmds=$lt_old_archive_cmds_RC
26921 old_postinstall_cmds=$lt_old_postinstall_cmds
26922 old_postuninstall_cmds=$lt_old_postuninstall_cmds
26924 # Create an old-style archive from a shared archive.
26925 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
26927 # Create a temporary old-style archive to link instead of a shared archive.
26928 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
26930 # Commands used to build and install a shared archive.
26931 archive_cmds=$lt_archive_cmds_RC
26932 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
26933 postinstall_cmds=$lt_postinstall_cmds
26934 postuninstall_cmds=$lt_postuninstall_cmds
26936 # Commands used to build a loadable module (assumed same as above if empty)
26937 module_cmds=$lt_module_cmds_RC
26938 module_expsym_cmds=$lt_module_expsym_cmds_RC
26940 # Commands to strip libraries.
26941 old_striplib=$lt_old_striplib
26942 striplib=$lt_striplib
26944 # Dependencies to place before the objects being linked to create a
26946 predep_objects=$lt_predep_objects_RC
26948 # Dependencies to place after the objects being linked to create a
26950 postdep_objects=$lt_postdep_objects_RC
26952 # Dependencies to place before the objects being linked to create a
26954 predeps=$lt_predeps_RC
26956 # Dependencies to place after the objects being linked to create a
26958 postdeps=$lt_postdeps_RC
26960 # The directories searched by this compiler when creating a shared
26962 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
26964 # The library search path used internally by the compiler when linking
26965 # a shared library.
26966 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
26968 # Method to check whether dependent libraries are shared objects.
26969 deplibs_check_method=$lt_deplibs_check_method
26971 # Command to use when deplibs_check_method == file_magic.
26972 file_magic_cmd=$lt_file_magic_cmd
26974 # Flag that allows shared libraries with undefined symbols to be built.
26975 allow_undefined_flag=$lt_allow_undefined_flag_RC
26977 # Flag that forces no undefined symbols.
26978 no_undefined_flag=$lt_no_undefined_flag_RC
26980 # Commands used to finish a libtool library installation in a directory.
26981 finish_cmds=$lt_finish_cmds
26983 # Same as above, but a single script fragment to be evaled but not shown.
26984 finish_eval=$lt_finish_eval
26986 # Take the output of nm and produce a listing of raw symbols and C names.
26987 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26989 # Transform the output of nm in a proper C declaration
26990 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26992 # Transform the output of nm in a C name address pair
26993 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26995 # This is the shared library runtime path variable.
26996 runpath_var=$runpath_var
26998 # This is the shared library path variable.
26999 shlibpath_var=$shlibpath_var
27001 # Is shlibpath searched before the hard-coded library search path?
27002 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
27004 # How to hardcode a shared library path into an executable.
27005 hardcode_action=$hardcode_action_RC
27007 # Whether we should hardcode library paths into libraries.
27008 hardcode_into_libs=$hardcode_into_libs
27010 # Flag to hardcode \$libdir into a binary during linking.
27011 # This must work even if \$libdir does not exist.
27012 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
27014 # If ld is used when linking, flag to hardcode \$libdir into
27015 # a binary during linking. This must work even if \$libdir does
27017 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
27019 # Whether we need a single -rpath flag with a separated argument.
27020 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
27022 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
27023 # resulting binary.
27024 hardcode_direct=$hardcode_direct_RC
27026 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
27027 # resulting binary.
27028 hardcode_minus_L=$hardcode_minus_L_RC
27030 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
27031 # the resulting binary.
27032 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
27034 # Set to yes if building a shared library automatically hardcodes DIR into the library
27035 # and all subsequent libraries and executables linked against it.
27036 hardcode_automatic=$hardcode_automatic_RC
27038 # Variables whose values should be saved in libtool wrapper scripts and
27039 # restored at relink time.
27040 variables_saved_for_relink="$variables_saved_for_relink"
27042 # Whether libtool must link a program against all its dependency libraries.
27043 link_all_deplibs=$link_all_deplibs_RC
27045 # Compile-time system search path for libraries
27046 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27048 # Run-time system search path for libraries
27049 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27051 # Fix the shell variable \$srcfile for the compiler.
27052 fix_srcfile_path=$lt_fix_srcfile_path
27054 # Set to yes if exported symbols are required.
27055 always_export_symbols=$always_export_symbols_RC
27057 # The commands to list exported symbols.
27058 export_symbols_cmds=$lt_export_symbols_cmds_RC
27060 # The commands to extract the exported symbol list from a shared archive.
27061 extract_expsyms_cmds=$lt_extract_expsyms_cmds
27063 # Symbols that should not be listed in the preloaded symbols.
27064 exclude_expsyms=$lt_exclude_expsyms_RC
27066 # Symbols that must always be exported.
27067 include_expsyms=$lt_include_expsyms_RC
27069 # ### END LIBTOOL TAG CONFIG: $tagname
27075 # If there is no Makefile yet, we rely on a make rule to execute
27076 # `config.status --recheck' to rerun these tests and create the
27077 # libtool script then.
27078 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
27079 if test -f "$ltmain_in"; then
27080 test -f Makefile && make "$ltmain"
27086 ac_cpp='$CPP $CPPFLAGS'
27087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27096 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
27097 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
27098 { (exit 1); exit 1; }; }
27102 # Append the new tag name to the list of available tags.
27103 if test -n "$tagname" ; then
27104 available_tags="$available_tags $tagname"
27110 # Now substitute the updated list of available tags.
27111 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
27112 mv "${ofile}T" "$ofile"
27116 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
27117 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
27118 { (exit 1); exit 1; }; }
27124 # This can be used to rebuild libtool when needed
27125 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
27127 # Always use our own libtool.
27128 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
27130 # Prevent multiple expansion
27151 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
27152 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
27153 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
27154 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
27155 echo $ECHO_N "(cached) $ECHO_C" >&6
27157 cat >conftest.make <<\_ACEOF
27160 @echo '@@@%%%=$(MAKE)=@@@%%%'
27162 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
27163 case `${MAKE-make} -f conftest.make 2>/dev/null` in
27164 *@@@%%%=?*=@@@%%%*)
27165 eval ac_cv_prog_make_${ac_make}_set=yes;;
27167 eval ac_cv_prog_make_${ac_make}_set=no;;
27169 rm -f conftest.make
27171 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
27172 { echo "$as_me:$LINENO: result: yes" >&5
27173 echo "${ECHO_T}yes" >&6; }
27176 { echo "$as_me:$LINENO: result: no" >&5
27177 echo "${ECHO_T}no" >&6; }
27178 SET_MAKE="MAKE=${MAKE-make}"
27182 if test "$need_glib" = "yes"; then
27183 # HAVE_GLIB (aka GLIBFOUND) are a catch-all for these
27184 # three GNOME libs. Assume we have all three unless one of
27185 # the checks fails.
27190 { echo "$as_me:$LINENO: checking for GLIB" >&5
27191 echo $ECHO_N "checking for GLIB... $ECHO_C" >&6; }
27193 if test -n "$PKG_CONFIG"; then
27194 if test -n "$GLIB_CFLAGS"; then
27195 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
27197 if test -n "$PKG_CONFIG" && \
27198 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\"glib-2.0\"\"") >&5
27199 ($PKG_CONFIG --exists --print-errors ""glib-2.0"") 2>&5
27201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27202 (exit $ac_status); }; then
27203 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags ""glib-2.0"" 2>/dev/null`
27211 if test -n "$PKG_CONFIG"; then
27212 if test -n "$GLIB_LIBS"; then
27213 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
27215 if test -n "$PKG_CONFIG" && \
27216 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\"glib-2.0\"\"") >&5
27217 ($PKG_CONFIG --exists --print-errors ""glib-2.0"") 2>&5
27219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27220 (exit $ac_status); }; then
27221 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs ""glib-2.0"" 2>/dev/null`
27232 if test $pkg_failed = yes; then
27234 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27235 _pkg_short_errors_supported=yes
27237 _pkg_short_errors_supported=no
27239 if test $_pkg_short_errors_supported = yes; then
27240 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors ""glib-2.0""`
27242 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors ""glib-2.0""`
27244 # Put the nasty error message in config.log where it belongs
27245 echo "$GLIB_PKG_ERRORS" >&5
27247 { echo "$as_me:$LINENO: result: no" >&5
27248 echo "${ECHO_T}no" >&6; }
27250 elif test $pkg_failed = untried; then
27253 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
27254 GLIB_LIBS=$pkg_cv_GLIB_LIBS
27255 { echo "$as_me:$LINENO: result: yes" >&5
27256 echo "${ECHO_T}yes" >&6; }
27259 # This check here is broken on Ubuntu 8.04: it calls glib-config,
27260 # which isn't found, but the error is not detected by configure.
27261 #if test "x${GLIBFOUND}" = "xno"; then
27262 # PKG_CHECK_MODULES(GLIB, "glib", GLIBFOUND=yes, GLIBFOUND=no)
27267 { echo "$as_me:$LINENO: checking for GTHREAD" >&5
27268 echo $ECHO_N "checking for GTHREAD... $ECHO_C" >&6; }
27270 if test -n "$PKG_CONFIG"; then
27271 if test -n "$GTHREAD_CFLAGS"; then
27272 pkg_cv_GTHREAD_CFLAGS="$GTHREAD_CFLAGS"
27274 if test -n "$PKG_CONFIG" && \
27275 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\"gthread-2.0\"\"") >&5
27276 ($PKG_CONFIG --exists --print-errors ""gthread-2.0"") 2>&5
27278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27279 (exit $ac_status); }; then
27280 pkg_cv_GTHREAD_CFLAGS=`$PKG_CONFIG --cflags ""gthread-2.0"" 2>/dev/null`
27288 if test -n "$PKG_CONFIG"; then
27289 if test -n "$GTHREAD_LIBS"; then
27290 pkg_cv_GTHREAD_LIBS="$GTHREAD_LIBS"
27292 if test -n "$PKG_CONFIG" && \
27293 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\"gthread-2.0\"\"") >&5
27294 ($PKG_CONFIG --exists --print-errors ""gthread-2.0"") 2>&5
27296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27297 (exit $ac_status); }; then
27298 pkg_cv_GTHREAD_LIBS=`$PKG_CONFIG --libs ""gthread-2.0"" 2>/dev/null`
27309 if test $pkg_failed = yes; then
27311 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27312 _pkg_short_errors_supported=yes
27314 _pkg_short_errors_supported=no
27316 if test $_pkg_short_errors_supported = yes; then
27317 GTHREAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors ""gthread-2.0""`
27319 GTHREAD_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors ""gthread-2.0""`
27321 # Put the nasty error message in config.log where it belongs
27322 echo "$GTHREAD_PKG_ERRORS" >&5
27324 { echo "$as_me:$LINENO: result: no" >&5
27325 echo "${ECHO_T}no" >&6; }
27327 elif test $pkg_failed = untried; then
27330 GTHREAD_CFLAGS=$pkg_cv_GTHREAD_CFLAGS
27331 GTHREAD_LIBS=$pkg_cv_GTHREAD_LIBS
27332 { echo "$as_me:$LINENO: result: yes" >&5
27333 echo "${ECHO_T}yes" >&6; }
27338 { echo "$as_me:$LINENO: checking for GOBJECT" >&5
27339 echo $ECHO_N "checking for GOBJECT... $ECHO_C" >&6; }
27341 if test -n "$PKG_CONFIG"; then
27342 if test -n "$GOBJECT_CFLAGS"; then
27343 pkg_cv_GOBJECT_CFLAGS="$GOBJECT_CFLAGS"
27345 if test -n "$PKG_CONFIG" && \
27346 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\"gobject-2.0\"\"") >&5
27347 ($PKG_CONFIG --exists --print-errors ""gobject-2.0"") 2>&5
27349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27350 (exit $ac_status); }; then
27351 pkg_cv_GOBJECT_CFLAGS=`$PKG_CONFIG --cflags ""gobject-2.0"" 2>/dev/null`
27359 if test -n "$PKG_CONFIG"; then
27360 if test -n "$GOBJECT_LIBS"; then
27361 pkg_cv_GOBJECT_LIBS="$GOBJECT_LIBS"
27363 if test -n "$PKG_CONFIG" && \
27364 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\"gobject-2.0\"\"") >&5
27365 ($PKG_CONFIG --exists --print-errors ""gobject-2.0"") 2>&5
27367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27368 (exit $ac_status); }; then
27369 pkg_cv_GOBJECT_LIBS=`$PKG_CONFIG --libs ""gobject-2.0"" 2>/dev/null`
27380 if test $pkg_failed = yes; then
27382 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27383 _pkg_short_errors_supported=yes
27385 _pkg_short_errors_supported=no
27387 if test $_pkg_short_errors_supported = yes; then
27388 GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors ""gobject-2.0""`
27390 GOBJECT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors ""gobject-2.0""`
27392 # Put the nasty error message in config.log where it belongs
27393 echo "$GOBJECT_PKG_ERRORS" >&5
27395 { echo "$as_me:$LINENO: result: no" >&5
27396 echo "${ECHO_T}no" >&6; }
27398 elif test $pkg_failed = untried; then
27401 GOBJECT_CFLAGS=$pkg_cv_GOBJECT_CFLAGS
27402 GOBJECT_LIBS=$pkg_cv_GOBJECT_LIBS
27403 { echo "$as_me:$LINENO: result: yes" >&5
27404 echo "${ECHO_T}yes" >&6; }
27408 if test "x${GLIBFOUND}" = "xyes"; then
27410 cat >>confdefs.h <<\_ACEOF
27411 #define HAVE_GLIB 1
27415 { { echo "$as_me:$LINENO: error: not all GNOME libraries found" >&5
27416 echo "$as_me: error: not all GNOME libraries found" >&2;}
27417 { (exit 1); exit 1; }; }
27419 BACKEND_CPPFLAGS="$BACKEND_CPPFLAGS $GLIB_CFLAGS $GTHREAD_CFLAGS $GOBJECT_CFLAGS"
27422 # determine from where we can get a SHA-256 implementation
27424 if test "$GLIBFOUND" = "yes"; then
27425 # only use glib if we need it anyway, also has to be at lease 2.16
27428 { echo "$as_me:$LINENO: checking for GLIB216" >&5
27429 echo $ECHO_N "checking for GLIB216... $ECHO_C" >&6; }
27431 if test -n "$PKG_CONFIG"; then
27432 if test -n "$GLIB216_CFLAGS"; then
27433 pkg_cv_GLIB216_CFLAGS="$GLIB216_CFLAGS"
27435 if test -n "$PKG_CONFIG" && \
27436 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.16\"") >&5
27437 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.16") 2>&5
27439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27440 (exit $ac_status); }; then
27441 pkg_cv_GLIB216_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.16" 2>/dev/null`
27449 if test -n "$PKG_CONFIG"; then
27450 if test -n "$GLIB216_LIBS"; then
27451 pkg_cv_GLIB216_LIBS="$GLIB216_LIBS"
27453 if test -n "$PKG_CONFIG" && \
27454 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.16\"") >&5
27455 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.16") 2>&5
27457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27458 (exit $ac_status); }; then
27459 pkg_cv_GLIB216_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.16" 2>/dev/null`
27470 if test $pkg_failed = yes; then
27472 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27473 _pkg_short_errors_supported=yes
27475 _pkg_short_errors_supported=no
27477 if test $_pkg_short_errors_supported = yes; then
27478 GLIB216_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= 2.16"`
27480 GLIB216_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.16"`
27482 # Put the nasty error message in config.log where it belongs
27483 echo "$GLIB216_PKG_ERRORS" >&5
27485 { echo "$as_me:$LINENO: result: no" >&5
27486 echo "${ECHO_T}no" >&6; }
27488 elif test $pkg_failed = untried; then
27491 GLIB216_CFLAGS=$pkg_cv_GLIB216_CFLAGS
27492 GLIB216_LIBS=$pkg_cv_GLIB216_LIBS
27493 { echo "$as_me:$LINENO: result: yes" >&5
27494 echo "${ECHO_T}yes" >&6; }
27496 cat >>confdefs.h <<\_ACEOF
27497 #define USE_SHA256 1
27503 if test "$have_sha" = "no"; then
27504 # Fallback is Mozilla NSS. In contrast to libgcrypt it has a .pc
27505 # file and a simple API.
27508 { echo "$as_me:$LINENO: checking for NSS" >&5
27509 echo $ECHO_N "checking for NSS... $ECHO_C" >&6; }
27511 if test -n "$PKG_CONFIG"; then
27512 if test -n "$NSS_CFLAGS"; then
27513 pkg_cv_NSS_CFLAGS="$NSS_CFLAGS"
27515 if test -n "$PKG_CONFIG" && \
27516 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\"nss\"\"") >&5
27517 ($PKG_CONFIG --exists --print-errors ""nss"") 2>&5
27519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27520 (exit $ac_status); }; then
27521 pkg_cv_NSS_CFLAGS=`$PKG_CONFIG --cflags ""nss"" 2>/dev/null`
27529 if test -n "$PKG_CONFIG"; then
27530 if test -n "$NSS_LIBS"; then
27531 pkg_cv_NSS_LIBS="$NSS_LIBS"
27533 if test -n "$PKG_CONFIG" && \
27534 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\"nss\"\"") >&5
27535 ($PKG_CONFIG --exists --print-errors ""nss"") 2>&5
27537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27538 (exit $ac_status); }; then
27539 pkg_cv_NSS_LIBS=`$PKG_CONFIG --libs ""nss"" 2>/dev/null`
27550 if test $pkg_failed = yes; then
27552 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27553 _pkg_short_errors_supported=yes
27555 _pkg_short_errors_supported=no
27557 if test $_pkg_short_errors_supported = yes; then
27558 NSS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors ""nss""`
27560 NSS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors ""nss""`
27562 # Put the nasty error message in config.log where it belongs
27563 echo "$NSS_PKG_ERRORS" >&5
27565 { echo "$as_me:$LINENO: result: no" >&5
27566 echo "${ECHO_T}no" >&6; }
27568 elif test $pkg_failed = untried; then
27571 NSS_CFLAGS=$pkg_cv_NSS_CFLAGS
27572 NSS_LIBS=$pkg_cv_NSS_LIBS
27573 { echo "$as_me:$LINENO: result: yes" >&5
27574 echo "${ECHO_T}yes" >&6; }
27576 cat >>confdefs.h <<\_ACEOF
27577 #define USE_SHA256 2
27584 if test "$enable_shared" == "yes"; then
27585 ENABLE_MODULES_TRUE=
27586 ENABLE_MODULES_FALSE='#'
27588 ENABLE_MODULES_TRUE='#'
27589 ENABLE_MODULES_FALSE=
27592 if test "$enable_shared" == "yes"; then
27594 cat >>confdefs.h <<\_ACEOF
27595 #define ENABLE_MODULES 1
27603 if test "$host" == "arm-apple-darwin"; then
27605 cat >>confdefs.h <<\_ACEOF
27612 if test "$enable_evolution_compatibility" == "yes"; then
27614 cat >>confdefs.h <<\_ACEOF
27615 #define EVOLUTION_COMPATIBILITY 1
27619 if test "$enable_evolution_compatibility" == "yes"; then
27620 ENABLE_EVOLUTION_COMPATIBILITY_TRUE=
27621 ENABLE_EVOLUTION_COMPATIBILITY_FALSE='#'
27623 ENABLE_EVOLUTION_COMPATIBILITY_TRUE='#'
27624 ENABLE_EVOLUTION_COMPATIBILITY_FALSE=
27628 if test "$enable_developer_mode" == "yes"; then
27629 backendsearchdir="`pwd`/src/backends/"
27631 backendsearchdir='$(libdir)'/syncevolution/backends/
27634 backenddir='$(libdir)'/syncevolution/backends
27639 cat >>confdefs.h <<_ACEOF
27640 #define DEVICE_TYPE "$DEVICE_TYPE"
27647 for ac_header in stdarg.h valgrind/valgrind.h execinfo.h
27649 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27650 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27651 { echo "$as_me:$LINENO: checking for $ac_header" >&5
27652 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27653 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27654 echo $ECHO_N "(cached) $ECHO_C" >&6
27656 ac_res=`eval echo '${'$as_ac_Header'}'`
27657 { echo "$as_me:$LINENO: result: $ac_res" >&5
27658 echo "${ECHO_T}$ac_res" >&6; }
27660 # Is the header compilable?
27661 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
27662 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
27663 cat >conftest.$ac_ext <<_ACEOF
27666 cat confdefs.h >>conftest.$ac_ext
27667 cat >>conftest.$ac_ext <<_ACEOF
27668 /* end confdefs.h. */
27669 $ac_includes_default
27670 #include <$ac_header>
27672 rm -f conftest.$ac_objext
27673 if { (ac_try="$ac_compile"
27674 case "(($ac_try" in
27675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27676 *) ac_try_echo=$ac_try;;
27678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27679 (eval "$ac_compile") 2>conftest.er1
27681 grep -v '^ *+' conftest.er1 >conftest.err
27683 cat conftest.err >&5
27684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27685 (exit $ac_status); } && {
27686 test -z "$ac_c_werror_flag" ||
27687 test ! -s conftest.err
27688 } && test -s conftest.$ac_objext; then
27689 ac_header_compiler=yes
27691 echo "$as_me: failed program was:" >&5
27692 sed 's/^/| /' conftest.$ac_ext >&5
27694 ac_header_compiler=no
27697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27698 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27699 echo "${ECHO_T}$ac_header_compiler" >&6; }
27701 # Is the header present?
27702 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
27703 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
27704 cat >conftest.$ac_ext <<_ACEOF
27707 cat confdefs.h >>conftest.$ac_ext
27708 cat >>conftest.$ac_ext <<_ACEOF
27709 /* end confdefs.h. */
27710 #include <$ac_header>
27712 if { (ac_try="$ac_cpp conftest.$ac_ext"
27713 case "(($ac_try" in
27714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27715 *) ac_try_echo=$ac_try;;
27717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27718 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27720 grep -v '^ *+' conftest.er1 >conftest.err
27722 cat conftest.err >&5
27723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27724 (exit $ac_status); } >/dev/null && {
27725 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27726 test ! -s conftest.err
27728 ac_header_preproc=yes
27730 echo "$as_me: failed program was:" >&5
27731 sed 's/^/| /' conftest.$ac_ext >&5
27733 ac_header_preproc=no
27736 rm -f conftest.err conftest.$ac_ext
27737 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27738 echo "${ECHO_T}$ac_header_preproc" >&6; }
27740 # So? What about this header?
27741 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27743 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27744 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27745 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27746 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27747 ac_header_preproc=yes
27750 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27751 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27752 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27753 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27754 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27755 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27756 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27757 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27758 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27759 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27760 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27761 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27765 { echo "$as_me:$LINENO: checking for $ac_header" >&5
27766 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27767 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27768 echo $ECHO_N "(cached) $ECHO_C" >&6
27770 eval "$as_ac_Header=\$ac_header_preproc"
27772 ac_res=`eval echo '${'$as_ac_Header'}'`
27773 { echo "$as_me:$LINENO: result: $ac_res" >&5
27774 echo "${ECHO_T}$ac_res" >&6; }
27777 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27778 cat >>confdefs.h <<_ACEOF
27779 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27788 cat >>confdefs.h <<\_ACEOF
27789 #define SYNTHESIS 1
27793 # fallback for lack of --with-docdir support in older automake
27794 if test ! "$docdir"; then
27795 docdir = ${datadir}/doc/syncevolution
27799 ac_config_files="$ac_config_files Makefile src/dbus/interfaces/Makefile src/gdbus/Makefile src/dbus/Makefile src/Makefile src/syncevo/Makefile src/syncevo/syncevolution.pc src/syncevo/configs/Makefile src/synthesis-includes/Makefile src/gtk-ui/Makefile po/Makefile.in test/Makefile src/dbus/syncevo-dbus.pc"
27801 cat >confcache <<\_ACEOF
27802 # This file is a shell script that caches the results of configure
27803 # tests run on this system so they can be shared between configure
27804 # scripts and configure runs, see configure's option --config-cache.
27805 # It is not useful on other systems. If it contains results you don't
27806 # want to keep, you may remove or edit it.
27808 # config.status only pays attention to the cache file if you give it
27809 # the --recheck option to rerun configure.
27811 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27812 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27813 # following values.
27817 # The following way of writing the cache mishandles newlines in values,
27818 # but we know of no workaround that is simple, portable, and efficient.
27819 # So, we kill variables containing newlines.
27820 # Ultrix sh set writes to stderr and can't be redirected directly,
27821 # and sets the high bit in the cache file unless we assign to the vars.
27823 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27824 eval ac_val=\$$ac_var
27828 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27829 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27832 _ | IFS | as_nl) ;; #(
27833 *) $as_unset $ac_var ;;
27839 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27840 *${as_nl}ac_space=\ *)
27841 # `set' does not quote correctly, so add quotes (double-quote
27842 # substitution turns \\\\ into \\, and sed turns \\ into \).
27845 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27848 # `set' quotes correctly as required by POSIX, so do not add quotes.
27849 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27858 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27860 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27862 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27863 if test -w "$cache_file"; then
27864 test "x$cache_file" != "x/dev/null" &&
27865 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27866 echo "$as_me: updating cache $cache_file" >&6;}
27867 cat confcache >$cache_file
27869 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27870 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27875 test "x$prefix" = xNONE && prefix=$ac_default_prefix
27876 # Let make expand exec_prefix.
27877 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
27879 DEFS=-DHAVE_CONFIG_H
27883 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
27884 # 1. Remove the extension, and $U if already installed.
27885 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
27886 ac_i=`echo "$ac_i" | sed "$ac_script"`
27887 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
27888 # will be set to the directory where LIBOBJS objects are built.
27889 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
27890 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
27892 LIBOBJS=$ac_libobjs
27894 LTLIBOBJS=$ac_ltlibobjs
27897 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
27898 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
27899 Usually this means the macro was only invoked conditionally." >&5
27900 echo "$as_me: error: conditional \"AMDEP\" was never defined.
27901 Usually this means the macro was only invoked conditionally." >&2;}
27902 { (exit 1); exit 1; }; }
27904 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
27905 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
27906 Usually this means the macro was only invoked conditionally." >&5
27907 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
27908 Usually this means the macro was only invoked conditionally." >&2;}
27909 { (exit 1); exit 1; }; }
27911 if test -z "${ENABLE_UNIT_TESTS_TRUE}" && test -z "${ENABLE_UNIT_TESTS_FALSE}"; then
27912 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_UNIT_TESTS\" was never defined.
27913 Usually this means the macro was only invoked conditionally." >&5
27914 echo "$as_me: error: conditional \"ENABLE_UNIT_TESTS\" was never defined.
27915 Usually this means the macro was only invoked conditionally." >&2;}
27916 { (exit 1); exit 1; }; }
27918 if test -z "${ENABLE_TESTING_TRUE}" && test -z "${ENABLE_TESTING_FALSE}"; then
27919 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_TESTING\" was never defined.
27920 Usually this means the macro was only invoked conditionally." >&5
27921 echo "$as_me: error: conditional \"ENABLE_TESTING\" was never defined.
27922 Usually this means the macro was only invoked conditionally." >&2;}
27923 { (exit 1); exit 1; }; }
27925 if test -z "${ENABLE_OBEX_TRUE}" && test -z "${ENABLE_OBEX_FALSE}"; then
27926 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_OBEX\" was never defined.
27927 Usually this means the macro was only invoked conditionally." >&5
27928 echo "$as_me: error: conditional \"ENABLE_OBEX\" was never defined.
27929 Usually this means the macro was only invoked conditionally." >&2;}
27930 { (exit 1); exit 1; }; }
27932 if test -z "${ENABLE_BLUETOOTH_TRUE}" && test -z "${ENABLE_BLUETOOTH_FALSE}"; then
27933 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_BLUETOOTH\" was never defined.
27934 Usually this means the macro was only invoked conditionally." >&5
27935 echo "$as_me: error: conditional \"ENABLE_BLUETOOTH\" was never defined.
27936 Usually this means the macro was only invoked conditionally." >&2;}
27937 { (exit 1); exit 1; }; }
27939 if test -z "${COND_GUI_TRUE}" && test -z "${COND_GUI_FALSE}"; then
27940 { { echo "$as_me:$LINENO: error: conditional \"COND_GUI\" was never defined.
27941 Usually this means the macro was only invoked conditionally." >&5
27942 echo "$as_me: error: conditional \"COND_GUI\" was never defined.
27943 Usually this means the macro was only invoked conditionally." >&2;}
27944 { (exit 1); exit 1; }; }
27946 if test -z "${COND_CORE_TRUE}" && test -z "${COND_CORE_FALSE}"; then
27947 { { echo "$as_me:$LINENO: error: conditional \"COND_CORE\" was never defined.
27948 Usually this means the macro was only invoked conditionally." >&5
27949 echo "$as_me: error: conditional \"COND_CORE\" was never defined.
27950 Usually this means the macro was only invoked conditionally." >&2;}
27951 { (exit 1); exit 1; }; }
27953 if test -z "${COND_DBUS_TRUE}" && test -z "${COND_DBUS_FALSE}"; then
27954 { { echo "$as_me:$LINENO: error: conditional \"COND_DBUS\" was never defined.
27955 Usually this means the macro was only invoked conditionally." >&5
27956 echo "$as_me: error: conditional \"COND_DBUS\" was never defined.
27957 Usually this means the macro was only invoked conditionally." >&2;}
27958 { (exit 1); exit 1; }; }
27961 ac_config_commands="$ac_config_commands po/stamp-it"
27964 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
27965 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
27966 Usually this means the macro was only invoked conditionally." >&5
27967 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
27968 Usually this means the macro was only invoked conditionally." >&2;}
27969 { (exit 1); exit 1; }; }
27971 if test -z "${ENABLE_GNOME_BLUETOOTH_PANEL_TRUE}" && test -z "${ENABLE_GNOME_BLUETOOTH_PANEL_FALSE}"; then
27972 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_GNOME_BLUETOOTH_PANEL\" was never defined.
27973 Usually this means the macro was only invoked conditionally." >&5
27974 echo "$as_me: error: conditional \"ENABLE_GNOME_BLUETOOTH_PANEL\" was never defined.
27975 Usually this means the macro was only invoked conditionally." >&2;}
27976 { (exit 1); exit 1; }; }
27978 if test -z "${ENABLE_ECAL_TRUE}" && test -z "${ENABLE_ECAL_FALSE}"; then
27979 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_ECAL\" was never defined.
27980 Usually this means the macro was only invoked conditionally." >&5
27981 echo "$as_me: error: conditional \"ENABLE_ECAL\" was never defined.
27982 Usually this means the macro was only invoked conditionally." >&2;}
27983 { (exit 1); exit 1; }; }
27985 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
27986 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
27987 Usually this means the macro was only invoked conditionally." >&5
27988 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
27989 Usually this means the macro was only invoked conditionally." >&2;}
27990 { (exit 1); exit 1; }; }
27992 if test -z "${ENABLE_MODULES_TRUE}" && test -z "${ENABLE_MODULES_FALSE}"; then
27993 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_MODULES\" was never defined.
27994 Usually this means the macro was only invoked conditionally." >&5
27995 echo "$as_me: error: conditional \"ENABLE_MODULES\" was never defined.
27996 Usually this means the macro was only invoked conditionally." >&2;}
27997 { (exit 1); exit 1; }; }
27999 if test -z "${ENABLE_EVOLUTION_COMPATIBILITY_TRUE}" && test -z "${ENABLE_EVOLUTION_COMPATIBILITY_FALSE}"; then
28000 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_EVOLUTION_COMPATIBILITY\" was never defined.
28001 Usually this means the macro was only invoked conditionally." >&5
28002 echo "$as_me: error: conditional \"ENABLE_EVOLUTION_COMPATIBILITY\" was never defined.
28003 Usually this means the macro was only invoked conditionally." >&2;}
28004 { (exit 1); exit 1; }; }
28007 : ${CONFIG_STATUS=./config.status}
28008 ac_clean_files_save=$ac_clean_files
28009 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
28010 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
28011 echo "$as_me: creating $CONFIG_STATUS" >&6;}
28012 cat >$CONFIG_STATUS <<_ACEOF
28014 # Generated by $as_me.
28015 # Run this file to recreate the current configuration.
28016 # Compiler output produced by configure, useful for debugging
28017 # configure, is in config.log if it exists.
28020 ac_cs_recheck=false
28022 SHELL=\${CONFIG_SHELL-$SHELL}
28025 cat >>$CONFIG_STATUS <<\_ACEOF
28026 ## --------------------- ##
28027 ## M4sh Initialization. ##
28028 ## --------------------- ##
28030 # Be more Bourne compatible
28031 DUALCASE=1; export DUALCASE # for MKS sh
28032 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
28035 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
28036 # is contrary to our usage. Disable this feature.
28037 alias -g '${1+"$@"}'='"$@"'
28038 setopt NO_GLOB_SUBST
28040 case `(set -o) 2>/dev/null` in
28041 *posix*) set -o posix ;;
28050 # Avoid depending upon Character Ranges.
28051 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
28052 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
28053 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
28054 as_cr_digits='0123456789'
28055 as_cr_alnum=$as_cr_Letters$as_cr_digits
28057 # The user is always right.
28058 if test "${PATH_SEPARATOR+set}" != set; then
28059 echo "#! /bin/sh" >conf$$.sh
28060 echo "exit 0" >>conf$$.sh
28062 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28070 # Support unset when possible.
28071 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28079 # We need space, tab and new line, in precisely that order. Quoting is
28080 # there to prevent editors from complaining about space-tab.
28081 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
28082 # splitting by setting IFS to empty value.)
28087 # Find who we are. Look in the path if we contain no directory separator.
28089 *[\\/]* ) as_myself=$0 ;;
28090 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28091 for as_dir in $PATH
28094 test -z "$as_dir" && as_dir=.
28095 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
28101 # We did not find ourselves, most probably we were run as `sh COMMAND'
28102 # in which case we are not to be found in the path.
28103 if test "x$as_myself" = x; then
28106 if test ! -f "$as_myself"; then
28107 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
28108 { (exit 1); exit 1; }
28111 # Work around bugs in pre-3.0 UWIN ksh.
28112 for as_var in ENV MAIL MAILPATH
28113 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
28121 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
28122 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
28123 LC_TELEPHONE LC_TIME
28125 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
28126 eval $as_var=C; export $as_var
28128 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
28132 # Required to use basename.
28133 if expr a : '\(a\)' >/dev/null 2>&1 &&
28134 test "X`expr 00001 : '.*\(...\)'`" = X001; then
28140 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
28141 as_basename=basename
28147 # Name of the executable.
28148 as_me=`$as_basename -- "$0" ||
28149 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
28150 X"$0" : 'X\(//\)$' \| \
28151 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
28153 sed '/^.*\/\([^/][^/]*\)\/*$/{
28172 as_lineno_1=$LINENO
28173 as_lineno_2=$LINENO
28174 test "x$as_lineno_1" != "x$as_lineno_2" &&
28175 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
28177 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
28178 # uniformly replaced by the line number. The first 'sed' inserts a
28179 # line-number line after each line using $LINENO; the second 'sed'
28180 # does the real work. The second script uses 'N' to pair each
28181 # line-number line with the line containing $LINENO, and appends
28182 # trailing '-' during substitution so that $LINENO is not a special
28183 # case at line end.
28184 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
28185 # scripts with optimization help from Paolo Bonzini. Blame Lee
28186 # E. McMahon (1931-1989) for sed's syntax. :-)
28198 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
28201 ' >$as_me.lineno &&
28202 chmod +x "$as_me.lineno" ||
28203 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
28204 { (exit 1); exit 1; }; }
28206 # Don't try to exec as it changes $[0], causing all sort of problems
28207 # (the dirname of $[0] is not the place where we might find the
28208 # original and so on. Autoconf is especially sensitive to this).
28209 . "./$as_me.lineno"
28210 # Exit status is that of the last command.
28215 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
28221 ECHO_C= ECHO_N= ECHO_T=
28222 case `echo -n x` in
28224 case `echo 'x\c'` in
28225 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
28232 if expr a : '\(a\)' >/dev/null 2>&1 &&
28233 test "X`expr 00001 : '.*\(...\)'`" = X001; then
28239 rm -f conf$$ conf$$.exe conf$$.file
28240 if test -d conf$$.dir; then
28241 rm -f conf$$.dir/conf$$.file
28247 if ln -s conf$$.file conf$$ 2>/dev/null; then
28249 # ... but there are two gotchas:
28250 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
28251 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
28252 # In both cases, we have to default to `cp -p'.
28253 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
28255 elif ln conf$$.file conf$$ 2>/dev/null; then
28260 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
28261 rmdir conf$$.dir 2>/dev/null
28263 if mkdir -p . 2>/dev/null; then
28266 test -d ./-p && rmdir ./-p
28270 if test -x / >/dev/null 2>&1; then
28271 as_test_x='test -x'
28273 if ls -dL / >/dev/null 2>&1; then
28280 if test -d "$1"; then
28286 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
28287 ???[sx]*):;;*)false;;esac;fi
28291 as_executable_p=$as_test_x
28293 # Sed expression to map a string onto a valid CPP name.
28294 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
28296 # Sed expression to map a string onto a valid variable name.
28297 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
28302 # Save the log message, to keep $[0] and so on meaningful, and to
28303 # report actual input values of CONFIG_FILES etc. instead of their
28304 # values after options handling.
28306 This file was extended by syncevolution $as_me 1.0beta3, which was
28307 generated by GNU Autoconf 2.61. Invocation command line was
28309 CONFIG_FILES = $CONFIG_FILES
28310 CONFIG_HEADERS = $CONFIG_HEADERS
28311 CONFIG_LINKS = $CONFIG_LINKS
28312 CONFIG_COMMANDS = $CONFIG_COMMANDS
28315 on `(hostname || uname -n) 2>/dev/null | sed 1q`
28320 cat >>$CONFIG_STATUS <<_ACEOF
28321 # Files that config.status was made for.
28322 config_files="$ac_config_files"
28323 config_headers="$ac_config_headers"
28324 config_commands="$ac_config_commands"
28328 cat >>$CONFIG_STATUS <<\_ACEOF
28330 \`$as_me' instantiates files from templates according to the
28331 current configuration.
28333 Usage: $0 [OPTIONS] [FILE]...
28335 -h, --help print this help, then exit
28336 -V, --version print version number and configuration settings, then exit
28337 -q, --quiet do not print progress messages
28338 -d, --debug don't remove temporary files
28339 --recheck update $as_me by reconfiguring in the same conditions
28340 --file=FILE[:TEMPLATE]
28341 instantiate the configuration file FILE
28342 --header=FILE[:TEMPLATE]
28343 instantiate the configuration header FILE
28345 Configuration files:
28348 Configuration headers:
28351 Configuration commands:
28354 Report bugs to <bug-autoconf@gnu.org>."
28357 cat >>$CONFIG_STATUS <<_ACEOF
28359 syncevolution config.status 1.0beta3
28360 configured by $0, generated by GNU Autoconf 2.61,
28361 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
28363 Copyright (C) 2006 Free Software Foundation, Inc.
28364 This config.status script is free software; the Free Software Foundation
28365 gives unlimited permission to copy, distribute and modify it."
28373 cat >>$CONFIG_STATUS <<\_ACEOF
28374 # If no file are specified by the user, then we need to provide default
28375 # value. By we need to know if files were specified by the user.
28381 ac_option=`expr "X$1" : 'X\([^=]*\)='`
28382 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
28393 # Handling of the options.
28394 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
28396 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
28397 echo "$ac_cs_version"; exit ;;
28398 --debug | --debu | --deb | --de | --d | -d )
28400 --file | --fil | --fi | --f )
28402 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
28403 ac_need_defaults=false;;
28404 --header | --heade | --head | --hea )
28406 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
28407 ac_need_defaults=false;;
28409 # Conflict between --help and --header
28410 { echo "$as_me: error: ambiguous option: $1
28411 Try \`$0 --help' for more information." >&2
28412 { (exit 1); exit 1; }; };;
28413 --help | --hel | -h )
28414 echo "$ac_cs_usage"; exit ;;
28415 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
28416 | -silent | --silent | --silen | --sile | --sil | --si | --s)
28419 # This is an error.
28420 -*) { echo "$as_me: error: unrecognized option: $1
28421 Try \`$0 --help' for more information." >&2
28422 { (exit 1); exit 1; }; } ;;
28424 *) ac_config_targets="$ac_config_targets $1"
28425 ac_need_defaults=false ;;
28431 ac_configure_extra_args=
28433 if $ac_cs_silent; then
28435 ac_configure_extra_args="$ac_configure_extra_args --silent"
28439 cat >>$CONFIG_STATUS <<_ACEOF
28440 if \$ac_cs_recheck; then
28441 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
28442 CONFIG_SHELL=$SHELL
28443 export CONFIG_SHELL
28444 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
28448 cat >>$CONFIG_STATUS <<\_ACEOF
28452 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
28453 ## Running $as_me. ##
28459 cat >>$CONFIG_STATUS <<_ACEOF
28463 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
28468 cat >>$CONFIG_STATUS <<\_ACEOF
28470 # Handling of arguments.
28471 for ac_config_target in $ac_config_targets
28473 case $ac_config_target in
28474 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
28475 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
28476 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
28477 "src/gnome-bluetooth/Makefile") CONFIG_FILES="$CONFIG_FILES src/gnome-bluetooth/Makefile" ;;
28478 "src/backends/addressbook/Makefile") CONFIG_FILES="$CONFIG_FILES src/backends/addressbook/Makefile" ;;
28479 "src/backends/evolution/Makefile") CONFIG_FILES="$CONFIG_FILES src/backends/evolution/Makefile" ;;
28480 "src/backends/file/Makefile") CONFIG_FILES="$CONFIG_FILES src/backends/file/Makefile" ;;
28481 "src/backends/maemo/Makefile") CONFIG_FILES="$CONFIG_FILES src/backends/maemo/Makefile" ;;
28482 "src/backends/sqlite/Makefile") CONFIG_FILES="$CONFIG_FILES src/backends/sqlite/Makefile" ;;
28483 "src/backends/xmlrpc/Makefile") CONFIG_FILES="$CONFIG_FILES src/backends/xmlrpc/Makefile" ;;
28484 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
28485 "src/dbus/interfaces/Makefile") CONFIG_FILES="$CONFIG_FILES src/dbus/interfaces/Makefile" ;;
28486 "src/gdbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/gdbus/Makefile" ;;
28487 "src/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/dbus/Makefile" ;;
28488 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
28489 "src/syncevo/Makefile") CONFIG_FILES="$CONFIG_FILES src/syncevo/Makefile" ;;
28490 "src/syncevo/syncevolution.pc") CONFIG_FILES="$CONFIG_FILES src/syncevo/syncevolution.pc" ;;
28491 "src/syncevo/configs/Makefile") CONFIG_FILES="$CONFIG_FILES src/syncevo/configs/Makefile" ;;
28492 "src/synthesis-includes/Makefile") CONFIG_FILES="$CONFIG_FILES src/synthesis-includes/Makefile" ;;
28493 "src/gtk-ui/Makefile") CONFIG_FILES="$CONFIG_FILES src/gtk-ui/Makefile" ;;
28494 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
28495 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
28496 "src/dbus/syncevo-dbus.pc") CONFIG_FILES="$CONFIG_FILES src/dbus/syncevo-dbus.pc" ;;
28497 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
28499 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
28500 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
28501 { (exit 1); exit 1; }; };;
28506 # If the user did not use the arguments to specify the items to instantiate,
28507 # then the envvar interface is used. Set only those that are not.
28508 # We use the long form for the default assignment because of an extremely
28509 # bizarre bug on SunOS 4.1.3.
28510 if $ac_need_defaults; then
28511 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
28512 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
28513 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
28516 # Have a temporary directory for convenience. Make it in the build tree
28517 # simply because there is no reason against having it here, and in addition,
28518 # creating and moving files from /tmp can sometimes cause problems.
28519 # Hook for its removal unless debugging.
28520 # Note that there is a small window in which the directory will not be cleaned:
28521 # after its creation but before its name has been assigned to `$tmp'.
28525 trap 'exit_status=$?
28526 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
28528 trap '{ (exit 1); exit 1; }' 1 2 13 15
28530 # Create a (secure) tmp directory for tmp files.
28533 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
28534 test -n "$tmp" && test -d "$tmp"
28537 tmp=./conf$$-$RANDOM
28538 (umask 077 && mkdir "$tmp")
28541 echo "$me: cannot create a temporary directory in ." >&2
28542 { (exit 1); exit 1; }
28546 # Set up the sed scripts for CONFIG_FILES section.
28549 # No need to generate the scripts if there are no CONFIG_FILES.
28550 # This happens for instance when ./config.status config.h
28551 if test -n "$CONFIG_FILES"; then
28558 for ac_last_try in false false false false false :; do
28559 cat >conf$$subs.sed <<_ACEOF
28560 SHELL!$SHELL$ac_delim
28561 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
28562 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
28563 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
28564 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
28565 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
28566 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
28567 exec_prefix!$exec_prefix$ac_delim
28568 prefix!$prefix$ac_delim
28569 program_transform_name!$program_transform_name$ac_delim
28570 bindir!$bindir$ac_delim
28571 sbindir!$sbindir$ac_delim
28572 libexecdir!$libexecdir$ac_delim
28573 datarootdir!$datarootdir$ac_delim
28574 datadir!$datadir$ac_delim
28575 sysconfdir!$sysconfdir$ac_delim
28576 sharedstatedir!$sharedstatedir$ac_delim
28577 localstatedir!$localstatedir$ac_delim
28578 includedir!$includedir$ac_delim
28579 oldincludedir!$oldincludedir$ac_delim
28580 docdir!$docdir$ac_delim
28581 infodir!$infodir$ac_delim
28582 htmldir!$htmldir$ac_delim
28583 dvidir!$dvidir$ac_delim
28584 pdfdir!$pdfdir$ac_delim
28585 psdir!$psdir$ac_delim
28586 libdir!$libdir$ac_delim
28587 localedir!$localedir$ac_delim
28588 mandir!$mandir$ac_delim
28589 DEFS!$DEFS$ac_delim
28590 ECHO_C!$ECHO_C$ac_delim
28591 ECHO_N!$ECHO_N$ac_delim
28592 ECHO_T!$ECHO_T$ac_delim
28593 LIBS!$LIBS$ac_delim
28594 build_alias!$build_alias$ac_delim
28595 host_alias!$host_alias$ac_delim
28596 target_alias!$target_alias$ac_delim
28597 STABLE_VERSION!$STABLE_VERSION$ac_delim
28598 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
28599 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
28600 INSTALL_DATA!$INSTALL_DATA$ac_delim
28601 am__isrc!$am__isrc$ac_delim
28602 CYGPATH_W!$CYGPATH_W$ac_delim
28603 PACKAGE!$PACKAGE$ac_delim
28604 VERSION!$VERSION$ac_delim
28605 ACLOCAL!$ACLOCAL$ac_delim
28606 AUTOCONF!$AUTOCONF$ac_delim
28607 AUTOMAKE!$AUTOMAKE$ac_delim
28608 AUTOHEADER!$AUTOHEADER$ac_delim
28609 MAKEINFO!$MAKEINFO$ac_delim
28610 install_sh!$install_sh$ac_delim
28611 STRIP!$STRIP$ac_delim
28612 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
28613 mkdir_p!$mkdir_p$ac_delim
28615 SET_MAKE!$SET_MAKE$ac_delim
28616 am__leading_dot!$am__leading_dot$ac_delim
28617 AMTAR!$AMTAR$ac_delim
28618 am__tar!$am__tar$ac_delim
28619 am__untar!$am__untar$ac_delim
28620 MODIFY_SYNCCOMPARE!$MODIFY_SYNCCOMPARE$ac_delim
28622 CFLAGS!$CFLAGS$ac_delim
28623 LDFLAGS!$LDFLAGS$ac_delim
28624 CPPFLAGS!$CPPFLAGS$ac_delim
28625 ac_ct_CC!$ac_ct_CC$ac_delim
28626 EXEEXT!$EXEEXT$ac_delim
28627 OBJEXT!$OBJEXT$ac_delim
28628 DEPDIR!$DEPDIR$ac_delim
28629 am__include!$am__include$ac_delim
28630 am__quote!$am__quote$ac_delim
28631 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
28632 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
28633 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
28634 CCDEPMODE!$CCDEPMODE$ac_delim
28635 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
28636 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
28638 GREP!$GREP$ac_delim
28639 EGREP!$EGREP$ac_delim
28640 CPPUNIT_CXXFLAGS!$CPPUNIT_CXXFLAGS$ac_delim
28641 CPPUNIT_LDFLAGS!$CPPUNIT_LDFLAGS$ac_delim
28642 ENABLE_UNIT_TESTS_TRUE!$ENABLE_UNIT_TESTS_TRUE$ac_delim
28643 ENABLE_UNIT_TESTS_FALSE!$ENABLE_UNIT_TESTS_FALSE$ac_delim
28644 ENABLE_TESTING_TRUE!$ENABLE_TESTING_TRUE$ac_delim
28645 ENABLE_TESTING_FALSE!$ENABLE_TESTING_FALSE$ac_delim
28646 CORE_LDADD_DEP!$CORE_LDADD_DEP$ac_delim
28647 PKG_CONFIG!$PKG_CONFIG$ac_delim
28648 LIBSOUP_CFLAGS!$LIBSOUP_CFLAGS$ac_delim
28649 LIBSOUP_LIBS!$LIBSOUP_LIBS$ac_delim
28650 LIBOPENOBEX_CFLAGS!$LIBOPENOBEX_CFLAGS$ac_delim
28651 LIBOPENOBEX_LIBS!$LIBOPENOBEX_LIBS$ac_delim
28652 BLUEZ_CFLAGS!$BLUEZ_CFLAGS$ac_delim
28653 BLUEZ_LIBS!$BLUEZ_LIBS$ac_delim
28654 ENABLE_OBEX_TRUE!$ENABLE_OBEX_TRUE$ac_delim
28655 ENABLE_OBEX_FALSE!$ENABLE_OBEX_FALSE$ac_delim
28656 ENABLE_BLUETOOTH_TRUE!$ENABLE_BLUETOOTH_TRUE$ac_delim
28659 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
28661 elif $ac_last_try; then
28662 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
28663 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
28664 { (exit 1); exit 1; }; }
28666 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
28670 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
28671 if test -n "$ac_eof"; then
28672 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
28673 ac_eof=`expr $ac_eof + 1`
28676 cat >>$CONFIG_STATUS <<_ACEOF
28677 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
28678 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
28681 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
28682 s/^/s,@/; s/!/@,|#_!!_#|/
28685 s/'"$ac_delim"'$/,g/; t
28687 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
28688 ' >>$CONFIG_STATUS <conf$$subs.sed
28689 rm -f conf$$subs.sed
28690 cat >>$CONFIG_STATUS <<_ACEOF
28696 for ac_last_try in false false false false false :; do
28697 cat >conf$$subs.sed <<_ACEOF
28698 ENABLE_BLUETOOTH_FALSE!$ENABLE_BLUETOOTH_FALSE$ac_delim
28699 TRANSPORT_LIBS!$TRANSPORT_LIBS$ac_delim
28700 TRANSPORT_CFLAGS!$TRANSPORT_CFLAGS$ac_delim
28701 XSLT!$XSLT$ac_delim
28702 COND_GUI_TRUE!$COND_GUI_TRUE$ac_delim
28703 COND_GUI_FALSE!$COND_GUI_FALSE$ac_delim
28704 COND_CORE_TRUE!$COND_CORE_TRUE$ac_delim
28705 COND_CORE_FALSE!$COND_CORE_FALSE$ac_delim
28706 COND_DBUS_TRUE!$COND_DBUS_TRUE$ac_delim
28707 COND_DBUS_FALSE!$COND_DBUS_FALSE$ac_delim
28708 KEYRING_CFLAGS!$KEYRING_CFLAGS$ac_delim
28709 KEYRING_LIBS!$KEYRING_LIBS$ac_delim
28710 KEYRING_2_20_CFLAGS!$KEYRING_2_20_CFLAGS$ac_delim
28711 KEYRING_2_20_LIBS!$KEYRING_2_20_LIBS$ac_delim
28712 DBUS_CFLAGS!$DBUS_CFLAGS$ac_delim
28713 DBUS_LIBS!$DBUS_LIBS$ac_delim
28714 LIBNOTIFY_CFLAGS!$LIBNOTIFY_CFLAGS$ac_delim
28715 LIBNOTIFY_LIBS!$LIBNOTIFY_LIBS$ac_delim
28716 DBUS_GLIB_CFLAGS!$DBUS_GLIB_CFLAGS$ac_delim
28717 DBUS_GLIB_LIBS!$DBUS_GLIB_LIBS$ac_delim
28718 LIBEXECDIR!$LIBEXECDIR$ac_delim
28719 DBUS_SERVICES_DIR!$DBUS_SERVICES_DIR$ac_delim
28720 USE_NLS!$USE_NLS$ac_delim
28721 INTLTOOL_UPDATE!$INTLTOOL_UPDATE$ac_delim
28722 INTLTOOL_MERGE!$INTLTOOL_MERGE$ac_delim
28723 INTLTOOL_EXTRACT!$INTLTOOL_EXTRACT$ac_delim
28724 INTLTOOL_DESKTOP_RULE!$INTLTOOL_DESKTOP_RULE$ac_delim
28725 INTLTOOL_DIRECTORY_RULE!$INTLTOOL_DIRECTORY_RULE$ac_delim
28726 INTLTOOL_KEYS_RULE!$INTLTOOL_KEYS_RULE$ac_delim
28727 INTLTOOL_PROP_RULE!$INTLTOOL_PROP_RULE$ac_delim
28728 INTLTOOL_OAF_RULE!$INTLTOOL_OAF_RULE$ac_delim
28729 INTLTOOL_PONG_RULE!$INTLTOOL_PONG_RULE$ac_delim
28730 INTLTOOL_SERVER_RULE!$INTLTOOL_SERVER_RULE$ac_delim
28731 INTLTOOL_SHEET_RULE!$INTLTOOL_SHEET_RULE$ac_delim
28732 INTLTOOL_SOUNDLIST_RULE!$INTLTOOL_SOUNDLIST_RULE$ac_delim
28733 INTLTOOL_UI_RULE!$INTLTOOL_UI_RULE$ac_delim
28734 INTLTOOL_XAM_RULE!$INTLTOOL_XAM_RULE$ac_delim
28735 INTLTOOL_KBD_RULE!$INTLTOOL_KBD_RULE$ac_delim
28736 INTLTOOL_XML_RULE!$INTLTOOL_XML_RULE$ac_delim
28737 INTLTOOL_XML_NOMERGE_RULE!$INTLTOOL_XML_NOMERGE_RULE$ac_delim
28738 INTLTOOL_CAVES_RULE!$INTLTOOL_CAVES_RULE$ac_delim
28739 INTLTOOL_SCHEMAS_RULE!$INTLTOOL_SCHEMAS_RULE$ac_delim
28740 INTLTOOL_THEME_RULE!$INTLTOOL_THEME_RULE$ac_delim
28741 INTLTOOL_SERVICE_RULE!$INTLTOOL_SERVICE_RULE$ac_delim
28742 INTLTOOL_POLICY_RULE!$INTLTOOL_POLICY_RULE$ac_delim
28743 XGETTEXT!$XGETTEXT$ac_delim
28744 MSGMERGE!$MSGMERGE$ac_delim
28745 MSGFMT!$MSGFMT$ac_delim
28746 GMSGFMT!$GMSGFMT$ac_delim
28747 INTLTOOL_PERL!$INTLTOOL_PERL$ac_delim
28748 ALL_LINGUAS!$ALL_LINGUAS$ac_delim
28749 DATADIRNAME!$DATADIRNAME$ac_delim
28750 MSGFMT_OPTS!$MSGFMT_OPTS$ac_delim
28751 CATALOGS!$CATALOGS$ac_delim
28752 CATOBJEXT!$CATOBJEXT$ac_delim
28753 GMOFILES!$GMOFILES$ac_delim
28754 INSTOBJEXT!$INSTOBJEXT$ac_delim
28755 INTLLIBS!$INTLLIBS$ac_delim
28756 PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim
28757 PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim
28758 POFILES!$POFILES$ac_delim
28759 POSUB!$POSUB$ac_delim
28760 MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
28761 DBUS_BINDING_TOOL!$DBUS_BINDING_TOOL$ac_delim
28762 GLIB_GENMARSHAL!$GLIB_GENMARSHAL$ac_delim
28763 MX_GTK_0_99_1_CFLAGS!$MX_GTK_0_99_1_CFLAGS$ac_delim
28764 MX_GTK_0_99_1_LIBS!$MX_GTK_0_99_1_LIBS$ac_delim
28765 UNIQUE_CFLAGS!$UNIQUE_CFLAGS$ac_delim
28766 UNIQUE_LIBS!$UNIQUE_LIBS$ac_delim
28767 GTK_2_18_CFLAGS!$GTK_2_18_CFLAGS$ac_delim
28768 GTK_2_18_LIBS!$GTK_2_18_LIBS$ac_delim
28769 GUI_CFLAGS!$GUI_CFLAGS$ac_delim
28770 GUI_LIBS!$GUI_LIBS$ac_delim
28771 GTK_BUILDER_CONV!$GTK_BUILDER_CONV$ac_delim
28772 SYNCEVOLUTION_LOCALEDIR!$SYNCEVOLUTION_LOCALEDIR$ac_delim
28773 GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
28774 GUI_PROGRAMS!$GUI_PROGRAMS$ac_delim
28775 GUI_DESKTOP_FILES!$GUI_DESKTOP_FILES$ac_delim
28777 CXXFLAGS!$CXXFLAGS$ac_delim
28778 ac_ct_CXX!$ac_ct_CXX$ac_delim
28779 CXXDEPMODE!$CXXDEPMODE$ac_delim
28780 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
28781 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
28782 BOOST_CPPFLAGS!$BOOST_CPPFLAGS$ac_delim
28783 BOOST_LDFLAGS!$BOOST_LDFLAGS$ac_delim
28784 SYNTHESIS_SRC!$SYNTHESIS_SRC$ac_delim
28785 SYNTHESIS_CFLAGS!$SYNTHESIS_CFLAGS$ac_delim
28786 SYNTHESIS_LIBS!$SYNTHESIS_LIBS$ac_delim
28787 SYNTHESIS!$SYNTHESIS$ac_delim
28788 SYNTHESIS_SUBDIR!$SYNTHESIS_SUBDIR$ac_delim
28789 SYNTHESIS_SUBDIR_INCLUDES!$SYNTHESIS_SUBDIR_INCLUDES$ac_delim
28790 SYNTHESIS_DEP!$SYNTHESIS_DEP$ac_delim
28791 SYNTHESIS_ENGINE!$SYNTHESIS_ENGINE$ac_delim
28792 SYNTHESIS_LIB!$SYNTHESIS_LIB$ac_delim
28793 SYNTHESISSRC!$SYNTHESISSRC$ac_delim
28794 SYNCSOURCES!$SYNCSOURCES$ac_delim
28797 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
28799 elif $ac_last_try; then
28800 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
28801 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
28802 { (exit 1); exit 1; }; }
28804 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
28808 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
28809 if test -n "$ac_eof"; then
28810 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
28811 ac_eof=`expr $ac_eof + 1`
28814 cat >>$CONFIG_STATUS <<_ACEOF
28815 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
28816 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
28819 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
28820 s/^/s,@/; s/!/@,|#_!!_#|/
28823 s/'"$ac_delim"'$/,g/; t
28825 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
28826 ' >>$CONFIG_STATUS <conf$$subs.sed
28827 rm -f conf$$subs.sed
28828 cat >>$CONFIG_STATUS <<_ACEOF
28834 for ac_last_try in false false false false false :; do
28835 cat >conf$$subs.sed <<_ACEOF
28836 BACKEND_DEFINES!$BACKEND_DEFINES$ac_delim
28837 BACKEND_CPPFLAGS!$BACKEND_CPPFLAGS$ac_delim
28838 GNOMEBLUETOOTH_CFLAGS!$GNOMEBLUETOOTH_CFLAGS$ac_delim
28839 GNOMEBLUETOOTH_LIBS!$GNOMEBLUETOOTH_LIBS$ac_delim
28840 GNOMEBLUETOOTH_DIR!$GNOMEBLUETOOTH_DIR$ac_delim
28841 ENABLE_GNOME_BLUETOOTH_PANEL_TRUE!$ENABLE_GNOME_BLUETOOTH_PANEL_TRUE$ac_delim
28842 ENABLE_GNOME_BLUETOOTH_PANEL_FALSE!$ENABLE_GNOME_BLUETOOTH_PANEL_FALSE$ac_delim
28843 ADDRESSBOOK_CFLAGS!$ADDRESSBOOK_CFLAGS$ac_delim
28844 ADDRESSBOOK_LIBS!$ADDRESSBOOK_LIBS$ac_delim
28845 EPACKAGE_CFLAGS!$EPACKAGE_CFLAGS$ac_delim
28846 EPACKAGE_LIBS!$EPACKAGE_LIBS$ac_delim
28847 ECAL_CFLAGS!$ECAL_CFLAGS$ac_delim
28848 ECAL_LIBS!$ECAL_LIBS$ac_delim
28849 EBOOK_CFLAGS!$EBOOK_CFLAGS$ac_delim
28850 EBOOK_LIBS!$EBOOK_LIBS$ac_delim
28851 ENABLE_ECAL_TRUE!$ENABLE_ECAL_TRUE$ac_delim
28852 ENABLE_ECAL_FALSE!$ENABLE_ECAL_FALSE$ac_delim
28853 LIBICAL_AVAILABLE_CFLAGS!$LIBICAL_AVAILABLE_CFLAGS$ac_delim
28854 LIBICAL_AVAILABLE_LIBS!$LIBICAL_AVAILABLE_LIBS$ac_delim
28855 FILE_CFLAGS!$FILE_CFLAGS$ac_delim
28856 FILE_LIBS!$FILE_LIBS$ac_delim
28857 MCALB_CFLAGS!$MCALB_CFLAGS$ac_delim
28858 MCALB_LIBS!$MCALB_LIBS$ac_delim
28859 SQLITE_CFLAGS!$SQLITE_CFLAGS$ac_delim
28860 SQLITE_LIBS!$SQLITE_LIBS$ac_delim
28861 XMLRPC_CFLAGS!$XMLRPC_CFLAGS$ac_delim
28862 XMLRPC_LIBS!$XMLRPC_LIBS$ac_delim
28863 build!$build$ac_delim
28864 build_cpu!$build_cpu$ac_delim
28865 build_vendor!$build_vendor$ac_delim
28866 build_os!$build_os$ac_delim
28867 host!$host$ac_delim
28868 host_cpu!$host_cpu$ac_delim
28869 host_vendor!$host_vendor$ac_delim
28870 host_os!$host_os$ac_delim
28872 LN_S!$LN_S$ac_delim
28873 ECHO!$ECHO$ac_delim
28875 RANLIB!$RANLIB$ac_delim
28876 DSYMUTIL!$DSYMUTIL$ac_delim
28877 NMEDIT!$NMEDIT$ac_delim
28878 CXXCPP!$CXXCPP$ac_delim
28880 FFLAGS!$FFLAGS$ac_delim
28881 ac_ct_F77!$ac_ct_F77$ac_delim
28882 LIBTOOL!$LIBTOOL$ac_delim
28883 GLIB_CFLAGS!$GLIB_CFLAGS$ac_delim
28884 GLIB_LIBS!$GLIB_LIBS$ac_delim
28885 GTHREAD_CFLAGS!$GTHREAD_CFLAGS$ac_delim
28886 GTHREAD_LIBS!$GTHREAD_LIBS$ac_delim
28887 GOBJECT_CFLAGS!$GOBJECT_CFLAGS$ac_delim
28888 GOBJECT_LIBS!$GOBJECT_LIBS$ac_delim
28889 GLIB216_CFLAGS!$GLIB216_CFLAGS$ac_delim
28890 GLIB216_LIBS!$GLIB216_LIBS$ac_delim
28891 NSS_CFLAGS!$NSS_CFLAGS$ac_delim
28892 NSS_LIBS!$NSS_LIBS$ac_delim
28893 ENABLE_MODULES_TRUE!$ENABLE_MODULES_TRUE$ac_delim
28894 ENABLE_MODULES_FALSE!$ENABLE_MODULES_FALSE$ac_delim
28895 SYNCEVOLUTION_LDADD!$SYNCEVOLUTION_LDADD$ac_delim
28896 SYNCEVOLUTION_CXXFLAGS!$SYNCEVOLUTION_CXXFLAGS$ac_delim
28897 ENABLE_EVOLUTION_COMPATIBILITY_TRUE!$ENABLE_EVOLUTION_COMPATIBILITY_TRUE$ac_delim
28898 ENABLE_EVOLUTION_COMPATIBILITY_FALSE!$ENABLE_EVOLUTION_COMPATIBILITY_FALSE$ac_delim
28899 backenddir!$backenddir$ac_delim
28900 backendsearchdir!$backendsearchdir$ac_delim
28901 LIBOBJS!$LIBOBJS$ac_delim
28902 LTLIBOBJS!$LTLIBOBJS$ac_delim
28905 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 67; then
28907 elif $ac_last_try; then
28908 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
28909 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
28910 { (exit 1); exit 1; }; }
28912 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
28916 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
28917 if test -n "$ac_eof"; then
28918 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
28919 ac_eof=`expr $ac_eof + 1`
28922 cat >>$CONFIG_STATUS <<_ACEOF
28923 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
28924 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
28927 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
28928 s/^/s,@/; s/!/@,|#_!!_#|/
28931 s/'"$ac_delim"'$/,g/; t
28933 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
28934 ' >>$CONFIG_STATUS <conf$$subs.sed
28935 rm -f conf$$subs.sed
28936 cat >>$CONFIG_STATUS <<_ACEOF
28943 # VPATH may cause trouble with some makes, so we remove $(srcdir),
28944 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
28945 # trailing colons and then remove the whole line if VPATH becomes empty
28946 # (actually we leave an empty line to preserve line numbers).
28947 if test "x$srcdir" = x.; then
28948 ac_vpsub='/^[ ]*VPATH[ ]*=/{
28949 s/:*\$(srcdir):*/:/
28950 s/:*\${srcdir}:*/:/
28952 s/^\([^=]*=[ ]*\):*/\1/
28958 cat >>$CONFIG_STATUS <<\_ACEOF
28959 fi # test -n "$CONFIG_FILES"
28962 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
28965 :[FHLC]) ac_mode=$ac_tag; continue;;
28967 case $ac_mode$ac_tag in
28969 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
28970 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
28971 { (exit 1); exit 1; }; };;
28972 :[FH]-) ac_tag=-:-;;
28973 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
28990 -) ac_f="$tmp/stdin";;
28991 *) # Look for the file first in the build tree, then in the source tree
28992 # (if the path is not absolute). The absolute path cannot be DOS-style,
28993 # because $ac_f cannot contain `:'.
28997 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
28999 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
29000 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
29001 { (exit 1); exit 1; }; };;
29003 ac_file_inputs="$ac_file_inputs $ac_f"
29006 # Let's still pretend it is `configure' which instantiates (i.e., don't
29007 # use $as_me), people would be surprised to read:
29008 # /* config.h. Generated by config.status. */
29009 configure_input="Generated from "`IFS=:
29010 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
29011 if test x"$ac_file" != x-; then
29012 configure_input="$ac_file. $configure_input"
29013 { echo "$as_me:$LINENO: creating $ac_file" >&5
29014 echo "$as_me: creating $ac_file" >&6;}
29018 *:-:* | *:-) cat >"$tmp/stdin";;
29023 ac_dir=`$as_dirname -- "$ac_file" ||
29024 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29025 X"$ac_file" : 'X\(//\)[^/]' \| \
29026 X"$ac_file" : 'X\(//\)$' \| \
29027 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
29029 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29033 /^X\(\/\/\)[^/].*/{
29048 -*) as_dir=./$as_dir;;
29050 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
29054 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
29055 *) as_qdir=$as_dir;;
29057 as_dirs="'$as_qdir' $as_dirs"
29058 as_dir=`$as_dirname -- "$as_dir" ||
29059 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29060 X"$as_dir" : 'X\(//\)[^/]' \| \
29061 X"$as_dir" : 'X\(//\)$' \| \
29062 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
29064 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29068 /^X\(\/\/\)[^/].*/{
29081 test -d "$as_dir" && break
29083 test -z "$as_dirs" || eval "mkdir $as_dirs"
29084 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
29085 echo "$as_me: error: cannot create directory $as_dir" >&2;}
29086 { (exit 1); exit 1; }; }; }
29090 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
29092 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
29093 # A ".." for each directory in $ac_dir_suffix.
29094 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
29095 case $ac_top_builddir_sub in
29096 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
29097 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
29100 ac_abs_top_builddir=$ac_pwd
29101 ac_abs_builddir=$ac_pwd$ac_dir_suffix
29102 # for backward compatibility:
29103 ac_top_builddir=$ac_top_build_prefix
29106 .) # We are building in place.
29108 ac_top_srcdir=$ac_top_builddir_sub
29109 ac_abs_top_srcdir=$ac_pwd ;;
29110 [\\/]* | ?:[\\/]* ) # Absolute name.
29111 ac_srcdir=$srcdir$ac_dir_suffix;
29112 ac_top_srcdir=$srcdir
29113 ac_abs_top_srcdir=$srcdir ;;
29114 *) # Relative name.
29115 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
29116 ac_top_srcdir=$ac_top_build_prefix$srcdir
29117 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
29119 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
29129 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
29130 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
29132 ac_MKDIR_P=$MKDIR_P
29134 [\\/$]* | ?:[\\/]* ) ;;
29135 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
29139 cat >>$CONFIG_STATUS <<\_ACEOF
29140 # If the template does not know about datarootdir, expand it.
29141 # FIXME: This hack should be removed a few years after 2.60.
29142 ac_datarootdir_hack=; ac_datarootdir_seen=
29144 case `sed -n '/datarootdir/ {
29153 ' $ac_file_inputs` in
29154 *datarootdir*) ac_datarootdir_seen=yes;;
29155 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
29156 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
29157 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
29159 cat >>$CONFIG_STATUS <<_ACEOF
29160 ac_datarootdir_hack='
29161 s&@datadir@&$datadir&g
29162 s&@docdir@&$docdir&g
29163 s&@infodir@&$infodir&g
29164 s&@localedir@&$localedir&g
29165 s&@mandir@&$mandir&g
29166 s&\\\${datarootdir}&$datarootdir&g' ;;
29170 # Neutralize VPATH when `$srcdir' = `.'.
29171 # Shell code in configure.ac might set extrasub.
29172 # FIXME: do we really want to maintain this feature?
29173 cat >>$CONFIG_STATUS <<_ACEOF
29177 cat >>$CONFIG_STATUS <<\_ACEOF
29179 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
29180 s&@configure_input@&$configure_input&;t t
29181 s&@top_builddir@&$ac_top_builddir_sub&;t t
29182 s&@srcdir@&$ac_srcdir&;t t
29183 s&@abs_srcdir@&$ac_abs_srcdir&;t t
29184 s&@top_srcdir@&$ac_top_srcdir&;t t
29185 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
29186 s&@builddir@&$ac_builddir&;t t
29187 s&@abs_builddir@&$ac_abs_builddir&;t t
29188 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
29189 s&@INSTALL@&$ac_INSTALL&;t t
29190 s&@MKDIR_P@&$ac_MKDIR_P&;t t
29191 $ac_datarootdir_hack
29192 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" >$tmp/out
29194 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
29195 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
29196 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
29197 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
29198 which seems to be undefined. Please make sure it is defined." >&5
29199 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
29200 which seems to be undefined. Please make sure it is defined." >&2;}
29204 -) cat "$tmp/out"; rm -f "$tmp/out";;
29205 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
29214 # Transform confdefs.h into a sed script `conftest.defines', that
29215 # substitutes the proper values into config.h.in to produce config.h.
29216 rm -f conftest.defines conftest.tail
29217 # First, append a space to every undef/define line, to ease matching.
29218 echo 's/$/ /' >conftest.defines
29219 # Then, protect against being on the right side of a sed subst, or in
29220 # an unquoted here document, in config.status. If some macros were
29221 # called several times there might be several #defines for the same
29222 # symbol, which is useless. But do not sort them, since the last
29223 # AC_DEFINE must be honored.
29224 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
29225 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
29226 # NAME is the cpp macro being defined, VALUE is the value it is being given.
29227 # PARAMS is the parameter list in the macro definition--in most cases, it's
29228 # just an empty string.
29229 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
29230 ac_dB='\\)[ (].*,\\1define\\2'
29238 s/^[ ]*#[ ]*define[ ][ ]*//
29243 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
29244 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
29245 ' >>conftest.defines
29247 # Remove the space that was appended to ease matching.
29248 # Then replace #undef with comments. This is necessary, for
29249 # example, in the case of _POSIX_SOURCE, which is predefined and required
29250 # on some systems where configure will not decide to define it.
29251 # (The regexp can be short, since the line contains either #define or #undef.)
29253 s,^[ #]*u.*,/* & */,' >>conftest.defines
29255 # Break up conftest.defines:
29256 ac_max_sed_lines=50
29258 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
29259 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
29260 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
29262 ac_in='$ac_file_inputs'
29263 ac_out='"$tmp/out1"'
29264 ac_nxt='"$tmp/out2"'
29268 # Write a here document:
29269 cat >>$CONFIG_STATUS <<_ACEOF
29270 # First, check the format of the line:
29271 cat >"\$tmp/defines.sed" <<\\CEOF
29272 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
29273 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
29277 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
29279 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
29280 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
29281 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
29282 grep . conftest.tail >/dev/null || break
29283 rm -f conftest.defines
29284 mv conftest.tail conftest.defines
29286 rm -f conftest.defines conftest.tail
29288 echo "ac_result=$ac_in" >>$CONFIG_STATUS
29289 cat >>$CONFIG_STATUS <<\_ACEOF
29290 if test x"$ac_file" != x-; then
29291 echo "/* $configure_input */" >"$tmp/config.h"
29292 cat "$ac_result" >>"$tmp/config.h"
29293 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
29294 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
29295 echo "$as_me: $ac_file is unchanged" >&6;}
29298 mv "$tmp/config.h" $ac_file
29301 echo "/* $configure_input */"
29305 # Compute $ac_file's index in $config_headers.
29308 for _am_header in $config_headers :; do
29309 case $_am_header in
29310 $_am_arg | $_am_arg:* )
29313 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
29316 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
29317 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29318 X"$_am_arg" : 'X\(//\)[^/]' \| \
29319 X"$_am_arg" : 'X\(//\)$' \| \
29320 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
29322 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29326 /^X\(\/\/\)[^/].*/{
29338 s/.*/./; q'`/stamp-h$_am_stamp_count
29341 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
29342 echo "$as_me: executing $ac_file commands" >&6;}
29347 case $ac_file$ac_mode in
29348 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
29349 # Strip MF so we end up with the name of the file.
29350 mf=`echo "$mf" | sed -e 's/:.*$//'`
29351 # Check whether this is an Automake generated Makefile or not.
29352 # We used to match only the files named `Makefile.in', but
29353 # some people rename them; so instead we look at the file content.
29354 # Grep'ing the first line is not enough: some people post-process
29355 # each Makefile.in and add a new line on top of each file to say so.
29356 # Grep'ing the whole file is not good either: AIX grep has a line
29357 # limit of 2048, but all sed's we know have understand at least 4000.
29358 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
29359 dirpart=`$as_dirname -- "$mf" ||
29360 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29361 X"$mf" : 'X\(//\)[^/]' \| \
29362 X"$mf" : 'X\(//\)$' \| \
29363 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
29365 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29369 /^X\(\/\/\)[^/].*/{
29385 # Extract the definition of DEPDIR, am__include, and am__quote
29386 # from the Makefile without running `make'.
29387 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
29388 test -z "$DEPDIR" && continue
29389 am__include=`sed -n 's/^am__include = //p' < "$mf"`
29390 test -z "am__include" && continue
29391 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
29392 # When using ansi2knr, U may be empty or an underscore; expand it
29393 U=`sed -n 's/^U = //p' < "$mf"`
29394 # Find all dependency output files, they are included files with
29395 # $(DEPDIR) in their names. We invoke sed twice because it is the
29396 # simplest approach to changing $(DEPDIR) to its actual value in the
29398 for file in `sed -n "
29399 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
29400 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
29401 # Make sure the directory exists.
29402 test -f "$dirpart/$file" && continue
29403 fdir=`$as_dirname -- "$file" ||
29404 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29405 X"$file" : 'X\(//\)[^/]' \| \
29406 X"$file" : 'X\(//\)$' \| \
29407 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
29409 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29413 /^X\(\/\/\)[^/].*/{
29426 { as_dir=$dirpart/$fdir
29428 -*) as_dir=./$as_dir;;
29430 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
29434 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
29435 *) as_qdir=$as_dir;;
29437 as_dirs="'$as_qdir' $as_dirs"
29438 as_dir=`$as_dirname -- "$as_dir" ||
29439 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29440 X"$as_dir" : 'X\(//\)[^/]' \| \
29441 X"$as_dir" : 'X\(//\)$' \| \
29442 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
29444 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29448 /^X\(\/\/\)[^/].*/{
29461 test -d "$as_dir" && break
29463 test -z "$as_dirs" || eval "mkdir $as_dirs"
29464 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
29465 echo "$as_me: error: cannot create directory $as_dir" >&2;}
29466 { (exit 1); exit 1; }; }; }
29467 # echo "creating $dirpart/$file"
29468 echo '# dummy' > "$dirpart/$file"
29472 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
29473 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
29476 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
29477 { { echo "$as_me:$LINENO: error: po/Makefile.in.in was not created by intltoolize." >&5
29478 echo "$as_me: error: po/Makefile.in.in was not created by intltoolize." >&2;}
29479 { (exit 1); exit 1; }; }
29481 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
29486 '"s|^| $ac_top_srcdir/|" \
29487 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
29489 sed '/^POTFILES =/,/[^\\]$/ {
29493 ' "po/Makefile.in" >"po/Makefile"
29494 rm -f "po/Makefile.tmp"
29495 mv "po/stamp-it.tmp" "po/stamp-it"
29502 { (exit 0); exit 0; }
29504 chmod +x $CONFIG_STATUS
29505 ac_clean_files=$ac_clean_files_save
29508 # configure is writing to config.log, and then calls config.status.
29509 # config.status does its own redirection, appending to config.log.
29510 # Unfortunately, on DOS this fails, as config.log is still kept open
29511 # by configure, so config.status won't be able to write to it; its
29512 # output is simply discarded. So we exec the FD to /dev/null,
29513 # effectively closing config.log, so it can be properly (re)opened and
29514 # appended to by config.status. When coming back to configure, we
29515 # need to make the FD available again.
29516 if test "$no_create" != yes; then
29518 ac_config_status_args=
29519 test "$silent" = yes &&
29520 ac_config_status_args="$ac_config_status_args --quiet"
29522 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
29524 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
29525 # would make configure fail if this is the last instruction.
29526 $ac_cs_success || { (exit 1); exit 1; }
29531 echo CONFIGURATION SUMMARY
29532 echo "Core SyncEvolution: $enable_core"
29533 for backend in $BACKENDS; do
29534 eval echo $backend: \${enable_${backend}}
29536 echo "DBus service: $enable_dbus_service"
29537 echo "UI (DBus client): $enable_gui"
29538 echo "Bluetooth transport: $have_bluetooth"
29539 echo "GNOME Bluetooth panel plugin: $enable_gnome_bluetooth_panel"
29540 echo "SHA-256: $have_sha"