2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65 for syncevolution 1.2.99+20120606+SE+ff65aef+SYSYNC+2728cb4.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x; then
137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1"
175 if (eval "$as_required") 2>/dev/null; then :
180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188 test -z "$as_dir" && as_dir=.
192 for as_base in sh bash ksh sh5; do
193 # Try only shells that exist, to save several forks.
194 as_shell=$as_dir/$as_base
195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197 CONFIG_SHELL=$as_shell as_have_required=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208 CONFIG_SHELL=$SHELL as_have_required=yes
213 if test "x$CONFIG_SHELL" != x; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 if test x$as_have_required = xno; then :
225 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system."
227 if test x${ZSH_VERSION+set} = xset ; then
228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
231 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232 $0: including any error possibly output before this
233 $0: message. Then install a modern shell, or manually run
234 $0: the script under such a shell if you do have one."
240 SHELL=${CONFIG_SHELL-/bin/sh}
242 # Unset more variables known to interfere with behavior of common tools.
243 CLICOLOR_FORCE= GREP_OPTIONS=
244 unset CLICOLOR_FORCE GREP_OPTIONS
246 ## --------------------- ##
247 ## M4sh Shell Functions. ##
248 ## --------------------- ##
251 # Portably unset VAR.
254 { eval $1=; unset $1;}
258 # as_fn_set_status STATUS
259 # -----------------------
260 # Set $? to STATUS, without forking.
268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278 # Create "$as_dir" as a directory, including parents if necessary.
283 -*) as_dir=./$as_dir;;
285 test -d "$as_dir" || eval $as_mkdir_p || {
289 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292 as_dirs="'$as_qdir' $as_dirs"
293 as_dir=`$as_dirname -- "$as_dir" ||
294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295 X"$as_dir" : 'X\(//\)[^/]' \| \
296 X"$as_dir" : 'X\(//\)$' \| \
297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298 $as_echo X"$as_dir" |
299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316 test -d "$as_dir" && break
318 test -z "$as_dirs" || eval "mkdir $as_dirs"
319 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
323 # as_fn_append VAR VALUE
324 # ----------------------
325 # Append the text in VALUE to the end of the definition contained in VAR. Take
326 # advantage of any shell optimizations that allow amortized linear growth over
327 # repeated appends, instead of the typical quadratic growth present in naive
329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330 eval 'as_fn_append ()
343 # Perform arithmetic evaluation on the ARGs, and store the result in the
344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
345 # must be portable across $(()) and expr.
346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
354 as_val=`expr "$@" || test $? -eq 1`
359 # as_fn_error ERROR [LINENO LOG_FD]
360 # ---------------------------------
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363 # script with status $?, using 1 if that was 0.
366 as_status=$?; test $as_status -eq 0 && as_status=1
368 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
371 $as_echo "$as_me: error: $1" >&2
372 as_fn_exit $as_status
375 if expr a : '\(a\)' >/dev/null 2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001; then
382 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
394 as_me=`$as_basename -- "$0" ||
395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396 X"$0" : 'X\(//\)$' \| \
397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399 sed '/^.*\/\([^/][^/]*\)\/*$/{
413 # Avoid depending upon Character Ranges.
414 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417 as_cr_digits='0123456789'
418 as_cr_alnum=$as_cr_Letters$as_cr_digits
421 as_lineno_1=$LINENO as_lineno_1a=$LINENO
422 as_lineno_2=$LINENO as_lineno_2a=$LINENO
423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441 chmod +x "$as_me.lineno" ||
442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
444 # Don't try to exec as it changes $[0], causing all sort of problems
445 # (the dirname of $[0] is not the place where we might find the
446 # original and so on. Autoconf is especially sensitive to this).
448 # Exit status is that of the last command.
452 ECHO_C= ECHO_N= ECHO_T=
453 case `echo -n x` in #(((((
455 case `echo 'xy\c'` in
456 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
458 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 rm -f conf$$ conf$$.exe conf$$.file
466 if test -d conf$$.dir; then
467 rm -f conf$$.dir/conf$$.file
470 mkdir conf$$.dir 2>/dev/null
472 if (echo >conf$$.file) 2>/dev/null; then
473 if ln -s conf$$.file conf$$ 2>/dev/null; then
475 # ... but there are two gotchas:
476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478 # In both cases, we have to default to `cp -p'.
479 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
481 elif ln conf$$.file conf$$ 2>/dev/null; then
489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490 rmdir conf$$.dir 2>/dev/null
492 if mkdir -p . 2>/dev/null; then
493 as_mkdir_p='mkdir -p "$as_dir"'
495 test -d ./-p && rmdir ./-p
499 if test -x / >/dev/null 2>&1; then
502 if ls -dL / >/dev/null 2>&1; then
509 if test -d "$1"; then
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516 ???[sx]*):;;*)false;;esac;fi
520 as_executable_p=$as_test_x
522 # Sed expression to map a string onto a valid CPP name.
523 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
525 # Sed expression to map a string onto a valid variable name.
526 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530 # Check that we are running under the correct shell.
531 SHELL=${CONFIG_SHELL-/bin/sh}
535 # Remove one level of quotation (which was required for Make).
536 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
541 if test "X$1" = X--no-reexec; then
542 # Discard the --no-reexec flag, and continue.
544 elif test "X$1" = X--fallback-echo; then
545 # Avoid inline document here, it may be left over
547 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
548 # Yippee, $ECHO works!
551 # Restart under the correct shell.
552 exec $SHELL "$0" --no-reexec ${1+"$@"}
555 if test "X$1" = X--fallback-echo; then
556 # used as fallback echo
564 # The HP-UX ksh and POSIX shell print the target directory to stdout
566 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
568 if test -z "$lt_ECHO"; then
569 if test "X${echo_test_string+set}" != Xset; then
570 # find a string as large as possible, as long as the shell can cope with it
571 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
572 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
573 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
574 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
581 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
582 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
583 test "X$echo_testing_string" = "X$echo_test_string"; then
586 # The Solaris, AIX, and Digital Unix default echo programs unquote
587 # backslashes. This makes it impossible to quote backslashes using
588 # echo "$something" | sed 's/\\/\\\\/g'
590 # So, first we look for a working echo in the user's PATH.
592 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
593 for dir in $PATH /usr/ucb; do
595 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
596 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
597 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
598 test "X$echo_testing_string" = "X$echo_test_string"; then
605 if test "X$ECHO" = Xecho; then
606 # We didn't find a better echo, so look for alternatives.
607 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
608 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
609 test "X$echo_testing_string" = "X$echo_test_string"; then
610 # This shell has a builtin print -r that does the trick.
612 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
613 test "X$CONFIG_SHELL" != X/bin/ksh; then
614 # If we have ksh, try running configure again with it.
615 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
616 export ORIGINAL_CONFIG_SHELL
617 CONFIG_SHELL=/bin/ksh
619 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
623 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
624 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
625 test "X$echo_testing_string" = "X$echo_test_string"; then
628 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
629 test "X$echo_testing_string" = 'X\t' &&
630 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
631 test "X$echo_testing_string" = "X$echo_test_string"; then
632 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
634 SHELL="$CONFIG_SHELL"
636 ECHO="$CONFIG_SHELL $0 --fallback-echo"
637 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
638 test "X$echo_testing_string" = 'X\t' &&
639 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
640 test "X$echo_testing_string" = "X$echo_test_string"; then
641 ECHO="$CONFIG_SHELL $0 --fallback-echo"
643 # maybe with a smaller string...
646 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
647 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
654 if test "$prev" != 'sed 50q "$0"'; then
655 echo_test_string=`eval $prev`
656 export echo_test_string
657 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
659 # Oops. We lost completely, so just stick with echo.
668 # Copy echo and quote the copy suitably for passing to libtool from
669 # the Makefile, instead of quoting the original, which is used later.
671 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
672 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
678 test -n "$DJDIR" || exec 7<&0 </dev/null
682 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
683 # so uname gets run too.
684 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
689 ac_default_prefix=/usr/local
691 ac_config_libobj_dir=.
698 # Identity of this package.
699 PACKAGE_NAME='syncevolution'
700 PACKAGE_TARNAME='syncevolution'
701 PACKAGE_VERSION='1.2.99+20120606+SE+ff65aef+SYSYNC+2728cb4'
702 PACKAGE_STRING='syncevolution 1.2.99+20120606+SE+ff65aef+SYSYNC+2728cb4'
706 # Factoring default headers for most tests.
707 ac_includes_default="\
709 #ifdef HAVE_SYS_TYPES_H
710 # include <sys/types.h>
712 #ifdef HAVE_SYS_STAT_H
713 # include <sys/stat.h>
719 # ifdef HAVE_STDLIB_H
724 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
729 #ifdef HAVE_STRINGS_H
730 # include <strings.h>
732 #ifdef HAVE_INTTYPES_H
733 # include <inttypes.h>
742 ac_subst_vars='am__EXEEXT_FALSE
746 COND_CROSS_COMPILING_FALSE
747 COND_CROSS_COMPILING_TRUE
751 BACKENDS_SEARCH_DIRECTORY
753 LIBICAL_AVAILABLE_LIBS
754 LIBICAL_AVAILABLE_CFLAGS
755 ENABLE_EVOLUTION_COMPATIBILITY_FALSE
756 ENABLE_EVOLUTION_COMPATIBILITY_TRUE
757 SYNCEVOLUTION_CXXFLAGS
797 NEON_COMPATIBILITY_FALSE
798 NEON_COMPATIBILITY_TRUE
806 USE_KDE_KWALLET_FALSE
837 EASCLIENT_DEPENDENCIES
839 LIBEASCLIENT_LA_DEPENDENCIES
840 BUILD_ACTIVESYNCD_FALSE
841 BUILD_ACTIVESYNCD_TRUE
846 ENABLE_GNOME_BLUETOOTH_PANEL_FALSE
847 ENABLE_GNOME_BLUETOOTH_PANEL_TRUE
850 GNOMEBLUETOOTH_CFLAGS
856 SYNTHESIS_SUBDIR_INCLUDES
859 WITH_SYNTHESIS_SRC_LIBS
860 WITH_SYNTHESIS_SRC_CFLAGS
864 COND_HTML_README_FALSE
865 COND_HTML_README_TRUE
877 SYNCEVOLUTION_LOCALEDIR
907 INTLTOOL_SERVICE_RULE
909 INTLTOOL_SCHEMAS_RULE
911 INTLTOOL_XML_NOMERGE_RULE
916 INTLTOOL_SOUNDLIST_RULE
923 INTLTOOL_DIRECTORY_RULE
924 INTLTOOL_DESKTOP_RULE
933 NOTIFY_COMPATIBILITY_FALSE
934 NOTIFY_COMPATIBILITY_TRUE
954 ENABLE_BLUETOOTH_FALSE
955 ENABLE_BLUETOOTH_TRUE
968 ENABLE_UNIT_TESTS_FALSE
969 ENABLE_UNIT_TESTS_TRUE
1011 MAINTAINER_MODE_FALSE
1012 MAINTAINER_MODE_TRUE
1030 AM_DEFAULT_VERBOSITY
1039 INSTALL_STRIP_PROGRAM
1082 program_transform_name
1095 enable_option_checking
1098 enable_dependency_tracking
1099 enable_maintainer_mode
1109 with_synthesis_username
1110 with_synthesis_revision
1112 enable_integration_tests
1114 enable_evolution_compatibility
1115 enable_developer_mode
1117 with_ca_certificates
1121 enable_ssl_certificate_check
1128 enable_notify_compatibility
1135 enable_gnome_bluetooth_panel_plugin
1138 with_activesyncd_src
1143 enable_eds_client_api
1145 enable_gnome_keyring
1152 enable_neon_compatibility
1156 enable_dbus_timeout_hack
1158 ac_precious_vars='build_alias
1186 MX_GTK_0_99_1_CFLAGS
1198 WITH_SYNTHESIS_SRC_CFLAGS
1199 WITH_SYNTHESIS_SRC_LIBS
1200 GNOMEBLUETOOTH_CFLAGS
1210 EBOOK_VERSION_CFLAGS
1243 LIBICAL_AVAILABLE_CFLAGS
1244 LIBICAL_AVAILABLE_LIBS'
1247 # Initialize some variables set by options.
1249 ac_init_version=false
1250 ac_unrecognized_opts=
1251 ac_unrecognized_sep=
1252 # The variables have the same names as the options, with
1253 # dashes changed to underlines.
1254 cache_file=/dev/null
1261 program_transform_name=s,x,x,
1269 # Installation directory options.
1270 # These are left unexpanded so users can "make install exec_prefix=/foo"
1271 # and all the variables that are supposed to be based on exec_prefix
1272 # by default will actually change.
1273 # Use braces instead of parens because sh, perl, etc. also accept them.
1274 # (The list follows the same order as the GNU Coding Standards.)
1275 bindir='${exec_prefix}/bin'
1276 sbindir='${exec_prefix}/sbin'
1277 libexecdir='${exec_prefix}/libexec'
1278 datarootdir='${prefix}/share'
1279 datadir='${datarootdir}'
1280 sysconfdir='${prefix}/etc'
1281 sharedstatedir='${prefix}/com'
1282 localstatedir='${prefix}/var'
1283 includedir='${prefix}/include'
1284 oldincludedir='/usr/include'
1285 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1286 infodir='${datarootdir}/info'
1291 libdir='${exec_prefix}/lib'
1292 localedir='${datarootdir}/locale'
1293 mandir='${datarootdir}/man'
1299 # If the previous option needs an argument, assign it.
1300 if test -n "$ac_prev"; then
1301 eval $ac_prev=\$ac_option
1307 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1311 # Accept the important Cygnus configure options, so we can diagnose typos.
1313 case $ac_dashdash$ac_option in
1317 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1319 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1320 bindir=$ac_optarg ;;
1322 -build | --build | --buil | --bui | --bu)
1323 ac_prev=build_alias ;;
1324 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1325 build_alias=$ac_optarg ;;
1327 -cache-file | --cache-file | --cache-fil | --cache-fi \
1328 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1329 ac_prev=cache_file ;;
1330 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1331 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1332 cache_file=$ac_optarg ;;
1334 --config-cache | -C)
1335 cache_file=config.cache ;;
1337 -datadir | --datadir | --datadi | --datad)
1339 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1340 datadir=$ac_optarg ;;
1342 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1343 | --dataroo | --dataro | --datar)
1344 ac_prev=datarootdir ;;
1345 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1346 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1347 datarootdir=$ac_optarg ;;
1349 -disable-* | --disable-*)
1350 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1351 # Reject names that are not valid shell variable names.
1352 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1353 as_fn_error "invalid feature name: $ac_useropt"
1354 ac_useropt_orig=$ac_useropt
1355 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1356 case $ac_user_opts in
1358 "enable_$ac_useropt"
1360 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1361 ac_unrecognized_sep=', ';;
1363 eval enable_$ac_useropt=no ;;
1365 -docdir | --docdir | --docdi | --doc | --do)
1367 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1368 docdir=$ac_optarg ;;
1370 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1372 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1373 dvidir=$ac_optarg ;;
1375 -enable-* | --enable-*)
1376 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1377 # Reject names that are not valid shell variable names.
1378 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1379 as_fn_error "invalid feature name: $ac_useropt"
1380 ac_useropt_orig=$ac_useropt
1381 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1382 case $ac_user_opts in
1384 "enable_$ac_useropt"
1386 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1387 ac_unrecognized_sep=', ';;
1389 eval enable_$ac_useropt=\$ac_optarg ;;
1391 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1392 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1393 | --exec | --exe | --ex)
1394 ac_prev=exec_prefix ;;
1395 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1396 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1397 | --exec=* | --exe=* | --ex=*)
1398 exec_prefix=$ac_optarg ;;
1400 -gas | --gas | --ga | --g)
1401 # Obsolete; use --with-gas.
1404 -help | --help | --hel | --he | -h)
1405 ac_init_help=long ;;
1406 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1407 ac_init_help=recursive ;;
1408 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1409 ac_init_help=short ;;
1411 -host | --host | --hos | --ho)
1412 ac_prev=host_alias ;;
1413 -host=* | --host=* | --hos=* | --ho=*)
1414 host_alias=$ac_optarg ;;
1416 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1418 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1420 htmldir=$ac_optarg ;;
1422 -includedir | --includedir | --includedi | --included | --include \
1423 | --includ | --inclu | --incl | --inc)
1424 ac_prev=includedir ;;
1425 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1426 | --includ=* | --inclu=* | --incl=* | --inc=*)
1427 includedir=$ac_optarg ;;
1429 -infodir | --infodir | --infodi | --infod | --info | --inf)
1431 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1432 infodir=$ac_optarg ;;
1434 -libdir | --libdir | --libdi | --libd)
1436 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1437 libdir=$ac_optarg ;;
1439 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1440 | --libexe | --libex | --libe)
1441 ac_prev=libexecdir ;;
1442 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1443 | --libexe=* | --libex=* | --libe=*)
1444 libexecdir=$ac_optarg ;;
1446 -localedir | --localedir | --localedi | --localed | --locale)
1447 ac_prev=localedir ;;
1448 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1449 localedir=$ac_optarg ;;
1451 -localstatedir | --localstatedir | --localstatedi | --localstated \
1452 | --localstate | --localstat | --localsta | --localst | --locals)
1453 ac_prev=localstatedir ;;
1454 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1455 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1456 localstatedir=$ac_optarg ;;
1458 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1460 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1461 mandir=$ac_optarg ;;
1463 -nfp | --nfp | --nf)
1464 # Obsolete; use --without-fp.
1467 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1468 | --no-cr | --no-c | -n)
1471 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1472 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1475 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1476 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1477 | --oldin | --oldi | --old | --ol | --o)
1478 ac_prev=oldincludedir ;;
1479 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1480 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1481 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1482 oldincludedir=$ac_optarg ;;
1484 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1486 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1487 prefix=$ac_optarg ;;
1489 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1490 | --program-pre | --program-pr | --program-p)
1491 ac_prev=program_prefix ;;
1492 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1493 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1494 program_prefix=$ac_optarg ;;
1496 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1497 | --program-suf | --program-su | --program-s)
1498 ac_prev=program_suffix ;;
1499 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1500 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1501 program_suffix=$ac_optarg ;;
1503 -program-transform-name | --program-transform-name \
1504 | --program-transform-nam | --program-transform-na \
1505 | --program-transform-n | --program-transform- \
1506 | --program-transform | --program-transfor \
1507 | --program-transfo | --program-transf \
1508 | --program-trans | --program-tran \
1509 | --progr-tra | --program-tr | --program-t)
1510 ac_prev=program_transform_name ;;
1511 -program-transform-name=* | --program-transform-name=* \
1512 | --program-transform-nam=* | --program-transform-na=* \
1513 | --program-transform-n=* | --program-transform-=* \
1514 | --program-transform=* | --program-transfor=* \
1515 | --program-transfo=* | --program-transf=* \
1516 | --program-trans=* | --program-tran=* \
1517 | --progr-tra=* | --program-tr=* | --program-t=*)
1518 program_transform_name=$ac_optarg ;;
1520 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1522 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1523 pdfdir=$ac_optarg ;;
1525 -psdir | --psdir | --psdi | --psd | --ps)
1527 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1530 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1531 | -silent | --silent | --silen | --sile | --sil)
1534 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1536 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1538 sbindir=$ac_optarg ;;
1540 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1541 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1542 | --sharedst | --shareds | --shared | --share | --shar \
1544 ac_prev=sharedstatedir ;;
1545 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1546 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1547 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1549 sharedstatedir=$ac_optarg ;;
1551 -site | --site | --sit)
1553 -site=* | --site=* | --sit=*)
1556 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1558 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1559 srcdir=$ac_optarg ;;
1561 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1562 | --syscon | --sysco | --sysc | --sys | --sy)
1563 ac_prev=sysconfdir ;;
1564 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1565 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1566 sysconfdir=$ac_optarg ;;
1568 -target | --target | --targe | --targ | --tar | --ta | --t)
1569 ac_prev=target_alias ;;
1570 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1571 target_alias=$ac_optarg ;;
1573 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1576 -version | --version | --versio | --versi | --vers | -V)
1577 ac_init_version=: ;;
1580 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1581 # Reject names that are not valid shell variable names.
1582 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1583 as_fn_error "invalid package name: $ac_useropt"
1584 ac_useropt_orig=$ac_useropt
1585 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1586 case $ac_user_opts in
1590 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1591 ac_unrecognized_sep=', ';;
1593 eval with_$ac_useropt=\$ac_optarg ;;
1595 -without-* | --without-*)
1596 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1597 # Reject names that are not valid shell variable names.
1598 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1599 as_fn_error "invalid package name: $ac_useropt"
1600 ac_useropt_orig=$ac_useropt
1601 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1602 case $ac_user_opts in
1606 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1607 ac_unrecognized_sep=', ';;
1609 eval with_$ac_useropt=no ;;
1612 # Obsolete; use --with-x.
1615 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1616 | --x-incl | --x-inc | --x-in | --x-i)
1617 ac_prev=x_includes ;;
1618 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1619 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1620 x_includes=$ac_optarg ;;
1622 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1623 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1624 ac_prev=x_libraries ;;
1625 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1626 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1627 x_libraries=$ac_optarg ;;
1629 -*) as_fn_error "unrecognized option: \`$ac_option'
1630 Try \`$0 --help' for more information."
1634 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1635 # Reject names that are not valid shell variable names.
1636 case $ac_envvar in #(
1637 '' | [0-9]* | *[!_$as_cr_alnum]* )
1638 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1640 eval $ac_envvar=\$ac_optarg
1641 export $ac_envvar ;;
1644 # FIXME: should be removed in autoconf 3.0.
1645 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1646 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1647 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1648 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1654 if test -n "$ac_prev"; then
1655 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1656 as_fn_error "missing argument to $ac_option"
1659 if test -n "$ac_unrecognized_opts"; then
1660 case $enable_option_checking in
1662 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1663 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1667 # Check all directory arguments for consistency.
1668 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1669 datadir sysconfdir sharedstatedir localstatedir includedir \
1670 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1671 libdir localedir mandir
1673 eval ac_val=\$$ac_var
1674 # Remove trailing slashes.
1677 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1678 eval $ac_var=\$ac_val;;
1680 # Be sure to have absolute directory names.
1682 [\\/$]* | ?:[\\/]* ) continue;;
1683 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1685 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1688 # There might be people who depend on the old broken behavior: `$host'
1689 # used to hold the argument of --host etc.
1690 # FIXME: To remove some day.
1693 target=$target_alias
1695 # FIXME: To remove some day.
1696 if test "x$host_alias" != x; then
1697 if test "x$build_alias" = x; then
1698 cross_compiling=maybe
1699 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1700 If a cross compiler is detected then cross compile mode will be used." >&2
1701 elif test "x$build_alias" != "x$host_alias"; then
1707 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1709 test "$silent" = yes && exec 6>/dev/null
1712 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1713 ac_ls_di=`ls -di .` &&
1714 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1715 as_fn_error "working directory cannot be determined"
1716 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1717 as_fn_error "pwd does not report name of working directory"
1720 # Find the source files, if location was not specified.
1721 if test -z "$srcdir"; then
1722 ac_srcdir_defaulted=yes
1723 # Try the directory containing this script, then the parent directory.
1724 ac_confdir=`$as_dirname -- "$as_myself" ||
1725 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1726 X"$as_myself" : 'X\(//\)[^/]' \| \
1727 X"$as_myself" : 'X\(//\)$' \| \
1728 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1729 $as_echo X"$as_myself" |
1730 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1748 if test ! -r "$srcdir/$ac_unique_file"; then
1752 ac_srcdir_defaulted=no
1754 if test ! -r "$srcdir/$ac_unique_file"; then
1755 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1756 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1758 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1760 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1762 # When building in place, set srcdir=.
1763 if test "$ac_abs_confdir" = "$ac_pwd"; then
1766 # Remove unnecessary trailing slashes from srcdir.
1767 # Double slashes in file names in object file debugging info
1768 # mess up M-x gdb in Emacs.
1770 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1772 for ac_var in $ac_precious_vars; do
1773 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1774 eval ac_env_${ac_var}_value=\$${ac_var}
1775 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1776 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1780 # Report the --help message.
1782 if test "$ac_init_help" = "long"; then
1783 # Omit some internal or obsolete options to make the list less imposing.
1784 # This message is too long to be a string in the A/UX 3.1 sh.
1786 \`configure' configures syncevolution 1.2.99+20120606+SE+ff65aef+SYSYNC+2728cb4 to adapt to many kinds of systems.
1788 Usage: $0 [OPTION]... [VAR=VALUE]...
1790 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1791 VAR=VALUE. See below for descriptions of some of the useful variables.
1793 Defaults for the options are specified in brackets.
1796 -h, --help display this help and exit
1797 --help=short display options specific to this package
1798 --help=recursive display the short help of all the included packages
1799 -V, --version display version information and exit
1800 -q, --quiet, --silent do not print \`checking...' messages
1801 --cache-file=FILE cache test results in FILE [disabled]
1802 -C, --config-cache alias for \`--cache-file=config.cache'
1803 -n, --no-create do not create output files
1804 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1806 Installation directories:
1807 --prefix=PREFIX install architecture-independent files in PREFIX
1808 [$ac_default_prefix]
1809 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1812 By default, \`make install' will install all the files in
1813 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1814 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1815 for instance \`--prefix=\$HOME'.
1817 For better control, use the options below.
1819 Fine tuning of the installation directories:
1820 --bindir=DIR user executables [EPREFIX/bin]
1821 --sbindir=DIR system admin executables [EPREFIX/sbin]
1822 --libexecdir=DIR program executables [EPREFIX/libexec]
1823 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1824 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1825 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1826 --libdir=DIR object code libraries [EPREFIX/lib]
1827 --includedir=DIR C header files [PREFIX/include]
1828 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1829 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1830 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1831 --infodir=DIR info documentation [DATAROOTDIR/info]
1832 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1833 --mandir=DIR man documentation [DATAROOTDIR/man]
1834 --docdir=DIR documentation root [DATAROOTDIR/doc/syncevolution]
1835 --htmldir=DIR html documentation [DOCDIR]
1836 --dvidir=DIR dvi documentation [DOCDIR]
1837 --pdfdir=DIR pdf documentation [DOCDIR]
1838 --psdir=DIR ps documentation [DOCDIR]
1844 --program-prefix=PREFIX prepend PREFIX to installed program names
1845 --program-suffix=SUFFIX append SUFFIX to installed program names
1846 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1849 --build=BUILD configure for building on BUILD [guessed]
1850 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1854 if test -n "$ac_init_help"; then
1855 case $ac_init_help in
1856 short | recursive ) echo "Configuration of syncevolution 1.2.99+20120606+SE+ff65aef+SYSYNC+2728cb4:";;
1861 --disable-option-checking ignore unrecognized --enable/--with options
1862 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1863 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1864 --enable-release-mode Controls whether resulting binary is for end-users
1865 or testers/developers. For example, stable releases
1866 automatically migrate on-disk files without asking,
1867 whereas other releases ask before making downgrades
1868 impossible (or difficult). Default in this source
1869 code is "stable release: no"
1870 --enable-silent-rules less verbose build output (undo: `make V=1')
1871 --disable-silent-rules verbose build output (undo: `make V=0')
1872 --disable-dependency-tracking speeds up one-time build
1873 --enable-dependency-tracking do not reject slow dependency extractors
1874 --disable-maintainer-mode disable make rules and dependencies not useful
1875 (and sometimes confusing) to the casual installer
1876 --enable-shared[=PKGS] build shared libraries [default=yes]
1877 --enable-static[=PKGS] build static libraries [default=yes]
1878 --enable-fast-install[=PKGS]
1879 optimize for fast installation [default=yes]
1880 --disable-libtool-lock avoid locking (might break parallel builds)
1881 --enable-warnings=[min|max|fatal|no]
1882 control compiler pickyness [min]
1883 --enable-shared build backends as dynamically loadable modules
1884 --enable-static build backends also as static libraries
1885 --enable-unit-tests enables tests embedded in the source code of the
1886 library (changes content of executable)
1887 --enable-integration-tests
1888 enables tests outside of the library (can be used
1889 together with normal builds of the library)
1890 --enable-static-cxx build executables which contain libstdc++ instead of
1891 requiring suitable libstdc++.so to run
1892 --enable-evolution-compatibility
1893 build executables which only call Evolution via
1894 dlopen/dlsym: this avoids all hard dependencies on
1895 EDS shared objects, but might lead to crashes when
1897 --enable-developer-mode The dynamic loadble backend libraries is loaded from
1898 current build directory instead of the standard
1900 --enable-maemo enables some hacks which work around problems with
1901 the Maemo 2.0 until at least 3.0 EDS-Dbus
1902 --enable-libcurl enable libcurl as transport layer
1903 --enable-libsoup enable libsoup as transport layer
1904 --enable-bluetooth enable bluetooth transport support
1905 --disable-ssl-certificate-check
1906 Disable SSL certificate checking in all server
1907 *templates*. Users can still choose to enable or
1908 disable it in their configuration. This is necessary
1909 on platforms where the transport library has
1910 problems verifying the server's certificate (libsoup
1912 http://bugzilla.moblin.org/show_bug.cgi?id=4551)
1913 --enable-gtk=major version
1914 Selects the gtk+ version ("2" or "3") to use for the
1915 UI. If this option is used, --enable-gui should be
1916 used as well. "3" is the default option if
1917 available, otherwise "2".
1918 --enable-gui=gui type enables building the GTK+ UI that uses the
1919 SyncEvolution DBus API. Options: gtk, moblin, all
1920 (builds sync-ui-gtk and sync-ui-moblin) "gtk" is the
1921 default for --enable-gui without type. No GUI is
1922 built when --enable-gui is not used.
1923 --enable-core enables building the core SyncEvolution (library,
1925 --enable-dbus-service enables building the dbus service executable and all
1926 related features (the DBus wrapper library, command
1927 line usage of server, etc).
1928 --enable-notify send notifications for automatic sync events, using
1930 --enable-notify-compatibility
1931 increase compatibility with binary libnotify
1932 installations by loading libnotify.so.1..4
1933 dynamically instead of linking against it
1934 --enable-mlite send notifications for automatic sync events, using
1935 mlite (off by default)
1936 --disable-nls do not use Native Language Support
1937 --enable-gnome-bluetooth-panel-plugin
1938 GNOME Bluetooth panel plugin adding a "sync" button
1939 for paired devices (off by default)
1940 --enable-doc generate backend and DBus API documentation
1941 --enable-activesync enable access to servers via ActiveSync (default
1943 --enable-addressbook enable access to Mac OS X address book (default off)
1944 --disable-akonadi disable access to Akonadi (default is to use it if
1945 akonadi.pc is found)
1946 --disable-ebook disable access to Evolution addressbooks (must be
1947 used to compile without it)
1948 --disable-ecal disable access to Evolution calendars and tasks
1949 (must be used to compile without it)
1950 --enable-eds-client-api Use the EBookClient and ECalClient API introduced in
1951 EDS 3.2 instead of the legacy API. Some operations
1952 are more efficient with it, but it is also less well
1953 tested and thus disabled by default.
1954 --disable-file disable file-based backend which stores items in
1955 separate files in a fixed directory (default on)
1956 --enable-gnome-keyring enables or disables support for the GNOME keyring;
1957 default is on if development files are available
1958 --enable-kcalextended enable support for Maemo's KCalExtended storage
1959 --enable-kwallet enable access to KWallet
1960 --enable-maemocal enable access to PIM data stored in Maemo 5 calendar
1961 application (default off)
1962 --enable-qtcontacts enable support for QtMobility's QtContacts storage
1963 --enable-sqlite enable access to PIM data stored in SQLite files
1964 (experimental, default off)
1965 --enable-dav enable WebDAV based backends (CalDAV) (default off)
1966 --enable-neon-compatibility
1967 increase compatibility with binary libneon
1968 installations by loading libneon[-gnutls].27.so
1969 dynamically instead of linking against it
1970 --enable-xmlrpc enable XMLRPC-based backend which stores items on a
1971 central web service (default off)
1972 --enable-qt-dbus build Qt bindings for D-Bus
1973 --enable-dbus-timeout-hack
1974 Enables code which overrides the default timeout in
1975 dbus_connection_send_with_reply() so that the method
1976 call never times out. Needed for libecal/ebook >=
1977 2.30, so enabled by default if either of these is
1981 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1982 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1983 --with-pic try to use only PIC/non-PIC objects [default=use
1985 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1986 --with-synthesis-src=<base directory|svn URL|git URL>
1987 Specifies location of the Synthesis root directory.
1988 Use this when the Synthesis library is to be
1989 compiled as part of the SyncEvolution compilation.
1990 In release versions of SyncEvolution, a copy of the
1991 Synthesis code is bundled under 'src/synthesis' and
1992 compiled unless something else is specified.
1993 --with-synthesis-src can be given a path to sources
1994 checked out already, a Subversion repository URL or
1995 a git repository URL. When given a repository URL,
1996 then the configure script will checkout the sources
1997 into 'src/synthesis-workdir' or update that working
1998 copy if the directory already exists. Default:
1999 bundled source in src/synthesis (in released
2000 SyncEvolution sources), otherwise.
2001 --with-syncml-engines=client|server|both
2002 Determines which kind of support for SyncML is
2003 compiled and linked into SyncEvolution. Default is
2004 both. Currently has no effect.
2005 --with-synthesis-username=<svn username>
2006 username to use when checking out
2007 --with-synthesis-src sources from Subversion,
2009 --with-synthesis-revision=<git tag/branch/hash or Subversion revision>
2010 Identifies which source revision to use from
2011 --with-synthesis-src repository, empty string stands
2012 for latest. Default for default --synthesis-src:
2014 --with-ca-certificates=<colon separated list of files>
2015 Specifies location of one or more CA certificate
2016 files. This sets the default value for the
2017 SSLServerCertificates option. Default: empty when
2018 using libcurl (because it has its own default), a
2019 list of paths known to work for Debian and Red Hat
2021 --with-gio-gdbus enables use of GIO's GDBus instead of the in-tree,
2023 --with-boost[=ARG] use Boost library from a standard location
2024 (ARG=yes), from the specified location (ARG=<path>),
2025 or disable it (ARG=no) [ARG=yes]
2026 --with-boost-libdir=LIB_DIR
2027 Force given directory for boost libraries. Note that
2028 this will override library path detection, so use
2029 this parameter only if default library detection
2030 fails and you know exactly where your boost
2031 libraries are located.
2032 --with-rst2man=<path to reStructuredText to man converter>
2033 Specifies an explicit path to the utility if not
2034 found in PATH. An explicit --without-rst2man or not
2035 having it installed turn off building of man pages.
2036 --with-rst2html=<path to reStructuredText to HTML converter>
2037 Specifies an explicit path to the utility if not
2038 found in PATH. An explicit --without-rst2html or not
2039 having it installed turn off building of README in
2041 --with-activesyncd-src=<base directory>
2042 Specifies location of the activesyncd source root
2043 directory. Use this when activesyncd is to be
2044 compiled as part of the SyncEvolution compilation.
2045 --with-qt Path to Qt [Look in PATH and /usr/local/Trolltech]
2047 Some influential environment variables:
2048 CC C compiler command
2049 CFLAGS C compiler flags
2050 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2051 nonstandard directory <lib dir>
2052 LIBS libraries to pass to the linker, e.g. -l<library>
2053 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2054 you have headers in a nonstandard directory <include dir>
2056 CXX C++ compiler command
2057 CXXFLAGS C++ compiler flags
2058 CXXCPP C++ preprocessor
2059 PKG_CONFIG path to pkg-config utility
2061 C compiler flags for LIBSOUP, overriding pkg-config
2063 linker flags for LIBSOUP, overriding pkg-config
2065 C compiler flags for LIBOPENOBEX, overriding pkg-config
2067 linker flags for LIBOPENOBEX, overriding pkg-config
2069 C compiler flags for BLUEZ, overriding pkg-config
2070 BLUEZ_LIBS linker flags for BLUEZ, overriding pkg-config
2071 DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
2072 DBUS_LIBS linker flags for DBUS, overriding pkg-config
2074 C compiler flags for LIBNOTIFY, overriding pkg-config
2076 linker flags for LIBNOTIFY, overriding pkg-config
2078 C compiler flags for MLITE, overriding pkg-config
2079 MLITE_LIBS linker flags for MLITE, overriding pkg-config
2081 C compiler flags for DBUS_GLIB, overriding pkg-config
2083 linker flags for DBUS_GLIB, overriding pkg-config
2084 MX_GTK_0_99_1_CFLAGS
2085 C compiler flags for MX_GTK_0_99_1, overriding pkg-config
2087 linker flags for MX_GTK_0_99_1, overriding pkg-config
2089 C compiler flags for UNIQUE, overriding pkg-config
2090 UNIQUE_LIBS linker flags for UNIQUE, overriding pkg-config
2092 C compiler flags for GTK_2_18, overriding pkg-config
2094 linker flags for GTK_2_18, overriding pkg-config
2095 GUI_CFLAGS C compiler flags for GUI, overriding pkg-config
2096 GUI_LIBS linker flags for GUI, overriding pkg-config
2098 C compiler flags for PCRECPP, overriding pkg-config
2100 linker flags for PCRECPP, overriding pkg-config
2102 C compiler flags for SYNTHESIS, overriding pkg-config
2104 linker flags for SYNTHESIS, overriding pkg-config
2105 WITH_SYNTHESIS_SRC_CFLAGS
2106 C compiler flags for WITH_SYNTHESIS_SRC, overriding pkg-config
2107 WITH_SYNTHESIS_SRC_LIBS
2108 linker flags for WITH_SYNTHESIS_SRC, overriding pkg-config
2109 GNOMEBLUETOOTH_CFLAGS
2110 C compiler flags for GNOMEBLUETOOTH, overriding pkg-config
2112 linker flags for GNOMEBLUETOOTH, overriding pkg-config
2114 C compiler flags for EASCLIENT, overriding pkg-config
2116 linker flags for EASCLIENT, overriding pkg-config
2118 C compiler flags for EPACKAGE, overriding pkg-config
2120 linker flags for EPACKAGE, overriding pkg-config
2121 ECAL_CFLAGS C compiler flags for ECAL, overriding pkg-config
2122 ECAL_LIBS linker flags for ECAL, overriding pkg-config
2124 C compiler flags for EBOOK, overriding pkg-config
2125 EBOOK_LIBS linker flags for EBOOK, overriding pkg-config
2126 EBOOK_VERSION_CFLAGS
2127 C compiler flags for EBOOK_VERSION, overriding pkg-config
2129 linker flags for EBOOK_VERSION, overriding pkg-config
2131 C compiler flags for KEYRING, overriding pkg-config
2133 linker flags for KEYRING, overriding pkg-config
2135 C compiler flags for KEYRING_2_20, overriding pkg-config
2137 linker flags for KEYRING_2_20, overriding pkg-config
2139 C compiler flags for KCALEXTENDED, overriding pkg-config
2141 linker flags for KCALEXTENDED, overriding pkg-config
2143 C compiler flags for MCALB, overriding pkg-config
2144 MCALB_LIBS linker flags for MCALB, overriding pkg-config
2146 C compiler flags for SQLITE, overriding pkg-config
2147 SQLITE_LIBS linker flags for SQLITE, overriding pkg-config
2148 NEON_CFLAGS C compiler flags for NEON, overriding pkg-config
2149 NEON_LIBS linker flags for NEON, overriding pkg-config
2150 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
2151 GLIB_LIBS linker flags for GLIB, overriding pkg-config
2153 C compiler flags for GTHREAD, overriding pkg-config
2155 linker flags for GTHREAD, overriding pkg-config
2157 C compiler flags for GOBJECT, overriding pkg-config
2159 linker flags for GOBJECT, overriding pkg-config
2160 GIO_CFLAGS C compiler flags for GIO, overriding pkg-config
2161 GIO_LIBS linker flags for GIO, overriding pkg-config
2163 C compiler flags for LIBICAL, overriding pkg-config
2165 linker flags for LIBICAL, overriding pkg-config
2166 QT_PATH Path to the Qt installation
2167 QMAKE Qt Makefile generator command
2168 MOC Qt Meta Object Compiler command
2169 UIC Qt User Interface Compiler command
2170 RCC Qt Resource Compiler command
2172 C compiler flags for GLIB216, overriding pkg-config
2174 linker flags for GLIB216, overriding pkg-config
2175 NSS_CFLAGS C compiler flags for NSS, overriding pkg-config
2176 NSS_LIBS linker flags for NSS, overriding pkg-config
2177 LIBICAL_AVAILABLE_CFLAGS
2178 C compiler flags for LIBICAL_AVAILABLE, overriding pkg-config
2179 LIBICAL_AVAILABLE_LIBS
2180 linker flags for LIBICAL_AVAILABLE, overriding pkg-config
2182 Use these variables to override the choices made by `configure' or to help
2183 it to find libraries and programs with nonstandard names/locations.
2185 Report bugs to the package provider.
2190 if test "$ac_init_help" = "recursive"; then
2191 # If there are subdirs, report their specific --help.
2192 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2193 test -d "$ac_dir" ||
2194 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2199 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2201 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2202 # A ".." for each directory in $ac_dir_suffix.
2203 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2204 case $ac_top_builddir_sub in
2205 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2206 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2209 ac_abs_top_builddir=$ac_pwd
2210 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2211 # for backward compatibility:
2212 ac_top_builddir=$ac_top_build_prefix
2215 .) # We are building in place.
2217 ac_top_srcdir=$ac_top_builddir_sub
2218 ac_abs_top_srcdir=$ac_pwd ;;
2219 [\\/]* | ?:[\\/]* ) # Absolute name.
2220 ac_srcdir=$srcdir$ac_dir_suffix;
2221 ac_top_srcdir=$srcdir
2222 ac_abs_top_srcdir=$srcdir ;;
2224 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2225 ac_top_srcdir=$ac_top_build_prefix$srcdir
2226 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2228 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2230 cd "$ac_dir" || { ac_status=$?; continue; }
2231 # Check for guested configure.
2232 if test -f "$ac_srcdir/configure.gnu"; then
2234 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2235 elif test -f "$ac_srcdir/configure"; then
2237 $SHELL "$ac_srcdir/configure" --help=recursive
2239 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2241 cd "$ac_pwd" || { ac_status=$?; break; }
2245 test -n "$ac_init_help" && exit $ac_status
2246 if $ac_init_version; then
2248 syncevolution configure 1.2.99+20120606+SE+ff65aef+SYSYNC+2728cb4
2249 generated by GNU Autoconf 2.65
2251 Copyright (C) 2009 Free Software Foundation, Inc.
2252 This configure script is free software; the Free Software Foundation
2253 gives unlimited permission to copy, distribute and modify it.
2258 ## ------------------------ ##
2259 ## Autoconf initialization. ##
2260 ## ------------------------ ##
2262 # ac_fn_c_try_compile LINENO
2263 # --------------------------
2264 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2265 ac_fn_c_try_compile ()
2267 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2268 rm -f conftest.$ac_objext
2269 if { { ac_try="$ac_compile"
2271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2272 *) ac_try_echo=$ac_try;;
2274 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2275 $as_echo "$ac_try_echo"; } >&5
2276 (eval "$ac_compile") 2>conftest.err
2278 if test -s conftest.err; then
2279 grep -v '^ *+' conftest.err >conftest.er1
2280 cat conftest.er1 >&5
2281 mv -f conftest.er1 conftest.err
2283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2284 test $ac_status = 0; } && {
2285 test -z "$ac_c_werror_flag" ||
2286 test ! -s conftest.err
2287 } && test -s conftest.$ac_objext; then :
2290 $as_echo "$as_me: failed program was:" >&5
2291 sed 's/^/| /' conftest.$ac_ext >&5
2295 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2296 as_fn_set_status $ac_retval
2298 } # ac_fn_c_try_compile
2300 # ac_fn_c_try_link LINENO
2301 # -----------------------
2302 # Try to link conftest.$ac_ext, and return whether this succeeded.
2305 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2306 rm -f conftest.$ac_objext conftest$ac_exeext
2307 if { { ac_try="$ac_link"
2309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2310 *) ac_try_echo=$ac_try;;
2312 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2313 $as_echo "$ac_try_echo"; } >&5
2314 (eval "$ac_link") 2>conftest.err
2316 if test -s conftest.err; then
2317 grep -v '^ *+' conftest.err >conftest.er1
2318 cat conftest.er1 >&5
2319 mv -f conftest.er1 conftest.err
2321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2322 test $ac_status = 0; } && {
2323 test -z "$ac_c_werror_flag" ||
2324 test ! -s conftest.err
2325 } && test -s conftest$ac_exeext && {
2326 test "$cross_compiling" = yes ||
2327 $as_test_x conftest$ac_exeext
2331 $as_echo "$as_me: failed program was:" >&5
2332 sed 's/^/| /' conftest.$ac_ext >&5
2336 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2337 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2338 # interfere with the next link command; also delete a directory that is
2339 # left behind by Apple's compiler. We do this before executing the actions.
2340 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2341 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2342 as_fn_set_status $ac_retval
2344 } # ac_fn_c_try_link
2346 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2347 # -------------------------------------------------------
2348 # Tests whether HEADER exists and can be compiled using the include files in
2349 # INCLUDES, setting the cache variable VAR accordingly.
2350 ac_fn_c_check_header_compile ()
2352 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2354 $as_echo_n "checking for $2... " >&6; }
2355 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2356 $as_echo_n "(cached) " >&6
2358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2359 /* end confdefs.h. */
2363 if ac_fn_c_try_compile "$LINENO"; then :
2368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2372 $as_echo "$ac_res" >&6; }
2373 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2375 } # ac_fn_c_check_header_compile
2377 # ac_fn_c_try_cpp LINENO
2378 # ----------------------
2379 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2382 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2383 if { { ac_try="$ac_cpp conftest.$ac_ext"
2385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2386 *) ac_try_echo=$ac_try;;
2388 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2389 $as_echo "$ac_try_echo"; } >&5
2390 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2392 if test -s conftest.err; then
2393 grep -v '^ *+' conftest.err >conftest.er1
2394 cat conftest.er1 >&5
2395 mv -f conftest.er1 conftest.err
2397 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2398 test $ac_status = 0; } >/dev/null && {
2399 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2400 test ! -s conftest.err
2404 $as_echo "$as_me: failed program was:" >&5
2405 sed 's/^/| /' conftest.$ac_ext >&5
2409 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2410 as_fn_set_status $ac_retval
2414 # ac_fn_c_try_run LINENO
2415 # ----------------------
2416 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2417 # that executables *can* be run.
2420 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2421 if { { ac_try="$ac_link"
2423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2424 *) ac_try_echo=$ac_try;;
2426 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2427 $as_echo "$ac_try_echo"; } >&5
2428 (eval "$ac_link") 2>&5
2430 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2431 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2432 { { case "(($ac_try" in
2433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2434 *) ac_try_echo=$ac_try;;
2436 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2437 $as_echo "$ac_try_echo"; } >&5
2438 (eval "$ac_try") 2>&5
2440 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2441 test $ac_status = 0; }; }; then :
2444 $as_echo "$as_me: program exited with status $ac_status" >&5
2445 $as_echo "$as_me: failed program was:" >&5
2446 sed 's/^/| /' conftest.$ac_ext >&5
2448 ac_retval=$ac_status
2450 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2451 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2452 as_fn_set_status $ac_retval
2456 # ac_fn_c_check_func LINENO FUNC VAR
2457 # ----------------------------------
2458 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2459 ac_fn_c_check_func ()
2461 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2463 $as_echo_n "checking for $2... " >&6; }
2464 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2465 $as_echo_n "(cached) " >&6
2467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2468 /* end confdefs.h. */
2469 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2470 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2471 #define $2 innocuous_$2
2473 /* System header to define __stub macros and hopefully few prototypes,
2474 which can conflict with char $2 (); below.
2475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2476 <limits.h> exists even on freestanding compilers. */
2479 # include <limits.h>
2481 # include <assert.h>
2486 /* Override any GCC internal prototype to avoid an error.
2487 Use char because int might match the return type of a GCC
2488 builtin and then its argument prototype would still apply. */
2493 /* The GNU C library defines this for functions which it implements
2494 to always fail with ENOSYS. Some functions are actually named
2495 something starting with __ and the normal name is an alias. */
2496 #if defined __stub_$2 || defined __stub___$2
2508 if ac_fn_c_try_link "$LINENO"; then :
2513 rm -f core conftest.err conftest.$ac_objext \
2514 conftest$ac_exeext conftest.$ac_ext
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2518 $as_echo "$ac_res" >&6; }
2519 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2521 } # ac_fn_c_check_func
2523 # ac_fn_cxx_try_compile LINENO
2524 # ----------------------------
2525 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2526 ac_fn_cxx_try_compile ()
2528 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2529 rm -f conftest.$ac_objext
2530 if { { ac_try="$ac_compile"
2532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2533 *) ac_try_echo=$ac_try;;
2535 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2536 $as_echo "$ac_try_echo"; } >&5
2537 (eval "$ac_compile") 2>conftest.err
2539 if test -s conftest.err; then
2540 grep -v '^ *+' conftest.err >conftest.er1
2541 cat conftest.er1 >&5
2542 mv -f conftest.er1 conftest.err
2544 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2545 test $ac_status = 0; } && {
2546 test -z "$ac_cxx_werror_flag" ||
2547 test ! -s conftest.err
2548 } && test -s conftest.$ac_objext; then :
2551 $as_echo "$as_me: failed program was:" >&5
2552 sed 's/^/| /' conftest.$ac_ext >&5
2556 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2557 as_fn_set_status $ac_retval
2559 } # ac_fn_cxx_try_compile
2561 # ac_fn_cxx_try_cpp LINENO
2562 # ------------------------
2563 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2564 ac_fn_cxx_try_cpp ()
2566 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2567 if { { ac_try="$ac_cpp conftest.$ac_ext"
2569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2570 *) ac_try_echo=$ac_try;;
2572 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2573 $as_echo "$ac_try_echo"; } >&5
2574 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2576 if test -s conftest.err; then
2577 grep -v '^ *+' conftest.err >conftest.er1
2578 cat conftest.er1 >&5
2579 mv -f conftest.er1 conftest.err
2581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2582 test $ac_status = 0; } >/dev/null && {
2583 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2584 test ! -s conftest.err
2588 $as_echo "$as_me: failed program was:" >&5
2589 sed 's/^/| /' conftest.$ac_ext >&5
2593 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2594 as_fn_set_status $ac_retval
2596 } # ac_fn_cxx_try_cpp
2598 # ac_fn_cxx_try_link LINENO
2599 # -------------------------
2600 # Try to link conftest.$ac_ext, and return whether this succeeded.
2601 ac_fn_cxx_try_link ()
2603 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2604 rm -f conftest.$ac_objext conftest$ac_exeext
2605 if { { ac_try="$ac_link"
2607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2608 *) ac_try_echo=$ac_try;;
2610 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2611 $as_echo "$ac_try_echo"; } >&5
2612 (eval "$ac_link") 2>conftest.err
2614 if test -s conftest.err; then
2615 grep -v '^ *+' conftest.err >conftest.er1
2616 cat conftest.er1 >&5
2617 mv -f conftest.er1 conftest.err
2619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2620 test $ac_status = 0; } && {
2621 test -z "$ac_cxx_werror_flag" ||
2622 test ! -s conftest.err
2623 } && test -s conftest$ac_exeext && {
2624 test "$cross_compiling" = yes ||
2625 $as_test_x conftest$ac_exeext
2629 $as_echo "$as_me: failed program was:" >&5
2630 sed 's/^/| /' conftest.$ac_ext >&5
2634 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2635 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2636 # interfere with the next link command; also delete a directory that is
2637 # left behind by Apple's compiler. We do this before executing the actions.
2638 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2639 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2640 as_fn_set_status $ac_retval
2642 } # ac_fn_cxx_try_link
2644 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2645 # -------------------------------------------------------
2646 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2647 # the include files in INCLUDES and setting the cache variable VAR
2649 ac_fn_c_check_header_mongrel ()
2651 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2652 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2654 $as_echo_n "checking for $2... " >&6; }
2655 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2656 $as_echo_n "(cached) " >&6
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2660 $as_echo "$ac_res" >&6; }
2662 # Is the header compilable?
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2664 $as_echo_n "checking $2 usability... " >&6; }
2665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2666 /* end confdefs.h. */
2670 if ac_fn_c_try_compile "$LINENO"; then :
2671 ac_header_compiler=yes
2673 ac_header_compiler=no
2675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2677 $as_echo "$ac_header_compiler" >&6; }
2679 # Is the header present?
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2681 $as_echo_n "checking $2 presence... " >&6; }
2682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2683 /* end confdefs.h. */
2686 if ac_fn_c_try_cpp "$LINENO"; then :
2687 ac_header_preproc=yes
2689 ac_header_preproc=no
2691 rm -f conftest.err conftest.$ac_ext
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2693 $as_echo "$ac_header_preproc" >&6; }
2695 # So? What about this header?
2696 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2699 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2701 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2705 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2707 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2709 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2711 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2713 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2717 $as_echo_n "checking for $2... " >&6; }
2718 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2719 $as_echo_n "(cached) " >&6
2721 eval "$3=\$ac_header_compiler"
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2725 $as_echo "$ac_res" >&6; }
2727 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2729 } # ac_fn_c_check_header_mongrel
2731 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2732 # ---------------------------------------------------------
2733 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2734 # the include files in INCLUDES and setting the cache variable VAR
2736 ac_fn_cxx_check_header_mongrel ()
2738 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2739 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2741 $as_echo_n "checking for $2... " >&6; }
2742 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2743 $as_echo_n "(cached) " >&6
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2747 $as_echo "$ac_res" >&6; }
2749 # Is the header compilable?
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2751 $as_echo_n "checking $2 usability... " >&6; }
2752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2753 /* end confdefs.h. */
2757 if ac_fn_cxx_try_compile "$LINENO"; then :
2758 ac_header_compiler=yes
2760 ac_header_compiler=no
2762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2764 $as_echo "$ac_header_compiler" >&6; }
2766 # Is the header present?
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2768 $as_echo_n "checking $2 presence... " >&6; }
2769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2770 /* end confdefs.h. */
2773 if ac_fn_cxx_try_cpp "$LINENO"; then :
2774 ac_header_preproc=yes
2776 ac_header_preproc=no
2778 rm -f conftest.err conftest.$ac_ext
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2780 $as_echo "$ac_header_preproc" >&6; }
2782 # So? What about this header?
2783 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2786 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2788 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2792 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2794 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2796 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2798 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2800 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2804 $as_echo_n "checking for $2... " >&6; }
2805 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2806 $as_echo_n "(cached) " >&6
2808 eval "$3=\$ac_header_compiler"
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2812 $as_echo "$ac_res" >&6; }
2814 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2816 } # ac_fn_cxx_check_header_mongrel
2817 cat >config.log <<_ACEOF
2818 This file contains any messages produced by compilers while
2819 running configure, to aid debugging if configure makes a mistake.
2821 It was created by syncevolution $as_me 1.2.99+20120606+SE+ff65aef+SYSYNC+2728cb4, which was
2822 generated by GNU Autoconf 2.65. Invocation command line was
2834 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2835 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2836 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2837 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2838 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2840 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2841 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2843 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2844 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2845 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2846 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2847 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2848 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2849 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2857 test -z "$as_dir" && as_dir=.
2858 $as_echo "PATH: $as_dir"
2874 # Keep a trace of the command line.
2875 # Strip out --no-create and --no-recursion so they do not pile up.
2876 # Strip out --silent because we don't want to record it for future runs.
2877 # Also quote any args containing shell meta-characters.
2878 # Make two passes to allow for proper duplicate-argument suppression.
2882 ac_must_keep_next=false
2888 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2889 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2890 | -silent | --silent | --silen | --sile | --sil)
2893 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2896 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2898 as_fn_append ac_configure_args1 " '$ac_arg'"
2899 if test $ac_must_keep_next = true; then
2900 ac_must_keep_next=false # Got value, back to normal.
2903 *=* | --config-cache | -C | -disable-* | --disable-* \
2904 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2905 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2906 | -with-* | --with-* | -without-* | --without-* | --x)
2907 case "$ac_configure_args0 " in
2908 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2911 -* ) ac_must_keep_next=true ;;
2914 as_fn_append ac_configure_args " '$ac_arg'"
2919 { ac_configure_args0=; unset ac_configure_args0;}
2920 { ac_configure_args1=; unset ac_configure_args1;}
2922 # When interrupted or exit'd, cleanup temporary files, and complete
2923 # config.log. We remove comments because anyway the quotes in there
2924 # would cause problems or look ugly.
2925 # WARNING: Use '\'' to represent an apostrophe within the trap.
2926 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2927 trap 'exit_status=$?
2928 # Save into config.log some information that might help in debugging.
2933 ## ---------------- ##
2934 ## Cache variables. ##
2935 ## ---------------- ##
2938 # The following way of writing the cache mishandles newlines in values,
2940 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2941 eval ac_val=\$$ac_var
2945 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2946 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2949 _ | IFS | as_nl) ;; #(
2950 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2951 *) { eval $ac_var=; unset $ac_var;} ;;
2956 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2957 *${as_nl}ac_space=\ *)
2959 "s/'\''/'\''\\\\'\'''\''/g;
2960 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2963 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2971 ## ----------------- ##
2972 ## Output variables. ##
2973 ## ----------------- ##
2976 for ac_var in $ac_subst_vars
2978 eval ac_val=\$$ac_var
2980 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2982 $as_echo "$ac_var='\''$ac_val'\''"
2986 if test -n "$ac_subst_files"; then
2988 ## ------------------- ##
2989 ## File substitutions. ##
2990 ## ------------------- ##
2993 for ac_var in $ac_subst_files
2995 eval ac_val=\$$ac_var
2997 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2999 $as_echo "$ac_var='\''$ac_val'\''"
3004 if test -s confdefs.h; then
3014 test "$ac_signal" != 0 &&
3015 $as_echo "$as_me: caught signal $ac_signal"
3016 $as_echo "$as_me: exit $exit_status"
3018 rm -f core *.core core.conftest.* &&
3019 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3022 for ac_signal in 1 2 13 15; do
3023 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3027 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3028 rm -f -r conftest* confdefs.h
3030 $as_echo "/* confdefs.h */" > confdefs.h
3032 # Predefined preprocessor variables.
3034 cat >>confdefs.h <<_ACEOF
3035 #define PACKAGE_NAME "$PACKAGE_NAME"
3038 cat >>confdefs.h <<_ACEOF
3039 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3042 cat >>confdefs.h <<_ACEOF
3043 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3046 cat >>confdefs.h <<_ACEOF
3047 #define PACKAGE_STRING "$PACKAGE_STRING"
3050 cat >>confdefs.h <<_ACEOF
3051 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3054 cat >>confdefs.h <<_ACEOF
3055 #define PACKAGE_URL "$PACKAGE_URL"
3059 # Let the site file select an alternate cache file if it wants to.
3060 # Prefer an explicitly selected file to automatically selected ones.
3063 if test -n "$CONFIG_SITE"; then
3064 ac_site_file1=$CONFIG_SITE
3065 elif test "x$prefix" != xNONE; then
3066 ac_site_file1=$prefix/share/config.site
3067 ac_site_file2=$prefix/etc/config.site
3069 ac_site_file1=$ac_default_prefix/share/config.site
3070 ac_site_file2=$ac_default_prefix/etc/config.site
3072 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3074 test "x$ac_site_file" = xNONE && continue
3075 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3077 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3078 sed 's/^/| /' "$ac_site_file" >&5
3083 if test -r "$cache_file"; then
3084 # Some versions of bash will fail to source /dev/null (special files
3085 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3086 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3088 $as_echo "$as_me: loading cache $cache_file" >&6;}
3090 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3091 *) . "./$cache_file";;
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3096 $as_echo "$as_me: creating cache $cache_file" >&6;}
3100 # Check that the precious variables saved in the cache have kept the same
3102 ac_cache_corrupted=false
3103 for ac_var in $ac_precious_vars; do
3104 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3105 eval ac_new_set=\$ac_env_${ac_var}_set
3106 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3107 eval ac_new_val=\$ac_env_${ac_var}_value
3108 case $ac_old_set,$ac_new_set in
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3111 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3112 ac_cache_corrupted=: ;;
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3115 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3116 ac_cache_corrupted=: ;;
3119 if test "x$ac_old_val" != "x$ac_new_val"; then
3120 # differences in whitespace do not lead to failure.
3121 ac_old_val_w=`echo x $ac_old_val`
3122 ac_new_val_w=`echo x $ac_new_val`
3123 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3125 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3126 ac_cache_corrupted=:
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3129 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3130 eval $ac_var=\$ac_old_val
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3133 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3135 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3138 # Pass precious variables to config.status.
3139 if test "$ac_new_set" = set; then
3141 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3142 *) ac_arg=$ac_var=$ac_new_val ;;
3144 case " $ac_configure_args " in
3145 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3146 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3150 if $ac_cache_corrupted; then
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3152 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3154 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3155 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3157 ## -------------------- ##
3158 ## Main body of script. ##
3159 ## -------------------- ##
3162 ac_cpp='$CPP $CPPFLAGS'
3163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3168 # STABLE_VERSION=1.0.1+
3171 # Generate some files.
3179 # Default value for --enable/disable-release-mode.
3180 # Determined by gen-autotools.sh based on versioning.
3181 # Official, stable releases enable it, pre-releases
3213 # Minimum version of libsynthesis as defined in its
3214 # configure script and thus .pc files:
3217 # Line above is patched by gen-autotools.sh. Handle
3218 # both "yes" and "no".
3221 # Check whether --enable-release-mode was given.
3222 if test "${enable_release_mode+set}" = set; then :
3223 enableval=$enable_release_mode; enable_release_mode="$enableval"
3225 enable_release_mode="no"
3228 if test "$enable_release_mode" = "yes"; then
3230 $as_echo "#define SYNCEVOLUTION_STABLE_RELEASE 1" >>confdefs.h
3234 am__api_version='1.11'
3237 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3238 for ac_t in install-sh install.sh shtool; do
3239 if test -f "$ac_dir/$ac_t"; then
3241 ac_install_sh="$ac_aux_dir/$ac_t -c"
3246 if test -z "$ac_aux_dir"; then
3247 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3250 # These three variables are undocumented and unsupported,
3251 # and are intended to be withdrawn in a future Autoconf release.
3252 # They can cause serious problems if a builder's source tree is in a directory
3253 # whose full name contains unusual characters.
3254 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3255 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3256 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3259 # Find a good install program. We prefer a C program (faster),
3260 # so one script is as good as another. But avoid the broken or
3261 # incompatible versions:
3262 # SysV /etc/install, /usr/sbin/install
3263 # SunOS /usr/etc/install
3264 # IRIX /sbin/install
3266 # AmigaOS /C/install, which installs bootblocks on floppy discs
3267 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3268 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3269 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3270 # OS/2's system install, which has a completely different semantic
3271 # ./install, which can be erroneously created by make from ./install.sh.
3272 # Reject install programs that cannot install multiple files.
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3274 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3275 if test -z "$INSTALL"; then
3276 if test "${ac_cv_path_install+set}" = set; then :
3277 $as_echo_n "(cached) " >&6
3279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3283 test -z "$as_dir" && as_dir=.
3284 # Account for people who put trailing slashes in PATH elements.
3285 case $as_dir/ in #((
3286 ./ | .// | /[cC]/* | \
3287 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3288 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3291 # OSF1 and SCO ODT 3.0 have their own names for install.
3292 # Don't use installbsd from OSF since it installs stuff as root
3294 for ac_prog in ginstall scoinst install; do
3295 for ac_exec_ext in '' $ac_executable_extensions; do
3296 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3297 if test $ac_prog = install &&
3298 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3299 # AIX install. It has an incompatible calling convention.
3301 elif test $ac_prog = install &&
3302 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3303 # program-specific install script used by HP pwplus--don't use.
3306 rm -rf conftest.one conftest.two conftest.dir
3307 echo one > conftest.one
3308 echo two > conftest.two
3310 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3311 test -s conftest.one && test -s conftest.two &&
3312 test -s conftest.dir/conftest.one &&
3313 test -s conftest.dir/conftest.two
3315 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3328 rm -rf conftest.one conftest.two conftest.dir
3331 if test "${ac_cv_path_install+set}" = set; then
3332 INSTALL=$ac_cv_path_install
3334 # As a last resort, use the slow shell script. Don't cache a
3335 # value for INSTALL within a source directory, because that will
3336 # break other packages using the cache if that directory is
3337 # removed, or if the value is a relative name.
3338 INSTALL=$ac_install_sh
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3342 $as_echo "$INSTALL" >&6; }
3344 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3345 # It thinks the first close brace ends the variable substitution.
3346 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3348 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3350 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3353 $as_echo_n "checking whether build environment is sane... " >&6; }
3356 echo timestamp > conftest.file
3357 # Reject unsafe characters in $srcdir or the absolute working directory
3358 # name. Accept space and tab only in the latter.
3362 *[\\\"\#\$\&\'\`$am_lf]*)
3363 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3366 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3367 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3370 # Do `set' in a subshell so we don't clobber the current shell's
3371 # arguments. Must try -L first in case configure is actually a
3372 # symlink; some systems play weird games with the mod time of symlinks
3373 # (eg FreeBSD returns the mod time of the symlink's containing
3376 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3377 if test "$*" = "X"; then
3379 set X `ls -t "$srcdir/configure" conftest.file`
3382 if test "$*" != "X $srcdir/configure conftest.file" \
3383 && test "$*" != "X conftest.file $srcdir/configure"; then
3385 # If neither matched, then we have a broken ls. This can happen
3386 # if, for instance, CONFIG_SHELL is bash and it inherits a
3387 # broken ls alias from the environment. This has actually
3388 # happened. Such a system could not be considered "sane".
3389 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3390 alias in your environment" "$LINENO" 5
3393 test "$2" = conftest.file
3399 as_fn_error "newly created file is older than distributed files!
3400 Check your system clock" "$LINENO" 5
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3403 $as_echo "yes" >&6; }
3404 test "$program_prefix" != NONE &&
3405 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3406 # Use a double $ so make ignores it.
3407 test "$program_suffix" != NONE &&
3408 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3409 # Double any \ or $.
3410 # By default was `s,x,x', remove it if useless.
3411 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3412 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3414 # expand $ac_aux_dir to an absolute path
3415 am_aux_dir=`cd $ac_aux_dir && pwd`
3417 if test x"${MISSING+set}" != xset; then
3420 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3422 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3425 # Use eval to expand $SHELL
3426 if eval "$MISSING --run true"; then
3427 am_missing_run="$MISSING --run "
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3431 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3434 if test x"${install_sh}" != xset; then
3437 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3439 install_sh="\${SHELL} $am_aux_dir/install-sh"
3443 # Installed binaries are usually stripped using `strip' when the user
3444 # run `make install-strip'. However `strip' might not be the right
3445 # tool to use in cross-compilation environments, therefore Automake
3446 # will honor the `STRIP' environment variable to overrule this program.
3447 if test "$cross_compiling" != no; then
3448 if test -n "$ac_tool_prefix"; then
3449 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3450 set dummy ${ac_tool_prefix}strip; ac_word=$2
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3452 $as_echo_n "checking for $ac_word... " >&6; }
3453 if test "${ac_cv_prog_STRIP+set}" = set; then :
3454 $as_echo_n "(cached) " >&6
3456 if test -n "$STRIP"; then
3457 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3463 test -z "$as_dir" && as_dir=.
3464 for ac_exec_ext in '' $ac_executable_extensions; do
3465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3466 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3476 STRIP=$ac_cv_prog_STRIP
3477 if test -n "$STRIP"; then
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3479 $as_echo "$STRIP" >&6; }
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3482 $as_echo "no" >&6; }
3487 if test -z "$ac_cv_prog_STRIP"; then
3489 # Extract the first word of "strip", so it can be a program name with args.
3490 set dummy strip; ac_word=$2
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3492 $as_echo_n "checking for $ac_word... " >&6; }
3493 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3494 $as_echo_n "(cached) " >&6
3496 if test -n "$ac_ct_STRIP"; then
3497 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3503 test -z "$as_dir" && as_dir=.
3504 for ac_exec_ext in '' $ac_executable_extensions; do
3505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3506 ac_cv_prog_ac_ct_STRIP="strip"
3507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3516 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3517 if test -n "$ac_ct_STRIP"; then
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3519 $as_echo "$ac_ct_STRIP" >&6; }
3521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3522 $as_echo "no" >&6; }
3525 if test "x$ac_ct_STRIP" = x; then
3528 case $cross_compiling:$ac_tool_warned in
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3531 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3532 ac_tool_warned=yes ;;
3537 STRIP="$ac_cv_prog_STRIP"
3541 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3544 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3545 if test -z "$MKDIR_P"; then
3546 if test "${ac_cv_path_mkdir+set}" = set; then :
3547 $as_echo_n "(cached) " >&6
3549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3550 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3553 test -z "$as_dir" && as_dir=.
3554 for ac_prog in mkdir gmkdir; do
3555 for ac_exec_ext in '' $ac_executable_extensions; do
3556 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3557 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3558 'mkdir (GNU coreutils) '* | \
3559 'mkdir (coreutils) '* | \
3560 'mkdir (fileutils) '4.1*)
3561 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3571 test -d ./--version && rmdir ./--version
3572 if test "${ac_cv_path_mkdir+set}" = set; then
3573 MKDIR_P="$ac_cv_path_mkdir -p"
3575 # As a last resort, use the slow shell script. Don't cache a
3576 # value for MKDIR_P within a source directory, because that will
3577 # break other packages using the cache if that directory is
3578 # removed, or if the value is a relative name.
3579 MKDIR_P="$ac_install_sh -d"
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3583 $as_echo "$MKDIR_P" >&6; }
3587 [\\/$]* | ?:[\\/]*) ;;
3588 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3591 for ac_prog in gawk mawk nawk awk
3593 # Extract the first word of "$ac_prog", so it can be a program name with args.
3594 set dummy $ac_prog; ac_word=$2
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3596 $as_echo_n "checking for $ac_word... " >&6; }
3597 if test "${ac_cv_prog_AWK+set}" = set; then :
3598 $as_echo_n "(cached) " >&6
3600 if test -n "$AWK"; then
3601 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3607 test -z "$as_dir" && as_dir=.
3608 for ac_exec_ext in '' $ac_executable_extensions; do
3609 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3610 ac_cv_prog_AWK="$ac_prog"
3611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3621 if test -n "$AWK"; then
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3623 $as_echo "$AWK" >&6; }
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3626 $as_echo "no" >&6; }
3630 test -n "$AWK" && break
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3634 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3636 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3637 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3638 $as_echo_n "(cached) " >&6
3640 cat >conftest.make <<\_ACEOF
3643 @echo '@@@%%%=$(MAKE)=@@@%%%'
3645 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3646 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3648 eval ac_cv_prog_make_${ac_make}_set=yes;;
3650 eval ac_cv_prog_make_${ac_make}_set=no;;
3654 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3656 $as_echo "yes" >&6; }
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3660 $as_echo "no" >&6; }
3661 SET_MAKE="MAKE=${MAKE-make}"
3664 rm -rf .tst 2>/dev/null
3665 mkdir .tst 2>/dev/null
3666 if test -d .tst; then
3671 rmdir .tst 2>/dev/null
3673 # Check whether --enable-silent-rules was given.
3674 if test "${enable_silent_rules+set}" = set; then :
3675 enableval=$enable_silent_rules;
3678 case $enable_silent_rules in
3679 yes) AM_DEFAULT_VERBOSITY=0;;
3680 no) AM_DEFAULT_VERBOSITY=1;;
3681 *) AM_DEFAULT_VERBOSITY=1;;
3685 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3686 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3687 # is not polluted with repeated "-I."
3688 am__isrc=' -I$(srcdir)'
3689 # test to see if srcdir already configured
3690 if test -f $srcdir/config.status; then
3691 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3695 # test whether we have cygpath
3696 if test -z "$CYGPATH_W"; then
3697 if (cygpath --version) >/dev/null 2>/dev/null; then
3698 CYGPATH_W='cygpath -w'
3705 # Define the identity of the package.
3706 PACKAGE='syncevolution'
3707 VERSION='1.2.99+20120606+SE+ff65aef+SYSYNC+2728cb4'
3710 cat >>confdefs.h <<_ACEOF
3711 #define PACKAGE "$PACKAGE"
3715 cat >>confdefs.h <<_ACEOF
3716 #define VERSION "$VERSION"
3719 # Some tools Automake needs.
3721 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3724 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3727 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3730 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3733 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3735 # We need awk for the "check" target. The system "awk" is bad on
3737 # Always define AMTAR for backward compatibility.
3739 AMTAR=${AMTAR-"${am_missing_run}tar"}
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
3743 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
3744 # Loop over all known methods to create a tar archive until one works.
3745 _am_tools='gnutar plaintar pax cpio none'
3746 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
3747 # Do not fold the above two line into one, because Tru64 sh and
3748 # Solaris sh will not grok spaces in the rhs of `-'.
3749 for _am_tool in $_am_tools
3753 for _am_tar in tar gnutar gtar;
3755 { echo "$as_me:$LINENO: $_am_tar --version" >&5
3756 ($_am_tar --version) >&5 2>&5
3758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3759 (exit $ac_status); } && break
3761 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
3762 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
3763 am__untar="$_am_tar -xf -"
3766 # Must skip GNU tar: if it does not support --format= it doesn't create
3767 # ustar tarball either.
3768 (tar --version) >/dev/null 2>&1 && continue
3769 am__tar='tar chf - "$$tardir"'
3770 am__tar_='tar chf - "$tardir"'
3771 am__untar='tar xf -'
3774 am__tar='pax -L -x ustar -w "$$tardir"'
3775 am__tar_='pax -L -x ustar -w "$tardir"'
3779 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
3780 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
3781 am__untar='cpio -i -H ustar -d'
3790 # If the value was cached, stop now. We just wanted to have am__tar
3791 # and am__untar set.
3792 test -n "${am_cv_prog_tar_ustar}" && break
3794 # tar/untar a dummy directory, and stop if the command works
3797 echo GrepMe > conftest.dir/file
3798 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3799 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3802 (exit $ac_status); }
3804 if test -s conftest.tar; then
3805 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3806 ($am__untar <conftest.tar) >&5 2>&5
3808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3809 (exit $ac_status); }
3810 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3815 if test "${am_cv_prog_tar_ustar+set}" = set; then :
3816 $as_echo_n "(cached) " >&6
3818 am_cv_prog_tar_ustar=$_am_tool
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3822 $as_echo "$am_cv_prog_tar_ustar" >&6; }
3829 DEPDIR="${am__leading_dot}deps"
3831 ac_config_commands="$ac_config_commands depfiles"
3834 am_make=${MAKE-make}
3835 cat > confinc << 'END'
3837 @echo this is the am__doit target
3840 # If we don't find an include directive, just comment out the code.
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3842 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3846 # First try GNU make style include.
3847 echo "include confinc" > confmf
3848 # Ignore all kinds of additional output from `make'.
3849 case `$am_make -s -f confmf 2> /dev/null` in #(
3850 *the\ am__doit\ target*)
3856 # Now try BSD make style include.
3857 if test "$am__include" = "#"; then
3858 echo '.include "confinc"' > confmf
3859 case `$am_make -s -f confmf 2> /dev/null` in #(
3860 *the\ am__doit\ target*)
3861 am__include=.include
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3870 $as_echo "$_am_result" >&6; }
3871 rm -f confinc confmf
3873 # Check whether --enable-dependency-tracking was given.
3874 if test "${enable_dependency_tracking+set}" = set; then :
3875 enableval=$enable_dependency_tracking;
3878 if test "x$enable_dependency_tracking" != xno; then
3879 am_depcomp="$ac_aux_dir/depcomp"
3882 if test "x$enable_dependency_tracking" != xno; then
3892 ac_cpp='$CPP $CPPFLAGS'
3893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3896 if test -n "$ac_tool_prefix"; then
3897 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3898 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3900 $as_echo_n "checking for $ac_word... " >&6; }
3901 if test "${ac_cv_prog_CC+set}" = set; then :
3902 $as_echo_n "(cached) " >&6
3904 if test -n "$CC"; then
3905 ac_cv_prog_CC="$CC" # Let the user override the test.
3907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3911 test -z "$as_dir" && as_dir=.
3912 for ac_exec_ext in '' $ac_executable_extensions; do
3913 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3914 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3925 if test -n "$CC"; then
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3927 $as_echo "$CC" >&6; }
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3930 $as_echo "no" >&6; }
3935 if test -z "$ac_cv_prog_CC"; then
3937 # Extract the first word of "gcc", so it can be a program name with args.
3938 set dummy gcc; ac_word=$2
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3940 $as_echo_n "checking for $ac_word... " >&6; }
3941 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3942 $as_echo_n "(cached) " >&6
3944 if test -n "$ac_ct_CC"; then
3945 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3951 test -z "$as_dir" && as_dir=.
3952 for ac_exec_ext in '' $ac_executable_extensions; do
3953 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3954 ac_cv_prog_ac_ct_CC="gcc"
3955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3964 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3965 if test -n "$ac_ct_CC"; then
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3967 $as_echo "$ac_ct_CC" >&6; }
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3970 $as_echo "no" >&6; }
3973 if test "x$ac_ct_CC" = x; then
3976 case $cross_compiling:$ac_tool_warned in
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3979 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3980 ac_tool_warned=yes ;;
3988 if test -z "$CC"; then
3989 if test -n "$ac_tool_prefix"; then
3990 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3991 set dummy ${ac_tool_prefix}cc; ac_word=$2
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3993 $as_echo_n "checking for $ac_word... " >&6; }
3994 if test "${ac_cv_prog_CC+set}" = set; then :
3995 $as_echo_n "(cached) " >&6
3997 if test -n "$CC"; then
3998 ac_cv_prog_CC="$CC" # Let the user override the test.
4000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4004 test -z "$as_dir" && as_dir=.
4005 for ac_exec_ext in '' $ac_executable_extensions; do
4006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4007 ac_cv_prog_CC="${ac_tool_prefix}cc"
4008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4018 if test -n "$CC"; then
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4020 $as_echo "$CC" >&6; }
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4023 $as_echo "no" >&6; }
4029 if test -z "$CC"; then
4030 # Extract the first word of "cc", so it can be a program name with args.
4031 set dummy cc; ac_word=$2
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4033 $as_echo_n "checking for $ac_word... " >&6; }
4034 if test "${ac_cv_prog_CC+set}" = set; then :
4035 $as_echo_n "(cached) " >&6
4037 if test -n "$CC"; then
4038 ac_cv_prog_CC="$CC" # Let the user override the test.
4041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4045 test -z "$as_dir" && as_dir=.
4046 for ac_exec_ext in '' $ac_executable_extensions; do
4047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4048 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4049 ac_prog_rejected=yes
4053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4060 if test $ac_prog_rejected = yes; then
4061 # We found a bogon in the path, so make sure we never use it.
4062 set dummy $ac_cv_prog_CC
4064 if test $# != 0; then
4065 # We chose a different compiler from the bogus one.
4066 # However, it has the same basename, so the bogon will be chosen
4067 # first if we set CC to just the basename; use the full file name.
4069 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4075 if test -n "$CC"; then
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4077 $as_echo "$CC" >&6; }
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4080 $as_echo "no" >&6; }
4085 if test -z "$CC"; then
4086 if test -n "$ac_tool_prefix"; then
4087 for ac_prog in cl.exe
4089 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4090 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4092 $as_echo_n "checking for $ac_word... " >&6; }
4093 if test "${ac_cv_prog_CC+set}" = set; then :
4094 $as_echo_n "(cached) " >&6
4096 if test -n "$CC"; then
4097 ac_cv_prog_CC="$CC" # Let the user override the test.
4099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4103 test -z "$as_dir" && as_dir=.
4104 for ac_exec_ext in '' $ac_executable_extensions; do
4105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4106 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4117 if test -n "$CC"; then
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4119 $as_echo "$CC" >&6; }
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4122 $as_echo "no" >&6; }
4126 test -n "$CC" && break
4129 if test -z "$CC"; then
4131 for ac_prog in cl.exe
4133 # Extract the first word of "$ac_prog", so it can be a program name with args.
4134 set dummy $ac_prog; ac_word=$2
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4136 $as_echo_n "checking for $ac_word... " >&6; }
4137 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4138 $as_echo_n "(cached) " >&6
4140 if test -n "$ac_ct_CC"; then
4141 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4147 test -z "$as_dir" && as_dir=.
4148 for ac_exec_ext in '' $ac_executable_extensions; do
4149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4150 ac_cv_prog_ac_ct_CC="$ac_prog"
4151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4160 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4161 if test -n "$ac_ct_CC"; then
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4163 $as_echo "$ac_ct_CC" >&6; }
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4166 $as_echo "no" >&6; }
4170 test -n "$ac_ct_CC" && break
4173 if test "x$ac_ct_CC" = x; then
4176 case $cross_compiling:$ac_tool_warned in
4178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4179 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4180 ac_tool_warned=yes ;;
4189 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4190 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4191 as_fn_error "no acceptable C compiler found in \$PATH
4192 See \`config.log' for more details." "$LINENO" 5; }
4194 # Provide some information about the compiler.
4195 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4198 for ac_option in --version -v -V -qversion; do
4199 { { ac_try="$ac_compiler $ac_option >&5"
4201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4202 *) ac_try_echo=$ac_try;;
4204 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4205 $as_echo "$ac_try_echo"; } >&5
4206 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4208 if test -s conftest.err; then
4210 ... rest of stderr output deleted ...
4211 10q' conftest.err >conftest.er1
4212 cat conftest.er1 >&5
4214 rm -f conftest.er1 conftest.err
4215 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4216 test $ac_status = 0; }
4219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4220 /* end confdefs.h. */
4230 ac_clean_files_save=$ac_clean_files
4231 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4232 # Try to create an executable without -o first, disregard a.out.
4233 # It will help us diagnose broken compilers, and finding out an intuition
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4236 $as_echo_n "checking whether the C compiler works... " >&6; }
4237 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4239 # The possible output files:
4240 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4243 for ac_file in $ac_files
4246 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4247 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4252 if { { ac_try="$ac_link_default"
4254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4255 *) ac_try_echo=$ac_try;;
4257 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4258 $as_echo "$ac_try_echo"; } >&5
4259 (eval "$ac_link_default") 2>&5
4261 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4262 test $ac_status = 0; }; then :
4263 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4264 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4265 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4266 # so that the user can short-circuit this test for compilers unknown to
4268 for ac_file in $ac_files ''
4270 test -f "$ac_file" || continue
4272 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4275 # We found the default executable, but exeext='' is most
4279 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4281 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4283 # We set ac_cv_exeext here because the later test for it is not
4284 # safe: cross compilers may not add the suffix if given an `-o'
4285 # argument, so we may need to know it at that point already.
4286 # Even if this section looks crufty: it has the advantage of
4293 test "$ac_cv_exeext" = no && ac_cv_exeext=
4298 if test -z "$ac_file"; then :
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4300 $as_echo "no" >&6; }
4301 $as_echo "$as_me: failed program was:" >&5
4302 sed 's/^/| /' conftest.$ac_ext >&5
4304 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4305 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4306 { as_fn_set_status 77
4307 as_fn_error "C compiler cannot create executables
4308 See \`config.log' for more details." "$LINENO" 5; }; }
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4311 $as_echo "yes" >&6; }
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4314 $as_echo_n "checking for C compiler default output file name... " >&6; }
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4316 $as_echo "$ac_file" >&6; }
4317 ac_exeext=$ac_cv_exeext
4319 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4320 ac_clean_files=$ac_clean_files_save
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4322 $as_echo_n "checking for suffix of executables... " >&6; }
4323 if { { ac_try="$ac_link"
4325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4326 *) ac_try_echo=$ac_try;;
4328 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4329 $as_echo "$ac_try_echo"; } >&5
4330 (eval "$ac_link") 2>&5
4332 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4333 test $ac_status = 0; }; then :
4334 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4335 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4336 # work properly (i.e., refer to `conftest.exe'), while it won't with
4338 for ac_file in conftest.exe conftest conftest.*; do
4339 test -f "$ac_file" || continue
4341 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4342 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4348 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4349 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4350 as_fn_error "cannot compute suffix of executables: cannot compile and link
4351 See \`config.log' for more details." "$LINENO" 5; }
4353 rm -f conftest conftest$ac_cv_exeext
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4355 $as_echo "$ac_cv_exeext" >&6; }
4357 rm -f conftest.$ac_ext
4358 EXEEXT=$ac_cv_exeext
4360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4361 /* end confdefs.h. */
4366 FILE *f = fopen ("conftest.out", "w");
4367 return ferror (f) || fclose (f) != 0;
4373 ac_clean_files="$ac_clean_files conftest.out"
4374 # Check that the compiler produces executables we can run. If not, either
4375 # the compiler is broken, or we cross compile.
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4377 $as_echo_n "checking whether we are cross compiling... " >&6; }
4378 if test "$cross_compiling" != yes; then
4379 { { ac_try="$ac_link"
4381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4382 *) ac_try_echo=$ac_try;;
4384 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4385 $as_echo "$ac_try_echo"; } >&5
4386 (eval "$ac_link") 2>&5
4388 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4389 test $ac_status = 0; }
4390 if { ac_try='./conftest$ac_cv_exeext'
4391 { { case "(($ac_try" in
4392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4393 *) ac_try_echo=$ac_try;;
4395 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4396 $as_echo "$ac_try_echo"; } >&5
4397 (eval "$ac_try") 2>&5
4399 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4400 test $ac_status = 0; }; }; then
4403 if test "$cross_compiling" = maybe; then
4406 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4407 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4408 as_fn_error "cannot run C compiled programs.
4409 If you meant to cross compile, use \`--host'.
4410 See \`config.log' for more details." "$LINENO" 5; }
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4415 $as_echo "$cross_compiling" >&6; }
4417 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4418 ac_clean_files=$ac_clean_files_save
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4420 $as_echo_n "checking for suffix of object files... " >&6; }
4421 if test "${ac_cv_objext+set}" = set; then :
4422 $as_echo_n "(cached) " >&6
4424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4425 /* end confdefs.h. */
4435 rm -f conftest.o conftest.obj
4436 if { { ac_try="$ac_compile"
4438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4439 *) ac_try_echo=$ac_try;;
4441 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4442 $as_echo "$ac_try_echo"; } >&5
4443 (eval "$ac_compile") 2>&5
4445 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4446 test $ac_status = 0; }; then :
4447 for ac_file in conftest.o conftest.obj conftest.*; do
4448 test -f "$ac_file" || continue;
4450 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4451 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4456 $as_echo "$as_me: failed program was:" >&5
4457 sed 's/^/| /' conftest.$ac_ext >&5
4459 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4460 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4461 as_fn_error "cannot compute suffix of object files: cannot compile
4462 See \`config.log' for more details." "$LINENO" 5; }
4464 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4467 $as_echo "$ac_cv_objext" >&6; }
4468 OBJEXT=$ac_cv_objext
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4471 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4472 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4473 $as_echo_n "(cached) " >&6
4475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4476 /* end confdefs.h. */
4489 if ac_fn_c_try_compile "$LINENO"; then :
4494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4495 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4499 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4500 if test $ac_compiler_gnu = yes; then
4505 ac_test_CFLAGS=${CFLAGS+set}
4506 ac_save_CFLAGS=$CFLAGS
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4508 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4509 if test "${ac_cv_prog_cc_g+set}" = set; then :
4510 $as_echo_n "(cached) " >&6
4512 ac_save_c_werror_flag=$ac_c_werror_flag
4513 ac_c_werror_flag=yes
4516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4517 /* end confdefs.h. */
4527 if ac_fn_c_try_compile "$LINENO"; then :
4531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4532 /* end confdefs.h. */
4542 if ac_fn_c_try_compile "$LINENO"; then :
4545 ac_c_werror_flag=$ac_save_c_werror_flag
4547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4548 /* end confdefs.h. */
4558 if ac_fn_c_try_compile "$LINENO"; then :
4561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4566 ac_c_werror_flag=$ac_save_c_werror_flag
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4569 $as_echo "$ac_cv_prog_cc_g" >&6; }
4570 if test "$ac_test_CFLAGS" = set; then
4571 CFLAGS=$ac_save_CFLAGS
4572 elif test $ac_cv_prog_cc_g = yes; then
4573 if test "$GCC" = yes; then
4579 if test "$GCC" = yes; then
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4586 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4587 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4588 $as_echo_n "(cached) " >&6
4590 ac_cv_prog_cc_c89=no
4592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4593 /* end confdefs.h. */
4596 #include <sys/types.h>
4597 #include <sys/stat.h>
4598 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4599 struct buf { int x; };
4600 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4601 static char *e (p, i)
4607 static char *f (char * (*g) (char **, int), char **p, ...)
4612 s = g (p, va_arg (v,int));
4617 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4618 function prototypes and stuff, but not '\xHH' hex character constants.
4619 These don't provoke an error unfortunately, instead are silently treated
4620 as 'x'. The following induces an error, until -std is added to get
4621 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4622 array size at least. It's necessary to write '\x00'==0 to get something
4623 that's true only with -std. */
4624 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4626 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4627 inside strings and character constants. */
4629 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4631 int test (int i, double x);
4632 struct s1 {int (*f) (int a);};
4633 struct s2 {int (*f) (double a);};
4634 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4640 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4645 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4646 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4648 CC="$ac_save_CC $ac_arg"
4649 if ac_fn_c_try_compile "$LINENO"; then :
4650 ac_cv_prog_cc_c89=$ac_arg
4652 rm -f core conftest.err conftest.$ac_objext
4653 test "x$ac_cv_prog_cc_c89" != "xno" && break
4655 rm -f conftest.$ac_ext
4660 case "x$ac_cv_prog_cc_c89" in
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4663 $as_echo "none needed" >&6; } ;;
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4666 $as_echo "unsupported" >&6; } ;;
4668 CC="$CC $ac_cv_prog_cc_c89"
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4670 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4672 if test "x$ac_cv_prog_cc_c89" != xno; then :
4677 ac_cpp='$CPP $CPPFLAGS'
4678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4682 depcc="$CC" am_compiler_list=
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4685 $as_echo_n "checking dependency style of $depcc... " >&6; }
4686 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4687 $as_echo_n "(cached) " >&6
4689 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4690 # We make a subdir and do the tests there. Otherwise we can end up
4691 # making bogus files that we don't know about and never remove. For
4692 # instance it was reported that on HP-UX the gcc test will end up
4693 # making a dummy file named `D' -- because `-MD' means `put the output
4696 # Copy depcomp to subdir because otherwise we won't find it if we're
4697 # using a relative directory.
4698 cp "$am_depcomp" conftest.dir
4700 # We will build objects and dependencies in a subdirectory because
4701 # it helps to detect inapplicable dependency modes. For instance
4702 # both Tru64's cc and ICC support -MD to output dependencies as a
4703 # side effect of compilation, but ICC will put the dependencies in
4704 # the current directory while Tru64 will put them in the object
4708 am_cv_CC_dependencies_compiler_type=none
4709 if test "$am_compiler_list" = ""; then
4710 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4713 case " $depcc " in #(
4714 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4717 for depmode in $am_compiler_list; do
4718 # Setup a source with many dependencies, because some compilers
4719 # like to wrap large dependency lists on column 80 (with \), and
4720 # we should not choose a depcomp mode which is confused by this.
4722 # We need to recreate these files for each test, as the compiler may
4723 # overwrite some of them when testing with obscure command lines.
4724 # This happens at least with the AIX C compiler.
4726 for i in 1 2 3 4 5 6; do
4727 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4728 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4729 # Solaris 8's {/usr,}/bin/sh.
4730 touch sub/conftst$i.h
4732 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4734 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4735 # mode. It turns out that the SunPro C++ compiler does not properly
4736 # handle `-M -o', and we need to detect this. Also, some Intel
4737 # versions had trouble with output in subdirs
4738 am__obj=sub/conftest.${OBJEXT-o}
4739 am__minus_obj="-o $am__obj"
4742 # This depmode causes a compiler race in universal mode.
4743 test "$am__universal" = false || continue
4746 # after this tag, mechanisms are not by side-effect, so they'll
4747 # only be used when explicitly requested
4748 if test "x$enable_dependency_tracking" = xyes; then
4754 msvisualcpp | msvcmsys)
4755 # This compiler won't grok `-c -o', but also, the minuso test has
4756 # not run yet. These depmodes are late enough in the game, and
4757 # so weak that their functioning should not be impacted.
4758 am__obj=conftest.${OBJEXT-o}
4763 if depmode=$depmode \
4764 source=sub/conftest.c object=$am__obj \
4765 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4766 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4767 >/dev/null 2>conftest.err &&
4768 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4769 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4770 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4771 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4772 # icc doesn't choke on unknown options, it will just issue warnings
4773 # or remarks (even with -Werror). So we grep stderr for any message
4774 # that says an option was ignored or not supported.
4775 # When given -MP, icc 7.0 and 7.1 complain thusly:
4776 # icc: Command line warning: ignoring option '-M'; no argument required
4777 # The diagnosis changed in icc 8.0:
4778 # icc: Command line remark: option '-MP' not supported
4779 if (grep 'ignoring option' conftest.err ||
4780 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4781 am_cv_CC_dependencies_compiler_type=$depmode
4790 am_cv_CC_dependencies_compiler_type=none
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4795 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4796 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4799 test "x$enable_dependency_tracking" != xno \
4800 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4802 am__fastdepCC_FALSE='#'
4804 am__fastdepCC_TRUE='#'
4805 am__fastdepCC_FALSE=
4809 if test "x$CC" != xcc; then
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4811 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4814 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4816 set dummy $CC; ac_cc=`$as_echo "$2" |
4817 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4818 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
4819 $as_echo_n "(cached) " >&6
4821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4822 /* end confdefs.h. */
4832 # Make sure it works both with $CC and with simple cc.
4833 # We do the test twice because some compilers refuse to overwrite an
4834 # existing .o file with -o, though they will create one.
4835 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4837 if { { case "(($ac_try" in
4838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4839 *) ac_try_echo=$ac_try;;
4841 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4842 $as_echo "$ac_try_echo"; } >&5
4843 (eval "$ac_try") 2>&5
4845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4846 test $ac_status = 0; } &&
4847 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4849 *) ac_try_echo=$ac_try;;
4851 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4852 $as_echo "$ac_try_echo"; } >&5
4853 (eval "$ac_try") 2>&5
4855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4856 test $ac_status = 0; };
4858 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4859 if test "x$CC" != xcc; then
4860 # Test first that cc exists at all.
4861 if { ac_try='cc -c conftest.$ac_ext >&5'
4862 { { case "(($ac_try" in
4863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4864 *) ac_try_echo=$ac_try;;
4866 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4867 $as_echo "$ac_try_echo"; } >&5
4868 (eval "$ac_try") 2>&5
4870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4871 test $ac_status = 0; }; }; then
4872 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4874 if { { case "(($ac_try" in
4875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4876 *) ac_try_echo=$ac_try;;
4878 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4879 $as_echo "$ac_try_echo"; } >&5
4880 (eval "$ac_try") 2>&5
4882 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4883 test $ac_status = 0; } &&
4884 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4886 *) ac_try_echo=$ac_try;;
4888 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4889 $as_echo "$ac_try_echo"; } >&5
4890 (eval "$ac_try") 2>&5
4892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4893 test $ac_status = 0; };
4898 # cc exists but doesn't like -o.
4899 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4904 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4906 rm -f core conftest*
4909 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4911 $as_echo "yes" >&6; }
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4914 $as_echo "no" >&6; }
4916 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4920 # FIXME: we rely on the cache variable name because
4921 # there is no other way.
4923 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4924 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4925 if test "$am_t" != yes; then
4926 # Losing compiler, so override with the script.
4927 # FIXME: It is wrong to rewrite CC.
4928 # But if we don't then we get into trouble of one sort or another.
4929 # A longer-term fix would be to have automake use am__CC in this case,
4930 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4931 CC="$am_aux_dir/compile $CC"
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable maintainer-specific portions of Makefiles" >&5
4938 $as_echo_n "checking whether to disable maintainer-specific portions of Makefiles... " >&6; }
4939 # Check whether --enable-maintainer-mode was given.
4940 if test "${enable_maintainer_mode+set}" = set; then :
4941 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4943 USE_MAINTAINER_MODE=yes
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4947 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4948 if test $USE_MAINTAINER_MODE = yes; then
4949 MAINTAINER_MODE_TRUE=
4950 MAINTAINER_MODE_FALSE='#'
4952 MAINTAINER_MODE_TRUE='#'
4953 MAINTAINER_MODE_FALSE=
4956 MAINT=$MAINTAINER_MODE_TRUE
4958 # needed for nightly builds where reconfiguration fails under certain chroots
4962 ac_config_headers="$ac_config_headers config.h"
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4967 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4972 macro_version='2.2.6b'
4973 macro_revision='1.3017'
4987 ltmain="$ac_aux_dir/ltmain.sh"
4989 # Make sure we can run config.sub.
4990 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4991 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4994 $as_echo_n "checking build system type... " >&6; }
4995 if test "${ac_cv_build+set}" = set; then :
4996 $as_echo_n "(cached) " >&6
4998 ac_build_alias=$build_alias
4999 test "x$ac_build_alias" = x &&
5000 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5001 test "x$ac_build_alias" = x &&
5002 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
5003 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5004 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5008 $as_echo "$ac_cv_build" >&6; }
5009 case $ac_cv_build in
5011 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
5014 ac_save_IFS=$IFS; IFS='-'
5020 # Remember, the first character of IFS is used to create $*,
5021 # except with old shells:
5024 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5028 $as_echo_n "checking host system type... " >&6; }
5029 if test "${ac_cv_host+set}" = set; then :
5030 $as_echo_n "(cached) " >&6
5032 if test "x$host_alias" = x; then
5033 ac_cv_host=$ac_cv_build
5035 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5036 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5041 $as_echo "$ac_cv_host" >&6; }
5044 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
5047 ac_save_IFS=$IFS; IFS='-'
5053 # Remember, the first character of IFS is used to create $*,
5054 # except with old shells:
5057 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5061 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5062 if test "${ac_cv_path_SED+set}" = set; then :
5063 $as_echo_n "(cached) " >&6
5065 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5066 for ac_i in 1 2 3 4 5 6 7; do
5067 ac_script="$ac_script$as_nl$ac_script"
5069 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5070 { ac_script=; unset ac_script;}
5071 if test -z "$SED"; then
5072 ac_path_SED_found=false
5073 # Loop through the user's path and test for each of PROGNAME-LIST
5074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5078 test -z "$as_dir" && as_dir=.
5079 for ac_prog in sed gsed; do
5080 for ac_exec_ext in '' $ac_executable_extensions; do
5081 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5082 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5083 # Check for GNU ac_path_SED and select it if it is found.
5084 # Check for GNU $ac_path_SED
5085 case `"$ac_path_SED" --version 2>&1` in
5087 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5090 $as_echo_n 0123456789 >"conftest.in"
5093 cat "conftest.in" "conftest.in" >"conftest.tmp"
5094 mv "conftest.tmp" "conftest.in"
5095 cp "conftest.in" "conftest.nl"
5096 $as_echo '' >> "conftest.nl"
5097 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5098 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5099 as_fn_arith $ac_count + 1 && ac_count=$as_val
5100 if test $ac_count -gt ${ac_path_SED_max-0}; then
5101 # Best one so far, save it but keep looking for a better one
5102 ac_cv_path_SED="$ac_path_SED"
5103 ac_path_SED_max=$ac_count
5105 # 10*(2^10) chars as input seems more than enough
5106 test $ac_count -gt 10 && break
5108 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5111 $ac_path_SED_found && break 3
5116 if test -z "$ac_cv_path_SED"; then
5117 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5125 $as_echo "$ac_cv_path_SED" >&6; }
5126 SED="$ac_cv_path_SED"
5129 test -z "$SED" && SED=sed
5130 Xsed="$SED -e 1s/^X//"
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5143 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5144 if test "${ac_cv_path_GREP+set}" = set; then :
5145 $as_echo_n "(cached) " >&6
5147 if test -z "$GREP"; then
5148 ac_path_GREP_found=false
5149 # Loop through the user's path and test for each of PROGNAME-LIST
5150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5151 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5154 test -z "$as_dir" && as_dir=.
5155 for ac_prog in grep ggrep; do
5156 for ac_exec_ext in '' $ac_executable_extensions; do
5157 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5158 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5159 # Check for GNU ac_path_GREP and select it if it is found.
5160 # Check for GNU $ac_path_GREP
5161 case `"$ac_path_GREP" --version 2>&1` in
5163 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5166 $as_echo_n 0123456789 >"conftest.in"
5169 cat "conftest.in" "conftest.in" >"conftest.tmp"
5170 mv "conftest.tmp" "conftest.in"
5171 cp "conftest.in" "conftest.nl"
5172 $as_echo 'GREP' >> "conftest.nl"
5173 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5174 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5175 as_fn_arith $ac_count + 1 && ac_count=$as_val
5176 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5177 # Best one so far, save it but keep looking for a better one
5178 ac_cv_path_GREP="$ac_path_GREP"
5179 ac_path_GREP_max=$ac_count
5181 # 10*(2^10) chars as input seems more than enough
5182 test $ac_count -gt 10 && break
5184 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5187 $ac_path_GREP_found && break 3
5192 if test -z "$ac_cv_path_GREP"; then
5193 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5196 ac_cv_path_GREP=$GREP
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5201 $as_echo "$ac_cv_path_GREP" >&6; }
5202 GREP="$ac_cv_path_GREP"
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5206 $as_echo_n "checking for egrep... " >&6; }
5207 if test "${ac_cv_path_EGREP+set}" = set; then :
5208 $as_echo_n "(cached) " >&6
5210 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5211 then ac_cv_path_EGREP="$GREP -E"
5213 if test -z "$EGREP"; then
5214 ac_path_EGREP_found=false
5215 # Loop through the user's path and test for each of PROGNAME-LIST
5216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5217 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5220 test -z "$as_dir" && as_dir=.
5221 for ac_prog in egrep; do
5222 for ac_exec_ext in '' $ac_executable_extensions; do
5223 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5224 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5225 # Check for GNU ac_path_EGREP and select it if it is found.
5226 # Check for GNU $ac_path_EGREP
5227 case `"$ac_path_EGREP" --version 2>&1` in
5229 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5232 $as_echo_n 0123456789 >"conftest.in"
5235 cat "conftest.in" "conftest.in" >"conftest.tmp"
5236 mv "conftest.tmp" "conftest.in"
5237 cp "conftest.in" "conftest.nl"
5238 $as_echo 'EGREP' >> "conftest.nl"
5239 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5240 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5241 as_fn_arith $ac_count + 1 && ac_count=$as_val
5242 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5243 # Best one so far, save it but keep looking for a better one
5244 ac_cv_path_EGREP="$ac_path_EGREP"
5245 ac_path_EGREP_max=$ac_count
5247 # 10*(2^10) chars as input seems more than enough
5248 test $ac_count -gt 10 && break
5250 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5253 $ac_path_EGREP_found && break 3
5258 if test -z "$ac_cv_path_EGREP"; then
5259 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5262 ac_cv_path_EGREP=$EGREP
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5268 $as_echo "$ac_cv_path_EGREP" >&6; }
5269 EGREP="$ac_cv_path_EGREP"
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5273 $as_echo_n "checking for fgrep... " >&6; }
5274 if test "${ac_cv_path_FGREP+set}" = set; then :
5275 $as_echo_n "(cached) " >&6
5277 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5278 then ac_cv_path_FGREP="$GREP -F"
5280 if test -z "$FGREP"; then
5281 ac_path_FGREP_found=false
5282 # Loop through the user's path and test for each of PROGNAME-LIST
5283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5284 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5287 test -z "$as_dir" && as_dir=.
5288 for ac_prog in fgrep; do
5289 for ac_exec_ext in '' $ac_executable_extensions; do
5290 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5291 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5292 # Check for GNU ac_path_FGREP and select it if it is found.
5293 # Check for GNU $ac_path_FGREP
5294 case `"$ac_path_FGREP" --version 2>&1` in
5296 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5299 $as_echo_n 0123456789 >"conftest.in"
5302 cat "conftest.in" "conftest.in" >"conftest.tmp"
5303 mv "conftest.tmp" "conftest.in"
5304 cp "conftest.in" "conftest.nl"
5305 $as_echo 'FGREP' >> "conftest.nl"
5306 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5307 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5308 as_fn_arith $ac_count + 1 && ac_count=$as_val
5309 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5310 # Best one so far, save it but keep looking for a better one
5311 ac_cv_path_FGREP="$ac_path_FGREP"
5312 ac_path_FGREP_max=$ac_count
5314 # 10*(2^10) chars as input seems more than enough
5315 test $ac_count -gt 10 && break
5317 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5320 $ac_path_FGREP_found && break 3
5325 if test -z "$ac_cv_path_FGREP"; then
5326 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5329 ac_cv_path_FGREP=$FGREP
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5335 $as_echo "$ac_cv_path_FGREP" >&6; }
5336 FGREP="$ac_cv_path_FGREP"
5339 test -z "$GREP" && GREP=grep
5359 # Check whether --with-gnu-ld was given.
5360 if test "${with_gnu_ld+set}" = set; then :
5361 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5367 if test "$GCC" = yes; then
5368 # Check if gcc -print-prog-name=ld gives a path.
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5370 $as_echo_n "checking for ld used by $CC... " >&6; }
5373 # gcc leaves a trailing carriage return which upsets mingw
5374 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5376 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5379 # Accept absolute paths.
5381 re_direlt='/[^/][^/]*/\.\./'
5382 # Canonicalize the pathname of ld
5383 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5384 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5385 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5387 test -z "$LD" && LD="$ac_prog"
5390 # If it fails, then pretend we aren't using GCC.
5394 # If it is relative, then search for the first ld in PATH.
5398 elif test "$with_gnu_ld" = yes; then
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5400 $as_echo_n "checking for GNU ld... " >&6; }
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5403 $as_echo_n "checking for non-GNU ld... " >&6; }
5405 if test "${lt_cv_path_LD+set}" = set; then :
5406 $as_echo_n "(cached) " >&6
5408 if test -z "$LD"; then
5409 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5410 for ac_dir in $PATH; do
5412 test -z "$ac_dir" && ac_dir=.
5413 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5414 lt_cv_path_LD="$ac_dir/$ac_prog"
5415 # Check to see if the program is GNU ld. I'd rather use --version,
5416 # but apparently some variants of GNU ld only accept -v.
5417 # Break only if it was the GNU/non-GNU ld that we prefer.
5418 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5419 *GNU* | *'with BFD'*)
5420 test "$with_gnu_ld" != no && break
5423 test "$with_gnu_ld" != yes && break
5430 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5435 if test -n "$LD"; then
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5437 $as_echo "$LD" >&6; }
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5440 $as_echo "no" >&6; }
5442 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5444 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5445 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5446 $as_echo_n "(cached) " >&6
5448 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5449 case `$LD -v 2>&1 </dev/null` in
5450 *GNU* | *'with BFD'*)
5451 lt_cv_prog_gnu_ld=yes
5454 lt_cv_prog_gnu_ld=no
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5459 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5460 with_gnu_ld=$lt_cv_prog_gnu_ld
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5471 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5472 if test "${lt_cv_path_NM+set}" = set; then :
5473 $as_echo_n "(cached) " >&6
5475 if test -n "$NM"; then
5476 # Let the user override the test.
5479 lt_nm_to_check="${ac_tool_prefix}nm"
5480 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5481 lt_nm_to_check="$lt_nm_to_check nm"
5483 for lt_tmp_nm in $lt_nm_to_check; do
5484 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5485 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5487 test -z "$ac_dir" && ac_dir=.
5488 tmp_nm="$ac_dir/$lt_tmp_nm"
5489 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5490 # Check to see if the nm accepts a BSD-compat flag.
5491 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5492 # nm: unknown option "B" ignored
5493 # Tru64's nm complains that /dev/null is an invalid object file
5494 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5495 */dev/null* | *'Invalid file or object type'*)
5496 lt_cv_path_NM="$tmp_nm -B"
5500 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5502 lt_cv_path_NM="$tmp_nm -p"
5506 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5507 continue # so that we can try to find one that supports BSD flags
5516 : ${lt_cv_path_NM=no}
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5520 $as_echo "$lt_cv_path_NM" >&6; }
5521 if test "$lt_cv_path_NM" != "no"; then
5524 # Didn't find any BSD compatible name lister, look for dumpbin.
5525 if test -n "$ac_tool_prefix"; then
5526 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5528 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5529 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5531 $as_echo_n "checking for $ac_word... " >&6; }
5532 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5533 $as_echo_n "(cached) " >&6
5535 if test -n "$DUMPBIN"; then
5536 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5542 test -z "$as_dir" && as_dir=.
5543 for ac_exec_ext in '' $ac_executable_extensions; do
5544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5545 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5555 DUMPBIN=$ac_cv_prog_DUMPBIN
5556 if test -n "$DUMPBIN"; then
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5558 $as_echo "$DUMPBIN" >&6; }
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5561 $as_echo "no" >&6; }
5565 test -n "$DUMPBIN" && break
5568 if test -z "$DUMPBIN"; then
5569 ac_ct_DUMPBIN=$DUMPBIN
5570 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5572 # Extract the first word of "$ac_prog", so it can be a program name with args.
5573 set dummy $ac_prog; ac_word=$2
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5575 $as_echo_n "checking for $ac_word... " >&6; }
5576 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5577 $as_echo_n "(cached) " >&6
5579 if test -n "$ac_ct_DUMPBIN"; then
5580 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5586 test -z "$as_dir" && as_dir=.
5587 for ac_exec_ext in '' $ac_executable_extensions; do
5588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5589 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5599 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5600 if test -n "$ac_ct_DUMPBIN"; then
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5602 $as_echo "$ac_ct_DUMPBIN" >&6; }
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5605 $as_echo "no" >&6; }
5609 test -n "$ac_ct_DUMPBIN" && break
5612 if test "x$ac_ct_DUMPBIN" = x; then
5615 case $cross_compiling:$ac_tool_warned in
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5618 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5619 ac_tool_warned=yes ;;
5621 DUMPBIN=$ac_ct_DUMPBIN
5626 if test "$DUMPBIN" != ":"; then
5630 test -z "$NM" && NM=nm
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5638 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5639 if test "${lt_cv_nm_interface+set}" = set; then :
5640 $as_echo_n "(cached) " >&6
5642 lt_cv_nm_interface="BSD nm"
5643 echo "int some_variable = 0;" > conftest.$ac_ext
5644 (eval echo "\"\$as_me:5644: $ac_compile\"" >&5)
5645 (eval "$ac_compile" 2>conftest.err)
5646 cat conftest.err >&5
5647 (eval echo "\"\$as_me:5647: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5648 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5649 cat conftest.err >&5
5650 (eval echo "\"\$as_me:5650: output\"" >&5)
5651 cat conftest.out >&5
5652 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5653 lt_cv_nm_interface="MS dumpbin"
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5658 $as_echo "$lt_cv_nm_interface" >&6; }
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5661 $as_echo_n "checking whether ln -s works... " >&6; }
5663 if test "$LN_S" = "ln -s"; then
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5665 $as_echo "yes" >&6; }
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5668 $as_echo "no, using $LN_S" >&6; }
5671 # find the maximum length of command line arguments
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5673 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5674 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5675 $as_echo_n "(cached) " >&6
5682 # On DJGPP, this test can blow up pretty badly due to problems in libc
5683 # (any single argument exceeding 2000 bytes causes a buffer overrun
5684 # during glob expansion). Even if it were fixed, the result of this
5685 # check would be larger than it should be.
5686 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5690 # Under GNU Hurd, this test is not required because there is
5691 # no limit to the length of command line arguments.
5692 # Libtool will interpret -1 as no limit whatsoever
5693 lt_cv_sys_max_cmd_len=-1;
5696 cygwin* | mingw* | cegcc*)
5697 # On Win9x/ME, this test blows up -- it succeeds, but takes
5698 # about 5 minutes as the teststring grows exponentially.
5699 # Worse, since 9x/ME are not pre-emptively multitasking,
5700 # you end up with a "frozen" computer, even though with patience
5701 # the test eventually succeeds (with a max line length of 256k).
5702 # Instead, let's just punt: use the minimum linelength reported by
5703 # all of the supported platforms: 8192 (on NT/2K/XP).
5704 lt_cv_sys_max_cmd_len=8192;
5708 # On AmigaOS with pdksh, this test takes hours, literally.
5709 # So we just punt and use a minimum line length of 8192.
5710 lt_cv_sys_max_cmd_len=8192;
5713 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5714 # This has been around since 386BSD, at least. Likely further.
5715 if test -x /sbin/sysctl; then
5716 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5717 elif test -x /usr/sbin/sysctl; then
5718 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5720 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5722 # And add a safety zone
5723 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5724 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5728 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5729 lt_cv_sys_max_cmd_len=196608
5733 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5734 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5735 # nice to cause kernel panics so lets avoid the loop below.
5736 # First set a reasonable default.
5737 lt_cv_sys_max_cmd_len=16384
5739 if test -x /sbin/sysconfig; then
5740 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5741 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5746 lt_cv_sys_max_cmd_len=102400
5748 sysv5* | sco5v6* | sysv4.2uw2*)
5749 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5750 if test -n "$kargmax"; then
5751 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5753 lt_cv_sys_max_cmd_len=32768
5757 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5758 if test -n "$lt_cv_sys_max_cmd_len"; then
5759 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5760 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5762 # Make teststring a little bigger before we do anything with it.
5763 # a 1K string should be a reasonable start.
5764 for i in 1 2 3 4 5 6 7 8 ; do
5765 teststring=$teststring$teststring
5767 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5768 # If test is not a shell built-in, we'll probably end up computing a
5769 # maximum length that is only half of the actual maximum length, but
5771 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5772 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5773 test $i != 17 # 1/2 MB should be enough
5776 teststring=$teststring$teststring
5778 # Only check the string length outside the loop.
5779 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5781 # Add a significant safety factor because C++ compilers can tack on
5782 # massive amounts of additional arguments before passing them to the
5783 # linker. It appears as though 1/2 is a usable value.
5784 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5791 if test -n $lt_cv_sys_max_cmd_len ; then
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5793 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5796 $as_echo "none" >&6; }
5798 max_cmd_len=$lt_cv_sys_max_cmd_len
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5810 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5811 # Try some XSI features
5814 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5816 && eval 'test $(( 1 + 1 )) -eq 2 \
5817 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5820 $as_echo "$xsi_shell" >&6; }
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5824 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5826 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5828 && lt_shell_append=yes
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5830 $as_echo "$lt_shell_append" >&6; }
5833 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5843 # test EBCDIC or ASCII
5844 case `echo X|tr X '\101'` in
5845 A) # ASCII based system
5846 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5847 lt_SP2NL='tr \040 \012'
5848 lt_NL2SP='tr \015\012 \040\040'
5850 *) # EBCDIC based system
5851 lt_SP2NL='tr \100 \n'
5852 lt_NL2SP='tr \r\n \100\100'
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5865 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5866 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5867 $as_echo_n "(cached) " >&6
5869 lt_cv_ld_reload_flag='-r'
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5872 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5873 reload_flag=$lt_cv_ld_reload_flag
5874 case $reload_flag in
5876 *) reload_flag=" $reload_flag" ;;
5878 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5881 if test "$GCC" = yes; then
5882 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5884 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5897 if test -n "$ac_tool_prefix"; then
5898 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5899 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5901 $as_echo_n "checking for $ac_word... " >&6; }
5902 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5903 $as_echo_n "(cached) " >&6
5905 if test -n "$OBJDUMP"; then
5906 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5912 test -z "$as_dir" && as_dir=.
5913 for ac_exec_ext in '' $ac_executable_extensions; do
5914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5915 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5925 OBJDUMP=$ac_cv_prog_OBJDUMP
5926 if test -n "$OBJDUMP"; then
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5928 $as_echo "$OBJDUMP" >&6; }
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5931 $as_echo "no" >&6; }
5936 if test -z "$ac_cv_prog_OBJDUMP"; then
5937 ac_ct_OBJDUMP=$OBJDUMP
5938 # Extract the first word of "objdump", so it can be a program name with args.
5939 set dummy objdump; ac_word=$2
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5941 $as_echo_n "checking for $ac_word... " >&6; }
5942 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5943 $as_echo_n "(cached) " >&6
5945 if test -n "$ac_ct_OBJDUMP"; then
5946 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5952 test -z "$as_dir" && as_dir=.
5953 for ac_exec_ext in '' $ac_executable_extensions; do
5954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5955 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5965 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5966 if test -n "$ac_ct_OBJDUMP"; then
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5968 $as_echo "$ac_ct_OBJDUMP" >&6; }
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5971 $as_echo "no" >&6; }
5974 if test "x$ac_ct_OBJDUMP" = x; then
5977 case $cross_compiling:$ac_tool_warned in
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5980 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5981 ac_tool_warned=yes ;;
5983 OBJDUMP=$ac_ct_OBJDUMP
5986 OBJDUMP="$ac_cv_prog_OBJDUMP"
5989 test -z "$OBJDUMP" && OBJDUMP=objdump
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6000 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6001 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6002 $as_echo_n "(cached) " >&6
6004 lt_cv_file_magic_cmd='$MAGIC_CMD'
6005 lt_cv_file_magic_test_file=
6006 lt_cv_deplibs_check_method='unknown'
6007 # Need to set the preceding variable on all platforms that support
6008 # interlibrary dependencies.
6009 # 'none' -- dependencies not supported.
6010 # `unknown' -- same as none, but documents that we really don't know.
6011 # 'pass_all' -- all dependencies passed with no checks.
6012 # 'test_compile' -- check by making test program.
6013 # 'file_magic [[regex]]' -- check by looking for files in library path
6014 # which responds to the $file_magic_cmd with a given extended regex.
6015 # If you have `file' or equivalent on your system and you're not sure
6016 # whether `pass_all' will *always* work, you probably want this one.
6020 lt_cv_deplibs_check_method=pass_all
6024 lt_cv_deplibs_check_method=pass_all
6028 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6029 lt_cv_file_magic_cmd='/usr/bin/file -L'
6030 lt_cv_file_magic_test_file=/shlib/libc.so
6034 # func_win32_libid is a shell function defined in ltmain.sh
6035 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6036 lt_cv_file_magic_cmd='func_win32_libid'
6040 # Base MSYS/MinGW do not provide the 'file' command needed by
6041 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6042 # unless we find 'file', for example because we are cross-compiling.
6043 if ( file / ) >/dev/null 2>&1; then
6044 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6045 lt_cv_file_magic_cmd='func_win32_libid'
6047 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6048 lt_cv_file_magic_cmd='$OBJDUMP -f'
6053 # use the weaker test based on 'objdump'. See mingw*.
6054 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6055 lt_cv_file_magic_cmd='$OBJDUMP -f'
6058 darwin* | rhapsody*)
6059 lt_cv_deplibs_check_method=pass_all
6062 freebsd* | dragonfly*)
6063 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6066 # Not sure whether the presence of OpenBSD here was a mistake.
6067 # Let's accept both of them until this is cleared up.
6068 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6069 lt_cv_file_magic_cmd=/usr/bin/file
6070 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6074 lt_cv_deplibs_check_method=pass_all
6079 lt_cv_deplibs_check_method=pass_all
6082 hpux10.20* | hpux11*)
6083 lt_cv_file_magic_cmd=/usr/bin/file
6086 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6087 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6090 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]'
6091 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6094 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6095 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6101 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6102 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6105 irix5* | irix6* | nonstopux*)
6107 *-32|*"-32 ") libmagic=32-bit;;
6108 *-n32|*"-n32 ") libmagic=N32;;
6109 *-64|*"-64 ") libmagic=64-bit;;
6110 *) libmagic=never-match;;
6112 lt_cv_deplibs_check_method=pass_all
6115 # This must be Linux ELF.
6116 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6117 lt_cv_deplibs_check_method=pass_all
6120 netbsd* | netbsdelf*-gnu)
6121 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6122 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6124 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6129 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6130 lt_cv_file_magic_cmd=/usr/bin/file
6131 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6135 lt_cv_deplibs_check_method=pass_all
6139 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6140 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6142 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6146 osf3* | osf4* | osf5*)
6147 lt_cv_deplibs_check_method=pass_all
6151 lt_cv_deplibs_check_method=pass_all
6155 lt_cv_deplibs_check_method=pass_all
6158 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6159 lt_cv_deplibs_check_method=pass_all
6163 case $host_vendor in
6165 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]'
6166 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6169 lt_cv_deplibs_check_method=pass_all
6172 lt_cv_file_magic_cmd='/bin/file'
6173 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6176 lt_cv_file_magic_cmd='/bin/file'
6177 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6178 lt_cv_file_magic_test_file=/lib/libc.so
6181 lt_cv_deplibs_check_method=pass_all
6184 lt_cv_deplibs_check_method=pass_all
6190 lt_cv_deplibs_check_method=pass_all
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6196 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6197 file_magic_cmd=$lt_cv_file_magic_cmd
6198 deplibs_check_method=$lt_cv_deplibs_check_method
6199 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6212 if test -n "$ac_tool_prefix"; then
6213 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6214 set dummy ${ac_tool_prefix}ar; ac_word=$2
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6216 $as_echo_n "checking for $ac_word... " >&6; }
6217 if test "${ac_cv_prog_AR+set}" = set; then :
6218 $as_echo_n "(cached) " >&6
6220 if test -n "$AR"; then
6221 ac_cv_prog_AR="$AR" # Let the user override the test.
6223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6227 test -z "$as_dir" && as_dir=.
6228 for ac_exec_ext in '' $ac_executable_extensions; do
6229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6230 ac_cv_prog_AR="${ac_tool_prefix}ar"
6231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6241 if test -n "$AR"; then
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6243 $as_echo "$AR" >&6; }
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6246 $as_echo "no" >&6; }
6251 if test -z "$ac_cv_prog_AR"; then
6253 # Extract the first word of "ar", so it can be a program name with args.
6254 set dummy ar; ac_word=$2
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6256 $as_echo_n "checking for $ac_word... " >&6; }
6257 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6258 $as_echo_n "(cached) " >&6
6260 if test -n "$ac_ct_AR"; then
6261 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6267 test -z "$as_dir" && as_dir=.
6268 for ac_exec_ext in '' $ac_executable_extensions; do
6269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6270 ac_cv_prog_ac_ct_AR="ar"
6271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6280 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6281 if test -n "$ac_ct_AR"; then
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6283 $as_echo "$ac_ct_AR" >&6; }
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6286 $as_echo "no" >&6; }
6289 if test "x$ac_ct_AR" = x; then
6292 case $cross_compiling:$ac_tool_warned in
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6295 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6296 ac_tool_warned=yes ;;
6304 test -z "$AR" && AR=ar
6305 test -z "$AR_FLAGS" && AR_FLAGS=cru
6317 if test -n "$ac_tool_prefix"; then
6318 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6319 set dummy ${ac_tool_prefix}strip; ac_word=$2
6320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6321 $as_echo_n "checking for $ac_word... " >&6; }
6322 if test "${ac_cv_prog_STRIP+set}" = set; then :
6323 $as_echo_n "(cached) " >&6
6325 if test -n "$STRIP"; then
6326 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6332 test -z "$as_dir" && as_dir=.
6333 for ac_exec_ext in '' $ac_executable_extensions; do
6334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6335 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6345 STRIP=$ac_cv_prog_STRIP
6346 if test -n "$STRIP"; then
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6348 $as_echo "$STRIP" >&6; }
6350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6351 $as_echo "no" >&6; }
6356 if test -z "$ac_cv_prog_STRIP"; then
6358 # Extract the first word of "strip", so it can be a program name with args.
6359 set dummy strip; ac_word=$2
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6361 $as_echo_n "checking for $ac_word... " >&6; }
6362 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6363 $as_echo_n "(cached) " >&6
6365 if test -n "$ac_ct_STRIP"; then
6366 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6372 test -z "$as_dir" && as_dir=.
6373 for ac_exec_ext in '' $ac_executable_extensions; do
6374 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6375 ac_cv_prog_ac_ct_STRIP="strip"
6376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6385 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6386 if test -n "$ac_ct_STRIP"; then
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6388 $as_echo "$ac_ct_STRIP" >&6; }
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6391 $as_echo "no" >&6; }
6394 if test "x$ac_ct_STRIP" = x; then
6397 case $cross_compiling:$ac_tool_warned in
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6400 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6401 ac_tool_warned=yes ;;
6406 STRIP="$ac_cv_prog_STRIP"
6409 test -z "$STRIP" && STRIP=:
6416 if test -n "$ac_tool_prefix"; then
6417 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6418 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6420 $as_echo_n "checking for $ac_word... " >&6; }
6421 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6422 $as_echo_n "(cached) " >&6
6424 if test -n "$RANLIB"; then
6425 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6431 test -z "$as_dir" && as_dir=.
6432 for ac_exec_ext in '' $ac_executable_extensions; do
6433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6434 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6444 RANLIB=$ac_cv_prog_RANLIB
6445 if test -n "$RANLIB"; then
6446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6447 $as_echo "$RANLIB" >&6; }
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6450 $as_echo "no" >&6; }
6455 if test -z "$ac_cv_prog_RANLIB"; then
6456 ac_ct_RANLIB=$RANLIB
6457 # Extract the first word of "ranlib", so it can be a program name with args.
6458 set dummy ranlib; ac_word=$2
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6460 $as_echo_n "checking for $ac_word... " >&6; }
6461 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6462 $as_echo_n "(cached) " >&6
6464 if test -n "$ac_ct_RANLIB"; then
6465 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6471 test -z "$as_dir" && as_dir=.
6472 for ac_exec_ext in '' $ac_executable_extensions; do
6473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6474 ac_cv_prog_ac_ct_RANLIB="ranlib"
6475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6484 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6485 if test -n "$ac_ct_RANLIB"; then
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6487 $as_echo "$ac_ct_RANLIB" >&6; }
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6490 $as_echo "no" >&6; }
6493 if test "x$ac_ct_RANLIB" = x; then
6496 case $cross_compiling:$ac_tool_warned in
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6499 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6500 ac_tool_warned=yes ;;
6502 RANLIB=$ac_ct_RANLIB
6505 RANLIB="$ac_cv_prog_RANLIB"
6508 test -z "$RANLIB" && RANLIB=:
6515 # Determine commands to create old-style static archives.
6516 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6517 old_postinstall_cmds='chmod 644 $oldlib'
6518 old_postuninstall_cmds=
6520 if test -n "$RANLIB"; then
6523 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6526 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6529 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6565 # If no C compiler was specified, use CC.
6568 # If no C compiler flags were specified, use CFLAGS.
6569 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6571 # Allow CC to be a program name with arguments.
6575 # Check for command to grab the raw symbol name followed by C symbol from nm.
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6577 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6578 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6579 $as_echo_n "(cached) " >&6
6582 # These are sane defaults that work on at least a few old systems.
6583 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6585 # Character class describing NM global symbol codes.
6586 symcode='[BCDEGRST]'
6588 # Regexp to match symbols that can be accessed directly from C.
6589 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6591 # Define system-specific variables.
6596 cygwin* | mingw* | pw32* | cegcc*)
6597 symcode='[ABCDGISTW]'
6600 if test "$host_cpu" = ia64; then
6601 symcode='[ABCDEGRST]'
6605 symcode='[BCDEGRST]'
6608 symcode='[BCDEGQRST]'
6619 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6627 # If we're using GNU nm, then use its standard symbol codes.
6628 case `$NM -V 2>&1` in
6629 *GNU* | *'with BFD'*)
6630 symcode='[ABCDGIRSTW]' ;;
6633 # Transform an extracted symbol line into a proper C declaration.
6634 # Some systems (esp. on ia64) link data and code symbols differently,
6635 # so use this general approach.
6636 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6638 # Transform an extracted symbol line into symbol name and symbol address
6639 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6640 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6642 # Handle CRLF in mingw tool chain
6646 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6650 # Try without a prefix underscore, then with it.
6651 for ac_symprfx in "" "_"; do
6653 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6654 symxfrm="\\1 $ac_symprfx\\2 \\2"
6656 # Write the raw and C identifiers.
6657 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6658 # Fake it for dumpbin and say T for any non-static function
6659 # and D for any global variable.
6660 # Also find C++ and __fastcall symbols from MSVC++,
6661 # which start with @ or ?.
6662 lt_cv_sys_global_symbol_pipe="$AWK '"\
6663 " {last_section=section; section=\$ 3};"\
6664 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6665 " \$ 0!~/External *\|/{next};"\
6666 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6667 " {if(hide[section]) next};"\
6668 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6669 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6670 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6671 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6672 " ' prfx=^$ac_symprfx"
6674 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6677 # Check to see that the pipe works correctly.
6681 cat > conftest.$ac_ext <<_LT_EOF
6686 void nm_test_func(void);
6687 void nm_test_func(void){}
6691 int main(){nm_test_var='a';nm_test_func();return(0);}
6694 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6695 (eval $ac_compile) 2>&5
6697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6698 test $ac_status = 0; }; then
6699 # Now try to grab the symbols.
6701 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6702 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6705 test $ac_status = 0; } && test -s "$nlist"; then
6706 # Try sorting and uniquifying the output.
6707 if sort "$nlist" | uniq > "$nlist"T; then
6708 mv -f "$nlist"T "$nlist"
6713 # Make sure that we snagged all the symbols we need.
6714 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6715 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6716 cat <<_LT_EOF > conftest.$ac_ext
6722 # Now generate the symbol file.
6723 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6725 cat <<_LT_EOF >> conftest.$ac_ext
6727 /* The mapping between symbol names and symbols. */
6732 lt__PROGRAM__LTX_preloaded_symbols[] =
6734 { "@PROGRAM@", (void *) 0 },
6736 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6737 cat <<\_LT_EOF >> conftest.$ac_ext
6741 /* This works around a problem in FreeBSD linker */
6742 #ifdef FREEBSD_WORKAROUND
6743 static const void *lt_preloaded_setup() {
6744 return lt__PROGRAM__LTX_preloaded_symbols;
6752 # Now try linking the two files.
6753 mv conftest.$ac_objext conftstm.$ac_objext
6754 lt_save_LIBS="$LIBS"
6755 lt_save_CFLAGS="$CFLAGS"
6756 LIBS="conftstm.$ac_objext"
6757 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6758 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6759 (eval $ac_link) 2>&5
6761 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6762 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6765 LIBS="$lt_save_LIBS"
6766 CFLAGS="$lt_save_CFLAGS"
6768 echo "cannot find nm_test_func in $nlist" >&5
6771 echo "cannot find nm_test_var in $nlist" >&5
6774 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6777 echo "$progname: failed program was:" >&5
6778 cat conftest.$ac_ext >&5
6780 rm -rf conftest* conftst*
6782 # Do not use the global_symbol_pipe unless it works.
6783 if test "$pipe_works" = yes; then
6786 lt_cv_sys_global_symbol_pipe=
6792 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6793 lt_cv_sys_global_symbol_to_cdecl=
6795 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6797 $as_echo "failed" >&6; }
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6800 $as_echo "ok" >&6; }
6825 # Check whether --enable-libtool-lock was given.
6826 if test "${enable_libtool_lock+set}" = set; then :
6827 enableval=$enable_libtool_lock;
6830 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6832 # Some flags need to be propagated to the compiler or linker for good
6836 # Find out which ABI we are using.
6837 echo 'int i;' > conftest.$ac_ext
6838 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6839 (eval $ac_compile) 2>&5
6841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6842 test $ac_status = 0; }; then
6843 case `/usr/bin/file conftest.$ac_objext` in
6855 # Find out which ABI we are using.
6856 echo '#line 6856 "configure"' > conftest.$ac_ext
6857 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6858 (eval $ac_compile) 2>&5
6860 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6861 test $ac_status = 0; }; then
6862 if test "$lt_cv_prog_gnu_ld" = yes; then
6863 case `/usr/bin/file conftest.$ac_objext` in
6865 LD="${LD-ld} -melf32bsmip"
6868 LD="${LD-ld} -melf32bmipn32"
6871 LD="${LD-ld} -melf64bmip"
6875 case `/usr/bin/file conftest.$ac_objext` in
6891 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6892 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6893 # Find out which ABI we are using.
6894 echo 'int i;' > conftest.$ac_ext
6895 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6896 (eval $ac_compile) 2>&5
6898 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6899 test $ac_status = 0; }; then
6900 case `/usr/bin/file conftest.o` in
6903 x86_64-*kfreebsd*-gnu)
6904 LD="${LD-ld} -m elf_i386_fbsd"
6907 LD="${LD-ld} -m elf_i386"
6909 ppc64-*linux*|powerpc64-*linux*)
6910 LD="${LD-ld} -m elf32ppclinux"
6913 LD="${LD-ld} -m elf_s390"
6916 LD="${LD-ld} -m elf32_sparc"
6922 x86_64-*kfreebsd*-gnu)
6923 LD="${LD-ld} -m elf_x86_64_fbsd"
6926 LD="${LD-ld} -m elf_x86_64"
6928 ppc*-*linux*|powerpc*-*linux*)
6929 LD="${LD-ld} -m elf64ppc"
6931 s390*-*linux*|s390*-*tpf*)
6932 LD="${LD-ld} -m elf64_s390"
6935 LD="${LD-ld} -m elf64_sparc"
6945 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6946 SAVE_CFLAGS="$CFLAGS"
6947 CFLAGS="$CFLAGS -belf"
6948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6949 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6950 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6951 $as_echo_n "(cached) " >&6
6954 ac_cpp='$CPP $CPPFLAGS'
6955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6960 /* end confdefs.h. */
6970 if ac_fn_c_try_link "$LINENO"; then :
6971 lt_cv_cc_needs_belf=yes
6973 lt_cv_cc_needs_belf=no
6975 rm -f core conftest.err conftest.$ac_objext \
6976 conftest$ac_exeext conftest.$ac_ext
6978 ac_cpp='$CPP $CPPFLAGS'
6979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6985 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6986 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6987 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6988 CFLAGS="$SAVE_CFLAGS"
6992 # Find out which ABI we are using.
6993 echo 'int i;' > conftest.$ac_ext
6994 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6995 (eval $ac_compile) 2>&5
6997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6998 test $ac_status = 0; }; then
6999 case `/usr/bin/file conftest.o` in
7001 case $lt_cv_prog_gnu_ld in
7002 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7004 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7016 need_locks="$enable_libtool_lock"
7020 rhapsody* | darwin*)
7021 if test -n "$ac_tool_prefix"; then
7022 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7023 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7025 $as_echo_n "checking for $ac_word... " >&6; }
7026 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7027 $as_echo_n "(cached) " >&6
7029 if test -n "$DSYMUTIL"; then
7030 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7036 test -z "$as_dir" && as_dir=.
7037 for ac_exec_ext in '' $ac_executable_extensions; do
7038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7039 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7049 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7050 if test -n "$DSYMUTIL"; then
7051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7052 $as_echo "$DSYMUTIL" >&6; }
7054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7055 $as_echo "no" >&6; }
7060 if test -z "$ac_cv_prog_DSYMUTIL"; then
7061 ac_ct_DSYMUTIL=$DSYMUTIL
7062 # Extract the first word of "dsymutil", so it can be a program name with args.
7063 set dummy dsymutil; ac_word=$2
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7065 $as_echo_n "checking for $ac_word... " >&6; }
7066 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7067 $as_echo_n "(cached) " >&6
7069 if test -n "$ac_ct_DSYMUTIL"; then
7070 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7076 test -z "$as_dir" && as_dir=.
7077 for ac_exec_ext in '' $ac_executable_extensions; do
7078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7079 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7089 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7090 if test -n "$ac_ct_DSYMUTIL"; then
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7092 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7095 $as_echo "no" >&6; }
7098 if test "x$ac_ct_DSYMUTIL" = x; then
7101 case $cross_compiling:$ac_tool_warned in
7103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7104 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7105 ac_tool_warned=yes ;;
7107 DSYMUTIL=$ac_ct_DSYMUTIL
7110 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7113 if test -n "$ac_tool_prefix"; then
7114 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7115 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7117 $as_echo_n "checking for $ac_word... " >&6; }
7118 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7119 $as_echo_n "(cached) " >&6
7121 if test -n "$NMEDIT"; then
7122 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7128 test -z "$as_dir" && as_dir=.
7129 for ac_exec_ext in '' $ac_executable_extensions; do
7130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7131 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7141 NMEDIT=$ac_cv_prog_NMEDIT
7142 if test -n "$NMEDIT"; then
7143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7144 $as_echo "$NMEDIT" >&6; }
7146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7147 $as_echo "no" >&6; }
7152 if test -z "$ac_cv_prog_NMEDIT"; then
7153 ac_ct_NMEDIT=$NMEDIT
7154 # Extract the first word of "nmedit", so it can be a program name with args.
7155 set dummy nmedit; ac_word=$2
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7157 $as_echo_n "checking for $ac_word... " >&6; }
7158 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7159 $as_echo_n "(cached) " >&6
7161 if test -n "$ac_ct_NMEDIT"; then
7162 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7168 test -z "$as_dir" && as_dir=.
7169 for ac_exec_ext in '' $ac_executable_extensions; do
7170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7171 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7181 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7182 if test -n "$ac_ct_NMEDIT"; then
7183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7184 $as_echo "$ac_ct_NMEDIT" >&6; }
7186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7187 $as_echo "no" >&6; }
7190 if test "x$ac_ct_NMEDIT" = x; then
7193 case $cross_compiling:$ac_tool_warned in
7195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7196 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7197 ac_tool_warned=yes ;;
7199 NMEDIT=$ac_ct_NMEDIT
7202 NMEDIT="$ac_cv_prog_NMEDIT"
7205 if test -n "$ac_tool_prefix"; then
7206 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7207 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7209 $as_echo_n "checking for $ac_word... " >&6; }
7210 if test "${ac_cv_prog_LIPO+set}" = set; then :
7211 $as_echo_n "(cached) " >&6
7213 if test -n "$LIPO"; then
7214 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7220 test -z "$as_dir" && as_dir=.
7221 for ac_exec_ext in '' $ac_executable_extensions; do
7222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7223 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7233 LIPO=$ac_cv_prog_LIPO
7234 if test -n "$LIPO"; then
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7236 $as_echo "$LIPO" >&6; }
7238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7239 $as_echo "no" >&6; }
7244 if test -z "$ac_cv_prog_LIPO"; then
7246 # Extract the first word of "lipo", so it can be a program name with args.
7247 set dummy lipo; ac_word=$2
7248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7249 $as_echo_n "checking for $ac_word... " >&6; }
7250 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7251 $as_echo_n "(cached) " >&6
7253 if test -n "$ac_ct_LIPO"; then
7254 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7260 test -z "$as_dir" && as_dir=.
7261 for ac_exec_ext in '' $ac_executable_extensions; do
7262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7263 ac_cv_prog_ac_ct_LIPO="lipo"
7264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7273 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7274 if test -n "$ac_ct_LIPO"; then
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7276 $as_echo "$ac_ct_LIPO" >&6; }
7278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7279 $as_echo "no" >&6; }
7282 if test "x$ac_ct_LIPO" = x; then
7285 case $cross_compiling:$ac_tool_warned in
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7288 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7289 ac_tool_warned=yes ;;
7294 LIPO="$ac_cv_prog_LIPO"
7297 if test -n "$ac_tool_prefix"; then
7298 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7299 set dummy ${ac_tool_prefix}otool; ac_word=$2
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7301 $as_echo_n "checking for $ac_word... " >&6; }
7302 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7303 $as_echo_n "(cached) " >&6
7305 if test -n "$OTOOL"; then
7306 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7312 test -z "$as_dir" && as_dir=.
7313 for ac_exec_ext in '' $ac_executable_extensions; do
7314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7315 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7325 OTOOL=$ac_cv_prog_OTOOL
7326 if test -n "$OTOOL"; then
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7328 $as_echo "$OTOOL" >&6; }
7330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7331 $as_echo "no" >&6; }
7336 if test -z "$ac_cv_prog_OTOOL"; then
7338 # Extract the first word of "otool", so it can be a program name with args.
7339 set dummy otool; ac_word=$2
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7341 $as_echo_n "checking for $ac_word... " >&6; }
7342 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7343 $as_echo_n "(cached) " >&6
7345 if test -n "$ac_ct_OTOOL"; then
7346 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7352 test -z "$as_dir" && as_dir=.
7353 for ac_exec_ext in '' $ac_executable_extensions; do
7354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7355 ac_cv_prog_ac_ct_OTOOL="otool"
7356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7365 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7366 if test -n "$ac_ct_OTOOL"; then
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7368 $as_echo "$ac_ct_OTOOL" >&6; }
7370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7371 $as_echo "no" >&6; }
7374 if test "x$ac_ct_OTOOL" = x; then
7377 case $cross_compiling:$ac_tool_warned in
7379 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7380 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7381 ac_tool_warned=yes ;;
7386 OTOOL="$ac_cv_prog_OTOOL"
7389 if test -n "$ac_tool_prefix"; then
7390 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7391 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7393 $as_echo_n "checking for $ac_word... " >&6; }
7394 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7395 $as_echo_n "(cached) " >&6
7397 if test -n "$OTOOL64"; then
7398 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7404 test -z "$as_dir" && as_dir=.
7405 for ac_exec_ext in '' $ac_executable_extensions; do
7406 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7407 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7417 OTOOL64=$ac_cv_prog_OTOOL64
7418 if test -n "$OTOOL64"; then
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7420 $as_echo "$OTOOL64" >&6; }
7422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7423 $as_echo "no" >&6; }
7428 if test -z "$ac_cv_prog_OTOOL64"; then
7429 ac_ct_OTOOL64=$OTOOL64
7430 # Extract the first word of "otool64", so it can be a program name with args.
7431 set dummy otool64; ac_word=$2
7432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7433 $as_echo_n "checking for $ac_word... " >&6; }
7434 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7435 $as_echo_n "(cached) " >&6
7437 if test -n "$ac_ct_OTOOL64"; then
7438 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7444 test -z "$as_dir" && as_dir=.
7445 for ac_exec_ext in '' $ac_executable_extensions; do
7446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7447 ac_cv_prog_ac_ct_OTOOL64="otool64"
7448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7457 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7458 if test -n "$ac_ct_OTOOL64"; then
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7460 $as_echo "$ac_ct_OTOOL64" >&6; }
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7463 $as_echo "no" >&6; }
7466 if test "x$ac_ct_OTOOL64" = x; then
7469 case $cross_compiling:$ac_tool_warned in
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7472 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7473 ac_tool_warned=yes ;;
7475 OTOOL64=$ac_ct_OTOOL64
7478 OTOOL64="$ac_cv_prog_OTOOL64"
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7508 $as_echo_n "checking for -single_module linker flag... " >&6; }
7509 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7510 $as_echo_n "(cached) " >&6
7512 lt_cv_apple_cc_single_mod=no
7513 if test -z "${LT_MULTI_MODULE}"; then
7514 # By default we will add the -single_module flag. You can override
7515 # by either setting the environment variable LT_MULTI_MODULE
7516 # non-empty at configure time, or by adding -multi_module to the
7518 rm -rf libconftest.dylib*
7519 echo "int foo(void){return 1;}" > conftest.c
7520 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7521 -dynamiclib -Wl,-single_module conftest.c" >&5
7522 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7523 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7525 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7526 lt_cv_apple_cc_single_mod=yes
7528 cat conftest.err >&5
7530 rm -rf libconftest.dylib*
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7535 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7537 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7538 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7539 $as_echo_n "(cached) " >&6
7541 lt_cv_ld_exported_symbols_list=no
7542 save_LDFLAGS=$LDFLAGS
7543 echo "_main" > conftest.sym
7544 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7546 /* end confdefs.h. */
7556 if ac_fn_c_try_link "$LINENO"; then :
7557 lt_cv_ld_exported_symbols_list=yes
7559 lt_cv_ld_exported_symbols_list=no
7561 rm -f core conftest.err conftest.$ac_objext \
7562 conftest$ac_exeext conftest.$ac_ext
7563 LDFLAGS="$save_LDFLAGS"
7566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7567 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7569 rhapsody* | darwin1.[012])
7570 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7572 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7573 darwin*) # darwin 5.x on
7574 # if running on 10.5 or later, the deployment target defaults
7575 # to the OS version, if on x86, and 10.4, the deployment
7576 # target defaults to 10.4. Don't you love it?
7577 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7578 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7579 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7581 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7583 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7587 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7588 _lt_dar_single_mod='$single_module'
7590 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7591 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7593 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7595 if test "$DSYMUTIL" != ":"; then
7596 _lt_dsymutil='~$DSYMUTIL $lib || :'
7604 ac_cpp='$CPP $CPPFLAGS'
7605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7609 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7610 # On Suns, sometimes $CPP names a directory.
7611 if test -n "$CPP" && test -d "$CPP"; then
7614 if test -z "$CPP"; then
7615 if test "${ac_cv_prog_CPP+set}" = set; then :
7616 $as_echo_n "(cached) " >&6
7618 # Double quotes because CPP needs to be expanded
7619 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7622 for ac_c_preproc_warn_flag in '' yes
7624 # Use a header file that comes with gcc, so configuring glibc
7625 # with a fresh cross-compiler works.
7626 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7627 # <limits.h> exists even on freestanding compilers.
7628 # On the NeXT, cc -E runs the code through the compiler's parser,
7629 # not just through cpp. "Syntax error" is here to catch this case.
7630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7631 /* end confdefs.h. */
7633 # include <limits.h>
7635 # include <assert.h>
7639 if ac_fn_c_try_cpp "$LINENO"; then :
7642 # Broken: fails on valid input.
7645 rm -f conftest.err conftest.$ac_ext
7647 # OK, works on sane cases. Now check whether nonexistent headers
7648 # can be detected and how.
7649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7650 /* end confdefs.h. */
7651 #include <ac_nonexistent.h>
7653 if ac_fn_c_try_cpp "$LINENO"; then :
7654 # Broken: success on invalid input.
7657 # Passes both tests.
7661 rm -f conftest.err conftest.$ac_ext
7664 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7665 rm -f conftest.err conftest.$ac_ext
7666 if $ac_preproc_ok; then :
7678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7679 $as_echo "$CPP" >&6; }
7681 for ac_c_preproc_warn_flag in '' yes
7683 # Use a header file that comes with gcc, so configuring glibc
7684 # with a fresh cross-compiler works.
7685 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7686 # <limits.h> exists even on freestanding compilers.
7687 # On the NeXT, cc -E runs the code through the compiler's parser,
7688 # not just through cpp. "Syntax error" is here to catch this case.
7689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7690 /* end confdefs.h. */
7692 # include <limits.h>
7694 # include <assert.h>
7698 if ac_fn_c_try_cpp "$LINENO"; then :
7701 # Broken: fails on valid input.
7704 rm -f conftest.err conftest.$ac_ext
7706 # OK, works on sane cases. Now check whether nonexistent headers
7707 # can be detected and how.
7708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7709 /* end confdefs.h. */
7710 #include <ac_nonexistent.h>
7712 if ac_fn_c_try_cpp "$LINENO"; then :
7713 # Broken: success on invalid input.
7716 # Passes both tests.
7720 rm -f conftest.err conftest.$ac_ext
7723 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7724 rm -f conftest.err conftest.$ac_ext
7725 if $ac_preproc_ok; then :
7728 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7729 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7730 as_fn_error "C preprocessor \"$CPP\" fails sanity check
7731 See \`config.log' for more details." "$LINENO" 5; }
7735 ac_cpp='$CPP $CPPFLAGS'
7736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7742 $as_echo_n "checking for ANSI C header files... " >&6; }
7743 if test "${ac_cv_header_stdc+set}" = set; then :
7744 $as_echo_n "(cached) " >&6
7746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7747 /* end confdefs.h. */
7761 if ac_fn_c_try_compile "$LINENO"; then :
7762 ac_cv_header_stdc=yes
7764 ac_cv_header_stdc=no
7766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7768 if test $ac_cv_header_stdc = yes; then
7769 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7771 /* end confdefs.h. */
7775 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7776 $EGREP "memchr" >/dev/null 2>&1; then :
7779 ac_cv_header_stdc=no
7785 if test $ac_cv_header_stdc = yes; then
7786 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7788 /* end confdefs.h. */
7792 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7793 $EGREP "free" >/dev/null 2>&1; then :
7796 ac_cv_header_stdc=no
7802 if test $ac_cv_header_stdc = yes; then
7803 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7804 if test "$cross_compiling" = yes; then :
7807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7808 /* end confdefs.h. */
7811 #if ((' ' & 0x0FF) == 0x020)
7812 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7813 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7815 # define ISLOWER(c) \
7816 (('a' <= (c) && (c) <= 'i') \
7817 || ('j' <= (c) && (c) <= 'r') \
7818 || ('s' <= (c) && (c) <= 'z'))
7819 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7822 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7827 for (i = 0; i < 256; i++)
7828 if (XOR (islower (i), ISLOWER (i))
7829 || toupper (i) != TOUPPER (i))
7834 if ac_fn_c_try_run "$LINENO"; then :
7837 ac_cv_header_stdc=no
7839 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7840 conftest.$ac_objext conftest.beam conftest.$ac_ext
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7846 $as_echo "$ac_cv_header_stdc" >&6; }
7847 if test $ac_cv_header_stdc = yes; then
7849 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7853 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7854 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7855 inttypes.h stdint.h unistd.h
7857 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7858 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7860 eval as_val=\$$as_ac_Header
7861 if test "x$as_val" = x""yes; then :
7862 cat >>confdefs.h <<_ACEOF
7863 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7871 for ac_header in dlfcn.h
7873 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7875 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7876 cat >>confdefs.h <<_ACEOF
7877 #define HAVE_DLFCN_H 1
7895 # Check whether --enable-shared was given.
7896 if test "${enable_shared+set}" = set; then :
7897 enableval=$enable_shared; p=${PACKAGE-default}
7899 yes) enable_shared=yes ;;
7900 no) enable_shared=no ;;
7903 # Look at the argument we got. We use all the common list separators.
7904 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7905 for pkg in $enableval; do
7907 if test "X$pkg" = "X$p"; then
7926 # Check whether --enable-static was given.
7927 if test "${enable_static+set}" = set; then :
7928 enableval=$enable_static; p=${PACKAGE-default}
7930 yes) enable_static=yes ;;
7931 no) enable_static=no ;;
7934 # Look at the argument we got. We use all the common list separators.
7935 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7936 for pkg in $enableval; do
7938 if test "X$pkg" = "X$p"; then
7958 # Check whether --with-pic was given.
7959 if test "${with_pic+set}" = set; then :
7960 withval=$with_pic; pic_mode="$withval"
7966 test -z "$pic_mode" && pic_mode=default
7974 # Check whether --enable-fast-install was given.
7975 if test "${enable_fast_install+set}" = set; then :
7976 enableval=$enable_fast_install; p=${PACKAGE-default}
7978 yes) enable_fast_install=yes ;;
7979 no) enable_fast_install=no ;;
7981 enable_fast_install=no
7982 # Look at the argument we got. We use all the common list separators.
7983 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7984 for pkg in $enableval; do
7986 if test "X$pkg" = "X$p"; then
7987 enable_fast_install=yes
7994 enable_fast_install=yes
8007 # This can be used to rebuild libtool when needed
8008 LIBTOOL_DEPS="$ltmain"
8010 # Always use our own libtool.
8011 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8037 test -z "$LN_S" && LN_S="ln -s"
8052 if test -n "${ZSH_VERSION+set}" ; then
8053 setopt NO_GLOB_SUBST
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8057 $as_echo_n "checking for objdir... " >&6; }
8058 if test "${lt_cv_objdir+set}" = set; then :
8059 $as_echo_n "(cached) " >&6
8061 rm -f .libs 2>/dev/null
8062 mkdir .libs 2>/dev/null
8063 if test -d .libs; then
8066 # MS-DOS does not allow filenames that begin with a dot.
8069 rmdir .libs 2>/dev/null
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8072 $as_echo "$lt_cv_objdir" >&6; }
8073 objdir=$lt_cv_objdir
8079 cat >>confdefs.h <<_ACEOF
8080 #define LT_OBJDIR "$lt_cv_objdir/"
8101 # AIX sometimes has problems with the GCC collect2 program. For some
8102 # reason, if we set the COLLECT_NAMES environment variable, the problems
8103 # vanish in a puff of smoke.
8104 if test "X${COLLECT_NAMES+set}" != Xset; then
8106 export COLLECT_NAMES
8111 # Sed substitution that helps us do robust quoting. It backslashifies
8112 # metacharacters that are still active within double-quoted strings.
8113 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8115 # Same as above, but do not quote variable references.
8116 double_quote_subst='s/\(["`\\]\)/\\\1/g'
8118 # Sed substitution to delay expansion of an escaped shell variable in a
8119 # double_quote_subst'ed string.
8120 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8122 # Sed substitution to delay expansion of an escaped single quote.
8123 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8125 # Sed substitution to avoid accidental globbing in evaled expressions
8126 no_glob_subst='s/\*/\\\*/g'
8130 can_build_shared=yes
8132 # All known linkers require a `.a' archive for static linking (except MSVC,
8133 # which needs '.lib').
8136 with_gnu_ld="$lt_cv_prog_gnu_ld"
8139 old_CFLAGS="$CFLAGS"
8141 # Set sane defaults for various variables
8142 test -z "$CC" && CC=cc
8143 test -z "$LTCC" && LTCC=$CC
8144 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8145 test -z "$LD" && LD=ld
8146 test -z "$ac_objext" && ac_objext=o
8148 for cc_temp in $compiler""; do
8150 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8151 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8156 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8159 # Only perform the check for file, if the check method requires it
8160 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8161 case $deplibs_check_method in
8163 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8165 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8166 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8167 $as_echo_n "(cached) " >&6
8171 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8174 lt_save_MAGIC_CMD="$MAGIC_CMD"
8175 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8176 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8177 for ac_dir in $ac_dummy; do
8179 test -z "$ac_dir" && ac_dir=.
8180 if test -f $ac_dir/${ac_tool_prefix}file; then
8181 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8182 if test -n "$file_magic_test_file"; then
8183 case $deplibs_check_method in
8185 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8186 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8187 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8188 $EGREP "$file_magic_regex" > /dev/null; then
8193 *** Warning: the command libtool uses to detect shared libraries,
8194 *** $file_magic_cmd, produces output that libtool cannot recognize.
8195 *** The result is that libtool may fail to recognize shared libraries
8196 *** as such. This will affect the creation of libtool libraries that
8197 *** depend on shared libraries, but programs linked with such libtool
8198 *** libraries will work regardless of this problem. Nevertheless, you
8199 *** may want to report the problem to your system manager and/or to
8200 *** bug-libtool@gnu.org
8210 MAGIC_CMD="$lt_save_MAGIC_CMD"
8215 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8216 if test -n "$MAGIC_CMD"; then
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8218 $as_echo "$MAGIC_CMD" >&6; }
8220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8221 $as_echo "no" >&6; }
8228 if test -z "$lt_cv_path_MAGIC_CMD"; then
8229 if test -n "$ac_tool_prefix"; then
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8231 $as_echo_n "checking for file... " >&6; }
8232 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8233 $as_echo_n "(cached) " >&6
8237 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8240 lt_save_MAGIC_CMD="$MAGIC_CMD"
8241 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8242 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8243 for ac_dir in $ac_dummy; do
8245 test -z "$ac_dir" && ac_dir=.
8246 if test -f $ac_dir/file; then
8247 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8248 if test -n "$file_magic_test_file"; then
8249 case $deplibs_check_method in
8251 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8252 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8253 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8254 $EGREP "$file_magic_regex" > /dev/null; then
8259 *** Warning: the command libtool uses to detect shared libraries,
8260 *** $file_magic_cmd, produces output that libtool cannot recognize.
8261 *** The result is that libtool may fail to recognize shared libraries
8262 *** as such. This will affect the creation of libtool libraries that
8263 *** depend on shared libraries, but programs linked with such libtool
8264 *** libraries will work regardless of this problem. Nevertheless, you
8265 *** may want to report the problem to your system manager and/or to
8266 *** bug-libtool@gnu.org
8276 MAGIC_CMD="$lt_save_MAGIC_CMD"
8281 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8282 if test -n "$MAGIC_CMD"; then
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8284 $as_echo "$MAGIC_CMD" >&6; }
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8287 $as_echo "no" >&6; }
8300 # Use C for the default configuration in the libtool script
8304 ac_cpp='$CPP $CPPFLAGS'
8305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8310 # Source file extension for C test sources.
8313 # Object file extension for compiled C test sources.
8317 # Code to be used in simple compile tests
8318 lt_simple_compile_test_code="int some_variable = 0;"
8320 # Code to be used in simple link tests
8321 lt_simple_link_test_code='int main(){return(0);}'
8329 # If no C compiler was specified, use CC.
8332 # If no C compiler flags were specified, use CFLAGS.
8333 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8335 # Allow CC to be a program name with arguments.
8338 # Save the default compiler, since it gets overwritten when the other
8339 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8340 compiler_DEFAULT=$CC
8342 # save warnings/boilerplate of simple test code
8343 ac_outfile=conftest.$ac_objext
8344 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8345 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8346 _lt_compiler_boilerplate=`cat conftest.err`
8349 ac_outfile=conftest.$ac_objext
8350 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8351 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8352 _lt_linker_boilerplate=`cat conftest.err`
8357 ## There is no encapsulation within the following macros, do not change
8358 ## the running order or otherwise move them around unless you know exactly
8359 ## what you are doing...
8360 if test -n "$compiler"; then
8362 lt_prog_compiler_no_builtin_flag=
8364 if test "$GCC" = yes; then
8365 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8368 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8369 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8370 $as_echo_n "(cached) " >&6
8372 lt_cv_prog_compiler_rtti_exceptions=no
8373 ac_outfile=conftest.$ac_objext
8374 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8375 lt_compiler_flag="-fno-rtti -fno-exceptions"
8376 # Insert the option either (1) after the last *FLAGS variable, or
8377 # (2) before a word containing "conftest.", or (3) at the end.
8378 # Note that $ac_compile itself does not contain backslashes and begins
8379 # with a dollar sign (not a hyphen), so the echo should work correctly.
8380 # The option is referenced via a variable to avoid confusing sed.
8381 lt_compile=`echo "$ac_compile" | $SED \
8382 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8383 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8384 -e 's:$: $lt_compiler_flag:'`
8385 (eval echo "\"\$as_me:8385: $lt_compile\"" >&5)
8386 (eval "$lt_compile" 2>conftest.err)
8388 cat conftest.err >&5
8389 echo "$as_me:8389: \$? = $ac_status" >&5
8390 if (exit $ac_status) && test -s "$ac_outfile"; then
8391 # The compiler can only warn and ignore the option if not recognized
8392 # So say no if there are warnings other than the usual output.
8393 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8394 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8395 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8396 lt_cv_prog_compiler_rtti_exceptions=yes
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8403 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8405 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8406 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8418 lt_prog_compiler_wl=
8419 lt_prog_compiler_pic=
8420 lt_prog_compiler_static=
8422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8423 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8425 if test "$GCC" = yes; then
8426 lt_prog_compiler_wl='-Wl,'
8427 lt_prog_compiler_static='-static'
8431 # All AIX code is PIC.
8432 if test "$host_cpu" = ia64; then
8433 # AIX 5 now supports IA64 processor
8434 lt_prog_compiler_static='-Bstatic'
8441 # see comment about AmigaOS4 .so support
8442 lt_prog_compiler_pic='-fPIC'
8445 # FIXME: we need at least 68020 code to build shared libraries, but
8446 # adding the `-m68020' flag to GCC prevents building anything better,
8448 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8453 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8454 # PIC is the default for these OSes.
8457 mingw* | cygwin* | pw32* | os2* | cegcc*)
8458 # This hack is so that the source file can tell whether it is being
8459 # built for inclusion in a dll (and should export symbols for example).
8460 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8461 # (--disable-auto-import) libraries
8462 lt_prog_compiler_pic='-DDLL_EXPORT'
8465 darwin* | rhapsody*)
8466 # PIC is the default on this platform
8467 # Common symbols not allowed in MH_DYLIB files
8468 lt_prog_compiler_pic='-fno-common'
8472 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8473 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8474 # sets the default TLS model and affects inlining.
8480 lt_prog_compiler_pic='-fPIC'
8486 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8487 # Instead, we relocate shared libraries at runtime.
8491 # Just because we use GCC doesn't mean we suddenly get shared libraries
8492 # on systems that don't support them.
8493 lt_prog_compiler_can_build_shared=no
8498 # QNX uses GNU C++, but need to define -shared option too, otherwise
8500 lt_prog_compiler_pic='-fPIC -shared'
8504 if test -d /usr/nec; then
8505 lt_prog_compiler_pic=-Kconform_pic
8510 lt_prog_compiler_pic='-fPIC'
8514 # PORTME Check for flag to pass linker flags through the system compiler.
8517 lt_prog_compiler_wl='-Wl,'
8518 if test "$host_cpu" = ia64; then
8519 # AIX 5 now supports IA64 processor
8520 lt_prog_compiler_static='-Bstatic'
8522 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8526 mingw* | cygwin* | pw32* | os2* | cegcc*)
8527 # This hack is so that the source file can tell whether it is being
8528 # built for inclusion in a dll (and should export symbols for example).
8529 lt_prog_compiler_pic='-DDLL_EXPORT'
8532 hpux9* | hpux10* | hpux11*)
8533 lt_prog_compiler_wl='-Wl,'
8534 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8541 lt_prog_compiler_pic='+Z'
8544 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8545 lt_prog_compiler_static='${wl}-a ${wl}archive'
8548 irix5* | irix6* | nonstopux*)
8549 lt_prog_compiler_wl='-Wl,'
8550 # PIC (with -KPIC) is the default.
8551 lt_prog_compiler_static='-non_shared'
8554 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8555 case $cc_basename in
8556 # old Intel for x86_64 which still supported -KPIC.
8558 lt_prog_compiler_wl='-Wl,'
8559 lt_prog_compiler_pic='-KPIC'
8560 lt_prog_compiler_static='-static'
8562 # icc used to be incompatible with GCC.
8563 # ICC 10 doesn't accept -KPIC any more.
8565 lt_prog_compiler_wl='-Wl,'
8566 lt_prog_compiler_pic='-fPIC'
8567 lt_prog_compiler_static='-static'
8569 # Lahey Fortran 8.1.
8571 lt_prog_compiler_wl='-Wl,'
8572 lt_prog_compiler_pic='--shared'
8573 lt_prog_compiler_static='--static'
8575 pgcc* | pgf77* | pgf90* | pgf95*)
8576 # Portland Group compilers (*not* the Pentium gcc compiler,
8577 # which looks to be a dead project)
8578 lt_prog_compiler_wl='-Wl,'
8579 lt_prog_compiler_pic='-fpic'
8580 lt_prog_compiler_static='-Bstatic'
8583 lt_prog_compiler_wl='-Wl,'
8584 # All Alpha code is PIC.
8585 lt_prog_compiler_static='-non_shared'
8588 # IBM XL C 8.0/Fortran 10.1 on PPC
8589 lt_prog_compiler_wl='-Wl,'
8590 lt_prog_compiler_pic='-qpic'
8591 lt_prog_compiler_static='-qstaticlink'
8594 case `$CC -V 2>&1 | sed 5q` in
8597 lt_prog_compiler_pic='-KPIC'
8598 lt_prog_compiler_static='-Bstatic'
8599 lt_prog_compiler_wl='-Wl,'
8602 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8603 lt_prog_compiler_pic='-KPIC'
8604 lt_prog_compiler_static='-Bstatic'
8605 lt_prog_compiler_wl=''
8613 lt_prog_compiler_pic='-KPIC'
8614 lt_prog_compiler_static='-Bstatic'
8618 # QNX uses GNU C++, but need to define -shared option too, otherwise
8620 lt_prog_compiler_pic='-fPIC -shared'
8623 osf3* | osf4* | osf5*)
8624 lt_prog_compiler_wl='-Wl,'
8625 # All OSF/1 code is PIC.
8626 lt_prog_compiler_static='-non_shared'
8630 lt_prog_compiler_static='-non_shared'
8634 lt_prog_compiler_pic='-KPIC'
8635 lt_prog_compiler_static='-Bstatic'
8636 case $cc_basename in
8638 lt_prog_compiler_wl='-Qoption ld ';;
8640 lt_prog_compiler_wl='-Wl,';;
8645 lt_prog_compiler_wl='-Qoption ld '
8646 lt_prog_compiler_pic='-PIC'
8647 lt_prog_compiler_static='-Bstatic'
8650 sysv4 | sysv4.2uw2* | sysv4.3*)
8651 lt_prog_compiler_wl='-Wl,'
8652 lt_prog_compiler_pic='-KPIC'
8653 lt_prog_compiler_static='-Bstatic'
8657 if test -d /usr/nec ;then
8658 lt_prog_compiler_pic='-Kconform_pic'
8659 lt_prog_compiler_static='-Bstatic'
8663 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8664 lt_prog_compiler_wl='-Wl,'
8665 lt_prog_compiler_pic='-KPIC'
8666 lt_prog_compiler_static='-Bstatic'
8670 lt_prog_compiler_wl='-Wl,'
8671 lt_prog_compiler_can_build_shared=no
8675 lt_prog_compiler_pic='-pic'
8676 lt_prog_compiler_static='-Bstatic'
8680 lt_prog_compiler_can_build_shared=no
8686 # For platforms which do not support PIC, -DPIC is meaningless:
8688 lt_prog_compiler_pic=
8691 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8695 $as_echo "$lt_prog_compiler_pic" >&6; }
8703 # Check to make sure the PIC flag actually works.
8705 if test -n "$lt_prog_compiler_pic"; then
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8707 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8708 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8709 $as_echo_n "(cached) " >&6
8711 lt_cv_prog_compiler_pic_works=no
8712 ac_outfile=conftest.$ac_objext
8713 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8714 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8715 # Insert the option either (1) after the last *FLAGS variable, or
8716 # (2) before a word containing "conftest.", or (3) at the end.
8717 # Note that $ac_compile itself does not contain backslashes and begins
8718 # with a dollar sign (not a hyphen), so the echo should work correctly.
8719 # The option is referenced via a variable to avoid confusing sed.
8720 lt_compile=`echo "$ac_compile" | $SED \
8721 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8722 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8723 -e 's:$: $lt_compiler_flag:'`
8724 (eval echo "\"\$as_me:8724: $lt_compile\"" >&5)
8725 (eval "$lt_compile" 2>conftest.err)
8727 cat conftest.err >&5
8728 echo "$as_me:8728: \$? = $ac_status" >&5
8729 if (exit $ac_status) && test -s "$ac_outfile"; then
8730 # The compiler can only warn and ignore the option if not recognized
8731 # So say no if there are warnings other than the usual output.
8732 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8733 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8734 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8735 lt_cv_prog_compiler_pic_works=yes
8741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8742 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8744 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8745 case $lt_prog_compiler_pic in
8747 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8750 lt_prog_compiler_pic=
8751 lt_prog_compiler_can_build_shared=no
8762 # Check to make sure the static flag actually works.
8764 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8766 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8767 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8768 $as_echo_n "(cached) " >&6
8770 lt_cv_prog_compiler_static_works=no
8771 save_LDFLAGS="$LDFLAGS"
8772 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8773 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8774 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8775 # The linker can only warn and ignore the option if not recognized
8776 # So say no if there are warnings
8777 if test -s conftest.err; then
8778 # Append any errors to the config.log.
8779 cat conftest.err 1>&5
8780 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8781 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8782 if diff conftest.exp conftest.er2 >/dev/null; then
8783 lt_cv_prog_compiler_static_works=yes
8786 lt_cv_prog_compiler_static_works=yes
8790 LDFLAGS="$save_LDFLAGS"
8793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8794 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8796 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8799 lt_prog_compiler_static=
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8809 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8810 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8811 $as_echo_n "(cached) " >&6
8813 lt_cv_prog_compiler_c_o=no
8814 $RM -r conftest 2>/dev/null
8818 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8820 lt_compiler_flag="-o out/conftest2.$ac_objext"
8821 # Insert the option either (1) after the last *FLAGS variable, or
8822 # (2) before a word containing "conftest.", or (3) at the end.
8823 # Note that $ac_compile itself does not contain backslashes and begins
8824 # with a dollar sign (not a hyphen), so the echo should work correctly.
8825 lt_compile=`echo "$ac_compile" | $SED \
8826 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8827 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8828 -e 's:$: $lt_compiler_flag:'`
8829 (eval echo "\"\$as_me:8829: $lt_compile\"" >&5)
8830 (eval "$lt_compile" 2>out/conftest.err)
8832 cat out/conftest.err >&5
8833 echo "$as_me:8833: \$? = $ac_status" >&5
8834 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8836 # The compiler can only warn and ignore the option if not recognized
8837 # So say no if there are warnings
8838 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8839 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8840 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8841 lt_cv_prog_compiler_c_o=yes
8846 # SGI C++ compiler will create directory out/ii_files/ for
8847 # template instantiation
8848 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8849 $RM out/* && rmdir out
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8856 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8864 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8865 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8866 $as_echo_n "(cached) " >&6
8868 lt_cv_prog_compiler_c_o=no
8869 $RM -r conftest 2>/dev/null
8873 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8875 lt_compiler_flag="-o out/conftest2.$ac_objext"
8876 # Insert the option either (1) after the last *FLAGS variable, or
8877 # (2) before a word containing "conftest.", or (3) at the end.
8878 # Note that $ac_compile itself does not contain backslashes and begins
8879 # with a dollar sign (not a hyphen), so the echo should work correctly.
8880 lt_compile=`echo "$ac_compile" | $SED \
8881 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8882 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8883 -e 's:$: $lt_compiler_flag:'`
8884 (eval echo "\"\$as_me:8884: $lt_compile\"" >&5)
8885 (eval "$lt_compile" 2>out/conftest.err)
8887 cat out/conftest.err >&5
8888 echo "$as_me:8888: \$? = $ac_status" >&5
8889 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8891 # The compiler can only warn and ignore the option if not recognized
8892 # So say no if there are warnings
8893 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8894 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8895 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8896 lt_cv_prog_compiler_c_o=yes
8901 # SGI C++ compiler will create directory out/ii_files/ for
8902 # template instantiation
8903 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8904 $RM out/* && rmdir out
8910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8911 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8916 hard_links="nottested"
8917 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8918 # do not overwrite the value of need_locks provided by the user
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8920 $as_echo_n "checking if we can lock with hard links... " >&6; }
8923 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8925 ln conftest.a conftest.b 2>&5 || hard_links=no
8926 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8928 $as_echo "$hard_links" >&6; }
8929 if test "$hard_links" = no; then
8930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8931 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8944 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8947 allow_undefined_flag=
8948 always_export_symbols=no
8950 archive_expsym_cmds=
8951 compiler_needs_object=no
8952 enable_shared_with_static_runtimes=no
8953 export_dynamic_flag_spec=
8954 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8955 hardcode_automatic=no
8957 hardcode_direct_absolute=no
8958 hardcode_libdir_flag_spec=
8959 hardcode_libdir_flag_spec_ld=
8960 hardcode_libdir_separator=
8962 hardcode_shlibpath_var=unsupported
8964 link_all_deplibs=unknown
8967 old_archive_from_new_cmds=
8968 old_archive_from_expsyms_cmds=
8969 thread_safe_flag_spec=
8970 whole_archive_flag_spec=
8971 # include_expsyms should be a list of space-separated symbols to be *always*
8972 # included in the symbol list
8974 # exclude_expsyms can be an extended regexp of symbols to exclude
8975 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8976 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8977 # as well as any symbol that contains `d'.
8978 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8979 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8980 # platforms (ab)use it in PIC code, but their linkers get confused if
8981 # the symbol is explicitly referenced. Since portable code cannot
8982 # rely on this symbol name, it's probably fine to never include it in
8983 # preloaded symbol tables.
8984 # Exclude shared library initialization/finalization symbols.
8985 extract_expsyms_cmds=
8988 cygwin* | mingw* | pw32* | cegcc*)
8989 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8990 # When not using gcc, we currently assume that we are using
8991 # Microsoft Visual C++.
8992 if test "$GCC" != yes; then
8997 # we just hope/assume this is gcc and not c89 (= MSVC++)
9003 linux* | k*bsd*-gnu)
9009 if test "$with_gnu_ld" = yes; then
9010 # If archive_cmds runs LD, not CC, wlarc should be empty
9013 # Set some defaults for GNU ld with shared library support. These
9014 # are reset later if shared libraries are not supported. Putting them
9015 # here allows them to be overridden if necessary.
9016 runpath_var=LD_RUN_PATH
9017 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9018 export_dynamic_flag_spec='${wl}--export-dynamic'
9019 # ancient GNU ld didn't support --whole-archive et. al.
9020 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9021 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9023 whole_archive_flag_spec=
9025 supports_anon_versioning=no
9026 case `$LD -v 2>&1` in
9027 *GNU\ gold*) supports_anon_versioning=yes ;;
9028 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9029 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9030 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9031 *\ 2.11.*) ;; # other 2.11 versions
9032 *) supports_anon_versioning=yes ;;
9035 # See if GNU ld supports shared libraries.
9038 # On AIX/PPC, the GNU linker is very broken
9039 if test "$host_cpu" != ia64; then
9043 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9044 *** to be unable to reliably create shared libraries on AIX.
9045 *** Therefore, libtool is disabling shared libraries support. If you
9046 *** really care for shared libraries, you may want to modify your PATH
9047 *** so that a non-GNU linker is found, and then restart.
9056 # see comment about AmigaOS4 .so support
9057 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9058 archive_expsym_cmds=''
9061 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)'
9062 hardcode_libdir_flag_spec='-L$libdir'
9063 hardcode_minus_L=yes
9069 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9070 allow_undefined_flag=unsupported
9071 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9072 # support --undefined. This deserves some investigation. FIXME
9073 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9079 cygwin* | mingw* | pw32* | cegcc*)
9080 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9081 # as there is no search path for DLLs.
9082 hardcode_libdir_flag_spec='-L$libdir'
9083 allow_undefined_flag=unsupported
9084 always_export_symbols=no
9085 enable_shared_with_static_runtimes=yes
9086 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9088 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9089 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9090 # If the export-symbols file already is a .def file (1st line
9091 # is EXPORTS), use it as is; otherwise, prepend...
9092 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9093 cp $export_symbols $output_objdir/$soname.def;
9095 echo EXPORTS > $output_objdir/$soname.def;
9096 cat $export_symbols >> $output_objdir/$soname.def;
9098 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9106 hardcode_shlibpath_var=no
9107 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9108 export_dynamic_flag_spec='${wl}-E'
9109 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9110 # Instead, shared libraries are loaded at an image base (0x10000000 by
9111 # default) and relocated if they conflict, which is a slow very memory
9112 # consuming and fragmenting process. To avoid this, we pick a random,
9113 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9114 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9115 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9116 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'
9119 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9121 if test "$host_os" = linux-dietlibc; then
9122 case $cc_basename in
9123 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9126 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9127 && test "$tmp_diet" = no
9130 tmp_sharedflag='-shared'
9131 case $cc_basename,$host_cpu in
9132 pgcc*) # Portland Group C compiler
9133 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'
9134 tmp_addflag=' $pic_flag'
9136 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
9137 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'
9138 tmp_addflag=' $pic_flag -Mnomain' ;;
9139 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9140 tmp_addflag=' -i_dynamic' ;;
9141 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9142 tmp_addflag=' -i_dynamic -nofor_main' ;;
9143 ifc* | ifort*) # Intel Fortran compiler
9144 tmp_addflag=' -nofor_main' ;;
9145 lf95*) # Lahey Fortran 8.1
9146 whole_archive_flag_spec=
9147 tmp_sharedflag='--shared' ;;
9148 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9149 tmp_sharedflag='-qmkshrobj'
9152 case `$CC -V 2>&1 | sed 5q` in
9153 *Sun\ C*) # Sun C 5.9
9154 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'
9155 compiler_needs_object=yes
9156 tmp_sharedflag='-G' ;;
9157 *Sun\ F*) # Sun Fortran 8.3
9158 tmp_sharedflag='-G' ;;
9160 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9162 if test "x$supports_anon_versioning" = xyes; then
9163 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9164 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9165 echo "local: *; };" >> $output_objdir/$libname.ver~
9166 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9169 case $cc_basename in
9171 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9172 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9173 hardcode_libdir_flag_spec=
9174 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9175 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9176 if test "x$supports_anon_versioning" = xyes; then
9177 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9178 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9179 echo "local: *; };" >> $output_objdir/$libname.ver~
9180 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9189 netbsd* | netbsdelf*-gnu)
9190 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9191 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9194 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9195 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9200 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9204 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9205 *** create shared libraries on Solaris systems. Therefore, libtool
9206 *** is disabling shared libraries support. We urge you to upgrade GNU
9207 *** binutils to release 2.9.1 or newer. Another option is to modify
9208 *** your PATH or compiler configuration so that the native linker is
9209 *** used, and then restart.
9212 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9213 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9214 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9220 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9221 case `$LD -v 2>&1` in
9222 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9226 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9227 *** reliably create shared libraries on SCO systems. Therefore, libtool
9228 *** is disabling shared libraries support. We urge you to upgrade GNU
9229 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9230 *** your PATH or compiler configuration so that the native linker is
9231 *** used, and then restart.
9236 # For security reasons, it is highly recommended that you always
9237 # use absolute paths for naming shared libraries, and exclude the
9238 # DT_RUNPATH tag from executables and libraries. But doing so
9239 # requires that you compile everything twice, which is a pain.
9240 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9241 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9242 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9243 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9252 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9255 hardcode_shlibpath_var=no
9259 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9260 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9261 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9268 if test "$ld_shlibs" = no; then
9270 hardcode_libdir_flag_spec=
9271 export_dynamic_flag_spec=
9272 whole_archive_flag_spec=
9275 # PORTME fill in a description of your system's linker (not GNU ld)
9278 allow_undefined_flag=unsupported
9279 always_export_symbols=yes
9280 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'
9281 # Note: this linker hardcodes the directories in LIBPATH if there
9282 # are no directories specified by -L.
9283 hardcode_minus_L=yes
9284 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9285 # Neither direct hardcoding nor static linking is supported with a
9287 hardcode_direct=unsupported
9292 if test "$host_cpu" = ia64; then
9293 # On IA64, the linker does run time linking by default, so we don't
9294 # have to do anything special.
9295 aix_use_runtimelinking=no
9296 exp_sym_flag='-Bexport'
9299 # If we're using GNU nm, then we don't want the "-C" option.
9300 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9301 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9302 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'
9304 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'
9306 aix_use_runtimelinking=no
9308 # Test if we are trying to use run time linking or normal
9309 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9310 # need to do runtime linking.
9311 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9312 for ld_flag in $LDFLAGS; do
9313 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9314 aix_use_runtimelinking=yes
9321 exp_sym_flag='-bexport'
9322 no_entry_flag='-bnoentry'
9325 # When large executables or shared objects are built, AIX ld can
9326 # have problems creating the table of contents. If linking a library
9327 # or program results in "error TOC overflow" add -mminimal-toc to
9328 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9329 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9333 hardcode_direct_absolute=yes
9334 hardcode_libdir_separator=':'
9335 link_all_deplibs=yes
9336 file_list_spec='${wl}-f,'
9338 if test "$GCC" = yes; then
9339 case $host_os in aix4.[012]|aix4.[012].*)
9340 # We only want to do this on AIX 4.2 and lower, the check
9341 # below for broken collect2 doesn't work under 4.3+
9342 collect2name=`${CC} -print-prog-name=collect2`
9343 if test -f "$collect2name" &&
9344 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9346 # We have reworked collect2
9349 # We have old collect2
9350 hardcode_direct=unsupported
9351 # It fails to find uninstalled libraries when the uninstalled
9352 # path is not listed in the libpath. Setting hardcode_minus_L
9353 # to unsupported forces relinking
9354 hardcode_minus_L=yes
9355 hardcode_libdir_flag_spec='-L$libdir'
9356 hardcode_libdir_separator=
9360 shared_flag='-shared'
9361 if test "$aix_use_runtimelinking" = yes; then
9362 shared_flag="$shared_flag "'${wl}-G'
9367 if test "$host_cpu" = ia64; then
9368 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9369 # chokes on -Wl,-G. The following line is correct:
9372 if test "$aix_use_runtimelinking" = yes; then
9373 shared_flag='${wl}-G'
9375 shared_flag='${wl}-bM:SRE'
9380 export_dynamic_flag_spec='${wl}-bexpall'
9381 # It seems that -bexpall does not export symbols beginning with
9382 # underscore (_), so it is better to generate a list of symbols to export.
9383 always_export_symbols=yes
9384 if test "$aix_use_runtimelinking" = yes; then
9385 # Warning - without using the other runtime loading flags (-brtl),
9386 # -berok will link without error, but may produce a broken library.
9387 allow_undefined_flag='-berok'
9388 # Determine the default libpath from the value encoded in an
9390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9391 /* end confdefs.h. */
9401 if ac_fn_c_try_link "$LINENO"; then :
9403 lt_aix_libpath_sed='
9404 /Import File Strings/,/^$/ {
9410 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9411 # Check for a 64-bit object if we didn't find anything.
9412 if test -z "$aix_libpath"; then
9413 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9416 rm -f core conftest.err conftest.$ac_objext \
9417 conftest$ac_exeext conftest.$ac_ext
9418 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9420 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9421 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9423 if test "$host_cpu" = ia64; then
9424 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9425 allow_undefined_flag="-z nodefs"
9426 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"
9428 # Determine the default libpath from the value encoded in an
9430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9431 /* end confdefs.h. */
9441 if ac_fn_c_try_link "$LINENO"; then :
9443 lt_aix_libpath_sed='
9444 /Import File Strings/,/^$/ {
9450 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9451 # Check for a 64-bit object if we didn't find anything.
9452 if test -z "$aix_libpath"; then
9453 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9456 rm -f core conftest.err conftest.$ac_objext \
9457 conftest$ac_exeext conftest.$ac_ext
9458 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9460 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9461 # Warning - without using the other run time loading flags,
9462 # -berok will link without error, but may produce a broken library.
9463 no_undefined_flag=' ${wl}-bernotok'
9464 allow_undefined_flag=' ${wl}-berok'
9465 # Exported symbols can be pulled into shared objects from archives
9466 whole_archive_flag_spec='$convenience'
9467 archive_cmds_need_lc=yes
9468 # This is similar to how AIX traditionally builds its shared libraries.
9469 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'
9477 # see comment about AmigaOS4 .so support
9478 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9479 archive_expsym_cmds=''
9482 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)'
9483 hardcode_libdir_flag_spec='-L$libdir'
9484 hardcode_minus_L=yes
9490 export_dynamic_flag_spec=-rdynamic
9493 cygwin* | mingw* | pw32* | cegcc*)
9494 # When not using gcc, we currently assume that we are using
9495 # Microsoft Visual C++.
9496 # hardcode_libdir_flag_spec is actually meaningless, as there is
9497 # no search path for DLLs.
9498 hardcode_libdir_flag_spec=' '
9499 allow_undefined_flag=unsupported
9500 # Tell ltmain to make .lib files, not .a files.
9502 # Tell ltmain to make .dll files, not .so files.
9504 # FIXME: Setting linknames here is a bad hack.
9505 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9506 # The linker will automatically build a .lib file if we build a DLL.
9507 old_archive_from_new_cmds='true'
9508 # FIXME: Should let the user specify the lib program.
9509 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9510 fix_srcfile_path='`cygpath -w "$srcfile"`'
9511 enable_shared_with_static_runtimes=yes
9514 darwin* | rhapsody*)
9517 archive_cmds_need_lc=no
9519 hardcode_automatic=yes
9520 hardcode_shlibpath_var=unsupported
9521 whole_archive_flag_spec=''
9522 link_all_deplibs=yes
9523 allow_undefined_flag="$_lt_dar_allow_undefined"
9524 case $cc_basename in
9525 ifort*) _lt_dar_can_shared=yes ;;
9526 *) _lt_dar_can_shared=$GCC ;;
9528 if test "$_lt_dar_can_shared" = "yes"; then
9529 output_verbose_link_cmd=echo
9530 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9531 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9532 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}"
9533 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}"
9542 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9543 hardcode_libdir_flag_spec='-L$libdir'
9544 hardcode_shlibpath_var=no
9551 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9552 # support. Future versions do this automatically, but an explicit c++rt0.o
9553 # does not break anything, and helps significantly (at the cost of a little
9556 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9557 hardcode_libdir_flag_spec='-R$libdir'
9559 hardcode_shlibpath_var=no
9562 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9564 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9566 hardcode_minus_L=yes
9567 hardcode_shlibpath_var=no
9570 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9571 freebsd* | dragonfly*)
9572 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9573 hardcode_libdir_flag_spec='-R$libdir'
9575 hardcode_shlibpath_var=no
9579 if test "$GCC" = yes; then
9580 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'
9582 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'
9584 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9585 hardcode_libdir_separator=:
9588 # hardcode_minus_L: Not really in the search PATH,
9589 # but as the default location of the library.
9590 hardcode_minus_L=yes
9591 export_dynamic_flag_spec='${wl}-E'
9595 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9596 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9598 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9600 if test "$with_gnu_ld" = no; then
9601 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9602 hardcode_libdir_flag_spec_ld='+b $libdir'
9603 hardcode_libdir_separator=:
9605 hardcode_direct_absolute=yes
9606 export_dynamic_flag_spec='${wl}-E'
9607 # hardcode_minus_L: Not really in the search PATH,
9608 # but as the default location of the library.
9609 hardcode_minus_L=yes
9614 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9617 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9620 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9623 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9629 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9632 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9635 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9639 if test "$with_gnu_ld" = no; then
9640 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9641 hardcode_libdir_separator=:
9646 hardcode_shlibpath_var=no
9650 hardcode_direct_absolute=yes
9651 export_dynamic_flag_spec='${wl}-E'
9653 # hardcode_minus_L: Not really in the search PATH,
9654 # but as the default location of the library.
9655 hardcode_minus_L=yes
9661 irix5* | irix6* | nonstopux*)
9662 if test "$GCC" = yes; then
9663 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9664 # Try to use the -exported_symbol ld option, if it does not
9665 # work, assume that -exports_file does not work either and
9666 # implicitly export all symbols.
9667 save_LDFLAGS="$LDFLAGS"
9668 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9670 /* end confdefs.h. */
9673 if ac_fn_c_try_link "$LINENO"; then :
9674 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9677 rm -f core conftest.err conftest.$ac_objext \
9678 conftest$ac_exeext conftest.$ac_ext
9679 LDFLAGS="$save_LDFLAGS"
9681 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9682 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9684 archive_cmds_need_lc='no'
9685 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9686 hardcode_libdir_separator=:
9688 link_all_deplibs=yes
9691 netbsd* | netbsdelf*-gnu)
9692 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9693 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9695 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9697 hardcode_libdir_flag_spec='-R$libdir'
9699 hardcode_shlibpath_var=no
9703 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9705 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9706 hardcode_libdir_separator=:
9707 hardcode_shlibpath_var=no
9714 if test -f /usr/libexec/ld.so; then
9716 hardcode_shlibpath_var=no
9717 hardcode_direct_absolute=yes
9718 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9719 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9720 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9721 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9722 export_dynamic_flag_spec='${wl}-E'
9725 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9726 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9727 hardcode_libdir_flag_spec='-R$libdir'
9730 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9731 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9741 hardcode_libdir_flag_spec='-L$libdir'
9742 hardcode_minus_L=yes
9743 allow_undefined_flag=unsupported
9744 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'
9745 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9749 if test "$GCC" = yes; then
9750 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9751 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9753 allow_undefined_flag=' -expect_unresolved \*'
9754 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9756 archive_cmds_need_lc='no'
9757 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9758 hardcode_libdir_separator=:
9761 osf4* | osf5*) # as osf3* with the addition of -msym flag
9762 if test "$GCC" = yes; then
9763 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9764 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9765 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9767 allow_undefined_flag=' -expect_unresolved \*'
9768 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9769 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
9770 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9772 # Both c and cxx compiler support -rpath directly
9773 hardcode_libdir_flag_spec='-rpath $libdir'
9775 archive_cmds_need_lc='no'
9776 hardcode_libdir_separator=:
9780 no_undefined_flag=' -z defs'
9781 if test "$GCC" = yes; then
9783 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9784 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9785 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9787 case `$CC -V 2>&1` in
9790 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9791 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9792 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9796 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9797 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9798 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9802 hardcode_libdir_flag_spec='-R$libdir'
9803 hardcode_shlibpath_var=no
9805 solaris2.[0-5] | solaris2.[0-5].*) ;;
9807 # The compiler driver will combine and reorder linker options,
9808 # but understands `-z linker_flag'. GCC discards it without `$wl',
9809 # but is careful enough not to reorder.
9810 # Supported since Solaris 2.6 (maybe 2.5.1?)
9811 if test "$GCC" = yes; then
9812 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9814 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9818 link_all_deplibs=yes
9822 if test "x$host_vendor" = xsequent; then
9823 # Use $CC to link under sequent, because it throws in some extra .o
9824 # files that make .init and .fini sections work.
9825 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9827 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9829 hardcode_libdir_flag_spec='-L$libdir'
9831 hardcode_minus_L=yes
9832 hardcode_shlibpath_var=no
9836 case $host_vendor in
9838 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9839 hardcode_direct=yes # is this really true???
9842 ## LD is ld it makes a PLAMLIB
9843 ## CC just makes a GrossModule.
9844 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9845 reload_cmds='$CC -r -o $output$reload_objs'
9849 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9850 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9853 runpath_var='LD_RUN_PATH'
9854 hardcode_shlibpath_var=no
9858 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9859 hardcode_shlibpath_var=no
9860 export_dynamic_flag_spec='-Bexport'
9864 if test -d /usr/nec; then
9865 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9866 hardcode_shlibpath_var=no
9867 runpath_var=LD_RUN_PATH
9868 hardcode_runpath_var=yes
9873 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9874 no_undefined_flag='${wl}-z,text'
9875 archive_cmds_need_lc=no
9876 hardcode_shlibpath_var=no
9877 runpath_var='LD_RUN_PATH'
9879 if test "$GCC" = yes; then
9880 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9881 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9883 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9884 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9888 sysv5* | sco3.2v5* | sco5v6*)
9889 # Note: We can NOT use -z defs as we might desire, because we do not
9890 # link with -lc, and that would cause any symbols used from libc to
9891 # always be unresolved, which means just about no library would
9892 # ever link correctly. If we're not using GNU ld we use -z text
9893 # though, which does catch some bad symbols but isn't as heavy-handed
9895 no_undefined_flag='${wl}-z,text'
9896 allow_undefined_flag='${wl}-z,nodefs'
9897 archive_cmds_need_lc=no
9898 hardcode_shlibpath_var=no
9899 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9900 hardcode_libdir_separator=':'
9901 link_all_deplibs=yes
9902 export_dynamic_flag_spec='${wl}-Bexport'
9903 runpath_var='LD_RUN_PATH'
9905 if test "$GCC" = yes; then
9906 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9907 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9909 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9910 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9915 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9916 hardcode_libdir_flag_spec='-L$libdir'
9917 hardcode_shlibpath_var=no
9925 if test x$host_vendor = xsni; then
9927 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9928 export_dynamic_flag_spec='${wl}-Blargedynsym'
9934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9935 $as_echo "$ld_shlibs" >&6; }
9936 test "$ld_shlibs" = no && can_build_shared=no
9938 with_gnu_ld=$with_gnu_ld
9955 # Do we need to explicitly link libc?
9957 case "x$archive_cmds_need_lc" in
9959 # Assume -lc should be added
9960 archive_cmds_need_lc=yes
9962 if test "$enable_shared" = yes && test "$GCC" = yes; then
9963 case $archive_cmds in
9965 # FIXME: we may have to deal with multi-command sequences.
9968 # Test whether the compiler implicitly links with -lc since on some
9969 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9970 # to ld, don't add -lc before -lgcc.
9971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9972 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9974 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9976 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9977 (eval $ac_compile) 2>&5
9979 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9980 test $ac_status = 0; } 2>conftest.err; then
9983 libobjs=conftest.$ac_objext
9985 wl=$lt_prog_compiler_wl
9986 pic_flag=$lt_prog_compiler_pic
9992 lt_save_allow_undefined_flag=$allow_undefined_flag
9993 allow_undefined_flag=
9994 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9995 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9998 test $ac_status = 0; }
10000 archive_cmds_need_lc=no
10002 archive_cmds_need_lc=yes
10004 allow_undefined_flag=$lt_save_allow_undefined_flag
10006 cat conftest.err 1>&5
10009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10010 $as_echo "$archive_cmds_need_lc" >&6; }
10173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10174 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10176 if test "$GCC" = yes; then
10178 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10179 *) lt_awk_arg="/^libraries:/" ;;
10181 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10182 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10183 # if the path contains ";" then we assume it to be the separator
10184 # otherwise default to the standard path separator (i.e. ":") - it is
10185 # assumed that no part of a normal pathname contains ";" but that should
10186 # okay in the real world where ";" in dirpaths is itself problematic.
10187 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10189 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10191 # Ok, now we have the path, separated by spaces, we can step through it
10192 # and add multilib dir if necessary.
10193 lt_tmp_lt_search_path_spec=
10194 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10195 for lt_sys_path in $lt_search_path_spec; do
10196 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10197 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10199 test -d "$lt_sys_path" && \
10200 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10203 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10204 BEGIN {RS=" "; FS="/|\n";} {
10207 for (lt_i = NF; lt_i > 0; lt_i--) {
10208 if ($lt_i != "" && $lt_i != ".") {
10209 if ($lt_i == "..") {
10212 if (lt_count == 0) {
10213 lt_foo="/" $lt_i lt_foo;
10220 if (lt_foo != "") { lt_freq[lt_foo]++; }
10221 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10223 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10225 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10227 library_names_spec=
10228 libname_spec='lib$name'
10232 postuninstall_cmds=
10236 shlibpath_overrides_runpath=unknown
10238 dynamic_linker="$host_os ld.so"
10239 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10240 need_lib_prefix=unknown
10241 hardcode_into_libs=no
10243 # when you set need_version to no, make sure it does not cause -set_version
10244 # flags to be left without arguments
10245 need_version=unknown
10250 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10251 shlibpath_var=LIBPATH
10253 # AIX 3 has no versioning support, so we append a major version to the name.
10254 soname_spec='${libname}${release}${shared_ext}$major'
10261 hardcode_into_libs=yes
10262 if test "$host_cpu" = ia64; then
10263 # AIX 5 supports IA64
10264 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10265 shlibpath_var=LD_LIBRARY_PATH
10267 # With GCC up to 2.95.x, collect2 would create an import file
10268 # for dependence libraries. The import file would start with
10269 # the line `#! .'. This would cause the generated library to
10270 # depend on `.', always an invalid library. This was fixed in
10271 # development snapshots of GCC prior to 3.0.
10273 aix4 | aix4.[01] | aix4.[01].*)
10274 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10276 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10279 can_build_shared=no
10283 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10284 # soname into executable. Probably we can add versioning support to
10285 # collect2, so additional links can be useful in future.
10286 if test "$aix_use_runtimelinking" = yes; then
10287 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10288 # instead of lib<name>.a to let people know that these are not
10289 # typical AIX shared libraries.
10290 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10292 # We preserve .a as extension for shared libraries through AIX4.2
10293 # and later when we are not doing run time linking.
10294 library_names_spec='${libname}${release}.a $libname.a'
10295 soname_spec='${libname}${release}${shared_ext}$major'
10297 shlibpath_var=LIBPATH
10304 # Since July 2007 AmigaOS4 officially supports .so libraries.
10305 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10306 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10309 library_names_spec='$libname.ixlibrary $libname.a'
10310 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10311 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'
10317 library_names_spec='${libname}${shared_ext}'
10318 dynamic_linker="$host_os ld.so"
10319 shlibpath_var=LIBRARY_PATH
10325 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10326 soname_spec='${libname}${release}${shared_ext}$major'
10327 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10328 shlibpath_var=LD_LIBRARY_PATH
10329 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10330 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10331 # the default ld.so.conf also contains /usr/contrib/lib and
10332 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10333 # libtool to hard-code these into programs
10336 cygwin* | mingw* | pw32* | cegcc*)
10337 version_type=windows
10342 case $GCC,$host_os in
10343 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10344 library_names_spec='$libname.dll.a'
10345 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10346 postinstall_cmds='base_file=`basename \${file}`~
10347 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10348 dldir=$destdir/`dirname \$dlpath`~
10349 test -d \$dldir || mkdir -p \$dldir~
10350 $install_prog $dir/$dlname \$dldir/$dlname~
10351 chmod a+x \$dldir/$dlname~
10352 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10353 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10355 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10356 dlpath=$dir/\$dldll~
10358 shlibpath_overrides_runpath=yes
10362 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10363 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10364 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10367 # MinGW DLLs use traditional 'lib' prefix
10368 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10369 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10370 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10371 # It is most probably a Windows format PATH printed by
10372 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10373 # path with ; separators, and with drive letters. We can handle the
10374 # drive letters (cygwin fileutils understands them), so leave them,
10375 # especially as we might pass files found there to a mingw objdump,
10376 # which wouldn't understand a cygwinified path. Ahh.
10377 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10379 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10383 # pw32 DLLs use 'pw' prefix rather than 'lib'
10384 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10390 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10393 dynamic_linker='Win32 ld.exe'
10394 # FIXME: first we should search . and the directory the executable is in
10398 darwin* | rhapsody*)
10399 dynamic_linker="$host_os dyld"
10400 version_type=darwin
10403 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10404 soname_spec='${libname}${release}${major}$shared_ext'
10405 shlibpath_overrides_runpath=yes
10406 shlibpath_var=DYLD_LIBRARY_PATH
10407 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10409 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10410 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10417 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10418 soname_spec='${libname}${release}${shared_ext}$major'
10419 shlibpath_var=LD_LIBRARY_PATH
10426 freebsd* | dragonfly*)
10427 # DragonFly does not have aout. When/if they implement a new
10428 # versioning mechanism, adjust this.
10429 if test -x /usr/bin/objformat; then
10430 objformat=`/usr/bin/objformat`
10433 freebsd[123]*) objformat=aout ;;
10434 *) objformat=elf ;;
10437 version_type=freebsd-$objformat
10438 case $version_type in
10440 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10445 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10449 shlibpath_var=LD_LIBRARY_PATH
10452 shlibpath_overrides_runpath=yes
10454 freebsd3.[01]* | freebsdelf3.[01]*)
10455 shlibpath_overrides_runpath=yes
10456 hardcode_into_libs=yes
10458 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10459 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10460 shlibpath_overrides_runpath=no
10461 hardcode_into_libs=yes
10463 *) # from 4.6 on, and DragonFly
10464 shlibpath_overrides_runpath=yes
10465 hardcode_into_libs=yes
10474 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10475 soname_spec='${libname}${release}${shared_ext}$major'
10476 shlibpath_var=LD_LIBRARY_PATH
10477 hardcode_into_libs=yes
10480 hpux9* | hpux10* | hpux11*)
10481 # Give a soname corresponding to the major version so that dld.sl refuses to
10482 # link against other versions.
10489 hardcode_into_libs=yes
10490 dynamic_linker="$host_os dld.so"
10491 shlibpath_var=LD_LIBRARY_PATH
10492 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10493 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10494 soname_spec='${libname}${release}${shared_ext}$major'
10495 if test "X$HPUX_IA64_MODE" = X32; then
10496 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10498 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10500 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10504 hardcode_into_libs=yes
10505 dynamic_linker="$host_os dld.sl"
10506 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10507 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10508 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10509 soname_spec='${libname}${release}${shared_ext}$major'
10510 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10511 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10515 dynamic_linker="$host_os dld.sl"
10516 shlibpath_var=SHLIB_PATH
10517 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10518 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10519 soname_spec='${libname}${release}${shared_ext}$major'
10522 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10523 postinstall_cmds='chmod 555 $lib'
10530 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10531 soname_spec='${libname}${release}${shared_ext}$major'
10532 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10533 shlibpath_var=LD_LIBRARY_PATH
10534 shlibpath_overrides_runpath=no
10535 hardcode_into_libs=yes
10538 irix5* | irix6* | nonstopux*)
10540 nonstopux*) version_type=nonstopux ;;
10542 if test "$lt_cv_prog_gnu_ld" = yes; then
10550 soname_spec='${libname}${release}${shared_ext}$major'
10551 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10553 irix5* | nonstopux*)
10554 libsuff= shlibsuff=
10557 case $LD in # libtool.m4 will add one of these switches to LD
10558 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10559 libsuff= shlibsuff= libmagic=32-bit;;
10560 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10561 libsuff=32 shlibsuff=N32 libmagic=N32;;
10562 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10563 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10564 *) libsuff= shlibsuff= libmagic=never-match;;
10568 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10569 shlibpath_overrides_runpath=no
10570 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10571 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10572 hardcode_into_libs=yes
10575 # No shared lib support for Linux oldld, aout, or coff.
10576 linux*oldld* | linux*aout* | linux*coff*)
10580 # This must be Linux ELF.
10581 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10585 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10586 soname_spec='${libname}${release}${shared_ext}$major'
10587 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10588 shlibpath_var=LD_LIBRARY_PATH
10589 shlibpath_overrides_runpath=no
10590 # Some binutils ld are patched to set DT_RUNPATH
10591 save_LDFLAGS=$LDFLAGS
10592 save_libdir=$libdir
10593 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10594 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10596 /* end confdefs.h. */
10606 if ac_fn_c_try_link "$LINENO"; then :
10607 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10608 shlibpath_overrides_runpath=yes
10611 rm -f core conftest.err conftest.$ac_objext \
10612 conftest$ac_exeext conftest.$ac_ext
10613 LDFLAGS=$save_LDFLAGS
10614 libdir=$save_libdir
10616 # This implies no fast_install, which is unacceptable.
10617 # Some rework will be needed to allow for fast_install
10618 # before this can be enabled.
10619 hardcode_into_libs=yes
10621 # Append ld.so.conf contents to the search path
10622 if test -f /etc/ld.so.conf; then
10623 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' ' '`
10624 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10627 # We used to test for /lib/ld.so.1 and disable shared libraries on
10628 # powerpc, because MkLinux only supported shared libraries with the
10629 # GNU dynamic linker. Since this was broken with cross compilers,
10630 # most powerpc-linux boxes support dynamic linking these days and
10631 # people can always --disable-shared, the test was removed, and we
10632 # assume the GNU/Linux dynamic linker is in use.
10633 dynamic_linker='GNU/Linux ld.so'
10640 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10641 soname_spec='${libname}${release}${shared_ext}$major'
10642 shlibpath_var=LD_LIBRARY_PATH
10643 shlibpath_overrides_runpath=no
10644 hardcode_into_libs=yes
10645 dynamic_linker='NetBSD ld.elf_so'
10652 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10653 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10654 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10655 dynamic_linker='NetBSD (a.out) ld.so'
10657 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10658 soname_spec='${libname}${release}${shared_ext}$major'
10659 dynamic_linker='NetBSD ld.elf_so'
10661 shlibpath_var=LD_LIBRARY_PATH
10662 shlibpath_overrides_runpath=yes
10663 hardcode_into_libs=yes
10668 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10669 shlibpath_var=LD_LIBRARY_PATH
10670 shlibpath_overrides_runpath=yes
10677 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10678 soname_spec='${libname}${release}${shared_ext}$major'
10679 shlibpath_var=LD_LIBRARY_PATH
10680 shlibpath_overrides_runpath=no
10681 hardcode_into_libs=yes
10682 dynamic_linker='ldqnx.so'
10687 sys_lib_dlsearch_path_spec="/usr/lib"
10689 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10691 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10692 *) need_version=no ;;
10694 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10695 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10696 shlibpath_var=LD_LIBRARY_PATH
10697 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10699 openbsd2.[89] | openbsd2.[89].*)
10700 shlibpath_overrides_runpath=no
10703 shlibpath_overrides_runpath=yes
10707 shlibpath_overrides_runpath=yes
10712 libname_spec='$name'
10715 library_names_spec='$libname${shared_ext} $libname.a'
10716 dynamic_linker='OS/2 ld.exe'
10717 shlibpath_var=LIBPATH
10720 osf3* | osf4* | osf5*)
10724 soname_spec='${libname}${release}${shared_ext}$major'
10725 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10726 shlibpath_var=LD_LIBRARY_PATH
10727 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10728 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10739 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10740 soname_spec='${libname}${release}${shared_ext}$major'
10741 shlibpath_var=LD_LIBRARY_PATH
10742 shlibpath_overrides_runpath=yes
10743 hardcode_into_libs=yes
10744 # ldd complains unless libraries are executable
10745 postinstall_cmds='chmod +x $lib'
10750 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10751 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10752 shlibpath_var=LD_LIBRARY_PATH
10753 shlibpath_overrides_runpath=yes
10754 if test "$with_gnu_ld" = yes; then
10762 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10763 soname_spec='${libname}${release}${shared_ext}$major'
10764 shlibpath_var=LD_LIBRARY_PATH
10765 case $host_vendor in
10767 shlibpath_overrides_runpath=no
10769 runpath_var=LD_RUN_PATH
10777 shlibpath_overrides_runpath=no
10778 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10784 if test -d /usr/nec ;then
10786 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10787 soname_spec='$libname${shared_ext}.$major'
10788 shlibpath_var=LD_LIBRARY_PATH
10792 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10793 version_type=freebsd-elf
10796 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10797 soname_spec='${libname}${release}${shared_ext}$major'
10798 shlibpath_var=LD_LIBRARY_PATH
10799 shlibpath_overrides_runpath=yes
10800 hardcode_into_libs=yes
10801 if test "$with_gnu_ld" = yes; then
10802 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10804 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10807 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10811 sys_lib_dlsearch_path_spec='/usr/lib'
10815 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10819 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10820 shlibpath_var=LD_LIBRARY_PATH
10821 shlibpath_overrides_runpath=no
10822 hardcode_into_libs=yes
10827 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10828 soname_spec='${libname}${release}${shared_ext}$major'
10829 shlibpath_var=LD_LIBRARY_PATH
10836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10837 $as_echo "$dynamic_linker" >&6; }
10838 test "$dynamic_linker" = no && can_build_shared=no
10840 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10841 if test "$GCC" = yes; then
10842 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10845 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10846 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10848 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10849 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10939 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10941 if test -n "$hardcode_libdir_flag_spec" ||
10942 test -n "$runpath_var" ||
10943 test "X$hardcode_automatic" = "Xyes" ; then
10945 # We can hardcode non-existent directories.
10946 if test "$hardcode_direct" != no &&
10947 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10948 # have to relink, otherwise we might link with an installed library
10949 # when we should be linking with a yet-to-be-installed one
10950 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10951 test "$hardcode_minus_L" != no; then
10952 # Linking always hardcodes the temporary library directory.
10953 hardcode_action=relink
10955 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10956 hardcode_action=immediate
10959 # We cannot hardcode anything, or else we can only hardcode existing
10961 hardcode_action=unsupported
10963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10964 $as_echo "$hardcode_action" >&6; }
10966 if test "$hardcode_action" = relink ||
10967 test "$inherit_rpath" = yes; then
10968 # Fast installation is not supported
10969 enable_fast_install=no
10970 elif test "$shlibpath_overrides_runpath" = yes ||
10971 test "$enable_shared" = no; then
10972 # Fast installation is not necessary
10973 enable_fast_install=needless
10981 if test "x$enable_dlopen" != xyes; then
10982 enable_dlopen=unknown
10983 enable_dlopen_self=unknown
10984 enable_dlopen_self_static=unknown
10991 lt_cv_dlopen="load_add_on"
10993 lt_cv_dlopen_self=yes
10996 mingw* | pw32* | cegcc*)
10997 lt_cv_dlopen="LoadLibrary"
11002 lt_cv_dlopen="dlopen"
11007 # if libdl is installed we need to link against it
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11009 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11010 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11011 $as_echo_n "(cached) " >&6
11013 ac_check_lib_save_LIBS=$LIBS
11015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11016 /* end confdefs.h. */
11018 /* Override any GCC internal prototype to avoid an error.
11019 Use char because int might match the return type of a GCC
11020 builtin and then its argument prototype would still apply. */
11033 if ac_fn_c_try_link "$LINENO"; then :
11034 ac_cv_lib_dl_dlopen=yes
11036 ac_cv_lib_dl_dlopen=no
11038 rm -f core conftest.err conftest.$ac_objext \
11039 conftest$ac_exeext conftest.$ac_ext
11040 LIBS=$ac_check_lib_save_LIBS
11042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11043 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11044 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11045 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11048 lt_cv_dlopen="dyld"
11050 lt_cv_dlopen_self=yes
11057 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11058 if test "x$ac_cv_func_shl_load" = x""yes; then :
11059 lt_cv_dlopen="shl_load"
11061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11062 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11063 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11064 $as_echo_n "(cached) " >&6
11066 ac_check_lib_save_LIBS=$LIBS
11068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11069 /* end confdefs.h. */
11071 /* Override any GCC internal prototype to avoid an error.
11072 Use char because int might match the return type of a GCC
11073 builtin and then its argument prototype would still apply. */
11081 return shl_load ();
11086 if ac_fn_c_try_link "$LINENO"; then :
11087 ac_cv_lib_dld_shl_load=yes
11089 ac_cv_lib_dld_shl_load=no
11091 rm -f core conftest.err conftest.$ac_objext \
11092 conftest$ac_exeext conftest.$ac_ext
11093 LIBS=$ac_check_lib_save_LIBS
11095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11096 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11097 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11098 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11100 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11101 if test "x$ac_cv_func_dlopen" = x""yes; then :
11102 lt_cv_dlopen="dlopen"
11104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11105 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11106 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11107 $as_echo_n "(cached) " >&6
11109 ac_check_lib_save_LIBS=$LIBS
11111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11112 /* end confdefs.h. */
11114 /* Override any GCC internal prototype to avoid an error.
11115 Use char because int might match the return type of a GCC
11116 builtin and then its argument prototype would still apply. */
11129 if ac_fn_c_try_link "$LINENO"; then :
11130 ac_cv_lib_dl_dlopen=yes
11132 ac_cv_lib_dl_dlopen=no
11134 rm -f core conftest.err conftest.$ac_objext \
11135 conftest$ac_exeext conftest.$ac_ext
11136 LIBS=$ac_check_lib_save_LIBS
11138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11139 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11140 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11141 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11144 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11145 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11146 $as_echo_n "(cached) " >&6
11148 ac_check_lib_save_LIBS=$LIBS
11149 LIBS="-lsvld $LIBS"
11150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11151 /* end confdefs.h. */
11153 /* Override any GCC internal prototype to avoid an error.
11154 Use char because int might match the return type of a GCC
11155 builtin and then its argument prototype would still apply. */
11168 if ac_fn_c_try_link "$LINENO"; then :
11169 ac_cv_lib_svld_dlopen=yes
11171 ac_cv_lib_svld_dlopen=no
11173 rm -f core conftest.err conftest.$ac_objext \
11174 conftest$ac_exeext conftest.$ac_ext
11175 LIBS=$ac_check_lib_save_LIBS
11177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11178 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11179 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11180 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11183 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11184 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11185 $as_echo_n "(cached) " >&6
11187 ac_check_lib_save_LIBS=$LIBS
11189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11190 /* end confdefs.h. */
11192 /* Override any GCC internal prototype to avoid an error.
11193 Use char because int might match the return type of a GCC
11194 builtin and then its argument prototype would still apply. */
11202 return dld_link ();
11207 if ac_fn_c_try_link "$LINENO"; then :
11208 ac_cv_lib_dld_dld_link=yes
11210 ac_cv_lib_dld_dld_link=no
11212 rm -f core conftest.err conftest.$ac_objext \
11213 conftest$ac_exeext conftest.$ac_ext
11214 LIBS=$ac_check_lib_save_LIBS
11216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11217 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11218 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11219 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11240 if test "x$lt_cv_dlopen" != xno; then
11246 case $lt_cv_dlopen in
11248 save_CPPFLAGS="$CPPFLAGS"
11249 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11251 save_LDFLAGS="$LDFLAGS"
11252 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11255 LIBS="$lt_cv_dlopen_libs $LIBS"
11257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11258 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11259 if test "${lt_cv_dlopen_self+set}" = set; then :
11260 $as_echo_n "(cached) " >&6
11262 if test "$cross_compiling" = yes; then :
11263 lt_cv_dlopen_self=cross
11265 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11266 lt_status=$lt_dlunknown
11267 cat > conftest.$ac_ext <<_LT_EOF
11268 #line 11268 "configure"
11269 #include "confdefs.h"
11278 # define LT_DLGLOBAL RTLD_GLOBAL
11281 # define LT_DLGLOBAL DL_GLOBAL
11283 # define LT_DLGLOBAL 0
11287 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11288 find out it does not work in some platform. */
11289 #ifndef LT_DLLAZY_OR_NOW
11291 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11294 # define LT_DLLAZY_OR_NOW DL_LAZY
11297 # define LT_DLLAZY_OR_NOW RTLD_NOW
11300 # define LT_DLLAZY_OR_NOW DL_NOW
11302 # define LT_DLLAZY_OR_NOW 0
11309 void fnord() { int i=42;}
11312 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11313 int status = $lt_dlunknown;
11317 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11318 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11319 /* dlclose (self); */
11327 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11328 (eval $ac_link) 2>&5
11330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11331 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11332 (./conftest; exit; ) >&5 2>/dev/null
11334 case x$lt_status in
11335 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11336 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11337 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11340 # compilation failed
11341 lt_cv_dlopen_self=no
11348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11349 $as_echo "$lt_cv_dlopen_self" >&6; }
11351 if test "x$lt_cv_dlopen_self" = xyes; then
11352 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11354 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11355 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11356 $as_echo_n "(cached) " >&6
11358 if test "$cross_compiling" = yes; then :
11359 lt_cv_dlopen_self_static=cross
11361 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11362 lt_status=$lt_dlunknown
11363 cat > conftest.$ac_ext <<_LT_EOF
11364 #line 11364 "configure"
11365 #include "confdefs.h"
11374 # define LT_DLGLOBAL RTLD_GLOBAL
11377 # define LT_DLGLOBAL DL_GLOBAL
11379 # define LT_DLGLOBAL 0
11383 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11384 find out it does not work in some platform. */
11385 #ifndef LT_DLLAZY_OR_NOW
11387 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11390 # define LT_DLLAZY_OR_NOW DL_LAZY
11393 # define LT_DLLAZY_OR_NOW RTLD_NOW
11396 # define LT_DLLAZY_OR_NOW DL_NOW
11398 # define LT_DLLAZY_OR_NOW 0
11405 void fnord() { int i=42;}
11408 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11409 int status = $lt_dlunknown;
11413 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11414 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11415 /* dlclose (self); */
11423 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11424 (eval $ac_link) 2>&5
11426 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11427 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11428 (./conftest; exit; ) >&5 2>/dev/null
11430 case x$lt_status in
11431 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11432 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11433 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11436 # compilation failed
11437 lt_cv_dlopen_self_static=no
11444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11445 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11448 CPPFLAGS="$save_CPPFLAGS"
11449 LDFLAGS="$save_LDFLAGS"
11454 case $lt_cv_dlopen_self in
11455 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11456 *) enable_dlopen_self=unknown ;;
11459 case $lt_cv_dlopen_self_static in
11460 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11461 *) enable_dlopen_self_static=unknown ;;
11483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11484 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11485 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11486 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11487 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11489 $as_echo "yes" >&6; }
11491 # FIXME - insert some real tests, host_os isn't really good enough
11494 if test -n "$STRIP" ; then
11495 striplib="$STRIP -x"
11496 old_striplib="$STRIP -S"
11497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11498 $as_echo "yes" >&6; }
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11501 $as_echo "no" >&6; }
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11506 $as_echo "no" >&6; }
11522 # Report which library types will actually be built
11523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11524 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11526 $as_echo "$can_build_shared" >&6; }
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11529 $as_echo_n "checking whether to build shared libraries... " >&6; }
11530 test "$can_build_shared" = "no" && enable_shared=no
11532 # On AIX, shared libraries and static libraries use the same namespace, and
11533 # are all built from PIC.
11536 test "$enable_shared" = yes && enable_static=no
11537 if test -n "$RANLIB"; then
11538 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11539 postinstall_cmds='$RANLIB $lib'
11544 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11545 test "$enable_shared" = yes && enable_static=no
11549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11550 $as_echo "$enable_shared" >&6; }
11552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11553 $as_echo_n "checking whether to build static libraries... " >&6; }
11554 # Make sure either enable_shared or enable_static is yes.
11555 test "$enable_shared" = yes || enable_static=yes
11556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11557 $as_echo "$enable_static" >&6; }
11564 ac_cpp='$CPP $CPPFLAGS'
11565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11583 ac_config_commands="$ac_config_commands libtool"
11588 # Only expand once:
11593 ac_cpp='$CXXCPP $CPPFLAGS'
11594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11597 if test -z "$CXX"; then
11598 if test -n "$CCC"; then
11601 if test -n "$ac_tool_prefix"; then
11602 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11604 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11605 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11607 $as_echo_n "checking for $ac_word... " >&6; }
11608 if test "${ac_cv_prog_CXX+set}" = set; then :
11609 $as_echo_n "(cached) " >&6
11611 if test -n "$CXX"; then
11612 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11615 for as_dir in $PATH
11618 test -z "$as_dir" && as_dir=.
11619 for ac_exec_ext in '' $ac_executable_extensions; do
11620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11621 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11631 CXX=$ac_cv_prog_CXX
11632 if test -n "$CXX"; then
11633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
11634 $as_echo "$CXX" >&6; }
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11637 $as_echo "no" >&6; }
11641 test -n "$CXX" && break
11644 if test -z "$CXX"; then
11646 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11648 # Extract the first word of "$ac_prog", so it can be a program name with args.
11649 set dummy $ac_prog; ac_word=$2
11650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11651 $as_echo_n "checking for $ac_word... " >&6; }
11652 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
11653 $as_echo_n "(cached) " >&6
11655 if test -n "$ac_ct_CXX"; then
11656 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11659 for as_dir in $PATH
11662 test -z "$as_dir" && as_dir=.
11663 for ac_exec_ext in '' $ac_executable_extensions; do
11664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11665 ac_cv_prog_ac_ct_CXX="$ac_prog"
11666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11675 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11676 if test -n "$ac_ct_CXX"; then
11677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
11678 $as_echo "$ac_ct_CXX" >&6; }
11680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11681 $as_echo "no" >&6; }
11685 test -n "$ac_ct_CXX" && break
11688 if test "x$ac_ct_CXX" = x; then
11691 case $cross_compiling:$ac_tool_warned in
11693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11694 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11695 ac_tool_warned=yes ;;
11703 # Provide some information about the compiler.
11704 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
11707 for ac_option in --version -v -V -qversion; do
11708 { { ac_try="$ac_compiler $ac_option >&5"
11709 case "(($ac_try" in
11710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11711 *) ac_try_echo=$ac_try;;
11713 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11714 $as_echo "$ac_try_echo"; } >&5
11715 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11717 if test -s conftest.err; then
11719 ... rest of stderr output deleted ...
11720 10q' conftest.err >conftest.er1
11721 cat conftest.er1 >&5
11723 rm -f conftest.er1 conftest.err
11724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11725 test $ac_status = 0; }
11728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
11729 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
11730 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
11731 $as_echo_n "(cached) " >&6
11733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11734 /* end confdefs.h. */
11747 if ac_fn_cxx_try_compile "$LINENO"; then :
11748 ac_compiler_gnu=yes
11752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11753 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
11757 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
11758 if test $ac_compiler_gnu = yes; then
11763 ac_test_CXXFLAGS=${CXXFLAGS+set}
11764 ac_save_CXXFLAGS=$CXXFLAGS
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
11766 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
11767 if test "${ac_cv_prog_cxx_g+set}" = set; then :
11768 $as_echo_n "(cached) " >&6
11770 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
11771 ac_cxx_werror_flag=yes
11772 ac_cv_prog_cxx_g=no
11774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11775 /* end confdefs.h. */
11785 if ac_fn_cxx_try_compile "$LINENO"; then :
11786 ac_cv_prog_cxx_g=yes
11789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11790 /* end confdefs.h. */
11800 if ac_fn_cxx_try_compile "$LINENO"; then :
11803 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11806 /* end confdefs.h. */
11816 if ac_fn_cxx_try_compile "$LINENO"; then :
11817 ac_cv_prog_cxx_g=yes
11819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11824 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
11827 $as_echo "$ac_cv_prog_cxx_g" >&6; }
11828 if test "$ac_test_CXXFLAGS" = set; then
11829 CXXFLAGS=$ac_save_CXXFLAGS
11830 elif test $ac_cv_prog_cxx_g = yes; then
11831 if test "$GXX" = yes; then
11837 if test "$GXX" = yes; then
11844 ac_cpp='$CPP $CPPFLAGS'
11845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11849 depcc="$CXX" am_compiler_list=
11851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11852 $as_echo_n "checking dependency style of $depcc... " >&6; }
11853 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
11854 $as_echo_n "(cached) " >&6
11856 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11857 # We make a subdir and do the tests there. Otherwise we can end up
11858 # making bogus files that we don't know about and never remove. For
11859 # instance it was reported that on HP-UX the gcc test will end up
11860 # making a dummy file named `D' -- because `-MD' means `put the output
11863 # Copy depcomp to subdir because otherwise we won't find it if we're
11864 # using a relative directory.
11865 cp "$am_depcomp" conftest.dir
11867 # We will build objects and dependencies in a subdirectory because
11868 # it helps to detect inapplicable dependency modes. For instance
11869 # both Tru64's cc and ICC support -MD to output dependencies as a
11870 # side effect of compilation, but ICC will put the dependencies in
11871 # the current directory while Tru64 will put them in the object
11875 am_cv_CXX_dependencies_compiler_type=none
11876 if test "$am_compiler_list" = ""; then
11877 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11879 am__universal=false
11880 case " $depcc " in #(
11881 *\ -arch\ *\ -arch\ *) am__universal=true ;;
11884 for depmode in $am_compiler_list; do
11885 # Setup a source with many dependencies, because some compilers
11886 # like to wrap large dependency lists on column 80 (with \), and
11887 # we should not choose a depcomp mode which is confused by this.
11889 # We need to recreate these files for each test, as the compiler may
11890 # overwrite some of them when testing with obscure command lines.
11891 # This happens at least with the AIX C compiler.
11893 for i in 1 2 3 4 5 6; do
11894 echo '#include "conftst'$i'.h"' >> sub/conftest.c
11895 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11896 # Solaris 8's {/usr,}/bin/sh.
11897 touch sub/conftst$i.h
11899 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11901 # We check with `-c' and `-o' for the sake of the "dashmstdout"
11902 # mode. It turns out that the SunPro C++ compiler does not properly
11903 # handle `-M -o', and we need to detect this. Also, some Intel
11904 # versions had trouble with output in subdirs
11905 am__obj=sub/conftest.${OBJEXT-o}
11906 am__minus_obj="-o $am__obj"
11909 # This depmode causes a compiler race in universal mode.
11910 test "$am__universal" = false || continue
11913 # after this tag, mechanisms are not by side-effect, so they'll
11914 # only be used when explicitly requested
11915 if test "x$enable_dependency_tracking" = xyes; then
11921 msvisualcpp | msvcmsys)
11922 # This compiler won't grok `-c -o', but also, the minuso test has
11923 # not run yet. These depmodes are late enough in the game, and
11924 # so weak that their functioning should not be impacted.
11925 am__obj=conftest.${OBJEXT-o}
11930 if depmode=$depmode \
11931 source=sub/conftest.c object=$am__obj \
11932 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11933 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
11934 >/dev/null 2>conftest.err &&
11935 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11936 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11937 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
11938 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11939 # icc doesn't choke on unknown options, it will just issue warnings
11940 # or remarks (even with -Werror). So we grep stderr for any message
11941 # that says an option was ignored or not supported.
11942 # When given -MP, icc 7.0 and 7.1 complain thusly:
11943 # icc: Command line warning: ignoring option '-M'; no argument required
11944 # The diagnosis changed in icc 8.0:
11945 # icc: Command line remark: option '-MP' not supported
11946 if (grep 'ignoring option' conftest.err ||
11947 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11948 am_cv_CXX_dependencies_compiler_type=$depmode
11955 rm -rf conftest.dir
11957 am_cv_CXX_dependencies_compiler_type=none
11961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
11962 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
11963 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
11966 test "x$enable_dependency_tracking" != xno \
11967 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
11968 am__fastdepCXX_TRUE=
11969 am__fastdepCXX_FALSE='#'
11971 am__fastdepCXX_TRUE='#'
11972 am__fastdepCXX_FALSE=
11978 ac_cpp='$CXXCPP $CPPFLAGS'
11979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11982 if test -z "$CXX"; then
11983 if test -n "$CCC"; then
11986 if test -n "$ac_tool_prefix"; then
11987 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11989 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11990 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11992 $as_echo_n "checking for $ac_word... " >&6; }
11993 if test "${ac_cv_prog_CXX+set}" = set; then :
11994 $as_echo_n "(cached) " >&6
11996 if test -n "$CXX"; then
11997 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12000 for as_dir in $PATH
12003 test -z "$as_dir" && as_dir=.
12004 for ac_exec_ext in '' $ac_executable_extensions; do
12005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12006 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
12007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12016 CXX=$ac_cv_prog_CXX
12017 if test -n "$CXX"; then
12018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
12019 $as_echo "$CXX" >&6; }
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12022 $as_echo "no" >&6; }
12026 test -n "$CXX" && break
12029 if test -z "$CXX"; then
12031 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12033 # Extract the first word of "$ac_prog", so it can be a program name with args.
12034 set dummy $ac_prog; ac_word=$2
12035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12036 $as_echo_n "checking for $ac_word... " >&6; }
12037 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
12038 $as_echo_n "(cached) " >&6
12040 if test -n "$ac_ct_CXX"; then
12041 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
12043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12044 for as_dir in $PATH
12047 test -z "$as_dir" && as_dir=.
12048 for ac_exec_ext in '' $ac_executable_extensions; do
12049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12050 ac_cv_prog_ac_ct_CXX="$ac_prog"
12051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12060 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
12061 if test -n "$ac_ct_CXX"; then
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
12063 $as_echo "$ac_ct_CXX" >&6; }
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12066 $as_echo "no" >&6; }
12070 test -n "$ac_ct_CXX" && break
12073 if test "x$ac_ct_CXX" = x; then
12076 case $cross_compiling:$ac_tool_warned in
12078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12079 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12080 ac_tool_warned=yes ;;
12088 # Provide some information about the compiler.
12089 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
12092 for ac_option in --version -v -V -qversion; do
12093 { { ac_try="$ac_compiler $ac_option >&5"
12094 case "(($ac_try" in
12095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12096 *) ac_try_echo=$ac_try;;
12098 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12099 $as_echo "$ac_try_echo"; } >&5
12100 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12102 if test -s conftest.err; then
12104 ... rest of stderr output deleted ...
12105 10q' conftest.err >conftest.er1
12106 cat conftest.er1 >&5
12108 rm -f conftest.er1 conftest.err
12109 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12110 test $ac_status = 0; }
12113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
12114 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
12115 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
12116 $as_echo_n "(cached) " >&6
12118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12119 /* end confdefs.h. */
12132 if ac_fn_cxx_try_compile "$LINENO"; then :
12133 ac_compiler_gnu=yes
12137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12138 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
12142 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
12143 if test $ac_compiler_gnu = yes; then
12148 ac_test_CXXFLAGS=${CXXFLAGS+set}
12149 ac_save_CXXFLAGS=$CXXFLAGS
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
12151 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
12152 if test "${ac_cv_prog_cxx_g+set}" = set; then :
12153 $as_echo_n "(cached) " >&6
12155 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
12156 ac_cxx_werror_flag=yes
12157 ac_cv_prog_cxx_g=no
12159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12160 /* end confdefs.h. */
12170 if ac_fn_cxx_try_compile "$LINENO"; then :
12171 ac_cv_prog_cxx_g=yes
12174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12175 /* end confdefs.h. */
12185 if ac_fn_cxx_try_compile "$LINENO"; then :
12188 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12191 /* end confdefs.h. */
12201 if ac_fn_cxx_try_compile "$LINENO"; then :
12202 ac_cv_prog_cxx_g=yes
12204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12209 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
12212 $as_echo "$ac_cv_prog_cxx_g" >&6; }
12213 if test "$ac_test_CXXFLAGS" = set; then
12214 CXXFLAGS=$ac_save_CXXFLAGS
12215 elif test $ac_cv_prog_cxx_g = yes; then
12216 if test "$GXX" = yes; then
12222 if test "$GXX" = yes; then
12229 ac_cpp='$CPP $CPPFLAGS'
12230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12234 depcc="$CXX" am_compiler_list=
12236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12237 $as_echo_n "checking dependency style of $depcc... " >&6; }
12238 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
12239 $as_echo_n "(cached) " >&6
12241 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12242 # We make a subdir and do the tests there. Otherwise we can end up
12243 # making bogus files that we don't know about and never remove. For
12244 # instance it was reported that on HP-UX the gcc test will end up
12245 # making a dummy file named `D' -- because `-MD' means `put the output
12248 # Copy depcomp to subdir because otherwise we won't find it if we're
12249 # using a relative directory.
12250 cp "$am_depcomp" conftest.dir
12252 # We will build objects and dependencies in a subdirectory because
12253 # it helps to detect inapplicable dependency modes. For instance
12254 # both Tru64's cc and ICC support -MD to output dependencies as a
12255 # side effect of compilation, but ICC will put the dependencies in
12256 # the current directory while Tru64 will put them in the object
12260 am_cv_CXX_dependencies_compiler_type=none
12261 if test "$am_compiler_list" = ""; then
12262 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12264 am__universal=false
12265 case " $depcc " in #(
12266 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12269 for depmode in $am_compiler_list; do
12270 # Setup a source with many dependencies, because some compilers
12271 # like to wrap large dependency lists on column 80 (with \), and
12272 # we should not choose a depcomp mode which is confused by this.
12274 # We need to recreate these files for each test, as the compiler may
12275 # overwrite some of them when testing with obscure command lines.
12276 # This happens at least with the AIX C compiler.
12278 for i in 1 2 3 4 5 6; do
12279 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12280 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12281 # Solaris 8's {/usr,}/bin/sh.
12282 touch sub/conftst$i.h
12284 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12286 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12287 # mode. It turns out that the SunPro C++ compiler does not properly
12288 # handle `-M -o', and we need to detect this. Also, some Intel
12289 # versions had trouble with output in subdirs
12290 am__obj=sub/conftest.${OBJEXT-o}
12291 am__minus_obj="-o $am__obj"
12294 # This depmode causes a compiler race in universal mode.
12295 test "$am__universal" = false || continue
12298 # after this tag, mechanisms are not by side-effect, so they'll
12299 # only be used when explicitly requested
12300 if test "x$enable_dependency_tracking" = xyes; then
12306 msvisualcpp | msvcmsys)
12307 # This compiler won't grok `-c -o', but also, the minuso test has
12308 # not run yet. These depmodes are late enough in the game, and
12309 # so weak that their functioning should not be impacted.
12310 am__obj=conftest.${OBJEXT-o}
12315 if depmode=$depmode \
12316 source=sub/conftest.c object=$am__obj \
12317 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12318 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12319 >/dev/null 2>conftest.err &&
12320 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12321 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12322 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12323 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12324 # icc doesn't choke on unknown options, it will just issue warnings
12325 # or remarks (even with -Werror). So we grep stderr for any message
12326 # that says an option was ignored or not supported.
12327 # When given -MP, icc 7.0 and 7.1 complain thusly:
12328 # icc: Command line warning: ignoring option '-M'; no argument required
12329 # The diagnosis changed in icc 8.0:
12330 # icc: Command line remark: option '-MP' not supported
12331 if (grep 'ignoring option' conftest.err ||
12332 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12333 am_cv_CXX_dependencies_compiler_type=$depmode
12340 rm -rf conftest.dir
12342 am_cv_CXX_dependencies_compiler_type=none
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
12347 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
12348 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
12351 test "x$enable_dependency_tracking" != xno \
12352 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
12353 am__fastdepCXX_TRUE=
12354 am__fastdepCXX_FALSE='#'
12356 am__fastdepCXX_TRUE='#'
12357 am__fastdepCXX_FALSE=
12361 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12362 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12363 (test "X$CXX" != "Xg++"))) ; then
12365 ac_cpp='$CXXCPP $CPPFLAGS'
12366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12370 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12371 if test -z "$CXXCPP"; then
12372 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
12373 $as_echo_n "(cached) " >&6
12375 # Double quotes because CXXCPP needs to be expanded
12376 for CXXCPP in "$CXX -E" "/lib/cpp"
12378 ac_preproc_ok=false
12379 for ac_cxx_preproc_warn_flag in '' yes
12381 # Use a header file that comes with gcc, so configuring glibc
12382 # with a fresh cross-compiler works.
12383 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12384 # <limits.h> exists even on freestanding compilers.
12385 # On the NeXT, cc -E runs the code through the compiler's parser,
12386 # not just through cpp. "Syntax error" is here to catch this case.
12387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12388 /* end confdefs.h. */
12390 # include <limits.h>
12392 # include <assert.h>
12396 if ac_fn_cxx_try_cpp "$LINENO"; then :
12399 # Broken: fails on valid input.
12402 rm -f conftest.err conftest.$ac_ext
12404 # OK, works on sane cases. Now check whether nonexistent headers
12405 # can be detected and how.
12406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12407 /* end confdefs.h. */
12408 #include <ac_nonexistent.h>
12410 if ac_fn_cxx_try_cpp "$LINENO"; then :
12411 # Broken: success on invalid input.
12414 # Passes both tests.
12418 rm -f conftest.err conftest.$ac_ext
12421 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12422 rm -f conftest.err conftest.$ac_ext
12423 if $ac_preproc_ok; then :
12428 ac_cv_prog_CXXCPP=$CXXCPP
12431 CXXCPP=$ac_cv_prog_CXXCPP
12433 ac_cv_prog_CXXCPP=$CXXCPP
12435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12436 $as_echo "$CXXCPP" >&6; }
12437 ac_preproc_ok=false
12438 for ac_cxx_preproc_warn_flag in '' yes
12440 # Use a header file that comes with gcc, so configuring glibc
12441 # with a fresh cross-compiler works.
12442 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12443 # <limits.h> exists even on freestanding compilers.
12444 # On the NeXT, cc -E runs the code through the compiler's parser,
12445 # not just through cpp. "Syntax error" is here to catch this case.
12446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12447 /* end confdefs.h. */
12449 # include <limits.h>
12451 # include <assert.h>
12455 if ac_fn_cxx_try_cpp "$LINENO"; then :
12458 # Broken: fails on valid input.
12461 rm -f conftest.err conftest.$ac_ext
12463 # OK, works on sane cases. Now check whether nonexistent headers
12464 # can be detected and how.
12465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12466 /* end confdefs.h. */
12467 #include <ac_nonexistent.h>
12469 if ac_fn_cxx_try_cpp "$LINENO"; then :
12470 # Broken: success on invalid input.
12473 # Passes both tests.
12477 rm -f conftest.err conftest.$ac_ext
12480 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12481 rm -f conftest.err conftest.$ac_ext
12482 if $ac_preproc_ok; then :
12485 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12486 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12487 _lt_caught_CXX_error=yes; }
12491 ac_cpp='$CPP $CPPFLAGS'
12492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12497 _lt_caught_CXX_error=yes
12504 ac_cpp='$CXXCPP $CPPFLAGS'
12505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12509 archive_cmds_need_lc_CXX=no
12510 allow_undefined_flag_CXX=
12511 always_export_symbols_CXX=no
12512 archive_expsym_cmds_CXX=
12513 compiler_needs_object_CXX=no
12514 export_dynamic_flag_spec_CXX=
12515 hardcode_direct_CXX=no
12516 hardcode_direct_absolute_CXX=no
12517 hardcode_libdir_flag_spec_CXX=
12518 hardcode_libdir_flag_spec_ld_CXX=
12519 hardcode_libdir_separator_CXX=
12520 hardcode_minus_L_CXX=no
12521 hardcode_shlibpath_var_CXX=unsupported
12522 hardcode_automatic_CXX=no
12523 inherit_rpath_CXX=no
12525 module_expsym_cmds_CXX=
12526 link_all_deplibs_CXX=unknown
12527 old_archive_cmds_CXX=$old_archive_cmds
12528 no_undefined_flag_CXX=
12529 whole_archive_flag_spec_CXX=
12530 enable_shared_with_static_runtimes_CXX=no
12532 # Source file extension for C++ test sources.
12535 # Object file extension for compiled C++ test sources.
12539 # No sense in running all these tests if we already determined that
12540 # the CXX compiler isn't working. Some variables (like enable_shared)
12541 # are currently assumed to apply to all compilers on this platform,
12542 # and will be corrupted by setting them based on a non-working compiler.
12543 if test "$_lt_caught_CXX_error" != yes; then
12544 # Code to be used in simple compile tests
12545 lt_simple_compile_test_code="int some_variable = 0;"
12547 # Code to be used in simple link tests
12548 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12550 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12557 # If no C compiler was specified, use CC.
12560 # If no C compiler flags were specified, use CFLAGS.
12561 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12563 # Allow CC to be a program name with arguments.
12567 # save warnings/boilerplate of simple test code
12568 ac_outfile=conftest.$ac_objext
12569 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12570 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12571 _lt_compiler_boilerplate=`cat conftest.err`
12574 ac_outfile=conftest.$ac_objext
12575 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12576 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12577 _lt_linker_boilerplate=`cat conftest.err`
12581 # Allow CC to be a program name with arguments.
12586 lt_save_with_gnu_ld=$with_gnu_ld
12587 lt_save_path_LD=$lt_cv_path_LD
12588 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12589 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12591 $as_unset lt_cv_prog_gnu_ld
12593 if test -n "${lt_cv_path_LDCXX+set}"; then
12594 lt_cv_path_LD=$lt_cv_path_LDCXX
12596 $as_unset lt_cv_path_LD
12598 test -z "${LDCXX+set}" || LD=$LDCXX
12602 for cc_temp in $compiler""; do
12604 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12605 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12610 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12613 if test -n "$compiler"; then
12614 # We don't want -fno-exception when compiling C++ code, so set the
12615 # no_builtin_flag separately
12616 if test "$GXX" = yes; then
12617 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12619 lt_prog_compiler_no_builtin_flag_CXX=
12622 if test "$GXX" = yes; then
12623 # Set up default GNU C++ configuration
12627 # Check whether --with-gnu-ld was given.
12628 if test "${with_gnu_ld+set}" = set; then :
12629 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12635 if test "$GCC" = yes; then
12636 # Check if gcc -print-prog-name=ld gives a path.
12637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12638 $as_echo_n "checking for ld used by $CC... " >&6; }
12641 # gcc leaves a trailing carriage return which upsets mingw
12642 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12644 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12647 # Accept absolute paths.
12649 re_direlt='/[^/][^/]*/\.\./'
12650 # Canonicalize the pathname of ld
12651 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12652 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12653 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12655 test -z "$LD" && LD="$ac_prog"
12658 # If it fails, then pretend we aren't using GCC.
12662 # If it is relative, then search for the first ld in PATH.
12663 with_gnu_ld=unknown
12666 elif test "$with_gnu_ld" = yes; then
12667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12668 $as_echo_n "checking for GNU ld... " >&6; }
12670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12671 $as_echo_n "checking for non-GNU ld... " >&6; }
12673 if test "${lt_cv_path_LD+set}" = set; then :
12674 $as_echo_n "(cached) " >&6
12676 if test -z "$LD"; then
12677 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12678 for ac_dir in $PATH; do
12680 test -z "$ac_dir" && ac_dir=.
12681 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12682 lt_cv_path_LD="$ac_dir/$ac_prog"
12683 # Check to see if the program is GNU ld. I'd rather use --version,
12684 # but apparently some variants of GNU ld only accept -v.
12685 # Break only if it was the GNU/non-GNU ld that we prefer.
12686 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12687 *GNU* | *'with BFD'*)
12688 test "$with_gnu_ld" != no && break
12691 test "$with_gnu_ld" != yes && break
12698 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12702 LD="$lt_cv_path_LD"
12703 if test -n "$LD"; then
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12705 $as_echo "$LD" >&6; }
12707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12708 $as_echo "no" >&6; }
12710 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12712 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12713 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12714 $as_echo_n "(cached) " >&6
12716 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12717 case `$LD -v 2>&1 </dev/null` in
12718 *GNU* | *'with BFD'*)
12719 lt_cv_prog_gnu_ld=yes
12722 lt_cv_prog_gnu_ld=no
12726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12727 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12728 with_gnu_ld=$lt_cv_prog_gnu_ld
12736 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12737 # archiving commands below assume that GNU ld is being used.
12738 if test "$with_gnu_ld" = yes; then
12739 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12740 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'
12742 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12743 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12745 # If archive_cmds runs LD, not CC, wlarc should be empty
12746 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12747 # investigate it a little bit more. (MM)
12750 # ancient GNU ld didn't support --whole-archive et. al.
12751 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12752 $GREP 'no-whole-archive' > /dev/null; then
12753 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12755 whole_archive_flag_spec_CXX=
12761 # A generic and very simple default shared library creation
12762 # command for GNU C++ for the case where it uses the native
12763 # linker, instead of GNU ld. If possible, this setting should
12764 # overridden to take advantage of the native linker features on
12765 # the platform it is being used on.
12766 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12769 # Commands to make compiler produce verbose output that lists
12770 # what "hidden" libraries, object files and flags are used when
12771 # linking a shared library.
12772 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12780 # PORTME: fill in a description of your system's C++ link characteristics
12781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12782 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12786 # FIXME: insert proper C++ library support
12790 if test "$host_cpu" = ia64; then
12791 # On IA64, the linker does run time linking by default, so we don't
12792 # have to do anything special.
12793 aix_use_runtimelinking=no
12794 exp_sym_flag='-Bexport'
12797 aix_use_runtimelinking=no
12799 # Test if we are trying to use run time linking or normal
12800 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12801 # need to do runtime linking.
12802 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12803 for ld_flag in $LDFLAGS; do
12806 aix_use_runtimelinking=yes
12814 exp_sym_flag='-bexport'
12815 no_entry_flag='-bnoentry'
12818 # When large executables or shared objects are built, AIX ld can
12819 # have problems creating the table of contents. If linking a library
12820 # or program results in "error TOC overflow" add -mminimal-toc to
12821 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12822 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12824 archive_cmds_CXX=''
12825 hardcode_direct_CXX=yes
12826 hardcode_direct_absolute_CXX=yes
12827 hardcode_libdir_separator_CXX=':'
12828 link_all_deplibs_CXX=yes
12829 file_list_spec_CXX='${wl}-f,'
12831 if test "$GXX" = yes; then
12832 case $host_os in aix4.[012]|aix4.[012].*)
12833 # We only want to do this on AIX 4.2 and lower, the check
12834 # below for broken collect2 doesn't work under 4.3+
12835 collect2name=`${CC} -print-prog-name=collect2`
12836 if test -f "$collect2name" &&
12837 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12839 # We have reworked collect2
12842 # We have old collect2
12843 hardcode_direct_CXX=unsupported
12844 # It fails to find uninstalled libraries when the uninstalled
12845 # path is not listed in the libpath. Setting hardcode_minus_L
12846 # to unsupported forces relinking
12847 hardcode_minus_L_CXX=yes
12848 hardcode_libdir_flag_spec_CXX='-L$libdir'
12849 hardcode_libdir_separator_CXX=
12852 shared_flag='-shared'
12853 if test "$aix_use_runtimelinking" = yes; then
12854 shared_flag="$shared_flag "'${wl}-G'
12858 if test "$host_cpu" = ia64; then
12859 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12860 # chokes on -Wl,-G. The following line is correct:
12863 if test "$aix_use_runtimelinking" = yes; then
12864 shared_flag='${wl}-G'
12866 shared_flag='${wl}-bM:SRE'
12871 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12872 # It seems that -bexpall does not export symbols beginning with
12873 # underscore (_), so it is better to generate a list of symbols to
12875 always_export_symbols_CXX=yes
12876 if test "$aix_use_runtimelinking" = yes; then
12877 # Warning - without using the other runtime loading flags (-brtl),
12878 # -berok will link without error, but may produce a broken library.
12879 allow_undefined_flag_CXX='-berok'
12880 # Determine the default libpath from the value encoded in an empty
12882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12883 /* end confdefs.h. */
12893 if ac_fn_cxx_try_link "$LINENO"; then :
12895 lt_aix_libpath_sed='
12896 /Import File Strings/,/^$/ {
12902 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12903 # Check for a 64-bit object if we didn't find anything.
12904 if test -z "$aix_libpath"; then
12905 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12908 rm -f core conftest.err conftest.$ac_objext \
12909 conftest$ac_exeext conftest.$ac_ext
12910 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12912 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12914 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12916 if test "$host_cpu" = ia64; then
12917 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12918 allow_undefined_flag_CXX="-z nodefs"
12919 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"
12921 # Determine the default libpath from the value encoded in an
12922 # empty executable.
12923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12924 /* end confdefs.h. */
12934 if ac_fn_cxx_try_link "$LINENO"; then :
12936 lt_aix_libpath_sed='
12937 /Import File Strings/,/^$/ {
12943 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12944 # Check for a 64-bit object if we didn't find anything.
12945 if test -z "$aix_libpath"; then
12946 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12949 rm -f core conftest.err conftest.$ac_objext \
12950 conftest$ac_exeext conftest.$ac_ext
12951 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12953 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12954 # Warning - without using the other run time loading flags,
12955 # -berok will link without error, but may produce a broken library.
12956 no_undefined_flag_CXX=' ${wl}-bernotok'
12957 allow_undefined_flag_CXX=' ${wl}-berok'
12958 # Exported symbols can be pulled into shared objects from archives
12959 whole_archive_flag_spec_CXX='$convenience'
12960 archive_cmds_need_lc_CXX=yes
12961 # This is similar to how AIX traditionally builds its shared
12963 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'
12969 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12970 allow_undefined_flag_CXX=unsupported
12971 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12972 # support --undefined. This deserves some investigation. FIXME
12973 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12980 case $cc_basename in
12982 # FIXME: insert proper C++ library support
12988 cygwin* | mingw* | pw32* | cegcc*)
12989 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12990 # as there is no search path for DLLs.
12991 hardcode_libdir_flag_spec_CXX='-L$libdir'
12992 allow_undefined_flag_CXX=unsupported
12993 always_export_symbols_CXX=no
12994 enable_shared_with_static_runtimes_CXX=yes
12996 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12997 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'
12998 # If the export-symbols file already is a .def file (1st line
12999 # is EXPORTS), use it as is; otherwise, prepend...
13000 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13001 cp $export_symbols $output_objdir/$soname.def;
13003 echo EXPORTS > $output_objdir/$soname.def;
13004 cat $export_symbols >> $output_objdir/$soname.def;
13006 $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'
13011 darwin* | rhapsody*)
13014 archive_cmds_need_lc_CXX=no
13015 hardcode_direct_CXX=no
13016 hardcode_automatic_CXX=yes
13017 hardcode_shlibpath_var_CXX=unsupported
13018 whole_archive_flag_spec_CXX=''
13019 link_all_deplibs_CXX=yes
13020 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13021 case $cc_basename in
13022 ifort*) _lt_dar_can_shared=yes ;;
13023 *) _lt_dar_can_shared=$GCC ;;
13025 if test "$_lt_dar_can_shared" = "yes"; then
13026 output_verbose_link_cmd=echo
13027 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}"
13028 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13029 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}"
13030 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}"
13031 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13032 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}"
13033 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}"
13043 case $cc_basename in
13045 # FIXME: insert proper C++ library support
13049 # Green Hills C++ Compiler
13050 # FIXME: insert proper C++ library support
13054 # FIXME: insert proper C++ library support
13061 # C++ shared libraries reported to be fairly broken before
13067 archive_cmds_need_lc_CXX=no
13070 freebsd* | dragonfly*)
13071 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13080 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13081 hardcode_libdir_separator_CXX=:
13082 export_dynamic_flag_spec_CXX='${wl}-E'
13083 hardcode_direct_CXX=yes
13084 hardcode_minus_L_CXX=yes # Not in the search PATH,
13085 # but as the default
13086 # location of the library.
13088 case $cc_basename in
13090 # FIXME: insert proper C++ library support
13094 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'
13095 # Commands to make compiler produce verbose output that lists
13096 # what "hidden" libraries, object files and flags are used when
13097 # linking a shared library.
13099 # There doesn't appear to be a way to prevent this compiler from
13100 # explicitly linking system object files so we need to strip them
13101 # from the output so that they don't get included in the library
13103 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
13106 if test "$GXX" = yes; then
13107 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'
13109 # FIXME: insert proper C++ library support
13117 if test $with_gnu_ld = no; then
13118 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13119 hardcode_libdir_separator_CXX=:
13125 export_dynamic_flag_spec_CXX='${wl}-E'
13131 hardcode_direct_CXX=no
13132 hardcode_shlibpath_var_CXX=no
13135 hardcode_direct_CXX=yes
13136 hardcode_direct_absolute_CXX=yes
13137 hardcode_minus_L_CXX=yes # Not in the search PATH,
13138 # but as the default
13139 # location of the library.
13143 case $cc_basename in
13145 # FIXME: insert proper C++ library support
13151 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13154 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13157 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13160 # Commands to make compiler produce verbose output that lists
13161 # what "hidden" libraries, object files and flags are used when
13162 # linking a shared library.
13164 # There doesn't appear to be a way to prevent this compiler from
13165 # explicitly linking system object files so we need to strip them
13166 # from the output so that they don't get included in the library
13168 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
13171 if test "$GXX" = yes; then
13172 if test $with_gnu_ld = no; then
13175 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13178 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13181 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'
13186 # FIXME: insert proper C++ library support
13194 hardcode_direct_CXX=no
13195 hardcode_shlibpath_var_CXX=no
13196 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13197 export_dynamic_flag_spec_CXX='${wl}-E'
13198 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13199 # Instead, shared libraries are loaded at an image base (0x10000000 by
13200 # default) and relocated if they conflict, which is a slow very memory
13201 # consuming and fragmenting process. To avoid this, we pick a random,
13202 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13203 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13204 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'
13205 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'
13208 case $cc_basename in
13211 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13213 # Archives containing C++ object files must be created using
13214 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13215 # necessary to make sure instantiated templates are included
13217 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13220 if test "$GXX" = yes; then
13221 if test "$with_gnu_ld" = no; then
13222 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13224 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
13227 link_all_deplibs_CXX=yes
13230 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13231 hardcode_libdir_separator_CXX=:
13232 inherit_rpath_CXX=yes
13235 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13236 case $cc_basename in
13238 # Kuck and Associates, Inc. (KAI) C++ Compiler
13240 # KCC will only create a shared library if the output file
13241 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13242 # to its proper name (with version) after linking.
13243 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'
13244 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'
13245 # Commands to make compiler produce verbose output that lists
13246 # what "hidden" libraries, object files and flags are used when
13247 # linking a shared library.
13249 # There doesn't appear to be a way to prevent this compiler from
13250 # explicitly linking system object files so we need to strip them
13251 # from the output so that they don't get included in the library
13253 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
13255 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13256 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13258 # Archives containing C++ object files must be created using
13259 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13260 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13265 # version 8.0 and above of icpc choke on multiply defined symbols
13266 # if we add $predep_objects and $postdep_objects, however 7.1 and
13267 # earlier do not add the objects themselves.
13268 case `$CC -V 2>&1` in
13270 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13271 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'
13273 *) # Version 8.0 or newer
13276 ia64*) tmp_idyn=' -i_dynamic';;
13278 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13279 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'
13282 archive_cmds_need_lc_CXX=no
13283 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13284 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13285 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13288 # Portland Group C++ compiler
13290 *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
13291 prelink_cmds_CXX='tpldir=Template.dir~
13293 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13294 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
13295 old_archive_cmds_CXX='tpldir=Template.dir~
13297 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13298 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
13300 archive_cmds_CXX='tpldir=Template.dir~
13302 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13303 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13304 archive_expsym_cmds_CXX='tpldir=Template.dir~
13306 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13307 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13309 *) # Version 6 will use weak symbols
13310 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13311 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'
13315 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13316 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13317 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'
13321 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13322 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'
13324 runpath_var=LD_RUN_PATH
13325 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13326 hardcode_libdir_separator_CXX=:
13328 # Commands to make compiler produce verbose output that lists
13329 # what "hidden" libraries, object files and flags are used when
13330 # linking a shared library.
13332 # There doesn't appear to be a way to prevent this compiler from
13333 # explicitly linking system object files so we need to strip them
13334 # from the output so that they don't get included in the library
13336 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
13339 # IBM XL 8.0 on PPC, with GNU ld
13340 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13341 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13342 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13343 if test "x$supports_anon_versioning" = xyes; then
13344 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13345 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13346 echo "local: *; };" >> $output_objdir/$libname.ver~
13347 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13351 case `$CC -V 2>&1 | sed 5q` in
13354 no_undefined_flag_CXX=' -zdefs'
13355 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13356 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'
13357 hardcode_libdir_flag_spec_CXX='-R$libdir'
13358 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'
13359 compiler_needs_object_CXX=yes
13361 # Not sure whether something based on
13362 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13364 output_verbose_link_cmd='echo'
13366 # Archives containing C++ object files must be created using
13367 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13368 # necessary to make sure instantiated templates are included
13370 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13378 # FIXME: insert proper C++ library support
13383 # FIXME: insert proper C++ library support
13388 case $cc_basename in
13390 # FIXME: insert proper C++ library support
13394 # FIXME: insert proper C++ library support
13401 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13402 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13404 hardcode_libdir_flag_spec_CXX='-R$libdir'
13405 hardcode_direct_CXX=yes
13406 hardcode_shlibpath_var_CXX=no
13408 # Workaround some broken pre-1.5 toolchains
13409 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13417 # C++ shared libraries are fairly broken
13422 if test -f /usr/libexec/ld.so; then
13423 hardcode_direct_CXX=yes
13424 hardcode_shlibpath_var_CXX=no
13425 hardcode_direct_absolute_CXX=yes
13426 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13427 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13428 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13429 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13430 export_dynamic_flag_spec_CXX='${wl}-E'
13431 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13433 output_verbose_link_cmd=echo
13439 osf3* | osf4* | osf5*)
13440 case $cc_basename in
13442 # Kuck and Associates, Inc. (KAI) C++ Compiler
13444 # KCC will only create a shared library if the output file
13445 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13446 # to its proper name (with version) after linking.
13447 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'
13449 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13450 hardcode_libdir_separator_CXX=:
13452 # Archives containing C++ object files must be created using
13453 # the KAI C++ compiler.
13455 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13456 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13460 # Rational C++ 2.4.1
13461 # FIXME: insert proper C++ library support
13467 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13468 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13469 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13472 allow_undefined_flag_CXX=' -expect_unresolved \*'
13473 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13474 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13475 echo "-hidden">> $lib.exp~
13476 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
13478 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13482 hardcode_libdir_separator_CXX=:
13484 # Commands to make compiler produce verbose output that lists
13485 # what "hidden" libraries, object files and flags are used when
13486 # linking a shared library.
13488 # There doesn't appear to be a way to prevent this compiler from
13489 # explicitly linking system object files so we need to strip them
13490 # from the output so that they don't get included in the library
13492 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
13495 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13496 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13499 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13502 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13506 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13507 hardcode_libdir_separator_CXX=:
13509 # Commands to make compiler produce verbose output that lists
13510 # what "hidden" libraries, object files and flags are used when
13511 # linking a shared library.
13512 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13515 # FIXME: insert proper C++ library support
13523 # FIXME: insert proper C++ library support
13528 case $cc_basename in
13531 # FIXME: insert proper C++ library support
13536 # FIXME: insert proper C++ library support
13540 # FIXME: insert proper C++ library support
13547 case $cc_basename in
13549 # Sun C++ 4.2, 5.x and Centerline C++
13550 archive_cmds_need_lc_CXX=yes
13551 no_undefined_flag_CXX=' -zdefs'
13552 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13553 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13554 $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'
13556 hardcode_libdir_flag_spec_CXX='-R$libdir'
13557 hardcode_shlibpath_var_CXX=no
13559 solaris2.[0-5] | solaris2.[0-5].*) ;;
13561 # The compiler driver will combine and reorder linker options,
13562 # but understands `-z linker_flag'.
13563 # Supported since Solaris 2.6 (maybe 2.5.1?)
13564 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13567 link_all_deplibs_CXX=yes
13569 output_verbose_link_cmd='echo'
13571 # Archives containing C++ object files must be created using
13572 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13573 # necessary to make sure instantiated templates are included
13575 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13578 # Green Hills C++ Compiler
13579 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13581 # The C++ compiler must be used to create the archive.
13582 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13585 # GNU C++ compiler with Solaris linker
13586 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13587 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13588 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13589 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13590 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13591 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13593 # Commands to make compiler produce verbose output that lists
13594 # what "hidden" libraries, object files and flags are used when
13595 # linking a shared library.
13596 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13598 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13600 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13601 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13602 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13604 # Commands to make compiler produce verbose output that lists
13605 # what "hidden" libraries, object files and flags are used when
13606 # linking a shared library.
13607 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13610 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13612 solaris2.[0-5] | solaris2.[0-5].*) ;;
13614 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13622 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13623 no_undefined_flag_CXX='${wl}-z,text'
13624 archive_cmds_need_lc_CXX=no
13625 hardcode_shlibpath_var_CXX=no
13626 runpath_var='LD_RUN_PATH'
13628 case $cc_basename in
13630 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13631 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13634 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13635 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13640 sysv5* | sco3.2v5* | sco5v6*)
13641 # Note: We can NOT use -z defs as we might desire, because we do not
13642 # link with -lc, and that would cause any symbols used from libc to
13643 # always be unresolved, which means just about no library would
13644 # ever link correctly. If we're not using GNU ld we use -z text
13645 # though, which does catch some bad symbols but isn't as heavy-handed
13647 no_undefined_flag_CXX='${wl}-z,text'
13648 allow_undefined_flag_CXX='${wl}-z,nodefs'
13649 archive_cmds_need_lc_CXX=no
13650 hardcode_shlibpath_var_CXX=no
13651 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13652 hardcode_libdir_separator_CXX=':'
13653 link_all_deplibs_CXX=yes
13654 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13655 runpath_var='LD_RUN_PATH'
13657 case $cc_basename in
13659 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13660 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13663 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13664 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13670 case $cc_basename in
13672 # NonStop-UX NCC 3.20
13673 # FIXME: insert proper C++ library support
13677 # FIXME: insert proper C++ library support
13684 # FIXME: insert proper C++ library support
13689 # FIXME: insert proper C++ library support
13694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13695 $as_echo "$ld_shlibs_CXX" >&6; }
13696 test "$ld_shlibs_CXX" = no && can_build_shared=no
13702 ## There is no encapsulation within the following macros, do not change
13703 ## the running order or otherwise move them around unless you know exactly
13704 ## what you are doing...
13705 # Dependencies to place before and after the object being linked:
13706 predep_objects_CXX=
13707 postdep_objects_CXX=
13710 compiler_lib_search_path_CXX=
13712 cat > conftest.$ac_ext <<_LT_EOF
13716 Foo (void) { a = 0; }
13722 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13723 (eval $ac_compile) 2>&5
13725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13726 test $ac_status = 0; }; then
13727 # Parse the compiler output and extract the necessary
13728 # objects, libraries and library flags.
13730 # Sentinel used to keep track of whether or not we are before
13731 # the conftest object file.
13732 pre_test_object_deps_done=no
13734 for p in `eval "$output_verbose_link_cmd"`; do
13738 # Some compilers place space between "-{L,R}" and the path.
13739 # Remove the space.
13740 if test $p = "-L" ||
13741 test $p = "-R"; then
13748 if test "$pre_test_object_deps_done" = no; then
13751 # Internal compiler library paths should come after those
13752 # provided the user. The postdeps already come after the
13753 # user supplied libs so there is no need to process them.
13754 if test -z "$compiler_lib_search_path_CXX"; then
13755 compiler_lib_search_path_CXX="${prev}${p}"
13757 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13760 # The "-l" case would never come before the object being
13761 # linked, so don't bother handling this case.
13764 if test -z "$postdeps_CXX"; then
13765 postdeps_CXX="${prev}${p}"
13767 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13773 # This assumes that the test object file only shows up
13774 # once in the compiler output.
13775 if test "$p" = "conftest.$objext"; then
13776 pre_test_object_deps_done=yes
13780 if test "$pre_test_object_deps_done" = no; then
13781 if test -z "$predep_objects_CXX"; then
13782 predep_objects_CXX="$p"
13784 predep_objects_CXX="$predep_objects_CXX $p"
13787 if test -z "$postdep_objects_CXX"; then
13788 postdep_objects_CXX="$p"
13790 postdep_objects_CXX="$postdep_objects_CXX $p"
13795 *) ;; # Ignore the rest.
13803 echo "libtool.m4: error: problem compiling CXX test program"
13806 $RM -f confest.$objext
13808 # PORTME: override above test on systems where it is broken
13811 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13812 # hack all around it, let's just trust "g++" to DTRT.
13813 predep_objects_CXX=
13814 postdep_objects_CXX=
13819 case `$CC -V 2>&1 | sed 5q` in
13823 # The more standards-conforming stlport4 library is
13824 # incompatible with the Cstd library. Avoid specifying
13825 # it if it's in CXXFLAGS. Ignore libCrun as
13826 # -library=stlport4 depends on it.
13827 case " $CXX $CXXFLAGS " in
13828 *" -library=stlport4 "*)
13829 solaris_use_stlport4=yes
13833 if test "$solaris_use_stlport4" != yes; then
13834 postdeps_CXX='-library=Cstd -library=Crun'
13841 case $cc_basename in
13843 # The more standards-conforming stlport4 library is
13844 # incompatible with the Cstd library. Avoid specifying
13845 # it if it's in CXXFLAGS. Ignore libCrun as
13846 # -library=stlport4 depends on it.
13847 case " $CXX $CXXFLAGS " in
13848 *" -library=stlport4 "*)
13849 solaris_use_stlport4=yes
13853 # Adding this requires a known-good setup of shared libraries for
13854 # Sun compiler versions before 5.6, else PIC objects from an old
13855 # archive will be linked into the output, leading to subtle bugs.
13856 if test "$solaris_use_stlport4" != yes; then
13857 postdeps_CXX='-library=Cstd -library=Crun'
13865 case " $postdeps_CXX " in
13866 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13868 compiler_lib_search_dirs_CXX=
13869 if test -n "${compiler_lib_search_path_CXX}"; then
13870 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13903 lt_prog_compiler_wl_CXX=
13904 lt_prog_compiler_pic_CXX=
13905 lt_prog_compiler_static_CXX=
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13908 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13910 # C++ specific cases for pic, static, wl, etc.
13911 if test "$GXX" = yes; then
13912 lt_prog_compiler_wl_CXX='-Wl,'
13913 lt_prog_compiler_static_CXX='-static'
13917 # All AIX code is PIC.
13918 if test "$host_cpu" = ia64; then
13919 # AIX 5 now supports IA64 processor
13920 lt_prog_compiler_static_CXX='-Bstatic'
13927 # see comment about AmigaOS4 .so support
13928 lt_prog_compiler_pic_CXX='-fPIC'
13931 # FIXME: we need at least 68020 code to build shared libraries, but
13932 # adding the `-m68020' flag to GCC prevents building anything better,
13934 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13939 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13940 # PIC is the default for these OSes.
13942 mingw* | cygwin* | os2* | pw32* | cegcc*)
13943 # This hack is so that the source file can tell whether it is being
13944 # built for inclusion in a dll (and should export symbols for example).
13945 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13946 # (--disable-auto-import) libraries
13947 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13949 darwin* | rhapsody*)
13950 # PIC is the default on this platform
13951 # Common symbols not allowed in MH_DYLIB files
13952 lt_prog_compiler_pic_CXX='-fno-common'
13955 # DJGPP does not support shared libraries at all
13956 lt_prog_compiler_pic_CXX=
13959 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13960 # Instead, we relocate shared libraries at runtime.
13963 if test -d /usr/nec; then
13964 lt_prog_compiler_pic_CXX=-Kconform_pic
13968 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13969 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13970 # sets the default TLS model and affects inlining.
13975 lt_prog_compiler_pic_CXX='-fPIC'
13980 # QNX uses GNU C++, but need to define -shared option too, otherwise
13981 # it will coredump.
13982 lt_prog_compiler_pic_CXX='-fPIC -shared'
13985 lt_prog_compiler_pic_CXX='-fPIC'
13991 # All AIX code is PIC.
13992 if test "$host_cpu" = ia64; then
13993 # AIX 5 now supports IA64 processor
13994 lt_prog_compiler_static_CXX='-Bstatic'
13996 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14000 case $cc_basename in
14002 # Green Hills C++ Compiler
14003 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
14008 case $cc_basename in
14010 lt_prog_compiler_pic_CXX='-KPIC'
14013 # Green Hills C++ Compiler
14014 lt_prog_compiler_pic_CXX='-pic'
14020 freebsd* | dragonfly*)
14021 # FreeBSD uses GNU C++
14023 hpux9* | hpux10* | hpux11*)
14024 case $cc_basename in
14026 lt_prog_compiler_wl_CXX='-Wl,'
14027 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14028 if test "$host_cpu" != ia64; then
14029 lt_prog_compiler_pic_CXX='+Z'
14033 lt_prog_compiler_wl_CXX='-Wl,'
14034 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14040 lt_prog_compiler_pic_CXX='+Z'
14049 # This is c89, which is MS Visual C++ (no shared libs)
14050 # Anyone wants to do a port?
14052 irix5* | irix6* | nonstopux*)
14053 case $cc_basename in
14055 lt_prog_compiler_wl_CXX='-Wl,'
14056 lt_prog_compiler_static_CXX='-non_shared'
14057 # CC pic flag -KPIC is the default.
14063 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14064 case $cc_basename in
14067 lt_prog_compiler_wl_CXX='--backend -Wl,'
14068 lt_prog_compiler_pic_CXX='-fPIC'
14071 # old Intel C++ for x86_64 which still supported -KPIC.
14072 lt_prog_compiler_wl_CXX='-Wl,'
14073 lt_prog_compiler_pic_CXX='-KPIC'
14074 lt_prog_compiler_static_CXX='-static'
14077 # Intel C++, used to be incompatible with GCC.
14078 # ICC 10 doesn't accept -KPIC any more.
14079 lt_prog_compiler_wl_CXX='-Wl,'
14080 lt_prog_compiler_pic_CXX='-fPIC'
14081 lt_prog_compiler_static_CXX='-static'
14084 # Portland Group C++ compiler
14085 lt_prog_compiler_wl_CXX='-Wl,'
14086 lt_prog_compiler_pic_CXX='-fpic'
14087 lt_prog_compiler_static_CXX='-Bstatic'
14091 # Make sure the PIC flag is empty. It appears that all Alpha
14092 # Linux and Compaq Tru64 Unix objects are PIC.
14093 lt_prog_compiler_pic_CXX=
14094 lt_prog_compiler_static_CXX='-non_shared'
14097 # IBM XL 8.0 on PPC
14098 lt_prog_compiler_wl_CXX='-Wl,'
14099 lt_prog_compiler_pic_CXX='-qpic'
14100 lt_prog_compiler_static_CXX='-qstaticlink'
14103 case `$CC -V 2>&1 | sed 5q` in
14106 lt_prog_compiler_pic_CXX='-KPIC'
14107 lt_prog_compiler_static_CXX='-Bstatic'
14108 lt_prog_compiler_wl_CXX='-Qoption ld '
14119 case $cc_basename in
14121 lt_prog_compiler_pic_CXX='-W c,exportall'
14127 netbsd* | netbsdelf*-gnu)
14130 # QNX uses GNU C++, but need to define -shared option too, otherwise
14131 # it will coredump.
14132 lt_prog_compiler_pic_CXX='-fPIC -shared'
14134 osf3* | osf4* | osf5*)
14135 case $cc_basename in
14137 lt_prog_compiler_wl_CXX='--backend -Wl,'
14140 # Rational C++ 2.4.1
14141 lt_prog_compiler_pic_CXX='-pic'
14144 # Digital/Compaq C++
14145 lt_prog_compiler_wl_CXX='-Wl,'
14146 # Make sure the PIC flag is empty. It appears that all Alpha
14147 # Linux and Compaq Tru64 Unix objects are PIC.
14148 lt_prog_compiler_pic_CXX=
14149 lt_prog_compiler_static_CXX='-non_shared'
14158 case $cc_basename in
14160 # Sun C++ 4.2, 5.x and Centerline C++
14161 lt_prog_compiler_pic_CXX='-KPIC'
14162 lt_prog_compiler_static_CXX='-Bstatic'
14163 lt_prog_compiler_wl_CXX='-Qoption ld '
14166 # Green Hills C++ Compiler
14167 lt_prog_compiler_pic_CXX='-PIC'
14174 case $cc_basename in
14177 lt_prog_compiler_pic_CXX='-pic'
14178 lt_prog_compiler_static_CXX='-Bstatic'
14182 lt_prog_compiler_pic_CXX='-pic'
14188 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14189 case $cc_basename in
14191 lt_prog_compiler_wl_CXX='-Wl,'
14192 lt_prog_compiler_pic_CXX='-KPIC'
14193 lt_prog_compiler_static_CXX='-Bstatic'
14198 case $cc_basename in
14200 # NonStop-UX NCC 3.20
14201 lt_prog_compiler_pic_CXX='-KPIC'
14210 lt_prog_compiler_can_build_shared_CXX=no
14216 # For platforms which do not support PIC, -DPIC is meaningless:
14218 lt_prog_compiler_pic_CXX=
14221 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14225 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14230 # Check to make sure the PIC flag actually works.
14232 if test -n "$lt_prog_compiler_pic_CXX"; then
14233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14234 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14235 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
14236 $as_echo_n "(cached) " >&6
14238 lt_cv_prog_compiler_pic_works_CXX=no
14239 ac_outfile=conftest.$ac_objext
14240 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14241 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14242 # Insert the option either (1) after the last *FLAGS variable, or
14243 # (2) before a word containing "conftest.", or (3) at the end.
14244 # Note that $ac_compile itself does not contain backslashes and begins
14245 # with a dollar sign (not a hyphen), so the echo should work correctly.
14246 # The option is referenced via a variable to avoid confusing sed.
14247 lt_compile=`echo "$ac_compile" | $SED \
14248 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14249 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14250 -e 's:$: $lt_compiler_flag:'`
14251 (eval echo "\"\$as_me:14251: $lt_compile\"" >&5)
14252 (eval "$lt_compile" 2>conftest.err)
14254 cat conftest.err >&5
14255 echo "$as_me:14255: \$? = $ac_status" >&5
14256 if (exit $ac_status) && test -s "$ac_outfile"; then
14257 # The compiler can only warn and ignore the option if not recognized
14258 # So say no if there are warnings other than the usual output.
14259 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14260 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14261 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14262 lt_cv_prog_compiler_pic_works_CXX=yes
14268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14269 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14271 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14272 case $lt_prog_compiler_pic_CXX in
14274 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14277 lt_prog_compiler_pic_CXX=
14278 lt_prog_compiler_can_build_shared_CXX=no
14286 # Check to make sure the static flag actually works.
14288 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14290 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14291 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
14292 $as_echo_n "(cached) " >&6
14294 lt_cv_prog_compiler_static_works_CXX=no
14295 save_LDFLAGS="$LDFLAGS"
14296 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14297 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14298 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14299 # The linker can only warn and ignore the option if not recognized
14300 # So say no if there are warnings
14301 if test -s conftest.err; then
14302 # Append any errors to the config.log.
14303 cat conftest.err 1>&5
14304 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14305 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14306 if diff conftest.exp conftest.er2 >/dev/null; then
14307 lt_cv_prog_compiler_static_works_CXX=yes
14310 lt_cv_prog_compiler_static_works_CXX=yes
14314 LDFLAGS="$save_LDFLAGS"
14317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14318 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14320 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14323 lt_prog_compiler_static_CXX=
14329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14330 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14331 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14332 $as_echo_n "(cached) " >&6
14334 lt_cv_prog_compiler_c_o_CXX=no
14335 $RM -r conftest 2>/dev/null
14339 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14341 lt_compiler_flag="-o out/conftest2.$ac_objext"
14342 # Insert the option either (1) after the last *FLAGS variable, or
14343 # (2) before a word containing "conftest.", or (3) at the end.
14344 # Note that $ac_compile itself does not contain backslashes and begins
14345 # with a dollar sign (not a hyphen), so the echo should work correctly.
14346 lt_compile=`echo "$ac_compile" | $SED \
14347 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14348 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14349 -e 's:$: $lt_compiler_flag:'`
14350 (eval echo "\"\$as_me:14350: $lt_compile\"" >&5)
14351 (eval "$lt_compile" 2>out/conftest.err)
14353 cat out/conftest.err >&5
14354 echo "$as_me:14354: \$? = $ac_status" >&5
14355 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14357 # The compiler can only warn and ignore the option if not recognized
14358 # So say no if there are warnings
14359 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14360 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14361 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14362 lt_cv_prog_compiler_c_o_CXX=yes
14367 # SGI C++ compiler will create directory out/ii_files/ for
14368 # template instantiation
14369 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14370 $RM out/* && rmdir out
14376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14377 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14382 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14383 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14384 $as_echo_n "(cached) " >&6
14386 lt_cv_prog_compiler_c_o_CXX=no
14387 $RM -r conftest 2>/dev/null
14391 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14393 lt_compiler_flag="-o out/conftest2.$ac_objext"
14394 # Insert the option either (1) after the last *FLAGS variable, or
14395 # (2) before a word containing "conftest.", or (3) at the end.
14396 # Note that $ac_compile itself does not contain backslashes and begins
14397 # with a dollar sign (not a hyphen), so the echo should work correctly.
14398 lt_compile=`echo "$ac_compile" | $SED \
14399 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14400 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14401 -e 's:$: $lt_compiler_flag:'`
14402 (eval echo "\"\$as_me:14402: $lt_compile\"" >&5)
14403 (eval "$lt_compile" 2>out/conftest.err)
14405 cat out/conftest.err >&5
14406 echo "$as_me:14406: \$? = $ac_status" >&5
14407 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14409 # The compiler can only warn and ignore the option if not recognized
14410 # So say no if there are warnings
14411 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14412 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14413 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14414 lt_cv_prog_compiler_c_o_CXX=yes
14419 # SGI C++ compiler will create directory out/ii_files/ for
14420 # template instantiation
14421 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14422 $RM out/* && rmdir out
14428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14429 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14434 hard_links="nottested"
14435 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14436 # do not overwrite the value of need_locks provided by the user
14437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14438 $as_echo_n "checking if we can lock with hard links... " >&6; }
14441 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14443 ln conftest.a conftest.b 2>&5 || hard_links=no
14444 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14446 $as_echo "$hard_links" >&6; }
14447 if test "$hard_links" = no; then
14448 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14449 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14459 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14461 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14464 # If we're using GNU nm, then we don't want the "-C" option.
14465 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14466 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14467 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'
14469 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'
14473 export_symbols_cmds_CXX="$ltdll_cmds"
14475 cygwin* | mingw* | cegcc*)
14476 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'
14478 linux* | k*bsd*-gnu)
14479 link_all_deplibs_CXX=no
14482 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14485 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14488 $as_echo "$ld_shlibs_CXX" >&6; }
14489 test "$ld_shlibs_CXX" = no && can_build_shared=no
14491 with_gnu_ld_CXX=$with_gnu_ld
14499 # Do we need to explicitly link libc?
14501 case "x$archive_cmds_need_lc_CXX" in
14503 # Assume -lc should be added
14504 archive_cmds_need_lc_CXX=yes
14506 if test "$enable_shared" = yes && test "$GCC" = yes; then
14507 case $archive_cmds_CXX in
14509 # FIXME: we may have to deal with multi-command sequences.
14512 # Test whether the compiler implicitly links with -lc since on some
14513 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14514 # to ld, don't add -lc before -lgcc.
14515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14516 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14518 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14520 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14521 (eval $ac_compile) 2>&5
14523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14524 test $ac_status = 0; } 2>conftest.err; then
14527 libobjs=conftest.$ac_objext
14529 wl=$lt_prog_compiler_wl_CXX
14530 pic_flag=$lt_prog_compiler_pic_CXX
14536 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14537 allow_undefined_flag_CXX=
14538 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14539 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14542 test $ac_status = 0; }
14544 archive_cmds_need_lc_CXX=no
14546 archive_cmds_need_lc_CXX=yes
14548 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14550 cat conftest.err 1>&5
14553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
14554 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
14624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14625 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14627 library_names_spec=
14628 libname_spec='lib$name'
14632 postuninstall_cmds=
14636 shlibpath_overrides_runpath=unknown
14638 dynamic_linker="$host_os ld.so"
14639 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14640 need_lib_prefix=unknown
14641 hardcode_into_libs=no
14643 # when you set need_version to no, make sure it does not cause -set_version
14644 # flags to be left without arguments
14645 need_version=unknown
14650 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14651 shlibpath_var=LIBPATH
14653 # AIX 3 has no versioning support, so we append a major version to the name.
14654 soname_spec='${libname}${release}${shared_ext}$major'
14661 hardcode_into_libs=yes
14662 if test "$host_cpu" = ia64; then
14663 # AIX 5 supports IA64
14664 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14665 shlibpath_var=LD_LIBRARY_PATH
14667 # With GCC up to 2.95.x, collect2 would create an import file
14668 # for dependence libraries. The import file would start with
14669 # the line `#! .'. This would cause the generated library to
14670 # depend on `.', always an invalid library. This was fixed in
14671 # development snapshots of GCC prior to 3.0.
14673 aix4 | aix4.[01] | aix4.[01].*)
14674 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14676 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14679 can_build_shared=no
14683 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14684 # soname into executable. Probably we can add versioning support to
14685 # collect2, so additional links can be useful in future.
14686 if test "$aix_use_runtimelinking" = yes; then
14687 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14688 # instead of lib<name>.a to let people know that these are not
14689 # typical AIX shared libraries.
14690 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14692 # We preserve .a as extension for shared libraries through AIX4.2
14693 # and later when we are not doing run time linking.
14694 library_names_spec='${libname}${release}.a $libname.a'
14695 soname_spec='${libname}${release}${shared_ext}$major'
14697 shlibpath_var=LIBPATH
14704 # Since July 2007 AmigaOS4 officially supports .so libraries.
14705 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14706 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14709 library_names_spec='$libname.ixlibrary $libname.a'
14710 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14711 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'
14717 library_names_spec='${libname}${shared_ext}'
14718 dynamic_linker="$host_os ld.so"
14719 shlibpath_var=LIBRARY_PATH
14725 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14726 soname_spec='${libname}${release}${shared_ext}$major'
14727 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14728 shlibpath_var=LD_LIBRARY_PATH
14729 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14730 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14731 # the default ld.so.conf also contains /usr/contrib/lib and
14732 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14733 # libtool to hard-code these into programs
14736 cygwin* | mingw* | pw32* | cegcc*)
14737 version_type=windows
14742 case $GCC,$host_os in
14743 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14744 library_names_spec='$libname.dll.a'
14745 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14746 postinstall_cmds='base_file=`basename \${file}`~
14747 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14748 dldir=$destdir/`dirname \$dlpath`~
14749 test -d \$dldir || mkdir -p \$dldir~
14750 $install_prog $dir/$dlname \$dldir/$dlname~
14751 chmod a+x \$dldir/$dlname~
14752 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14753 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14755 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14756 dlpath=$dir/\$dldll~
14758 shlibpath_overrides_runpath=yes
14762 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14763 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14764 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14767 # MinGW DLLs use traditional 'lib' prefix
14768 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14769 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14770 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14771 # It is most probably a Windows format PATH printed by
14772 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14773 # path with ; separators, and with drive letters. We can handle the
14774 # drive letters (cygwin fileutils understands them), so leave them,
14775 # especially as we might pass files found there to a mingw objdump,
14776 # which wouldn't understand a cygwinified path. Ahh.
14777 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14779 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14783 # pw32 DLLs use 'pw' prefix rather than 'lib'
14784 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14790 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14793 dynamic_linker='Win32 ld.exe'
14794 # FIXME: first we should search . and the directory the executable is in
14798 darwin* | rhapsody*)
14799 dynamic_linker="$host_os dyld"
14800 version_type=darwin
14803 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14804 soname_spec='${libname}${release}${major}$shared_ext'
14805 shlibpath_overrides_runpath=yes
14806 shlibpath_var=DYLD_LIBRARY_PATH
14807 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14809 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14816 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14817 soname_spec='${libname}${release}${shared_ext}$major'
14818 shlibpath_var=LD_LIBRARY_PATH
14825 freebsd* | dragonfly*)
14826 # DragonFly does not have aout. When/if they implement a new
14827 # versioning mechanism, adjust this.
14828 if test -x /usr/bin/objformat; then
14829 objformat=`/usr/bin/objformat`
14832 freebsd[123]*) objformat=aout ;;
14833 *) objformat=elf ;;
14836 version_type=freebsd-$objformat
14837 case $version_type in
14839 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14844 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14848 shlibpath_var=LD_LIBRARY_PATH
14851 shlibpath_overrides_runpath=yes
14853 freebsd3.[01]* | freebsdelf3.[01]*)
14854 shlibpath_overrides_runpath=yes
14855 hardcode_into_libs=yes
14857 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14858 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14859 shlibpath_overrides_runpath=no
14860 hardcode_into_libs=yes
14862 *) # from 4.6 on, and DragonFly
14863 shlibpath_overrides_runpath=yes
14864 hardcode_into_libs=yes
14873 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14874 soname_spec='${libname}${release}${shared_ext}$major'
14875 shlibpath_var=LD_LIBRARY_PATH
14876 hardcode_into_libs=yes
14879 hpux9* | hpux10* | hpux11*)
14880 # Give a soname corresponding to the major version so that dld.sl refuses to
14881 # link against other versions.
14888 hardcode_into_libs=yes
14889 dynamic_linker="$host_os dld.so"
14890 shlibpath_var=LD_LIBRARY_PATH
14891 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14892 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14893 soname_spec='${libname}${release}${shared_ext}$major'
14894 if test "X$HPUX_IA64_MODE" = X32; then
14895 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14897 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14899 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14903 hardcode_into_libs=yes
14904 dynamic_linker="$host_os dld.sl"
14905 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14906 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14907 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14908 soname_spec='${libname}${release}${shared_ext}$major'
14909 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14910 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14914 dynamic_linker="$host_os dld.sl"
14915 shlibpath_var=SHLIB_PATH
14916 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14917 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14918 soname_spec='${libname}${release}${shared_ext}$major'
14921 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14922 postinstall_cmds='chmod 555 $lib'
14929 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14930 soname_spec='${libname}${release}${shared_ext}$major'
14931 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14932 shlibpath_var=LD_LIBRARY_PATH
14933 shlibpath_overrides_runpath=no
14934 hardcode_into_libs=yes
14937 irix5* | irix6* | nonstopux*)
14939 nonstopux*) version_type=nonstopux ;;
14941 if test "$lt_cv_prog_gnu_ld" = yes; then
14949 soname_spec='${libname}${release}${shared_ext}$major'
14950 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14952 irix5* | nonstopux*)
14953 libsuff= shlibsuff=
14956 case $LD in # libtool.m4 will add one of these switches to LD
14957 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14958 libsuff= shlibsuff= libmagic=32-bit;;
14959 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14960 libsuff=32 shlibsuff=N32 libmagic=N32;;
14961 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14962 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14963 *) libsuff= shlibsuff= libmagic=never-match;;
14967 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14968 shlibpath_overrides_runpath=no
14969 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14970 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14971 hardcode_into_libs=yes
14974 # No shared lib support for Linux oldld, aout, or coff.
14975 linux*oldld* | linux*aout* | linux*coff*)
14979 # This must be Linux ELF.
14980 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14984 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14985 soname_spec='${libname}${release}${shared_ext}$major'
14986 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14987 shlibpath_var=LD_LIBRARY_PATH
14988 shlibpath_overrides_runpath=no
14989 # Some binutils ld are patched to set DT_RUNPATH
14990 save_LDFLAGS=$LDFLAGS
14991 save_libdir=$libdir
14992 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14993 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14995 /* end confdefs.h. */
15005 if ac_fn_cxx_try_link "$LINENO"; then :
15006 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15007 shlibpath_overrides_runpath=yes
15010 rm -f core conftest.err conftest.$ac_objext \
15011 conftest$ac_exeext conftest.$ac_ext
15012 LDFLAGS=$save_LDFLAGS
15013 libdir=$save_libdir
15015 # This implies no fast_install, which is unacceptable.
15016 # Some rework will be needed to allow for fast_install
15017 # before this can be enabled.
15018 hardcode_into_libs=yes
15020 # Append ld.so.conf contents to the search path
15021 if test -f /etc/ld.so.conf; then
15022 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' ' '`
15023 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15026 # We used to test for /lib/ld.so.1 and disable shared libraries on
15027 # powerpc, because MkLinux only supported shared libraries with the
15028 # GNU dynamic linker. Since this was broken with cross compilers,
15029 # most powerpc-linux boxes support dynamic linking these days and
15030 # people can always --disable-shared, the test was removed, and we
15031 # assume the GNU/Linux dynamic linker is in use.
15032 dynamic_linker='GNU/Linux ld.so'
15039 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15040 soname_spec='${libname}${release}${shared_ext}$major'
15041 shlibpath_var=LD_LIBRARY_PATH
15042 shlibpath_overrides_runpath=no
15043 hardcode_into_libs=yes
15044 dynamic_linker='NetBSD ld.elf_so'
15051 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15052 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15053 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15054 dynamic_linker='NetBSD (a.out) ld.so'
15056 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15057 soname_spec='${libname}${release}${shared_ext}$major'
15058 dynamic_linker='NetBSD ld.elf_so'
15060 shlibpath_var=LD_LIBRARY_PATH
15061 shlibpath_overrides_runpath=yes
15062 hardcode_into_libs=yes
15067 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15068 shlibpath_var=LD_LIBRARY_PATH
15069 shlibpath_overrides_runpath=yes
15076 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15077 soname_spec='${libname}${release}${shared_ext}$major'
15078 shlibpath_var=LD_LIBRARY_PATH
15079 shlibpath_overrides_runpath=no
15080 hardcode_into_libs=yes
15081 dynamic_linker='ldqnx.so'
15086 sys_lib_dlsearch_path_spec="/usr/lib"
15088 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15090 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15091 *) need_version=no ;;
15093 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15094 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15095 shlibpath_var=LD_LIBRARY_PATH
15096 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15098 openbsd2.[89] | openbsd2.[89].*)
15099 shlibpath_overrides_runpath=no
15102 shlibpath_overrides_runpath=yes
15106 shlibpath_overrides_runpath=yes
15111 libname_spec='$name'
15114 library_names_spec='$libname${shared_ext} $libname.a'
15115 dynamic_linker='OS/2 ld.exe'
15116 shlibpath_var=LIBPATH
15119 osf3* | osf4* | osf5*)
15123 soname_spec='${libname}${release}${shared_ext}$major'
15124 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15125 shlibpath_var=LD_LIBRARY_PATH
15126 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15127 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15138 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15139 soname_spec='${libname}${release}${shared_ext}$major'
15140 shlibpath_var=LD_LIBRARY_PATH
15141 shlibpath_overrides_runpath=yes
15142 hardcode_into_libs=yes
15143 # ldd complains unless libraries are executable
15144 postinstall_cmds='chmod +x $lib'
15149 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15150 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15151 shlibpath_var=LD_LIBRARY_PATH
15152 shlibpath_overrides_runpath=yes
15153 if test "$with_gnu_ld" = yes; then
15161 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15162 soname_spec='${libname}${release}${shared_ext}$major'
15163 shlibpath_var=LD_LIBRARY_PATH
15164 case $host_vendor in
15166 shlibpath_overrides_runpath=no
15168 runpath_var=LD_RUN_PATH
15176 shlibpath_overrides_runpath=no
15177 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15183 if test -d /usr/nec ;then
15185 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15186 soname_spec='$libname${shared_ext}.$major'
15187 shlibpath_var=LD_LIBRARY_PATH
15191 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15192 version_type=freebsd-elf
15195 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15196 soname_spec='${libname}${release}${shared_ext}$major'
15197 shlibpath_var=LD_LIBRARY_PATH
15198 shlibpath_overrides_runpath=yes
15199 hardcode_into_libs=yes
15200 if test "$with_gnu_ld" = yes; then
15201 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15203 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15206 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15210 sys_lib_dlsearch_path_spec='/usr/lib'
15214 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15218 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15219 shlibpath_var=LD_LIBRARY_PATH
15220 shlibpath_overrides_runpath=no
15221 hardcode_into_libs=yes
15226 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15227 soname_spec='${libname}${release}${shared_ext}$major'
15228 shlibpath_var=LD_LIBRARY_PATH
15235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15236 $as_echo "$dynamic_linker" >&6; }
15237 test "$dynamic_linker" = no && can_build_shared=no
15239 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15240 if test "$GCC" = yes; then
15241 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15244 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15245 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15247 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15248 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15287 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15288 hardcode_action_CXX=
15289 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15290 test -n "$runpath_var_CXX" ||
15291 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15293 # We can hardcode non-existent directories.
15294 if test "$hardcode_direct_CXX" != no &&
15295 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15296 # have to relink, otherwise we might link with an installed library
15297 # when we should be linking with a yet-to-be-installed one
15298 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15299 test "$hardcode_minus_L_CXX" != no; then
15300 # Linking always hardcodes the temporary library directory.
15301 hardcode_action_CXX=relink
15303 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15304 hardcode_action_CXX=immediate
15307 # We cannot hardcode anything, or else we can only hardcode existing
15309 hardcode_action_CXX=unsupported
15311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15312 $as_echo "$hardcode_action_CXX" >&6; }
15314 if test "$hardcode_action_CXX" = relink ||
15315 test "$inherit_rpath_CXX" = yes; then
15316 # Fast installation is not supported
15317 enable_fast_install=no
15318 elif test "$shlibpath_overrides_runpath" = yes ||
15319 test "$enable_shared" = no; then
15320 # Fast installation is not necessary
15321 enable_fast_install=needless
15330 fi # test -n "$compiler"
15336 with_gnu_ld=$lt_save_with_gnu_ld
15337 lt_cv_path_LDCXX=$lt_cv_path_LD
15338 lt_cv_path_LD=$lt_save_path_LD
15339 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15340 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15341 fi # test "$_lt_caught_CXX_error" != yes
15344 ac_cpp='$CPP $CPPFLAGS'
15345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
15351 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
15353 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
15354 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
15355 $as_echo_n "(cached) " >&6
15357 cat >conftest.make <<\_ACEOF
15360 @echo '@@@%%%=$(MAKE)=@@@%%%'
15362 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
15363 case `${MAKE-make} -f conftest.make 2>/dev/null` in
15364 *@@@%%%=?*=@@@%%%*)
15365 eval ac_cv_prog_make_${ac_make}_set=yes;;
15367 eval ac_cv_prog_make_${ac_make}_set=no;;
15369 rm -f conftest.make
15371 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
15372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15373 $as_echo "yes" >&6; }
15376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15377 $as_echo "no" >&6; }
15378 SET_MAKE="MAKE=${MAKE-make}"
15382 # TODO: Fix code to pass with -pedantic -Wextra.
15383 # -Wno-unknown-pragmas needed because icalstrdup.h
15384 # currently uses the "#pragma }" trick. Should remove that.
15385 # Fix code to work without deprecated methods: G GDK GDK_PIXBUF CAIRO PANGO GTK
15386 # Check whether --enable-warnings was given.
15387 if test "${enable_warnings+set}" = set; then :
15388 enableval=$enable_warnings; dk_enable_warnings=$enableval
15390 dk_enable_warnings=min
15394 case $ac_compile in
15398 dk_conftest=conftest.${ac_ext-cc}
15403 dk_conftest=conftest.${ac_ext-c}
15407 if test "x$dk_lang" != x; then :
15409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which $dk_lang compiler warning flags to use" >&5
15410 $as_echo_n "checking which $dk_lang compiler warning flags to use... " >&6; }
15412 case $dk_enable_warnings in
15413 no) dk_warning_flags=;;
15414 max) dk_warning_flags="-Wall -Wno-unknown-pragmas -Wno-deprecated-declarations";;
15415 fatal) dk_warning_flags="-Wall -Wno-unknown-pragmas -Wno-deprecated-declarations -Werror";;
15416 *) dk_warning_flags="-Wall -Wno-unknown-pragmas -Wno-deprecated-declarations";;
15419 dk_deprecation_flags=
15422 if test "x$dk_warning_flags" != x; then :
15424 # Keep in mind that the dummy source must be devoid of any
15425 # problems that might cause diagnostics.
15426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15427 /* end confdefs.h. */
15428 int main(int argc, char** argv) { return (argv != 0) ? argc : 0; }
15431 for dk_flag in $dk_warning_flags
15433 # Test whether the compiler accepts the flag. GCC doesn't bail
15434 # out when given an unsupported flag but prints a warning, so
15435 # check the compiler output instead.
15436 dk_cc_out=`$dk_cc $dk_tested_flags $dk_flag -c "$dk_conftest" 2>&1 || echo failed`
15437 rm -f "conftest.${OBJEXT-o}"
15439 if test "x$dk_cc_out" = x; then :
15441 if test "x$dk_tested_flags" = x; then :
15442 dk_tested_flags=$dk_flag
15444 dk_tested_flags="$dk_tested_flags $dk_flag"
15449 echo "$dk_cc_out" >&5
15454 rm -f "$dk_conftest"
15457 dk_all_flags=$dk_deprecation_flags$dk_tested_flags
15458 SYNCEVO_WFLAGS=$dk_all_flags
15461 test "x$dk_all_flags" != x || dk_all_flags=none
15462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dk_all_flags" >&5
15463 $as_echo "$dk_all_flags" >&6; }
15468 DEVICE_TYPE=workstation
15471 # Check whether --with-synthesis-src was given.
15472 if test "${with_synthesis_src+set}" = set; then :
15473 withval=$with_synthesis_src; SYNTHESISSRC="$withval"
15474 test "$SYNTHESISSRC" != "yes" || as_fn_error "--with-synthesis-src requires a parameter (base directory, svn URL or git URL)" "$LINENO" 5
15476 SYNTHESISSRC="$SYNTHESISSRC_DEF"; REVISION="syncevolution-0.9"
15481 # Check whether --with-syncml-engines was given.
15482 if test "${with_syncml_engines+set}" = set; then :
15483 withval=$with_syncml_engines; SYNCML_ENGINES="$withval"
15485 SYNCML_ENGINES=both
15489 case $SYNCML_ENGINES in both|client)
15490 $as_echo "#define ENABLE_SYNCML_CLIENT 1" >>confdefs.h
15492 case $SYNCML_ENGINES in both|server)
15493 $as_echo "#define ENABLE_SYNCML_SERVER 1" >>confdefs.h
15495 case $SYNCML_ENGINES in both|server|client) true;; *) as_fn_error "Invalid value for --with-syncml-engines: $SYNCML_ENGINES" "$LINENO" 5;; esac
15498 # Check whether --with-synthesis-username was given.
15499 if test "${with_synthesis_username+set}" = set; then :
15500 withval=$with_synthesis_username; USERNAME="$withval"
15507 # Check whether --with-synthesis-revision was given.
15508 if test "${with_synthesis_revision+set}" = set; then :
15509 withval=$with_synthesis_revision; REVISION="$withval"
15513 # Check whether --enable-shared was given.
15514 if test "${enable_shared+set}" = set; then :
15515 enableval=$enable_shared; enable_shared="$enableval"
15521 # Check whether --enable-static was given.
15522 if test "${enable_static+set}" = set; then :
15523 enableval=$enable_static; enable_static="$enableval"
15529 # Check whether --enable-unit-tests was given.
15530 if test "${enable_unit_tests+set}" = set; then :
15531 enableval=$enable_unit_tests; enable_unit_tests="$enableval"
15533 enable_unit_tests="no"
15536 # Check whether --enable-integration-tests was given.
15537 if test "${enable_integration_tests+set}" = set; then :
15538 enableval=$enable_integration_tests; enable_integration_tests="$enableval"
15540 enable_integration_tests="no"
15544 # Check whether --enable-static-cxx was given.
15545 if test "${enable_static_cxx+set}" = set; then :
15546 enableval=$enable_static_cxx; enable_static_cxx="$enableval"
15548 enable_static_cxx="no"
15552 # Check whether --enable-evolution-compatibility was given.
15553 if test "${enable_evolution_compatibility+set}" = set; then :
15554 enableval=$enable_evolution_compatibility; enable_evolution_compatibility="$enableval"
15556 enable_evolution_compatibility="no"
15560 # Check whether --enable-developer-mode was given.
15561 if test "${enable_developer_mode+set}" = set; then :
15562 enableval=$enable_developer_mode; enable_developer_mode="$enableval"
15564 enable_developer_mode="no"
15569 # - wrap e_book_from_string() to fix invalid parameter
15570 # - don't use UTF-8 encoding in Perl script
15571 # Check whether --enable-maemo was given.
15572 if test "${enable_maemo+set}" = set; then :
15573 enableval=$enable_maemo;
15574 $as_echo "#define ENABLE_MAEMO 1" >>confdefs.h
15577 MODIFY_SYNCCOMPARE='-e "s/use encoding/#use encoding/;" -e "s/:utf8//;"'
15582 for ac_header in signal.h dlfcn.h
15584 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15585 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15586 eval as_val=\$$as_ac_Header
15587 if test "x$as_val" = x""yes; then :
15588 cat >>confdefs.h <<_ACEOF
15589 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15597 # cppunit-config is used even when both unit tests and integration tests are disabled.
15598 # Extract the first word of "cppunit-config", so it can be a program name with args.
15599 set dummy cppunit-config; ac_word=$2
15600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15601 $as_echo_n "checking for $ac_word... " >&6; }
15602 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then :
15603 $as_echo_n "(cached) " >&6
15605 case $CPPUNIT_CONFIG in
15607 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
15610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15611 for as_dir in $PATH
15614 test -z "$as_dir" && as_dir=.
15615 for ac_exec_ext in '' $ac_executable_extensions; do
15616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15617 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15625 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
15629 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
15630 if test -n "$CPPUNIT_CONFIG"; then
15631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPUNIT_CONFIG" >&5
15632 $as_echo "$CPPUNIT_CONFIG" >&6; }
15634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15635 $as_echo "no" >&6; }
15640 test "x$CPPUNIT_CONFIG" != 'xno' || as_fn_error "\"cppunit-config not found.\"" "$LINENO" 5
15643 #if test "x$enable_unit_tests" = 'xyes' || test "x$enable_integration_tests" = 'xyes'
15645 CPPUNIT_CXXFLAGS=`$CPPUNIT_CONFIG --cflags`
15646 CPPUNIT_LDFLAGS=`$CPPUNIT_CONFIG --libs`
15651 if test "x$enable_unit_tests" = 'xyes'; then
15653 $as_echo "#define ENABLE_UNIT_TESTS 1" >>confdefs.h
15656 if test "x$enable_integration_tests" = 'xyes'; then
15658 $as_echo "#define ENABLE_INTEGRATION_TESTS 1" >>confdefs.h
15661 if test "$enable_unit_tests" = "yes"; then
15662 ENABLE_UNIT_TESTS_TRUE=
15663 ENABLE_UNIT_TESTS_FALSE='#'
15665 ENABLE_UNIT_TESTS_TRUE='#'
15666 ENABLE_UNIT_TESTS_FALSE=
15669 if test "$enable_unit_tests" = "yes" || test "$enable_integration_tests" = "yes" ; then
15670 ENABLE_TESTING_TRUE=
15671 ENABLE_TESTING_FALSE='#'
15673 ENABLE_TESTING_TRUE='#'
15674 ENABLE_TESTING_FALSE=
15678 if test $enable_static_cxx = "yes"; then
15680 CORE_LDADD_DEP=libstdc++.a
15684 # Check for transport layer.
15685 # Both curl and libsoup can be enabled and disabled explicitly.
15686 # The default is to use libsoup if available, otherwise curl.
15688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl" >&5
15689 $as_echo_n "checking for libcurl... " >&6; }
15690 if LIBCURL_LIBS=`sh -c 'curl-config --libs' 2>&5` && \
15691 LIBCURL_CFLAGS=`sh -c 'curl-config --cflags' 2>&5`; then
15692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15693 $as_echo "yes" >&6; }
15696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15697 $as_echo "no" >&6; }
15703 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15704 if test -n "$ac_tool_prefix"; then
15705 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15706 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
15707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15708 $as_echo_n "checking for $ac_word... " >&6; }
15709 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
15710 $as_echo_n "(cached) " >&6
15712 case $PKG_CONFIG in
15714 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15718 for as_dir in $PATH
15721 test -z "$as_dir" && as_dir=.
15722 for ac_exec_ext in '' $ac_executable_extensions; do
15723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15724 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15735 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15736 if test -n "$PKG_CONFIG"; then
15737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15738 $as_echo "$PKG_CONFIG" >&6; }
15740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15741 $as_echo "no" >&6; }
15746 if test -z "$ac_cv_path_PKG_CONFIG"; then
15747 ac_pt_PKG_CONFIG=$PKG_CONFIG
15748 # Extract the first word of "pkg-config", so it can be a program name with args.
15749 set dummy pkg-config; ac_word=$2
15750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15751 $as_echo_n "checking for $ac_word... " >&6; }
15752 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
15753 $as_echo_n "(cached) " >&6
15755 case $ac_pt_PKG_CONFIG in
15757 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15761 for as_dir in $PATH
15764 test -z "$as_dir" && as_dir=.
15765 for ac_exec_ext in '' $ac_executable_extensions; do
15766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15767 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15778 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
15779 if test -n "$ac_pt_PKG_CONFIG"; then
15780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15781 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
15783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15784 $as_echo "no" >&6; }
15787 if test "x$ac_pt_PKG_CONFIG" = x; then
15790 case $cross_compiling:$ac_tool_warned in
15792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15793 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15794 ac_tool_warned=yes ;;
15796 PKG_CONFIG=$ac_pt_PKG_CONFIG
15799 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
15803 if test -n "$PKG_CONFIG"; then
15804 _pkg_min_version=0.9.0
15805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15806 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15807 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15809 $as_echo "yes" >&6; }
15811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15812 $as_echo "no" >&6; }
15819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSOUP" >&5
15820 $as_echo_n "checking for LIBSOUP... " >&6; }
15822 if test -n "$PKG_CONFIG"; then
15823 if test -n "$LIBSOUP_CFLAGS"; then
15824 pkg_cv_LIBSOUP_CFLAGS="$LIBSOUP_CFLAGS"
15826 if test -n "$PKG_CONFIG" && \
15827 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-gnome-2.4\""; } >&5
15828 ($PKG_CONFIG --exists --print-errors "libsoup-gnome-2.4") 2>&5
15830 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15831 test $ac_status = 0; }; then
15832 pkg_cv_LIBSOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-gnome-2.4" 2>/dev/null`
15840 if test -n "$PKG_CONFIG"; then
15841 if test -n "$LIBSOUP_LIBS"; then
15842 pkg_cv_LIBSOUP_LIBS="$LIBSOUP_LIBS"
15844 if test -n "$PKG_CONFIG" && \
15845 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-gnome-2.4\""; } >&5
15846 ($PKG_CONFIG --exists --print-errors "libsoup-gnome-2.4") 2>&5
15848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15849 test $ac_status = 0; }; then
15850 pkg_cv_LIBSOUP_LIBS=`$PKG_CONFIG --libs "libsoup-gnome-2.4" 2>/dev/null`
15861 if test $pkg_failed = yes; then
15863 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15864 _pkg_short_errors_supported=yes
15866 _pkg_short_errors_supported=no
15868 if test $_pkg_short_errors_supported = yes; then
15869 LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libsoup-gnome-2.4"`
15871 LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libsoup-gnome-2.4"`
15873 # Put the nasty error message in config.log where it belongs
15874 echo "$LIBSOUP_PKG_ERRORS" >&5
15876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15877 $as_echo "no" >&6; }
15880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSOUP" >&5
15881 $as_echo_n "checking for LIBSOUP... " >&6; }
15883 if test -n "$PKG_CONFIG"; then
15884 if test -n "$LIBSOUP_CFLAGS"; then
15885 pkg_cv_LIBSOUP_CFLAGS="$LIBSOUP_CFLAGS"
15887 if test -n "$PKG_CONFIG" && \
15888 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\""; } >&5
15889 ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
15891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15892 test $ac_status = 0; }; then
15893 pkg_cv_LIBSOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4" 2>/dev/null`
15901 if test -n "$PKG_CONFIG"; then
15902 if test -n "$LIBSOUP_LIBS"; then
15903 pkg_cv_LIBSOUP_LIBS="$LIBSOUP_LIBS"
15905 if test -n "$PKG_CONFIG" && \
15906 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\""; } >&5
15907 ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
15909 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15910 test $ac_status = 0; }; then
15911 pkg_cv_LIBSOUP_LIBS=`$PKG_CONFIG --libs "libsoup-2.4" 2>/dev/null`
15922 if test $pkg_failed = yes; then
15924 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15925 _pkg_short_errors_supported=yes
15927 _pkg_short_errors_supported=no
15929 if test $_pkg_short_errors_supported = yes; then
15930 LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libsoup-2.4"`
15932 LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libsoup-2.4"`
15934 # Put the nasty error message in config.log where it belongs
15935 echo "$LIBSOUP_PKG_ERRORS" >&5
15937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15938 $as_echo "no" >&6; }
15940 elif test $pkg_failed = untried; then
15943 LIBSOUP_CFLAGS=$pkg_cv_LIBSOUP_CFLAGS
15944 LIBSOUP_LIBS=$pkg_cv_LIBSOUP_LIBS
15945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15946 $as_echo "yes" >&6; }
15949 elif test $pkg_failed = untried; then
15952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSOUP" >&5
15953 $as_echo_n "checking for LIBSOUP... " >&6; }
15955 if test -n "$PKG_CONFIG"; then
15956 if test -n "$LIBSOUP_CFLAGS"; then
15957 pkg_cv_LIBSOUP_CFLAGS="$LIBSOUP_CFLAGS"
15959 if test -n "$PKG_CONFIG" && \
15960 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\""; } >&5
15961 ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
15963 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15964 test $ac_status = 0; }; then
15965 pkg_cv_LIBSOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4" 2>/dev/null`
15973 if test -n "$PKG_CONFIG"; then
15974 if test -n "$LIBSOUP_LIBS"; then
15975 pkg_cv_LIBSOUP_LIBS="$LIBSOUP_LIBS"
15977 if test -n "$PKG_CONFIG" && \
15978 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\""; } >&5
15979 ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
15981 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15982 test $ac_status = 0; }; then
15983 pkg_cv_LIBSOUP_LIBS=`$PKG_CONFIG --libs "libsoup-2.4" 2>/dev/null`
15994 if test $pkg_failed = yes; then
15996 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15997 _pkg_short_errors_supported=yes
15999 _pkg_short_errors_supported=no
16001 if test $_pkg_short_errors_supported = yes; then
16002 LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libsoup-2.4"`
16004 LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libsoup-2.4"`
16006 # Put the nasty error message in config.log where it belongs
16007 echo "$LIBSOUP_PKG_ERRORS" >&5
16009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16010 $as_echo "no" >&6; }
16012 elif test $pkg_failed = untried; then
16015 LIBSOUP_CFLAGS=$pkg_cv_LIBSOUP_CFLAGS
16016 LIBSOUP_LIBS=$pkg_cv_LIBSOUP_LIBS
16017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16018 $as_echo "yes" >&6; }
16022 LIBSOUP_CFLAGS=$pkg_cv_LIBSOUP_CFLAGS
16023 LIBSOUP_LIBS=$pkg_cv_LIBSOUP_LIBS
16024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16025 $as_echo "yes" >&6; }
16028 $as_echo "#define HAVE_LIBSOUP_SOUP_GNOME_FEATURES_H 1" >>confdefs.h
16034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBOPENOBEX" >&5
16035 $as_echo_n "checking for LIBOPENOBEX... " >&6; }
16037 if test -n "$PKG_CONFIG"; then
16038 if test -n "$LIBOPENOBEX_CFLAGS"; then
16039 pkg_cv_LIBOPENOBEX_CFLAGS="$LIBOPENOBEX_CFLAGS"
16041 if test -n "$PKG_CONFIG" && \
16042 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openobex\""; } >&5
16043 ($PKG_CONFIG --exists --print-errors "openobex") 2>&5
16045 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16046 test $ac_status = 0; }; then
16047 pkg_cv_LIBOPENOBEX_CFLAGS=`$PKG_CONFIG --cflags "openobex" 2>/dev/null`
16055 if test -n "$PKG_CONFIG"; then
16056 if test -n "$LIBOPENOBEX_LIBS"; then
16057 pkg_cv_LIBOPENOBEX_LIBS="$LIBOPENOBEX_LIBS"
16059 if test -n "$PKG_CONFIG" && \
16060 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openobex\""; } >&5
16061 ($PKG_CONFIG --exists --print-errors "openobex") 2>&5
16063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16064 test $ac_status = 0; }; then
16065 pkg_cv_LIBOPENOBEX_LIBS=`$PKG_CONFIG --libs "openobex" 2>/dev/null`
16076 if test $pkg_failed = yes; then
16078 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16079 _pkg_short_errors_supported=yes
16081 _pkg_short_errors_supported=no
16083 if test $_pkg_short_errors_supported = yes; then
16084 LIBOPENOBEX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "openobex"`
16086 LIBOPENOBEX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "openobex"`
16088 # Put the nasty error message in config.log where it belongs
16089 echo "$LIBOPENOBEX_PKG_ERRORS" >&5
16091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16092 $as_echo "no" >&6; }
16094 elif test $pkg_failed = untried; then
16097 LIBOPENOBEX_CFLAGS=$pkg_cv_LIBOPENOBEX_CFLAGS
16098 LIBOPENOBEX_LIBS=$pkg_cv_LIBOPENOBEX_LIBS
16099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16100 $as_echo "yes" >&6; }
16103 have_bluetooth="no"
16104 if test $have_obex = "yes"; then
16107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BLUEZ" >&5
16108 $as_echo_n "checking for BLUEZ... " >&6; }
16110 if test -n "$PKG_CONFIG"; then
16111 if test -n "$BLUEZ_CFLAGS"; then
16112 pkg_cv_BLUEZ_CFLAGS="$BLUEZ_CFLAGS"
16114 if test -n "$PKG_CONFIG" && \
16115 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"bluez\""; } >&5
16116 ($PKG_CONFIG --exists --print-errors "bluez") 2>&5
16118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16119 test $ac_status = 0; }; then
16120 pkg_cv_BLUEZ_CFLAGS=`$PKG_CONFIG --cflags "bluez" 2>/dev/null`
16128 if test -n "$PKG_CONFIG"; then
16129 if test -n "$BLUEZ_LIBS"; then
16130 pkg_cv_BLUEZ_LIBS="$BLUEZ_LIBS"
16132 if test -n "$PKG_CONFIG" && \
16133 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"bluez\""; } >&5
16134 ($PKG_CONFIG --exists --print-errors "bluez") 2>&5
16136 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16137 test $ac_status = 0; }; then
16138 pkg_cv_BLUEZ_LIBS=`$PKG_CONFIG --libs "bluez" 2>/dev/null`
16149 if test $pkg_failed = yes; then
16151 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16152 _pkg_short_errors_supported=yes
16154 _pkg_short_errors_supported=no
16156 if test $_pkg_short_errors_supported = yes; then
16157 BLUEZ_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "bluez"`
16159 BLUEZ_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "bluez"`
16161 # Put the nasty error message in config.log where it belongs
16162 echo "$BLUEZ_PKG_ERRORS" >&5
16164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16165 $as_echo "no" >&6; }
16167 elif test $pkg_failed = untried; then
16170 BLUEZ_CFLAGS=$pkg_cv_BLUEZ_CFLAGS
16171 BLUEZ_LIBS=$pkg_cv_BLUEZ_LIBS
16172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16173 $as_echo "yes" >&6; }
16176 if test $have_bluez = "yes"; then
16177 have_bluetooth="yes"
16190 # Check whether --with-ca-certificates was given.
16191 if test "${with_ca_certificates+set}" = set; then :
16192 withval=$with_ca_certificates; CA_CERTIFICATES="$withval"
16197 # choose default http transport (mirrors code in EvolutionSyncClient::createTransportAgent())
16198 if test "$have_libsoup" = "yes"; then
16199 default_http_transport="libsoup"
16200 elif test "$have_libcurl" = "yes"; then
16201 default_http_transport="libcurl"
16204 # Check whether --enable-libcurl was given.
16205 if test "${enable_libcurl+set}" = set; then :
16206 enableval=$enable_libcurl; if test "$enableval" = "yes"; then
16207 test "$have_libcurl" = "yes" || as_fn_error "libcurl not found" "$LINENO" 5
16208 TRANSPORT="$TRANSPORT libcurl"
16209 TRANSPORT_LIBS="$TRANSPORT_LIBS $LIBCURL_LIBS"
16210 TRANSPORT_CFLAGS="$TRANSPORT_CFLAGS $LIBCURL_CFLAGS"
16212 $as_echo "#define ENABLE_LIBCURL 1" >>confdefs.h
16215 libcurl_disabled="yes"
16218 if test "$have_libcurl" = "yes" && test "$default_http_transport" = "libcurl" ; then
16219 TRANSPORT="$TRANSPORT libcurl"
16220 TRANSPORT_LIBS="$TRANSPORT_LIBS $LIBCURL_LIBS"
16221 TRANSPORT_CFLAGS="$TRANSPORT_CFLAGS $LIBCURL_CFLAGS"
16223 $as_echo "#define ENABLE_LIBCURL 1" >>confdefs.h
16229 # Check whether --enable-libsoup was given.
16230 if test "${enable_libsoup+set}" = set; then :
16231 enableval=$enable_libsoup; if test "$enableval" = "yes"; then
16232 test "$have_libsoup" = "yes" || as_fn_error "libsoup not found" "$LINENO" 5
16233 TRANSPORT="$TRANSPORT libsoup"
16234 TRANSPORT_LIBS="$TRANSPORT_LIBS $LIBSOUP_LIBS"
16235 TRANSPORT_CFLAGS="$TRANSPORT_CFLAGS $LIBSOUP_CFLAGS"
16237 $as_echo "#define ENABLE_LIBSOUP 1" >>confdefs.h
16240 libsoup_disabled="yes"
16243 if test "$have_libsoup" = "yes" && test "$default_http_transport" = "libsoup"; then
16244 TRANSPORT="$TRANSPORT libsoup"
16245 TRANSPORT_LIBS="$TRANSPORT_LIBS $LIBSOUP_LIBS"
16246 TRANSPORT_CFLAGS="$TRANSPORT_CFLAGS $LIBSOUP_CFLAGS"
16248 $as_echo "#define ENABLE_LIBSOUP 1" >>confdefs.h
16254 # SoupTransportAgent depends on glib
16255 case "$TRANSPORT" in *libsoup*) need_glib=yes;; esac
16257 bluetooth_disabled=no
16258 # Check whether --enable-bluetooth was given.
16259 if test "${enable_bluetooth+set}" = set; then :
16260 enableval=$enable_bluetooth; enable_bluetooth="$enableval"
16261 if test "$enableval" = "no"; then
16262 bluetooth_disabled=yes
16266 enable_bluetooth="$have_bluetooth"
16270 if test "$enable_bluetooth" = "yes"; then
16271 # currently we need Bluetooth and OBEX support
16272 test "$have_bluetooth" = "yes" || as_fn_error "openobex or bluez not found" "$LINENO" 5
16275 ac_cpp='$CPP $CPPFLAGS'
16276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16280 CFLAGS_old="$CFLAGS"
16281 CFLAGS="$CPPFLAGS $BLUEZ_CFLAGS"
16282 # test in this order:
16283 # - recent libbluetooth (no _safe variant, base function has bufsize)
16284 # - intermediate with _safe
16285 # - else assume old-style (no bufsize, no _safe)
16287 # The source code checks the signature both by via pointer assignment and calling
16288 # it (better safe than sorry). One these should fail if the signature is not right.
16289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16290 /* end confdefs.h. */
16292 #include <bluetooth/sdp.h>
16293 #include <bluetooth/sdp_lib.h>
16294 sdp_record_t *(*extract_pdu)(const uint8_t *pdata, int bufsize, int *scanned) =
16297 uint8_t *pdata = NULL;
16299 sdp_extract_pdu(pdata, 100, &scanned);
16303 if ac_fn_c_try_compile "$LINENO"; then :
16305 $as_echo "#define HAVE_BLUEZ_BUFSIZE 1" >>confdefs.h
16308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16309 /* end confdefs.h. */
16311 #include <bluetooth/sdp.h>
16312 #include <bluetooth/sdp_lib.h>
16313 sdp_record_t *(*extract_pdu)(const uint8_t *pdata, int bufsize, int *scanned) =
16314 sdp_extract_pdu_safe;
16316 uint8_t *pdata = NULL;
16318 sdp_extract_pdu_safe(pdata, 100, &scanned);
16322 if ac_fn_c_try_compile "$LINENO"; then :
16324 $as_echo "#define HAVE_BLUEZ_SAFE 1" >>confdefs.h
16327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16330 CFLAGS="$CFLAGS_old"
16332 if test "$have_obex" = "yes"; then
16334 $as_echo "#define ENABLE_OBEX 1" >>confdefs.h
16337 if test "$have_bluez" = "yes"; then
16339 $as_echo "#define ENABLE_BLUETOOTH 1" >>confdefs.h
16343 if test "$have_obex" = "yes" && test "$enable_bluetooth" = "yes"; then
16345 ENABLE_OBEX_FALSE='#'
16347 ENABLE_OBEX_TRUE='#'
16351 if test "$have_bluetooth" = "yes" && test "$enable_bluetooth" = "yes"; then
16352 ENABLE_BLUETOOTH_TRUE=
16353 ENABLE_BLUETOOTH_FALSE='#'
16355 ENABLE_BLUETOOTH_TRUE='#'
16356 ENABLE_BLUETOOTH_FALSE=
16360 if test ! "$TRANSPORT" &&
16361 test "$libsoup_disabled" != "yes" &&
16362 test "$libcurl_disabled" != "yes" &&
16363 test "$bluetooth_disabled" != "yes" &&
16364 test "$have_bluetooth" != "yes" ; then
16365 as_fn_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)" "$LINENO" 5
16368 # for libsoup we must specify the SSL certificate file outself
16369 if test "$libsoup_disabled" != "yes" && test -z "$CA_CERTIFICATES"; then
16370 # Debian and Red Hat paths
16371 CA_CERTIFICATES="/etc/ssl/certs/ca-certificates.crt:/etc/pki/tls/certs/ca-bundle.crt:/usr/share/ssl/certs/ca-bundle.crt"
16374 cat >>confdefs.h <<_ACEOF
16375 #define SYNCEVOLUTION_SSL_SERVER_CERTIFICATES "$CA_CERTIFICATES"
16382 # Check whether --enable-ssl-certificate-check was given.
16383 if test "${enable_ssl_certificate_check+set}" = set; then :
16384 enableval=$enable_ssl_certificate_check; enable_ssl_certificate_check="$enableval"
16386 enable_ssl_certificate_check="yes"
16389 if test "$enable_ssl_certificate_check" = "yes"; then
16391 $as_echo "#define ENABLE_SSL_CERTIFICATE_CHECK 1" >>confdefs.h
16395 # for dbus interface file mangling
16396 # Extract the first word of "xsltproc", so it can be a program name with args.
16397 set dummy xsltproc; ac_word=$2
16398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16399 $as_echo_n "checking for $ac_word... " >&6; }
16400 if test "${ac_cv_path_XSLT+set}" = set; then :
16401 $as_echo_n "(cached) " >&6
16405 ac_cv_path_XSLT="$XSLT" # Let the user override the test with a path.
16408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16409 for as_dir in $PATH
16412 test -z "$as_dir" && as_dir=.
16413 for ac_exec_ext in '' $ac_executable_extensions; do
16414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16415 ac_cv_path_XSLT="$as_dir/$ac_word$ac_exec_ext"
16416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16426 XSLT=$ac_cv_path_XSLT
16427 if test -n "$XSLT"; then
16428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLT" >&5
16429 $as_echo "$XSLT" >&6; }
16431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16432 $as_echo "no" >&6; }
16438 # Changes in GTK3 mean that supporting both GTK3 and GTK2 in the same codebase
16439 # is difficult. We want to support GTK2 for the time being so the code is forked.
16440 # Check whether --enable-gtk was given.
16441 if test "${enable_gtk+set}" = set; then :
16442 enableval=$enable_gtk; if test "$enableval" = "3" ; then
16443 gtk_version=gtk+-3.0
16444 elif test "$enableval" = "2" ; then
16445 gtk_version=gtk+-2.0
16447 as_fn_error "Unknown gtk version: '$enableval'" "$LINENO" 5
16451 if test -n "$PKG_CONFIG" && \
16452 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0\""; } >&5
16453 ($PKG_CONFIG --exists --print-errors "gtk+-3.0") 2>&5
16455 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16456 test $ac_status = 0; }; then
16457 gtk_version=gtk+-3.0
16459 gtk_version=gtk+-2.0
16465 if test "$gtk_version" = "gtk+-2.0"; then
16467 COND_GTK2_FALSE='#'
16474 # Check whether --enable-gui was given.
16475 if test "${enable_gui+set}" = set; then :
16476 enableval=$enable_gui; if test "$enableval" = "gtk" ; then
16478 elif test "$enableval" = "yes" ; then
16480 elif test "$enableval" = "moblin" ; then
16482 elif test "$enableval" = "no" ; then
16484 elif test "$enableval" = "all" ; then
16487 as_fn_error "Unknown gui type: '$enableval'" "$LINENO" 5
16495 if test "$enable_gui" != "no"; then
16504 # Check whether --enable-core was given.
16505 if test "${enable_core+set}" = set; then :
16506 enableval=$enable_core; enable_core="$enableval"
16511 if test "$enable_core" = "yes"; then
16513 COND_CORE_FALSE='#'
16520 # Check whether --enable-dbus-service was given.
16521 if test "${enable_dbus_service+set}" = set; then :
16522 enableval=$enable_dbus_service; enable_dbus_service="$enableval"
16524 if test $enable_gui = "no"; then
16525 enable_dbus_service="no"
16527 enable_dbus_service="yes"
16531 if test "$enable_dbus_service" = "yes"; then
16533 COND_DBUS_FALSE='#'
16541 # Check whether --with-gio-gdbus was given.
16542 if test "${with_gio_gdbus+set}" = set; then :
16543 withval=$with_gio_gdbus; with_gio_gdbus="$withval"
16545 if test -n "$PKG_CONFIG" && \
16546 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.30\""; } >&5
16547 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.30") 2>&5
16549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16550 test $ac_status = 0; }; then
16551 with_gio_gdbus="yes"
16553 with_gio_gdbus="no"
16557 if test "x$with_gio_gdbus" = "xyes"; then
16558 COND_GIO_GDBUS_TRUE=
16559 COND_GIO_GDBUS_FALSE='#'
16561 COND_GIO_GDBUS_TRUE='#'
16562 COND_GIO_GDBUS_FALSE=
16566 # We only need to check for dbus-1 if gio-gdbus is not used.
16568 # Local sync depends on D-Bus communication between parent
16569 # and child process (works without a D-Bus daemon), and local
16570 # sync is not an optional feature. Could be made one if
16571 # someone is interested enough.
16573 # Therefore, at the moment, either libdbus or gio-gdbus are needed
16574 # unconditionally. glib is needed in all cases now.
16576 if test "x$with_gio_gdbus" = "xyes"; then :
16579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
16580 $as_echo_n "checking for DBUS... " >&6; }
16582 if test -n "$PKG_CONFIG"; then
16583 if test -n "$DBUS_CFLAGS"; then
16584 pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
16586 if test -n "$PKG_CONFIG" && \
16587 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.26\""; } >&5
16588 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.26") 2>&5
16590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16591 test $ac_status = 0; }; then
16592 pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.26" 2>/dev/null`
16600 if test -n "$PKG_CONFIG"; then
16601 if test -n "$DBUS_LIBS"; then
16602 pkg_cv_DBUS_LIBS="$DBUS_LIBS"
16604 if test -n "$PKG_CONFIG" && \
16605 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.26\""; } >&5
16606 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.26") 2>&5
16608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16609 test $ac_status = 0; }; then
16610 pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.26" 2>/dev/null`
16621 if test $pkg_failed = yes; then
16623 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16624 _pkg_short_errors_supported=yes
16626 _pkg_short_errors_supported=no
16628 if test $_pkg_short_errors_supported = yes; then
16629 DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gio-2.0 >= 2.26"`
16631 DBUS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gio-2.0 >= 2.26"`
16633 # Put the nasty error message in config.log where it belongs
16634 echo "$DBUS_PKG_ERRORS" >&5
16636 as_fn_error "Package requirements (gio-2.0 >= 2.26) were not met:
16640 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16641 installed software in a non-standard prefix.
16643 Alternatively, you may set the environment variables DBUS_CFLAGS
16644 and DBUS_LIBS to avoid the need to call pkg-config.
16645 See the pkg-config man page for more details.
16647 elif test $pkg_failed = untried; then
16648 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16649 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16650 as_fn_error "The pkg-config script could not be found or is too old. Make sure it
16651 is in your PATH or set the PKG_CONFIG environment variable to the full
16652 path to pkg-config.
16654 Alternatively, you may set the environment variables DBUS_CFLAGS
16655 and DBUS_LIBS to avoid the need to call pkg-config.
16656 See the pkg-config man page for more details.
16658 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16659 See \`config.log' for more details." "$LINENO" 5; }
16661 DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
16662 DBUS_LIBS=$pkg_cv_DBUS_LIBS
16663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16664 $as_echo "yes" >&6; }
16668 $as_echo "#define WITH_GIO_GDBUS /**/" >>confdefs.h
16673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
16674 $as_echo_n "checking for DBUS... " >&6; }
16676 if test -n "$PKG_CONFIG"; then
16677 if test -n "$DBUS_CFLAGS"; then
16678 pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
16680 if test -n "$PKG_CONFIG" && \
16681 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5
16682 ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5
16684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16685 test $ac_status = 0; }; then
16686 pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1" 2>/dev/null`
16694 if test -n "$PKG_CONFIG"; then
16695 if test -n "$DBUS_LIBS"; then
16696 pkg_cv_DBUS_LIBS="$DBUS_LIBS"
16698 if test -n "$PKG_CONFIG" && \
16699 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5
16700 ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5
16702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16703 test $ac_status = 0; }; then
16704 pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1" 2>/dev/null`
16715 if test $pkg_failed = yes; then
16717 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16718 _pkg_short_errors_supported=yes
16720 _pkg_short_errors_supported=no
16722 if test $_pkg_short_errors_supported = yes; then
16723 DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "dbus-1"`
16725 DBUS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "dbus-1"`
16727 # Put the nasty error message in config.log where it belongs
16728 echo "$DBUS_PKG_ERRORS" >&5
16730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16731 $as_echo "no" >&6; }
16732 as_fn_error "libdbus-1 is required" "$LINENO" 5
16733 elif test $pkg_failed = untried; then
16734 as_fn_error "libdbus-1 is required" "$LINENO" 5
16736 DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
16737 DBUS_LIBS=$pkg_cv_DBUS_LIBS
16738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16739 $as_echo "yes" >&6; }
16742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbus_watch_get_unix_fd in -ldbus-1" >&5
16743 $as_echo_n "checking for dbus_watch_get_unix_fd in -ldbus-1... " >&6; }
16744 if test "${ac_cv_lib_dbus_1_dbus_watch_get_unix_fd+set}" = set; then :
16745 $as_echo_n "(cached) " >&6
16747 ac_check_lib_save_LIBS=$LIBS
16748 LIBS="-ldbus-1 $LIBS"
16749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16750 /* end confdefs.h. */
16752 /* Override any GCC internal prototype to avoid an error.
16753 Use char because int might match the return type of a GCC
16754 builtin and then its argument prototype would still apply. */
16758 char dbus_watch_get_unix_fd ();
16762 return dbus_watch_get_unix_fd ();
16767 if ac_fn_c_try_link "$LINENO"; then :
16768 ac_cv_lib_dbus_1_dbus_watch_get_unix_fd=yes
16770 ac_cv_lib_dbus_1_dbus_watch_get_unix_fd=no
16772 rm -f core conftest.err conftest.$ac_objext \
16773 conftest$ac_exeext conftest.$ac_ext
16774 LIBS=$ac_check_lib_save_LIBS
16776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dbus_1_dbus_watch_get_unix_fd" >&5
16777 $as_echo "$ac_cv_lib_dbus_1_dbus_watch_get_unix_fd" >&6; }
16778 if test "x$ac_cv_lib_dbus_1_dbus_watch_get_unix_fd" = x""yes; then :
16782 $as_echo "#define NEED_DBUS_WATCH_GET_UNIX_FD 1" >>confdefs.h
16788 if test $enable_dbus_service = "yes"; then
16789 if test -z "$XSLT"; then
16790 as_fn_error "xsltproc not found, is required for D-Bus service" "$LINENO" 5
16792 # Recent libnotify releases work with gtk+-2.0 and gtk+-3.0.
16793 # Check whether --enable-notify was given.
16794 if test "${enable_notify+set}" = set; then :
16795 enableval=$enable_notify; enable_notify="$enableval"
16797 if test -n "$PKG_CONFIG" && \
16798 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify \$gtk_version\""; } >&5
16799 ($PKG_CONFIG --exists --print-errors "libnotify $gtk_version") 2>&5
16801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16802 test $ac_status = 0; }; then
16803 enable_notify="yes"
16809 if test "x$enable_notify" = "xyes"; then :
16812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
16813 $as_echo_n "checking for LIBNOTIFY... " >&6; }
16815 if test -n "$PKG_CONFIG"; then
16816 if test -n "$LIBNOTIFY_CFLAGS"; then
16817 pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
16819 if test -n "$PKG_CONFIG" && \
16820 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify \$gtk_version\""; } >&5
16821 ($PKG_CONFIG --exists --print-errors "libnotify $gtk_version") 2>&5
16823 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16824 test $ac_status = 0; }; then
16825 pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify $gtk_version" 2>/dev/null`
16833 if test -n "$PKG_CONFIG"; then
16834 if test -n "$LIBNOTIFY_LIBS"; then
16835 pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
16837 if test -n "$PKG_CONFIG" && \
16838 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify \$gtk_version\""; } >&5
16839 ($PKG_CONFIG --exists --print-errors "libnotify $gtk_version") 2>&5
16841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16842 test $ac_status = 0; }; then
16843 pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify $gtk_version" 2>/dev/null`
16854 if test $pkg_failed = yes; then
16856 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16857 _pkg_short_errors_supported=yes
16859 _pkg_short_errors_supported=no
16861 if test $_pkg_short_errors_supported = yes; then
16862 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify $gtk_version"`
16864 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify $gtk_version"`
16866 # Put the nasty error message in config.log where it belongs
16867 echo "$LIBNOTIFY_PKG_ERRORS" >&5
16869 as_fn_error "Package requirements (libnotify $gtk_version) were not met:
16871 $LIBNOTIFY_PKG_ERRORS
16873 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16874 installed software in a non-standard prefix.
16876 Alternatively, you may set the environment variables LIBNOTIFY_CFLAGS
16877 and LIBNOTIFY_LIBS to avoid the need to call pkg-config.
16878 See the pkg-config man page for more details.
16880 elif test $pkg_failed = untried; then
16881 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16882 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16883 as_fn_error "The pkg-config script could not be found or is too old. Make sure it
16884 is in your PATH or set the PKG_CONFIG environment variable to the full
16885 path to pkg-config.
16887 Alternatively, you may set the environment variables LIBNOTIFY_CFLAGS
16888 and LIBNOTIFY_LIBS to avoid the need to call pkg-config.
16889 See the pkg-config man page for more details.
16891 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16892 See \`config.log' for more details." "$LINENO" 5; }
16894 LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
16895 LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
16896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16897 $as_echo "yes" >&6; }
16901 $as_echo "#define HAS_NOTIFY 1" >>confdefs.h
16905 # Check whether --enable-notify-compatibility was given.
16906 if test "${enable_notify_compatibility+set}" = set; then :
16907 enableval=$enable_notify_compatibility; enable_notify_compat="$enableval"
16909 enable_notify_compat="no"
16913 if test "$enable_notify_compat" = "yes"; then
16915 $as_echo "#define NOTIFY_COMPATIBILITY 1" >>confdefs.h
16917 LIBNOTIFY_LIBS="`echo $LIBNOTIFY_LIBS | sed -e 's/\(-lnotify\|^ *libnotify.la\)/-ldl/'`"
16920 # Here we're using QtGui too because mlite fails to depend on it,
16921 # despite using QAction.
16924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MLITE" >&5
16925 $as_echo_n "checking for MLITE... " >&6; }
16927 if test -n "$PKG_CONFIG"; then
16928 if test -n "$MLITE_CFLAGS"; then
16929 pkg_cv_MLITE_CFLAGS="$MLITE_CFLAGS"
16931 if test -n "$PKG_CONFIG" && \
16932 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mlite QtGui\""; } >&5
16933 ($PKG_CONFIG --exists --print-errors "mlite QtGui") 2>&5
16935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16936 test $ac_status = 0; }; then
16937 pkg_cv_MLITE_CFLAGS=`$PKG_CONFIG --cflags "mlite QtGui" 2>/dev/null`
16945 if test -n "$PKG_CONFIG"; then
16946 if test -n "$MLITE_LIBS"; then
16947 pkg_cv_MLITE_LIBS="$MLITE_LIBS"
16949 if test -n "$PKG_CONFIG" && \
16950 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mlite QtGui\""; } >&5
16951 ($PKG_CONFIG --exists --print-errors "mlite QtGui") 2>&5
16953 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16954 test $ac_status = 0; }; then
16955 pkg_cv_MLITE_LIBS=`$PKG_CONFIG --libs "mlite QtGui" 2>/dev/null`
16966 if test $pkg_failed = yes; then
16968 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16969 _pkg_short_errors_supported=yes
16971 _pkg_short_errors_supported=no
16973 if test $_pkg_short_errors_supported = yes; then
16974 MLITE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "mlite QtGui"`
16976 MLITE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mlite QtGui"`
16978 # Put the nasty error message in config.log where it belongs
16979 echo "$MLITE_PKG_ERRORS" >&5
16981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16982 $as_echo "no" >&6; }
16984 elif test $pkg_failed = untried; then
16987 MLITE_CFLAGS=$pkg_cv_MLITE_CFLAGS
16988 MLITE_LIBS=$pkg_cv_MLITE_LIBS
16989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16990 $as_echo "yes" >&6; }
16993 # Check whether --enable-mlite was given.
16994 if test "${enable_mlite+set}" = set; then :
16995 enableval=$enable_mlite; enable_mlite="$enableval"
16996 test "$enableval" = "no" || test $HAVE_MLITE = "yes" || as_fn_error "required mlite package not found" "$LINENO" 5
17001 if test $enable_mlite = "yes"; then
17003 $as_echo "#define HAS_MLITE 1" >>confdefs.h
17006 # don't use mlite, even if found
17011 $as_echo "#define DBUS_SERVICE 1" >>confdefs.h
17014 if test "$enable_notify_compat" = "yes"; then
17015 NOTIFY_COMPATIBILITY_TRUE=
17016 NOTIFY_COMPATIBILITY_FALSE='#'
17018 NOTIFY_COMPATIBILITY_TRUE='#'
17019 NOTIFY_COMPATIBILITY_FALSE=
17031 DBUS_SERVICES_DIR="${datadir}/dbus-1/services"
17034 cat >>confdefs.h <<_ACEOF
17035 #define DBUS_SERVICES_DIR "$DBUS_SERVICES_DIR"
17039 if test $enable_gui != "no" || test $enable_dbus_service = "yes"; then
17041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
17042 $as_echo_n "checking whether NLS is requested... " >&6; }
17043 # Check whether --enable-nls was given.
17044 if test "${enable_nls+set}" = set; then :
17045 enableval=$enable_nls; USE_NLS=$enableval
17050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
17051 $as_echo "$USE_NLS" >&6; }
17056 case "$am__api_version" in
17058 as_fn_error "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
17064 if test -n "0.37.1"; then
17065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.37.1" >&5
17066 $as_echo_n "checking for intltool >= 0.37.1... " >&6; }
17068 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.37.1 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
17069 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
17070 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
17072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
17073 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
17074 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
17075 as_fn_error "Your intltool is too old. You need intltool 0.37.1 or later." "$LINENO" 5
17078 # Extract the first word of "intltool-update", so it can be a program name with args.
17079 set dummy intltool-update; ac_word=$2
17080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17081 $as_echo_n "checking for $ac_word... " >&6; }
17082 if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
17083 $as_echo_n "(cached) " >&6
17085 case $INTLTOOL_UPDATE in
17087 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
17090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17091 for as_dir in $PATH
17094 test -z "$as_dir" && as_dir=.
17095 for ac_exec_ext in '' $ac_executable_extensions; do
17096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17097 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
17098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17108 INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
17109 if test -n "$INTLTOOL_UPDATE"; then
17110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
17111 $as_echo "$INTLTOOL_UPDATE" >&6; }
17113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17114 $as_echo "no" >&6; }
17118 # Extract the first word of "intltool-merge", so it can be a program name with args.
17119 set dummy intltool-merge; ac_word=$2
17120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17121 $as_echo_n "checking for $ac_word... " >&6; }
17122 if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
17123 $as_echo_n "(cached) " >&6
17125 case $INTLTOOL_MERGE in
17127 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
17130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17131 for as_dir in $PATH
17134 test -z "$as_dir" && as_dir=.
17135 for ac_exec_ext in '' $ac_executable_extensions; do
17136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17137 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
17138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17148 INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
17149 if test -n "$INTLTOOL_MERGE"; then
17150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
17151 $as_echo "$INTLTOOL_MERGE" >&6; }
17153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17154 $as_echo "no" >&6; }
17158 # Extract the first word of "intltool-extract", so it can be a program name with args.
17159 set dummy intltool-extract; ac_word=$2
17160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17161 $as_echo_n "checking for $ac_word... " >&6; }
17162 if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
17163 $as_echo_n "(cached) " >&6
17165 case $INTLTOOL_EXTRACT in
17167 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
17170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17171 for as_dir in $PATH
17174 test -z "$as_dir" && as_dir=.
17175 for ac_exec_ext in '' $ac_executable_extensions; do
17176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17177 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
17178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17188 INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
17189 if test -n "$INTLTOOL_EXTRACT"; then
17190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
17191 $as_echo "$INTLTOOL_EXTRACT" >&6; }
17193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17194 $as_echo "no" >&6; }
17198 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
17199 as_fn_error "The intltool scripts were not found. Please install intltool." "$LINENO" 5
17202 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 $< $@'
17203 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 $< $@'
17204 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 $< $@'
17205 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 $< $@'
17206 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
17207 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 $< $@'
17208 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 $< $@'
17209 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 $< $@'
17210 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 $< $@'
17211 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 $< $@'
17212 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 $< $@'
17213 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
17214 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 $< $@'
17215 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 $< $@'
17216 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 $< $@'
17217 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 $< $@'
17218 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 $< $@'
17219 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 $< $@'
17220 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 $< $@'
17318 # Check the gettext tools to make sure they are GNU
17319 # Extract the first word of "xgettext", so it can be a program name with args.
17320 set dummy xgettext; ac_word=$2
17321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17322 $as_echo_n "checking for $ac_word... " >&6; }
17323 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
17324 $as_echo_n "(cached) " >&6
17328 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
17331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17332 for as_dir in $PATH
17335 test -z "$as_dir" && as_dir=.
17336 for ac_exec_ext in '' $ac_executable_extensions; do
17337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17338 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
17339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17349 XGETTEXT=$ac_cv_path_XGETTEXT
17350 if test -n "$XGETTEXT"; then
17351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
17352 $as_echo "$XGETTEXT" >&6; }
17354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17355 $as_echo "no" >&6; }
17359 # Extract the first word of "msgmerge", so it can be a program name with args.
17360 set dummy msgmerge; ac_word=$2
17361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17362 $as_echo_n "checking for $ac_word... " >&6; }
17363 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
17364 $as_echo_n "(cached) " >&6
17368 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
17371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17372 for as_dir in $PATH
17375 test -z "$as_dir" && as_dir=.
17376 for ac_exec_ext in '' $ac_executable_extensions; do
17377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17378 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
17379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17389 MSGMERGE=$ac_cv_path_MSGMERGE
17390 if test -n "$MSGMERGE"; then
17391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
17392 $as_echo "$MSGMERGE" >&6; }
17394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17395 $as_echo "no" >&6; }
17399 # Extract the first word of "msgfmt", so it can be a program name with args.
17400 set dummy msgfmt; ac_word=$2
17401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17402 $as_echo_n "checking for $ac_word... " >&6; }
17403 if test "${ac_cv_path_MSGFMT+set}" = set; then :
17404 $as_echo_n "(cached) " >&6
17408 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
17411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17412 for as_dir in $PATH
17415 test -z "$as_dir" && as_dir=.
17416 for ac_exec_ext in '' $ac_executable_extensions; do
17417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17418 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
17419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17429 MSGFMT=$ac_cv_path_MSGFMT
17430 if test -n "$MSGFMT"; then
17431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
17432 $as_echo "$MSGFMT" >&6; }
17434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17435 $as_echo "no" >&6; }
17439 # Extract the first word of "gmsgfmt", so it can be a program name with args.
17440 set dummy gmsgfmt; ac_word=$2
17441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17442 $as_echo_n "checking for $ac_word... " >&6; }
17443 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
17444 $as_echo_n "(cached) " >&6
17448 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
17451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17452 for as_dir in $PATH
17455 test -z "$as_dir" && as_dir=.
17456 for ac_exec_ext in '' $ac_executable_extensions; do
17457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17458 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
17459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17466 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
17470 GMSGFMT=$ac_cv_path_GMSGFMT
17471 if test -n "$GMSGFMT"; then
17472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
17473 $as_echo "$GMSGFMT" >&6; }
17475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17476 $as_echo "no" >&6; }
17480 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
17481 as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
17483 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
17484 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
17485 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
17486 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
17487 as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
17490 # Extract the first word of "perl", so it can be a program name with args.
17491 set dummy perl; ac_word=$2
17492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17493 $as_echo_n "checking for $ac_word... " >&6; }
17494 if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
17495 $as_echo_n "(cached) " >&6
17497 case $INTLTOOL_PERL in
17499 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
17502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17503 for as_dir in $PATH
17506 test -z "$as_dir" && as_dir=.
17507 for ac_exec_ext in '' $ac_executable_extensions; do
17508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17509 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
17510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17520 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
17521 if test -n "$INTLTOOL_PERL"; then
17522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
17523 $as_echo "$INTLTOOL_PERL" >&6; }
17525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17526 $as_echo "no" >&6; }
17530 if test -z "$INTLTOOL_PERL"; then
17531 as_fn_error "perl not found" "$LINENO" 5
17533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
17534 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
17535 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
17536 if test $? -ne 0; then
17537 as_fn_error "perl 5.8.1 is required for intltool" "$LINENO" 5
17539 IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
17540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
17541 $as_echo "$IT_PERL_VERSION" >&6; }
17543 if test "x" != "xno-xml"; then
17544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
17545 $as_echo_n "checking for XML::Parser... " >&6; }
17546 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
17547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
17548 $as_echo "ok" >&6; }
17550 as_fn_error "XML::Parser perl module is required for intltool" "$LINENO" 5
17554 # Substitute ALL_LINGUAS so we can use it in po/Makefile
17557 # Set DATADIRNAME correctly if it is not set yet
17558 # (copied from glib-gettext.m4)
17559 if test -z "$DATADIRNAME"; then
17560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17561 /* end confdefs.h. */
17566 extern int _nl_msg_cat_cntr;
17567 return _nl_msg_cat_cntr
17572 if ac_fn_c_try_link "$LINENO"; then :
17577 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
17578 if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
17590 rm -f core conftest.err conftest.$ac_objext \
17591 conftest$ac_exeext conftest.$ac_ext
17598 GETTEXT_PACKAGE=syncevolution
17600 cat >>confdefs.h <<_ACEOF
17601 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
17605 for ac_header in locale.h
17607 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
17608 if test "x$ac_cv_header_locale_h" = x""yes; then :
17609 cat >>confdefs.h <<_ACEOF
17610 #define HAVE_LOCALE_H 1
17617 if test $ac_cv_header_locale_h = yes; then
17618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
17619 $as_echo_n "checking for LC_MESSAGES... " >&6; }
17620 if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
17621 $as_echo_n "(cached) " >&6
17623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17624 /* end confdefs.h. */
17625 #include <locale.h>
17634 if ac_fn_c_try_link "$LINENO"; then :
17635 am_cv_val_LC_MESSAGES=yes
17637 am_cv_val_LC_MESSAGES=no
17639 rm -f core conftest.err conftest.$ac_objext \
17640 conftest$ac_exeext conftest.$ac_ext
17642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
17643 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
17644 if test $am_cv_val_LC_MESSAGES = yes; then
17646 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
17653 gt_cv_have_gettext=no
17659 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
17660 if test "x$ac_cv_header_libintl_h" = x""yes; then :
17661 gt_cv_func_dgettext_libintl="no"
17662 libintl_extra_libs=""
17665 # First check in libc
17667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
17668 $as_echo_n "checking for ngettext in libc... " >&6; }
17669 if test "${gt_cv_func_ngettext_libc+set}" = set; then :
17670 $as_echo_n "(cached) " >&6
17672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17673 /* end confdefs.h. */
17675 #include <libintl.h>
17680 return !ngettext ("","", 1)
17685 if ac_fn_c_try_link "$LINENO"; then :
17686 gt_cv_func_ngettext_libc=yes
17688 gt_cv_func_ngettext_libc=no
17690 rm -f core conftest.err conftest.$ac_objext \
17691 conftest$ac_exeext conftest.$ac_ext
17694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
17695 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
17697 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
17698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
17699 $as_echo_n "checking for dgettext in libc... " >&6; }
17700 if test "${gt_cv_func_dgettext_libc+set}" = set; then :
17701 $as_echo_n "(cached) " >&6
17703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17704 /* end confdefs.h. */
17706 #include <libintl.h>
17711 return !dgettext ("","")
17716 if ac_fn_c_try_link "$LINENO"; then :
17717 gt_cv_func_dgettext_libc=yes
17719 gt_cv_func_dgettext_libc=no
17721 rm -f core conftest.err conftest.$ac_objext \
17722 conftest$ac_exeext conftest.$ac_ext
17725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
17726 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
17729 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
17730 for ac_func in bind_textdomain_codeset
17732 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
17733 if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
17734 cat >>confdefs.h <<_ACEOF
17735 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
17744 # If we don't have everything we want, check in libintl
17746 if test "$gt_cv_func_dgettext_libc" != "yes" \
17747 || test "$gt_cv_func_ngettext_libc" != "yes" \
17748 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
17750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
17751 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
17752 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
17753 $as_echo_n "(cached) " >&6
17755 ac_check_lib_save_LIBS=$LIBS
17756 LIBS="-lintl $LIBS"
17757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17758 /* end confdefs.h. */
17760 /* Override any GCC internal prototype to avoid an error.
17761 Use char because int might match the return type of a GCC
17762 builtin and then its argument prototype would still apply. */
17766 char bindtextdomain ();
17770 return bindtextdomain ();
17775 if ac_fn_c_try_link "$LINENO"; then :
17776 ac_cv_lib_intl_bindtextdomain=yes
17778 ac_cv_lib_intl_bindtextdomain=no
17780 rm -f core conftest.err conftest.$ac_objext \
17781 conftest$ac_exeext conftest.$ac_ext
17782 LIBS=$ac_check_lib_save_LIBS
17784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
17785 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
17786 if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then :
17787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
17788 $as_echo_n "checking for ngettext in -lintl... " >&6; }
17789 if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
17790 $as_echo_n "(cached) " >&6
17792 ac_check_lib_save_LIBS=$LIBS
17793 LIBS="-lintl $LIBS"
17794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17795 /* end confdefs.h. */
17797 /* Override any GCC internal prototype to avoid an error.
17798 Use char because int might match the return type of a GCC
17799 builtin and then its argument prototype would still apply. */
17807 return ngettext ();
17812 if ac_fn_c_try_link "$LINENO"; then :
17813 ac_cv_lib_intl_ngettext=yes
17815 ac_cv_lib_intl_ngettext=no
17817 rm -f core conftest.err conftest.$ac_objext \
17818 conftest$ac_exeext conftest.$ac_ext
17819 LIBS=$ac_check_lib_save_LIBS
17821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
17822 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
17823 if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
17824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
17825 $as_echo_n "checking for dgettext in -lintl... " >&6; }
17826 if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
17827 $as_echo_n "(cached) " >&6
17829 ac_check_lib_save_LIBS=$LIBS
17830 LIBS="-lintl $LIBS"
17831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17832 /* end confdefs.h. */
17834 /* Override any GCC internal prototype to avoid an error.
17835 Use char because int might match the return type of a GCC
17836 builtin and then its argument prototype would still apply. */
17844 return dgettext ();
17849 if ac_fn_c_try_link "$LINENO"; then :
17850 ac_cv_lib_intl_dgettext=yes
17852 ac_cv_lib_intl_dgettext=no
17854 rm -f core conftest.err conftest.$ac_objext \
17855 conftest$ac_exeext conftest.$ac_ext
17856 LIBS=$ac_check_lib_save_LIBS
17858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
17859 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
17860 if test "x$ac_cv_lib_intl_dgettext" = x""yes; then :
17861 gt_cv_func_dgettext_libintl=yes
17869 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
17870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
17871 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
17872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
17874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
17875 $as_echo_n "checking for ngettext in -lintl... " >&6; }
17876 if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
17877 $as_echo_n "(cached) " >&6
17879 ac_check_lib_save_LIBS=$LIBS
17880 LIBS="-lintl -liconv $LIBS"
17881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17882 /* end confdefs.h. */
17884 /* Override any GCC internal prototype to avoid an error.
17885 Use char because int might match the return type of a GCC
17886 builtin and then its argument prototype would still apply. */
17894 return ngettext ();
17899 if ac_fn_c_try_link "$LINENO"; then :
17900 ac_cv_lib_intl_ngettext=yes
17902 ac_cv_lib_intl_ngettext=no
17904 rm -f core conftest.err conftest.$ac_objext \
17905 conftest$ac_exeext conftest.$ac_ext
17906 LIBS=$ac_check_lib_save_LIBS
17908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
17909 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
17910 if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
17911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
17912 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
17913 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
17914 $as_echo_n "(cached) " >&6
17916 ac_check_lib_save_LIBS=$LIBS
17917 LIBS="-lintl -liconv $LIBS"
17918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17919 /* end confdefs.h. */
17921 /* Override any GCC internal prototype to avoid an error.
17922 Use char because int might match the return type of a GCC
17923 builtin and then its argument prototype would still apply. */
17931 return dcgettext ();
17936 if ac_fn_c_try_link "$LINENO"; then :
17937 ac_cv_lib_intl_dcgettext=yes
17939 ac_cv_lib_intl_dcgettext=no
17941 rm -f core conftest.err conftest.$ac_objext \
17942 conftest$ac_exeext conftest.$ac_ext
17943 LIBS=$ac_check_lib_save_LIBS
17945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
17946 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
17947 if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then :
17948 gt_cv_func_dgettext_libintl=yes
17949 libintl_extra_libs=-liconv
17961 # If we found libintl, then check in it for bind_textdomain_codeset();
17962 # we'll prefer libc if neither have bind_textdomain_codeset(),
17963 # and both have dgettext and ngettext
17965 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
17966 glib_save_LIBS="$LIBS"
17967 LIBS="$LIBS -lintl $libintl_extra_libs"
17968 unset ac_cv_func_bind_textdomain_codeset
17969 for ac_func in bind_textdomain_codeset
17971 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
17972 if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
17973 cat >>confdefs.h <<_ACEOF
17974 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
17980 LIBS="$glib_save_LIBS"
17982 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
17983 gt_cv_func_dgettext_libc=no
17985 if test "$gt_cv_func_dgettext_libc" = "yes" \
17986 && test "$gt_cv_func_ngettext_libc" = "yes"; then
17987 gt_cv_func_dgettext_libintl=no
17993 if test "$gt_cv_func_dgettext_libc" = "yes" \
17994 || test "$gt_cv_func_dgettext_libintl" = "yes"; then
17995 gt_cv_have_gettext=yes
17998 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
17999 INTLLIBS="-lintl $libintl_extra_libs"
18002 if test "$gt_cv_have_gettext" = "yes"; then
18004 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
18006 # Extract the first word of "msgfmt", so it can be a program name with args.
18007 set dummy msgfmt; ac_word=$2
18008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18009 $as_echo_n "checking for $ac_word... " >&6; }
18010 if test "${ac_cv_path_MSGFMT+set}" = set; then :
18011 $as_echo_n "(cached) " >&6
18015 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
18018 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
18019 for ac_dir in $PATH; do
18020 test -z "$ac_dir" && ac_dir=.
18021 if test -f $ac_dir/$ac_word; then
18022 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
18023 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
18029 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
18033 MSGFMT="$ac_cv_path_MSGFMT"
18034 if test "$MSGFMT" != "no"; then
18035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
18036 $as_echo "$MSGFMT" >&6; }
18038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18039 $as_echo "no" >&6; }
18041 if test "$MSGFMT" != "no"; then
18042 glib_save_LIBS="$LIBS"
18043 LIBS="$LIBS $INTLLIBS"
18044 for ac_func in dcgettext
18046 ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
18047 if test "x$ac_cv_func_dcgettext" = x""yes; then :
18048 cat >>confdefs.h <<_ACEOF
18049 #define HAVE_DCGETTEXT 1
18056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
18057 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
18058 cat >conftest.foo <<_ACEOF
18062 "Content-Type: text/plain; charset=UTF-8\n"
18063 "Project-Id-Version: test 1.0\n"
18064 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
18065 "Last-Translator: test <foo@bar.xx>\n"
18066 "Language-Team: C <LL@li.org>\n"
18067 "MIME-Version: 1.0\n"
18068 "Content-Transfer-Encoding: 8bit\n"
18071 if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
18072 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
18074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18075 test $ac_status = 0; }; then
18076 MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18077 $as_echo "yes" >&6; }
18078 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18079 $as_echo "no" >&6; }
18080 echo "$as_me: failed input was:" >&5
18081 sed 's/^/| /' conftest.foo >&5
18084 # Extract the first word of "gmsgfmt", so it can be a program name with args.
18085 set dummy gmsgfmt; ac_word=$2
18086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18087 $as_echo_n "checking for $ac_word... " >&6; }
18088 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
18089 $as_echo_n "(cached) " >&6
18093 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
18096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18097 for as_dir in $PATH
18100 test -z "$as_dir" && as_dir=.
18101 for ac_exec_ext in '' $ac_executable_extensions; do
18102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18103 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
18104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18111 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
18115 GMSGFMT=$ac_cv_path_GMSGFMT
18116 if test -n "$GMSGFMT"; then
18117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
18118 $as_echo "$GMSGFMT" >&6; }
18120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18121 $as_echo "no" >&6; }
18125 # Extract the first word of "xgettext", so it can be a program name with args.
18126 set dummy xgettext; ac_word=$2
18127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18128 $as_echo_n "checking for $ac_word... " >&6; }
18129 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
18130 $as_echo_n "(cached) " >&6
18132 case "$XGETTEXT" in
18134 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
18137 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
18138 for ac_dir in $PATH; do
18139 test -z "$ac_dir" && ac_dir=.
18140 if test -f $ac_dir/$ac_word; then
18141 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
18142 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
18148 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
18152 XGETTEXT="$ac_cv_path_XGETTEXT"
18153 if test "$XGETTEXT" != ":"; then
18154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
18155 $as_echo "$XGETTEXT" >&6; }
18157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18158 $as_echo "no" >&6; }
18161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18162 /* end confdefs.h. */
18167 extern int _nl_msg_cat_cntr;
18168 return _nl_msg_cat_cntr
18173 if ac_fn_c_try_link "$LINENO"; then :
18179 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
18180 if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
18195 rm -f core conftest.err conftest.$ac_objext \
18196 conftest$ac_exeext conftest.$ac_ext
18197 LIBS="$glib_save_LIBS"
18200 gt_cv_have_gettext=no
18208 if test "$gt_cv_have_gettext" = "yes" ; then
18210 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
18214 if test "$XGETTEXT" != ":"; then
18215 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
18218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
18219 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
18224 # We need to process the po/ directory.
18227 ac_config_commands="$ac_config_commands default-1"
18230 for lang in $ALL_LINGUAS; do
18231 GMOFILES="$GMOFILES $lang.gmo"
18232 POFILES="$POFILES $lang.po"
18247 if test "$gt_cv_have_gettext" = "yes"; then
18248 if test "x$ALL_LINGUAS" = "x"; then
18251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
18252 $as_echo_n "checking for catalogs to be installed... " >&6; }
18254 for presentlang in $ALL_LINGUAS; do
18256 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
18257 desiredlanguages="$LINGUAS"
18259 desiredlanguages="$ALL_LINGUAS"
18261 for desiredlang in $desiredlanguages; do
18262 # Use the presentlang catalog if desiredlang is
18263 # a. equal to presentlang, or
18264 # b. a variant of presentlang (because in this case,
18265 # presentlang can be used as a fallback for messages
18266 # which are not translated in the desiredlang catalog).
18267 case "$desiredlang" in
18268 "$presentlang"*) useit=yes;;
18271 if test $useit = yes; then
18272 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
18275 LINGUAS=$NEW_LINGUAS
18276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
18277 $as_echo "$LINGUAS" >&6; }
18280 if test -n "$LINGUAS"; then
18281 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
18286 if test -n "$ac_aux_dir"; then
18287 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
18289 if test -z "$MKINSTALLDIRS"; then
18290 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
18294 test -d po || mkdir po
18295 if test "x$srcdir" != "x."; then
18296 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
18297 posrcprefix="$srcdir/"
18299 posrcprefix="../$srcdir/"
18305 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
18306 < $srcdir/po/POTFILES.in > po/POTFILES
18308 SYNCEVOLUTION_LOCALEDIR=${datadir}/locale
18311 # decide which sync-ui(s) we are building:
18312 # sync-ui (in either GTK or Moblin mode) or both (in separate binaries)
18314 if test $gtk_version = "gtk+-3.0"; then
18315 gtk_dir=src/gtk3-ui
18320 case $enable_gui in
18321 all) GUI_PROGRAMS=${gtk_dir}'/sync-ui-gtk${EXEEXT} '${gtk_dir}'/sync-ui-moblin${EXEEXT}'; GUI_DESKTOP_FILES="${gtk_dir}/sync-gtk.desktop ${gtk_dir}/sync-moblin.desktop";;
18322 gtk|moblin) GUI_PROGRAMS=${gtk_dir}'/sync-ui${EXEEXT}'; GUI_DESKTOP_FILES="${gtk_dir}/sync.desktop";;
18323 no) GUI_PROGRAMS=; GUI_DESKTOP_FILES=;;
18324 *) as_fn_error "Unknown enable_gui type: '$enable_gui'" "$LINENO" 5
18327 if test $enable_gui != "no"; then
18330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS_GLIB" >&5
18331 $as_echo_n "checking for DBUS_GLIB... " >&6; }
18333 if test -n "$PKG_CONFIG"; then
18334 if test -n "$DBUS_GLIB_CFLAGS"; then
18335 pkg_cv_DBUS_GLIB_CFLAGS="$DBUS_GLIB_CFLAGS"
18337 if test -n "$PKG_CONFIG" && \
18338 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 glib-2.0\""; } >&5
18339 ($PKG_CONFIG --exists --print-errors "dbus-glib-1 glib-2.0") 2>&5
18341 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18342 test $ac_status = 0; }; then
18343 pkg_cv_DBUS_GLIB_CFLAGS=`$PKG_CONFIG --cflags "dbus-glib-1 glib-2.0" 2>/dev/null`
18351 if test -n "$PKG_CONFIG"; then
18352 if test -n "$DBUS_GLIB_LIBS"; then
18353 pkg_cv_DBUS_GLIB_LIBS="$DBUS_GLIB_LIBS"
18355 if test -n "$PKG_CONFIG" && \
18356 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 glib-2.0\""; } >&5
18357 ($PKG_CONFIG --exists --print-errors "dbus-glib-1 glib-2.0") 2>&5
18359 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18360 test $ac_status = 0; }; then
18361 pkg_cv_DBUS_GLIB_LIBS=`$PKG_CONFIG --libs "dbus-glib-1 glib-2.0" 2>/dev/null`
18372 if test $pkg_failed = yes; then
18374 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18375 _pkg_short_errors_supported=yes
18377 _pkg_short_errors_supported=no
18379 if test $_pkg_short_errors_supported = yes; then
18380 DBUS_GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "dbus-glib-1 glib-2.0"`
18382 DBUS_GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "dbus-glib-1 glib-2.0"`
18384 # Put the nasty error message in config.log where it belongs
18385 echo "$DBUS_GLIB_PKG_ERRORS" >&5
18387 as_fn_error "Package requirements (dbus-glib-1 glib-2.0) were not met:
18389 $DBUS_GLIB_PKG_ERRORS
18391 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18392 installed software in a non-standard prefix.
18394 Alternatively, you may set the environment variables DBUS_GLIB_CFLAGS
18395 and DBUS_GLIB_LIBS to avoid the need to call pkg-config.
18396 See the pkg-config man page for more details.
18398 elif test $pkg_failed = untried; then
18399 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18400 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18401 as_fn_error "The pkg-config script could not be found or is too old. Make sure it
18402 is in your PATH or set the PKG_CONFIG environment variable to the full
18403 path to pkg-config.
18405 Alternatively, you may set the environment variables DBUS_GLIB_CFLAGS
18406 and DBUS_GLIB_LIBS to avoid the need to call pkg-config.
18407 See the pkg-config man page for more details.
18409 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18410 See \`config.log' for more details." "$LINENO" 5; }
18412 DBUS_GLIB_CFLAGS=$pkg_cv_DBUS_GLIB_CFLAGS
18413 DBUS_GLIB_LIBS=$pkg_cv_DBUS_GLIB_LIBS
18414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18415 $as_echo "yes" >&6; }
18418 # Extract the first word of "dbus-binding-tool", so it can be a program name with args.
18419 set dummy dbus-binding-tool; ac_word=$2
18420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18421 $as_echo_n "checking for $ac_word... " >&6; }
18422 if test "${ac_cv_path_DBUS_BINDING_TOOL+set}" = set; then :
18423 $as_echo_n "(cached) " >&6
18425 case $DBUS_BINDING_TOOL in
18427 ac_cv_path_DBUS_BINDING_TOOL="$DBUS_BINDING_TOOL" # Let the user override the test with a path.
18430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18431 for as_dir in $PATH
18434 test -z "$as_dir" && as_dir=.
18435 for ac_exec_ext in '' $ac_executable_extensions; do
18436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18437 ac_cv_path_DBUS_BINDING_TOOL="$as_dir/$ac_word$ac_exec_ext"
18438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18448 DBUS_BINDING_TOOL=$ac_cv_path_DBUS_BINDING_TOOL
18449 if test -n "$DBUS_BINDING_TOOL"; then
18450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_BINDING_TOOL" >&5
18451 $as_echo "$DBUS_BINDING_TOOL" >&6; }
18453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18454 $as_echo "no" >&6; }
18458 # Extract the first word of "glib-genmarshal", so it can be a program name with args.
18459 set dummy glib-genmarshal; ac_word=$2
18460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18461 $as_echo_n "checking for $ac_word... " >&6; }
18462 if test "${ac_cv_path_GLIB_GENMARSHAL+set}" = set; then :
18463 $as_echo_n "(cached) " >&6
18465 case $GLIB_GENMARSHAL in
18467 ac_cv_path_GLIB_GENMARSHAL="$GLIB_GENMARSHAL" # Let the user override the test with a path.
18470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18471 for as_dir in $PATH
18474 test -z "$as_dir" && as_dir=.
18475 for ac_exec_ext in '' $ac_executable_extensions; do
18476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18477 ac_cv_path_GLIB_GENMARSHAL="$as_dir/$ac_word$ac_exec_ext"
18478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18488 GLIB_GENMARSHAL=$ac_cv_path_GLIB_GENMARSHAL
18489 if test -n "$GLIB_GENMARSHAL"; then
18490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL" >&5
18491 $as_echo "$GLIB_GENMARSHAL" >&6; }
18493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18494 $as_echo "no" >&6; }
18499 gui_modules="$gtk_version glib-2.0 dbus-glib-1 >= 0.60 gio-2.0"
18500 if test $enable_gui = "moblin"; then
18502 $as_echo "#define USE_MOBLIN_UX 1" >>confdefs.h
18506 # gtk3 provides a switch widget, otherwise we need mx-gtk
18507 if test $gtk_version != "gtk+-3.0" &&
18508 test $enable_gui = "moblin" -o $enable_gui = "all"; then
18509 gui_modules="$gui_modules mx-gtk-1.0"
18513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MX_GTK_0_99_1" >&5
18514 $as_echo_n "checking for MX_GTK_0_99_1... " >&6; }
18516 if test -n "$PKG_CONFIG"; then
18517 if test -n "$MX_GTK_0_99_1_CFLAGS"; then
18518 pkg_cv_MX_GTK_0_99_1_CFLAGS="$MX_GTK_0_99_1_CFLAGS"
18520 if test -n "$PKG_CONFIG" && \
18521 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mx-gtk-1.0 >= 0.99.1\""; } >&5
18522 ($PKG_CONFIG --exists --print-errors "mx-gtk-1.0 >= 0.99.1") 2>&5
18524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18525 test $ac_status = 0; }; then
18526 pkg_cv_MX_GTK_0_99_1_CFLAGS=`$PKG_CONFIG --cflags "mx-gtk-1.0 >= 0.99.1" 2>/dev/null`
18534 if test -n "$PKG_CONFIG"; then
18535 if test -n "$MX_GTK_0_99_1_LIBS"; then
18536 pkg_cv_MX_GTK_0_99_1_LIBS="$MX_GTK_0_99_1_LIBS"
18538 if test -n "$PKG_CONFIG" && \
18539 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mx-gtk-1.0 >= 0.99.1\""; } >&5
18540 ($PKG_CONFIG --exists --print-errors "mx-gtk-1.0 >= 0.99.1") 2>&5
18542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18543 test $ac_status = 0; }; then
18544 pkg_cv_MX_GTK_0_99_1_LIBS=`$PKG_CONFIG --libs "mx-gtk-1.0 >= 0.99.1" 2>/dev/null`
18555 if test $pkg_failed = yes; then
18557 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18558 _pkg_short_errors_supported=yes
18560 _pkg_short_errors_supported=no
18562 if test $_pkg_short_errors_supported = yes; then
18563 MX_GTK_0_99_1_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "mx-gtk-1.0 >= 0.99.1"`
18565 MX_GTK_0_99_1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mx-gtk-1.0 >= 0.99.1"`
18567 # Put the nasty error message in config.log where it belongs
18568 echo "$MX_GTK_0_99_1_PKG_ERRORS" >&5
18570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18571 $as_echo "no" >&6; }
18572 have_mx_gtk_0_99_1="no"
18573 elif test $pkg_failed = untried; then
18574 have_mx_gtk_0_99_1="no"
18576 MX_GTK_0_99_1_CFLAGS=$pkg_cv_MX_GTK_0_99_1_CFLAGS
18577 MX_GTK_0_99_1_LIBS=$pkg_cv_MX_GTK_0_99_1_LIBS
18578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18579 $as_echo "yes" >&6; }
18580 have_mx_gtk_0_99_1="yes"
18582 if test $have_mx_gtk_0_99_1 = "yes"; then
18584 $as_echo "#define MX_GTK_0_99_1 1" >>confdefs.h
18591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNIQUE" >&5
18592 $as_echo_n "checking for UNIQUE... " >&6; }
18594 if test -n "$PKG_CONFIG"; then
18595 if test -n "$UNIQUE_CFLAGS"; then
18596 pkg_cv_UNIQUE_CFLAGS="$UNIQUE_CFLAGS"
18598 if test -n "$PKG_CONFIG" && \
18599 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"unique-1.0\""; } >&5
18600 ($PKG_CONFIG --exists --print-errors "unique-1.0") 2>&5
18602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18603 test $ac_status = 0; }; then
18604 pkg_cv_UNIQUE_CFLAGS=`$PKG_CONFIG --cflags "unique-1.0" 2>/dev/null`
18612 if test -n "$PKG_CONFIG"; then
18613 if test -n "$UNIQUE_LIBS"; then
18614 pkg_cv_UNIQUE_LIBS="$UNIQUE_LIBS"
18616 if test -n "$PKG_CONFIG" && \
18617 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"unique-1.0\""; } >&5
18618 ($PKG_CONFIG --exists --print-errors "unique-1.0") 2>&5
18620 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18621 test $ac_status = 0; }; then
18622 pkg_cv_UNIQUE_LIBS=`$PKG_CONFIG --libs "unique-1.0" 2>/dev/null`
18633 if test $pkg_failed = yes; then
18635 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18636 _pkg_short_errors_supported=yes
18638 _pkg_short_errors_supported=no
18640 if test $_pkg_short_errors_supported = yes; then
18641 UNIQUE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "unique-1.0"`
18643 UNIQUE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "unique-1.0"`
18645 # Put the nasty error message in config.log where it belongs
18646 echo "$UNIQUE_PKG_ERRORS" >&5
18648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18649 $as_echo "no" >&6; }
18651 elif test $pkg_failed = untried; then
18654 UNIQUE_CFLAGS=$pkg_cv_UNIQUE_CFLAGS
18655 UNIQUE_LIBS=$pkg_cv_UNIQUE_LIBS
18656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18657 $as_echo "yes" >&6; }
18660 if test $have_unique = "yes"; then
18661 gui_modules="$gui_modules unique-1.0"
18663 $as_echo "#define ENABLE_UNIQUE 1" >>confdefs.h
18669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK_2_18" >&5
18670 $as_echo_n "checking for GTK_2_18... " >&6; }
18672 if test -n "$PKG_CONFIG"; then
18673 if test -n "$GTK_2_18_CFLAGS"; then
18674 pkg_cv_GTK_2_18_CFLAGS="$GTK_2_18_CFLAGS"
18676 if test -n "$PKG_CONFIG" && \
18677 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
18678 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
18680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18681 test $ac_status = 0; }; then
18682 pkg_cv_GTK_2_18_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.18" 2>/dev/null`
18690 if test -n "$PKG_CONFIG"; then
18691 if test -n "$GTK_2_18_LIBS"; then
18692 pkg_cv_GTK_2_18_LIBS="$GTK_2_18_LIBS"
18694 if test -n "$PKG_CONFIG" && \
18695 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
18696 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
18698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18699 test $ac_status = 0; }; then
18700 pkg_cv_GTK_2_18_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.18" 2>/dev/null`
18711 if test $pkg_failed = yes; then
18713 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18714 _pkg_short_errors_supported=yes
18716 _pkg_short_errors_supported=no
18718 if test $_pkg_short_errors_supported = yes; then
18719 GTK_2_18_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0 >= 2.18"`
18721 GTK_2_18_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.18"`
18723 # Put the nasty error message in config.log where it belongs
18724 echo "$GTK_2_18_PKG_ERRORS" >&5
18726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18727 $as_echo "no" >&6; }
18729 elif test $pkg_failed = untried; then
18732 GTK_2_18_CFLAGS=$pkg_cv_GTK_2_18_CFLAGS
18733 GTK_2_18_LIBS=$pkg_cv_GTK_2_18_LIBS
18734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18735 $as_echo "yes" >&6; }
18736 have_gtk_2_18="yes"
18738 if test $have_gtk_2_18 = "yes"; then
18740 $as_echo "#define GTK_2_18 1" >>confdefs.h
18746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GUI" >&5
18747 $as_echo_n "checking for GUI... " >&6; }
18749 if test -n "$PKG_CONFIG"; then
18750 if test -n "$GUI_CFLAGS"; then
18751 pkg_cv_GUI_CFLAGS="$GUI_CFLAGS"
18753 if test -n "$PKG_CONFIG" && \
18754 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gui_modules\""; } >&5
18755 ($PKG_CONFIG --exists --print-errors "$gui_modules") 2>&5
18757 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18758 test $ac_status = 0; }; then
18759 pkg_cv_GUI_CFLAGS=`$PKG_CONFIG --cflags "$gui_modules" 2>/dev/null`
18767 if test -n "$PKG_CONFIG"; then
18768 if test -n "$GUI_LIBS"; then
18769 pkg_cv_GUI_LIBS="$GUI_LIBS"
18771 if test -n "$PKG_CONFIG" && \
18772 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gui_modules\""; } >&5
18773 ($PKG_CONFIG --exists --print-errors "$gui_modules") 2>&5
18775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18776 test $ac_status = 0; }; then
18777 pkg_cv_GUI_LIBS=`$PKG_CONFIG --libs "$gui_modules" 2>/dev/null`
18788 if test $pkg_failed = yes; then
18790 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18791 _pkg_short_errors_supported=yes
18793 _pkg_short_errors_supported=no
18795 if test $_pkg_short_errors_supported = yes; then
18796 GUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$gui_modules"`
18798 GUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$gui_modules"`
18800 # Put the nasty error message in config.log where it belongs
18801 echo "$GUI_PKG_ERRORS" >&5
18803 as_fn_error "Package requirements ($gui_modules) were not met:
18807 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18808 installed software in a non-standard prefix.
18810 Alternatively, you may set the environment variables GUI_CFLAGS
18811 and GUI_LIBS to avoid the need to call pkg-config.
18812 See the pkg-config man page for more details.
18814 elif test $pkg_failed = untried; then
18815 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18816 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18817 as_fn_error "The pkg-config script could not be found or is too old. Make sure it
18818 is in your PATH or set the PKG_CONFIG environment variable to the full
18819 path to pkg-config.
18821 Alternatively, you may set the environment variables GUI_CFLAGS
18822 and GUI_LIBS to avoid the need to call pkg-config.
18823 See the pkg-config man page for more details.
18825 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18826 See \`config.log' for more details." "$LINENO" 5; }
18828 GUI_CFLAGS=$pkg_cv_GUI_CFLAGS
18829 GUI_LIBS=$pkg_cv_GUI_LIBS
18830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18831 $as_echo "yes" >&6; }
18835 elif test "$enable_dbus_service" = "yes"; then
18836 # syncevo-dbus-server needs localization
18839 INTLTOOL_UPDATE="true"
18849 # Boost headers: boost/foreach.hpp is needed (1.33/Debian Etch
18850 # doesn't have it, 1.34/Ubuntu 8.10 Hardy does). 1.35 is available
18851 # as Debian Etch backport.
18854 # Check whether --with-boost was given.
18855 if test "${with_boost+set}" = set; then :
18856 withval=$with_boost;
18857 if test "$withval" = "no"; then
18859 elif test "$withval" = "yes"; then
18864 ac_boost_path="$withval"
18874 # Check whether --with-boost-libdir was given.
18875 if test "${with_boost_libdir+set}" = set; then :
18876 withval=$with_boost_libdir;
18877 if test -d "$withval"
18879 ac_boost_lib_path="$withval"
18881 as_fn_error "--with-boost-libdir expected directory name" "$LINENO" 5
18885 ac_boost_lib_path=""
18890 if test "x$want_boost" = "xyes"; then
18891 boost_lib_version_req=1.34
18892 boost_lib_version_req_shorten=`expr $boost_lib_version_req : '\([0-9]*\.[0-9]*\)'`
18893 boost_lib_version_req_major=`expr $boost_lib_version_req : '\([0-9]*\)'`
18894 boost_lib_version_req_minor=`expr $boost_lib_version_req : '[0-9]*\.\([0-9]*\)'`
18895 boost_lib_version_req_sub_minor=`expr $boost_lib_version_req : '[0-9]*\.[0-9]*\.\([0-9]*\)'`
18896 if test "x$boost_lib_version_req_sub_minor" = "x" ; then
18897 boost_lib_version_req_sub_minor="0"
18899 WANT_BOOST_VERSION=`expr $boost_lib_version_req_major \* 100000 \+ $boost_lib_version_req_minor \* 100 \+ $boost_lib_version_req_sub_minor`
18900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for boostlib >= $boost_lib_version_req" >&5
18901 $as_echo_n "checking for boostlib >= $boost_lib_version_req... " >&6; }
18906 if test $ax_arch = x86_64 -o $ax_arch = ppc64 -o $ax_arch = s390x -o $ax_arch = sparc64; then
18907 libsubdirs="lib64 lib lib64"
18910 if test "$ac_boost_path" != ""; then
18911 BOOST_CPPFLAGS="-I$ac_boost_path/include"
18912 for ac_boost_path_tmp in $libsubdirs; do
18913 if test -d "$ac_boost_path"/"$ac_boost_path_tmp" ; then
18914 BOOST_LDFLAGS="-L$ac_boost_path/$ac_boost_path_tmp"
18918 elif test "$cross_compiling" != yes; then
18919 for ac_boost_path_tmp in /usr /usr/local /opt /opt/local ; do
18920 if test -d "$ac_boost_path_tmp/include/boost" && test -r "$ac_boost_path_tmp/include/boost"; then
18921 for libsubdir in $libsubdirs ; do
18922 if ls "$ac_boost_path_tmp/$libsubdir/libboost_"* >/dev/null 2>&1 ; then break; fi
18924 BOOST_LDFLAGS="-L$ac_boost_path_tmp/$libsubdir"
18925 BOOST_CPPFLAGS="-I$ac_boost_path_tmp/include"
18931 if test "$ac_boost_lib_path" != ""; then
18932 BOOST_LDFLAGS="-L$ac_boost_lib_path"
18935 CPPFLAGS_SAVED="$CPPFLAGS"
18936 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
18939 LDFLAGS_SAVED="$LDFLAGS"
18940 LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
18945 ac_cpp='$CXXCPP $CPPFLAGS'
18946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18951 /* end confdefs.h. */
18953 #include <boost/version.hpp>
18959 #if BOOST_VERSION >= $WANT_BOOST_VERSION
18960 // Everything is okay
18962 # error Boost version is too old
18969 if ac_fn_cxx_try_compile "$LINENO"; then :
18971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18972 $as_echo "yes" >&6; }
18977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18979 ac_cpp='$CPP $CPPFLAGS'
18980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18987 if test "x$succeeded" != "xyes"; then
18989 if test "$ac_boost_path" != ""; then
18990 if test -d "$ac_boost_path" && test -r "$ac_boost_path"; then
18991 for i in `ls -d $ac_boost_path/include/boost-* 2>/dev/null`; do
18992 _version_tmp=`echo $i | sed "s#$ac_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'`
18993 V_CHECK=`expr $_version_tmp \> $_version`
18994 if test "$V_CHECK" = "1" ; then
18995 _version=$_version_tmp
18997 VERSION_UNDERSCORE=`echo $_version | sed 's/\./_/'`
18998 BOOST_CPPFLAGS="-I$ac_boost_path/include/boost-$VERSION_UNDERSCORE"
19002 if test "$cross_compiling" != yes; then
19003 for ac_boost_path in /usr /usr/local /opt /opt/local ; do
19004 if test -d "$ac_boost_path" && test -r "$ac_boost_path"; then
19005 for i in `ls -d $ac_boost_path/include/boost-* 2>/dev/null`; do
19006 _version_tmp=`echo $i | sed "s#$ac_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'`
19007 V_CHECK=`expr $_version_tmp \> $_version`
19008 if test "$V_CHECK" = "1" ; then
19009 _version=$_version_tmp
19010 best_path=$ac_boost_path
19016 VERSION_UNDERSCORE=`echo $_version | sed 's/\./_/'`
19017 BOOST_CPPFLAGS="-I$best_path/include/boost-$VERSION_UNDERSCORE"
19018 if test "$ac_boost_lib_path" = ""; then
19019 for libsubdir in $libsubdirs ; do
19020 if ls "$best_path/$libsubdir/libboost_"* >/dev/null 2>&1 ; then break; fi
19022 BOOST_LDFLAGS="-L$best_path/$libsubdir"
19026 if test "x$BOOST_ROOT" != "x"; then
19027 for libsubdir in $libsubdirs ; do
19028 if ls "$BOOST_ROOT/stage/$libsubdir/libboost_"* >/dev/null 2>&1 ; then break; fi
19030 if test -d "$BOOST_ROOT" && test -r "$BOOST_ROOT" && test -d "$BOOST_ROOT/stage/$libsubdir" && test -r "$BOOST_ROOT/stage/$libsubdir"; then
19031 version_dir=`expr //$BOOST_ROOT : '.*/\(.*\)'`
19032 stage_version=`echo $version_dir | sed 's/boost_//' | sed 's/_/./g'`
19033 stage_version_shorten=`expr $stage_version : '\([0-9]*\.[0-9]*\)'`
19034 V_CHECK=`expr $stage_version_shorten \>\= $_version`
19035 if test "$V_CHECK" = "1" -a "$ac_boost_lib_path" = "" ; then
19036 { $as_echo "$as_me:${as_lineno-$LINENO}: We will use a staged boost library from $BOOST_ROOT" >&5
19037 $as_echo "$as_me: We will use a staged boost library from $BOOST_ROOT" >&6;}
19038 BOOST_CPPFLAGS="-I$BOOST_ROOT"
19039 BOOST_LDFLAGS="-L$BOOST_ROOT/stage/$libsubdir"
19045 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
19047 LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
19051 ac_cpp='$CXXCPP $CPPFLAGS'
19052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19057 /* end confdefs.h. */
19059 #include <boost/version.hpp>
19065 #if BOOST_VERSION >= $WANT_BOOST_VERSION
19066 // Everything is okay
19068 # error Boost version is too old
19075 if ac_fn_cxx_try_compile "$LINENO"; then :
19077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19078 $as_echo "yes" >&6; }
19083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19085 ac_cpp='$CPP $CPPFLAGS'
19086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19092 if test "$succeeded" != "yes" ; then
19093 if test "$_version" = "0" ; then
19094 { $as_echo "$as_me:${as_lineno-$LINENO}: 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
19095 $as_echo "$as_me: 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." >&6;}
19097 { $as_echo "$as_me:${as_lineno-$LINENO}: Your boost libraries seems to old (version $_version)." >&5
19098 $as_echo "$as_me: Your boost libraries seems to old (version $_version)." >&6;}
19100 # execute ACTION-IF-NOT-FOUND (if present):
19106 $as_echo "#define HAVE_BOOST /**/" >>confdefs.h
19108 # execute ACTION-IF-FOUND (if present):
19112 CPPFLAGS="$CPPFLAGS_SAVED"
19113 LDFLAGS="$LDFLAGS_SAVED"
19118 # C++ regular expression support is required often enough to make it
19122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PCRECPP" >&5
19123 $as_echo_n "checking for PCRECPP... " >&6; }
19125 if test -n "$PKG_CONFIG"; then
19126 if test -n "$PCRECPP_CFLAGS"; then
19127 pkg_cv_PCRECPP_CFLAGS="$PCRECPP_CFLAGS"
19129 if test -n "$PKG_CONFIG" && \
19130 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpcrecpp\""; } >&5
19131 ($PKG_CONFIG --exists --print-errors "libpcrecpp") 2>&5
19133 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19134 test $ac_status = 0; }; then
19135 pkg_cv_PCRECPP_CFLAGS=`$PKG_CONFIG --cflags "libpcrecpp" 2>/dev/null`
19143 if test -n "$PKG_CONFIG"; then
19144 if test -n "$PCRECPP_LIBS"; then
19145 pkg_cv_PCRECPP_LIBS="$PCRECPP_LIBS"
19147 if test -n "$PKG_CONFIG" && \
19148 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpcrecpp\""; } >&5
19149 ($PKG_CONFIG --exists --print-errors "libpcrecpp") 2>&5
19151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19152 test $ac_status = 0; }; then
19153 pkg_cv_PCRECPP_LIBS=`$PKG_CONFIG --libs "libpcrecpp" 2>/dev/null`
19164 if test $pkg_failed = yes; then
19166 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19167 _pkg_short_errors_supported=yes
19169 _pkg_short_errors_supported=no
19171 if test $_pkg_short_errors_supported = yes; then
19172 PCRECPP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libpcrecpp"`
19174 PCRECPP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libpcrecpp"`
19176 # Put the nasty error message in config.log where it belongs
19177 echo "$PCRECPP_PKG_ERRORS" >&5
19179 as_fn_error "Package requirements (libpcrecpp) were not met:
19181 $PCRECPP_PKG_ERRORS
19183 Consider adjusting the PKG_CONFIG_PATH environment variable if you
19184 installed software in a non-standard prefix.
19186 Alternatively, you may set the environment variables PCRECPP_CFLAGS
19187 and PCRECPP_LIBS to avoid the need to call pkg-config.
19188 See the pkg-config man page for more details.
19190 elif test $pkg_failed = untried; then
19191 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19192 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19193 as_fn_error "The pkg-config script could not be found or is too old. Make sure it
19194 is in your PATH or set the PKG_CONFIG environment variable to the full
19195 path to pkg-config.
19197 Alternatively, you may set the environment variables PCRECPP_CFLAGS
19198 and PCRECPP_LIBS to avoid the need to call pkg-config.
19199 See the pkg-config man page for more details.
19201 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19202 See \`config.log' for more details." "$LINENO" 5; }
19204 PCRECPP_CFLAGS=$pkg_cv_PCRECPP_CFLAGS
19205 PCRECPP_LIBS=$pkg_cv_PCRECPP_LIBS
19206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19207 $as_echo "yes" >&6; }
19211 # need rst2man for man pages
19213 # Check whether --with-rst2man was given.
19214 if test "${with_rst2man+set}" = set; then :
19215 withval=$with_rst2man; RST2MAN=$withval
19216 if test "$RST2MAN" = "yes"; then
19217 # Extract the first word of "rst2man", so it can be a program name with args.
19218 set dummy rst2man; ac_word=$2
19219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19220 $as_echo_n "checking for $ac_word... " >&6; }
19221 if test "${ac_cv_path_RST2MAN+set}" = set; then :
19222 $as_echo_n "(cached) " >&6
19226 ac_cv_path_RST2MAN="$RST2MAN" # Let the user override the test with a path.
19229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19230 for as_dir in $PATH
19233 test -z "$as_dir" && as_dir=.
19234 for ac_exec_ext in '' $ac_executable_extensions; do
19235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19236 ac_cv_path_RST2MAN="$as_dir/$ac_word$ac_exec_ext"
19237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19244 test -z "$ac_cv_path_RST2MAN" && ac_cv_path_RST2MAN=""no""
19248 RST2MAN=$ac_cv_path_RST2MAN
19249 if test -n "$RST2MAN"; then
19250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RST2MAN" >&5
19251 $as_echo "$RST2MAN" >&6; }
19253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19254 $as_echo "no" >&6; }
19259 test "$RST2MAN" = "no" || test -x "$RST2MAN" || as_fn_error "--with-rst2man=$RST2MAN: tool not found" "$LINENO" 5
19261 # Extract the first word of "rst2man", so it can be a program name with args.
19262 set dummy rst2man; ac_word=$2
19263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19264 $as_echo_n "checking for $ac_word... " >&6; }
19265 if test "${ac_cv_path_RST2MAN+set}" = set; then :
19266 $as_echo_n "(cached) " >&6
19270 ac_cv_path_RST2MAN="$RST2MAN" # Let the user override the test with a path.
19273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19274 for as_dir in $PATH
19277 test -z "$as_dir" && as_dir=.
19278 for ac_exec_ext in '' $ac_executable_extensions; do
19279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19280 ac_cv_path_RST2MAN="$as_dir/$ac_word$ac_exec_ext"
19281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19288 test -z "$ac_cv_path_RST2MAN" && ac_cv_path_RST2MAN=""no""
19292 RST2MAN=$ac_cv_path_RST2MAN
19293 if test -n "$RST2MAN"; then
19294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RST2MAN" >&5
19295 $as_echo "$RST2MAN" >&6; }
19297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19298 $as_echo "no" >&6; }
19304 if test "$RST2MAN" != "no"; then
19305 COND_MAN_PAGES_TRUE=
19306 COND_MAN_PAGES_FALSE='#'
19308 COND_MAN_PAGES_TRUE='#'
19309 COND_MAN_PAGES_FALSE=
19313 # need rst2html for HTML version of README
19315 # Check whether --with-rst2html was given.
19316 if test "${with_rst2html+set}" = set; then :
19317 withval=$with_rst2html; RST2HTML=$withval
19318 if test "$RST2HTML" = "yes"; then
19319 # Extract the first word of "rst2html", so it can be a program name with args.
19320 set dummy rst2html; ac_word=$2
19321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19322 $as_echo_n "checking for $ac_word... " >&6; }
19323 if test "${ac_cv_path_RST2HTML+set}" = set; then :
19324 $as_echo_n "(cached) " >&6
19328 ac_cv_path_RST2HTML="$RST2HTML" # Let the user override the test with a path.
19331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19332 for as_dir in $PATH
19335 test -z "$as_dir" && as_dir=.
19336 for ac_exec_ext in '' $ac_executable_extensions; do
19337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19338 ac_cv_path_RST2HTML="$as_dir/$ac_word$ac_exec_ext"
19339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19346 test -z "$ac_cv_path_RST2HTML" && ac_cv_path_RST2HTML=""no""
19350 RST2HTML=$ac_cv_path_RST2HTML
19351 if test -n "$RST2HTML"; then
19352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RST2HTML" >&5
19353 $as_echo "$RST2HTML" >&6; }
19355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19356 $as_echo "no" >&6; }
19361 test "$RST2HTML" = "no" || test -x "$RST2HTML" || as_fn_error "--with-rst2html=$RST2HTML: tool not found" "$LINENO" 5
19363 # Extract the first word of "rst2html", so it can be a program name with args.
19364 set dummy rst2html; ac_word=$2
19365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19366 $as_echo_n "checking for $ac_word... " >&6; }
19367 if test "${ac_cv_path_RST2HTML+set}" = set; then :
19368 $as_echo_n "(cached) " >&6
19372 ac_cv_path_RST2HTML="$RST2HTML" # Let the user override the test with a path.
19375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19376 for as_dir in $PATH
19379 test -z "$as_dir" && as_dir=.
19380 for ac_exec_ext in '' $ac_executable_extensions; do
19381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19382 ac_cv_path_RST2HTML="$as_dir/$ac_word$ac_exec_ext"
19383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19390 test -z "$ac_cv_path_RST2HTML" && ac_cv_path_RST2HTML=""no""
19394 RST2HTML=$ac_cv_path_RST2HTML
19395 if test -n "$RST2HTML"; then
19396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RST2HTML" >&5
19397 $as_echo "$RST2HTML" >&6; }
19399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19400 $as_echo "no" >&6; }
19406 if test "$RST2HTML" != "no"; then
19407 COND_HTML_README_TRUE=
19408 COND_HTML_README_FALSE='#'
19410 COND_HTML_README_TRUE='#'
19411 COND_HTML_README_FALSE=
19415 # absolute patch to source of Synthesis client library
19416 SYNTHESIS_SRC=no-synthesis-source
19418 if test "$SYNTHESISSRC" && test "$SYNTHESISSRC" != "none"; then
19419 # default: checkout a copy of the sources, remove it during maintainer-clean and distclean
19420 CLEAN_CLIENT_SRC=synthesis-workdir
19421 SYNTHESIS_SRC=$PWD/src/synthesis-workdir
19423 { $as_echo "$as_me:${as_lineno-$LINENO}: updating the content of $SYNTHESIS_SRC from $SYNTHESISSRC " >&5
19424 $as_echo "$as_me: updating the content of $SYNTHESIS_SRC from $SYNTHESISSRC " >&6;}
19425 case "$SYNTHESISSRC" in
19426 *.git) protocol=git;;
19427 *://*) protocol="`echo $SYNTHESISSRC | sed -e 's;://.*;;'`";;
19428 *) protocol="file";;
19434 # use existing copy of the sources
19436 case "$SYNTHESISSRC" in
19437 /*) SYNTHESIS_SRC="$SYNTHESISSRC";;
19438 *) SYNTHESIS_SRC="$PWD/$SYNTHESISSRC";;
19442 SYNTHESISSRCREV="$SYNTHESISSRC"
19443 if test "$REVISION"; then
19444 revarg="-r $REVISION "
19445 if `echo $SYNTHESISSRC | grep '@0123456789*'` >/dev/null; then
19448 SYNTHESISSRCREV="$SYNTHESISSRC@$REVISION"
19451 if test -d $SYNTHESIS_SRC ; then
19452 ( set -x; cd $SYNTHESIS_SRC && svn --username=$USERNAME switch $revarg "$SYNTHESISSRC" ) || as_fn_error "updating from $SYNTHESISSRC failed" "$LINENO" 5
19454 (set -x; svn --username=$USERNAME checkout $revarg "$SYNTHESISSRCREV" $SYNTHESIS_SRC ) || as_fn_error "checking out $SYNTHESISSRC failed" "$LINENO" 5
19458 if test -d $SYNTHESIS_SRC ; then
19459 ( set -x; cd $SYNTHESIS_SRC && git fetch "$SYNTHESISSRC" ) || as_fn_error "updating from $SYNTHESISSRC failed" "$LINENO" 5
19461 ( set -x; git clone "$SYNTHESISSRC" $SYNTHESIS_SRC ) || as_fn_error "cloning $SYNTHESISSRC failed" "$LINENO" 5
19463 if test "$REVISION"; then
19464 # git 1.6 finds tags and branches without explicit prefix, 1.4.4.4 doesn't
19465 ( set -x; cd $SYNTHESIS_SRC &&
19466 (git checkout "$REVISION" ||
19467 git checkout "tags/$REVISION" ||
19468 git checkout "origin/$REVISION") ) || as_fn_error "checking out $SYNTHESISSRC failed" "$LINENO" 5
19472 elif test "$SYNTHESISSRC" != "none" && test -d $srcdir/src/synthesis; then
19473 # use existing copy of the sources; beware of
19474 # out-of-tree compilation
19476 /*) SYNTHESIS_SRC="$srcdir/src/synthesis";;
19477 *) SYNTHESIS_SRC="$PWD/$srcdir/src/synthesis";;
19479 elif test "$enable_shared" = "no"; then
19480 # link against engine
19483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYNTHESIS" >&5
19484 $as_echo_n "checking for SYNTHESIS... " >&6; }
19486 if test -n "$PKG_CONFIG"; then
19487 if test -n "$SYNTHESIS_CFLAGS"; then
19488 pkg_cv_SYNTHESIS_CFLAGS="$SYNTHESIS_CFLAGS"
19490 if test -n "$PKG_CONFIG" && \
19491 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"synthesis >= 3.4\""; } >&5
19492 ($PKG_CONFIG --exists --print-errors "synthesis >= 3.4") 2>&5
19494 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19495 test $ac_status = 0; }; then
19496 pkg_cv_SYNTHESIS_CFLAGS=`$PKG_CONFIG --cflags "synthesis >= 3.4" 2>/dev/null`
19504 if test -n "$PKG_CONFIG"; then
19505 if test -n "$SYNTHESIS_LIBS"; then
19506 pkg_cv_SYNTHESIS_LIBS="$SYNTHESIS_LIBS"
19508 if test -n "$PKG_CONFIG" && \
19509 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"synthesis >= 3.4\""; } >&5
19510 ($PKG_CONFIG --exists --print-errors "synthesis >= 3.4") 2>&5
19512 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19513 test $ac_status = 0; }; then
19514 pkg_cv_SYNTHESIS_LIBS=`$PKG_CONFIG --libs "synthesis >= 3.4" 2>/dev/null`
19525 if test $pkg_failed = yes; then
19527 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19528 _pkg_short_errors_supported=yes
19530 _pkg_short_errors_supported=no
19532 if test $_pkg_short_errors_supported = yes; then
19533 SYNTHESIS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "synthesis >= 3.4"`
19535 SYNTHESIS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "synthesis >= 3.4"`
19537 # Put the nasty error message in config.log where it belongs
19538 echo "$SYNTHESIS_PKG_ERRORS" >&5
19540 as_fn_error "Package requirements (synthesis >= 3.4) were not met:
19542 $SYNTHESIS_PKG_ERRORS
19544 Consider adjusting the PKG_CONFIG_PATH environment variable if you
19545 installed software in a non-standard prefix.
19547 Alternatively, you may set the environment variables SYNTHESIS_CFLAGS
19548 and SYNTHESIS_LIBS to avoid the need to call pkg-config.
19549 See the pkg-config man page for more details.
19551 elif test $pkg_failed = untried; then
19552 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19553 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19554 as_fn_error "The pkg-config script could not be found or is too old. Make sure it
19555 is in your PATH or set the PKG_CONFIG environment variable to the full
19556 path to pkg-config.
19558 Alternatively, you may set the environment variables SYNTHESIS_CFLAGS
19559 and SYNTHESIS_LIBS to avoid the need to call pkg-config.
19560 See the pkg-config man page for more details.
19562 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19563 See \`config.log' for more details." "$LINENO" 5; }
19565 SYNTHESIS_CFLAGS=$pkg_cv_SYNTHESIS_CFLAGS
19566 SYNTHESIS_LIBS=$pkg_cv_SYNTHESIS_LIBS
19567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19568 $as_echo "yes" >&6; }
19571 SYNTHESIS_ENGINE="$SYNTHESIS_LIBS -lsynthesis"
19573 # link against SDK alone, except in client-test
19574 #PKG_CHECK_MODULES(SYNTHESIS, "synthesis-sdk")
19575 #SYNTHESIS_ENGINE="`echo $SYNTHESIS_LIBS | sed -e 's/-lsynthesisstubs/-lsynthesis/'`"
19577 # can't use the SDK alone because of sysync::SySyncDebugPuts()
19580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYNTHESIS" >&5
19581 $as_echo_n "checking for SYNTHESIS... " >&6; }
19583 if test -n "$PKG_CONFIG"; then
19584 if test -n "$SYNTHESIS_CFLAGS"; then
19585 pkg_cv_SYNTHESIS_CFLAGS="$SYNTHESIS_CFLAGS"
19587 if test -n "$PKG_CONFIG" && \
19588 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"synthesis >= 3.4.0.16.7\""; } >&5
19589 ($PKG_CONFIG --exists --print-errors "synthesis >= 3.4.0.16.7") 2>&5
19591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19592 test $ac_status = 0; }; then
19593 pkg_cv_SYNTHESIS_CFLAGS=`$PKG_CONFIG --cflags "synthesis >= 3.4.0.16.7" 2>/dev/null`
19601 if test -n "$PKG_CONFIG"; then
19602 if test -n "$SYNTHESIS_LIBS"; then
19603 pkg_cv_SYNTHESIS_LIBS="$SYNTHESIS_LIBS"
19605 if test -n "$PKG_CONFIG" && \
19606 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"synthesis >= 3.4.0.16.7\""; } >&5
19607 ($PKG_CONFIG --exists --print-errors "synthesis >= 3.4.0.16.7") 2>&5
19609 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19610 test $ac_status = 0; }; then
19611 pkg_cv_SYNTHESIS_LIBS=`$PKG_CONFIG --libs "synthesis >= 3.4.0.16.7" 2>/dev/null`
19622 if test $pkg_failed = yes; then
19624 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19625 _pkg_short_errors_supported=yes
19627 _pkg_short_errors_supported=no
19629 if test $_pkg_short_errors_supported = yes; then
19630 SYNTHESIS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "synthesis >= 3.4.0.16.7"`
19632 SYNTHESIS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "synthesis >= 3.4.0.16.7"`
19634 # Put the nasty error message in config.log where it belongs
19635 echo "$SYNTHESIS_PKG_ERRORS" >&5
19637 as_fn_error "Package requirements (synthesis >= 3.4.0.16.7) were not met:
19639 $SYNTHESIS_PKG_ERRORS
19641 Consider adjusting the PKG_CONFIG_PATH environment variable if you
19642 installed software in a non-standard prefix.
19644 Alternatively, you may set the environment variables SYNTHESIS_CFLAGS
19645 and SYNTHESIS_LIBS to avoid the need to call pkg-config.
19646 See the pkg-config man page for more details.
19648 elif test $pkg_failed = untried; then
19649 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19650 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19651 as_fn_error "The pkg-config script could not be found or is too old. Make sure it
19652 is in your PATH or set the PKG_CONFIG environment variable to the full
19653 path to pkg-config.
19655 Alternatively, you may set the environment variables SYNTHESIS_CFLAGS
19656 and SYNTHESIS_LIBS to avoid the need to call pkg-config.
19657 See the pkg-config man page for more details.
19659 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19660 See \`config.log' for more details." "$LINENO" 5; }
19662 SYNTHESIS_CFLAGS=$pkg_cv_SYNTHESIS_CFLAGS
19663 SYNTHESIS_LIBS=$pkg_cv_SYNTHESIS_LIBS
19664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19665 $as_echo "yes" >&6; }
19668 SYNTHESIS_ENGINE="$SYNTHESIS_LIBS"
19671 if test $SYNTHESIS_SRC != "no-synthesis-source"; then
19672 ( cd $SYNTHESIS_SRC && ( test -f configure || sh autogen.sh ) ) || as_fn_error "--with-synthesis-src=$SYNTHESIS_SRC: no Synthesis configure script found in that directory" "$LINENO" 5
19674 SYNTHESIS_CONFIGURE="$SYNTHESIS_SRC/configure"
19675 chmod u+x $SYNTHESIS_SRC/configure $SYNTHESIS_SRC/config.sub $SYNTHESIS_SRC/config.guess
19677 # use local copy of the sources, with dependencies
19678 # to trigger building the synthesis library
19679 SYNTHESIS_SUBDIR=$PWD/src/build-synthesis
19680 SYNTHESIS_CFLAGS="-I$SYNTHESIS_SUBDIR/src"
19681 SYNTHESIS_LIBS="$SYNTHESIS_SUBDIR/src/libsynthesissdk.la"
19683 if test "x$enable_core" = "xno" && test "x$enable_gui" != "xno"; then
19684 # SYNTHESIS_SUBDIR is ignored, at least build headers for GUI
19685 SYNTHESIS_SUBDIR_INCLUDES=src/synthesis-includes
19688 if test "$enable_shared" = "no"; then
19689 # link against the engines that were enabled
19690 case $SYNCML_ENGINES in both|client|server) SYNTHESIS_LIBS="$SYNTHESIS_LIBS $SYNTHESIS_SUBDIR/src/libsynthesis.la";; esac
19692 $as_echo "#define ENABLE_SYNCML_LINKED 1" >>confdefs.h
19695 # It would be nice if we could avoid linking against libsynthesis.la here.
19696 # This doesn't work at the moment because sysync::SySyncDebugPuts()
19697 # is called directly by the libsynthesissdk instead of going through
19698 # the normal C function pointer lookup.
19699 SYNTHESIS_LIBS="$SYNTHESIS_LIBS $SYNTHESIS_SUBDIR/src/libsynthesis.la"
19701 SYNTHESIS_DEP=$SYNTHESIS_LIBS
19703 # for linking client-test
19704 SYNTHESIS_ENGINE="$SYNTHESIS_SUBDIR/src/libsynthesis.la"
19706 { $as_echo "$as_me:${as_lineno-$LINENO}: configuring the Synthesis library " >&5
19707 $as_echo "$as_me: configuring the Synthesis library " >&6;}
19708 if (set -x; mkdir -p $SYNTHESIS_SUBDIR && cd $SYNTHESIS_SUBDIR && eval "\$SHELL \"\$SYNTHESIS_CONFIGURE\" $ac_configure_args \"--srcdir=\$SYNTHESIS_SRC\" " ); then true; else
19709 as_fn_error "configuring Synthesis library failed " "$LINENO" 5
19712 # do the version check with the .pc files prepared by the configure step above
19713 export PKG_CONFIG_PATH=$SYNTHESIS_SUBDIR:$PKG_CONFIG_PATH
19716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WITH_SYNTHESIS_SRC" >&5
19717 $as_echo_n "checking for WITH_SYNTHESIS_SRC... " >&6; }
19719 if test -n "$PKG_CONFIG"; then
19720 if test -n "$WITH_SYNTHESIS_SRC_CFLAGS"; then
19721 pkg_cv_WITH_SYNTHESIS_SRC_CFLAGS="$WITH_SYNTHESIS_SRC_CFLAGS"
19723 if test -n "$PKG_CONFIG" && \
19724 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"synthesis >= 3.4.0.16.7\""; } >&5
19725 ($PKG_CONFIG --exists --print-errors "synthesis >= 3.4.0.16.7") 2>&5
19727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19728 test $ac_status = 0; }; then
19729 pkg_cv_WITH_SYNTHESIS_SRC_CFLAGS=`$PKG_CONFIG --cflags "synthesis >= 3.4.0.16.7" 2>/dev/null`
19737 if test -n "$PKG_CONFIG"; then
19738 if test -n "$WITH_SYNTHESIS_SRC_LIBS"; then
19739 pkg_cv_WITH_SYNTHESIS_SRC_LIBS="$WITH_SYNTHESIS_SRC_LIBS"
19741 if test -n "$PKG_CONFIG" && \
19742 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"synthesis >= 3.4.0.16.7\""; } >&5
19743 ($PKG_CONFIG --exists --print-errors "synthesis >= 3.4.0.16.7") 2>&5
19745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19746 test $ac_status = 0; }; then
19747 pkg_cv_WITH_SYNTHESIS_SRC_LIBS=`$PKG_CONFIG --libs "synthesis >= 3.4.0.16.7" 2>/dev/null`
19758 if test $pkg_failed = yes; then
19760 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19761 _pkg_short_errors_supported=yes
19763 _pkg_short_errors_supported=no
19765 if test $_pkg_short_errors_supported = yes; then
19766 WITH_SYNTHESIS_SRC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "synthesis >= 3.4.0.16.7"`
19768 WITH_SYNTHESIS_SRC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "synthesis >= 3.4.0.16.7"`
19770 # Put the nasty error message in config.log where it belongs
19771 echo "$WITH_SYNTHESIS_SRC_PKG_ERRORS" >&5
19773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19774 $as_echo "no" >&6; }
19775 as_fn_error "need at least libsynthesis >= 3.4.0.16.7; the latest libsynthesis for SyncEvolution is the one from http://meego.gitorious.org/meego-middleware/libsynthesis" "$LINENO" 5
19776 elif test $pkg_failed = untried; then
19777 as_fn_error "need at least libsynthesis >= 3.4.0.16.7; the latest libsynthesis for SyncEvolution is the one from http://meego.gitorious.org/meego-middleware/libsynthesis" "$LINENO" 5
19779 WITH_SYNTHESIS_SRC_CFLAGS=$pkg_cv_WITH_SYNTHESIS_SRC_CFLAGS
19780 WITH_SYNTHESIS_SRC_LIBS=$pkg_cv_WITH_SYNTHESIS_SRC_LIBS
19781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19782 $as_echo "yes" >&6; }
19798 BACKEND_CPPFLAGS="$SYNTHESIS_CFLAGS $EPACKAGE_CFLAGS $EBOOK_CFLAGS $ECAL_CFLAGS $GLIB_CFLAGS $BOOST_CPPFLAGS"
19801 # GNOME Bluetooth Panel plugin
19804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOMEBLUETOOTH" >&5
19805 $as_echo_n "checking for GNOMEBLUETOOTH... " >&6; }
19807 if test -n "$PKG_CONFIG"; then
19808 if test -n "$GNOMEBLUETOOTH_CFLAGS"; then
19809 pkg_cv_GNOMEBLUETOOTH_CFLAGS="$GNOMEBLUETOOTH_CFLAGS"
19811 if test -n "$PKG_CONFIG" && \
19812 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-bluetooth-1.0 >= 2.27.6\""; } >&5
19813 ($PKG_CONFIG --exists --print-errors "gnome-bluetooth-1.0 >= 2.27.6") 2>&5
19815 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19816 test $ac_status = 0; }; then
19817 pkg_cv_GNOMEBLUETOOTH_CFLAGS=`$PKG_CONFIG --cflags "gnome-bluetooth-1.0 >= 2.27.6" 2>/dev/null`
19825 if test -n "$PKG_CONFIG"; then
19826 if test -n "$GNOMEBLUETOOTH_LIBS"; then
19827 pkg_cv_GNOMEBLUETOOTH_LIBS="$GNOMEBLUETOOTH_LIBS"
19829 if test -n "$PKG_CONFIG" && \
19830 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-bluetooth-1.0 >= 2.27.6\""; } >&5
19831 ($PKG_CONFIG --exists --print-errors "gnome-bluetooth-1.0 >= 2.27.6") 2>&5
19833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19834 test $ac_status = 0; }; then
19835 pkg_cv_GNOMEBLUETOOTH_LIBS=`$PKG_CONFIG --libs "gnome-bluetooth-1.0 >= 2.27.6" 2>/dev/null`
19846 if test $pkg_failed = yes; then
19848 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19849 _pkg_short_errors_supported=yes
19851 _pkg_short_errors_supported=no
19853 if test $_pkg_short_errors_supported = yes; then
19854 GNOMEBLUETOOTH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-bluetooth-1.0 >= 2.27.6"`
19856 GNOMEBLUETOOTH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-bluetooth-1.0 >= 2.27.6"`
19858 # Put the nasty error message in config.log where it belongs
19859 echo "$GNOMEBLUETOOTH_PKG_ERRORS" >&5
19861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19862 $as_echo "no" >&6; }
19864 elif test $pkg_failed = untried; then
19867 GNOMEBLUETOOTH_CFLAGS=$pkg_cv_GNOMEBLUETOOTH_CFLAGS
19868 GNOMEBLUETOOTH_LIBS=$pkg_cv_GNOMEBLUETOOTH_LIBS
19869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19870 $as_echo "yes" >&6; }
19872 GNOMEBLUETOOTH_DIR=`$PKG_CONFIG --variable=libdir gnome-bluetooth-1.0 2>/dev/null`/gnome-bluetooth
19877 # Check whether --enable-gnome-bluetooth-panel-plugin was given.
19878 if test "${enable_gnome_bluetooth_panel_plugin+set}" = set; then :
19879 enableval=$enable_gnome_bluetooth_panel_plugin; enable_gnome_bluetooth_panel="$enableval"
19881 enable_gnome_bluetooth_panel="no"
19885 if test "$enable_gnome_bluetooth_panel" = "yes"; then
19886 test "$have_gbt" = "yes" || as_fn_error "--enable-gnome-bluetooth-panel requires
19887 pkg-config information for gnome-bluetooth-1.0 >= 2.27.6 which was not found" "$LINENO" 5
19889 if test "$have_gbt" = "yes" && test "$enable_gnome_bluetooth_panel" = "yes"; then
19890 ENABLE_GNOME_BLUETOOTH_PANEL_TRUE=
19891 ENABLE_GNOME_BLUETOOTH_PANEL_FALSE='#'
19893 ENABLE_GNOME_BLUETOOTH_PANEL_TRUE='#'
19894 ENABLE_GNOME_BLUETOOTH_PANEL_FALSE=
19898 # Check whether --enable-doc was given.
19899 if test "${enable_doc+set}" = set; then :
19900 enableval=$enable_doc; enable_doc="$enableval"
19906 if test "$enable_doc" != "no"; then
19922 # vvvvvvvvvvvvvv src/backends/activesync/configure-sub.in vvvvvvvvvvvvvv
19925 # Check whether --enable-activesync was given.
19926 if test "${enable_activesync+set}" = set; then :
19927 enableval=$enable_activesync; enable_activesync="$enableval"
19929 enable_activesync="no"
19932 BACKENDS="$BACKENDS activesync"
19933 BACKEND_DEFINES="$BACKEND_DEFINES ENABLE_ACTIVESYNC"
19934 for source in activesync
19936 SYNCSOURCES="$SYNCSOURCES src/backends/activesync/syncactivesync.la"
19942 # Check whether --with-activesyncd-src was given.
19943 if test "${with_activesyncd_src+set}" = set; then :
19944 withval=$with_activesyncd_src; ACTIVESYNCDSRC="$withval"
19945 test "$ACTIVESYNCDSRC" != "yes" || as_fn_error "--with-synthesis-src requires a parameter (base directory, svn URL or git URL)" "$LINENO" 5
19951 if test "$enable_activesync" = "yes" && test "$ACTIVESYNCDSRC" != ""; then
19952 BUILD_ACTIVESYNCD_TRUE=
19953 BUILD_ACTIVESYNCD_FALSE='#'
19955 BUILD_ACTIVESYNCD_TRUE='#'
19956 BUILD_ACTIVESYNCD_FALSE=
19960 if test "$enable_activesync" = "yes"; then
19961 if test "$ACTIVESYNCDSRC" != ""; then
19962 # brute-force dependency on any file in the source repo
19963 LIBEASCLIENT_LA_DEPENDENCIES=`find "$ACTIVESYNCDSRC"/* -type f -printf '%p ' `
19965 mkdir -p src/backends/activesync/activesyncd/build
19966 { $as_echo "$as_me:${as_lineno-$LINENO}: configuring activesyncd using the $ACTIVESYNCDSRC source code" >&5
19967 $as_echo "$as_me: configuring activesyncd using the $ACTIVESYNCDSRC source code" >&6;}
19968 ( set -x; cd src/backends/activesync/activesyncd/build &&
19969 $ACTIVESYNCDSRC/configure --disable-eplugin --disable-camel-backend --prefix=`pwd`/../install) ||
19970 as_fn_error "configuring activesyncd failed" "$LINENO" 5
19972 # hard-coded replacement for pkg-config: necessary because
19973 # .pc file not installed yet
19974 EASCLIENT_LIBS=src/backends/activesync/activesyncd/install/lib/libeasclient.la
19975 EASCLIENT_DEPENDENCIES=src/backends/activesync/activesyncd/install/lib/libeasclient.la
19976 EASCLIENT_CFLAGS=-Isrc/backends/activesync/activesyncd/install/include/eas-daemon/eas-client
19983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EASCLIENT" >&5
19984 $as_echo_n "checking for EASCLIENT... " >&6; }
19986 if test -n "$PKG_CONFIG"; then
19987 if test -n "$EASCLIENT_CFLAGS"; then
19988 pkg_cv_EASCLIENT_CFLAGS="$EASCLIENT_CFLAGS"
19990 if test -n "$PKG_CONFIG" && \
19991 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libeasclient\""; } >&5
19992 ($PKG_CONFIG --exists --print-errors "libeasclient") 2>&5
19994 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19995 test $ac_status = 0; }; then
19996 pkg_cv_EASCLIENT_CFLAGS=`$PKG_CONFIG --cflags "libeasclient" 2>/dev/null`
20004 if test -n "$PKG_CONFIG"; then
20005 if test -n "$EASCLIENT_LIBS"; then
20006 pkg_cv_EASCLIENT_LIBS="$EASCLIENT_LIBS"
20008 if test -n "$PKG_CONFIG" && \
20009 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libeasclient\""; } >&5
20010 ($PKG_CONFIG --exists --print-errors "libeasclient") 2>&5
20012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20013 test $ac_status = 0; }; then
20014 pkg_cv_EASCLIENT_LIBS=`$PKG_CONFIG --libs "libeasclient" 2>/dev/null`
20025 if test $pkg_failed = yes; then
20027 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20028 _pkg_short_errors_supported=yes
20030 _pkg_short_errors_supported=no
20032 if test $_pkg_short_errors_supported = yes; then
20033 EASCLIENT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libeasclient"`
20035 EASCLIENT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libeasclient"`
20037 # Put the nasty error message in config.log where it belongs
20038 echo "$EASCLIENT_PKG_ERRORS" >&5
20040 as_fn_error "Package requirements (libeasclient) were not met:
20042 $EASCLIENT_PKG_ERRORS
20044 Consider adjusting the PKG_CONFIG_PATH environment variable if you
20045 installed software in a non-standard prefix.
20047 Alternatively, you may set the environment variables EASCLIENT_CFLAGS
20048 and EASCLIENT_LIBS to avoid the need to call pkg-config.
20049 See the pkg-config man page for more details.
20051 elif test $pkg_failed = untried; then
20052 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20053 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20054 as_fn_error "The pkg-config script could not be found or is too old. Make sure it
20055 is in your PATH or set the PKG_CONFIG environment variable to the full
20056 path to pkg-config.
20058 Alternatively, you may set the environment variables EASCLIENT_CFLAGS
20059 and EASCLIENT_LIBS to avoid the need to call pkg-config.
20060 See the pkg-config man page for more details.
20062 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20063 See \`config.log' for more details." "$LINENO" 5; }
20065 EASCLIENT_CFLAGS=$pkg_cv_EASCLIENT_CFLAGS
20066 EASCLIENT_LIBS=$pkg_cv_EASCLIENT_LIBS
20067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20068 $as_echo "yes" >&6; }
20073 $as_echo "#define ENABLE_ACTIVESYNC 1" >>confdefs.h
20079 BACKEND_CPPFLAGS="$BACKEND_CPPFLAGS $EASCLIENT_CFLAGS"
20080 # ^^^^^^^^^^^^^^ src/backends/activesync/configure-sub.in ^^^^^^^^^^^^^^
20082 # vvvvvvvvvvvvvv src/backends/addressbook/configure-sub.in vvvvvvvvvvvvvv
20084 ADDRESSBOOK_CFLAGS=
20086 ADDRESSBOOK_LIBS="-framework AddressBook -framework CoreFoundation"
20089 BACKEND_CPPFLAGS="$BACKEND_CPPFLAGS $ADDRESSBOOK_CFLAGS"
20092 # Check whether --enable-addressbook was given.
20093 if test "${enable_addressbook+set}" = set; then :
20094 enableval=$enable_addressbook; enable_addressbook="$enableval"
20096 enable_addressbook="no"
20100 BACKENDS="$BACKENDS addressbook"
20101 BACKEND_DEFINES="$BACKEND_DEFINES ENABLE_ADDRESSBOOK"
20102 for source in addressbook
20104 SYNCSOURCES="$SYNCSOURCES src/backends/addressbook/syncaddressbook.la"
20109 if test "$enable_addressbook" = "yes"; then
20111 $as_echo "#define ENABLE_ADDRESSBOOK 1" >>confdefs.h
20113 DEVICE_TYPE=MacOS_X
20119 # ^^^^^^^^^^^^^^ src/backends/addressbook/configure-sub.in ^^^^^^^^^^^^^^
20121 # vvvvvvvvvvvvvv src/backends/akonadi/configure-sub.in vvvvvvvvvvvvvv
20123 for ac_prog in qmake qmake-qt4
20125 # Extract the first word of "$ac_prog", so it can be a program name with args.
20126 set dummy $ac_prog; ac_word=$2
20127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20128 $as_echo_n "checking for $ac_word... " >&6; }
20129 if test "${ac_cv_prog_QMAKE+set}" = set; then :
20130 $as_echo_n "(cached) " >&6
20132 if test -n "$QMAKE"; then
20133 ac_cv_prog_QMAKE="$QMAKE" # Let the user override the test.
20135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20136 for as_dir in $PATH
20139 test -z "$as_dir" && as_dir=.
20140 for ac_exec_ext in '' $ac_executable_extensions; do
20141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20142 ac_cv_prog_QMAKE="$ac_prog"
20143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20152 QMAKE=$ac_cv_prog_QMAKE
20153 if test -n "$QMAKE"; then
20154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QMAKE" >&5
20155 $as_echo "$QMAKE" >&6; }
20157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20158 $as_echo "no" >&6; }
20162 test -n "$QMAKE" && break
20166 # Check for Akonadi. There is no .pc file for it,
20167 # so fall back to normal header file and library checking.
20168 # kdepimlibs5-dev >= 4.3 provides the necessary files.
20170 if ! test "$KDEPIM_CFLAGS"; then
20171 KDEPIM_CFLAGS="-I`kde4-config --path include` -I`kde4-config --path include`/KDE"
20172 if test "$QMAKE"; then
20173 KDEPIM_CFLAGS="$KDEPIM_CFLAGS -I`$QMAKE -query QT_INSTALL_HEADERS`"
20176 if ! test "$KDEPIM_LIBS"; then
20177 KDEPIM_LIBS="-L`kde4-config --prefix`/lib`kde4-config --libsuffix` -lakonadi-kde -lQtDBus -lQtCore -lkdeui -lkdecore"
20180 ac_cpp='$CXXCPP $CPPFLAGS'
20181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20185 old_CPPFLAGS="$CPPFLAGS"
20186 CPPFLAGS="$CPPFLAGS $KDEPIM_CFLAGS"
20187 for ac_header in Akonadi/Collection
20189 ac_fn_cxx_check_header_mongrel "$LINENO" "Akonadi/Collection" "ac_cv_header_Akonadi_Collection" "$ac_includes_default"
20190 if test "x$ac_cv_header_Akonadi_Collection" = x""yes; then :
20191 cat >>confdefs.h <<_ACEOF
20192 #define HAVE_AKONADI_COLLECTION 1
20201 CPPFLAGS="$old_CPPFLAGS"
20203 ac_cpp='$CPP $CPPFLAGS'
20204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20209 # In contrast to the Evolution backend, the Akonadi backend is
20210 # currently considered optional. "configure" will enable it only
20211 # if explicitly enabled (was turned on automatically previously,
20212 # for example on Ubuntu Hardy, and didn't compile).
20214 # Check whether --enable-akonadi was given.
20215 if test "${enable_akonadi+set}" = set; then :
20216 enableval=$enable_akonadi; enable_akonadi="$enableval"
20217 test $AKONADIFOUND = "yes" || test $enable_akonadi = "no" || as_fn_error "akonadi.pc not found. Install it to compile with the Akonadi backend enabled." "$LINENO" 5
20223 BACKENDS="$BACKENDS akonadi"
20224 BACKEND_DEFINES="$BACKEND_DEFINES ENABLE_AKONADI"
20225 for source in akonadi
20227 SYNCSOURCES="$SYNCSOURCES src/backends/akonadi/syncakonadi.la"
20232 if test "$enable_akonadi" = "yes"; then
20233 # conditional compilation in preprocessor
20235 $as_echo "#define ENABLE_AKONADI 1" >>confdefs.h
20238 # avoid unneeded dependencies on Akonadi
20245 # conditional compilation in make
20246 if test "$enable_akonadi" = "yes"; then
20247 ENABLE_AKONADI_TRUE=
20248 ENABLE_AKONADI_FALSE='#'
20250 ENABLE_AKONADI_TRUE='#'
20251 ENABLE_AKONADI_FALSE=
20255 # let others include Akonadi backend's header file
20256 # (not strictly necessary, could be avoided by not
20257 # including Akonadi header files in public header file
20259 BACKEND_CPPFLAGS="$BACKEND_CPPFLAGS $KDEPIM_CFLAGS"
20260 # ^^^^^^^^^^^^^^ src/backends/akonadi/configure-sub.in ^^^^^^^^^^^^^^
20262 # vvvvvvvvvvvvvv src/backends/evolution/configure-sub.in vvvvvvvvvvvvvv
20265 Please install the development packages of Evolution and/or
20266 set the PKG_CONFIG_PATH variable so that it points towards
20267 the .pc files of libedataserver, libecal and libebook (the
20268 latter two are optional).
20270 You can check that these packages are available by running
20271 pkg-config --list-all."
20273 evomissing="No compatible evolution-data-server was found.
20278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPACKAGE" >&5
20279 $as_echo_n "checking for EPACKAGE... " >&6; }
20281 if test -n "$PKG_CONFIG"; then
20282 if test -n "$EPACKAGE_CFLAGS"; then
20283 pkg_cv_EPACKAGE_CFLAGS="$EPACKAGE_CFLAGS"
20285 if test -n "$PKG_CONFIG" && \
20286 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libedataserver-1.2\""; } >&5
20287 ($PKG_CONFIG --exists --print-errors "libedataserver-1.2") 2>&5
20289 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20290 test $ac_status = 0; }; then
20291 pkg_cv_EPACKAGE_CFLAGS=`$PKG_CONFIG --cflags "libedataserver-1.2" 2>/dev/null`
20299 if test -n "$PKG_CONFIG"; then
20300 if test -n "$EPACKAGE_LIBS"; then
20301 pkg_cv_EPACKAGE_LIBS="$EPACKAGE_LIBS"
20303 if test -n "$PKG_CONFIG" && \
20304 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libedataserver-1.2\""; } >&5
20305 ($PKG_CONFIG --exists --print-errors "libedataserver-1.2") 2>&5
20307 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20308 test $ac_status = 0; }; then
20309 pkg_cv_EPACKAGE_LIBS=`$PKG_CONFIG --libs "libedataserver-1.2" 2>/dev/null`
20320 if test $pkg_failed = yes; then
20322 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20323 _pkg_short_errors_supported=yes
20325 _pkg_short_errors_supported=no
20327 if test $_pkg_short_errors_supported = yes; then
20328 EPACKAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libedataserver-1.2"`
20330 EPACKAGE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libedataserver-1.2"`
20332 # Put the nasty error message in config.log where it belongs
20333 echo "$EPACKAGE_PKG_ERRORS" >&5
20335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20336 $as_echo "no" >&6; }
20338 elif test $pkg_failed = untried; then
20341 EPACKAGE_CFLAGS=$pkg_cv_EPACKAGE_CFLAGS
20342 EPACKAGE_LIBS=$pkg_cv_EPACKAGE_LIBS
20343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20344 $as_echo "yes" >&6; }
20349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECAL" >&5
20350 $as_echo_n "checking for ECAL... " >&6; }
20352 if test -n "$PKG_CONFIG"; then
20353 if test -n "$ECAL_CFLAGS"; then
20354 pkg_cv_ECAL_CFLAGS="$ECAL_CFLAGS"
20356 if test -n "$PKG_CONFIG" && \
20357 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libecal-1.2\""; } >&5
20358 ($PKG_CONFIG --exists --print-errors "libecal-1.2") 2>&5
20360 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20361 test $ac_status = 0; }; then
20362 pkg_cv_ECAL_CFLAGS=`$PKG_CONFIG --cflags "libecal-1.2" 2>/dev/null`
20370 if test -n "$PKG_CONFIG"; then
20371 if test -n "$ECAL_LIBS"; then
20372 pkg_cv_ECAL_LIBS="$ECAL_LIBS"
20374 if test -n "$PKG_CONFIG" && \
20375 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libecal-1.2\""; } >&5
20376 ($PKG_CONFIG --exists --print-errors "libecal-1.2") 2>&5
20378 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20379 test $ac_status = 0; }; then
20380 pkg_cv_ECAL_LIBS=`$PKG_CONFIG --libs "libecal-1.2" 2>/dev/null`
20391 if test $pkg_failed = yes; then
20393 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20394 _pkg_short_errors_supported=yes
20396 _pkg_short_errors_supported=no
20398 if test $_pkg_short_errors_supported = yes; then
20399 ECAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libecal-1.2"`
20401 ECAL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libecal-1.2"`
20403 # Put the nasty error message in config.log where it belongs
20404 echo "$ECAL_PKG_ERRORS" >&5
20406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20407 $as_echo "no" >&6; }
20409 elif test $pkg_failed = untried; then
20412 ECAL_CFLAGS=$pkg_cv_ECAL_CFLAGS
20413 ECAL_LIBS=$pkg_cv_ECAL_LIBS
20414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20415 $as_echo "yes" >&6; }
20420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBOOK" >&5
20421 $as_echo_n "checking for EBOOK... " >&6; }
20423 if test -n "$PKG_CONFIG"; then
20424 if test -n "$EBOOK_CFLAGS"; then
20425 pkg_cv_EBOOK_CFLAGS="$EBOOK_CFLAGS"
20427 if test -n "$PKG_CONFIG" && \
20428 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libebook-1.2\""; } >&5
20429 ($PKG_CONFIG --exists --print-errors "libebook-1.2") 2>&5
20431 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20432 test $ac_status = 0; }; then
20433 pkg_cv_EBOOK_CFLAGS=`$PKG_CONFIG --cflags "libebook-1.2" 2>/dev/null`
20441 if test -n "$PKG_CONFIG"; then
20442 if test -n "$EBOOK_LIBS"; then
20443 pkg_cv_EBOOK_LIBS="$EBOOK_LIBS"
20445 if test -n "$PKG_CONFIG" && \
20446 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libebook-1.2\""; } >&5
20447 ($PKG_CONFIG --exists --print-errors "libebook-1.2") 2>&5
20449 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20450 test $ac_status = 0; }; then
20451 pkg_cv_EBOOK_LIBS=`$PKG_CONFIG --libs "libebook-1.2" 2>/dev/null`
20462 if test $pkg_failed = yes; then
20464 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20465 _pkg_short_errors_supported=yes
20467 _pkg_short_errors_supported=no
20469 if test $_pkg_short_errors_supported = yes; then
20470 EBOOK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libebook-1.2"`
20472 EBOOK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libebook-1.2"`
20474 # Put the nasty error message in config.log where it belongs
20475 echo "$EBOOK_PKG_ERRORS" >&5
20477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20478 $as_echo "no" >&6; }
20480 elif test $pkg_failed = untried; then
20483 EBOOK_CFLAGS=$pkg_cv_EBOOK_CFLAGS
20484 EBOOK_LIBS=$pkg_cv_EBOOK_LIBS
20485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20486 $as_echo "yes" >&6; }
20492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBOOK_VERSION" >&5
20493 $as_echo_n "checking for EBOOK_VERSION... " >&6; }
20495 if test -n "$PKG_CONFIG"; then
20496 if test -n "$EBOOK_VERSION_CFLAGS"; then
20497 pkg_cv_EBOOK_VERSION_CFLAGS="$EBOOK_VERSION_CFLAGS"
20499 if test -n "$PKG_CONFIG" && \
20500 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libebook-1.2 >= 3.3\""; } >&5
20501 ($PKG_CONFIG --exists --print-errors "libebook-1.2 >= 3.3") 2>&5
20503 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20504 test $ac_status = 0; }; then
20505 pkg_cv_EBOOK_VERSION_CFLAGS=`$PKG_CONFIG --cflags "libebook-1.2 >= 3.3" 2>/dev/null`
20513 if test -n "$PKG_CONFIG"; then
20514 if test -n "$EBOOK_VERSION_LIBS"; then
20515 pkg_cv_EBOOK_VERSION_LIBS="$EBOOK_VERSION_LIBS"
20517 if test -n "$PKG_CONFIG" && \
20518 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libebook-1.2 >= 3.3\""; } >&5
20519 ($PKG_CONFIG --exists --print-errors "libebook-1.2 >= 3.3") 2>&5
20521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20522 test $ac_status = 0; }; then
20523 pkg_cv_EBOOK_VERSION_LIBS=`$PKG_CONFIG --libs "libebook-1.2 >= 3.3" 2>/dev/null`
20534 if test $pkg_failed = yes; then
20536 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20537 _pkg_short_errors_supported=yes
20539 _pkg_short_errors_supported=no
20541 if test $_pkg_short_errors_supported = yes; then
20542 EBOOK_VERSION_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libebook-1.2 >= 3.3"`
20544 EBOOK_VERSION_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libebook-1.2 >= 3.3"`
20546 # Put the nasty error message in config.log where it belongs
20547 echo "$EBOOK_VERSION_PKG_ERRORS" >&5
20549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20550 $as_echo "no" >&6; }
20552 elif test $pkg_failed = untried; then
20555 EBOOK_VERSION_CFLAGS=$pkg_cv_EBOOK_VERSION_CFLAGS
20556 EBOOK_VERSION_LIBS=$pkg_cv_EBOOK_VERSION_LIBS
20557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20558 $as_echo "yes" >&6; }
20560 $as_echo "#define HAVE_E_CONTACT_INLINE_LOCAL_PHOTOS 1" >>confdefs.h
20565 # Check whether --enable-ebook was given.
20566 if test "${enable_ebook+set}" = set; then :
20567 enableval=$enable_ebook; enable_ebook="$enableval"
20569 test "$EBOOKFOUND" = "yes" && enable_ebook="yes" ||
20570 as_fn_error "libebook not found. Use --disable-ebook to compile without or install the necessary development files." "$LINENO" 5
20574 BACKENDS="$BACKENDS ebook"
20575 BACKEND_DEFINES="$BACKEND_DEFINES ENABLE_EBOOK"
20576 for source in evolution
20578 SYNCSOURCES="$SYNCSOURCES src/backends/evolution/syncebook.la"
20583 # Check whether --enable-ecal was given.
20584 if test "${enable_ecal+set}" = set; then :
20585 enableval=$enable_ecal; enable_ecal="$enableval"
20587 test "$ECALFOUND" = "yes" && enable_ecal="yes" ||
20588 as_fn_error "libecal not found. Use --disable-ecal to compile without or install the necessary development files." "$LINENO" 5
20592 BACKENDS="$BACKENDS ecal"
20593 BACKEND_DEFINES="$BACKEND_DEFINES ENABLE_ECAL"
20594 for source in evolution
20596 SYNCSOURCES="$SYNCSOURCES src/backends/evolution/syncecal.la"
20601 # Check whether --enable-eds-client-api was given.
20602 if test "${enable_eds_client_api+set}" = set; then :
20603 enableval=$enable_eds_client_api; enable_eds_client_api="$enableval"
20605 enable_eds_client_api="no"
20610 if test "$enable_ebook" = "yes"; then
20611 test "x${EBOOKFOUND}" = "xyes" || as_fn_error "--enable-ebook requires pkg-config information for libebook, which was not found" "$LINENO" 5
20613 $as_echo "#define ENABLE_EBOOK 1" >>confdefs.h
20615 if test "$enable_eds_client_api" = "yes"; then
20617 $as_echo "#define USE_EBOOK_CLIENT 1" >>confdefs.h
20626 if test "$enable_ecal" = "yes"; then
20628 ENABLE_ECAL_FALSE='#'
20630 ENABLE_ECAL_TRUE='#'
20634 if test "$enable_ecal" = "yes"; then
20636 test "x${ECALFOUND}" = "xyes" || as_fn_error "--enable-ecal requires pkg-config information for libecal, which was not found\"" "$LINENO" 5
20638 $as_echo "#define ENABLE_ECAL 1" >>confdefs.h
20640 if test "$enable_eds_client_api" = "yes"; then
20642 $as_echo "#define USE_ECAL_CLIENT 1" >>confdefs.h
20651 if test "$enable_evo" = "yes"; then
20653 if test "$EDSFOUND" = "yes"; then
20655 $as_echo "#define HAVE_EDS 1" >>confdefs.h
20658 as_fn_error "$evomissing" "$LINENO" 5
20665 BACKEND_CPPFLAGS="$BACKEND_CPPFLAGS $EPACKAGE_CFLAGS $ECAL_CFLAGS $EBOOK_CFLAGS"
20666 # ^^^^^^^^^^^^^^ src/backends/evolution/configure-sub.in ^^^^^^^^^^^^^^
20668 # vvvvvvvvvvvvvv src/backends/file/configure-sub.in vvvvvvvvvvvvvv
20676 BACKEND_CPPFLAGS="$BACKEND_CPPFLAGS $FILE_CFLAGS"
20679 # Check whether --enable-file was given.
20680 if test "${enable_file+set}" = set; then :
20681 enableval=$enable_file; enable_file="$enableval"
20687 BACKENDS="$BACKENDS file"
20688 BACKEND_DEFINES="$BACKEND_DEFINES ENABLE_FILE"
20691 SYNCSOURCES="$SYNCSOURCES src/backends/file/syncfile.la"
20696 if test "$enable_file" = "yes"; then
20698 $as_echo "#define ENABLE_FILE 1" >>confdefs.h
20701 # ^^^^^^^^^^^^^^ src/backends/file/configure-sub.in ^^^^^^^^^^^^^^
20703 # vvvvvvvvvvvvvv src/backends/gnome/configure-sub.in vvvvvvvvvvvvvv
20706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for KEYRING" >&5
20707 $as_echo_n "checking for KEYRING... " >&6; }
20709 if test -n "$PKG_CONFIG"; then
20710 if test -n "$KEYRING_CFLAGS"; then
20711 pkg_cv_KEYRING_CFLAGS="$KEYRING_CFLAGS"
20713 if test -n "$PKG_CONFIG" && \
20714 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-keyring-1\""; } >&5
20715 ($PKG_CONFIG --exists --print-errors "gnome-keyring-1") 2>&5
20717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20718 test $ac_status = 0; }; then
20719 pkg_cv_KEYRING_CFLAGS=`$PKG_CONFIG --cflags "gnome-keyring-1" 2>/dev/null`
20727 if test -n "$PKG_CONFIG"; then
20728 if test -n "$KEYRING_LIBS"; then
20729 pkg_cv_KEYRING_LIBS="$KEYRING_LIBS"
20731 if test -n "$PKG_CONFIG" && \
20732 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-keyring-1\""; } >&5
20733 ($PKG_CONFIG --exists --print-errors "gnome-keyring-1") 2>&5
20735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20736 test $ac_status = 0; }; then
20737 pkg_cv_KEYRING_LIBS=`$PKG_CONFIG --libs "gnome-keyring-1" 2>/dev/null`
20748 if test $pkg_failed = yes; then
20750 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20751 _pkg_short_errors_supported=yes
20753 _pkg_short_errors_supported=no
20755 if test $_pkg_short_errors_supported = yes; then
20756 KEYRING_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-keyring-1"`
20758 KEYRING_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-keyring-1"`
20760 # Put the nasty error message in config.log where it belongs
20761 echo "$KEYRING_PKG_ERRORS" >&5
20763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20764 $as_echo "no" >&6; }
20766 elif test $pkg_failed = untried; then
20769 KEYRING_CFLAGS=$pkg_cv_KEYRING_CFLAGS
20770 KEYRING_LIBS=$pkg_cv_KEYRING_LIBS
20771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20772 $as_echo "yes" >&6; }
20775 # Check whether --enable-gnome-keyring was given.
20776 if test "${enable_gnome_keyring+set}" = set; then :
20777 enableval=$enable_gnome_keyring; enable_gnome_keyring="$enableval"
20778 test "$enable_gnome_keyring" = "yes" || test "$enable_gnome_keyring" = "no" || as_fn_error "invalid value for --enable-gnome-keyring: $enable_gnome_keyring" "$LINENO" 5
20779 test "$enable_gnome_keyring" = "no" || test "$HAVE_KEYRING" = "yes" || as_fn_error "gnome-keyring-1 pkg not found, needed for --enable-gnome-keyring" "$LINENO" 5
20781 enable_gnome_keyring="$HAVE_KEYRING"
20784 if test $enable_gnome_keyring = "yes"; then
20786 $as_echo "#define USE_GNOME_KEYRING 1" >>confdefs.h
20790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for KEYRING_2_20" >&5
20791 $as_echo_n "checking for KEYRING_2_20... " >&6; }
20793 if test -n "$PKG_CONFIG"; then
20794 if test -n "$KEYRING_2_20_CFLAGS"; then
20795 pkg_cv_KEYRING_2_20_CFLAGS="$KEYRING_2_20_CFLAGS"
20797 if test -n "$PKG_CONFIG" && \
20798 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-keyring-1 >= 2.20 \""; } >&5
20799 ($PKG_CONFIG --exists --print-errors "gnome-keyring-1 >= 2.20 ") 2>&5
20801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20802 test $ac_status = 0; }; then
20803 pkg_cv_KEYRING_2_20_CFLAGS=`$PKG_CONFIG --cflags "gnome-keyring-1 >= 2.20 " 2>/dev/null`
20811 if test -n "$PKG_CONFIG"; then
20812 if test -n "$KEYRING_2_20_LIBS"; then
20813 pkg_cv_KEYRING_2_20_LIBS="$KEYRING_2_20_LIBS"
20815 if test -n "$PKG_CONFIG" && \
20816 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-keyring-1 >= 2.20 \""; } >&5
20817 ($PKG_CONFIG --exists --print-errors "gnome-keyring-1 >= 2.20 ") 2>&5
20819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20820 test $ac_status = 0; }; then
20821 pkg_cv_KEYRING_2_20_LIBS=`$PKG_CONFIG --libs "gnome-keyring-1 >= 2.20 " 2>/dev/null`
20832 if test $pkg_failed = yes; then
20834 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20835 _pkg_short_errors_supported=yes
20837 _pkg_short_errors_supported=no
20839 if test $_pkg_short_errors_supported = yes; then
20840 KEYRING_2_20_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-keyring-1 >= 2.20 "`
20842 KEYRING_2_20_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-keyring-1 >= 2.20 "`
20844 # Put the nasty error message in config.log where it belongs
20845 echo "$KEYRING_2_20_PKG_ERRORS" >&5
20847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20848 $as_echo "no" >&6; }
20850 elif test $pkg_failed = untried; then
20853 KEYRING_2_20_CFLAGS=$pkg_cv_KEYRING_2_20_CFLAGS
20854 KEYRING_2_20_LIBS=$pkg_cv_KEYRING_2_20_LIBS
20855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20856 $as_echo "yes" >&6; }
20858 $as_echo "#define GNOME_KEYRING_220 1" >>confdefs.h
20861 # link into static executables, similar to a SyncSource
20862 SYNCSOURCES="$SYNCSOURCES src/backends/gnome/platformgnome.la"
20864 # ^^^^^^^^^^^^^^ src/backends/gnome/configure-sub.in ^^^^^^^^^^^^^^
20866 # vvvvvvvvvvvvvv src/backends/kcalextended/configure-sub.in vvvvvvvvvvvvvv
20868 # BACKEND_CPPFLAGS="$BACKEND_CPPFLAGS ..."
20871 # Check whether --enable-kcalextended was given.
20872 if test "${enable_kcalextended+set}" = set; then :
20873 enableval=$enable_kcalextended; enable_kcalextended="$enableval"
20875 enable_kcalextended="no"
20879 BACKENDS="$BACKENDS kcalextended"
20880 BACKEND_DEFINES="$BACKEND_DEFINES ENABLE_KCALEXTENDED"
20881 for source in kcalextended
20883 SYNCSOURCES="$SYNCSOURCES src/backends/kcalextended/synckcalextended.la"
20888 if test "$enable_kcalextended" = "yes"; then
20890 $as_echo "#define ENABLE_KCALEXTENDED 1" >>confdefs.h
20894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for KCALEXTENDED" >&5
20895 $as_echo_n "checking for KCALEXTENDED... " >&6; }
20897 if test -n "$PKG_CONFIG"; then
20898 if test -n "$KCALEXTENDED_CFLAGS"; then
20899 pkg_cv_KCALEXTENDED_CFLAGS="$KCALEXTENDED_CFLAGS"
20901 if test -n "$PKG_CONFIG" && \
20902 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmkcal libkcalcoren\""; } >&5
20903 ($PKG_CONFIG --exists --print-errors "libmkcal libkcalcoren") 2>&5
20905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20906 test $ac_status = 0; }; then
20907 pkg_cv_KCALEXTENDED_CFLAGS=`$PKG_CONFIG --cflags "libmkcal libkcalcoren" 2>/dev/null`
20915 if test -n "$PKG_CONFIG"; then
20916 if test -n "$KCALEXTENDED_LIBS"; then
20917 pkg_cv_KCALEXTENDED_LIBS="$KCALEXTENDED_LIBS"
20919 if test -n "$PKG_CONFIG" && \
20920 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmkcal libkcalcoren\""; } >&5
20921 ($PKG_CONFIG --exists --print-errors "libmkcal libkcalcoren") 2>&5
20923 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20924 test $ac_status = 0; }; then
20925 pkg_cv_KCALEXTENDED_LIBS=`$PKG_CONFIG --libs "libmkcal libkcalcoren" 2>/dev/null`
20936 if test $pkg_failed = yes; then
20938 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20939 _pkg_short_errors_supported=yes
20941 _pkg_short_errors_supported=no
20943 if test $_pkg_short_errors_supported = yes; then
20944 KCALEXTENDED_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libmkcal libkcalcoren"`
20946 KCALEXTENDED_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libmkcal libkcalcoren"`
20948 # Put the nasty error message in config.log where it belongs
20949 echo "$KCALEXTENDED_PKG_ERRORS" >&5
20951 as_fn_error "Package requirements (libmkcal libkcalcoren) were not met:
20953 $KCALEXTENDED_PKG_ERRORS
20955 Consider adjusting the PKG_CONFIG_PATH environment variable if you
20956 installed software in a non-standard prefix.
20958 Alternatively, you may set the environment variables KCALEXTENDED_CFLAGS
20959 and KCALEXTENDED_LIBS to avoid the need to call pkg-config.
20960 See the pkg-config man page for more details.
20962 elif test $pkg_failed = untried; then
20963 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20964 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20965 as_fn_error "The pkg-config script could not be found or is too old. Make sure it
20966 is in your PATH or set the PKG_CONFIG environment variable to the full
20967 path to pkg-config.
20969 Alternatively, you may set the environment variables KCALEXTENDED_CFLAGS
20970 and KCALEXTENDED_LIBS to avoid the need to call pkg-config.
20971 See the pkg-config man page for more details.
20973 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20974 See \`config.log' for more details." "$LINENO" 5; }
20976 KCALEXTENDED_CFLAGS=$pkg_cv_KCALEXTENDED_CFLAGS
20977 KCALEXTENDED_LIBS=$pkg_cv_KCALEXTENDED_LIBS
20978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20979 $as_echo "yes" >&6; }
20983 # ^^^^^^^^^^^^^^ src/backends/kcalextended/configure-sub.in ^^^^^^^^^^^^^^
20985 # vvvvvvvvvvvvvv src/backends/kde/configure-sub.in vvvvvvvvvvvvvv
20986 # first check for qmake-qt4, because qmake may point to qmake-qt3.
20987 for ac_prog in qmake-qt4 qmake
20989 # Extract the first word of "$ac_prog", so it can be a program name with args.
20990 set dummy $ac_prog; ac_word=$2
20991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20992 $as_echo_n "checking for $ac_word... " >&6; }
20993 if test "${ac_cv_prog_QMAKE+set}" = set; then :
20994 $as_echo_n "(cached) " >&6
20996 if test -n "$QMAKE"; then
20997 ac_cv_prog_QMAKE="$QMAKE" # Let the user override the test.
20999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21000 for as_dir in $PATH
21003 test -z "$as_dir" && as_dir=.
21004 for ac_exec_ext in '' $ac_executable_extensions; do
21005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21006 ac_cv_prog_QMAKE="$ac_prog"
21007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21016 QMAKE=$ac_cv_prog_QMAKE
21017 if test -n "$QMAKE"; then
21018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QMAKE" >&5
21019 $as_echo "$QMAKE" >&6; }
21021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21022 $as_echo "no" >&6; }
21026 test -n "$QMAKE" && break
21030 if test "x$QMAKE" != 'x'
21032 # Extract the first word of "kde4-config", so it can be a program name with args.
21033 set dummy kde4-config; ac_word=$2
21034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21035 $as_echo_n "checking for $ac_word... " >&6; }
21036 if test "${ac_cv_path_KDE4_CONFIG+set}" = set; then :
21037 $as_echo_n "(cached) " >&6
21039 case $KDE4_CONFIG in
21041 ac_cv_path_KDE4_CONFIG="$KDE4_CONFIG" # Let the user override the test with a path.
21044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21045 for as_dir in $PATH
21048 test -z "$as_dir" && as_dir=.
21049 for ac_exec_ext in '' $ac_executable_extensions; do
21050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21051 ac_cv_path_KDE4_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21059 test -z "$ac_cv_path_KDE4_CONFIG" && ac_cv_path_KDE4_CONFIG="no"
21063 KDE4_CONFIG=$ac_cv_path_KDE4_CONFIG
21064 if test -n "$KDE4_CONFIG"; then
21065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KDE4_CONFIG" >&5
21066 $as_echo "$KDE4_CONFIG" >&6; }
21068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21069 $as_echo "no" >&6; }
21074 if test "x$KDE4_CONFIG" != 'xno'
21076 KDEKWALLETFOUND=yes
21077 if ! test "$KDE_KWALLET_CFLAGS"; then
21078 KDE_KWALLET_CFLAGS="-I`$KDE4_CONFIG --path include` -I`$KDE4_CONFIG --path include`/KDE `pkg-config --cflags QtDBus QtCore`"
21080 if ! test "$KDE_KWALLET_LIBS"; then
21081 KDE_KWALLET_LIBS="-lkdeui -lkdecore -L`kde4-config --install lib` `pkg-config --libs QtDBus QtCore`"
21084 ac_cpp='$CXXCPP $CPPFLAGS'
21085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21089 old_CPPFLAGS="$CPPFLAGS"
21090 CPPFLAGS="$CPPFLAGS $KDE_KWALLET_CFLAGS"
21091 for ac_header in kwallet.h
21093 ac_fn_cxx_check_header_mongrel "$LINENO" "kwallet.h" "ac_cv_header_kwallet_h" "$ac_includes_default"
21094 if test "x$ac_cv_header_kwallet_h" = x""yes; then :
21095 cat >>confdefs.h <<_ACEOF
21096 #define HAVE_KWALLET_H 1
21105 CPPFLAGS="$old_CPPFLAGS"
21107 ac_cpp='$CPP $CPPFLAGS'
21108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21119 # In contrast to the GNOME KEYRING, the KWallet is
21120 # currently considered optional. "configure" will never enable
21121 # by default, because that is a change that might not be
21122 # expected by traditional users.
21123 # Check whether --enable-kwallet was given.
21124 if test "${enable_kwallet+set}" = set; then :
21125 enableval=$enable_kwallet; use_kde_kwallet="$enableval"
21126 test $KDEKWALLETFOUND = "yes" || test "$use_kde_kwallet" = "no" || as_fn_error "kwallet.pc not found. Install it to compile with the KWallet enabled." "$LINENO" 5
21128 use_kde_kwallet="no"
21132 if test "$use_kde_kwallet" = "yes"; then
21133 # conditional compilation in preprocessor
21135 $as_echo "#define USE_KDE_KWALLET 1" >>confdefs.h
21137 # link into static executables, similar to a SyncSource
21138 SYNCSOURCES="$SYNCSOURCES src/backends/kde/platformkde.la"
21139 # TODO: KWallet needs Qt. Enable the Qt check in
21140 # configure-post.in, otherwise it fails to compiler
21141 # when none of the backends ask for Qt.
21143 # avoid unneeded dependencies on KWallet
21144 KDE_KWALLET_CFLAGS=
21150 # conditional compilation in make
21151 if test "$use_kde_kwallet" = "yes"; then
21152 USE_KDE_KWALLET_TRUE=
21153 USE_KDE_KWALLET_FALSE='#'
21155 USE_KDE_KWALLET_TRUE='#'
21156 USE_KDE_KWALLET_FALSE=
21159 # ^^^^^^^^^^^^^^ src/backends/kde/configure-sub.in ^^^^^^^^^^^^^^
21161 # vvvvvvvvvvvvvv src/backends/maemo/configure-sub.in vvvvvvvvvvvvvv
21165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MCALB" >&5
21166 $as_echo_n "checking for MCALB... " >&6; }
21168 if test -n "$PKG_CONFIG"; then
21169 if test -n "$MCALB_CFLAGS"; then
21170 pkg_cv_MCALB_CFLAGS="$MCALB_CFLAGS"
21172 if test -n "$PKG_CONFIG" && \
21173 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"calendar-backend\""; } >&5
21174 ($PKG_CONFIG --exists --print-errors "calendar-backend") 2>&5
21176 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21177 test $ac_status = 0; }; then
21178 pkg_cv_MCALB_CFLAGS=`$PKG_CONFIG --cflags "calendar-backend" 2>/dev/null`
21186 if test -n "$PKG_CONFIG"; then
21187 if test -n "$MCALB_LIBS"; then
21188 pkg_cv_MCALB_LIBS="$MCALB_LIBS"
21190 if test -n "$PKG_CONFIG" && \
21191 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"calendar-backend\""; } >&5
21192 ($PKG_CONFIG --exists --print-errors "calendar-backend") 2>&5
21194 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21195 test $ac_status = 0; }; then
21196 pkg_cv_MCALB_LIBS=`$PKG_CONFIG --libs "calendar-backend" 2>/dev/null`
21207 if test $pkg_failed = yes; then
21209 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21210 _pkg_short_errors_supported=yes
21212 _pkg_short_errors_supported=no
21214 if test $_pkg_short_errors_supported = yes; then
21215 MCALB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "calendar-backend"`
21217 MCALB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "calendar-backend"`
21219 # Put the nasty error message in config.log where it belongs
21220 echo "$MCALB_PKG_ERRORS" >&5
21222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21223 $as_echo "no" >&6; }
21225 elif test $pkg_failed = untried; then
21228 MCALB_CFLAGS=$pkg_cv_MCALB_CFLAGS
21229 MCALB_LIBS=$pkg_cv_MCALB_LIBS
21230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21231 $as_echo "yes" >&6; }
21236 BACKEND_CPPFLAGS="$BACKEND_CPPFLAGS $MCALB_CFLAGS"
21239 # Check whether --enable-maemocal was given.
21240 if test "${enable_maemocal+set}" = set; then :
21241 enableval=$enable_maemocal; enable_maemocal="$enableval"
21243 enable_maemocal="no"
21247 BACKENDS="$BACKENDS maemocal"
21248 BACKEND_DEFINES="$BACKEND_DEFINES ENABLE_MAEMOCAL"
21249 for source in maemo
21251 SYNCSOURCES="$SYNCSOURCES src/backends/maemo/syncmaemocal.la"
21256 if test "$enable_maemocal" = "yes"; then
21257 test "x${MCALBFOUND}" = "xyes" || as_fn_error "--enable-maemocal requires pkg-config information for calendar-backend, which was not found" "$LINENO" 5
21259 $as_echo "#define ENABLE_MAEMO_CALENDAR 1" >>confdefs.h
21262 # ^^^^^^^^^^^^^^ src/backends/maemo/configure-sub.in ^^^^^^^^^^^^^^
21264 # vvvvvvvvvvvvvv src/backends/qtcontacts/configure-sub.in vvvvvvvvvvvvvv
21266 # BACKEND_CPPFLAGS="$BACKEND_CPPFLAGS ..."
21269 # Check whether --enable-qtcontacts was given.
21270 if test "${enable_qtcontacts+set}" = set; then :
21271 enableval=$enable_qtcontacts; enable_qtcontacts="$enableval"
21273 enable_qtcontacts="no"
21277 BACKENDS="$BACKENDS qtcontacts"
21278 BACKEND_DEFINES="$BACKEND_DEFINES ENABLE_QTCONTACTS"
21279 for source in qtcontacts
21281 SYNCSOURCES="$SYNCSOURCES src/backends/qtcontacts/syncqtcontacts.la"
21286 if test "$enable_qtcontacts" = "yes"; then
21288 $as_echo "#define ENABLE_QTCONTACTS 1" >>confdefs.h
21290 # AC_WITH_QT() will be called in configure-post if need_qt_modules is not empty,
21291 # setting QT_* flags.
21292 need_qt_modules="$need_qt_modules +gui" # GUI needed for QVersit
21293 qt_config="$qt_config +mobility"
21295 MOBILITY += contacts versit"
21298 # ^^^^^^^^^^^^^^ src/backends/qtcontacts/configure-sub.in ^^^^^^^^^^^^^^
21300 # vvvvvvvvvvvvvv src/backends/sqlite/configure-sub.in vvvvvvvvvvvvvv
21304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SQLITE" >&5
21305 $as_echo_n "checking for SQLITE... " >&6; }
21307 if test -n "$PKG_CONFIG"; then
21308 if test -n "$SQLITE_CFLAGS"; then
21309 pkg_cv_SQLITE_CFLAGS="$SQLITE_CFLAGS"
21311 if test -n "$PKG_CONFIG" && \
21312 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
21313 ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
21315 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21316 test $ac_status = 0; }; then
21317 pkg_cv_SQLITE_CFLAGS=`$PKG_CONFIG --cflags "sqlite3" 2>/dev/null`
21325 if test -n "$PKG_CONFIG"; then
21326 if test -n "$SQLITE_LIBS"; then
21327 pkg_cv_SQLITE_LIBS="$SQLITE_LIBS"
21329 if test -n "$PKG_CONFIG" && \
21330 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
21331 ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
21333 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21334 test $ac_status = 0; }; then
21335 pkg_cv_SQLITE_LIBS=`$PKG_CONFIG --libs "sqlite3" 2>/dev/null`
21346 if test $pkg_failed = yes; then
21348 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21349 _pkg_short_errors_supported=yes
21351 _pkg_short_errors_supported=no
21353 if test $_pkg_short_errors_supported = yes; then
21354 SQLITE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "sqlite3"`
21356 SQLITE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "sqlite3"`
21358 # Put the nasty error message in config.log where it belongs
21359 echo "$SQLITE_PKG_ERRORS" >&5
21361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21362 $as_echo "no" >&6; }
21364 elif test $pkg_failed = untried; then
21367 SQLITE_CFLAGS=$pkg_cv_SQLITE_CFLAGS
21368 SQLITE_LIBS=$pkg_cv_SQLITE_LIBS
21369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21370 $as_echo "yes" >&6; }
21375 BACKEND_CPPFLAGS="$BACKEND_CPPFLAGS $SQLITE_CFLAGS"
21378 # Check whether --enable-sqlite was given.
21379 if test "${enable_sqlite+set}" = set; then :
21380 enableval=$enable_sqlite; enable_sqlite="$enableval"
21386 BACKENDS="$BACKENDS sqlite"
21387 BACKEND_DEFINES="$BACKEND_DEFINES ENABLE_SQLITE"
21388 for source in sqlite
21390 SYNCSOURCES="$SYNCSOURCES src/backends/sqlite/syncsqlite.la"
21395 if test "$enable_sqlite" = "yes"; then
21396 test "x${SQLITEFOUND}" = "xyes" || as_fn_error "--enable-sqlite requires pkg-config information for sqlite3, which was not found" "$LINENO" 5
21398 $as_echo "#define ENABLE_SQLITE 1" >>confdefs.h
21401 # avoid linking against it if not needed
21405 # ^^^^^^^^^^^^^^ src/backends/sqlite/configure-sub.in ^^^^^^^^^^^^^^
21407 # vvvvvvvvvvvvvv src/backends/webdav/configure-sub.in vvvvvvvvvvvvvv
21410 # Check whether --enable-dav was given.
21411 if test "${enable_dav+set}" = set; then :
21412 enableval=$enable_dav; enable_dav="$enableval"
21418 BACKENDS="$BACKENDS dav"
21419 BACKEND_DEFINES="$BACKEND_DEFINES ENABLE_DAV"
21420 for source in webdav
21422 SYNCSOURCES="$SYNCSOURCES src/backends/webdav/syncdav.la"
21427 if test "$enable_dav" = "yes"; then
21431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NEON" >&5
21432 $as_echo_n "checking for NEON... " >&6; }
21434 if test -n "$PKG_CONFIG"; then
21435 if test -n "$NEON_CFLAGS"; then
21436 pkg_cv_NEON_CFLAGS="$NEON_CFLAGS"
21438 if test -n "$PKG_CONFIG" && \
21439 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"neon >= 0.29\""; } >&5
21440 ($PKG_CONFIG --exists --print-errors "neon >= 0.29") 2>&5
21442 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21443 test $ac_status = 0; }; then
21444 pkg_cv_NEON_CFLAGS=`$PKG_CONFIG --cflags "neon >= 0.29" 2>/dev/null`
21452 if test -n "$PKG_CONFIG"; then
21453 if test -n "$NEON_LIBS"; then
21454 pkg_cv_NEON_LIBS="$NEON_LIBS"
21456 if test -n "$PKG_CONFIG" && \
21457 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"neon >= 0.29\""; } >&5
21458 ($PKG_CONFIG --exists --print-errors "neon >= 0.29") 2>&5
21460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21461 test $ac_status = 0; }; then
21462 pkg_cv_NEON_LIBS=`$PKG_CONFIG --libs "neon >= 0.29" 2>/dev/null`
21473 if test $pkg_failed = yes; then
21475 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21476 _pkg_short_errors_supported=yes
21478 _pkg_short_errors_supported=no
21480 if test $_pkg_short_errors_supported = yes; then
21481 NEON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "neon >= 0.29"`
21483 NEON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "neon >= 0.29"`
21485 # Put the nasty error message in config.log where it belongs
21486 echo "$NEON_PKG_ERRORS" >&5
21488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21489 $as_echo "no" >&6; }
21492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NEON" >&5
21493 $as_echo_n "checking for NEON... " >&6; }
21495 if test -n "$PKG_CONFIG"; then
21496 if test -n "$NEON_CFLAGS"; then
21497 pkg_cv_NEON_CFLAGS="$NEON_CFLAGS"
21499 if test -n "$PKG_CONFIG" && \
21500 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"neon >= 0.27\""; } >&5
21501 ($PKG_CONFIG --exists --print-errors "neon >= 0.27") 2>&5
21503 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21504 test $ac_status = 0; }; then
21505 pkg_cv_NEON_CFLAGS=`$PKG_CONFIG --cflags "neon >= 0.27" 2>/dev/null`
21513 if test -n "$PKG_CONFIG"; then
21514 if test -n "$NEON_LIBS"; then
21515 pkg_cv_NEON_LIBS="$NEON_LIBS"
21517 if test -n "$PKG_CONFIG" && \
21518 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"neon >= 0.27\""; } >&5
21519 ($PKG_CONFIG --exists --print-errors "neon >= 0.27") 2>&5
21521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21522 test $ac_status = 0; }; then
21523 pkg_cv_NEON_LIBS=`$PKG_CONFIG --libs "neon >= 0.27" 2>/dev/null`
21534 if test $pkg_failed = yes; then
21536 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21537 _pkg_short_errors_supported=yes
21539 _pkg_short_errors_supported=no
21541 if test $_pkg_short_errors_supported = yes; then
21542 NEON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "neon >= 0.27"`
21544 NEON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "neon >= 0.27"`
21546 # Put the nasty error message in config.log where it belongs
21547 echo "$NEON_PKG_ERRORS" >&5
21549 as_fn_error "Package requirements (neon >= 0.27) were not met:
21553 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21554 installed software in a non-standard prefix.
21556 Alternatively, you may set the environment variables NEON_CFLAGS
21557 and NEON_LIBS to avoid the need to call pkg-config.
21558 See the pkg-config man page for more details.
21560 elif test $pkg_failed = untried; then
21561 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21562 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21563 as_fn_error "The pkg-config script could not be found or is too old. Make sure it
21564 is in your PATH or set the PKG_CONFIG environment variable to the full
21565 path to pkg-config.
21567 Alternatively, you may set the environment variables NEON_CFLAGS
21568 and NEON_LIBS to avoid the need to call pkg-config.
21569 See the pkg-config man page for more details.
21571 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21572 See \`config.log' for more details." "$LINENO" 5; }
21574 NEON_CFLAGS=$pkg_cv_NEON_CFLAGS
21575 NEON_LIBS=$pkg_cv_NEON_LIBS
21576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21577 $as_echo "yes" >&6; }
21580 elif test $pkg_failed = untried; then
21583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NEON" >&5
21584 $as_echo_n "checking for NEON... " >&6; }
21586 if test -n "$PKG_CONFIG"; then
21587 if test -n "$NEON_CFLAGS"; then
21588 pkg_cv_NEON_CFLAGS="$NEON_CFLAGS"
21590 if test -n "$PKG_CONFIG" && \
21591 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"neon >= 0.27\""; } >&5
21592 ($PKG_CONFIG --exists --print-errors "neon >= 0.27") 2>&5
21594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21595 test $ac_status = 0; }; then
21596 pkg_cv_NEON_CFLAGS=`$PKG_CONFIG --cflags "neon >= 0.27" 2>/dev/null`
21604 if test -n "$PKG_CONFIG"; then
21605 if test -n "$NEON_LIBS"; then
21606 pkg_cv_NEON_LIBS="$NEON_LIBS"
21608 if test -n "$PKG_CONFIG" && \
21609 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"neon >= 0.27\""; } >&5
21610 ($PKG_CONFIG --exists --print-errors "neon >= 0.27") 2>&5
21612 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21613 test $ac_status = 0; }; then
21614 pkg_cv_NEON_LIBS=`$PKG_CONFIG --libs "neon >= 0.27" 2>/dev/null`
21625 if test $pkg_failed = yes; then
21627 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21628 _pkg_short_errors_supported=yes
21630 _pkg_short_errors_supported=no
21632 if test $_pkg_short_errors_supported = yes; then
21633 NEON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "neon >= 0.27"`
21635 NEON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "neon >= 0.27"`
21637 # Put the nasty error message in config.log where it belongs
21638 echo "$NEON_PKG_ERRORS" >&5
21640 as_fn_error "Package requirements (neon >= 0.27) were not met:
21644 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21645 installed software in a non-standard prefix.
21647 Alternatively, you may set the environment variables NEON_CFLAGS
21648 and NEON_LIBS to avoid the need to call pkg-config.
21649 See the pkg-config man page for more details.
21651 elif test $pkg_failed = untried; then
21652 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21653 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21654 as_fn_error "The pkg-config script could not be found or is too old. Make sure it
21655 is in your PATH or set the PKG_CONFIG environment variable to the full
21656 path to pkg-config.
21658 Alternatively, you may set the environment variables NEON_CFLAGS
21659 and NEON_LIBS to avoid the need to call pkg-config.
21660 See the pkg-config man page for more details.
21662 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21663 See \`config.log' for more details." "$LINENO" 5; }
21665 NEON_CFLAGS=$pkg_cv_NEON_CFLAGS
21666 NEON_LIBS=$pkg_cv_NEON_LIBS
21667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21668 $as_echo "yes" >&6; }
21672 NEON_CFLAGS=$pkg_cv_NEON_CFLAGS
21673 NEON_LIBS=$pkg_cv_NEON_LIBS
21674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21675 $as_echo "yes" >&6; }
21677 $as_echo "#define HAVE_LIBNEON_SYSTEM_PROXY 1" >>confdefs.h
21680 $as_echo "#define HAVE_LIBNEON_OPTIONS 1" >>confdefs.h
21684 $as_echo "#define ENABLE_DAV 1" >>confdefs.h
21687 $as_echo "#define ENABLE_ICAL 1" >>confdefs.h
21689 BACKEND_CPPFLAGS="$BACKEND_CPPFLAGS $NEON_CFLAGS"
21692 # Check whether --enable-neon-compatibility was given.
21693 if test "${enable_neon_compatibility+set}" = set; then :
21694 enableval=$enable_neon_compatibility; enable_neon_compat="$enableval"
21696 enable_neon_compat="no"
21700 if test "$enable_neon_compat" = "yes"; then
21702 $as_echo "#define NEON_COMPATIBILITY 1" >>confdefs.h
21704 NEON_LIBS="`echo $NEON_LIBS | sed -e 's/\(-lneon\(-gnutls\)*\|^ *libneon\(-gnutls\)*.la\)/-ldl/'`"
21706 if test "$enable_neon_compat" = "yes"; then
21707 NEON_COMPATIBILITY_TRUE=
21708 NEON_COMPATIBILITY_FALSE='#'
21710 NEON_COMPATIBILITY_TRUE='#'
21711 NEON_COMPATIBILITY_FALSE=
21714 # ^^^^^^^^^^^^^^ src/backends/webdav/configure-sub.in ^^^^^^^^^^^^^^
21716 # vvvvvvvvvvvvvv src/backends/xmlrpc/configure-sub.in vvvvvvvvvvvvvv
21721 # Check whether --enable-xmlrpc was given.
21722 if test "${enable_xmlrpc+set}" = set; then :
21723 enableval=$enable_xmlrpc; enable_xmlrpc="$enableval"
21729 BACKENDS="$BACKENDS xmlrpc"
21730 BACKEND_DEFINES="$BACKEND_DEFINES ENABLE_XMLRPC"
21731 for source in xmlrpc
21733 SYNCSOURCES="$SYNCSOURCES src/backends/xmlrpc/syncxmlrpc.la"
21738 if test "$enable_xmlrpc" = "yes"; then
21740 # Extract the first word of "xmlrpc-c-config", so it can be a program name with args.
21741 set dummy xmlrpc-c-config; ac_word=$2
21742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21743 $as_echo_n "checking for $ac_word... " >&6; }
21744 if test "${ac_cv_path_XMLRPC_C_CONFIG+set}" = set; then :
21745 $as_echo_n "(cached) " >&6
21747 case $XMLRPC_C_CONFIG in
21749 ac_cv_path_XMLRPC_C_CONFIG="$XMLRPC_C_CONFIG" # Let the user override the test with a path.
21752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21753 for as_dir in $PATH
21756 test -z "$as_dir" && as_dir=.
21757 for ac_exec_ext in '' $ac_executable_extensions; do
21758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21759 ac_cv_path_XMLRPC_C_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21767 test -z "$ac_cv_path_XMLRPC_C_CONFIG" && ac_cv_path_XMLRPC_C_CONFIG="no"
21771 XMLRPC_C_CONFIG=$ac_cv_path_XMLRPC_C_CONFIG
21772 if test -n "$XMLRPC_C_CONFIG"; then
21773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLRPC_C_CONFIG" >&5
21774 $as_echo "$XMLRPC_C_CONFIG" >&6; }
21776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21777 $as_echo "no" >&6; }
21782 test "x$XMLRPC_C_CONFIG" != 'xno' || as_fn_error "--enable-xmlrpc requires xmlrpc-c-config, which was not found" "$LINENO" 5
21784 XMLRPC_CFLAGS=`$XMLRPC_C_CONFIG c++2 client --cflags`
21785 XMLRPC_LIBS=`$XMLRPC_C_CONFIG c++2 client --libs`
21789 BACKEND_CPPFLAGS="$BACKEND_CPPFLAGS $XMLRPC_CFLAGS"
21792 $as_echo "#define ENABLE_XMLRPC 1" >>confdefs.h
21795 # ^^^^^^^^^^^^^^ src/backends/xmlrpc/configure-sub.in ^^^^^^^^^^^^^^
21802 # Check whether --enable-qt-dbus was given.
21803 if test "${enable_qt_dbus+set}" = set; then :
21804 enableval=$enable_qt_dbus; enable_qt_dbus="$enableval"
21806 enable_qt_dbus="no"
21810 if test "$enable_qt_dbus" = "yes"; then
21812 $as_echo "#define ENABLE_QT_DBUS 1" >>confdefs.h
21814 need_qt_modules="$need_qt_modules +dbus"
21815 # Extract the first word of "qdbusxml2cpp", so it can be a program name with args.
21816 set dummy qdbusxml2cpp; ac_word=$2
21817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21818 $as_echo_n "checking for $ac_word... " >&6; }
21819 if test "${ac_cv_path_QDBUSXML_TO_CPP+set}" = set; then :
21820 $as_echo_n "(cached) " >&6
21822 case $QDBUSXML_TO_CPP in
21824 ac_cv_path_QDBUSXML_TO_CPP="$QDBUSXML_TO_CPP" # Let the user override the test with a path.
21827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21828 for as_dir in $PATH
21831 test -z "$as_dir" && as_dir=.
21832 for ac_exec_ext in '' $ac_executable_extensions; do
21833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21834 ac_cv_path_QDBUSXML_TO_CPP="$as_dir/$ac_word$ac_exec_ext"
21835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21842 test -z "$ac_cv_path_QDBUSXML_TO_CPP" && ac_cv_path_QDBUSXML_TO_CPP="no"
21846 QDBUSXML_TO_CPP=$ac_cv_path_QDBUSXML_TO_CPP
21847 if test -n "$QDBUSXML_TO_CPP"; then
21848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QDBUSXML_TO_CPP" >&5
21849 $as_echo "$QDBUSXML_TO_CPP" >&6; }
21851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21852 $as_echo "no" >&6; }
21856 test "x$QDBUSXML_TO_CPP" != 'xno' || as_fn_error "--enable-qt-dbus requires qdbusxml2cpp, which was not found" "$LINENO" 5
21859 if test "$enable_qt_dbus" = "yes"; then
21860 ENABLE_QT_DBUS_TRUE=
21861 ENABLE_QT_DBUS_FALSE='#'
21863 ENABLE_QT_DBUS_TRUE='#'
21864 ENABLE_QT_DBUS_FALSE=
21869 ac_config_files="$ac_config_files src/dbus/qt/syncevolution-qt-dbus.pc"
21876 backend_is_enabled () {
21877 eval echo \${enable_${1}}
21879 for backend in $BACKENDS; do
21880 if test `backend_is_enabled $backend` = "yes"; then
21882 SYNCEVOLUTION_MODULES="$SYNCEVOLUTION_MODULES src/backends/sync${backend}.la"
21886 if test "$enable_any" = "no"; then
21887 as_fn_error "no backend enabled - refusing to continue: $anymissing" "$LINENO" 5
21890 if test "$need_glib" = "yes"; then
21891 # HAVE_GLIB (aka GLIBFOUND) are a catch-all for these
21892 # three GNOME libs. Assume we have all three unless one of
21893 # the checks fails.
21898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
21899 $as_echo_n "checking for GLIB... " >&6; }
21901 if test -n "$PKG_CONFIG"; then
21902 if test -n "$GLIB_CFLAGS"; then
21903 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
21905 if test -n "$PKG_CONFIG" && \
21906 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"glib-2.0\"\""; } >&5
21907 ($PKG_CONFIG --exists --print-errors ""glib-2.0"") 2>&5
21909 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21910 test $ac_status = 0; }; then
21911 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags ""glib-2.0"" 2>/dev/null`
21919 if test -n "$PKG_CONFIG"; then
21920 if test -n "$GLIB_LIBS"; then
21921 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
21923 if test -n "$PKG_CONFIG" && \
21924 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"glib-2.0\"\""; } >&5
21925 ($PKG_CONFIG --exists --print-errors ""glib-2.0"") 2>&5
21927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21928 test $ac_status = 0; }; then
21929 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs ""glib-2.0"" 2>/dev/null`
21940 if test $pkg_failed = yes; then
21942 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21943 _pkg_short_errors_supported=yes
21945 _pkg_short_errors_supported=no
21947 if test $_pkg_short_errors_supported = yes; then
21948 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors ""glib-2.0""`
21950 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors ""glib-2.0""`
21952 # Put the nasty error message in config.log where it belongs
21953 echo "$GLIB_PKG_ERRORS" >&5
21955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21956 $as_echo "no" >&6; }
21958 elif test $pkg_failed = untried; then
21961 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
21962 GLIB_LIBS=$pkg_cv_GLIB_LIBS
21963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21964 $as_echo "yes" >&6; }
21967 # This check here is broken on Ubuntu 8.04: it calls glib-config,
21968 # which isn't found, but the error is not detected by configure.
21969 #if test "x${GLIBFOUND}" = "xno"; then
21970 # PKG_CHECK_MODULES(GLIB, "glib", GLIBFOUND=yes, GLIBFOUND=no)
21975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTHREAD" >&5
21976 $as_echo_n "checking for GTHREAD... " >&6; }
21978 if test -n "$PKG_CONFIG"; then
21979 if test -n "$GTHREAD_CFLAGS"; then
21980 pkg_cv_GTHREAD_CFLAGS="$GTHREAD_CFLAGS"
21982 if test -n "$PKG_CONFIG" && \
21983 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"gthread-2.0\"\""; } >&5
21984 ($PKG_CONFIG --exists --print-errors ""gthread-2.0"") 2>&5
21986 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21987 test $ac_status = 0; }; then
21988 pkg_cv_GTHREAD_CFLAGS=`$PKG_CONFIG --cflags ""gthread-2.0"" 2>/dev/null`
21996 if test -n "$PKG_CONFIG"; then
21997 if test -n "$GTHREAD_LIBS"; then
21998 pkg_cv_GTHREAD_LIBS="$GTHREAD_LIBS"
22000 if test -n "$PKG_CONFIG" && \
22001 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"gthread-2.0\"\""; } >&5
22002 ($PKG_CONFIG --exists --print-errors ""gthread-2.0"") 2>&5
22004 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22005 test $ac_status = 0; }; then
22006 pkg_cv_GTHREAD_LIBS=`$PKG_CONFIG --libs ""gthread-2.0"" 2>/dev/null`
22017 if test $pkg_failed = yes; then
22019 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22020 _pkg_short_errors_supported=yes
22022 _pkg_short_errors_supported=no
22024 if test $_pkg_short_errors_supported = yes; then
22025 GTHREAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors ""gthread-2.0""`
22027 GTHREAD_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors ""gthread-2.0""`
22029 # Put the nasty error message in config.log where it belongs
22030 echo "$GTHREAD_PKG_ERRORS" >&5
22032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22033 $as_echo "no" >&6; }
22035 elif test $pkg_failed = untried; then
22038 GTHREAD_CFLAGS=$pkg_cv_GTHREAD_CFLAGS
22039 GTHREAD_LIBS=$pkg_cv_GTHREAD_LIBS
22040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22041 $as_echo "yes" >&6; }
22046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOBJECT" >&5
22047 $as_echo_n "checking for GOBJECT... " >&6; }
22049 if test -n "$PKG_CONFIG"; then
22050 if test -n "$GOBJECT_CFLAGS"; then
22051 pkg_cv_GOBJECT_CFLAGS="$GOBJECT_CFLAGS"
22053 if test -n "$PKG_CONFIG" && \
22054 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"gobject-2.0\"\""; } >&5
22055 ($PKG_CONFIG --exists --print-errors ""gobject-2.0"") 2>&5
22057 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22058 test $ac_status = 0; }; then
22059 pkg_cv_GOBJECT_CFLAGS=`$PKG_CONFIG --cflags ""gobject-2.0"" 2>/dev/null`
22067 if test -n "$PKG_CONFIG"; then
22068 if test -n "$GOBJECT_LIBS"; then
22069 pkg_cv_GOBJECT_LIBS="$GOBJECT_LIBS"
22071 if test -n "$PKG_CONFIG" && \
22072 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"gobject-2.0\"\""; } >&5
22073 ($PKG_CONFIG --exists --print-errors ""gobject-2.0"") 2>&5
22075 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22076 test $ac_status = 0; }; then
22077 pkg_cv_GOBJECT_LIBS=`$PKG_CONFIG --libs ""gobject-2.0"" 2>/dev/null`
22088 if test $pkg_failed = yes; then
22090 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22091 _pkg_short_errors_supported=yes
22093 _pkg_short_errors_supported=no
22095 if test $_pkg_short_errors_supported = yes; then
22096 GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors ""gobject-2.0""`
22098 GOBJECT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors ""gobject-2.0""`
22100 # Put the nasty error message in config.log where it belongs
22101 echo "$GOBJECT_PKG_ERRORS" >&5
22103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22104 $as_echo "no" >&6; }
22106 elif test $pkg_failed = untried; then
22109 GOBJECT_CFLAGS=$pkg_cv_GOBJECT_CFLAGS
22110 GOBJECT_LIBS=$pkg_cv_GOBJECT_LIBS
22111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22112 $as_echo "yes" >&6; }
22117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
22118 $as_echo_n "checking for GIO... " >&6; }
22120 if test -n "$PKG_CONFIG"; then
22121 if test -n "$GIO_CFLAGS"; then
22122 pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
22124 if test -n "$PKG_CONFIG" && \
22125 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"gio-2.0\"\""; } >&5
22126 ($PKG_CONFIG --exists --print-errors ""gio-2.0"") 2>&5
22128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22129 test $ac_status = 0; }; then
22130 pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags ""gio-2.0"" 2>/dev/null`
22138 if test -n "$PKG_CONFIG"; then
22139 if test -n "$GIO_LIBS"; then
22140 pkg_cv_GIO_LIBS="$GIO_LIBS"
22142 if test -n "$PKG_CONFIG" && \
22143 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"gio-2.0\"\""; } >&5
22144 ($PKG_CONFIG --exists --print-errors ""gio-2.0"") 2>&5
22146 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22147 test $ac_status = 0; }; then
22148 pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs ""gio-2.0"" 2>/dev/null`
22159 if test $pkg_failed = yes; then
22161 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22162 _pkg_short_errors_supported=yes
22164 _pkg_short_errors_supported=no
22166 if test $_pkg_short_errors_supported = yes; then
22167 GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors ""gio-2.0""`
22169 GIO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors ""gio-2.0""`
22171 # Put the nasty error message in config.log where it belongs
22172 echo "$GIO_PKG_ERRORS" >&5
22174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22175 $as_echo "no" >&6; }
22177 elif test $pkg_failed = untried; then
22180 GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
22181 GIO_LIBS=$pkg_cv_GIO_LIBS
22182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22183 $as_echo "yes" >&6; }
22187 if test "x${GLIBFOUND}" = "xyes"; then
22189 $as_echo "#define HAVE_GLIB 1" >>confdefs.h
22192 as_fn_error "not all GNOME libraries found" "$LINENO" 5
22194 BACKEND_CPPFLAGS="$BACKEND_CPPFLAGS $GLIB_CFLAGS $GTHREAD_CFLAGS $GOBJECT_CFLAGS"
22197 if test "$need_ical" = "yes"; then
22200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBICAL" >&5
22201 $as_echo_n "checking for LIBICAL... " >&6; }
22203 if test -n "$PKG_CONFIG"; then
22204 if test -n "$LIBICAL_CFLAGS"; then
22205 pkg_cv_LIBICAL_CFLAGS="$LIBICAL_CFLAGS"
22207 if test -n "$PKG_CONFIG" && \
22208 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libical\""; } >&5
22209 ($PKG_CONFIG --exists --print-errors "libical") 2>&5
22211 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22212 test $ac_status = 0; }; then
22213 pkg_cv_LIBICAL_CFLAGS=`$PKG_CONFIG --cflags "libical" 2>/dev/null`
22221 if test -n "$PKG_CONFIG"; then
22222 if test -n "$LIBICAL_LIBS"; then
22223 pkg_cv_LIBICAL_LIBS="$LIBICAL_LIBS"
22225 if test -n "$PKG_CONFIG" && \
22226 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libical\""; } >&5
22227 ($PKG_CONFIG --exists --print-errors "libical") 2>&5
22229 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22230 test $ac_status = 0; }; then
22231 pkg_cv_LIBICAL_LIBS=`$PKG_CONFIG --libs "libical" 2>/dev/null`
22242 if test $pkg_failed = yes; then
22244 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22245 _pkg_short_errors_supported=yes
22247 _pkg_short_errors_supported=no
22249 if test $_pkg_short_errors_supported = yes; then
22250 LIBICAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libical"`
22252 LIBICAL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libical"`
22254 # Put the nasty error message in config.log where it belongs
22255 echo "$LIBICAL_PKG_ERRORS" >&5
22257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22258 $as_echo "no" >&6; }
22261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBICAL" >&5
22262 $as_echo_n "checking for LIBICAL... " >&6; }
22264 if test -n "$PKG_CONFIG"; then
22265 if test -n "$LIBICAL_CFLAGS"; then
22266 pkg_cv_LIBICAL_CFLAGS="$LIBICAL_CFLAGS"
22268 if test -n "$PKG_CONFIG" && \
22269 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libecal-1.2\""; } >&5
22270 ($PKG_CONFIG --exists --print-errors "libecal-1.2") 2>&5
22272 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22273 test $ac_status = 0; }; then
22274 pkg_cv_LIBICAL_CFLAGS=`$PKG_CONFIG --cflags "libecal-1.2" 2>/dev/null`
22282 if test -n "$PKG_CONFIG"; then
22283 if test -n "$LIBICAL_LIBS"; then
22284 pkg_cv_LIBICAL_LIBS="$LIBICAL_LIBS"
22286 if test -n "$PKG_CONFIG" && \
22287 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libecal-1.2\""; } >&5
22288 ($PKG_CONFIG --exists --print-errors "libecal-1.2") 2>&5
22290 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22291 test $ac_status = 0; }; then
22292 pkg_cv_LIBICAL_LIBS=`$PKG_CONFIG --libs "libecal-1.2" 2>/dev/null`
22303 if test $pkg_failed = yes; then
22305 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22306 _pkg_short_errors_supported=yes
22308 _pkg_short_errors_supported=no
22310 if test $_pkg_short_errors_supported = yes; then
22311 LIBICAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libecal-1.2"`
22313 LIBICAL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libecal-1.2"`
22315 # Put the nasty error message in config.log where it belongs
22316 echo "$LIBICAL_PKG_ERRORS" >&5
22318 as_fn_error "Package requirements (libecal-1.2) were not met:
22320 $LIBICAL_PKG_ERRORS
22322 Consider adjusting the PKG_CONFIG_PATH environment variable if you
22323 installed software in a non-standard prefix.
22325 Alternatively, you may set the environment variables LIBICAL_CFLAGS
22326 and LIBICAL_LIBS to avoid the need to call pkg-config.
22327 See the pkg-config man page for more details.
22329 elif test $pkg_failed = untried; then
22330 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22331 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22332 as_fn_error "The pkg-config script could not be found or is too old. Make sure it
22333 is in your PATH or set the PKG_CONFIG environment variable to the full
22334 path to pkg-config.
22336 Alternatively, you may set the environment variables LIBICAL_CFLAGS
22337 and LIBICAL_LIBS to avoid the need to call pkg-config.
22338 See the pkg-config man page for more details.
22340 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22341 See \`config.log' for more details." "$LINENO" 5; }
22343 LIBICAL_CFLAGS=$pkg_cv_LIBICAL_CFLAGS
22344 LIBICAL_LIBS=$pkg_cv_LIBICAL_LIBS
22345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22346 $as_echo "yes" >&6; }
22349 elif test $pkg_failed = untried; then
22352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBICAL" >&5
22353 $as_echo_n "checking for LIBICAL... " >&6; }
22355 if test -n "$PKG_CONFIG"; then
22356 if test -n "$LIBICAL_CFLAGS"; then
22357 pkg_cv_LIBICAL_CFLAGS="$LIBICAL_CFLAGS"
22359 if test -n "$PKG_CONFIG" && \
22360 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libecal-1.2\""; } >&5
22361 ($PKG_CONFIG --exists --print-errors "libecal-1.2") 2>&5
22363 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22364 test $ac_status = 0; }; then
22365 pkg_cv_LIBICAL_CFLAGS=`$PKG_CONFIG --cflags "libecal-1.2" 2>/dev/null`
22373 if test -n "$PKG_CONFIG"; then
22374 if test -n "$LIBICAL_LIBS"; then
22375 pkg_cv_LIBICAL_LIBS="$LIBICAL_LIBS"
22377 if test -n "$PKG_CONFIG" && \
22378 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libecal-1.2\""; } >&5
22379 ($PKG_CONFIG --exists --print-errors "libecal-1.2") 2>&5
22381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22382 test $ac_status = 0; }; then
22383 pkg_cv_LIBICAL_LIBS=`$PKG_CONFIG --libs "libecal-1.2" 2>/dev/null`
22394 if test $pkg_failed = yes; then
22396 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22397 _pkg_short_errors_supported=yes
22399 _pkg_short_errors_supported=no
22401 if test $_pkg_short_errors_supported = yes; then
22402 LIBICAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libecal-1.2"`
22404 LIBICAL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libecal-1.2"`
22406 # Put the nasty error message in config.log where it belongs
22407 echo "$LIBICAL_PKG_ERRORS" >&5
22409 as_fn_error "Package requirements (libecal-1.2) were not met:
22411 $LIBICAL_PKG_ERRORS
22413 Consider adjusting the PKG_CONFIG_PATH environment variable if you
22414 installed software in a non-standard prefix.
22416 Alternatively, you may set the environment variables LIBICAL_CFLAGS
22417 and LIBICAL_LIBS to avoid the need to call pkg-config.
22418 See the pkg-config man page for more details.
22420 elif test $pkg_failed = untried; then
22421 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22422 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22423 as_fn_error "The pkg-config script could not be found or is too old. Make sure it
22424 is in your PATH or set the PKG_CONFIG environment variable to the full
22425 path to pkg-config.
22427 Alternatively, you may set the environment variables LIBICAL_CFLAGS
22428 and LIBICAL_LIBS to avoid the need to call pkg-config.
22429 See the pkg-config man page for more details.
22431 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22432 See \`config.log' for more details." "$LINENO" 5; }
22434 LIBICAL_CFLAGS=$pkg_cv_LIBICAL_CFLAGS
22435 LIBICAL_LIBS=$pkg_cv_LIBICAL_LIBS
22436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22437 $as_echo "yes" >&6; }
22441 LIBICAL_CFLAGS=$pkg_cv_LIBICAL_CFLAGS
22442 LIBICAL_LIBS=$pkg_cv_LIBICAL_LIBS
22443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22444 $as_echo "yes" >&6; }
22448 $as_echo "#define ENABLE_ICAL 1" >>confdefs.h
22451 if test "$need_ical" = "yes"; then
22453 ENABLE_ICAL_FALSE='#'
22455 ENABLE_ICAL_TRUE='#'
22461 # Check for Qt if some backend needs it.
22462 if test "$need_qt_modules"; then
22463 echo "$as_me: this is autotroll.m4 serial 5" >&5
22465 test x"$TROLL" != x && echo 'ViM rox emacs.'
22468 # Check whether --with-qt was given.
22469 if test "${with_qt+set}" = set; then :
22470 withval=$with_qt; QT_PATH=$withval
22474 # this is a hack to get decent flow control with 'break'
22475 for _qt_ignored in once; do
22479 if test -d /usr/local/Trolltech; then
22480 # Try to find the latest version.
22481 tmp_qt_paths=`echo /usr/local/Trolltech/*/bin | tr ' ' '\n' | sort -nr \
22482 | xargs | sed 's/ */:/g'`
22484 # Path to which recent MacPorts (~v1.7) install Qt4.
22485 test -d /opt/local/libexec/qt4-mac/bin \
22486 && tmp_qt_paths="$tmp_qt_paths:/opt/local/libexec/qt4-mac/bin"
22490 for ac_prog in qmake qmake-qt4 qmake-qt3
22492 # Extract the first word of "$ac_prog", so it can be a program name with args.
22493 set dummy $ac_prog; ac_word=$2
22494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22495 $as_echo_n "checking for $ac_word... " >&6; }
22496 if test "${ac_cv_path_QMAKE+set}" = set; then :
22497 $as_echo_n "(cached) " >&6
22501 ac_cv_path_QMAKE="$QMAKE" # Let the user override the test with a path.
22504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22505 as_dummy="$QT_DIR:$QT_PATH:$PATH:$tmp_qt_paths"
22506 for as_dir in $as_dummy
22509 test -z "$as_dir" && as_dir=.
22510 for ac_exec_ext in '' $ac_executable_extensions; do
22511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22512 ac_cv_path_QMAKE="$as_dir/$ac_word$ac_exec_ext"
22513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22523 QMAKE=$ac_cv_path_QMAKE
22524 if test -n "$QMAKE"; then
22525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QMAKE" >&5
22526 $as_echo "$QMAKE" >&6; }
22528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22529 $as_echo "no" >&6; }
22533 test -n "$QMAKE" && break
22535 test -n "$QMAKE" || QMAKE="missing"
22537 if test x"$QMAKE" = xmissing; then
22538 as_fn_error "Cannot find qmake in your PATH. Try using --with-qt." "$LINENO" 5
22542 # Find moc (Meta Object Compiler).
22544 for ac_prog in moc moc-qt4 moc-qt3
22546 # Extract the first word of "$ac_prog", so it can be a program name with args.
22547 set dummy $ac_prog; ac_word=$2
22548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22549 $as_echo_n "checking for $ac_word... " >&6; }
22550 if test "${ac_cv_path_MOC+set}" = set; then :
22551 $as_echo_n "(cached) " >&6
22555 ac_cv_path_MOC="$MOC" # Let the user override the test with a path.
22558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22559 as_dummy="$QT_PATH:$PATH:$tmp_qt_paths"
22560 for as_dir in $as_dummy
22563 test -z "$as_dir" && as_dir=.
22564 for ac_exec_ext in '' $ac_executable_extensions; do
22565 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22566 ac_cv_path_MOC="$as_dir/$ac_word$ac_exec_ext"
22567 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22577 MOC=$ac_cv_path_MOC
22578 if test -n "$MOC"; then
22579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOC" >&5
22580 $as_echo "$MOC" >&6; }
22582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22583 $as_echo "no" >&6; }
22587 test -n "$MOC" && break
22589 test -n "$MOC" || MOC="missing"
22591 if test x"$MOC" = xmissing; then
22592 as_fn_error "Cannot find moc (Meta Object Compiler) in your PATH. Try using --with-qt." "$LINENO" 5
22596 # Find uic (User Interface Compiler).
22598 for ac_prog in uic uic-qt4 uic-qt3 uic3
22600 # Extract the first word of "$ac_prog", so it can be a program name with args.
22601 set dummy $ac_prog; ac_word=$2
22602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22603 $as_echo_n "checking for $ac_word... " >&6; }
22604 if test "${ac_cv_path_UIC+set}" = set; then :
22605 $as_echo_n "(cached) " >&6
22609 ac_cv_path_UIC="$UIC" # Let the user override the test with a path.
22612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22613 as_dummy="$QT_PATH:$PATH:$tmp_qt_paths"
22614 for as_dir in $as_dummy
22617 test -z "$as_dir" && as_dir=.
22618 for ac_exec_ext in '' $ac_executable_extensions; do
22619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22620 ac_cv_path_UIC="$as_dir/$ac_word$ac_exec_ext"
22621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22631 UIC=$ac_cv_path_UIC
22632 if test -n "$UIC"; then
22633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UIC" >&5
22634 $as_echo "$UIC" >&6; }
22636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22637 $as_echo "no" >&6; }
22641 test -n "$UIC" && break
22643 test -n "$UIC" || UIC="missing"
22645 if test x"$UIC" = xmissing; then
22646 as_fn_error "Cannot find uic (User Interface Compiler) in your PATH. Try using --with-qt." "$LINENO" 5
22650 # Find rcc (Qt Resource Compiler).
22654 # Extract the first word of "$ac_prog", so it can be a program name with args.
22655 set dummy $ac_prog; ac_word=$2
22656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22657 $as_echo_n "checking for $ac_word... " >&6; }
22658 if test "${ac_cv_path_RCC+set}" = set; then :
22659 $as_echo_n "(cached) " >&6
22663 ac_cv_path_RCC="$RCC" # Let the user override the test with a path.
22666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22667 as_dummy="$QT_PATH:$PATH:$tmp_qt_paths"
22668 for as_dir in $as_dummy
22671 test -z "$as_dir" && as_dir=.
22672 for ac_exec_ext in '' $ac_executable_extensions; do
22673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22674 ac_cv_path_RCC="$as_dir/$ac_word$ac_exec_ext"
22675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22685 RCC=$ac_cv_path_RCC
22686 if test -n "$RCC"; then
22687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RCC" >&5
22688 $as_echo "$RCC" >&6; }
22690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22691 $as_echo "no" >&6; }
22695 test -n "$RCC" && break
22697 test -n "$RCC" || RCC="false"
22699 if test x"$UIC" = xfalse; then
22700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find rcc (Qt Resource Compiler) in your PATH.\
22701 Try using --with-qt." >&5
22702 $as_echo "$as_me: WARNING: Cannot find rcc (Qt Resource Compiler) in your PATH.\
22703 Try using --with-qt." >&2;}
22706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether host operating system is Darwin" >&5
22707 $as_echo_n "checking whether host operating system is Darwin... " >&6; }
22713 at_qmake_args='-spec macx-g++'
22716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $at_darwin" >&5
22717 $as_echo "$at_darwin" >&6; }
22719 # If we don't know the path to Qt, guess it from the path to qmake.
22720 if test x"$QT_PATH" = x; then
22721 QT_PATH=`dirname "$QMAKE"`
22723 if test x"$QT_PATH" = x; then
22724 as_fn_error "Cannot find the path to your Qt install. Use --with-qt." "$LINENO" 5
22729 # Get ready to build a test-app with Qt.
22730 if mkdir conftest.dir && cd conftest.dir; then :; else
22731 as_fn_error "Cannot mkdir conftest.dir or cd to that directory." "$LINENO" 5
22735 cat >conftest.h <<_ASEOF
22738 class Foo: public QObject
22745 void setValue(int value);
22747 void valueChanged(int newValue);
22753 cat >conftest.cpp <<_ASEOF
22754 #include "conftest.h"
22758 connect(this, SIGNAL(valueChanged(int)), this, SLOT(setValue(int)));
22761 void Foo::setValue(int value)
22771 if $QMAKE -project; then :; else
22772 as_fn_error "Calling $QMAKE -project failed." "$LINENO" 5
22776 # Find the .pro file generated by qmake.
22777 pro_file='conftest.dir.pro'
22778 test -f $pro_file || pro_file=`echo *.pro`
22779 if test -f "$pro_file"; then :; else
22780 as_fn_error "Can't find the .pro file generated by Qmake." "$LINENO" 5
22784 # Tweak the value of QT in the .pro file for -gui $need_qt_modules.
22787 for at_mod in -gui $need_qt_modules; do
22788 at_mod=`echo "$at_mod" | sed 's/^-//; tough
22797 echo "$qt_conf" | sed 1d >>"$pro_file"
22800 # Tweak the value of CONFIG in the .pro file for $qt_config.
22803 for at_mod in $qt_config; do
22804 at_mod=`echo "$at_mod" | sed 's/^-//; tough
22813 echo "$qt_conf" | sed 1d >>"$pro_file"
22816 # Add the extra-settings the user wants to set in the .pro
22817 echo "$qt_misc" >>"$pro_file"
22820 echo "$as_me:$LINENO: Invoking $QMAKE on $pro_file" >&5
22821 sed 's/^/| /' "$pro_file" >&5
22823 if $QMAKE $at_qmake_args; then :; else
22824 as_fn_error "Calling $QMAKE $at_qmake_args failed." "$LINENO" 5
22828 # QMake has a very annoying misfeature: sometimes it generates Makefiles
22829 # where all the references to the files from the Qt installation are
22830 # relative. We can't use them as-is because if we take, say, a
22831 # -I../../usr/include/Qt from that Makefile, the flag is invalid as soon
22832 # as we use it in another (sub) directory. So what this perl pass does is
22833 # that it rewrite all relative paths to absolute paths. Another problem
22834 # when building on Cygwin is that QMake mixes paths with blackslashes and
22835 # forward slashes and paths must be handled with extra care because of the
22836 # stupid Windows drive letters.
22837 echo "$as_me:$LINENO: fixing the Makefiles:" Makefile* >&5
22838 cat >fixmk.pl <<\EOF
22840 use Cwd qw(cwd abs_path);
22841 # This variable is useful on Cygwin for the following reason: Say that you are
22842 # in `/' (that is, in fact you are in C:/cygwin, or something like that) if you
22843 # `cd ..' then obviously you remain in `/' (that is in C:/cygwin). QMake
22844 # generates paths that are relative to C:/ (or another driver letter, whatever)
22845 # so the trick to get the `..' resolved properly is to prepend the absolute
22846 # path of the current working directory in a Windows-style. C:/cygwin/../ will
22847 # properly become C:/.
22853 if ($^O eq "cygwin") {
22856 $d = `cygpath --mixed '$d'`;
22863 my $p = $d . shift;
22864 # print "r2a p=$p";
22865 -e $p || return $p;
22867 $p = `cygpath --mixed '$p'`;
22871 # Do not use abs_path on Cygwin: it incorrectly resolves the paths that are
22872 # relative to C:/ rather than `/'.
22875 # print " -> $p\n";
22880 # Only useful on Cygwin.
22881 sub back2forward($)
22884 # print "b2f p=$p";
22885 -e $p || return $p;
22886 $p = `cygpath --mixed '$p'`;
22888 # print " -> $p\n";
22893 foreach my $mk (@ARGV)
22895 next if $mk =~ /~$/;
22896 open(MK, $mk) or die("open $mk: $!");
22897 # print "mk=$mk\n";
22898 my $file = join("", <MK>);
22899 close(MK) or die("close $mk: $!");
22900 rename $mk, $mk . "~" or die("rename $mk: $!");
22901 $file =~ s{(?:\.\.[\\/])+(?:[^"'\s:]+)}{rel2abs($&)}gse;
22902 $file =~ s{(?:[a-zA-Z]:[\\/])?(?:[^"\s]+\\[^"\s:]+)+}
22903 {back2forward($&)}gse if $cygwin;
22904 open(MK, ">", $mk) or die("open >$mk: $!");
22906 close(MK) or die("close >$mk: $!");
22907 print "$mk: updated $r2a relative paths and $b2f backslash-style paths\n";
22913 perl >&5 -w fixmk.pl Makefile* ||
22914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed to fix the Makefiles generated by $QMAKE" >&5
22915 $as_echo "$as_me: WARNING: failed to fix the Makefiles generated by $QMAKE" >&2;}
22918 # Try to compile a simple Qt app.
22919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a simple Qt app" >&5
22920 $as_echo_n "checking whether we can build a simple Qt app... " >&6; }
22921 if test "${at_cv_qt_build+set}" = set; then :
22922 $as_echo_n "(cached) " >&6
22927 if $MAKE >&5 2>&1; then
22928 at_cv_qt_build='ok, looks like Qt 4'
22930 echo "$as_me:$LINENO: Build failed, trying to #include <qobject.h> \
22932 sed 's/<QObject>/<qobject.h>/' conftest.h > tmp.h && mv tmp.h conftest.h
22933 if $MAKE >&5 2>&1; then
22934 at_cv_qt_build='ok, looks like Qt 3'
22936 # Sometimes (such as on Debian) build will fail because Qt hasn't been
22937 # installed in debug mode and qmake tries (by default) to build apps in
22938 # debug mode => Try again in release mode.
22939 echo "$as_me:$LINENO: Build failed, trying to enforce release mode" \
22942 # Tweak the value of CONFIG in the .pro file for +release.
22945 for at_mod in +release; do
22946 at_mod=`echo "$at_mod" | sed 's/^-//; tough
22955 echo "$qt_conf" | sed 1d >>"$pro_file"
22958 sed 's/<qobject.h>/<QObject>/' conftest.h > tmp.h && mv tmp.h conftest.h
22959 if $MAKE >&5 2>&1; then
22960 at_cv_qt_build='ok, looks like Qt 4, release mode forced'
22962 echo "$as_me:$LINENO: Build failed, trying to #include <qobject.h> \
22964 sed 's/<QObject>/<qobject.h>/' conftest.h >tmp.h && mv tmp.h conftest.h
22965 if $MAKE >&5 2>&1; then
22966 at_cv_qt_build='ok, looks like Qt 3, release mode forced'
22969 echo "$as_me:$LINENO: failed program was:" >&5
22970 sed 's/^/| /' conftest.h >&5
22971 echo "$as_me:$LINENO: failed program was:" >&5
22972 sed 's/^/| /' conftest.cpp >&5
22973 fi # if make with Qt3-style #include and release mode forced.
22974 fi # if make with Qt4-style #include and release mode forced.
22975 fi # if make with Qt3-style #include.
22976 fi # if make with Qt4-style #include.
22979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $at_cv_qt_build" >&5
22980 $as_echo "$at_cv_qt_build" >&6; }
22981 if test x"$at_cv_qt_build" = xko; then
22982 as_fn_error "Cannot build a test Qt program" "$LINENO" 5
22986 QT_VERSION_MAJOR=`echo "$at_cv_qt_build" | sed 's/[^0-9]*//g'`
22989 # This sed filter is applied after an expression of the form: /^FOO.*=/!d;
22990 # It starts by removing the beginning of the line, removing references to
22991 # SUBLIBS, removing unnecessary whitespaces at the beginning, and prefixes
22992 # all variable uses by QT_.
22993 qt_sed_filter='s///;
22996 s/\$(\([A-Z_][A-Z_]*\))/$(QT_\1)/g'
22998 # Find the Makefile (qmake happens to generate a fake Makefile which invokes
22999 # a Makefile.Debug or Makefile.Release). We we have both, we'll pick the
23000 # Makefile.Release. The reason is that the main difference is that release
23001 # uses -Os and debug -g. We can override -Os by passing another -O but we
23002 # usually don't override -g.
23003 if test -f Makefile.Release; then
23004 at_mfile='Makefile.Release'
23006 at_mfile='Makefile'
23008 if test -f $at_mfile; then :; else
23009 as_fn_error "Cannot find the Makefile generated by qmake." "$LINENO" 5
23014 # Find the DEFINES of Qt (should have been named CPPFLAGS).
23015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the DEFINES to use with Qt" >&5
23016 $as_echo_n "checking for the DEFINES to use with Qt... " >&6; }
23017 if test "${at_cv_env_QT_DEFINES+set}" = set; then :
23018 $as_echo_n "(cached) " >&6
23020 at_cv_env_QT_DEFINES=`sed "/^DEFINES[^A-Z=]*=/!d;$qt_sed_filter" $at_mfile`
23022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $at_cv_env_QT_DEFINES" >&5
23023 $as_echo "$at_cv_env_QT_DEFINES" >&6; }
23024 QT_DEFINES=$at_cv_env_QT_DEFINES
23027 # Find the CFLAGS of Qt (We can use Qt in C?!)
23028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the CFLAGS to use with Qt" >&5
23029 $as_echo_n "checking for the CFLAGS to use with Qt... " >&6; }
23030 if test "${at_cv_env_QT_CFLAGS+set}" = set; then :
23031 $as_echo_n "(cached) " >&6
23033 at_cv_env_QT_CFLAGS=`sed "/^CFLAGS[^A-Z=]*=/!d;$qt_sed_filter" $at_mfile`
23035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $at_cv_env_QT_CFLAGS" >&5
23036 $as_echo "$at_cv_env_QT_CFLAGS" >&6; }
23037 QT_CFLAGS=$at_cv_env_QT_CFLAGS
23040 # Find the CXXFLAGS of Qt.
23041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the CXXFLAGS to use with Qt" >&5
23042 $as_echo_n "checking for the CXXFLAGS to use with Qt... " >&6; }
23043 if test "${at_cv_env_QT_CXXFLAGS+set}" = set; then :
23044 $as_echo_n "(cached) " >&6
23046 at_cv_env_QT_CXXFLAGS=`sed "/^CXXFLAGS[^A-Z=]*=/!d;$qt_sed_filter" $at_mfile`
23048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $at_cv_env_QT_CXXFLAGS" >&5
23049 $as_echo "$at_cv_env_QT_CXXFLAGS" >&6; }
23050 QT_CXXFLAGS=$at_cv_env_QT_CXXFLAGS
23053 # Find the INCPATH of Qt.
23054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the INCPATH to use with Qt" >&5
23055 $as_echo_n "checking for the INCPATH to use with Qt... " >&6; }
23056 if test "${at_cv_env_QT_INCPATH+set}" = set; then :
23057 $as_echo_n "(cached) " >&6
23059 at_cv_env_QT_INCPATH=`sed "/^INCPATH[^A-Z=]*=/!d;$qt_sed_filter" $at_mfile`
23061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $at_cv_env_QT_INCPATH" >&5
23062 $as_echo "$at_cv_env_QT_INCPATH" >&6; }
23063 QT_INCPATH=$at_cv_env_QT_INCPATH
23066 QT_CPPFLAGS="$at_cv_env_QT_DEFINES $at_cv_env_QT_INCPATH"
23069 # Find the LFLAGS of Qt (Should have been named LDFLAGS)
23070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the LDFLAGS to use with Qt" >&5
23071 $as_echo_n "checking for the LDFLAGS to use with Qt... " >&6; }
23072 if test "${at_cv_env_QT_LDFLAGS+set}" = set; then :
23073 $as_echo_n "(cached) " >&6
23075 at_cv_env_QT_LDFLAGS=`sed "/^LFLAGS[^A-Z=]*=/!d;$qt_sed_filter" $at_mfile`
23077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $at_cv_env_QT_LDFLAGS" >&5
23078 $as_echo "$at_cv_env_QT_LDFLAGS" >&6; }
23079 QT_LFLAGS=$at_cv_env_QT_LDFLAGS
23081 QT_LDFLAGS=$at_cv_env_QT_LDFLAGS
23084 # Find the LIBS of Qt.
23085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the LIBS to use with Qt" >&5
23086 $as_echo_n "checking for the LIBS to use with Qt... " >&6; }
23087 if test "${at_cv_env_QT_LIBS+set}" = set; then :
23088 $as_echo_n "(cached) " >&6
23090 at_cv_env_QT_LIBS=`sed "/^LIBS[^A-Z]*=/!d;$qt_sed_filter" $at_mfile`
23091 if test x$at_darwin = xyes; then
23092 # Fix QT_LIBS: as of today Libtool (GNU Libtool 1.5.23a) doesn't handle
23093 # -F properly. The "bug" has been fixed on 22 October 2006
23094 # by Peter O'Gorman but we provide backward compatibility here.
23095 at_cv_env_QT_LIBS=`echo "$at_cv_env_QT_LIBS" \
23096 | sed 's/^-F/-Wl,-F/;s/ -F/ -Wl,-F/g'`
23100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $at_cv_env_QT_LIBS" >&5
23101 $as_echo "$at_cv_env_QT_LIBS" >&6; }
23102 QT_LIBS=$at_cv_env_QT_LIBS
23105 cd .. && rm -rf conftest.dir
23107 # Run the user code
23110 done # end hack (useless for to be able to use break)
23114 # determine from where we can get a SHA-256 implementation
23116 if test "$GLIBFOUND" = "yes"; then
23117 # only use glib if we need it anyway, also has to be at lease 2.16
23120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB216" >&5
23121 $as_echo_n "checking for GLIB216... " >&6; }
23123 if test -n "$PKG_CONFIG"; then
23124 if test -n "$GLIB216_CFLAGS"; then
23125 pkg_cv_GLIB216_CFLAGS="$GLIB216_CFLAGS"
23127 if test -n "$PKG_CONFIG" && \
23128 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.16\""; } >&5
23129 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.16") 2>&5
23131 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23132 test $ac_status = 0; }; then
23133 pkg_cv_GLIB216_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.16" 2>/dev/null`
23141 if test -n "$PKG_CONFIG"; then
23142 if test -n "$GLIB216_LIBS"; then
23143 pkg_cv_GLIB216_LIBS="$GLIB216_LIBS"
23145 if test -n "$PKG_CONFIG" && \
23146 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.16\""; } >&5
23147 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.16") 2>&5
23149 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23150 test $ac_status = 0; }; then
23151 pkg_cv_GLIB216_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.16" 2>/dev/null`
23162 if test $pkg_failed = yes; then
23164 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23165 _pkg_short_errors_supported=yes
23167 _pkg_short_errors_supported=no
23169 if test $_pkg_short_errors_supported = yes; then
23170 GLIB216_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= 2.16"`
23172 GLIB216_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.16"`
23174 # Put the nasty error message in config.log where it belongs
23175 echo "$GLIB216_PKG_ERRORS" >&5
23177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23178 $as_echo "no" >&6; }
23180 elif test $pkg_failed = untried; then
23183 GLIB216_CFLAGS=$pkg_cv_GLIB216_CFLAGS
23184 GLIB216_LIBS=$pkg_cv_GLIB216_LIBS
23185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23186 $as_echo "yes" >&6; }
23188 $as_echo "#define USE_SHA256 1" >>confdefs.h
23193 if test "$have_sha" = "no"; then
23194 # Fallback is Mozilla NSS. In contrast to libgcrypt it has a .pc
23195 # file and a simple API.
23198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NSS" >&5
23199 $as_echo_n "checking for NSS... " >&6; }
23201 if test -n "$PKG_CONFIG"; then
23202 if test -n "$NSS_CFLAGS"; then
23203 pkg_cv_NSS_CFLAGS="$NSS_CFLAGS"
23205 if test -n "$PKG_CONFIG" && \
23206 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"nss\"\""; } >&5
23207 ($PKG_CONFIG --exists --print-errors ""nss"") 2>&5
23209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23210 test $ac_status = 0; }; then
23211 pkg_cv_NSS_CFLAGS=`$PKG_CONFIG --cflags ""nss"" 2>/dev/null`
23219 if test -n "$PKG_CONFIG"; then
23220 if test -n "$NSS_LIBS"; then
23221 pkg_cv_NSS_LIBS="$NSS_LIBS"
23223 if test -n "$PKG_CONFIG" && \
23224 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"nss\"\""; } >&5
23225 ($PKG_CONFIG --exists --print-errors ""nss"") 2>&5
23227 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23228 test $ac_status = 0; }; then
23229 pkg_cv_NSS_LIBS=`$PKG_CONFIG --libs ""nss"" 2>/dev/null`
23240 if test $pkg_failed = yes; then
23242 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23243 _pkg_short_errors_supported=yes
23245 _pkg_short_errors_supported=no
23247 if test $_pkg_short_errors_supported = yes; then
23248 NSS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors ""nss""`
23250 NSS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors ""nss""`
23252 # Put the nasty error message in config.log where it belongs
23253 echo "$NSS_PKG_ERRORS" >&5
23255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23256 $as_echo "no" >&6; }
23258 elif test $pkg_failed = untried; then
23261 NSS_CFLAGS=$pkg_cv_NSS_CFLAGS
23262 NSS_LIBS=$pkg_cv_NSS_LIBS
23263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23264 $as_echo "yes" >&6; }
23266 $as_echo "#define USE_SHA256 2" >>confdefs.h
23272 if test "$enable_shared" = "yes"; then
23273 ENABLE_MODULES_TRUE=
23274 ENABLE_MODULES_FALSE='#'
23276 ENABLE_MODULES_TRUE='#'
23277 ENABLE_MODULES_FALSE=
23280 if test "$enable_shared" = "yes"; then
23282 $as_echo "#define ENABLE_MODULES 1" >>confdefs.h
23289 if test "$host" = "arm-apple-darwin"; then
23291 $as_echo "#define IPHONE 1" >>confdefs.h
23296 if test "$enable_evolution_compatibility" = "yes"; then
23298 $as_echo "#define EVOLUTION_COMPATIBILITY 1" >>confdefs.h
23300 # don't link against libs wrapped by eds_abi_wrapper (no longer limited to EDS alone...)
23306 if test "$enable_evolution_compatibility" = "yes"; then
23307 ENABLE_EVOLUTION_COMPATIBILITY_TRUE=
23308 ENABLE_EVOLUTION_COMPATIBILITY_FALSE='#'
23310 ENABLE_EVOLUTION_COMPATIBILITY_TRUE='#'
23311 ENABLE_EVOLUTION_COMPATIBILITY_FALSE=
23316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBICAL_AVAILABLE" >&5
23317 $as_echo_n "checking for LIBICAL_AVAILABLE... " >&6; }
23319 if test -n "$PKG_CONFIG"; then
23320 if test -n "$LIBICAL_AVAILABLE_CFLAGS"; then
23321 pkg_cv_LIBICAL_AVAILABLE_CFLAGS="$LIBICAL_AVAILABLE_CFLAGS"
23323 if test -n "$PKG_CONFIG" && \
23324 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libical >= 0.43\""; } >&5
23325 ($PKG_CONFIG --exists --print-errors "libical >= 0.43") 2>&5
23327 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23328 test $ac_status = 0; }; then
23329 pkg_cv_LIBICAL_AVAILABLE_CFLAGS=`$PKG_CONFIG --cflags "libical >= 0.43" 2>/dev/null`
23337 if test -n "$PKG_CONFIG"; then
23338 if test -n "$LIBICAL_AVAILABLE_LIBS"; then
23339 pkg_cv_LIBICAL_AVAILABLE_LIBS="$LIBICAL_AVAILABLE_LIBS"
23341 if test -n "$PKG_CONFIG" && \
23342 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libical >= 0.43\""; } >&5
23343 ($PKG_CONFIG --exists --print-errors "libical >= 0.43") 2>&5
23345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23346 test $ac_status = 0; }; then
23347 pkg_cv_LIBICAL_AVAILABLE_LIBS=`$PKG_CONFIG --libs "libical >= 0.43" 2>/dev/null`
23358 if test $pkg_failed = yes; then
23360 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23361 _pkg_short_errors_supported=yes
23363 _pkg_short_errors_supported=no
23365 if test $_pkg_short_errors_supported = yes; then
23366 LIBICAL_AVAILABLE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libical >= 0.43"`
23368 LIBICAL_AVAILABLE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libical >= 0.43"`
23370 # Put the nasty error message in config.log where it belongs
23371 echo "$LIBICAL_AVAILABLE_PKG_ERRORS" >&5
23373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23374 $as_echo "no" >&6; }
23376 elif test $pkg_failed = untried; then
23379 LIBICAL_AVAILABLE_CFLAGS=$pkg_cv_LIBICAL_AVAILABLE_CFLAGS
23380 LIBICAL_AVAILABLE_LIBS=$pkg_cv_LIBICAL_AVAILABLE_LIBS
23381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23382 $as_echo "yes" >&6; }
23384 $as_echo "#define HAVE_LIBICAL_R 1" >>confdefs.h
23388 if test "$enable_developer_mode" = "yes"; then
23389 BACKENDS_SEARCH_DIRECTORY="`pwd`/src/backends/"
23391 BACKENDS_SEARCH_DIRECTORY='$(libdir)/syncevolution/backends/'
23394 BACKENDS_DIRECTORY='$(libdir)/syncevolution/backends'
23398 # for ActiveSync backend
23399 syncevo_backenddir='$(libdir)'/syncevolution/backends
23403 cat >>confdefs.h <<_ACEOF
23404 #define DEVICE_TYPE "$DEVICE_TYPE"
23408 for ac_header in stdarg.h valgrind/valgrind.h execinfo.h
23410 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
23411 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
23412 eval as_val=\$$as_ac_Header
23413 if test "x$as_val" = x""yes; then :
23414 cat >>confdefs.h <<_ACEOF
23415 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
23424 $as_echo "#define SYNTHESIS 1" >>confdefs.h
23427 # fallback for lack of --with-docdir support in older automake
23428 if test ! "$docdir"; then
23429 docdir = ${datadir}/doc/syncevolution
23433 # Check whether --enable-dbus-timeout-hack was given.
23434 if test "${enable_dbus_timeout_hack+set}" = set; then :
23435 enableval=$enable_dbus_timeout_hack; enable_dbus_timeout_hack=$enableval
23437 if test $enable_ebook = "yes" || test $enable_ecal = "yes"; then
23438 enable_dbus_timeout_hack="yes"
23442 if test "$enable_dbus_timeout_hack" = "yes"; then
23444 $as_echo "#define ENABLE_DBUS_TIMEOUT_HACK 1" >>confdefs.h
23448 # Avoid hard-coding paths in backends. These names are chosen so
23449 # that a backend can alternatively use its own top-level configure
23450 # with PKG_CHECK_MODULES(SYNCEVOLUTION, "syncevolution") to set them.
23451 # need absolute path, use pwd instead of relative $srcdir
23452 SYNCEVOLUTION_CFLAGS=-I`cd $srcdir && pwd`/src
23453 SYNCEVOLUTION_LIBS=`pwd`/src/syncevo/libsyncevolution.la
23457 # invoking syncevolution binary is allowed to fail when cross-compiling
23458 if test "$cross_compiling" = "yes"; then
23459 COND_CROSS_COMPILING_TRUE=
23460 COND_CROSS_COMPILING_FALSE='#'
23462 COND_CROSS_COMPILING_TRUE='#'
23463 COND_CROSS_COMPILING_FALSE=
23467 ac_config_files="$ac_config_files Makefile src/syncevo/syncevolution.pc src/synthesis-includes/Makefile po/Makefile.in src/dbus/glib/syncevo-dbus.pc"
23469 cat >confcache <<\_ACEOF
23470 # This file is a shell script that caches the results of configure
23471 # tests run on this system so they can be shared between configure
23472 # scripts and configure runs, see configure's option --config-cache.
23473 # It is not useful on other systems. If it contains results you don't
23474 # want to keep, you may remove or edit it.
23476 # config.status only pays attention to the cache file if you give it
23477 # the --recheck option to rerun configure.
23479 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23480 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23481 # following values.
23485 # The following way of writing the cache mishandles newlines in values,
23486 # but we know of no workaround that is simple, portable, and efficient.
23487 # So, we kill variables containing newlines.
23488 # Ultrix sh set writes to stderr and can't be redirected directly,
23489 # and sets the high bit in the cache file unless we assign to the vars.
23491 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
23492 eval ac_val=\$$ac_var
23496 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
23497 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
23500 _ | IFS | as_nl) ;; #(
23501 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
23502 *) { eval $ac_var=; unset $ac_var;} ;;
23508 case $as_nl`(ac_space=' '; set) 2>&1` in #(
23509 *${as_nl}ac_space=\ *)
23510 # `set' does not quote correctly, so add quotes: double-quote
23511 # substitution turns \\\\ into \\, and sed turns \\ into \.
23514 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23517 # `set' quotes correctly as required by POSIX, so do not add quotes.
23518 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
23527 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23529 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23531 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
23532 if test -w "$cache_file"; then
23533 test "x$cache_file" != "x/dev/null" &&
23534 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
23535 $as_echo "$as_me: updating cache $cache_file" >&6;}
23536 cat confcache >$cache_file
23538 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
23539 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
23544 test "x$prefix" = xNONE && prefix=$ac_default_prefix
23545 # Let make expand exec_prefix.
23546 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
23548 DEFS=-DHAVE_CONFIG_H
23552 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
23553 # 1. Remove the extension, and $U if already installed.
23554 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
23555 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
23556 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
23557 # will be set to the directory where LIBOBJS objects are built.
23558 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
23559 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
23561 LIBOBJS=$ac_libobjs
23563 LTLIBOBJS=$ac_ltlibobjs
23566 if test -n "$EXEEXT"; then
23568 am__EXEEXT_FALSE='#'
23570 am__EXEEXT_TRUE='#'
23574 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
23575 as_fn_error "conditional \"AMDEP\" was never defined.
23576 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23578 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
23579 as_fn_error "conditional \"am__fastdepCC\" was never defined.
23580 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23582 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
23583 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
23584 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23586 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
23587 as_fn_error "conditional \"am__fastdepCXX\" was never defined.
23588 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23590 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
23591 as_fn_error "conditional \"am__fastdepCXX\" was never defined.
23592 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23594 if test -z "${ENABLE_UNIT_TESTS_TRUE}" && test -z "${ENABLE_UNIT_TESTS_FALSE}"; then
23595 as_fn_error "conditional \"ENABLE_UNIT_TESTS\" was never defined.
23596 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23598 if test -z "${ENABLE_TESTING_TRUE}" && test -z "${ENABLE_TESTING_FALSE}"; then
23599 as_fn_error "conditional \"ENABLE_TESTING\" was never defined.
23600 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23602 if test -z "${ENABLE_OBEX_TRUE}" && test -z "${ENABLE_OBEX_FALSE}"; then
23603 as_fn_error "conditional \"ENABLE_OBEX\" was never defined.
23604 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23606 if test -z "${ENABLE_BLUETOOTH_TRUE}" && test -z "${ENABLE_BLUETOOTH_FALSE}"; then
23607 as_fn_error "conditional \"ENABLE_BLUETOOTH\" was never defined.
23608 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23610 if test -z "${COND_GTK2_TRUE}" && test -z "${COND_GTK2_FALSE}"; then
23611 as_fn_error "conditional \"COND_GTK2\" was never defined.
23612 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23614 if test -z "${COND_GUI_TRUE}" && test -z "${COND_GUI_FALSE}"; then
23615 as_fn_error "conditional \"COND_GUI\" was never defined.
23616 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23618 if test -z "${COND_CORE_TRUE}" && test -z "${COND_CORE_FALSE}"; then
23619 as_fn_error "conditional \"COND_CORE\" was never defined.
23620 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23622 if test -z "${COND_DBUS_TRUE}" && test -z "${COND_DBUS_FALSE}"; then
23623 as_fn_error "conditional \"COND_DBUS\" was never defined.
23624 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23626 if test -z "${COND_GIO_GDBUS_TRUE}" && test -z "${COND_GIO_GDBUS_FALSE}"; then
23627 as_fn_error "conditional \"COND_GIO_GDBUS\" was never defined.
23628 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23630 if test -z "${NOTIFY_COMPATIBILITY_TRUE}" && test -z "${NOTIFY_COMPATIBILITY_FALSE}"; then
23631 as_fn_error "conditional \"NOTIFY_COMPATIBILITY\" was never defined.
23632 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23635 ac_config_commands="$ac_config_commands po/stamp-it"
23638 if test -z "${COND_MAN_PAGES_TRUE}" && test -z "${COND_MAN_PAGES_FALSE}"; then
23639 as_fn_error "conditional \"COND_MAN_PAGES\" was never defined.
23640 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23642 if test -z "${COND_HTML_README_TRUE}" && test -z "${COND_HTML_README_FALSE}"; then
23643 as_fn_error "conditional \"COND_HTML_README\" was never defined.
23644 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23646 if test -z "${ENABLE_GNOME_BLUETOOTH_PANEL_TRUE}" && test -z "${ENABLE_GNOME_BLUETOOTH_PANEL_FALSE}"; then
23647 as_fn_error "conditional \"ENABLE_GNOME_BLUETOOTH_PANEL\" was never defined.
23648 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23650 if test -z "${COND_DOC_TRUE}" && test -z "${COND_DOC_FALSE}"; then
23651 as_fn_error "conditional \"COND_DOC\" was never defined.
23652 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23654 if test -z "${BUILD_ACTIVESYNCD_TRUE}" && test -z "${BUILD_ACTIVESYNCD_FALSE}"; then
23655 as_fn_error "conditional \"BUILD_ACTIVESYNCD\" was never defined.
23656 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23658 if test -z "${ENABLE_AKONADI_TRUE}" && test -z "${ENABLE_AKONADI_FALSE}"; then
23659 as_fn_error "conditional \"ENABLE_AKONADI\" was never defined.
23660 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23662 if test -z "${ENABLE_ECAL_TRUE}" && test -z "${ENABLE_ECAL_FALSE}"; then
23663 as_fn_error "conditional \"ENABLE_ECAL\" was never defined.
23664 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23666 if test -z "${USE_KDE_KWALLET_TRUE}" && test -z "${USE_KDE_KWALLET_FALSE}"; then
23667 as_fn_error "conditional \"USE_KDE_KWALLET\" was never defined.
23668 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23670 if test -z "${NEON_COMPATIBILITY_TRUE}" && test -z "${NEON_COMPATIBILITY_FALSE}"; then
23671 as_fn_error "conditional \"NEON_COMPATIBILITY\" was never defined.
23672 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23674 if test -z "${ENABLE_QT_DBUS_TRUE}" && test -z "${ENABLE_QT_DBUS_FALSE}"; then
23675 as_fn_error "conditional \"ENABLE_QT_DBUS\" was never defined.
23676 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23678 if test -z "${ENABLE_ICAL_TRUE}" && test -z "${ENABLE_ICAL_FALSE}"; then
23679 as_fn_error "conditional \"ENABLE_ICAL\" was never defined.
23680 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23682 if test -z "${ENABLE_MODULES_TRUE}" && test -z "${ENABLE_MODULES_FALSE}"; then
23683 as_fn_error "conditional \"ENABLE_MODULES\" was never defined.
23684 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23686 if test -z "${ENABLE_EVOLUTION_COMPATIBILITY_TRUE}" && test -z "${ENABLE_EVOLUTION_COMPATIBILITY_FALSE}"; then
23687 as_fn_error "conditional \"ENABLE_EVOLUTION_COMPATIBILITY\" was never defined.
23688 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23690 if test -z "${COND_CROSS_COMPILING_TRUE}" && test -z "${COND_CROSS_COMPILING_FALSE}"; then
23691 as_fn_error "conditional \"COND_CROSS_COMPILING\" was never defined.
23692 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23695 : ${CONFIG_STATUS=./config.status}
23697 ac_clean_files_save=$ac_clean_files
23698 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23699 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
23700 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
23702 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
23704 # Generated by $as_me.
23705 # Run this file to recreate the current configuration.
23706 # Compiler output produced by configure, useful for debugging
23707 # configure, is in config.log if it exists.
23710 ac_cs_recheck=false
23713 SHELL=\${CONFIG_SHELL-$SHELL}
23716 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
23717 ## -------------------- ##
23718 ## M4sh Initialization. ##
23719 ## -------------------- ##
23721 # Be more Bourne compatible
23722 DUALCASE=1; export DUALCASE # for MKS sh
23723 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
23726 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23727 # is contrary to our usage. Disable this feature.
23728 alias -g '${1+"$@"}'='"$@"'
23729 setopt NO_GLOB_SUBST
23731 case `(set -o) 2>/dev/null` in #(
23743 # Printing a long string crashes Solaris 7 /usr/bin/printf.
23744 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
23745 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
23746 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
23747 # Prefer a ksh shell builtin over an external printf program on Solaris,
23748 # but without wasting forks for bash or zsh.
23749 if test -z "$BASH_VERSION$ZSH_VERSION" \
23750 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
23751 as_echo='print -r --'
23752 as_echo_n='print -rn --'
23753 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
23754 as_echo='printf %s\n'
23755 as_echo_n='printf %s'
23757 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
23758 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
23759 as_echo_n='/usr/ucb/echo -n'
23761 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
23762 as_echo_n_body='eval
23766 expr "X$arg" : "X\\(.*\\)$as_nl";
23767 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
23769 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
23771 export as_echo_n_body
23772 as_echo_n='sh -c $as_echo_n_body as_echo'
23774 export as_echo_body
23775 as_echo='sh -c $as_echo_body as_echo'
23778 # The user is always right.
23779 if test "${PATH_SEPARATOR+set}" != set; then
23781 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
23782 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
23789 # We need space, tab and new line, in precisely that order. Quoting is
23790 # there to prevent editors from complaining about space-tab.
23791 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
23792 # splitting by setting IFS to empty value.)
23795 # Find who we are. Look in the path if we contain no directory separator.
23797 *[\\/]* ) as_myself=$0 ;;
23798 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23799 for as_dir in $PATH
23802 test -z "$as_dir" && as_dir=.
23803 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23809 # We did not find ourselves, most probably we were run as `sh COMMAND'
23810 # in which case we are not to be found in the path.
23811 if test "x$as_myself" = x; then
23814 if test ! -f "$as_myself"; then
23815 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23819 # Unset variables that we do not need and which cause bugs (e.g. in
23820 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
23821 # suppresses any "Segmentation fault" message there. '((' could
23822 # trigger a bug in pdksh 5.2.14.
23823 for as_var in BASH_ENV ENV MAIL MAILPATH
23824 do eval test x\${$as_var+set} = xset \
23825 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
23838 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
23841 # as_fn_error ERROR [LINENO LOG_FD]
23842 # ---------------------------------
23843 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
23844 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
23845 # script with status $?, using 1 if that was 0.
23848 as_status=$?; test $as_status -eq 0 && as_status=1
23850 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
23851 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
23853 $as_echo "$as_me: error: $1" >&2
23854 as_fn_exit $as_status
23858 # as_fn_set_status STATUS
23859 # -----------------------
23860 # Set $? to STATUS, without forking.
23861 as_fn_set_status ()
23864 } # as_fn_set_status
23866 # as_fn_exit STATUS
23867 # -----------------
23868 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
23872 as_fn_set_status $1
23878 # Portably unset VAR.
23881 { eval $1=; unset $1;}
23883 as_unset=as_fn_unset
23884 # as_fn_append VAR VALUE
23885 # ----------------------
23886 # Append the text in VALUE to the end of the definition contained in VAR. Take
23887 # advantage of any shell optimizations that allow amortized linear growth over
23888 # repeated appends, instead of the typical quadratic growth present in naive
23890 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
23891 eval 'as_fn_append ()
23902 # as_fn_arith ARG...
23903 # ------------------
23904 # Perform arithmetic evaluation on the ARGs, and store the result in the
23905 # global $as_val. Take advantage of shells that can avoid forks. The arguments
23906 # must be portable across $(()) and expr.
23907 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
23908 eval 'as_fn_arith ()
23915 as_val=`expr "$@" || test $? -eq 1`
23920 if expr a : '\(a\)' >/dev/null 2>&1 &&
23921 test "X`expr 00001 : '.*\(...\)'`" = X001; then
23927 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23928 as_basename=basename
23933 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
23939 as_me=`$as_basename -- "$0" ||
23940 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23941 X"$0" : 'X\(//\)$' \| \
23942 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23944 sed '/^.*\/\([^/][^/]*\)\/*$/{
23958 # Avoid depending upon Character Ranges.
23959 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23960 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23961 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23962 as_cr_digits='0123456789'
23963 as_cr_alnum=$as_cr_Letters$as_cr_digits
23965 ECHO_C= ECHO_N= ECHO_T=
23966 case `echo -n x` in #(((((
23968 case `echo 'xy\c'` in
23969 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
23971 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
23978 rm -f conf$$ conf$$.exe conf$$.file
23979 if test -d conf$$.dir; then
23980 rm -f conf$$.dir/conf$$.file
23983 mkdir conf$$.dir 2>/dev/null
23985 if (echo >conf$$.file) 2>/dev/null; then
23986 if ln -s conf$$.file conf$$ 2>/dev/null; then
23988 # ... but there are two gotchas:
23989 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23990 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23991 # In both cases, we have to default to `cp -p'.
23992 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
23994 elif ln conf$$.file conf$$ 2>/dev/null; then
24002 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
24003 rmdir conf$$.dir 2>/dev/null
24008 # Create "$as_dir" as a directory, including parents if necessary.
24013 -*) as_dir=./$as_dir;;
24015 test -d "$as_dir" || eval $as_mkdir_p || {
24019 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
24020 *) as_qdir=$as_dir;;
24022 as_dirs="'$as_qdir' $as_dirs"
24023 as_dir=`$as_dirname -- "$as_dir" ||
24024 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24025 X"$as_dir" : 'X\(//\)[^/]' \| \
24026 X"$as_dir" : 'X\(//\)$' \| \
24027 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24028 $as_echo X"$as_dir" |
24029 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24033 /^X\(\/\/\)[^/].*/{
24046 test -d "$as_dir" && break
24048 test -z "$as_dirs" || eval "mkdir $as_dirs"
24049 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
24053 if mkdir -p . 2>/dev/null; then
24054 as_mkdir_p='mkdir -p "$as_dir"'
24056 test -d ./-p && rmdir ./-p
24060 if test -x / >/dev/null 2>&1; then
24061 as_test_x='test -x'
24063 if ls -dL / >/dev/null 2>&1; then
24070 if test -d "$1"; then
24076 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
24077 ???[sx]*):;;*)false;;esac;fi
24081 as_executable_p=$as_test_x
24083 # Sed expression to map a string onto a valid CPP name.
24084 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24086 # Sed expression to map a string onto a valid variable name.
24087 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24091 ## ----------------------------------- ##
24092 ## Main body of $CONFIG_STATUS script. ##
24093 ## ----------------------------------- ##
24095 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
24097 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24098 # Save the log message, to keep $0 and so on meaningful, and to
24099 # report actual input values of CONFIG_FILES etc. instead of their
24100 # values after options handling.
24102 This file was extended by syncevolution $as_me 1.2.99+20120606+SE+ff65aef+SYSYNC+2728cb4, which was
24103 generated by GNU Autoconf 2.65. Invocation command line was
24105 CONFIG_FILES = $CONFIG_FILES
24106 CONFIG_HEADERS = $CONFIG_HEADERS
24107 CONFIG_LINKS = $CONFIG_LINKS
24108 CONFIG_COMMANDS = $CONFIG_COMMANDS
24111 on `(hostname || uname -n) 2>/dev/null | sed 1q`
24116 case $ac_config_files in *"
24117 "*) set x $ac_config_files; shift; ac_config_files=$*;;
24120 case $ac_config_headers in *"
24121 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
24125 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24126 # Files that config.status was made for.
24127 config_files="$ac_config_files"
24128 config_headers="$ac_config_headers"
24129 config_commands="$ac_config_commands"
24133 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24135 \`$as_me' instantiates files and other configuration actions
24136 from templates according to the current configuration. Unless the files
24137 and actions are specified as TAGs, all are instantiated by default.
24139 Usage: $0 [OPTION]... [TAG]...
24141 -h, --help print this help, then exit
24142 -V, --version print version number and configuration settings, then exit
24143 --config print configuration, then exit
24144 -q, --quiet, --silent
24145 do not print progress messages
24146 -d, --debug don't remove temporary files
24147 --recheck update $as_me by reconfiguring in the same conditions
24148 --file=FILE[:TEMPLATE]
24149 instantiate the configuration file FILE
24150 --header=FILE[:TEMPLATE]
24151 instantiate the configuration header FILE
24153 Configuration files:
24156 Configuration headers:
24159 Configuration commands:
24162 Report bugs to the package provider."
24165 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24166 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
24168 syncevolution config.status 1.2.99+20120606+SE+ff65aef+SYSYNC+2728cb4
24169 configured by $0, generated by GNU Autoconf 2.65,
24170 with options \\"\$ac_cs_config\\"
24172 Copyright (C) 2009 Free Software Foundation, Inc.
24173 This config.status script is free software; the Free Software Foundation
24174 gives unlimited permission to copy, distribute and modify it."
24181 test -n "\$AWK" || AWK=awk
24184 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24185 # The default lists apply if the user does not specify any file.
24191 ac_option=`expr "X$1" : 'X\([^=]*\)='`
24192 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
24203 # Handling of the options.
24204 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24206 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
24207 $as_echo "$ac_cs_version"; exit ;;
24208 --config | --confi | --conf | --con | --co | --c )
24209 $as_echo "$ac_cs_config"; exit ;;
24210 --debug | --debu | --deb | --de | --d | -d )
24212 --file | --fil | --fi | --f )
24215 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
24217 as_fn_append CONFIG_FILES " '$ac_optarg'"
24218 ac_need_defaults=false;;
24219 --header | --heade | --head | --hea )
24222 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
24224 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
24225 ac_need_defaults=false;;
24227 # Conflict between --help and --header
24228 as_fn_error "ambiguous option: \`$1'
24229 Try \`$0 --help' for more information.";;
24230 --help | --hel | -h )
24231 $as_echo "$ac_cs_usage"; exit ;;
24232 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
24233 | -silent | --silent | --silen | --sile | --sil | --si | --s)
24236 # This is an error.
24237 -*) as_fn_error "unrecognized option: \`$1'
24238 Try \`$0 --help' for more information." ;;
24240 *) as_fn_append ac_config_targets " $1"
24241 ac_need_defaults=false ;;
24247 ac_configure_extra_args=
24249 if $ac_cs_silent; then
24251 ac_configure_extra_args="$ac_configure_extra_args --silent"
24255 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24256 if \$ac_cs_recheck; then
24257 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24259 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
24260 CONFIG_SHELL='$SHELL'
24261 export CONFIG_SHELL
24266 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24270 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24271 ## Running $as_me. ##
24277 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24281 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
24284 # The HP-UX ksh and POSIX shell print the target directory to stdout
24285 # if CDPATH is set.
24286 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
24288 sed_quote_subst='$sed_quote_subst'
24289 double_quote_subst='$double_quote_subst'
24290 delay_variable_subst='$delay_variable_subst'
24291 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
24292 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
24293 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
24294 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
24295 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
24296 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
24297 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
24298 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
24299 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
24300 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
24301 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
24302 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
24303 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
24304 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
24305 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
24306 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
24307 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
24308 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
24309 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
24310 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
24311 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
24312 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
24313 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
24314 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
24315 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
24316 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
24317 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
24318 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
24319 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
24320 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
24321 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
24322 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
24323 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
24324 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
24325 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
24326 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
24327 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
24328 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
24329 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
24330 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
24331 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
24332 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
24333 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
24334 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
24335 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
24336 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
24337 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
24338 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
24339 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
24340 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
24341 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
24342 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
24343 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
24344 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
24345 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
24346 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
24347 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
24348 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
24349 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
24350 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
24351 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
24352 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
24353 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
24354 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
24355 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
24356 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
24357 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
24358 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
24359 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
24360 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
24361 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
24362 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
24363 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
24364 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
24365 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
24366 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
24367 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
24368 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
24369 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
24370 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
24371 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
24372 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
24373 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
24374 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
24375 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
24376 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
24377 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
24378 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
24379 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
24380 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
24381 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
24382 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
24383 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
24384 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
24385 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
24386 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
24387 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
24388 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
24389 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
24390 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
24391 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
24392 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
24393 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
24394 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
24395 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
24396 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
24397 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
24398 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
24399 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
24400 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
24401 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
24402 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
24403 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
24404 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
24405 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
24406 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
24407 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
24408 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
24409 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
24410 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
24411 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
24412 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
24413 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
24414 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
24415 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24416 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24417 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24418 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24419 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24420 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24421 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24422 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24423 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24424 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24425 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24426 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24427 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24428 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24429 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24430 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24431 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24432 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24433 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24434 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24435 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24436 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24437 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24438 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24439 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24440 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24441 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24442 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24443 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24444 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24445 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24446 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24447 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24448 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24449 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24450 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24451 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24452 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24453 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24454 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24455 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24456 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24457 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24458 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24459 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24460 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24461 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
24464 LTCFLAGS='$LTCFLAGS'
24465 compiler='$compiler_DEFAULT'
24467 # Quote evaled strings.
24479 deplibs_check_method \
24488 lt_cv_sys_global_symbol_pipe \
24489 lt_cv_sys_global_symbol_to_cdecl \
24490 lt_cv_sys_global_symbol_to_c_name_address \
24491 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
24494 lt_prog_compiler_no_builtin_flag \
24495 lt_prog_compiler_wl \
24496 lt_prog_compiler_pic \
24497 lt_prog_compiler_static \
24498 lt_cv_prog_compiler_c_o \
24506 export_dynamic_flag_spec \
24507 whole_archive_flag_spec \
24508 compiler_needs_object \
24510 allow_undefined_flag \
24511 no_undefined_flag \
24512 hardcode_libdir_flag_spec \
24513 hardcode_libdir_flag_spec_ld \
24514 hardcode_libdir_separator \
24519 variables_saved_for_relink \
24521 library_names_spec \
24526 compiler_lib_search_dirs \
24531 compiler_lib_search_path \
24534 lt_prog_compiler_no_builtin_flag_CXX \
24535 lt_prog_compiler_wl_CXX \
24536 lt_prog_compiler_pic_CXX \
24537 lt_prog_compiler_static_CXX \
24538 lt_cv_prog_compiler_c_o_CXX \
24539 export_dynamic_flag_spec_CXX \
24540 whole_archive_flag_spec_CXX \
24541 compiler_needs_object_CXX \
24543 allow_undefined_flag_CXX \
24544 no_undefined_flag_CXX \
24545 hardcode_libdir_flag_spec_CXX \
24546 hardcode_libdir_flag_spec_ld_CXX \
24547 hardcode_libdir_separator_CXX \
24548 fix_srcfile_path_CXX \
24549 exclude_expsyms_CXX \
24550 include_expsyms_CXX \
24551 file_list_spec_CXX \
24552 compiler_lib_search_dirs_CXX \
24553 predep_objects_CXX \
24554 postdep_objects_CXX \
24557 compiler_lib_search_path_CXX; do
24558 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
24559 *[\\\\\\\`\\"\\\$]*)
24560 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
24563 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
24568 # Double-quote double-evaled strings.
24569 for var in reload_cmds \
24570 old_postinstall_cmds \
24571 old_postuninstall_cmds \
24573 extract_expsyms_cmds \
24574 old_archive_from_new_cmds \
24575 old_archive_from_expsyms_cmds \
24577 archive_expsym_cmds \
24579 module_expsym_cmds \
24580 export_symbols_cmds \
24583 postuninstall_cmds \
24585 sys_lib_search_path_spec \
24586 sys_lib_dlsearch_path_spec \
24587 old_archive_cmds_CXX \
24588 old_archive_from_new_cmds_CXX \
24589 old_archive_from_expsyms_cmds_CXX \
24591 archive_expsym_cmds_CXX \
24593 module_expsym_cmds_CXX \
24594 export_symbols_cmds_CXX \
24595 prelink_cmds_CXX; do
24596 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
24597 *[\\\\\\\`\\"\\\$]*)
24598 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
24601 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
24606 # Fix-up fallback echo if it was mangled by the above quoting rules.
24608 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
24612 ac_aux_dir='$ac_aux_dir'
24613 xsi_shell='$xsi_shell'
24614 lt_shell_append='$lt_shell_append'
24616 # See if we are running on zsh, and set the options which allow our
24617 # commands through without removal of \ escapes INIT.
24618 if test -n "\${ZSH_VERSION+set}" ; then
24619 setopt NO_GLOB_SUBST
24625 TIMESTAMP='$TIMESTAMP'
24637 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24639 # Handling of arguments.
24640 for ac_config_target in $ac_config_targets
24642 case $ac_config_target in
24643 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
24644 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
24645 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
24646 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
24647 "src/dbus/qt/syncevolution-qt-dbus.pc") CONFIG_FILES="$CONFIG_FILES src/dbus/qt/syncevolution-qt-dbus.pc" ;;
24648 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
24649 "src/syncevo/syncevolution.pc") CONFIG_FILES="$CONFIG_FILES src/syncevo/syncevolution.pc" ;;
24650 "src/synthesis-includes/Makefile") CONFIG_FILES="$CONFIG_FILES src/synthesis-includes/Makefile" ;;
24651 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
24652 "src/dbus/glib/syncevo-dbus.pc") CONFIG_FILES="$CONFIG_FILES src/dbus/glib/syncevo-dbus.pc" ;;
24653 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
24655 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
24660 # If the user did not use the arguments to specify the items to instantiate,
24661 # then the envvar interface is used. Set only those that are not.
24662 # We use the long form for the default assignment because of an extremely
24663 # bizarre bug on SunOS 4.1.3.
24664 if $ac_need_defaults; then
24665 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
24666 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
24667 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
24670 # Have a temporary directory for convenience. Make it in the build tree
24671 # simply because there is no reason against having it here, and in addition,
24672 # creating and moving files from /tmp can sometimes cause problems.
24673 # Hook for its removal unless debugging.
24674 # Note that there is a small window in which the directory will not be cleaned:
24675 # after its creation but before its name has been assigned to `$tmp'.
24679 trap 'exit_status=$?
24680 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
24682 trap 'as_fn_exit 1' 1 2 13 15
24684 # Create a (secure) tmp directory for tmp files.
24687 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
24688 test -n "$tmp" && test -d "$tmp"
24691 tmp=./conf$$-$RANDOM
24692 (umask 077 && mkdir "$tmp")
24693 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
24695 # Set up the scripts for CONFIG_FILES section.
24696 # No need to generate them if there are no CONFIG_FILES.
24697 # This happens for instance with `./config.status config.h'.
24698 if test -n "$CONFIG_FILES"; then
24701 ac_cr=`echo X | tr X '\015'`
24702 # On cygwin, bash can eat \r inside `` if the user requested igncr.
24703 # But we know of no other shell where ac_cr would be empty at this
24704 # point, so we can use a bashism as a fallback.
24705 if test "x$ac_cr" = x; then
24706 eval ac_cr=\$\'\\r\'
24708 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
24709 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
24712 ac_cs_awk_cr=$ac_cr
24715 echo 'BEGIN {' >"$tmp/subs1.awk" &&
24720 echo "cat >conf$$subs.awk <<_ACEOF" &&
24721 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
24723 } >conf$$subs.sh ||
24724 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
24725 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
24727 for ac_last_try in false false false false false :; do
24728 . ./conf$$subs.sh ||
24729 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
24731 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
24732 if test $ac_delim_n = $ac_delim_num; then
24734 elif $ac_last_try; then
24735 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
24737 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24740 rm -f conf$$subs.sh
24742 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24743 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
24747 s/^/S["/; s/!.*/"]=/
24757 s/\(.\{148\}\)..*/\1/
24759 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
24764 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
24771 s/\(.\{148\}\)..*/\1/
24773 s/["\\]/\\&/g; s/^/"/; s/$/"/
24777 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
24782 ' <conf$$subs.awk | sed '
24787 ' >>$CONFIG_STATUS || ac_write_fail=1
24788 rm -f conf$$subs.awk
24789 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24791 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
24792 for (key in S) S_is_set[key] = 1
24798 nfields = split(line, field, "@")
24800 len = length(field[1])
24801 for (i = 2; i < nfields; i++) {
24803 keylen = length(key)
24804 if (S_is_set[key]) {
24806 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
24807 len += length(value) + length(field[++i])
24818 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24819 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
24820 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
24823 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
24824 || as_fn_error "could not setup config files machinery" "$LINENO" 5
24827 # VPATH may cause trouble with some makes, so we remove $(srcdir),
24828 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
24829 # trailing colons and then remove the whole line if VPATH becomes empty
24830 # (actually we leave an empty line to preserve line numbers).
24831 if test "x$srcdir" = x.; then
24832 ac_vpsub='/^[ ]*VPATH[ ]*=/{
24833 s/:*\$(srcdir):*/:/
24834 s/:*\${srcdir}:*/:/
24836 s/^\([^=]*=[ ]*\):*/\1/
24842 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24843 fi # test -n "$CONFIG_FILES"
24845 # Set up the scripts for CONFIG_HEADERS section.
24846 # No need to generate them if there are no CONFIG_HEADERS.
24847 # This happens for instance with `./config.status Makefile'.
24848 if test -n "$CONFIG_HEADERS"; then
24849 cat >"$tmp/defines.awk" <<\_ACAWK ||
24853 # Transform confdefs.h into an awk script `defines.awk', embedded as
24854 # here-document in config.status, that substitutes the proper values into
24855 # config.h.in to produce config.h.
24857 # Create a delimiter string that does not exist in confdefs.h, to ease
24858 # handling of long lines.
24860 for ac_last_try in false false :; do
24861 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
24862 if test -z "$ac_t"; then
24864 elif $ac_last_try; then
24865 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
24867 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24871 # For the awk script, D is an array of macro values keyed by name,
24872 # likewise P contains macro parameters if any. Preserve backslash
24873 # newline sequences.
24875 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
24877 s/.\{148\}/&'"$ac_delim"'/g
24880 s/^[ ]*#[ ]*define[ ][ ]*/ /
24887 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
24889 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
24893 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
24894 D["\1"]=" \3\\\\\\n"\\/p
24896 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
24901 s/.\{148\}/&'"$ac_delim"'/g
24906 s/["\\]/\\&/g; s/^/"/; s/$/"/p
24909 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
24911 ' <confdefs.h | sed '
24912 s/'"$ac_delim"'/"\\\
24913 "/g' >>$CONFIG_STATUS || ac_write_fail=1
24915 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24916 for (key in D) D_is_set[key] = 1
24919 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
24921 split(line, arg, " ")
24922 if (arg[1] == "#") {
24926 defundef = substr(arg[1], 2)
24929 split(mac1, mac2, "(") #)
24931 prefix = substr(line, 1, index(line, defundef) - 1)
24932 if (D_is_set[macro]) {
24933 # Preserve the white space surrounding the "#".
24934 print prefix "define", macro P[macro] D[macro]
24937 # Replace #undef with comments. This is necessary, for example,
24938 # in the case of _POSIX_SOURCE, which is predefined and required
24939 # on some systems where configure will not decide to define it.
24940 if (defundef == "undef") {
24941 print "/*", prefix defundef, macro, "*/"
24949 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24950 as_fn_error "could not setup config headers machinery" "$LINENO" 5
24951 fi # test -n "$CONFIG_HEADERS"
24954 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
24959 :[FHLC]) ac_mode=$ac_tag; continue;;
24961 case $ac_mode$ac_tag in
24963 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
24964 :[FH]-) ac_tag=-:-;;
24965 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
24982 -) ac_f="$tmp/stdin";;
24983 *) # Look for the file first in the build tree, then in the source tree
24984 # (if the path is not absolute). The absolute path cannot be DOS-style,
24985 # because $ac_f cannot contain `:'.
24989 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
24991 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
24993 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
24994 as_fn_append ac_file_inputs " '$ac_f'"
24997 # Let's still pretend it is `configure' which instantiates (i.e., don't
24998 # use $as_me), people would be surprised to read:
24999 # /* config.h. Generated by config.status. */
25000 configure_input='Generated from '`
25001 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
25003 if test x"$ac_file" != x-; then
25004 configure_input="$ac_file. $configure_input"
25005 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
25006 $as_echo "$as_me: creating $ac_file" >&6;}
25008 # Neutralize special characters interpreted by sed in replacement strings.
25009 case $configure_input in #(
25010 *\&* | *\|* | *\\* )
25011 ac_sed_conf_input=`$as_echo "$configure_input" |
25012 sed 's/[\\\\&|]/\\\\&/g'`;; #(
25013 *) ac_sed_conf_input=$configure_input;;
25017 *:-:* | *:-) cat >"$tmp/stdin" \
25018 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
25023 ac_dir=`$as_dirname -- "$ac_file" ||
25024 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25025 X"$ac_file" : 'X\(//\)[^/]' \| \
25026 X"$ac_file" : 'X\(//\)$' \| \
25027 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
25028 $as_echo X"$ac_file" |
25029 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25033 /^X\(\/\/\)[^/].*/{
25046 as_dir="$ac_dir"; as_fn_mkdir_p
25050 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
25052 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
25053 # A ".." for each directory in $ac_dir_suffix.
25054 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
25055 case $ac_top_builddir_sub in
25056 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
25057 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
25060 ac_abs_top_builddir=$ac_pwd
25061 ac_abs_builddir=$ac_pwd$ac_dir_suffix
25062 # for backward compatibility:
25063 ac_top_builddir=$ac_top_build_prefix
25066 .) # We are building in place.
25068 ac_top_srcdir=$ac_top_builddir_sub
25069 ac_abs_top_srcdir=$ac_pwd ;;
25070 [\\/]* | ?:[\\/]* ) # Absolute name.
25071 ac_srcdir=$srcdir$ac_dir_suffix;
25072 ac_top_srcdir=$srcdir
25073 ac_abs_top_srcdir=$srcdir ;;
25074 *) # Relative name.
25075 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
25076 ac_top_srcdir=$ac_top_build_prefix$srcdir
25077 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
25079 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
25089 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
25090 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
25092 ac_MKDIR_P=$MKDIR_P
25094 [\\/$]* | ?:[\\/]* ) ;;
25095 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
25099 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25100 # If the template does not know about datarootdir, expand it.
25101 # FIXME: This hack should be removed a few years after 2.60.
25102 ac_datarootdir_hack=; ac_datarootdir_seen=
25113 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
25114 *datarootdir*) ac_datarootdir_seen=yes;;
25115 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
25116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
25117 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
25119 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25120 ac_datarootdir_hack='
25121 s&@datadir@&$datadir&g
25122 s&@docdir@&$docdir&g
25123 s&@infodir@&$infodir&g
25124 s&@localedir@&$localedir&g
25125 s&@mandir@&$mandir&g
25126 s&\\\${datarootdir}&$datarootdir&g' ;;
25130 # Neutralize VPATH when `$srcdir' = `.'.
25131 # Shell code in configure.ac might set extrasub.
25132 # FIXME: do we really want to maintain this feature?
25133 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25134 ac_sed_extra="$ac_vpsub
25137 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25139 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25140 s|@configure_input@|$ac_sed_conf_input|;t t
25141 s&@top_builddir@&$ac_top_builddir_sub&;t t
25142 s&@top_build_prefix@&$ac_top_build_prefix&;t t
25143 s&@srcdir@&$ac_srcdir&;t t
25144 s&@abs_srcdir@&$ac_abs_srcdir&;t t
25145 s&@top_srcdir@&$ac_top_srcdir&;t t
25146 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
25147 s&@builddir@&$ac_builddir&;t t
25148 s&@abs_builddir@&$ac_abs_builddir&;t t
25149 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
25150 s&@INSTALL@&$ac_INSTALL&;t t
25151 s&@MKDIR_P@&$ac_MKDIR_P&;t t
25152 $ac_datarootdir_hack
25154 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
25155 || as_fn_error "could not create $ac_file" "$LINENO" 5
25157 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
25158 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
25159 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
25160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25161 which seems to be undefined. Please make sure it is defined." >&5
25162 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25163 which seems to be undefined. Please make sure it is defined." >&2;}
25167 -) cat "$tmp/out" && rm -f "$tmp/out";;
25168 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
25170 || as_fn_error "could not create $ac_file" "$LINENO" 5
25176 if test x"$ac_file" != x-; then
25178 $as_echo "/* $configure_input */" \
25179 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
25180 } >"$tmp/config.h" \
25181 || as_fn_error "could not create $ac_file" "$LINENO" 5
25182 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
25183 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
25184 $as_echo "$as_me: $ac_file is unchanged" >&6;}
25187 mv "$tmp/config.h" "$ac_file" \
25188 || as_fn_error "could not create $ac_file" "$LINENO" 5
25191 $as_echo "/* $configure_input */" \
25192 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
25193 || as_fn_error "could not create -" "$LINENO" 5
25195 # Compute "$ac_file"'s index in $config_headers.
25198 for _am_header in $config_headers :; do
25199 case $_am_header in
25200 $_am_arg | $_am_arg:* )
25203 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
25206 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
25207 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25208 X"$_am_arg" : 'X\(//\)[^/]' \| \
25209 X"$_am_arg" : 'X\(//\)$' \| \
25210 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
25211 $as_echo X"$_am_arg" |
25212 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25216 /^X\(\/\/\)[^/].*/{
25228 s/.*/./; q'`/stamp-h$_am_stamp_count
25231 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
25232 $as_echo "$as_me: executing $ac_file commands" >&6;}
25237 case $ac_file$ac_mode in
25238 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
25239 # Autoconf 2.62 quotes --file arguments for eval, but not when files
25240 # are listed without --file. Let's play safe and only enable the eval
25241 # if we detect the quoting.
25242 case $CONFIG_FILES in
25243 *\'*) eval set x "$CONFIG_FILES" ;;
25244 *) set x $CONFIG_FILES ;;
25249 # Strip MF so we end up with the name of the file.
25250 mf=`echo "$mf" | sed -e 's/:.*$//'`
25251 # Check whether this is an Automake generated Makefile or not.
25252 # We used to match only the files named `Makefile.in', but
25253 # some people rename them; so instead we look at the file content.
25254 # Grep'ing the first line is not enough: some people post-process
25255 # each Makefile.in and add a new line on top of each file to say so.
25256 # Grep'ing the whole file is not good either: AIX grep has a line
25257 # limit of 2048, but all sed's we know have understand at least 4000.
25258 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
25259 dirpart=`$as_dirname -- "$mf" ||
25260 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25261 X"$mf" : 'X\(//\)[^/]' \| \
25262 X"$mf" : 'X\(//\)$' \| \
25263 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
25265 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25269 /^X\(\/\/\)[^/].*/{
25285 # Extract the definition of DEPDIR, am__include, and am__quote
25286 # from the Makefile without running `make'.
25287 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
25288 test -z "$DEPDIR" && continue
25289 am__include=`sed -n 's/^am__include = //p' < "$mf"`
25290 test -z "am__include" && continue
25291 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
25292 # When using ansi2knr, U may be empty or an underscore; expand it
25293 U=`sed -n 's/^U = //p' < "$mf"`
25294 # Find all dependency output files, they are included files with
25295 # $(DEPDIR) in their names. We invoke sed twice because it is the
25296 # simplest approach to changing $(DEPDIR) to its actual value in the
25298 for file in `sed -n "
25299 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
25300 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
25301 # Make sure the directory exists.
25302 test -f "$dirpart/$file" && continue
25303 fdir=`$as_dirname -- "$file" ||
25304 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25305 X"$file" : 'X\(//\)[^/]' \| \
25306 X"$file" : 'X\(//\)$' \| \
25307 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
25308 $as_echo X"$file" |
25309 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25313 /^X\(\/\/\)[^/].*/{
25326 as_dir=$dirpart/$fdir; as_fn_mkdir_p
25327 # echo "creating $dirpart/$file"
25328 echo '# dummy' > "$dirpart/$file"
25335 # See if we are running on zsh, and set the options which allow our
25336 # commands through without removal of \ escapes.
25337 if test -n "${ZSH_VERSION+set}" ; then
25338 setopt NO_GLOB_SUBST
25341 cfgfile="${ofile}T"
25342 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
25345 cat <<_LT_EOF >> "$cfgfile"
25348 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
25349 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
25350 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
25351 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
25353 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
25354 # 2006, 2007, 2008 Free Software Foundation, Inc.
25355 # Written by Gordon Matzigkeit, 1996
25357 # This file is part of GNU Libtool.
25359 # GNU Libtool is free software; you can redistribute it and/or
25360 # modify it under the terms of the GNU General Public License as
25361 # published by the Free Software Foundation; either version 2 of
25362 # the License, or (at your option) any later version.
25364 # As a special exception to the GNU General Public License,
25365 # if you distribute this file as part of a program or library that
25366 # is built using GNU Libtool, you may include this file under the
25367 # same distribution terms that you use for the rest of that program.
25369 # GNU Libtool is distributed in the hope that it will be useful,
25370 # but WITHOUT ANY WARRANTY; without even the implied warranty of
25371 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25372 # GNU General Public License for more details.
25374 # You should have received a copy of the GNU General Public License
25375 # along with GNU Libtool; see the file COPYING. If not, a copy
25376 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
25377 # obtained by writing to the Free Software Foundation, Inc.,
25378 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
25381 # The names of the tagged configurations supported by this script.
25382 available_tags="CXX "
25384 # ### BEGIN LIBTOOL CONFIG
25386 # Which release of libtool.m4 was used?
25387 macro_version=$macro_version
25388 macro_revision=$macro_revision
25390 # Whether or not to build shared libraries.
25391 build_libtool_libs=$enable_shared
25393 # Whether or not to build static libraries.
25394 build_old_libs=$enable_static
25396 # What type of objects to build.
25399 # Whether or not to optimize for fast installation.
25400 fast_install=$enable_fast_install
25403 host_alias=$host_alias
25407 # The build system.
25408 build_alias=$build_alias
25412 # A sed program that does not truncate output.
25415 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
25416 Xsed="\$SED -e 1s/^X//"
25418 # A grep program that handles long lines.
25424 # A literal string matcher.
25427 # A BSD- or MS-compatible name lister.
25430 # Whether we need soft or hard links.
25433 # What is the maximum length of a command?
25434 max_cmd_len=$max_cmd_len
25436 # Object file suffix (normally "o").
25439 # Executable file suffix (normally "").
25442 # whether the shell understands "unset".
25445 # turn spaces into newlines.
25448 # turn newlines into spaces.
25451 # How to create reloadable object files.
25452 reload_flag=$lt_reload_flag
25453 reload_cmds=$lt_reload_cmds
25455 # An object symbol dumper.
25456 OBJDUMP=$lt_OBJDUMP
25458 # Method to check whether dependent libraries are shared objects.
25459 deplibs_check_method=$lt_deplibs_check_method
25461 # Command to use when deplibs_check_method == "file_magic".
25462 file_magic_cmd=$lt_file_magic_cmd
25466 AR_FLAGS=$lt_AR_FLAGS
25468 # A symbol stripping program.
25471 # Commands used to install an old-style archive.
25473 old_postinstall_cmds=$lt_old_postinstall_cmds
25474 old_postuninstall_cmds=$lt_old_postuninstall_cmds
25479 # LTCC compiler flags.
25480 LTCFLAGS=$lt_CFLAGS
25482 # Take the output of nm and produce a listing of raw symbols and C names.
25483 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
25485 # Transform the output of nm in a proper C declaration.
25486 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
25488 # Transform the output of nm in a C name address pair.
25489 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
25491 # Transform the output of nm in a C name address pair when lib prefix is needed.
25492 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
25494 # The name of the directory that contains temporary libtool files.
25497 # Shell to use when invoking shell scripts.
25500 # An echo program that does not interpret backslashes.
25503 # Used to examine libraries when file_magic_cmd begins with "file".
25504 MAGIC_CMD=$MAGIC_CMD
25506 # Must we lock files when doing compilation?
25507 need_locks=$lt_need_locks
25509 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
25510 DSYMUTIL=$lt_DSYMUTIL
25512 # Tool to change global to local symbols on Mac OS X.
25515 # Tool to manipulate fat objects and archives on Mac OS X.
25518 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
25521 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
25522 OTOOL64=$lt_OTOOL64
25524 # Old archive suffix (normally "a").
25527 # Shared library suffix (normally ".so").
25528 shrext_cmds=$lt_shrext_cmds
25530 # The commands to extract the exported symbol list from a shared archive.
25531 extract_expsyms_cmds=$lt_extract_expsyms_cmds
25533 # Variables whose values should be saved in libtool wrapper scripts and
25534 # restored at link time.
25535 variables_saved_for_relink=$lt_variables_saved_for_relink
25537 # Do we need the "lib" prefix for modules?
25538 need_lib_prefix=$need_lib_prefix
25540 # Do we need a version for libraries?
25541 need_version=$need_version
25543 # Library versioning type.
25544 version_type=$version_type
25546 # Shared library runtime path variable.
25547 runpath_var=$runpath_var
25549 # Shared library path variable.
25550 shlibpath_var=$shlibpath_var
25552 # Is shlibpath searched before the hard-coded library search path?
25553 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
25555 # Format of library name prefix.
25556 libname_spec=$lt_libname_spec
25558 # List of archive names. First name is the real one, the rest are links.
25559 # The last name is the one that the linker finds with -lNAME
25560 library_names_spec=$lt_library_names_spec
25562 # The coded name of the library, if different from the real name.
25563 soname_spec=$lt_soname_spec
25565 # Command to use after installation of a shared archive.
25566 postinstall_cmds=$lt_postinstall_cmds
25568 # Command to use after uninstallation of a shared archive.
25569 postuninstall_cmds=$lt_postuninstall_cmds
25571 # Commands used to finish a libtool library installation in a directory.
25572 finish_cmds=$lt_finish_cmds
25574 # As "finish_cmds", except a single script fragment to be evaled but
25576 finish_eval=$lt_finish_eval
25578 # Whether we should hardcode library paths into libraries.
25579 hardcode_into_libs=$hardcode_into_libs
25581 # Compile-time system search path for libraries.
25582 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
25584 # Run-time system search path for libraries.
25585 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
25587 # Whether dlopen is supported.
25588 dlopen_support=$enable_dlopen
25590 # Whether dlopen of programs is supported.
25591 dlopen_self=$enable_dlopen_self
25593 # Whether dlopen of statically linked programs is supported.
25594 dlopen_self_static=$enable_dlopen_self_static
25596 # Commands to strip libraries.
25597 old_striplib=$lt_old_striplib
25598 striplib=$lt_striplib
25601 # The linker used to build libraries.
25604 # Commands used to build an old-style archive.
25605 old_archive_cmds=$lt_old_archive_cmds
25607 # A language specific compiler.
25610 # Is the compiler the GNU compiler?
25613 # Compiler flag to turn off builtin functions.
25614 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
25616 # How to pass a linker flag through the compiler.
25617 wl=$lt_lt_prog_compiler_wl
25619 # Additional compiler flags for building library objects.
25620 pic_flag=$lt_lt_prog_compiler_pic
25622 # Compiler flag to prevent dynamic linking.
25623 link_static_flag=$lt_lt_prog_compiler_static
25625 # Does compiler simultaneously support -c and -o options?
25626 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
25628 # Whether or not to add -lc for building shared libraries.
25629 build_libtool_need_lc=$archive_cmds_need_lc
25631 # Whether or not to disallow shared libs when runtime libs are static.
25632 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
25634 # Compiler flag to allow reflexive dlopens.
25635 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
25637 # Compiler flag to generate shared objects directly from archives.
25638 whole_archive_flag_spec=$lt_whole_archive_flag_spec
25640 # Whether the compiler copes with passing no objects directly.
25641 compiler_needs_object=$lt_compiler_needs_object
25643 # Create an old-style archive from a shared archive.
25644 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
25646 # Create a temporary old-style archive to link instead of a shared archive.
25647 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
25649 # Commands used to build a shared archive.
25650 archive_cmds=$lt_archive_cmds
25651 archive_expsym_cmds=$lt_archive_expsym_cmds
25653 # Commands used to build a loadable module if different from building
25654 # a shared archive.
25655 module_cmds=$lt_module_cmds
25656 module_expsym_cmds=$lt_module_expsym_cmds
25658 # Whether we are building with GNU ld or not.
25659 with_gnu_ld=$lt_with_gnu_ld
25661 # Flag that allows shared libraries with undefined symbols to be built.
25662 allow_undefined_flag=$lt_allow_undefined_flag
25664 # Flag that enforces no undefined symbols.
25665 no_undefined_flag=$lt_no_undefined_flag
25667 # Flag to hardcode \$libdir into a binary during linking.
25668 # This must work even if \$libdir does not exist
25669 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
25671 # If ld is used when linking, flag to hardcode \$libdir into a binary
25672 # during linking. This must work even if \$libdir does not exist.
25673 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
25675 # Whether we need a single "-rpath" flag with a separated argument.
25676 hardcode_libdir_separator=$lt_hardcode_libdir_separator
25678 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
25679 # DIR into the resulting binary.
25680 hardcode_direct=$hardcode_direct
25682 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
25683 # DIR into the resulting binary and the resulting library dependency is
25684 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
25685 # library is relocated.
25686 hardcode_direct_absolute=$hardcode_direct_absolute
25688 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
25689 # into the resulting binary.
25690 hardcode_minus_L=$hardcode_minus_L
25692 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
25693 # into the resulting binary.
25694 hardcode_shlibpath_var=$hardcode_shlibpath_var
25696 # Set to "yes" if building a shared library automatically hardcodes DIR
25697 # into the library and all subsequent libraries and executables linked
25699 hardcode_automatic=$hardcode_automatic
25701 # Set to yes if linker adds runtime paths of dependent libraries
25702 # to runtime path list.
25703 inherit_rpath=$inherit_rpath
25705 # Whether libtool must link a program against all its dependency libraries.
25706 link_all_deplibs=$link_all_deplibs
25708 # Fix the shell variable \$srcfile for the compiler.
25709 fix_srcfile_path=$lt_fix_srcfile_path
25711 # Set to "yes" if exported symbols are required.
25712 always_export_symbols=$always_export_symbols
25714 # The commands to list exported symbols.
25715 export_symbols_cmds=$lt_export_symbols_cmds
25717 # Symbols that should not be listed in the preloaded symbols.
25718 exclude_expsyms=$lt_exclude_expsyms
25720 # Symbols that must always be exported.
25721 include_expsyms=$lt_include_expsyms
25723 # Commands necessary for linking programs (against libraries) with templates.
25724 prelink_cmds=$lt_prelink_cmds
25726 # Specify filename containing input files.
25727 file_list_spec=$lt_file_list_spec
25729 # How to hardcode a shared library path into an executable.
25730 hardcode_action=$hardcode_action
25732 # The directories searched by this compiler when creating a shared library.
25733 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
25735 # Dependencies to place before and after the objects being linked to
25736 # create a shared library.
25737 predep_objects=$lt_predep_objects
25738 postdep_objects=$lt_postdep_objects
25739 predeps=$lt_predeps
25740 postdeps=$lt_postdeps
25742 # The library search path used internally by the compiler when linking
25743 # a shared library.
25744 compiler_lib_search_path=$lt_compiler_lib_search_path
25746 # ### END LIBTOOL CONFIG
25752 cat <<\_LT_EOF >> "$cfgfile"
25753 # AIX sometimes has problems with the GCC collect2 program. For some
25754 # reason, if we set the COLLECT_NAMES environment variable, the problems
25755 # vanish in a puff of smoke.
25756 if test "X${COLLECT_NAMES+set}" != Xset; then
25758 export COLLECT_NAMES
25765 ltmain="$ac_aux_dir/ltmain.sh"
25768 # We use sed instead of cat because bash on DJGPP gets confused if
25769 # if finds mixed CR/LF and LF-only lines. Since sed operates in
25770 # text mode, it properly converts lines to CR/LF. This bash problem
25771 # is reportedly fixed, but why not run on old versions too?
25772 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
25773 || (rm -f "$cfgfile"; exit 1)
25777 cat << \_LT_EOF >> "$cfgfile"
25779 # func_dirname file append nondir_replacement
25780 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
25781 # otherwise set result to NONDIR_REPLACEMENT.
25785 */*) func_dirname_result="${1%/*}${2}" ;;
25786 * ) func_dirname_result="${3}" ;;
25790 # func_basename file
25793 func_basename_result="${1##*/}"
25796 # func_dirname_and_basename file append nondir_replacement
25797 # perform func_basename and func_dirname in a single function
25799 # dirname: Compute the dirname of FILE. If nonempty,
25800 # add APPEND to the result, otherwise set result
25801 # to NONDIR_REPLACEMENT.
25802 # value returned in "$func_dirname_result"
25803 # basename: Compute filename of FILE.
25804 # value retuned in "$func_basename_result"
25805 # Implementation must be kept synchronized with func_dirname
25806 # and func_basename. For efficiency, we do not delegate to
25807 # those functions but instead duplicate the functionality here.
25808 func_dirname_and_basename ()
25811 */*) func_dirname_result="${1%/*}${2}" ;;
25812 * ) func_dirname_result="${3}" ;;
25814 func_basename_result="${1##*/}"
25817 # func_stripname prefix suffix name
25818 # strip PREFIX and SUFFIX off of NAME.
25819 # PREFIX and SUFFIX must not contain globbing or regex special
25820 # characters, hashes, percent signs, but SUFFIX may contain a leading
25821 # dot (in which case that matches only a dot).
25824 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
25825 # positional parameters, so assign one to ordinary parameter first.
25826 func_stripname_result=${3}
25827 func_stripname_result=${func_stripname_result#"${1}"}
25828 func_stripname_result=${func_stripname_result%"${2}"}
25834 func_opt_split_opt=${1%%=*}
25835 func_opt_split_arg=${1#*=}
25842 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
25843 *) func_lo2o_result=${1} ;;
25847 # func_xform libobj-or-source
25850 func_xform_result=${1%.*}.lo
25853 # func_arith arithmetic-term...
25856 func_arith_result=$(( $* ))
25860 # STRING may not start with a hyphen.
25863 func_len_result=${#1}
25868 *) # Bourne compatible functions.
25869 cat << \_LT_EOF >> "$cfgfile"
25871 # func_dirname file append nondir_replacement
25872 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
25873 # otherwise set result to NONDIR_REPLACEMENT.
25876 # Extract subdirectory from the argument.
25877 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
25878 if test "X$func_dirname_result" = "X${1}"; then
25879 func_dirname_result="${3}"
25881 func_dirname_result="$func_dirname_result${2}"
25885 # func_basename file
25888 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
25892 # func_stripname prefix suffix name
25893 # strip PREFIX and SUFFIX off of NAME.
25894 # PREFIX and SUFFIX must not contain globbing or regex special
25895 # characters, hashes, percent signs, but SUFFIX may contain a leading
25896 # dot (in which case that matches only a dot).
25897 # func_strip_suffix prefix name
25901 .*) func_stripname_result=`$ECHO "X${3}" \
25902 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
25903 *) func_stripname_result=`$ECHO "X${3}" \
25904 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
25909 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
25910 my_sed_long_arg='1s/^-[^=]*=//'
25915 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
25916 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
25922 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
25925 # func_xform libobj-or-source
25928 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
25931 # func_arith arithmetic-term...
25934 func_arith_result=`expr "$@"`
25938 # STRING may not start with a hyphen.
25941 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
25947 case $lt_shell_append in
25949 cat << \_LT_EOF >> "$cfgfile"
25951 # func_append var value
25952 # Append VALUE to the end of shell variable VAR.
25960 cat << \_LT_EOF >> "$cfgfile"
25962 # func_append var value
25963 # Append VALUE to the end of shell variable VAR.
25974 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
25975 || (rm -f "$cfgfile"; exit 1)
25977 mv -f "$cfgfile" "$ofile" ||
25978 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
25982 cat <<_LT_EOF >> "$ofile"
25984 # ### BEGIN LIBTOOL TAG CONFIG: CXX
25986 # The linker used to build libraries.
25989 # Commands used to build an old-style archive.
25990 old_archive_cmds=$lt_old_archive_cmds_CXX
25992 # A language specific compiler.
25993 CC=$lt_compiler_CXX
25995 # Is the compiler the GNU compiler?
25998 # Compiler flag to turn off builtin functions.
25999 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
26001 # How to pass a linker flag through the compiler.
26002 wl=$lt_lt_prog_compiler_wl_CXX
26004 # Additional compiler flags for building library objects.
26005 pic_flag=$lt_lt_prog_compiler_pic_CXX
26007 # Compiler flag to prevent dynamic linking.
26008 link_static_flag=$lt_lt_prog_compiler_static_CXX
26010 # Does compiler simultaneously support -c and -o options?
26011 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
26013 # Whether or not to add -lc for building shared libraries.
26014 build_libtool_need_lc=$archive_cmds_need_lc_CXX
26016 # Whether or not to disallow shared libs when runtime libs are static.
26017 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
26019 # Compiler flag to allow reflexive dlopens.
26020 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
26022 # Compiler flag to generate shared objects directly from archives.
26023 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
26025 # Whether the compiler copes with passing no objects directly.
26026 compiler_needs_object=$lt_compiler_needs_object_CXX
26028 # Create an old-style archive from a shared archive.
26029 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
26031 # Create a temporary old-style archive to link instead of a shared archive.
26032 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
26034 # Commands used to build a shared archive.
26035 archive_cmds=$lt_archive_cmds_CXX
26036 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
26038 # Commands used to build a loadable module if different from building
26039 # a shared archive.
26040 module_cmds=$lt_module_cmds_CXX
26041 module_expsym_cmds=$lt_module_expsym_cmds_CXX
26043 # Whether we are building with GNU ld or not.
26044 with_gnu_ld=$lt_with_gnu_ld_CXX
26046 # Flag that allows shared libraries with undefined symbols to be built.
26047 allow_undefined_flag=$lt_allow_undefined_flag_CXX
26049 # Flag that enforces no undefined symbols.
26050 no_undefined_flag=$lt_no_undefined_flag_CXX
26052 # Flag to hardcode \$libdir into a binary during linking.
26053 # This must work even if \$libdir does not exist
26054 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
26056 # If ld is used when linking, flag to hardcode \$libdir into a binary
26057 # during linking. This must work even if \$libdir does not exist.
26058 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
26060 # Whether we need a single "-rpath" flag with a separated argument.
26061 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
26063 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
26064 # DIR into the resulting binary.
26065 hardcode_direct=$hardcode_direct_CXX
26067 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
26068 # DIR into the resulting binary and the resulting library dependency is
26069 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
26070 # library is relocated.
26071 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
26073 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
26074 # into the resulting binary.
26075 hardcode_minus_L=$hardcode_minus_L_CXX
26077 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
26078 # into the resulting binary.
26079 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
26081 # Set to "yes" if building a shared library automatically hardcodes DIR
26082 # into the library and all subsequent libraries and executables linked
26084 hardcode_automatic=$hardcode_automatic_CXX
26086 # Set to yes if linker adds runtime paths of dependent libraries
26087 # to runtime path list.
26088 inherit_rpath=$inherit_rpath_CXX
26090 # Whether libtool must link a program against all its dependency libraries.
26091 link_all_deplibs=$link_all_deplibs_CXX
26093 # Fix the shell variable \$srcfile for the compiler.
26094 fix_srcfile_path=$lt_fix_srcfile_path_CXX
26096 # Set to "yes" if exported symbols are required.
26097 always_export_symbols=$always_export_symbols_CXX
26099 # The commands to list exported symbols.
26100 export_symbols_cmds=$lt_export_symbols_cmds_CXX
26102 # Symbols that should not be listed in the preloaded symbols.
26103 exclude_expsyms=$lt_exclude_expsyms_CXX
26105 # Symbols that must always be exported.
26106 include_expsyms=$lt_include_expsyms_CXX
26108 # Commands necessary for linking programs (against libraries) with templates.
26109 prelink_cmds=$lt_prelink_cmds_CXX
26111 # Specify filename containing input files.
26112 file_list_spec=$lt_file_list_spec_CXX
26114 # How to hardcode a shared library path into an executable.
26115 hardcode_action=$hardcode_action_CXX
26117 # The directories searched by this compiler when creating a shared library.
26118 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
26120 # Dependencies to place before and after the objects being linked to
26121 # create a shared library.
26122 predep_objects=$lt_predep_objects_CXX
26123 postdep_objects=$lt_postdep_objects_CXX
26124 predeps=$lt_predeps_CXX
26125 postdeps=$lt_postdeps_CXX
26127 # The library search path used internally by the compiler when linking
26128 # a shared library.
26129 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
26131 # ### END LIBTOOL TAG CONFIG: CXX
26135 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
26136 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
26139 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
26140 as_fn_error "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
26142 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
26147 '"s|^| $ac_top_srcdir/|" \
26148 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
26150 sed '/^POTFILES =/,/[^\\]$/ {
26154 ' "po/Makefile.in" >"po/Makefile"
26155 rm -f "po/Makefile.tmp"
26156 mv "po/stamp-it.tmp" "po/stamp-it"
26165 ac_clean_files=$ac_clean_files_save
26167 test $ac_write_fail = 0 ||
26168 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
26171 # configure is writing to config.log, and then calls config.status.
26172 # config.status does its own redirection, appending to config.log.
26173 # Unfortunately, on DOS this fails, as config.log is still kept open
26174 # by configure, so config.status won't be able to write to it; its
26175 # output is simply discarded. So we exec the FD to /dev/null,
26176 # effectively closing config.log, so it can be properly (re)opened and
26177 # appended to by config.status. When coming back to configure, we
26178 # need to make the FD available again.
26179 if test "$no_create" != yes; then
26181 ac_config_status_args=
26182 test "$silent" = yes &&
26183 ac_config_status_args="$ac_config_status_args --quiet"
26185 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
26187 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
26188 # would make configure fail if this is the last instruction.
26189 $ac_cs_success || as_fn_exit $?
26191 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
26192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
26193 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
26198 echo CONFIGURATION SUMMARY
26199 echo "Core SyncEvolution: $enable_core"
26200 for backend in $BACKENDS; do
26201 eval echo $backend: \${enable_${backend}}
26203 echo "DBus service: $enable_dbus_service"
26204 echo "Notifications: $enable_notify"
26205 echo "GIO GDBus: $with_gio_gdbus"
26206 echo "GNOME keyring: $enable_gnome_keyring"
26207 if test "$enable_gui" = "no"; then
26208 echo "UI (DBus client): no"
26210 echo "UI (DBus client): $enable_gui (using $gtk_version)"
26212 echo "Bluetooth transport: $have_bluetooth"
26213 echo "GNOME Bluetooth panel plugin: $enable_gnome_bluetooth_panel"
26214 echo "SHA-256: $have_sha"
26215 echo "API documentation: $enable_doc"
26216 echo "D-Bus Timeout Hack: $enable_dbus_timeout_hack"