2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for syncevolution 1.5.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
147 *v*x* | *x*v* ) as_opts=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
200 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
201 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
202 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 PATH=/empty FPATH=/empty; export PATH FPATH
205 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
206 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
207 test \$(( 1 + 1 )) = 2 || exit 1"
208 if (eval "$as_required") 2>/dev/null; then :
213 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 test -z "$as_dir" && as_dir=.
225 for as_base in sh bash ksh sh5; do
226 # Try only shells that exist, to save several forks.
227 as_shell=$as_dir/$as_base
228 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230 CONFIG_SHELL=$as_shell as_have_required=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241 CONFIG_SHELL=$SHELL as_have_required=yes
246 if test "x$CONFIG_SHELL" != x; then :
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
256 *v*x* | *x*v* ) as_opts=-vx ;;
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 if test x$as_have_required = xno; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x${ZSH_VERSION+set} = xset ; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
284 SHELL=${CONFIG_SHELL-/bin/sh}
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE= GREP_OPTIONS=
288 unset CLICOLOR_FORCE GREP_OPTIONS
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
295 # Portably unset VAR.
298 { eval $1=; unset $1;}
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
322 # Create "$as_dir" as a directory, including parents if necessary.
327 -*) as_dir=./$as_dir;;
329 test -d "$as_dir" || eval $as_mkdir_p || {
333 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
336 as_dirs="'$as_qdir' $as_dirs"
337 as_dir=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
360 test -d "$as_dir" && break
362 test -z "$as_dirs" || eval "mkdir $as_dirs"
363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p ()
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382 eval 'as_fn_append ()
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
406 as_val=`expr "$@" || test $? -eq 1`
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
418 as_status=$1; test $as_status -eq 0 && as_status=1
420 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit $as_status
427 if expr a : '\(a\)' >/dev/null 2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001; then
434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
446 as_me=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
465 # Avoid depending upon Character Ranges.
466 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits='0123456789'
470 as_cr_alnum=$as_cr_Letters$as_cr_digits
473 as_lineno_1=$LINENO as_lineno_1a=$LINENO
474 as_lineno_2=$LINENO as_lineno_2a=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493 chmod +x "$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec=no; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
504 # Exit status is that of the last command.
508 ECHO_C= ECHO_N= ECHO_T=
509 case `echo -n x` in #(((((
511 case `echo 'xy\c'` in
512 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
521 rm -f conf$$ conf$$.exe conf$$.file
522 if test -d conf$$.dir; then
523 rm -f conf$$.dir/conf$$.file
526 mkdir conf$$.dir 2>/dev/null
528 if (echo >conf$$.file) 2>/dev/null; then
529 if ln -s conf$$.file conf$$ 2>/dev/null; then
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
537 elif ln conf$$.file conf$$ 2>/dev/null; then
545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546 rmdir conf$$.dir 2>/dev/null
548 if mkdir -p . 2>/dev/null; then
549 as_mkdir_p='mkdir -p "$as_dir"'
551 test -d ./-p && rmdir ./-p
556 as_executable_p=as_fn_executable_p
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564 SHELL=${CONFIG_SHELL-/bin/sh}
567 test -n "$DJDIR" || exec 7<&0 </dev/null
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
578 ac_default_prefix=/usr/local
580 ac_config_libobj_dir=.
587 # Identity of this package.
588 PACKAGE_NAME='syncevolution'
589 PACKAGE_TARNAME='syncevolution'
590 PACKAGE_VERSION='1.5'
591 PACKAGE_STRING='syncevolution 1.5'
595 # Factoring default headers for most tests.
596 ac_includes_default="\
598 #ifdef HAVE_SYS_TYPES_H
599 # include <sys/types.h>
601 #ifdef HAVE_SYS_STAT_H
602 # include <sys/stat.h>
608 # ifdef HAVE_STDLIB_H
613 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618 #ifdef HAVE_STRINGS_H
619 # include <strings.h>
621 #ifdef HAVE_INTTYPES_H
622 # include <inttypes.h>
631 ac_subst_vars='am__EXEEXT_FALSE
635 COND_CROSS_COMPILING_FALSE
636 COND_CROSS_COMPILING_TRUE
640 BACKENDS_SEARCH_DIRECTORY
642 LIBICAL_AVAILABLE_LIBS
643 LIBICAL_AVAILABLE_CFLAGS
644 ENABLE_EVOLUTION_COMPATIBILITY_FALSE
645 ENABLE_EVOLUTION_COMPATIBILITY_TRUE
646 SYNCEVOLUTION_CXXFLAGS
688 NEON_COMPATIBILITY_FALSE
689 NEON_COMPATIBILITY_TRUE
694 GOOGLE_CLIENT_SECRET_CARDDAV
695 GOOGLE_CLIENT_ID_CARDDAV
696 GOOGLE_CLIENT_SECRET_CALDAV
697 GOOGLE_CLIENT_ID_CALDAV
724 USE_KDE_KWALLET_FALSE
755 EASCLIENT_DEPENDENCIES
757 LIBEASCLIENT_LA_DEPENDENCIES
758 BUILD_ACTIVESYNCD_FALSE
759 BUILD_ACTIVESYNCD_TRUE
764 ENABLE_GNOME_BLUETOOTH_PANEL_FALSE
765 ENABLE_GNOME_BLUETOOTH_PANEL_TRUE
768 GNOMEBLUETOOTH_CFLAGS
774 SYNTHESIS_SUBDIR_INCLUDES
777 WITH_SYNTHESIS_SRC_LIBS
778 WITH_SYNTHESIS_SRC_CFLAGS
782 COND_HTML_README_FALSE
783 COND_HTML_README_TRUE
793 SYNCEVOLUTION_LOCALEDIR
823 INTLTOOL_SERVICE_RULE
825 INTLTOOL_SCHEMAS_RULE
827 INTLTOOL_XML_NOMERGE_RULE
832 INTLTOOL_SOUNDLIST_RULE
839 INTLTOOL_DIRECTORY_RULE
840 INTLTOOL_DESKTOP_RULE
841 intltool__v_merge_options_0
842 intltool__v_merge_options_
843 INTLTOOL_V_MERGE_OPTIONS
857 NOTIFY_COMPATIBILITY_FALSE
858 NOTIFY_COMPATIBILITY_TRUE
861 DBUS_PIM_PLUGIN_LDFLAGS
863 DBUS_PIM_PLUGIN_CFLAGS
878 SYNCEVO_DBUS_SERVER_ARGS
890 ENABLE_BLUETOOTH_FALSE
891 ENABLE_BLUETOOTH_TRUE
908 ENABLE_UNIT_TESTS_FALSE
909 ENABLE_UNIT_TESTS_TRUE
914 ENABLE_ICALTZ_UTIL_FALSE
915 ENABLE_ICALTZ_UTIL_TRUE
957 MAINTAINER_MODE_FALSE
988 INSTALL_STRIP_PROGRAM
1031 program_transform_name
1044 enable_option_checking
1047 enable_dependency_tracking
1048 enable_maintainer_mode
1061 with_synthesis_username
1062 with_synthesis_revision
1064 enable_integration_tests
1066 enable_evolution_compatibility
1067 enable_internal_icaltz
1068 enable_developer_mode
1070 with_ca_certificates
1074 with_dlt_syncevolution
1076 enable_ssl_certificate_check
1083 enable_notify_compatibility
1085 enable_dbus_service_pim
1090 enable_gnome_bluetooth_panel_plugin
1093 with_activesyncd_src
1098 enable_gnome_keyring
1109 with_google_client_id
1110 with_google_client_secret
1111 with_google_client_id_caldav
1112 with_google_client_secret_caldav
1113 with_google_client_id_carddav
1114 with_google_client_secret_carddav
1117 enable_neon_compatibility
1121 enable_dbus_timeout_hack
1123 ac_precious_vars='build_alias
1159 MX_GTK_0_99_1_CFLAGS
1171 WITH_SYNTHESIS_SRC_CFLAGS
1172 WITH_SYNTHESIS_SRC_LIBS
1173 GNOMEBLUETOOTH_CFLAGS
1183 EBOOK_VERSION_CFLAGS
1226 LIBICAL_AVAILABLE_CFLAGS
1227 LIBICAL_AVAILABLE_LIBS'
1230 # Initialize some variables set by options.
1232 ac_init_version=false
1233 ac_unrecognized_opts=
1234 ac_unrecognized_sep=
1235 # The variables have the same names as the options, with
1236 # dashes changed to underlines.
1237 cache_file=/dev/null
1244 program_transform_name=s,x,x,
1252 # Installation directory options.
1253 # These are left unexpanded so users can "make install exec_prefix=/foo"
1254 # and all the variables that are supposed to be based on exec_prefix
1255 # by default will actually change.
1256 # Use braces instead of parens because sh, perl, etc. also accept them.
1257 # (The list follows the same order as the GNU Coding Standards.)
1258 bindir='${exec_prefix}/bin'
1259 sbindir='${exec_prefix}/sbin'
1260 libexecdir='${exec_prefix}/libexec'
1261 datarootdir='${prefix}/share'
1262 datadir='${datarootdir}'
1263 sysconfdir='${prefix}/etc'
1264 sharedstatedir='${prefix}/com'
1265 localstatedir='${prefix}/var'
1266 includedir='${prefix}/include'
1267 oldincludedir='/usr/include'
1268 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1269 infodir='${datarootdir}/info'
1274 libdir='${exec_prefix}/lib'
1275 localedir='${datarootdir}/locale'
1276 mandir='${datarootdir}/man'
1282 # If the previous option needs an argument, assign it.
1283 if test -n "$ac_prev"; then
1284 eval $ac_prev=\$ac_option
1290 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1295 # Accept the important Cygnus configure options, so we can diagnose typos.
1297 case $ac_dashdash$ac_option in
1301 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1303 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1304 bindir=$ac_optarg ;;
1306 -build | --build | --buil | --bui | --bu)
1307 ac_prev=build_alias ;;
1308 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1309 build_alias=$ac_optarg ;;
1311 -cache-file | --cache-file | --cache-fil | --cache-fi \
1312 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1313 ac_prev=cache_file ;;
1314 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1315 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1316 cache_file=$ac_optarg ;;
1318 --config-cache | -C)
1319 cache_file=config.cache ;;
1321 -datadir | --datadir | --datadi | --datad)
1323 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1324 datadir=$ac_optarg ;;
1326 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1327 | --dataroo | --dataro | --datar)
1328 ac_prev=datarootdir ;;
1329 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1330 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1331 datarootdir=$ac_optarg ;;
1333 -disable-* | --disable-*)
1334 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1335 # Reject names that are not valid shell variable names.
1336 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1337 as_fn_error $? "invalid feature name: $ac_useropt"
1338 ac_useropt_orig=$ac_useropt
1339 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1340 case $ac_user_opts in
1342 "enable_$ac_useropt"
1344 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1345 ac_unrecognized_sep=', ';;
1347 eval enable_$ac_useropt=no ;;
1349 -docdir | --docdir | --docdi | --doc | --do)
1351 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1352 docdir=$ac_optarg ;;
1354 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1356 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1357 dvidir=$ac_optarg ;;
1359 -enable-* | --enable-*)
1360 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1361 # Reject names that are not valid shell variable names.
1362 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1363 as_fn_error $? "invalid feature name: $ac_useropt"
1364 ac_useropt_orig=$ac_useropt
1365 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1366 case $ac_user_opts in
1368 "enable_$ac_useropt"
1370 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1371 ac_unrecognized_sep=', ';;
1373 eval enable_$ac_useropt=\$ac_optarg ;;
1375 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1376 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1377 | --exec | --exe | --ex)
1378 ac_prev=exec_prefix ;;
1379 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1380 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1381 | --exec=* | --exe=* | --ex=*)
1382 exec_prefix=$ac_optarg ;;
1384 -gas | --gas | --ga | --g)
1385 # Obsolete; use --with-gas.
1388 -help | --help | --hel | --he | -h)
1389 ac_init_help=long ;;
1390 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1391 ac_init_help=recursive ;;
1392 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1393 ac_init_help=short ;;
1395 -host | --host | --hos | --ho)
1396 ac_prev=host_alias ;;
1397 -host=* | --host=* | --hos=* | --ho=*)
1398 host_alias=$ac_optarg ;;
1400 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1402 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1404 htmldir=$ac_optarg ;;
1406 -includedir | --includedir | --includedi | --included | --include \
1407 | --includ | --inclu | --incl | --inc)
1408 ac_prev=includedir ;;
1409 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1410 | --includ=* | --inclu=* | --incl=* | --inc=*)
1411 includedir=$ac_optarg ;;
1413 -infodir | --infodir | --infodi | --infod | --info | --inf)
1415 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1416 infodir=$ac_optarg ;;
1418 -libdir | --libdir | --libdi | --libd)
1420 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1421 libdir=$ac_optarg ;;
1423 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1424 | --libexe | --libex | --libe)
1425 ac_prev=libexecdir ;;
1426 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1427 | --libexe=* | --libex=* | --libe=*)
1428 libexecdir=$ac_optarg ;;
1430 -localedir | --localedir | --localedi | --localed | --locale)
1431 ac_prev=localedir ;;
1432 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1433 localedir=$ac_optarg ;;
1435 -localstatedir | --localstatedir | --localstatedi | --localstated \
1436 | --localstate | --localstat | --localsta | --localst | --locals)
1437 ac_prev=localstatedir ;;
1438 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1439 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1440 localstatedir=$ac_optarg ;;
1442 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1444 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1445 mandir=$ac_optarg ;;
1447 -nfp | --nfp | --nf)
1448 # Obsolete; use --without-fp.
1451 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1452 | --no-cr | --no-c | -n)
1455 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1456 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1459 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1460 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1461 | --oldin | --oldi | --old | --ol | --o)
1462 ac_prev=oldincludedir ;;
1463 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1464 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1465 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1466 oldincludedir=$ac_optarg ;;
1468 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1470 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1471 prefix=$ac_optarg ;;
1473 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1474 | --program-pre | --program-pr | --program-p)
1475 ac_prev=program_prefix ;;
1476 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1477 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1478 program_prefix=$ac_optarg ;;
1480 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1481 | --program-suf | --program-su | --program-s)
1482 ac_prev=program_suffix ;;
1483 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1484 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1485 program_suffix=$ac_optarg ;;
1487 -program-transform-name | --program-transform-name \
1488 | --program-transform-nam | --program-transform-na \
1489 | --program-transform-n | --program-transform- \
1490 | --program-transform | --program-transfor \
1491 | --program-transfo | --program-transf \
1492 | --program-trans | --program-tran \
1493 | --progr-tra | --program-tr | --program-t)
1494 ac_prev=program_transform_name ;;
1495 -program-transform-name=* | --program-transform-name=* \
1496 | --program-transform-nam=* | --program-transform-na=* \
1497 | --program-transform-n=* | --program-transform-=* \
1498 | --program-transform=* | --program-transfor=* \
1499 | --program-transfo=* | --program-transf=* \
1500 | --program-trans=* | --program-tran=* \
1501 | --progr-tra=* | --program-tr=* | --program-t=*)
1502 program_transform_name=$ac_optarg ;;
1504 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1506 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1507 pdfdir=$ac_optarg ;;
1509 -psdir | --psdir | --psdi | --psd | --ps)
1511 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1514 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1515 | -silent | --silent | --silen | --sile | --sil)
1518 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1520 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1522 sbindir=$ac_optarg ;;
1524 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1525 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1526 | --sharedst | --shareds | --shared | --share | --shar \
1528 ac_prev=sharedstatedir ;;
1529 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1530 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1531 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1533 sharedstatedir=$ac_optarg ;;
1535 -site | --site | --sit)
1537 -site=* | --site=* | --sit=*)
1540 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1542 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1543 srcdir=$ac_optarg ;;
1545 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1546 | --syscon | --sysco | --sysc | --sys | --sy)
1547 ac_prev=sysconfdir ;;
1548 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1549 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1550 sysconfdir=$ac_optarg ;;
1552 -target | --target | --targe | --targ | --tar | --ta | --t)
1553 ac_prev=target_alias ;;
1554 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1555 target_alias=$ac_optarg ;;
1557 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1560 -version | --version | --versio | --versi | --vers | -V)
1561 ac_init_version=: ;;
1564 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1565 # Reject names that are not valid shell variable names.
1566 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1567 as_fn_error $? "invalid package name: $ac_useropt"
1568 ac_useropt_orig=$ac_useropt
1569 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1570 case $ac_user_opts in
1574 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1575 ac_unrecognized_sep=', ';;
1577 eval with_$ac_useropt=\$ac_optarg ;;
1579 -without-* | --without-*)
1580 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
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--without-$ac_useropt_orig"
1591 ac_unrecognized_sep=', ';;
1593 eval with_$ac_useropt=no ;;
1596 # Obsolete; use --with-x.
1599 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1600 | --x-incl | --x-inc | --x-in | --x-i)
1601 ac_prev=x_includes ;;
1602 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1603 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1604 x_includes=$ac_optarg ;;
1606 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1607 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1608 ac_prev=x_libraries ;;
1609 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1610 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1611 x_libraries=$ac_optarg ;;
1613 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1614 Try \`$0 --help' for more information"
1618 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1619 # Reject names that are not valid shell variable names.
1620 case $ac_envvar in #(
1621 '' | [0-9]* | *[!_$as_cr_alnum]* )
1622 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1624 eval $ac_envvar=\$ac_optarg
1625 export $ac_envvar ;;
1628 # FIXME: should be removed in autoconf 3.0.
1629 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1630 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1631 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1632 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1638 if test -n "$ac_prev"; then
1639 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1640 as_fn_error $? "missing argument to $ac_option"
1643 if test -n "$ac_unrecognized_opts"; then
1644 case $enable_option_checking in
1646 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1647 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1651 # Check all directory arguments for consistency.
1652 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1653 datadir sysconfdir sharedstatedir localstatedir includedir \
1654 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1655 libdir localedir mandir
1657 eval ac_val=\$$ac_var
1658 # Remove trailing slashes.
1661 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1662 eval $ac_var=\$ac_val;;
1664 # Be sure to have absolute directory names.
1666 [\\/$]* | ?:[\\/]* ) continue;;
1667 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1669 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1672 # There might be people who depend on the old broken behavior: `$host'
1673 # used to hold the argument of --host etc.
1674 # FIXME: To remove some day.
1677 target=$target_alias
1679 # FIXME: To remove some day.
1680 if test "x$host_alias" != x; then
1681 if test "x$build_alias" = x; then
1682 cross_compiling=maybe
1683 elif test "x$build_alias" != "x$host_alias"; then
1689 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1691 test "$silent" = yes && exec 6>/dev/null
1694 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1695 ac_ls_di=`ls -di .` &&
1696 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1697 as_fn_error $? "working directory cannot be determined"
1698 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1699 as_fn_error $? "pwd does not report name of working directory"
1702 # Find the source files, if location was not specified.
1703 if test -z "$srcdir"; then
1704 ac_srcdir_defaulted=yes
1705 # Try the directory containing this script, then the parent directory.
1706 ac_confdir=`$as_dirname -- "$as_myself" ||
1707 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1708 X"$as_myself" : 'X\(//\)[^/]' \| \
1709 X"$as_myself" : 'X\(//\)$' \| \
1710 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1711 $as_echo X"$as_myself" |
1712 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1730 if test ! -r "$srcdir/$ac_unique_file"; then
1734 ac_srcdir_defaulted=no
1736 if test ! -r "$srcdir/$ac_unique_file"; then
1737 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1738 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1740 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1742 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1744 # When building in place, set srcdir=.
1745 if test "$ac_abs_confdir" = "$ac_pwd"; then
1748 # Remove unnecessary trailing slashes from srcdir.
1749 # Double slashes in file names in object file debugging info
1750 # mess up M-x gdb in Emacs.
1752 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1754 for ac_var in $ac_precious_vars; do
1755 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1756 eval ac_env_${ac_var}_value=\$${ac_var}
1757 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1758 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1762 # Report the --help message.
1764 if test "$ac_init_help" = "long"; then
1765 # Omit some internal or obsolete options to make the list less imposing.
1766 # This message is too long to be a string in the A/UX 3.1 sh.
1768 \`configure' configures syncevolution 1.5 to adapt to many kinds of systems.
1770 Usage: $0 [OPTION]... [VAR=VALUE]...
1772 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1773 VAR=VALUE. See below for descriptions of some of the useful variables.
1775 Defaults for the options are specified in brackets.
1778 -h, --help display this help and exit
1779 --help=short display options specific to this package
1780 --help=recursive display the short help of all the included packages
1781 -V, --version display version information and exit
1782 -q, --quiet, --silent do not print \`checking ...' messages
1783 --cache-file=FILE cache test results in FILE [disabled]
1784 -C, --config-cache alias for \`--cache-file=config.cache'
1785 -n, --no-create do not create output files
1786 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1788 Installation directories:
1789 --prefix=PREFIX install architecture-independent files in PREFIX
1790 [$ac_default_prefix]
1791 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1794 By default, \`make install' will install all the files in
1795 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1796 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1797 for instance \`--prefix=\$HOME'.
1799 For better control, use the options below.
1801 Fine tuning of the installation directories:
1802 --bindir=DIR user executables [EPREFIX/bin]
1803 --sbindir=DIR system admin executables [EPREFIX/sbin]
1804 --libexecdir=DIR program executables [EPREFIX/libexec]
1805 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1806 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1807 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1808 --libdir=DIR object code libraries [EPREFIX/lib]
1809 --includedir=DIR C header files [PREFIX/include]
1810 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1811 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1812 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1813 --infodir=DIR info documentation [DATAROOTDIR/info]
1814 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1815 --mandir=DIR man documentation [DATAROOTDIR/man]
1816 --docdir=DIR documentation root [DATAROOTDIR/doc/syncevolution]
1817 --htmldir=DIR html documentation [DOCDIR]
1818 --dvidir=DIR dvi documentation [DOCDIR]
1819 --pdfdir=DIR pdf documentation [DOCDIR]
1820 --psdir=DIR ps documentation [DOCDIR]
1826 --program-prefix=PREFIX prepend PREFIX to installed program names
1827 --program-suffix=SUFFIX append SUFFIX to installed program names
1828 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1831 --build=BUILD configure for building on BUILD [guessed]
1832 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1836 if test -n "$ac_init_help"; then
1837 case $ac_init_help in
1838 short | recursive ) echo "Configuration of syncevolution 1.5:";;
1843 --disable-option-checking ignore unrecognized --enable/--with options
1844 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1845 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1846 --disable-release-mode Controls whether resulting binary is for end-users
1847 or testers/developers. For example, stable releases
1848 automatically migrate on-disk files without asking,
1849 whereas other releases ask before making downgrades
1850 impossible (or difficult). Default in this source
1851 code is "stable release: yes"
1852 --enable-silent-rules less verbose build output (undo: `make V=1')
1853 --disable-silent-rules verbose build output (undo: `make V=0')
1854 --disable-dependency-tracking speeds up one-time build
1855 --enable-dependency-tracking do not reject slow dependency extractors
1856 --disable-maintainer-mode disable make rules and dependencies not useful
1857 (and sometimes confusing) to the casual installer
1858 --enable-shared[=PKGS] build shared libraries [default=yes]
1859 --enable-static[=PKGS] build static libraries [default=yes]
1860 --enable-fast-install[=PKGS]
1861 optimize for fast installation [default=yes]
1862 --disable-libtool-lock avoid locking (might break parallel builds)
1863 --enable-warnings=[min|max|fatal|no]
1864 control compiler pickyness [min]
1865 --enable-shared build backends as dynamically loadable modules
1866 --enable-static build backends also as static libraries
1867 --enable-unit-tests enables tests embedded in the source code of the
1868 library (changes content of executable)
1869 --enable-integration-tests
1870 enables tests outside of the library (can be used
1871 together with normal builds of the library)
1872 --enable-static-cxx build executables which contain libstdc++ instead of
1873 requiring suitable libstdc++.so to run
1874 --enable-evolution-compatibility
1875 build executables which only call Evolution via
1876 dlopen/dlsym: this avoids all hard dependencies on
1877 EDS shared objects, but might lead to crashes when
1878 their ABI changes; use
1879 --enable-evolution-compatibility=ical to enable a
1880 weaker mode where linking is done normally and only
1881 libical.so.0/1 enum differences are worked around
1882 (allows patching resulting executables to use either
1884 --disable-internal-icaltz
1885 libical 1.0 updated its system zone data parsing
1886 code so that it produces VTIMEZONEs which are
1887 unsuitable for syncing. SyncEvolution ships with a
1888 copy of the older code and uses it by default.
1889 --enable-developer-mode The dynamic loadble backend libraries is loaded from
1890 current build directory instead of the standard
1892 --enable-maemo enables some hacks which work around problems with
1893 the Maemo 2.0 until at least 3.0 EDS-Dbus
1894 --enable-libcurl enable libcurl as transport layer
1895 --enable-libsoup enable libsoup as transport layer
1896 --enable-dlt enable logging via GENIVI Diagnostic Log and Trace
1898 --enable-bluetooth enable bluetooth transport support
1899 --disable-ssl-certificate-check
1900 Disable SSL certificate checking in all server
1901 *templates*. Users can still choose to enable or
1902 disable it in their configuration. This is necessary
1903 on platforms where the transport library has
1904 problems verifying the server's certificate (libsoup
1906 http://bugzilla.moblin.org/show_bug.cgi?id=4551)
1907 --enable-gtk=major version
1908 Selects the gtk+ version ("2" or "3") to use for the
1909 UI. If this option is used, --enable-gui should be
1910 used as well. "3" is the default option if
1911 available, otherwise "2".
1912 --enable-gui=gui type enables building the GTK+ UI that uses the
1913 SyncEvolution DBus API. Options: gtk, moblin, all
1914 (builds sync-ui-gtk and sync-ui-moblin) "gtk" is the
1915 default for --enable-gui without type. No GUI is
1916 built when --enable-gui is not used.
1917 --enable-core enables building the core SyncEvolution (library,
1919 --enable-dbus-service=args
1920 Enables building the dbus service executable and all
1921 related features (the DBus wrapper library, command
1922 line usage of server, etc). The optional arguments
1923 are syncevo-dbus-server command line arguments that
1924 are used when auto-starting via D-Bus or .desktop
1925 file. By default, the daemon logs to syslog. This
1926 can be changed via command line arguments.
1927 --enable-notify send notifications for automatic sync events, using
1929 --enable-notify-compatibility
1930 increase compatibility with binary libnotify
1931 installations by loading libnotify.so.1..4
1932 dynamically instead of linking against it
1933 --enable-mlite send notifications for automatic sync events, using
1934 mlite (off by default)
1935 --enable-dbus-service-pim=<locale>
1936 Enable implementation of org._01.pim D-Bus APIs
1937 (depends on libfolks), using
1938 src/dbus/server/pim/locale-factory-<locale>.cpp to
1939 implement sorting and searching. The default is
1940 <locale>=boost, which uses boost::locale.
1941 --disable-nls do not use Native Language Support
1942 --enable-gnome-bluetooth-panel-plugin
1943 GNOME Bluetooth panel plugin adding a "sync" button
1944 for paired devices (off by default)
1945 --enable-doc generate backend and DBus API documentation
1946 --enable-activesync enable access to servers via ActiveSync (default
1948 --disable-akonadi disable access to Akonadi (default is to use it if
1949 akonadi.pc is found)
1950 --disable-ebook disable access to Evolution addressbooks (must be
1951 used to compile without it)
1952 --disable-ecal disable access to Evolution calendars and tasks
1953 (must be used to compile without it)
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 --disable-goa enables or disables support for the GNOME Online
1959 Account single-sign-on system; default is on
1960 --enable-kcalextended enable support for Maemo's KCalExtended storage
1961 --enable-kwallet enable access to KWallet
1962 --enable-maemocal enable access to PIM data stored in Maemo 5 calendar
1963 application (default off)
1964 --enable-oauth2 enables or disables support for refresh token
1965 single-sign-on system without HMI; default is on if
1966 development files are available
1967 --enable-pbap enable Phone Book Access Protocol (PBAP) based
1968 backend which provides one-way synchronization
1970 --enable-qtcontacts enable support for QtMobility's QtContacts storage
1971 --enable-gsso enables or disables support for the gSSO + Accounts
1972 single-sign-on system; default is on if development
1974 --enable-uoa enables or disables support for the UOA
1975 single-sign-on system; default is on if development
1977 --enable-sign enables or disables support for the UOA or gSSO
1978 single-sign-on system without Accounts; default is
1979 on if development files are available
1980 --enable-sqlite enable access to PIM data stored in SQLite files
1981 (experimental, default off)
1982 --enable-dav enable WebDAV based backends (CalDAV) (default off)
1983 --enable-neon-compatibility
1984 increase compatibility with binary libneon
1985 installations by loading libneon[-gnutls].27.so
1986 dynamically instead of linking against it
1987 --enable-xmlrpc enable XMLRPC-based backend which stores items on a
1988 central web service (default off)
1989 --enable-qt-dbus build Qt bindings for D-Bus
1990 --enable-dbus-timeout-hack
1991 Enables code which overrides the default timeout in
1992 dbus_connection_send_with_reply() so that the method
1993 call never times out. Needed for libecal/ebook >=
1994 2.30, so enabled by default if either of these is
1998 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1999 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2000 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
2002 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
2003 --with-sysroot=DIR Search for dependent libraries within DIR
2004 (or the compiler's sysroot if not specified).
2005 --with-boost[=ARG] use Boost library from a standard location
2006 (ARG=yes), from the specified location (ARG=<path>),
2007 or disable it (ARG=no) [ARG=yes]
2008 --with-boost-libdir=LIB_DIR
2009 Force given directory for boost libraries. Note that
2010 this will override library path detection, so use
2011 this parameter only if default library detection
2012 fails and you know exactly where your boost
2013 libraries are located.
2014 --with-synthesis-src=<base directory|svn URL|git URL>
2015 Specifies location of the Synthesis root directory.
2016 Use this when the Synthesis library is to be
2017 compiled as part of the SyncEvolution compilation.
2018 In release versions of SyncEvolution, a copy of the
2019 Synthesis code is bundled under 'src/synthesis' and
2020 compiled unless something else is specified.
2021 --with-synthesis-src can be given a path to sources
2022 checked out already, a Subversion repository URL or
2023 a git repository URL. When given a repository URL,
2024 then the configure script will checkout the sources
2025 into 'src/synthesis-workdir' or update that working
2026 copy if the directory already exists. Default:
2027 bundled source in src/synthesis (in released
2028 SyncEvolution sources), otherwise.
2029 --with-syncml-engines=client|server|both
2030 Determines which kind of support for SyncML is
2031 compiled and linked into SyncEvolution. Default is
2032 both. Currently has no effect.
2033 --with-synthesis-username=<svn username>
2034 username to use when checking out
2035 --with-synthesis-src sources from Subversion,
2037 --with-synthesis-revision=<git tag/branch/hash or Subversion revision>
2038 Identifies which source revision to use from
2039 --with-synthesis-src repository, empty string stands
2040 for latest. Default for default --synthesis-src:
2042 --with-ca-certificates=<colon separated list of files>
2043 Specifies location of one or more CA certificate
2044 files. This sets the default value for the
2045 SSLServerCertificates option. Default: empty when
2046 using libcurl (because it has its own default), a
2047 list of paths known to work for Debian and Red Hat
2049 --with-dlt-syncevolution=SYNS,SYNH,SYNL
2050 controls the application IDs used by
2051 syncevo-dbus-server, syncevo-dbus-helper and
2053 --with-gio-gdbus enables use of GIO's GDBus instead of the in-tree,
2055 --with-boost-locale[=special-lib]
2056 use the Locale library from boost - it is possible
2057 to specify a certain library for the linker e.g.
2058 --with-boost-locale=boost_locale-gcc-mt
2059 --with-rst2man=<path to reStructuredText to man converter>
2060 Specifies an explicit path to the utility if not
2061 found in PATH. An explicit --without-rst2man or not
2062 having it installed turn off building of man pages.
2063 --with-rst2html=<path to reStructuredText to HTML converter>
2064 Specifies an explicit path to the utility if not
2065 found in PATH. An explicit --without-rst2html or not
2066 having it installed turn off building of README in
2068 --with-activesyncd-src=<base directory>
2069 Specifies location of the activesyncd source root
2070 directory. Use this when activesyncd is to be
2071 compiled as part of the SyncEvolution compilation.
2072 --with-google-client-id=...
2073 OAuth2 client ID for google.provider
2074 --with-google-client-secret=...
2075 OAuth2 client secret for google.provider
2076 --with-google-client-id-caldav=...
2077 OAuth2 client ID for google-caldav.service
2078 --with-google-client-secret-caldav=...
2079 OAuth2 client secret for google-caldav.service
2080 --with-google-client-id-carddav=...
2081 OAuth2 client ID for google-carddav.service
2082 --with-google-client-secret-carddav=...
2083 OAuth2 client secret for google-carddav.service
2084 --with-qt Path to Qt [Look in PATH and /usr/local/Trolltech]
2086 Some influential environment variables:
2087 CC C compiler command
2088 CFLAGS C compiler flags
2089 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2090 nonstandard directory <lib dir>
2091 LIBS libraries to pass to the linker, e.g. -l<library>
2092 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2093 you have headers in a nonstandard directory <include dir>
2095 CXX C++ compiler command
2096 CXXFLAGS C++ compiler flags
2097 CXXCPP C++ preprocessor
2098 PKG_CONFIG path to pkg-config utility
2100 directories to add to pkg-config's search path
2102 path overriding pkg-config's built-in search path
2104 C compiler flags for LIBSOUP, overriding pkg-config
2106 linker flags for LIBSOUP, overriding pkg-config
2108 C compiler flags for LIBOPENOBEX, overriding pkg-config
2110 linker flags for LIBOPENOBEX, overriding pkg-config
2112 C compiler flags for BLUEZ, overriding pkg-config
2113 BLUEZ_LIBS linker flags for BLUEZ, overriding pkg-config
2114 DLT_CFLAGS C compiler flags for DLT, overriding pkg-config
2115 DLT_LIBS linker flags for DLT, overriding pkg-config
2116 DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
2117 DBUS_LIBS linker flags for DBUS, overriding pkg-config
2119 C compiler flags for LIBNOTIFY, overriding pkg-config
2121 linker flags for LIBNOTIFY, overriding pkg-config
2123 C compiler flags for MLITE, overriding pkg-config
2124 MLITE_LIBS linker flags for MLITE, overriding pkg-config
2126 C compiler flags for FOLKS, overriding pkg-config
2127 FOLKS_LIBS linker flags for FOLKS, overriding pkg-config
2128 ICU_CFLAGS C compiler flags for ICU, overriding pkg-config
2129 ICU_LIBS linker flags for ICU, overriding pkg-config
2131 C compiler flags for DBUS_GLIB, overriding pkg-config
2133 linker flags for DBUS_GLIB, overriding pkg-config
2134 MX_GTK_0_99_1_CFLAGS
2135 C compiler flags for MX_GTK_0_99_1, overriding pkg-config
2137 linker flags for MX_GTK_0_99_1, overriding pkg-config
2139 C compiler flags for UNIQUE, overriding pkg-config
2140 UNIQUE_LIBS linker flags for UNIQUE, overriding pkg-config
2142 C compiler flags for GTK_2_18, overriding pkg-config
2144 linker flags for GTK_2_18, overriding pkg-config
2145 GUI_CFLAGS C compiler flags for GUI, overriding pkg-config
2146 GUI_LIBS linker flags for GUI, overriding pkg-config
2148 C compiler flags for PCRECPP, overriding pkg-config
2150 linker flags for PCRECPP, overriding pkg-config
2152 C compiler flags for SYNTHESIS, overriding pkg-config
2154 linker flags for SYNTHESIS, overriding pkg-config
2155 WITH_SYNTHESIS_SRC_CFLAGS
2156 C compiler flags for WITH_SYNTHESIS_SRC, overriding pkg-config
2157 WITH_SYNTHESIS_SRC_LIBS
2158 linker flags for WITH_SYNTHESIS_SRC, overriding pkg-config
2159 GNOMEBLUETOOTH_CFLAGS
2160 C compiler flags for GNOMEBLUETOOTH, overriding pkg-config
2162 linker flags for GNOMEBLUETOOTH, overriding pkg-config
2164 C compiler flags for EASCLIENT, overriding pkg-config
2166 linker flags for EASCLIENT, overriding pkg-config
2168 C compiler flags for EPACKAGE, overriding pkg-config
2170 linker flags for EPACKAGE, overriding pkg-config
2171 ECAL_CFLAGS C compiler flags for ECAL, overriding pkg-config
2172 ECAL_LIBS linker flags for ECAL, overriding pkg-config
2174 C compiler flags for EBOOK, overriding pkg-config
2175 EBOOK_LIBS linker flags for EBOOK, overriding pkg-config
2176 EBOOK_VERSION_CFLAGS
2177 C compiler flags for EBOOK_VERSION, overriding pkg-config
2179 linker flags for EBOOK_VERSION, overriding pkg-config
2181 C compiler flags for EDS_VERSION, overriding pkg-config
2183 linker flags for EDS_VERSION, overriding pkg-config
2185 C compiler flags for KEYRING, overriding pkg-config
2187 linker flags for KEYRING, overriding pkg-config
2189 C compiler flags for KCALEXTENDED, overriding pkg-config
2191 linker flags for KCALEXTENDED, overriding pkg-config
2193 C compiler flags for MCALB, overriding pkg-config
2194 MCALB_LIBS linker flags for MCALB, overriding pkg-config
2195 JSON_CFLAGS C compiler flags for JSON, overriding pkg-config
2196 JSON_LIBS linker flags for JSON, overriding pkg-config
2197 GSSO_CFLAGS C compiler flags for GSSO, overriding pkg-config
2198 GSSO_LIBS linker flags for GSSO, overriding pkg-config
2199 UOA_CFLAGS C compiler flags for UOA, overriding pkg-config
2200 UOA_LIBS linker flags for UOA, overriding pkg-config
2202 C compiler flags for ACCOUNTS, overriding pkg-config
2204 linker flags for ACCOUNTS, overriding pkg-config
2206 C compiler flags for SQLITE, overriding pkg-config
2207 SQLITE_LIBS linker flags for SQLITE, overriding pkg-config
2208 NEON_CFLAGS C compiler flags for NEON, overriding pkg-config
2209 NEON_LIBS linker flags for NEON, overriding pkg-config
2210 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
2211 GLIB_LIBS linker flags for GLIB, overriding pkg-config
2213 C compiler flags for GTHREAD, overriding pkg-config
2215 linker flags for GTHREAD, overriding pkg-config
2217 C compiler flags for GOBJECT, overriding pkg-config
2219 linker flags for GOBJECT, overriding pkg-config
2220 GIO_CFLAGS C compiler flags for GIO, overriding pkg-config
2221 GIO_LIBS linker flags for GIO, overriding pkg-config
2223 C compiler flags for GIOUNIX, overriding pkg-config
2225 linker flags for GIOUNIX, overriding pkg-config
2227 C compiler flags for LIBICAL, overriding pkg-config
2229 linker flags for LIBICAL, overriding pkg-config
2230 QT_PATH Path to the Qt installation
2231 QMAKE Qt Makefile generator command
2232 MOC Qt Meta Object Compiler command
2233 UIC Qt User Interface Compiler command
2234 RCC Qt Resource Compiler command
2236 C compiler flags for GLIB216, overriding pkg-config
2238 linker flags for GLIB216, overriding pkg-config
2239 NSS_CFLAGS C compiler flags for NSS, overriding pkg-config
2240 NSS_LIBS linker flags for NSS, overriding pkg-config
2241 LIBICAL_AVAILABLE_CFLAGS
2242 C compiler flags for LIBICAL_AVAILABLE, overriding pkg-config
2243 LIBICAL_AVAILABLE_LIBS
2244 linker flags for LIBICAL_AVAILABLE, overriding pkg-config
2246 Use these variables to override the choices made by `configure' or to help
2247 it to find libraries and programs with nonstandard names/locations.
2249 Report bugs to the package provider.
2254 if test "$ac_init_help" = "recursive"; then
2255 # If there are subdirs, report their specific --help.
2256 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2257 test -d "$ac_dir" ||
2258 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2263 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2265 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2266 # A ".." for each directory in $ac_dir_suffix.
2267 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2268 case $ac_top_builddir_sub in
2269 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2270 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2273 ac_abs_top_builddir=$ac_pwd
2274 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2275 # for backward compatibility:
2276 ac_top_builddir=$ac_top_build_prefix
2279 .) # We are building in place.
2281 ac_top_srcdir=$ac_top_builddir_sub
2282 ac_abs_top_srcdir=$ac_pwd ;;
2283 [\\/]* | ?:[\\/]* ) # Absolute name.
2284 ac_srcdir=$srcdir$ac_dir_suffix;
2285 ac_top_srcdir=$srcdir
2286 ac_abs_top_srcdir=$srcdir ;;
2288 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2289 ac_top_srcdir=$ac_top_build_prefix$srcdir
2290 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2292 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2294 cd "$ac_dir" || { ac_status=$?; continue; }
2295 # Check for guested configure.
2296 if test -f "$ac_srcdir/configure.gnu"; then
2298 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2299 elif test -f "$ac_srcdir/configure"; then
2301 $SHELL "$ac_srcdir/configure" --help=recursive
2303 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2305 cd "$ac_pwd" || { ac_status=$?; break; }
2309 test -n "$ac_init_help" && exit $ac_status
2310 if $ac_init_version; then
2312 syncevolution configure 1.5
2313 generated by GNU Autoconf 2.69
2315 Copyright (C) 2012 Free Software Foundation, Inc.
2316 This configure script is free software; the Free Software Foundation
2317 gives unlimited permission to copy, distribute and modify it.
2322 ## ------------------------ ##
2323 ## Autoconf initialization. ##
2324 ## ------------------------ ##
2326 # ac_fn_c_try_compile LINENO
2327 # --------------------------
2328 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2329 ac_fn_c_try_compile ()
2331 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2332 rm -f conftest.$ac_objext
2333 if { { ac_try="$ac_compile"
2335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2336 *) ac_try_echo=$ac_try;;
2338 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2339 $as_echo "$ac_try_echo"; } >&5
2340 (eval "$ac_compile") 2>conftest.err
2342 if test -s conftest.err; then
2343 grep -v '^ *+' conftest.err >conftest.er1
2344 cat conftest.er1 >&5
2345 mv -f conftest.er1 conftest.err
2347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2348 test $ac_status = 0; } && {
2349 test -z "$ac_c_werror_flag" ||
2350 test ! -s conftest.err
2351 } && test -s conftest.$ac_objext; then :
2354 $as_echo "$as_me: failed program was:" >&5
2355 sed 's/^/| /' conftest.$ac_ext >&5
2359 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2360 as_fn_set_status $ac_retval
2362 } # ac_fn_c_try_compile
2364 # ac_fn_c_try_link LINENO
2365 # -----------------------
2366 # Try to link conftest.$ac_ext, and return whether this succeeded.
2369 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2370 rm -f conftest.$ac_objext conftest$ac_exeext
2371 if { { ac_try="$ac_link"
2373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2374 *) ac_try_echo=$ac_try;;
2376 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2377 $as_echo "$ac_try_echo"; } >&5
2378 (eval "$ac_link") 2>conftest.err
2380 if test -s conftest.err; then
2381 grep -v '^ *+' conftest.err >conftest.er1
2382 cat conftest.er1 >&5
2383 mv -f conftest.er1 conftest.err
2385 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2386 test $ac_status = 0; } && {
2387 test -z "$ac_c_werror_flag" ||
2388 test ! -s conftest.err
2389 } && test -s conftest$ac_exeext && {
2390 test "$cross_compiling" = yes ||
2391 test -x conftest$ac_exeext
2395 $as_echo "$as_me: failed program was:" >&5
2396 sed 's/^/| /' conftest.$ac_ext >&5
2400 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2401 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2402 # interfere with the next link command; also delete a directory that is
2403 # left behind by Apple's compiler. We do this before executing the actions.
2404 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2405 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2406 as_fn_set_status $ac_retval
2408 } # ac_fn_c_try_link
2410 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2411 # -------------------------------------------------------
2412 # Tests whether HEADER exists and can be compiled using the include files in
2413 # INCLUDES, setting the cache variable VAR accordingly.
2414 ac_fn_c_check_header_compile ()
2416 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2418 $as_echo_n "checking for $2... " >&6; }
2419 if eval \${$3+:} false; then :
2420 $as_echo_n "(cached) " >&6
2422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2423 /* end confdefs.h. */
2427 if ac_fn_c_try_compile "$LINENO"; then :
2432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2436 $as_echo "$ac_res" >&6; }
2437 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2439 } # ac_fn_c_check_header_compile
2441 # ac_fn_c_try_cpp LINENO
2442 # ----------------------
2443 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2446 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2447 if { { ac_try="$ac_cpp conftest.$ac_ext"
2449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2450 *) ac_try_echo=$ac_try;;
2452 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2453 $as_echo "$ac_try_echo"; } >&5
2454 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2456 if test -s conftest.err; then
2457 grep -v '^ *+' conftest.err >conftest.er1
2458 cat conftest.er1 >&5
2459 mv -f conftest.er1 conftest.err
2461 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2462 test $ac_status = 0; } > conftest.i && {
2463 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2464 test ! -s conftest.err
2468 $as_echo "$as_me: failed program was:" >&5
2469 sed 's/^/| /' conftest.$ac_ext >&5
2473 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2474 as_fn_set_status $ac_retval
2478 # ac_fn_c_try_run LINENO
2479 # ----------------------
2480 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2481 # that executables *can* be run.
2484 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2485 if { { ac_try="$ac_link"
2487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2488 *) ac_try_echo=$ac_try;;
2490 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2491 $as_echo "$ac_try_echo"; } >&5
2492 (eval "$ac_link") 2>&5
2494 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2495 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2496 { { case "(($ac_try" in
2497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2498 *) ac_try_echo=$ac_try;;
2500 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2501 $as_echo "$ac_try_echo"; } >&5
2502 (eval "$ac_try") 2>&5
2504 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2505 test $ac_status = 0; }; }; then :
2508 $as_echo "$as_me: program exited with status $ac_status" >&5
2509 $as_echo "$as_me: failed program was:" >&5
2510 sed 's/^/| /' conftest.$ac_ext >&5
2512 ac_retval=$ac_status
2514 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2515 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2516 as_fn_set_status $ac_retval
2520 # ac_fn_c_check_func LINENO FUNC VAR
2521 # ----------------------------------
2522 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2523 ac_fn_c_check_func ()
2525 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2527 $as_echo_n "checking for $2... " >&6; }
2528 if eval \${$3+:} false; then :
2529 $as_echo_n "(cached) " >&6
2531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2532 /* end confdefs.h. */
2533 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2534 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2535 #define $2 innocuous_$2
2537 /* System header to define __stub macros and hopefully few prototypes,
2538 which can conflict with char $2 (); below.
2539 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2540 <limits.h> exists even on freestanding compilers. */
2543 # include <limits.h>
2545 # include <assert.h>
2550 /* Override any GCC internal prototype to avoid an error.
2551 Use char because int might match the return type of a GCC
2552 builtin and then its argument prototype would still apply. */
2557 /* The GNU C library defines this for functions which it implements
2558 to always fail with ENOSYS. Some functions are actually named
2559 something starting with __ and the normal name is an alias. */
2560 #if defined __stub_$2 || defined __stub___$2
2572 if ac_fn_c_try_link "$LINENO"; then :
2577 rm -f core conftest.err conftest.$ac_objext \
2578 conftest$ac_exeext conftest.$ac_ext
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2582 $as_echo "$ac_res" >&6; }
2583 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2585 } # ac_fn_c_check_func
2587 # ac_fn_cxx_try_compile LINENO
2588 # ----------------------------
2589 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2590 ac_fn_cxx_try_compile ()
2592 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2593 rm -f conftest.$ac_objext
2594 if { { ac_try="$ac_compile"
2596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2597 *) ac_try_echo=$ac_try;;
2599 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2600 $as_echo "$ac_try_echo"; } >&5
2601 (eval "$ac_compile") 2>conftest.err
2603 if test -s conftest.err; then
2604 grep -v '^ *+' conftest.err >conftest.er1
2605 cat conftest.er1 >&5
2606 mv -f conftest.er1 conftest.err
2608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2609 test $ac_status = 0; } && {
2610 test -z "$ac_cxx_werror_flag" ||
2611 test ! -s conftest.err
2612 } && test -s conftest.$ac_objext; then :
2615 $as_echo "$as_me: failed program was:" >&5
2616 sed 's/^/| /' conftest.$ac_ext >&5
2620 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2621 as_fn_set_status $ac_retval
2623 } # ac_fn_cxx_try_compile
2625 # ac_fn_cxx_try_cpp LINENO
2626 # ------------------------
2627 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2628 ac_fn_cxx_try_cpp ()
2630 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2631 if { { ac_try="$ac_cpp conftest.$ac_ext"
2633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2634 *) ac_try_echo=$ac_try;;
2636 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2637 $as_echo "$ac_try_echo"; } >&5
2638 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2640 if test -s conftest.err; then
2641 grep -v '^ *+' conftest.err >conftest.er1
2642 cat conftest.er1 >&5
2643 mv -f conftest.er1 conftest.err
2645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2646 test $ac_status = 0; } > conftest.i && {
2647 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2648 test ! -s conftest.err
2652 $as_echo "$as_me: failed program was:" >&5
2653 sed 's/^/| /' conftest.$ac_ext >&5
2657 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2658 as_fn_set_status $ac_retval
2660 } # ac_fn_cxx_try_cpp
2662 # ac_fn_cxx_try_link LINENO
2663 # -------------------------
2664 # Try to link conftest.$ac_ext, and return whether this succeeded.
2665 ac_fn_cxx_try_link ()
2667 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2668 rm -f conftest.$ac_objext conftest$ac_exeext
2669 if { { ac_try="$ac_link"
2671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2672 *) ac_try_echo=$ac_try;;
2674 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2675 $as_echo "$ac_try_echo"; } >&5
2676 (eval "$ac_link") 2>conftest.err
2678 if test -s conftest.err; then
2679 grep -v '^ *+' conftest.err >conftest.er1
2680 cat conftest.er1 >&5
2681 mv -f conftest.er1 conftest.err
2683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2684 test $ac_status = 0; } && {
2685 test -z "$ac_cxx_werror_flag" ||
2686 test ! -s conftest.err
2687 } && test -s conftest$ac_exeext && {
2688 test "$cross_compiling" = yes ||
2689 test -x conftest$ac_exeext
2693 $as_echo "$as_me: failed program was:" >&5
2694 sed 's/^/| /' conftest.$ac_ext >&5
2698 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2699 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2700 # interfere with the next link command; also delete a directory that is
2701 # left behind by Apple's compiler. We do this before executing the actions.
2702 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2703 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2704 as_fn_set_status $ac_retval
2706 } # ac_fn_cxx_try_link
2708 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2709 # -------------------------------------------------------
2710 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2711 # the include files in INCLUDES and setting the cache variable VAR
2713 ac_fn_c_check_header_mongrel ()
2715 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2716 if eval \${$3+:} false; then :
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2718 $as_echo_n "checking for $2... " >&6; }
2719 if eval \${$3+:} false; then :
2720 $as_echo_n "(cached) " >&6
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2724 $as_echo "$ac_res" >&6; }
2726 # Is the header compilable?
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2728 $as_echo_n "checking $2 usability... " >&6; }
2729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2730 /* end confdefs.h. */
2734 if ac_fn_c_try_compile "$LINENO"; then :
2735 ac_header_compiler=yes
2737 ac_header_compiler=no
2739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2741 $as_echo "$ac_header_compiler" >&6; }
2743 # Is the header present?
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2745 $as_echo_n "checking $2 presence... " >&6; }
2746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2747 /* end confdefs.h. */
2750 if ac_fn_c_try_cpp "$LINENO"; then :
2751 ac_header_preproc=yes
2753 ac_header_preproc=no
2755 rm -f conftest.err conftest.i conftest.$ac_ext
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2757 $as_echo "$ac_header_preproc" >&6; }
2759 # So? What about this header?
2760 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2763 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2765 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2769 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2771 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2773 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2775 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2777 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2781 $as_echo_n "checking for $2... " >&6; }
2782 if eval \${$3+:} false; then :
2783 $as_echo_n "(cached) " >&6
2785 eval "$3=\$ac_header_compiler"
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2789 $as_echo "$ac_res" >&6; }
2791 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2793 } # ac_fn_c_check_header_mongrel
2795 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2796 # ---------------------------------------------------------
2797 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2798 # the include files in INCLUDES and setting the cache variable VAR
2800 ac_fn_cxx_check_header_mongrel ()
2802 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2803 if eval \${$3+:} false; then :
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2805 $as_echo_n "checking for $2... " >&6; }
2806 if eval \${$3+:} false; then :
2807 $as_echo_n "(cached) " >&6
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2811 $as_echo "$ac_res" >&6; }
2813 # Is the header compilable?
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2815 $as_echo_n "checking $2 usability... " >&6; }
2816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2817 /* end confdefs.h. */
2821 if ac_fn_cxx_try_compile "$LINENO"; then :
2822 ac_header_compiler=yes
2824 ac_header_compiler=no
2826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2828 $as_echo "$ac_header_compiler" >&6; }
2830 # Is the header present?
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2832 $as_echo_n "checking $2 presence... " >&6; }
2833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2834 /* end confdefs.h. */
2837 if ac_fn_cxx_try_cpp "$LINENO"; then :
2838 ac_header_preproc=yes
2840 ac_header_preproc=no
2842 rm -f conftest.err conftest.i conftest.$ac_ext
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2844 $as_echo "$ac_header_preproc" >&6; }
2846 # So? What about this header?
2847 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2850 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2852 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2856 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2858 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2860 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2862 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2864 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2868 $as_echo_n "checking for $2... " >&6; }
2869 if eval \${$3+:} false; then :
2870 $as_echo_n "(cached) " >&6
2872 eval "$3=\$ac_header_compiler"
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2876 $as_echo "$ac_res" >&6; }
2878 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2880 } # ac_fn_cxx_check_header_mongrel
2882 # ac_fn_cxx_check_func LINENO FUNC VAR
2883 # ------------------------------------
2884 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2885 ac_fn_cxx_check_func ()
2887 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2889 $as_echo_n "checking for $2... " >&6; }
2890 if eval \${$3+:} false; then :
2891 $as_echo_n "(cached) " >&6
2893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2894 /* end confdefs.h. */
2895 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2896 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2897 #define $2 innocuous_$2
2899 /* System header to define __stub macros and hopefully few prototypes,
2900 which can conflict with char $2 (); below.
2901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2902 <limits.h> exists even on freestanding compilers. */
2905 # include <limits.h>
2907 # include <assert.h>
2912 /* Override any GCC internal prototype to avoid an error.
2913 Use char because int might match the return type of a GCC
2914 builtin and then its argument prototype would still apply. */
2919 /* The GNU C library defines this for functions which it implements
2920 to always fail with ENOSYS. Some functions are actually named
2921 something starting with __ and the normal name is an alias. */
2922 #if defined __stub_$2 || defined __stub___$2
2934 if ac_fn_cxx_try_link "$LINENO"; then :
2939 rm -f core conftest.err conftest.$ac_objext \
2940 conftest$ac_exeext conftest.$ac_ext
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2944 $as_echo "$ac_res" >&6; }
2945 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2947 } # ac_fn_cxx_check_func
2948 cat >config.log <<_ACEOF
2949 This file contains any messages produced by compilers while
2950 running configure, to aid debugging if configure makes a mistake.
2952 It was created by syncevolution $as_me 1.5, which was
2953 generated by GNU Autoconf 2.69. Invocation command line was
2965 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2966 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2967 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2968 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2969 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2971 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2972 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2974 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2975 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2976 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2977 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2978 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2979 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2980 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2988 test -z "$as_dir" && as_dir=.
2989 $as_echo "PATH: $as_dir"
3005 # Keep a trace of the command line.
3006 # Strip out --no-create and --no-recursion so they do not pile up.
3007 # Strip out --silent because we don't want to record it for future runs.
3008 # Also quote any args containing shell meta-characters.
3009 # Make two passes to allow for proper duplicate-argument suppression.
3013 ac_must_keep_next=false
3019 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3020 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3021 | -silent | --silent | --silen | --sile | --sil)
3024 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3027 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3029 as_fn_append ac_configure_args1 " '$ac_arg'"
3030 if test $ac_must_keep_next = true; then
3031 ac_must_keep_next=false # Got value, back to normal.
3034 *=* | --config-cache | -C | -disable-* | --disable-* \
3035 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3036 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3037 | -with-* | --with-* | -without-* | --without-* | --x)
3038 case "$ac_configure_args0 " in
3039 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3042 -* ) ac_must_keep_next=true ;;
3045 as_fn_append ac_configure_args " '$ac_arg'"
3050 { ac_configure_args0=; unset ac_configure_args0;}
3051 { ac_configure_args1=; unset ac_configure_args1;}
3053 # When interrupted or exit'd, cleanup temporary files, and complete
3054 # config.log. We remove comments because anyway the quotes in there
3055 # would cause problems or look ugly.
3056 # WARNING: Use '\'' to represent an apostrophe within the trap.
3057 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3058 trap 'exit_status=$?
3059 # Save into config.log some information that might help in debugging.
3063 $as_echo "## ---------------- ##
3064 ## Cache variables. ##
3065 ## ---------------- ##"
3067 # The following way of writing the cache mishandles newlines in values,
3069 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3070 eval ac_val=\$$ac_var
3074 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3075 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3078 _ | IFS | as_nl) ;; #(
3079 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3080 *) { eval $ac_var=; unset $ac_var;} ;;
3085 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3086 *${as_nl}ac_space=\ *)
3088 "s/'\''/'\''\\\\'\'''\''/g;
3089 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3092 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3099 $as_echo "## ----------------- ##
3100 ## Output variables. ##
3101 ## ----------------- ##"
3103 for ac_var in $ac_subst_vars
3105 eval ac_val=\$$ac_var
3107 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3109 $as_echo "$ac_var='\''$ac_val'\''"
3113 if test -n "$ac_subst_files"; then
3114 $as_echo "## ------------------- ##
3115 ## File substitutions. ##
3116 ## ------------------- ##"
3118 for ac_var in $ac_subst_files
3120 eval ac_val=\$$ac_var
3122 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3124 $as_echo "$ac_var='\''$ac_val'\''"
3129 if test -s confdefs.h; then
3130 $as_echo "## ----------- ##
3137 test "$ac_signal" != 0 &&
3138 $as_echo "$as_me: caught signal $ac_signal"
3139 $as_echo "$as_me: exit $exit_status"
3141 rm -f core *.core core.conftest.* &&
3142 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3145 for ac_signal in 1 2 13 15; do
3146 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3150 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3151 rm -f -r conftest* confdefs.h
3153 $as_echo "/* confdefs.h */" > confdefs.h
3155 # Predefined preprocessor variables.
3157 cat >>confdefs.h <<_ACEOF
3158 #define PACKAGE_NAME "$PACKAGE_NAME"
3161 cat >>confdefs.h <<_ACEOF
3162 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3165 cat >>confdefs.h <<_ACEOF
3166 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3169 cat >>confdefs.h <<_ACEOF
3170 #define PACKAGE_STRING "$PACKAGE_STRING"
3173 cat >>confdefs.h <<_ACEOF
3174 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3177 cat >>confdefs.h <<_ACEOF
3178 #define PACKAGE_URL "$PACKAGE_URL"
3182 # Let the site file select an alternate cache file if it wants to.
3183 # Prefer an explicitly selected file to automatically selected ones.
3186 if test -n "$CONFIG_SITE"; then
3187 # We do not want a PATH search for config.site.
3188 case $CONFIG_SITE in #((
3189 -*) ac_site_file1=./$CONFIG_SITE;;
3190 */*) ac_site_file1=$CONFIG_SITE;;
3191 *) ac_site_file1=./$CONFIG_SITE;;
3193 elif test "x$prefix" != xNONE; then
3194 ac_site_file1=$prefix/share/config.site
3195 ac_site_file2=$prefix/etc/config.site
3197 ac_site_file1=$ac_default_prefix/share/config.site
3198 ac_site_file2=$ac_default_prefix/etc/config.site
3200 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3202 test "x$ac_site_file" = xNONE && continue
3203 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3205 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3206 sed 's/^/| /' "$ac_site_file" >&5
3208 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3209 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3210 as_fn_error $? "failed to load site script $ac_site_file
3211 See \`config.log' for more details" "$LINENO" 5; }
3215 if test -r "$cache_file"; then
3216 # Some versions of bash will fail to source /dev/null (special files
3217 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3218 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3220 $as_echo "$as_me: loading cache $cache_file" >&6;}
3222 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3223 *) . "./$cache_file";;
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3228 $as_echo "$as_me: creating cache $cache_file" >&6;}
3232 # Check that the precious variables saved in the cache have kept the same
3234 ac_cache_corrupted=false
3235 for ac_var in $ac_precious_vars; do
3236 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3237 eval ac_new_set=\$ac_env_${ac_var}_set
3238 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3239 eval ac_new_val=\$ac_env_${ac_var}_value
3240 case $ac_old_set,$ac_new_set in
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3243 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3244 ac_cache_corrupted=: ;;
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3247 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3248 ac_cache_corrupted=: ;;
3251 if test "x$ac_old_val" != "x$ac_new_val"; then
3252 # differences in whitespace do not lead to failure.
3253 ac_old_val_w=`echo x $ac_old_val`
3254 ac_new_val_w=`echo x $ac_new_val`
3255 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3257 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3258 ac_cache_corrupted=:
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3261 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3262 eval $ac_var=\$ac_old_val
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3265 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3267 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3270 # Pass precious variables to config.status.
3271 if test "$ac_new_set" = set; then
3273 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3274 *) ac_arg=$ac_var=$ac_new_val ;;
3276 case " $ac_configure_args " in
3277 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3278 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3282 if $ac_cache_corrupted; then
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3284 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3286 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3287 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3289 ## -------------------- ##
3290 ## Main body of script. ##
3291 ## -------------------- ##
3294 ac_cpp='$CPP $CPPFLAGS'
3295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3300 # STABLE_VERSION=1.0.1+
3303 # Generate some files.
3311 # Default value for --enable/disable-release-mode.
3312 # Determined by gen-autotools.sh based on versioning.
3313 # Official, stable releases enable it, pre-releases
3340 # Minimum version of libsynthesis as defined in its
3341 # configure script and thus .pc files:
3344 # Line above is patched by gen-autotools.sh. Handle
3345 # both "yes" and "no".
3348 # Check whether --enable-release-mode was given.
3349 if test "${enable_release_mode+set}" = set; then :
3350 enableval=$enable_release_mode; enable_release_mode="$enableval"
3352 enable_release_mode="yes"
3355 if test "$enable_release_mode" = "yes"; then
3357 $as_echo "#define SYNCEVOLUTION_STABLE_RELEASE 1" >>confdefs.h
3361 am__api_version='1.11'
3364 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3365 if test -f "$ac_dir/install-sh"; then
3367 ac_install_sh="$ac_aux_dir/install-sh -c"
3369 elif test -f "$ac_dir/install.sh"; then
3371 ac_install_sh="$ac_aux_dir/install.sh -c"
3373 elif test -f "$ac_dir/shtool"; then
3375 ac_install_sh="$ac_aux_dir/shtool install -c"
3379 if test -z "$ac_aux_dir"; then
3380 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3383 # These three variables are undocumented and unsupported,
3384 # and are intended to be withdrawn in a future Autoconf release.
3385 # They can cause serious problems if a builder's source tree is in a directory
3386 # whose full name contains unusual characters.
3387 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3388 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3389 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3392 # Find a good install program. We prefer a C program (faster),
3393 # so one script is as good as another. But avoid the broken or
3394 # incompatible versions:
3395 # SysV /etc/install, /usr/sbin/install
3396 # SunOS /usr/etc/install
3397 # IRIX /sbin/install
3399 # AmigaOS /C/install, which installs bootblocks on floppy discs
3400 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3401 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3402 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3403 # OS/2's system install, which has a completely different semantic
3404 # ./install, which can be erroneously created by make from ./install.sh.
3405 # Reject install programs that cannot install multiple files.
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3407 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3408 if test -z "$INSTALL"; then
3409 if ${ac_cv_path_install+:} false; then :
3410 $as_echo_n "(cached) " >&6
3412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3416 test -z "$as_dir" && as_dir=.
3417 # Account for people who put trailing slashes in PATH elements.
3418 case $as_dir/ in #((
3419 ./ | .// | /[cC]/* | \
3420 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3421 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3424 # OSF1 and SCO ODT 3.0 have their own names for install.
3425 # Don't use installbsd from OSF since it installs stuff as root
3427 for ac_prog in ginstall scoinst install; do
3428 for ac_exec_ext in '' $ac_executable_extensions; do
3429 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3430 if test $ac_prog = install &&
3431 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3432 # AIX install. It has an incompatible calling convention.
3434 elif test $ac_prog = install &&
3435 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3436 # program-specific install script used by HP pwplus--don't use.
3439 rm -rf conftest.one conftest.two conftest.dir
3440 echo one > conftest.one
3441 echo two > conftest.two
3443 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3444 test -s conftest.one && test -s conftest.two &&
3445 test -s conftest.dir/conftest.one &&
3446 test -s conftest.dir/conftest.two
3448 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3461 rm -rf conftest.one conftest.two conftest.dir
3464 if test "${ac_cv_path_install+set}" = set; then
3465 INSTALL=$ac_cv_path_install
3467 # As a last resort, use the slow shell script. Don't cache a
3468 # value for INSTALL within a source directory, because that will
3469 # break other packages using the cache if that directory is
3470 # removed, or if the value is a relative name.
3471 INSTALL=$ac_install_sh
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3475 $as_echo "$INSTALL" >&6; }
3477 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3478 # It thinks the first close brace ends the variable substitution.
3479 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3481 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3483 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3486 $as_echo_n "checking whether build environment is sane... " >&6; }
3489 echo timestamp > conftest.file
3490 # Reject unsafe characters in $srcdir or the absolute working directory
3491 # name. Accept space and tab only in the latter.
3495 *[\\\"\#\$\&\'\`$am_lf]*)
3496 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3499 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3500 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3503 # Do `set' in a subshell so we don't clobber the current shell's
3504 # arguments. Must try -L first in case configure is actually a
3505 # symlink; some systems play weird games with the mod time of symlinks
3506 # (eg FreeBSD returns the mod time of the symlink's containing
3509 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3510 if test "$*" = "X"; then
3512 set X `ls -t "$srcdir/configure" conftest.file`
3515 if test "$*" != "X $srcdir/configure conftest.file" \
3516 && test "$*" != "X conftest.file $srcdir/configure"; then
3518 # If neither matched, then we have a broken ls. This can happen
3519 # if, for instance, CONFIG_SHELL is bash and it inherits a
3520 # broken ls alias from the environment. This has actually
3521 # happened. Such a system could not be considered "sane".
3522 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3523 alias in your environment" "$LINENO" 5
3526 test "$2" = conftest.file
3532 as_fn_error $? "newly created file is older than distributed files!
3533 Check your system clock" "$LINENO" 5
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3536 $as_echo "yes" >&6; }
3537 test "$program_prefix" != NONE &&
3538 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3539 # Use a double $ so make ignores it.
3540 test "$program_suffix" != NONE &&
3541 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3542 # Double any \ or $.
3543 # By default was `s,x,x', remove it if useless.
3544 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3545 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3547 # expand $ac_aux_dir to an absolute path
3548 am_aux_dir=`cd $ac_aux_dir && pwd`
3550 if test x"${MISSING+set}" != xset; then
3553 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3555 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3558 # Use eval to expand $SHELL
3559 if eval "$MISSING --run true"; then
3560 am_missing_run="$MISSING --run "
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3564 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3567 if test x"${install_sh}" != xset; then
3570 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3572 install_sh="\${SHELL} $am_aux_dir/install-sh"
3576 # Installed binaries are usually stripped using `strip' when the user
3577 # run `make install-strip'. However `strip' might not be the right
3578 # tool to use in cross-compilation environments, therefore Automake
3579 # will honor the `STRIP' environment variable to overrule this program.
3580 if test "$cross_compiling" != no; then
3581 if test -n "$ac_tool_prefix"; then
3582 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3583 set dummy ${ac_tool_prefix}strip; ac_word=$2
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3585 $as_echo_n "checking for $ac_word... " >&6; }
3586 if ${ac_cv_prog_STRIP+:} false; then :
3587 $as_echo_n "(cached) " >&6
3589 if test -n "$STRIP"; then
3590 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3596 test -z "$as_dir" && as_dir=.
3597 for ac_exec_ext in '' $ac_executable_extensions; do
3598 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3599 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3609 STRIP=$ac_cv_prog_STRIP
3610 if test -n "$STRIP"; then
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3612 $as_echo "$STRIP" >&6; }
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3615 $as_echo "no" >&6; }
3620 if test -z "$ac_cv_prog_STRIP"; then
3622 # Extract the first word of "strip", so it can be a program name with args.
3623 set dummy strip; ac_word=$2
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3625 $as_echo_n "checking for $ac_word... " >&6; }
3626 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3627 $as_echo_n "(cached) " >&6
3629 if test -n "$ac_ct_STRIP"; then
3630 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3636 test -z "$as_dir" && as_dir=.
3637 for ac_exec_ext in '' $ac_executable_extensions; do
3638 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3639 ac_cv_prog_ac_ct_STRIP="strip"
3640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3649 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3650 if test -n "$ac_ct_STRIP"; then
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3652 $as_echo "$ac_ct_STRIP" >&6; }
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3655 $as_echo "no" >&6; }
3658 if test "x$ac_ct_STRIP" = x; then
3661 case $cross_compiling:$ac_tool_warned in
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3664 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3665 ac_tool_warned=yes ;;
3670 STRIP="$ac_cv_prog_STRIP"
3674 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3677 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3678 if test -z "$MKDIR_P"; then
3679 if ${ac_cv_path_mkdir+:} false; then :
3680 $as_echo_n "(cached) " >&6
3682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3683 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3686 test -z "$as_dir" && as_dir=.
3687 for ac_prog in mkdir gmkdir; do
3688 for ac_exec_ext in '' $ac_executable_extensions; do
3689 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3690 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3691 'mkdir (GNU coreutils) '* | \
3692 'mkdir (coreutils) '* | \
3693 'mkdir (fileutils) '4.1*)
3694 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3704 test -d ./--version && rmdir ./--version
3705 if test "${ac_cv_path_mkdir+set}" = set; then
3706 MKDIR_P="$ac_cv_path_mkdir -p"
3708 # As a last resort, use the slow shell script. Don't cache a
3709 # value for MKDIR_P within a source directory, because that will
3710 # break other packages using the cache if that directory is
3711 # removed, or if the value is a relative name.
3712 MKDIR_P="$ac_install_sh -d"
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3716 $as_echo "$MKDIR_P" >&6; }
3720 [\\/$]* | ?:[\\/]*) ;;
3721 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3724 for ac_prog in gawk mawk nawk awk
3726 # Extract the first word of "$ac_prog", so it can be a program name with args.
3727 set dummy $ac_prog; ac_word=$2
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3729 $as_echo_n "checking for $ac_word... " >&6; }
3730 if ${ac_cv_prog_AWK+:} false; then :
3731 $as_echo_n "(cached) " >&6
3733 if test -n "$AWK"; then
3734 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3740 test -z "$as_dir" && as_dir=.
3741 for ac_exec_ext in '' $ac_executable_extensions; do
3742 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3743 ac_cv_prog_AWK="$ac_prog"
3744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3754 if test -n "$AWK"; then
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3756 $as_echo "$AWK" >&6; }
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3759 $as_echo "no" >&6; }
3763 test -n "$AWK" && break
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3767 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3769 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3770 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3771 $as_echo_n "(cached) " >&6
3773 cat >conftest.make <<\_ACEOF
3776 @echo '@@@%%%=$(MAKE)=@@@%%%'
3778 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3779 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3781 eval ac_cv_prog_make_${ac_make}_set=yes;;
3783 eval ac_cv_prog_make_${ac_make}_set=no;;
3787 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3789 $as_echo "yes" >&6; }
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3793 $as_echo "no" >&6; }
3794 SET_MAKE="MAKE=${MAKE-make}"
3797 rm -rf .tst 2>/dev/null
3798 mkdir .tst 2>/dev/null
3799 if test -d .tst; then
3804 rmdir .tst 2>/dev/null
3806 # Check whether --enable-silent-rules was given.
3807 if test "${enable_silent_rules+set}" = set; then :
3808 enableval=$enable_silent_rules;
3811 case $enable_silent_rules in
3812 yes) AM_DEFAULT_VERBOSITY=0;;
3813 no) AM_DEFAULT_VERBOSITY=1;;
3814 *) AM_DEFAULT_VERBOSITY=1;;
3816 am_make=${MAKE-make}
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3818 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3819 if ${am_cv_make_support_nested_variables+:} false; then :
3820 $as_echo_n "(cached) " >&6
3822 if $as_echo 'TRUE=$(BAR$(V))
3828 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3829 am_cv_make_support_nested_variables=yes
3831 am_cv_make_support_nested_variables=no
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3835 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3836 if test $am_cv_make_support_nested_variables = yes; then
3838 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3840 AM_V=$AM_DEFAULT_VERBOSITY
3841 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3845 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3846 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3847 # is not polluted with repeated "-I."
3848 am__isrc=' -I$(srcdir)'
3849 # test to see if srcdir already configured
3850 if test -f $srcdir/config.status; then
3851 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3855 # test whether we have cygpath
3856 if test -z "$CYGPATH_W"; then
3857 if (cygpath --version) >/dev/null 2>/dev/null; then
3858 CYGPATH_W='cygpath -w'
3865 # Define the identity of the package.
3866 PACKAGE='syncevolution'
3870 cat >>confdefs.h <<_ACEOF
3871 #define PACKAGE "$PACKAGE"
3875 cat >>confdefs.h <<_ACEOF
3876 #define VERSION "$VERSION"
3879 # Some tools Automake needs.
3881 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3884 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3887 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3890 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3893 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3895 # We need awk for the "check" target. The system "awk" is bad on
3897 # Always define AMTAR for backward compatibility. Yes, it's still used
3898 # in the wild :-( We should find a proper way to deprecate it ...
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
3903 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
3904 # Loop over all known methods to create a tar archive until one works.
3905 _am_tools='gnutar plaintar pax cpio none'
3906 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
3907 # Do not fold the above two line into one, because Tru64 sh and
3908 # Solaris sh will not grok spaces in the rhs of `-'.
3909 for _am_tool in $_am_tools
3913 for _am_tar in tar gnutar gtar;
3915 { echo "$as_me:$LINENO: $_am_tar --version" >&5
3916 ($_am_tar --version) >&5 2>&5
3918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3919 (exit $ac_status); } && break
3921 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
3922 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
3923 am__untar="$_am_tar -xf -"
3926 # Must skip GNU tar: if it does not support --format= it doesn't create
3927 # ustar tarball either.
3928 (tar --version) >/dev/null 2>&1 && continue
3929 am__tar='tar chf - "$$tardir"'
3930 am__tar_='tar chf - "$tardir"'
3931 am__untar='tar xf -'
3934 am__tar='pax -L -x ustar -w "$$tardir"'
3935 am__tar_='pax -L -x ustar -w "$tardir"'
3939 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
3940 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
3941 am__untar='cpio -i -H ustar -d'
3950 # If the value was cached, stop now. We just wanted to have am__tar
3951 # and am__untar set.
3952 test -n "${am_cv_prog_tar_ustar}" && break
3954 # tar/untar a dummy directory, and stop if the command works
3957 echo GrepMe > conftest.dir/file
3958 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3959 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3962 (exit $ac_status); }
3964 if test -s conftest.tar; then
3965 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3966 ($am__untar <conftest.tar) >&5 2>&5
3968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3969 (exit $ac_status); }
3970 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3975 if ${am_cv_prog_tar_ustar+:} false; then :
3976 $as_echo_n "(cached) " >&6
3978 am_cv_prog_tar_ustar=$_am_tool
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3982 $as_echo "$am_cv_prog_tar_ustar" >&6; }
3989 DEPDIR="${am__leading_dot}deps"
3991 ac_config_commands="$ac_config_commands depfiles"
3994 am_make=${MAKE-make}
3995 cat > confinc << 'END'
3997 @echo this is the am__doit target
4000 # If we don't find an include directive, just comment out the code.
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4002 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4006 # First try GNU make style include.
4007 echo "include confinc" > confmf
4008 # Ignore all kinds of additional output from `make'.
4009 case `$am_make -s -f confmf 2> /dev/null` in #(
4010 *the\ am__doit\ target*)
4016 # Now try BSD make style include.
4017 if test "$am__include" = "#"; then
4018 echo '.include "confinc"' > confmf
4019 case `$am_make -s -f confmf 2> /dev/null` in #(
4020 *the\ am__doit\ target*)
4021 am__include=.include
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4030 $as_echo "$_am_result" >&6; }
4031 rm -f confinc confmf
4033 # Check whether --enable-dependency-tracking was given.
4034 if test "${enable_dependency_tracking+set}" = set; then :
4035 enableval=$enable_dependency_tracking;
4038 if test "x$enable_dependency_tracking" != xno; then
4039 am_depcomp="$ac_aux_dir/depcomp"
4043 if test "x$enable_dependency_tracking" != xno; then
4053 ac_cpp='$CPP $CPPFLAGS'
4054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4057 if test -n "$ac_tool_prefix"; then
4058 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4059 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4061 $as_echo_n "checking for $ac_word... " >&6; }
4062 if ${ac_cv_prog_CC+:} false; then :
4063 $as_echo_n "(cached) " >&6
4065 if test -n "$CC"; then
4066 ac_cv_prog_CC="$CC" # Let the user override the test.
4068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4072 test -z "$as_dir" && as_dir=.
4073 for ac_exec_ext in '' $ac_executable_extensions; do
4074 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4075 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4086 if test -n "$CC"; then
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4088 $as_echo "$CC" >&6; }
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4091 $as_echo "no" >&6; }
4096 if test -z "$ac_cv_prog_CC"; then
4098 # Extract the first word of "gcc", so it can be a program name with args.
4099 set dummy gcc; ac_word=$2
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4101 $as_echo_n "checking for $ac_word... " >&6; }
4102 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4103 $as_echo_n "(cached) " >&6
4105 if test -n "$ac_ct_CC"; then
4106 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4112 test -z "$as_dir" && as_dir=.
4113 for ac_exec_ext in '' $ac_executable_extensions; do
4114 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4115 ac_cv_prog_ac_ct_CC="gcc"
4116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4125 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4126 if test -n "$ac_ct_CC"; then
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4128 $as_echo "$ac_ct_CC" >&6; }
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4131 $as_echo "no" >&6; }
4134 if test "x$ac_ct_CC" = x; then
4137 case $cross_compiling:$ac_tool_warned in
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4140 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4141 ac_tool_warned=yes ;;
4149 if test -z "$CC"; then
4150 if test -n "$ac_tool_prefix"; then
4151 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4152 set dummy ${ac_tool_prefix}cc; ac_word=$2
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4154 $as_echo_n "checking for $ac_word... " >&6; }
4155 if ${ac_cv_prog_CC+:} false; then :
4156 $as_echo_n "(cached) " >&6
4158 if test -n "$CC"; then
4159 ac_cv_prog_CC="$CC" # Let the user override the test.
4161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4165 test -z "$as_dir" && as_dir=.
4166 for ac_exec_ext in '' $ac_executable_extensions; do
4167 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4168 ac_cv_prog_CC="${ac_tool_prefix}cc"
4169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4179 if test -n "$CC"; then
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4181 $as_echo "$CC" >&6; }
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4184 $as_echo "no" >&6; }
4190 if test -z "$CC"; then
4191 # Extract the first word of "cc", so it can be a program name with args.
4192 set dummy cc; ac_word=$2
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4194 $as_echo_n "checking for $ac_word... " >&6; }
4195 if ${ac_cv_prog_CC+:} false; then :
4196 $as_echo_n "(cached) " >&6
4198 if test -n "$CC"; then
4199 ac_cv_prog_CC="$CC" # Let the user override the test.
4202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4206 test -z "$as_dir" && as_dir=.
4207 for ac_exec_ext in '' $ac_executable_extensions; do
4208 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4209 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4210 ac_prog_rejected=yes
4214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4221 if test $ac_prog_rejected = yes; then
4222 # We found a bogon in the path, so make sure we never use it.
4223 set dummy $ac_cv_prog_CC
4225 if test $# != 0; then
4226 # We chose a different compiler from the bogus one.
4227 # However, it has the same basename, so the bogon will be chosen
4228 # first if we set CC to just the basename; use the full file name.
4230 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4236 if test -n "$CC"; then
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4238 $as_echo "$CC" >&6; }
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4241 $as_echo "no" >&6; }
4246 if test -z "$CC"; then
4247 if test -n "$ac_tool_prefix"; then
4248 for ac_prog in cl.exe
4250 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4251 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4253 $as_echo_n "checking for $ac_word... " >&6; }
4254 if ${ac_cv_prog_CC+:} false; then :
4255 $as_echo_n "(cached) " >&6
4257 if test -n "$CC"; then
4258 ac_cv_prog_CC="$CC" # Let the user override the test.
4260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4264 test -z "$as_dir" && as_dir=.
4265 for ac_exec_ext in '' $ac_executable_extensions; do
4266 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4267 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4278 if test -n "$CC"; then
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4280 $as_echo "$CC" >&6; }
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4283 $as_echo "no" >&6; }
4287 test -n "$CC" && break
4290 if test -z "$CC"; then
4292 for ac_prog in cl.exe
4294 # Extract the first word of "$ac_prog", so it can be a program name with args.
4295 set dummy $ac_prog; ac_word=$2
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4297 $as_echo_n "checking for $ac_word... " >&6; }
4298 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4299 $as_echo_n "(cached) " >&6
4301 if test -n "$ac_ct_CC"; then
4302 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4308 test -z "$as_dir" && as_dir=.
4309 for ac_exec_ext in '' $ac_executable_extensions; do
4310 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4311 ac_cv_prog_ac_ct_CC="$ac_prog"
4312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4321 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4322 if test -n "$ac_ct_CC"; then
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4324 $as_echo "$ac_ct_CC" >&6; }
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4327 $as_echo "no" >&6; }
4331 test -n "$ac_ct_CC" && break
4334 if test "x$ac_ct_CC" = x; then
4337 case $cross_compiling:$ac_tool_warned in
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4340 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4341 ac_tool_warned=yes ;;
4350 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4351 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4352 as_fn_error $? "no acceptable C compiler found in \$PATH
4353 See \`config.log' for more details" "$LINENO" 5; }
4355 # Provide some information about the compiler.
4356 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4359 for ac_option in --version -v -V -qversion; do
4360 { { ac_try="$ac_compiler $ac_option >&5"
4362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4363 *) ac_try_echo=$ac_try;;
4365 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4366 $as_echo "$ac_try_echo"; } >&5
4367 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4369 if test -s conftest.err; then
4371 ... rest of stderr output deleted ...
4372 10q' conftest.err >conftest.er1
4373 cat conftest.er1 >&5
4375 rm -f conftest.er1 conftest.err
4376 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4377 test $ac_status = 0; }
4380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4381 /* end confdefs.h. */
4391 ac_clean_files_save=$ac_clean_files
4392 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4393 # Try to create an executable without -o first, disregard a.out.
4394 # It will help us diagnose broken compilers, and finding out an intuition
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4397 $as_echo_n "checking whether the C compiler works... " >&6; }
4398 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4400 # The possible output files:
4401 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4404 for ac_file in $ac_files
4407 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4408 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4413 if { { ac_try="$ac_link_default"
4415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4416 *) ac_try_echo=$ac_try;;
4418 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4419 $as_echo "$ac_try_echo"; } >&5
4420 (eval "$ac_link_default") 2>&5
4422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4423 test $ac_status = 0; }; then :
4424 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4425 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4426 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4427 # so that the user can short-circuit this test for compilers unknown to
4429 for ac_file in $ac_files ''
4431 test -f "$ac_file" || continue
4433 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4436 # We found the default executable, but exeext='' is most
4440 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4442 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4444 # We set ac_cv_exeext here because the later test for it is not
4445 # safe: cross compilers may not add the suffix if given an `-o'
4446 # argument, so we may need to know it at that point already.
4447 # Even if this section looks crufty: it has the advantage of
4454 test "$ac_cv_exeext" = no && ac_cv_exeext=
4459 if test -z "$ac_file"; then :
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4461 $as_echo "no" >&6; }
4462 $as_echo "$as_me: failed program was:" >&5
4463 sed 's/^/| /' conftest.$ac_ext >&5
4465 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4466 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4467 as_fn_error 77 "C compiler cannot create executables
4468 See \`config.log' for more details" "$LINENO" 5; }
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4471 $as_echo "yes" >&6; }
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4474 $as_echo_n "checking for C compiler default output file name... " >&6; }
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4476 $as_echo "$ac_file" >&6; }
4477 ac_exeext=$ac_cv_exeext
4479 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4480 ac_clean_files=$ac_clean_files_save
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4482 $as_echo_n "checking for suffix of executables... " >&6; }
4483 if { { ac_try="$ac_link"
4485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4486 *) ac_try_echo=$ac_try;;
4488 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4489 $as_echo "$ac_try_echo"; } >&5
4490 (eval "$ac_link") 2>&5
4492 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4493 test $ac_status = 0; }; then :
4494 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4495 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4496 # work properly (i.e., refer to `conftest.exe'), while it won't with
4498 for ac_file in conftest.exe conftest conftest.*; do
4499 test -f "$ac_file" || continue
4501 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4502 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4508 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4509 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4510 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4511 See \`config.log' for more details" "$LINENO" 5; }
4513 rm -f conftest conftest$ac_cv_exeext
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4515 $as_echo "$ac_cv_exeext" >&6; }
4517 rm -f conftest.$ac_ext
4518 EXEEXT=$ac_cv_exeext
4520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4521 /* end confdefs.h. */
4526 FILE *f = fopen ("conftest.out", "w");
4527 return ferror (f) || fclose (f) != 0;
4533 ac_clean_files="$ac_clean_files conftest.out"
4534 # Check that the compiler produces executables we can run. If not, either
4535 # the compiler is broken, or we cross compile.
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4537 $as_echo_n "checking whether we are cross compiling... " >&6; }
4538 if test "$cross_compiling" != yes; then
4539 { { ac_try="$ac_link"
4541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4542 *) ac_try_echo=$ac_try;;
4544 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4545 $as_echo "$ac_try_echo"; } >&5
4546 (eval "$ac_link") 2>&5
4548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4549 test $ac_status = 0; }
4550 if { ac_try='./conftest$ac_cv_exeext'
4551 { { case "(($ac_try" in
4552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4553 *) ac_try_echo=$ac_try;;
4555 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4556 $as_echo "$ac_try_echo"; } >&5
4557 (eval "$ac_try") 2>&5
4559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4560 test $ac_status = 0; }; }; then
4563 if test "$cross_compiling" = maybe; then
4566 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4567 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4568 as_fn_error $? "cannot run C compiled programs.
4569 If you meant to cross compile, use \`--host'.
4570 See \`config.log' for more details" "$LINENO" 5; }
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4575 $as_echo "$cross_compiling" >&6; }
4577 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4578 ac_clean_files=$ac_clean_files_save
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4580 $as_echo_n "checking for suffix of object files... " >&6; }
4581 if ${ac_cv_objext+:} false; then :
4582 $as_echo_n "(cached) " >&6
4584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4585 /* end confdefs.h. */
4595 rm -f conftest.o conftest.obj
4596 if { { ac_try="$ac_compile"
4598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4599 *) ac_try_echo=$ac_try;;
4601 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4602 $as_echo "$ac_try_echo"; } >&5
4603 (eval "$ac_compile") 2>&5
4605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4606 test $ac_status = 0; }; then :
4607 for ac_file in conftest.o conftest.obj conftest.*; do
4608 test -f "$ac_file" || continue;
4610 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4611 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4616 $as_echo "$as_me: failed program was:" >&5
4617 sed 's/^/| /' conftest.$ac_ext >&5
4619 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4620 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4621 as_fn_error $? "cannot compute suffix of object files: cannot compile
4622 See \`config.log' for more details" "$LINENO" 5; }
4624 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4627 $as_echo "$ac_cv_objext" >&6; }
4628 OBJEXT=$ac_cv_objext
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4631 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4632 if ${ac_cv_c_compiler_gnu+:} false; then :
4633 $as_echo_n "(cached) " >&6
4635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4636 /* end confdefs.h. */
4649 if ac_fn_c_try_compile "$LINENO"; then :
4654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4655 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4659 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4660 if test $ac_compiler_gnu = yes; then
4665 ac_test_CFLAGS=${CFLAGS+set}
4666 ac_save_CFLAGS=$CFLAGS
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4668 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4669 if ${ac_cv_prog_cc_g+:} false; then :
4670 $as_echo_n "(cached) " >&6
4672 ac_save_c_werror_flag=$ac_c_werror_flag
4673 ac_c_werror_flag=yes
4676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4677 /* end confdefs.h. */
4687 if ac_fn_c_try_compile "$LINENO"; then :
4691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4692 /* end confdefs.h. */
4702 if ac_fn_c_try_compile "$LINENO"; then :
4705 ac_c_werror_flag=$ac_save_c_werror_flag
4707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4708 /* end confdefs.h. */
4718 if ac_fn_c_try_compile "$LINENO"; then :
4721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4726 ac_c_werror_flag=$ac_save_c_werror_flag
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4729 $as_echo "$ac_cv_prog_cc_g" >&6; }
4730 if test "$ac_test_CFLAGS" = set; then
4731 CFLAGS=$ac_save_CFLAGS
4732 elif test $ac_cv_prog_cc_g = yes; then
4733 if test "$GCC" = yes; then
4739 if test "$GCC" = yes; then
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4746 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4747 if ${ac_cv_prog_cc_c89+:} false; then :
4748 $as_echo_n "(cached) " >&6
4750 ac_cv_prog_cc_c89=no
4752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4753 /* end confdefs.h. */
4757 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4758 struct buf { int x; };
4759 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4760 static char *e (p, i)
4766 static char *f (char * (*g) (char **, int), char **p, ...)
4771 s = g (p, va_arg (v,int));
4776 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4777 function prototypes and stuff, but not '\xHH' hex character constants.
4778 These don't provoke an error unfortunately, instead are silently treated
4779 as 'x'. The following induces an error, until -std is added to get
4780 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4781 array size at least. It's necessary to write '\x00'==0 to get something
4782 that's true only with -std. */
4783 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4785 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4786 inside strings and character constants. */
4788 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4790 int test (int i, double x);
4791 struct s1 {int (*f) (int a);};
4792 struct s2 {int (*f) (double a);};
4793 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4799 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4804 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4805 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4807 CC="$ac_save_CC $ac_arg"
4808 if ac_fn_c_try_compile "$LINENO"; then :
4809 ac_cv_prog_cc_c89=$ac_arg
4811 rm -f core conftest.err conftest.$ac_objext
4812 test "x$ac_cv_prog_cc_c89" != "xno" && break
4814 rm -f conftest.$ac_ext
4819 case "x$ac_cv_prog_cc_c89" in
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4822 $as_echo "none needed" >&6; } ;;
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4825 $as_echo "unsupported" >&6; } ;;
4827 CC="$CC $ac_cv_prog_cc_c89"
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4829 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4831 if test "x$ac_cv_prog_cc_c89" != xno; then :
4836 ac_cpp='$CPP $CPPFLAGS'
4837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4841 depcc="$CC" am_compiler_list=
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4844 $as_echo_n "checking dependency style of $depcc... " >&6; }
4845 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4846 $as_echo_n "(cached) " >&6
4848 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4849 # We make a subdir and do the tests there. Otherwise we can end up
4850 # making bogus files that we don't know about and never remove. For
4851 # instance it was reported that on HP-UX the gcc test will end up
4852 # making a dummy file named `D' -- because `-MD' means `put the output
4856 # Copy depcomp to subdir because otherwise we won't find it if we're
4857 # using a relative directory.
4858 cp "$am_depcomp" conftest.dir
4860 # We will build objects and dependencies in a subdirectory because
4861 # it helps to detect inapplicable dependency modes. For instance
4862 # both Tru64's cc and ICC support -MD to output dependencies as a
4863 # side effect of compilation, but ICC will put the dependencies in
4864 # the current directory while Tru64 will put them in the object
4868 am_cv_CC_dependencies_compiler_type=none
4869 if test "$am_compiler_list" = ""; then
4870 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4873 case " $depcc " in #(
4874 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4877 for depmode in $am_compiler_list; do
4878 # Setup a source with many dependencies, because some compilers
4879 # like to wrap large dependency lists on column 80 (with \), and
4880 # we should not choose a depcomp mode which is confused by this.
4882 # We need to recreate these files for each test, as the compiler may
4883 # overwrite some of them when testing with obscure command lines.
4884 # This happens at least with the AIX C compiler.
4886 for i in 1 2 3 4 5 6; do
4887 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4888 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4889 # Solaris 8's {/usr,}/bin/sh.
4890 touch sub/conftst$i.h
4892 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4894 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4895 # mode. It turns out that the SunPro C++ compiler does not properly
4896 # handle `-M -o', and we need to detect this. Also, some Intel
4897 # versions had trouble with output in subdirs
4898 am__obj=sub/conftest.${OBJEXT-o}
4899 am__minus_obj="-o $am__obj"
4902 # This depmode causes a compiler race in universal mode.
4903 test "$am__universal" = false || continue
4906 # after this tag, mechanisms are not by side-effect, so they'll
4907 # only be used when explicitly requested
4908 if test "x$enable_dependency_tracking" = xyes; then
4914 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4915 # This compiler won't grok `-c -o', but also, the minuso test has
4916 # not run yet. These depmodes are late enough in the game, and
4917 # so weak that their functioning should not be impacted.
4918 am__obj=conftest.${OBJEXT-o}
4923 if depmode=$depmode \
4924 source=sub/conftest.c object=$am__obj \
4925 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4926 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4927 >/dev/null 2>conftest.err &&
4928 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4929 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4930 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4931 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4932 # icc doesn't choke on unknown options, it will just issue warnings
4933 # or remarks (even with -Werror). So we grep stderr for any message
4934 # that says an option was ignored or not supported.
4935 # When given -MP, icc 7.0 and 7.1 complain thusly:
4936 # icc: Command line warning: ignoring option '-M'; no argument required
4937 # The diagnosis changed in icc 8.0:
4938 # icc: Command line remark: option '-MP' not supported
4939 if (grep 'ignoring option' conftest.err ||
4940 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4941 am_cv_CC_dependencies_compiler_type=$depmode
4950 am_cv_CC_dependencies_compiler_type=none
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4955 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4956 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4959 test "x$enable_dependency_tracking" != xno \
4960 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4962 am__fastdepCC_FALSE='#'
4964 am__fastdepCC_TRUE='#'
4965 am__fastdepCC_FALSE=
4969 if test "x$CC" != xcc; then
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4971 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4974 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4976 set dummy $CC; ac_cc=`$as_echo "$2" |
4977 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4978 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
4979 $as_echo_n "(cached) " >&6
4981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4982 /* end confdefs.h. */
4992 # Make sure it works both with $CC and with simple cc.
4993 # We do the test twice because some compilers refuse to overwrite an
4994 # existing .o file with -o, though they will create one.
4995 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4997 if { { case "(($ac_try" in
4998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4999 *) ac_try_echo=$ac_try;;
5001 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5002 $as_echo "$ac_try_echo"; } >&5
5003 (eval "$ac_try") 2>&5
5005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5006 test $ac_status = 0; } &&
5007 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5009 *) ac_try_echo=$ac_try;;
5011 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5012 $as_echo "$ac_try_echo"; } >&5
5013 (eval "$ac_try") 2>&5
5015 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5016 test $ac_status = 0; };
5018 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
5019 if test "x$CC" != xcc; then
5020 # Test first that cc exists at all.
5021 if { ac_try='cc -c conftest.$ac_ext >&5'
5022 { { case "(($ac_try" in
5023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5024 *) ac_try_echo=$ac_try;;
5026 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5027 $as_echo "$ac_try_echo"; } >&5
5028 (eval "$ac_try") 2>&5
5030 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5031 test $ac_status = 0; }; }; then
5032 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5034 if { { case "(($ac_try" in
5035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5036 *) ac_try_echo=$ac_try;;
5038 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5039 $as_echo "$ac_try_echo"; } >&5
5040 (eval "$ac_try") 2>&5
5042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5043 test $ac_status = 0; } &&
5044 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5046 *) ac_try_echo=$ac_try;;
5048 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5049 $as_echo "$ac_try_echo"; } >&5
5050 (eval "$ac_try") 2>&5
5052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5053 test $ac_status = 0; };
5058 # cc exists but doesn't like -o.
5059 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5064 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5066 rm -f core conftest*
5069 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5071 $as_echo "yes" >&6; }
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5074 $as_echo "no" >&6; }
5076 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5080 # FIXME: we rely on the cache variable name because
5081 # there is no other way.
5083 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5084 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5085 if test "$am_t" != yes; then
5086 # Losing compiler, so override with the script.
5087 # FIXME: It is wrong to rewrite CC.
5088 # But if we don't then we get into trouble of one sort or another.
5089 # A longer-term fix would be to have automake use am__CC in this case,
5090 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5091 CC="$am_aux_dir/compile $CC"
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5098 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5099 # Check whether --enable-maintainer-mode was given.
5100 if test "${enable_maintainer_mode+set}" = set; then :
5101 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5103 USE_MAINTAINER_MODE=yes
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5107 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5108 if test $USE_MAINTAINER_MODE = yes; then
5109 MAINTAINER_MODE_TRUE=
5110 MAINTAINER_MODE_FALSE='#'
5112 MAINTAINER_MODE_TRUE='#'
5113 MAINTAINER_MODE_FALSE=
5116 MAINT=$MAINTAINER_MODE_TRUE
5118 # needed for nightly builds where reconfiguration fails under certain chroots
5122 ac_config_headers="$ac_config_headers config.h"
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5131 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5136 macro_version='2.4.2'
5137 macro_revision='1.3337'
5151 ltmain="$ac_aux_dir/ltmain.sh"
5153 # Make sure we can run config.sub.
5154 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5155 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5158 $as_echo_n "checking build system type... " >&6; }
5159 if ${ac_cv_build+:} false; then :
5160 $as_echo_n "(cached) " >&6
5162 ac_build_alias=$build_alias
5163 test "x$ac_build_alias" = x &&
5164 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5165 test "x$ac_build_alias" = x &&
5166 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5167 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5168 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5172 $as_echo "$ac_cv_build" >&6; }
5173 case $ac_cv_build in
5175 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5178 ac_save_IFS=$IFS; IFS='-'
5184 # Remember, the first character of IFS is used to create $*,
5185 # except with old shells:
5188 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5192 $as_echo_n "checking host system type... " >&6; }
5193 if ${ac_cv_host+:} false; then :
5194 $as_echo_n "(cached) " >&6
5196 if test "x$host_alias" = x; then
5197 ac_cv_host=$ac_cv_build
5199 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5200 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5205 $as_echo "$ac_cv_host" >&6; }
5208 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5211 ac_save_IFS=$IFS; IFS='-'
5217 # Remember, the first character of IFS is used to create $*,
5218 # except with old shells:
5221 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5224 # Backslashify metacharacters that are still active within
5225 # double-quoted strings.
5226 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5228 # Same as above, but do not quote variable references.
5229 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5231 # Sed substitution to delay expansion of an escaped shell variable in a
5232 # double_quote_subst'ed string.
5233 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5235 # Sed substitution to delay expansion of an escaped single quote.
5236 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5238 # Sed substitution to avoid accidental globbing in evaled expressions
5239 no_glob_subst='s/\*/\\\*/g'
5241 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5242 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5243 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5246 $as_echo_n "checking how to print strings... " >&6; }
5247 # Test print first, because it will be a builtin if present.
5248 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5249 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5251 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5254 # Use this function as a fallback that always works.
5255 func_fallback_echo ()
5257 eval 'cat <<_LTECHO_EOF
5261 ECHO='func_fallback_echo'
5264 # func_echo_all arg...
5265 # Invoke $ECHO with all args, space-separated.
5272 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5273 $as_echo "printf" >&6; } ;;
5274 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5275 $as_echo "print -r" >&6; } ;;
5276 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5277 $as_echo "cat" >&6; } ;;
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5294 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5295 if ${ac_cv_path_SED+:} false; then :
5296 $as_echo_n "(cached) " >&6
5298 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5299 for ac_i in 1 2 3 4 5 6 7; do
5300 ac_script="$ac_script$as_nl$ac_script"
5302 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5303 { ac_script=; unset ac_script;}
5304 if test -z "$SED"; then
5305 ac_path_SED_found=false
5306 # Loop through the user's path and test for each of PROGNAME-LIST
5307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5311 test -z "$as_dir" && as_dir=.
5312 for ac_prog in sed gsed; do
5313 for ac_exec_ext in '' $ac_executable_extensions; do
5314 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5315 as_fn_executable_p "$ac_path_SED" || continue
5316 # Check for GNU ac_path_SED and select it if it is found.
5317 # Check for GNU $ac_path_SED
5318 case `"$ac_path_SED" --version 2>&1` in
5320 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5323 $as_echo_n 0123456789 >"conftest.in"
5326 cat "conftest.in" "conftest.in" >"conftest.tmp"
5327 mv "conftest.tmp" "conftest.in"
5328 cp "conftest.in" "conftest.nl"
5329 $as_echo '' >> "conftest.nl"
5330 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5331 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5332 as_fn_arith $ac_count + 1 && ac_count=$as_val
5333 if test $ac_count -gt ${ac_path_SED_max-0}; then
5334 # Best one so far, save it but keep looking for a better one
5335 ac_cv_path_SED="$ac_path_SED"
5336 ac_path_SED_max=$ac_count
5338 # 10*(2^10) chars as input seems more than enough
5339 test $ac_count -gt 10 && break
5341 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5344 $ac_path_SED_found && break 3
5349 if test -z "$ac_cv_path_SED"; then
5350 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5358 $as_echo "$ac_cv_path_SED" >&6; }
5359 SED="$ac_cv_path_SED"
5362 test -z "$SED" && SED=sed
5363 Xsed="$SED -e 1s/^X//"
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5376 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5377 if ${ac_cv_path_GREP+:} false; then :
5378 $as_echo_n "(cached) " >&6
5380 if test -z "$GREP"; then
5381 ac_path_GREP_found=false
5382 # Loop through the user's path and test for each of PROGNAME-LIST
5383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5384 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5387 test -z "$as_dir" && as_dir=.
5388 for ac_prog in grep ggrep; do
5389 for ac_exec_ext in '' $ac_executable_extensions; do
5390 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5391 as_fn_executable_p "$ac_path_GREP" || continue
5392 # Check for GNU ac_path_GREP and select it if it is found.
5393 # Check for GNU $ac_path_GREP
5394 case `"$ac_path_GREP" --version 2>&1` in
5396 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5399 $as_echo_n 0123456789 >"conftest.in"
5402 cat "conftest.in" "conftest.in" >"conftest.tmp"
5403 mv "conftest.tmp" "conftest.in"
5404 cp "conftest.in" "conftest.nl"
5405 $as_echo 'GREP' >> "conftest.nl"
5406 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5407 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5408 as_fn_arith $ac_count + 1 && ac_count=$as_val
5409 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5410 # Best one so far, save it but keep looking for a better one
5411 ac_cv_path_GREP="$ac_path_GREP"
5412 ac_path_GREP_max=$ac_count
5414 # 10*(2^10) chars as input seems more than enough
5415 test $ac_count -gt 10 && break
5417 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5420 $ac_path_GREP_found && break 3
5425 if test -z "$ac_cv_path_GREP"; then
5426 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5429 ac_cv_path_GREP=$GREP
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5434 $as_echo "$ac_cv_path_GREP" >&6; }
5435 GREP="$ac_cv_path_GREP"
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5439 $as_echo_n "checking for egrep... " >&6; }
5440 if ${ac_cv_path_EGREP+:} false; then :
5441 $as_echo_n "(cached) " >&6
5443 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5444 then ac_cv_path_EGREP="$GREP -E"
5446 if test -z "$EGREP"; then
5447 ac_path_EGREP_found=false
5448 # Loop through the user's path and test for each of PROGNAME-LIST
5449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5450 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5453 test -z "$as_dir" && as_dir=.
5454 for ac_prog in egrep; do
5455 for ac_exec_ext in '' $ac_executable_extensions; do
5456 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5457 as_fn_executable_p "$ac_path_EGREP" || continue
5458 # Check for GNU ac_path_EGREP and select it if it is found.
5459 # Check for GNU $ac_path_EGREP
5460 case `"$ac_path_EGREP" --version 2>&1` in
5462 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5465 $as_echo_n 0123456789 >"conftest.in"
5468 cat "conftest.in" "conftest.in" >"conftest.tmp"
5469 mv "conftest.tmp" "conftest.in"
5470 cp "conftest.in" "conftest.nl"
5471 $as_echo 'EGREP' >> "conftest.nl"
5472 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5473 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5474 as_fn_arith $ac_count + 1 && ac_count=$as_val
5475 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5476 # Best one so far, save it but keep looking for a better one
5477 ac_cv_path_EGREP="$ac_path_EGREP"
5478 ac_path_EGREP_max=$ac_count
5480 # 10*(2^10) chars as input seems more than enough
5481 test $ac_count -gt 10 && break
5483 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5486 $ac_path_EGREP_found && break 3
5491 if test -z "$ac_cv_path_EGREP"; then
5492 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5495 ac_cv_path_EGREP=$EGREP
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5501 $as_echo "$ac_cv_path_EGREP" >&6; }
5502 EGREP="$ac_cv_path_EGREP"
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5506 $as_echo_n "checking for fgrep... " >&6; }
5507 if ${ac_cv_path_FGREP+:} false; then :
5508 $as_echo_n "(cached) " >&6
5510 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5511 then ac_cv_path_FGREP="$GREP -F"
5513 if test -z "$FGREP"; then
5514 ac_path_FGREP_found=false
5515 # Loop through the user's path and test for each of PROGNAME-LIST
5516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5517 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5520 test -z "$as_dir" && as_dir=.
5521 for ac_prog in fgrep; do
5522 for ac_exec_ext in '' $ac_executable_extensions; do
5523 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5524 as_fn_executable_p "$ac_path_FGREP" || continue
5525 # Check for GNU ac_path_FGREP and select it if it is found.
5526 # Check for GNU $ac_path_FGREP
5527 case `"$ac_path_FGREP" --version 2>&1` in
5529 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5532 $as_echo_n 0123456789 >"conftest.in"
5535 cat "conftest.in" "conftest.in" >"conftest.tmp"
5536 mv "conftest.tmp" "conftest.in"
5537 cp "conftest.in" "conftest.nl"
5538 $as_echo 'FGREP' >> "conftest.nl"
5539 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5540 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5541 as_fn_arith $ac_count + 1 && ac_count=$as_val
5542 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5543 # Best one so far, save it but keep looking for a better one
5544 ac_cv_path_FGREP="$ac_path_FGREP"
5545 ac_path_FGREP_max=$ac_count
5547 # 10*(2^10) chars as input seems more than enough
5548 test $ac_count -gt 10 && break
5550 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5553 $ac_path_FGREP_found && break 3
5558 if test -z "$ac_cv_path_FGREP"; then
5559 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5562 ac_cv_path_FGREP=$FGREP
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5568 $as_echo "$ac_cv_path_FGREP" >&6; }
5569 FGREP="$ac_cv_path_FGREP"
5572 test -z "$GREP" && GREP=grep
5592 # Check whether --with-gnu-ld was given.
5593 if test "${with_gnu_ld+set}" = set; then :
5594 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5600 if test "$GCC" = yes; then
5601 # Check if gcc -print-prog-name=ld gives a path.
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5603 $as_echo_n "checking for ld used by $CC... " >&6; }
5606 # gcc leaves a trailing carriage return which upsets mingw
5607 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5609 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5612 # Accept absolute paths.
5614 re_direlt='/[^/][^/]*/\.\./'
5615 # Canonicalize the pathname of ld
5616 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5617 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5618 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5620 test -z "$LD" && LD="$ac_prog"
5623 # If it fails, then pretend we aren't using GCC.
5627 # If it is relative, then search for the first ld in PATH.
5631 elif test "$with_gnu_ld" = yes; then
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5633 $as_echo_n "checking for GNU ld... " >&6; }
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5636 $as_echo_n "checking for non-GNU ld... " >&6; }
5638 if ${lt_cv_path_LD+:} false; then :
5639 $as_echo_n "(cached) " >&6
5641 if test -z "$LD"; then
5642 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5643 for ac_dir in $PATH; do
5645 test -z "$ac_dir" && ac_dir=.
5646 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5647 lt_cv_path_LD="$ac_dir/$ac_prog"
5648 # Check to see if the program is GNU ld. I'd rather use --version,
5649 # but apparently some variants of GNU ld only accept -v.
5650 # Break only if it was the GNU/non-GNU ld that we prefer.
5651 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5652 *GNU* | *'with BFD'*)
5653 test "$with_gnu_ld" != no && break
5656 test "$with_gnu_ld" != yes && break
5663 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5668 if test -n "$LD"; then
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5670 $as_echo "$LD" >&6; }
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5673 $as_echo "no" >&6; }
5675 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5677 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5678 if ${lt_cv_prog_gnu_ld+:} false; then :
5679 $as_echo_n "(cached) " >&6
5681 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5682 case `$LD -v 2>&1 </dev/null` in
5683 *GNU* | *'with BFD'*)
5684 lt_cv_prog_gnu_ld=yes
5687 lt_cv_prog_gnu_ld=no
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5692 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5693 with_gnu_ld=$lt_cv_prog_gnu_ld
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5704 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5705 if ${lt_cv_path_NM+:} false; then :
5706 $as_echo_n "(cached) " >&6
5708 if test -n "$NM"; then
5709 # Let the user override the test.
5712 lt_nm_to_check="${ac_tool_prefix}nm"
5713 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5714 lt_nm_to_check="$lt_nm_to_check nm"
5716 for lt_tmp_nm in $lt_nm_to_check; do
5717 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5718 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5720 test -z "$ac_dir" && ac_dir=.
5721 tmp_nm="$ac_dir/$lt_tmp_nm"
5722 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5723 # Check to see if the nm accepts a BSD-compat flag.
5724 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5725 # nm: unknown option "B" ignored
5726 # Tru64's nm complains that /dev/null is an invalid object file
5727 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5728 */dev/null* | *'Invalid file or object type'*)
5729 lt_cv_path_NM="$tmp_nm -B"
5733 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5735 lt_cv_path_NM="$tmp_nm -p"
5739 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5740 continue # so that we can try to find one that supports BSD flags
5749 : ${lt_cv_path_NM=no}
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5753 $as_echo "$lt_cv_path_NM" >&6; }
5754 if test "$lt_cv_path_NM" != "no"; then
5757 # Didn't find any BSD compatible name lister, look for dumpbin.
5758 if test -n "$DUMPBIN"; then :
5759 # Let the user override the test.
5761 if test -n "$ac_tool_prefix"; then
5762 for ac_prog in dumpbin "link -dump"
5764 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5765 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5767 $as_echo_n "checking for $ac_word... " >&6; }
5768 if ${ac_cv_prog_DUMPBIN+:} false; then :
5769 $as_echo_n "(cached) " >&6
5771 if test -n "$DUMPBIN"; then
5772 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5778 test -z "$as_dir" && as_dir=.
5779 for ac_exec_ext in '' $ac_executable_extensions; do
5780 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5781 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5791 DUMPBIN=$ac_cv_prog_DUMPBIN
5792 if test -n "$DUMPBIN"; then
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5794 $as_echo "$DUMPBIN" >&6; }
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5797 $as_echo "no" >&6; }
5801 test -n "$DUMPBIN" && break
5804 if test -z "$DUMPBIN"; then
5805 ac_ct_DUMPBIN=$DUMPBIN
5806 for ac_prog in dumpbin "link -dump"
5808 # Extract the first word of "$ac_prog", so it can be a program name with args.
5809 set dummy $ac_prog; ac_word=$2
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5811 $as_echo_n "checking for $ac_word... " >&6; }
5812 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5813 $as_echo_n "(cached) " >&6
5815 if test -n "$ac_ct_DUMPBIN"; then
5816 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5822 test -z "$as_dir" && as_dir=.
5823 for ac_exec_ext in '' $ac_executable_extensions; do
5824 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5825 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5835 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5836 if test -n "$ac_ct_DUMPBIN"; then
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5838 $as_echo "$ac_ct_DUMPBIN" >&6; }
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5841 $as_echo "no" >&6; }
5845 test -n "$ac_ct_DUMPBIN" && break
5848 if test "x$ac_ct_DUMPBIN" = x; then
5851 case $cross_compiling:$ac_tool_warned in
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5854 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5855 ac_tool_warned=yes ;;
5857 DUMPBIN=$ac_ct_DUMPBIN
5861 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5863 DUMPBIN="$DUMPBIN -symbols"
5871 if test "$DUMPBIN" != ":"; then
5875 test -z "$NM" && NM=nm
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5883 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5884 if ${lt_cv_nm_interface+:} false; then :
5885 $as_echo_n "(cached) " >&6
5887 lt_cv_nm_interface="BSD nm"
5888 echo "int some_variable = 0;" > conftest.$ac_ext
5889 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5890 (eval "$ac_compile" 2>conftest.err)
5891 cat conftest.err >&5
5892 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5893 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5894 cat conftest.err >&5
5895 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5896 cat conftest.out >&5
5897 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5898 lt_cv_nm_interface="MS dumpbin"
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5903 $as_echo "$lt_cv_nm_interface" >&6; }
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5906 $as_echo_n "checking whether ln -s works... " >&6; }
5908 if test "$LN_S" = "ln -s"; then
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5910 $as_echo "yes" >&6; }
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5913 $as_echo "no, using $LN_S" >&6; }
5916 # find the maximum length of command line arguments
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5918 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5919 if ${lt_cv_sys_max_cmd_len+:} false; then :
5920 $as_echo_n "(cached) " >&6
5927 # On DJGPP, this test can blow up pretty badly due to problems in libc
5928 # (any single argument exceeding 2000 bytes causes a buffer overrun
5929 # during glob expansion). Even if it were fixed, the result of this
5930 # check would be larger than it should be.
5931 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5935 # Under GNU Hurd, this test is not required because there is
5936 # no limit to the length of command line arguments.
5937 # Libtool will interpret -1 as no limit whatsoever
5938 lt_cv_sys_max_cmd_len=-1;
5941 cygwin* | mingw* | cegcc*)
5942 # On Win9x/ME, this test blows up -- it succeeds, but takes
5943 # about 5 minutes as the teststring grows exponentially.
5944 # Worse, since 9x/ME are not pre-emptively multitasking,
5945 # you end up with a "frozen" computer, even though with patience
5946 # the test eventually succeeds (with a max line length of 256k).
5947 # Instead, let's just punt: use the minimum linelength reported by
5948 # all of the supported platforms: 8192 (on NT/2K/XP).
5949 lt_cv_sys_max_cmd_len=8192;
5953 # On MiNT this can take a long time and run out of memory.
5954 lt_cv_sys_max_cmd_len=8192;
5958 # On AmigaOS with pdksh, this test takes hours, literally.
5959 # So we just punt and use a minimum line length of 8192.
5960 lt_cv_sys_max_cmd_len=8192;
5963 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5964 # This has been around since 386BSD, at least. Likely further.
5965 if test -x /sbin/sysctl; then
5966 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5967 elif test -x /usr/sbin/sysctl; then
5968 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5970 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5972 # And add a safety zone
5973 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5974 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5978 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5979 lt_cv_sys_max_cmd_len=196608
5983 # The test takes a long time on OS/2.
5984 lt_cv_sys_max_cmd_len=8192
5988 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5989 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5990 # nice to cause kernel panics so lets avoid the loop below.
5991 # First set a reasonable default.
5992 lt_cv_sys_max_cmd_len=16384
5994 if test -x /sbin/sysconfig; then
5995 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5996 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6001 lt_cv_sys_max_cmd_len=102400
6003 sysv5* | sco5v6* | sysv4.2uw2*)
6004 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6005 if test -n "$kargmax"; then
6006 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6008 lt_cv_sys_max_cmd_len=32768
6012 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6013 if test -n "$lt_cv_sys_max_cmd_len"; then
6014 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6015 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6017 # Make teststring a little bigger before we do anything with it.
6018 # a 1K string should be a reasonable start.
6019 for i in 1 2 3 4 5 6 7 8 ; do
6020 teststring=$teststring$teststring
6022 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6023 # If test is not a shell built-in, we'll probably end up computing a
6024 # maximum length that is only half of the actual maximum length, but
6026 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
6027 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6028 test $i != 17 # 1/2 MB should be enough
6031 teststring=$teststring$teststring
6033 # Only check the string length outside the loop.
6034 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6036 # Add a significant safety factor because C++ compilers can tack on
6037 # massive amounts of additional arguments before passing them to the
6038 # linker. It appears as though 1/2 is a usable value.
6039 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6046 if test -n $lt_cv_sys_max_cmd_len ; then
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6048 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6051 $as_echo "none" >&6; }
6053 max_cmd_len=$lt_cv_sys_max_cmd_len
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6065 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6066 # Try some XSI features
6069 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6071 && eval 'test $(( 1 + 1 )) -eq 2 \
6072 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6075 $as_echo "$xsi_shell" >&6; }
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6079 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6081 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6083 && lt_shell_append=yes
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6085 $as_echo "$lt_shell_append" >&6; }
6088 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6098 # test EBCDIC or ASCII
6099 case `echo X|tr X '\101'` in
6100 A) # ASCII based system
6101 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6102 lt_SP2NL='tr \040 \012'
6103 lt_NL2SP='tr \015\012 \040\040'
6105 *) # EBCDIC based system
6106 lt_SP2NL='tr \100 \n'
6107 lt_NL2SP='tr \r\n \100\100'
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6120 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6121 if ${lt_cv_to_host_file_cmd+:} false; then :
6122 $as_echo_n "(cached) " >&6
6127 *-*-mingw* ) # actually msys
6128 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6131 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6133 * ) # otherwise, assume *nix
6134 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6140 *-*-mingw* ) # actually msys
6141 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6144 lt_cv_to_host_file_cmd=func_convert_file_noop
6146 * ) # otherwise, assume *nix
6147 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6151 * ) # unhandled hosts (and "normal" native builds)
6152 lt_cv_to_host_file_cmd=func_convert_file_noop
6158 to_host_file_cmd=$lt_cv_to_host_file_cmd
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6160 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6167 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6168 if ${lt_cv_to_tool_file_cmd+:} false; then :
6169 $as_echo_n "(cached) " >&6
6171 #assume ordinary cross tools, or native build.
6172 lt_cv_to_tool_file_cmd=func_convert_file_noop
6176 *-*-mingw* ) # actually msys
6177 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6185 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6187 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6194 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6195 if ${lt_cv_ld_reload_flag+:} false; then :
6196 $as_echo_n "(cached) " >&6
6198 lt_cv_ld_reload_flag='-r'
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6201 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6202 reload_flag=$lt_cv_ld_reload_flag
6203 case $reload_flag in
6205 *) reload_flag=" $reload_flag" ;;
6207 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6209 cygwin* | mingw* | pw32* | cegcc*)
6210 if test "$GCC" != yes; then
6215 if test "$GCC" = yes; then
6216 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6218 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6231 if test -n "$ac_tool_prefix"; then
6232 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6233 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6235 $as_echo_n "checking for $ac_word... " >&6; }
6236 if ${ac_cv_prog_OBJDUMP+:} false; then :
6237 $as_echo_n "(cached) " >&6
6239 if test -n "$OBJDUMP"; then
6240 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6246 test -z "$as_dir" && as_dir=.
6247 for ac_exec_ext in '' $ac_executable_extensions; do
6248 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6249 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6259 OBJDUMP=$ac_cv_prog_OBJDUMP
6260 if test -n "$OBJDUMP"; then
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6262 $as_echo "$OBJDUMP" >&6; }
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6265 $as_echo "no" >&6; }
6270 if test -z "$ac_cv_prog_OBJDUMP"; then
6271 ac_ct_OBJDUMP=$OBJDUMP
6272 # Extract the first word of "objdump", so it can be a program name with args.
6273 set dummy objdump; ac_word=$2
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6275 $as_echo_n "checking for $ac_word... " >&6; }
6276 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6277 $as_echo_n "(cached) " >&6
6279 if test -n "$ac_ct_OBJDUMP"; then
6280 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6286 test -z "$as_dir" && as_dir=.
6287 for ac_exec_ext in '' $ac_executable_extensions; do
6288 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6289 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6299 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6300 if test -n "$ac_ct_OBJDUMP"; then
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6302 $as_echo "$ac_ct_OBJDUMP" >&6; }
6304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6305 $as_echo "no" >&6; }
6308 if test "x$ac_ct_OBJDUMP" = x; then
6311 case $cross_compiling:$ac_tool_warned in
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6314 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6315 ac_tool_warned=yes ;;
6317 OBJDUMP=$ac_ct_OBJDUMP
6320 OBJDUMP="$ac_cv_prog_OBJDUMP"
6323 test -z "$OBJDUMP" && OBJDUMP=objdump
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6334 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6335 if ${lt_cv_deplibs_check_method+:} false; then :
6336 $as_echo_n "(cached) " >&6
6338 lt_cv_file_magic_cmd='$MAGIC_CMD'
6339 lt_cv_file_magic_test_file=
6340 lt_cv_deplibs_check_method='unknown'
6341 # Need to set the preceding variable on all platforms that support
6342 # interlibrary dependencies.
6343 # 'none' -- dependencies not supported.
6344 # `unknown' -- same as none, but documents that we really don't know.
6345 # 'pass_all' -- all dependencies passed with no checks.
6346 # 'test_compile' -- check by making test program.
6347 # 'file_magic [[regex]]' -- check by looking for files in library path
6348 # which responds to the $file_magic_cmd with a given extended regex.
6349 # If you have `file' or equivalent on your system and you're not sure
6350 # whether `pass_all' will *always* work, you probably want this one.
6354 lt_cv_deplibs_check_method=pass_all
6358 lt_cv_deplibs_check_method=pass_all
6362 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6363 lt_cv_file_magic_cmd='/usr/bin/file -L'
6364 lt_cv_file_magic_test_file=/shlib/libc.so
6368 # func_win32_libid is a shell function defined in ltmain.sh
6369 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6370 lt_cv_file_magic_cmd='func_win32_libid'
6374 # Base MSYS/MinGW do not provide the 'file' command needed by
6375 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6376 # unless we find 'file', for example because we are cross-compiling.
6377 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6378 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6379 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6380 lt_cv_file_magic_cmd='func_win32_libid'
6382 # Keep this pattern in sync with the one in func_win32_libid.
6383 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6384 lt_cv_file_magic_cmd='$OBJDUMP -f'
6389 # use the weaker test based on 'objdump'. See mingw*.
6390 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6391 lt_cv_file_magic_cmd='$OBJDUMP -f'
6394 darwin* | rhapsody*)
6395 lt_cv_deplibs_check_method=pass_all
6398 freebsd* | dragonfly*)
6399 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6402 # Not sure whether the presence of OpenBSD here was a mistake.
6403 # Let's accept both of them until this is cleared up.
6404 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6405 lt_cv_file_magic_cmd=/usr/bin/file
6406 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6410 lt_cv_deplibs_check_method=pass_all
6415 lt_cv_deplibs_check_method=pass_all
6418 hpux10.20* | hpux11*)
6419 lt_cv_file_magic_cmd=/usr/bin/file
6422 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6423 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6426 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6427 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6430 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6431 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6437 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6438 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6441 irix5* | irix6* | nonstopux*)
6443 *-32|*"-32 ") libmagic=32-bit;;
6444 *-n32|*"-n32 ") libmagic=N32;;
6445 *-64|*"-64 ") libmagic=64-bit;;
6446 *) libmagic=never-match;;
6448 lt_cv_deplibs_check_method=pass_all
6451 # This must be glibc/ELF.
6452 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6453 lt_cv_deplibs_check_method=pass_all
6456 netbsd* | netbsdelf*-gnu)
6457 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6458 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6460 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6465 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6466 lt_cv_file_magic_cmd=/usr/bin/file
6467 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6471 lt_cv_deplibs_check_method=pass_all
6475 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6476 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6478 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6482 osf3* | osf4* | osf5*)
6483 lt_cv_deplibs_check_method=pass_all
6487 lt_cv_deplibs_check_method=pass_all
6491 lt_cv_deplibs_check_method=pass_all
6494 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6495 lt_cv_deplibs_check_method=pass_all
6499 case $host_vendor in
6501 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]'
6502 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6505 lt_cv_deplibs_check_method=pass_all
6508 lt_cv_file_magic_cmd='/bin/file'
6509 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6512 lt_cv_file_magic_cmd='/bin/file'
6513 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6514 lt_cv_file_magic_test_file=/lib/libc.so
6517 lt_cv_deplibs_check_method=pass_all
6520 lt_cv_deplibs_check_method=pass_all
6526 lt_cv_deplibs_check_method=pass_all
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6532 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6536 if test "$build" = "$host"; then
6539 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6542 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6548 file_magic_cmd=$lt_cv_file_magic_cmd
6549 deplibs_check_method=$lt_cv_deplibs_check_method
6550 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6573 if test -n "$ac_tool_prefix"; then
6574 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6575 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6577 $as_echo_n "checking for $ac_word... " >&6; }
6578 if ${ac_cv_prog_DLLTOOL+:} false; then :
6579 $as_echo_n "(cached) " >&6
6581 if test -n "$DLLTOOL"; then
6582 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6588 test -z "$as_dir" && as_dir=.
6589 for ac_exec_ext in '' $ac_executable_extensions; do
6590 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6591 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6601 DLLTOOL=$ac_cv_prog_DLLTOOL
6602 if test -n "$DLLTOOL"; then
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6604 $as_echo "$DLLTOOL" >&6; }
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6607 $as_echo "no" >&6; }
6612 if test -z "$ac_cv_prog_DLLTOOL"; then
6613 ac_ct_DLLTOOL=$DLLTOOL
6614 # Extract the first word of "dlltool", so it can be a program name with args.
6615 set dummy dlltool; ac_word=$2
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6617 $as_echo_n "checking for $ac_word... " >&6; }
6618 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6619 $as_echo_n "(cached) " >&6
6621 if test -n "$ac_ct_DLLTOOL"; then
6622 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6628 test -z "$as_dir" && as_dir=.
6629 for ac_exec_ext in '' $ac_executable_extensions; do
6630 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6631 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6641 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6642 if test -n "$ac_ct_DLLTOOL"; then
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6644 $as_echo "$ac_ct_DLLTOOL" >&6; }
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6647 $as_echo "no" >&6; }
6650 if test "x$ac_ct_DLLTOOL" = x; then
6653 case $cross_compiling:$ac_tool_warned in
6655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6656 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6657 ac_tool_warned=yes ;;
6659 DLLTOOL=$ac_ct_DLLTOOL
6662 DLLTOOL="$ac_cv_prog_DLLTOOL"
6665 test -z "$DLLTOOL" && DLLTOOL=dlltool
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6677 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6678 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6679 $as_echo_n "(cached) " >&6
6681 lt_cv_sharedlib_from_linklib_cmd='unknown'
6684 cygwin* | mingw* | pw32* | cegcc*)
6685 # two different shell functions defined in ltmain.sh
6686 # decide which to use based on capabilities of $DLLTOOL
6687 case `$DLLTOOL --help 2>&1` in
6688 *--identify-strict*)
6689 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6692 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6697 # fallback: assume linklib IS sharedlib
6698 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6704 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6705 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6706 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6715 if test -n "$ac_tool_prefix"; then
6718 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6719 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6721 $as_echo_n "checking for $ac_word... " >&6; }
6722 if ${ac_cv_prog_AR+:} false; then :
6723 $as_echo_n "(cached) " >&6
6725 if test -n "$AR"; then
6726 ac_cv_prog_AR="$AR" # Let the user override the test.
6728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6732 test -z "$as_dir" && as_dir=.
6733 for ac_exec_ext in '' $ac_executable_extensions; do
6734 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6735 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6746 if test -n "$AR"; then
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6748 $as_echo "$AR" >&6; }
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6751 $as_echo "no" >&6; }
6755 test -n "$AR" && break
6758 if test -z "$AR"; then
6762 # Extract the first word of "$ac_prog", so it can be a program name with args.
6763 set dummy $ac_prog; ac_word=$2
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6765 $as_echo_n "checking for $ac_word... " >&6; }
6766 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6767 $as_echo_n "(cached) " >&6
6769 if test -n "$ac_ct_AR"; then
6770 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6776 test -z "$as_dir" && as_dir=.
6777 for ac_exec_ext in '' $ac_executable_extensions; do
6778 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6779 ac_cv_prog_ac_ct_AR="$ac_prog"
6780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6789 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6790 if test -n "$ac_ct_AR"; then
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6792 $as_echo "$ac_ct_AR" >&6; }
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6795 $as_echo "no" >&6; }
6799 test -n "$ac_ct_AR" && break
6802 if test "x$ac_ct_AR" = x; then
6805 case $cross_compiling:$ac_tool_warned in
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6808 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6809 ac_tool_warned=yes ;;
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6829 $as_echo_n "checking for archiver @FILE support... " >&6; }
6830 if ${lt_cv_ar_at_file+:} false; then :
6831 $as_echo_n "(cached) " >&6
6834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6835 /* end confdefs.h. */
6845 if ac_fn_c_try_compile "$LINENO"; then :
6846 echo conftest.$ac_objext > conftest.lst
6847 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6848 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6849 (eval $lt_ar_try) 2>&5
6851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6852 test $ac_status = 0; }
6853 if test "$ac_status" -eq 0; then
6854 # Ensure the archiver fails upon bogus file names.
6855 rm -f conftest.$ac_objext libconftest.a
6856 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6857 (eval $lt_ar_try) 2>&5
6859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6860 test $ac_status = 0; }
6861 if test "$ac_status" -ne 0; then
6865 rm -f conftest.* libconftest.a
6868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6872 $as_echo "$lt_cv_ar_at_file" >&6; }
6874 if test "x$lt_cv_ar_at_file" = xno; then
6877 archiver_list_spec=$lt_cv_ar_at_file
6886 if test -n "$ac_tool_prefix"; then
6887 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6888 set dummy ${ac_tool_prefix}strip; ac_word=$2
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6890 $as_echo_n "checking for $ac_word... " >&6; }
6891 if ${ac_cv_prog_STRIP+:} false; then :
6892 $as_echo_n "(cached) " >&6
6894 if test -n "$STRIP"; then
6895 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6901 test -z "$as_dir" && as_dir=.
6902 for ac_exec_ext in '' $ac_executable_extensions; do
6903 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6904 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6914 STRIP=$ac_cv_prog_STRIP
6915 if test -n "$STRIP"; then
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6917 $as_echo "$STRIP" >&6; }
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6920 $as_echo "no" >&6; }
6925 if test -z "$ac_cv_prog_STRIP"; then
6927 # Extract the first word of "strip", so it can be a program name with args.
6928 set dummy strip; ac_word=$2
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6930 $as_echo_n "checking for $ac_word... " >&6; }
6931 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6932 $as_echo_n "(cached) " >&6
6934 if test -n "$ac_ct_STRIP"; then
6935 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6941 test -z "$as_dir" && as_dir=.
6942 for ac_exec_ext in '' $ac_executable_extensions; do
6943 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6944 ac_cv_prog_ac_ct_STRIP="strip"
6945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6954 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6955 if test -n "$ac_ct_STRIP"; then
6956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6957 $as_echo "$ac_ct_STRIP" >&6; }
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6960 $as_echo "no" >&6; }
6963 if test "x$ac_ct_STRIP" = x; then
6966 case $cross_compiling:$ac_tool_warned in
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6969 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6970 ac_tool_warned=yes ;;
6975 STRIP="$ac_cv_prog_STRIP"
6978 test -z "$STRIP" && STRIP=:
6985 if test -n "$ac_tool_prefix"; then
6986 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6987 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6989 $as_echo_n "checking for $ac_word... " >&6; }
6990 if ${ac_cv_prog_RANLIB+:} false; then :
6991 $as_echo_n "(cached) " >&6
6993 if test -n "$RANLIB"; then
6994 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7000 test -z "$as_dir" && as_dir=.
7001 for ac_exec_ext in '' $ac_executable_extensions; do
7002 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7003 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7013 RANLIB=$ac_cv_prog_RANLIB
7014 if test -n "$RANLIB"; then
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7016 $as_echo "$RANLIB" >&6; }
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7019 $as_echo "no" >&6; }
7024 if test -z "$ac_cv_prog_RANLIB"; then
7025 ac_ct_RANLIB=$RANLIB
7026 # Extract the first word of "ranlib", so it can be a program name with args.
7027 set dummy ranlib; ac_word=$2
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7029 $as_echo_n "checking for $ac_word... " >&6; }
7030 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7031 $as_echo_n "(cached) " >&6
7033 if test -n "$ac_ct_RANLIB"; then
7034 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7040 test -z "$as_dir" && as_dir=.
7041 for ac_exec_ext in '' $ac_executable_extensions; do
7042 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7043 ac_cv_prog_ac_ct_RANLIB="ranlib"
7044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7053 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7054 if test -n "$ac_ct_RANLIB"; then
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7056 $as_echo "$ac_ct_RANLIB" >&6; }
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7059 $as_echo "no" >&6; }
7062 if test "x$ac_ct_RANLIB" = x; then
7065 case $cross_compiling:$ac_tool_warned in
7067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7068 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7069 ac_tool_warned=yes ;;
7071 RANLIB=$ac_ct_RANLIB
7074 RANLIB="$ac_cv_prog_RANLIB"
7077 test -z "$RANLIB" && RANLIB=:
7084 # Determine commands to create old-style static archives.
7085 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7086 old_postinstall_cmds='chmod 644 $oldlib'
7087 old_postuninstall_cmds=
7089 if test -n "$RANLIB"; then
7092 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7095 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7098 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7103 lock_old_archive_extraction=yes ;;
7105 lock_old_archive_extraction=no ;;
7146 # If no C compiler was specified, use CC.
7149 # If no C compiler flags were specified, use CFLAGS.
7150 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7152 # Allow CC to be a program name with arguments.
7156 # Check for command to grab the raw symbol name followed by C symbol from nm.
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7158 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7159 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7160 $as_echo_n "(cached) " >&6
7163 # These are sane defaults that work on at least a few old systems.
7164 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7166 # Character class describing NM global symbol codes.
7167 symcode='[BCDEGRST]'
7169 # Regexp to match symbols that can be accessed directly from C.
7170 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7172 # Define system-specific variables.
7177 cygwin* | mingw* | pw32* | cegcc*)
7178 symcode='[ABCDGISTW]'
7181 if test "$host_cpu" = ia64; then
7182 symcode='[ABCDEGRST]'
7186 symcode='[BCDEGRST]'
7189 symcode='[BCDEGQRST]'
7200 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7208 # If we're using GNU nm, then use its standard symbol codes.
7209 case `$NM -V 2>&1` in
7210 *GNU* | *'with BFD'*)
7211 symcode='[ABCDGIRSTW]' ;;
7214 # Transform an extracted symbol line into a proper C declaration.
7215 # Some systems (esp. on ia64) link data and code symbols differently,
7216 # so use this general approach.
7217 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7219 # Transform an extracted symbol line into symbol name and symbol address
7220 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7221 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'"
7223 # Handle CRLF in mingw tool chain
7227 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7231 # Try without a prefix underscore, then with it.
7232 for ac_symprfx in "" "_"; do
7234 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7235 symxfrm="\\1 $ac_symprfx\\2 \\2"
7237 # Write the raw and C identifiers.
7238 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7239 # Fake it for dumpbin and say T for any non-static function
7240 # and D for any global variable.
7241 # Also find C++ and __fastcall symbols from MSVC++,
7242 # which start with @ or ?.
7243 lt_cv_sys_global_symbol_pipe="$AWK '"\
7244 " {last_section=section; section=\$ 3};"\
7245 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7246 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7247 " \$ 0!~/External *\|/{next};"\
7248 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7249 " {if(hide[section]) next};"\
7250 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7251 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7252 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7253 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7254 " ' prfx=^$ac_symprfx"
7256 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7258 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7260 # Check to see that the pipe works correctly.
7264 cat > conftest.$ac_ext <<_LT_EOF
7269 void nm_test_func(void);
7270 void nm_test_func(void){}
7274 int main(){nm_test_var='a';nm_test_func();return(0);}
7277 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7278 (eval $ac_compile) 2>&5
7280 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7281 test $ac_status = 0; }; then
7282 # Now try to grab the symbols.
7284 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7285 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7287 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7288 test $ac_status = 0; } && test -s "$nlist"; then
7289 # Try sorting and uniquifying the output.
7290 if sort "$nlist" | uniq > "$nlist"T; then
7291 mv -f "$nlist"T "$nlist"
7296 # Make sure that we snagged all the symbols we need.
7297 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7298 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7299 cat <<_LT_EOF > conftest.$ac_ext
7300 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7301 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7302 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7303 relocations are performed -- see ld's documentation on pseudo-relocs. */
7304 # define LT_DLSYM_CONST
7305 #elif defined(__osf__)
7306 /* This system does not cope well with relocations in const data. */
7307 # define LT_DLSYM_CONST
7309 # define LT_DLSYM_CONST const
7317 # Now generate the symbol file.
7318 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7320 cat <<_LT_EOF >> conftest.$ac_ext
7322 /* The mapping between symbol names and symbols. */
7323 LT_DLSYM_CONST struct {
7327 lt__PROGRAM__LTX_preloaded_symbols[] =
7329 { "@PROGRAM@", (void *) 0 },
7331 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7332 cat <<\_LT_EOF >> conftest.$ac_ext
7336 /* This works around a problem in FreeBSD linker */
7337 #ifdef FREEBSD_WORKAROUND
7338 static const void *lt_preloaded_setup() {
7339 return lt__PROGRAM__LTX_preloaded_symbols;
7347 # Now try linking the two files.
7348 mv conftest.$ac_objext conftstm.$ac_objext
7349 lt_globsym_save_LIBS=$LIBS
7350 lt_globsym_save_CFLAGS=$CFLAGS
7351 LIBS="conftstm.$ac_objext"
7352 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7353 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7354 (eval $ac_link) 2>&5
7356 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7357 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7360 LIBS=$lt_globsym_save_LIBS
7361 CFLAGS=$lt_globsym_save_CFLAGS
7363 echo "cannot find nm_test_func in $nlist" >&5
7366 echo "cannot find nm_test_var in $nlist" >&5
7369 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7372 echo "$progname: failed program was:" >&5
7373 cat conftest.$ac_ext >&5
7375 rm -rf conftest* conftst*
7377 # Do not use the global_symbol_pipe unless it works.
7378 if test "$pipe_works" = yes; then
7381 lt_cv_sys_global_symbol_pipe=
7387 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7388 lt_cv_sys_global_symbol_to_cdecl=
7390 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7392 $as_echo "failed" >&6; }
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7395 $as_echo "ok" >&6; }
7398 # Response file support.
7399 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7400 nm_file_list_spec='@'
7401 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7402 nm_file_list_spec='@'
7431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7432 $as_echo_n "checking for sysroot... " >&6; }
7434 # Check whether --with-sysroot was given.
7435 if test "${with_sysroot+set}" = set; then :
7436 withval=$with_sysroot;
7443 case ${with_sysroot} in #(
7445 if test "$GCC" = yes; then
7446 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7450 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7456 $as_echo "${with_sysroot}" >&6; }
7457 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7462 $as_echo "${lt_sysroot:-no}" >&6; }
7468 # Check whether --enable-libtool-lock was given.
7469 if test "${enable_libtool_lock+set}" = set; then :
7470 enableval=$enable_libtool_lock;
7473 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7475 # Some flags need to be propagated to the compiler or linker for good
7479 # Find out which ABI we are using.
7480 echo 'int i;' > conftest.$ac_ext
7481 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7482 (eval $ac_compile) 2>&5
7484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7485 test $ac_status = 0; }; then
7486 case `/usr/bin/file conftest.$ac_objext` in
7498 # Find out which ABI we are using.
7499 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7500 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7501 (eval $ac_compile) 2>&5
7503 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7504 test $ac_status = 0; }; then
7505 if test "$lt_cv_prog_gnu_ld" = yes; then
7506 case `/usr/bin/file conftest.$ac_objext` in
7508 LD="${LD-ld} -melf32bsmip"
7511 LD="${LD-ld} -melf32bmipn32"
7514 LD="${LD-ld} -melf64bmip"
7518 case `/usr/bin/file conftest.$ac_objext` in
7534 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7535 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7536 # Find out which ABI we are using.
7537 echo 'int i;' > conftest.$ac_ext
7538 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7539 (eval $ac_compile) 2>&5
7541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7542 test $ac_status = 0; }; then
7543 case `/usr/bin/file conftest.o` in
7546 x86_64-*kfreebsd*-gnu)
7547 LD="${LD-ld} -m elf_i386_fbsd"
7550 LD="${LD-ld} -m elf_i386"
7552 ppc64-*linux*|powerpc64-*linux*)
7553 LD="${LD-ld} -m elf32ppclinux"
7556 LD="${LD-ld} -m elf_s390"
7559 LD="${LD-ld} -m elf32_sparc"
7565 x86_64-*kfreebsd*-gnu)
7566 LD="${LD-ld} -m elf_x86_64_fbsd"
7569 LD="${LD-ld} -m elf_x86_64"
7571 ppc*-*linux*|powerpc*-*linux*)
7572 LD="${LD-ld} -m elf64ppc"
7574 s390*-*linux*|s390*-*tpf*)
7575 LD="${LD-ld} -m elf64_s390"
7578 LD="${LD-ld} -m elf64_sparc"
7588 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7589 SAVE_CFLAGS="$CFLAGS"
7590 CFLAGS="$CFLAGS -belf"
7591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7592 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7593 if ${lt_cv_cc_needs_belf+:} false; then :
7594 $as_echo_n "(cached) " >&6
7597 ac_cpp='$CPP $CPPFLAGS'
7598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7603 /* end confdefs.h. */
7613 if ac_fn_c_try_link "$LINENO"; then :
7614 lt_cv_cc_needs_belf=yes
7616 lt_cv_cc_needs_belf=no
7618 rm -f core conftest.err conftest.$ac_objext \
7619 conftest$ac_exeext conftest.$ac_ext
7621 ac_cpp='$CPP $CPPFLAGS'
7622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7628 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7629 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7630 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7631 CFLAGS="$SAVE_CFLAGS"
7635 # Find out which ABI we are using.
7636 echo 'int i;' > conftest.$ac_ext
7637 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7638 (eval $ac_compile) 2>&5
7640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7641 test $ac_status = 0; }; then
7642 case `/usr/bin/file conftest.o` in
7644 case $lt_cv_prog_gnu_ld in
7648 LD="${LD-ld} -m elf_x86_64"
7651 LD="${LD-ld} -m elf64_sparc"
7654 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7655 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7660 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7672 need_locks="$enable_libtool_lock"
7674 if test -n "$ac_tool_prefix"; then
7675 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7676 set dummy ${ac_tool_prefix}mt; ac_word=$2
7677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7678 $as_echo_n "checking for $ac_word... " >&6; }
7679 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7680 $as_echo_n "(cached) " >&6
7682 if test -n "$MANIFEST_TOOL"; then
7683 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7689 test -z "$as_dir" && as_dir=.
7690 for ac_exec_ext in '' $ac_executable_extensions; do
7691 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7692 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7702 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7703 if test -n "$MANIFEST_TOOL"; then
7704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7705 $as_echo "$MANIFEST_TOOL" >&6; }
7707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7708 $as_echo "no" >&6; }
7713 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7714 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7715 # Extract the first word of "mt", so it can be a program name with args.
7716 set dummy mt; ac_word=$2
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7718 $as_echo_n "checking for $ac_word... " >&6; }
7719 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7720 $as_echo_n "(cached) " >&6
7722 if test -n "$ac_ct_MANIFEST_TOOL"; then
7723 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7729 test -z "$as_dir" && as_dir=.
7730 for ac_exec_ext in '' $ac_executable_extensions; do
7731 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7732 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7742 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7743 if test -n "$ac_ct_MANIFEST_TOOL"; then
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7745 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7748 $as_echo "no" >&6; }
7751 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7754 case $cross_compiling:$ac_tool_warned in
7756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7757 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7758 ac_tool_warned=yes ;;
7760 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7763 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7766 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7768 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7769 if ${lt_cv_path_mainfest_tool+:} false; then :
7770 $as_echo_n "(cached) " >&6
7772 lt_cv_path_mainfest_tool=no
7773 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7774 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7775 cat conftest.err >&5
7776 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7777 lt_cv_path_mainfest_tool=yes
7781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7782 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7783 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7793 rhapsody* | darwin*)
7794 if test -n "$ac_tool_prefix"; then
7795 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7796 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7798 $as_echo_n "checking for $ac_word... " >&6; }
7799 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7800 $as_echo_n "(cached) " >&6
7802 if test -n "$DSYMUTIL"; then
7803 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7809 test -z "$as_dir" && as_dir=.
7810 for ac_exec_ext in '' $ac_executable_extensions; do
7811 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7812 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7822 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7823 if test -n "$DSYMUTIL"; then
7824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7825 $as_echo "$DSYMUTIL" >&6; }
7827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7828 $as_echo "no" >&6; }
7833 if test -z "$ac_cv_prog_DSYMUTIL"; then
7834 ac_ct_DSYMUTIL=$DSYMUTIL
7835 # Extract the first word of "dsymutil", so it can be a program name with args.
7836 set dummy dsymutil; ac_word=$2
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7838 $as_echo_n "checking for $ac_word... " >&6; }
7839 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7840 $as_echo_n "(cached) " >&6
7842 if test -n "$ac_ct_DSYMUTIL"; then
7843 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7849 test -z "$as_dir" && as_dir=.
7850 for ac_exec_ext in '' $ac_executable_extensions; do
7851 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7852 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7862 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7863 if test -n "$ac_ct_DSYMUTIL"; then
7864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7865 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7868 $as_echo "no" >&6; }
7871 if test "x$ac_ct_DSYMUTIL" = x; then
7874 case $cross_compiling:$ac_tool_warned in
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7877 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7878 ac_tool_warned=yes ;;
7880 DSYMUTIL=$ac_ct_DSYMUTIL
7883 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7886 if test -n "$ac_tool_prefix"; then
7887 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7888 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7890 $as_echo_n "checking for $ac_word... " >&6; }
7891 if ${ac_cv_prog_NMEDIT+:} false; then :
7892 $as_echo_n "(cached) " >&6
7894 if test -n "$NMEDIT"; then
7895 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7901 test -z "$as_dir" && as_dir=.
7902 for ac_exec_ext in '' $ac_executable_extensions; do
7903 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7904 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7914 NMEDIT=$ac_cv_prog_NMEDIT
7915 if test -n "$NMEDIT"; then
7916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7917 $as_echo "$NMEDIT" >&6; }
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7920 $as_echo "no" >&6; }
7925 if test -z "$ac_cv_prog_NMEDIT"; then
7926 ac_ct_NMEDIT=$NMEDIT
7927 # Extract the first word of "nmedit", so it can be a program name with args.
7928 set dummy nmedit; ac_word=$2
7929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7930 $as_echo_n "checking for $ac_word... " >&6; }
7931 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7932 $as_echo_n "(cached) " >&6
7934 if test -n "$ac_ct_NMEDIT"; then
7935 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7941 test -z "$as_dir" && as_dir=.
7942 for ac_exec_ext in '' $ac_executable_extensions; do
7943 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7944 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7954 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7955 if test -n "$ac_ct_NMEDIT"; then
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7957 $as_echo "$ac_ct_NMEDIT" >&6; }
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7960 $as_echo "no" >&6; }
7963 if test "x$ac_ct_NMEDIT" = x; then
7966 case $cross_compiling:$ac_tool_warned in
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7969 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7970 ac_tool_warned=yes ;;
7972 NMEDIT=$ac_ct_NMEDIT
7975 NMEDIT="$ac_cv_prog_NMEDIT"
7978 if test -n "$ac_tool_prefix"; then
7979 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7980 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7982 $as_echo_n "checking for $ac_word... " >&6; }
7983 if ${ac_cv_prog_LIPO+:} false; then :
7984 $as_echo_n "(cached) " >&6
7986 if test -n "$LIPO"; then
7987 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7993 test -z "$as_dir" && as_dir=.
7994 for ac_exec_ext in '' $ac_executable_extensions; do
7995 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7996 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8006 LIPO=$ac_cv_prog_LIPO
8007 if test -n "$LIPO"; then
8008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8009 $as_echo "$LIPO" >&6; }
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8012 $as_echo "no" >&6; }
8017 if test -z "$ac_cv_prog_LIPO"; then
8019 # Extract the first word of "lipo", so it can be a program name with args.
8020 set dummy lipo; ac_word=$2
8021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8022 $as_echo_n "checking for $ac_word... " >&6; }
8023 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8024 $as_echo_n "(cached) " >&6
8026 if test -n "$ac_ct_LIPO"; then
8027 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8033 test -z "$as_dir" && as_dir=.
8034 for ac_exec_ext in '' $ac_executable_extensions; do
8035 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8036 ac_cv_prog_ac_ct_LIPO="lipo"
8037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8046 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8047 if test -n "$ac_ct_LIPO"; then
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8049 $as_echo "$ac_ct_LIPO" >&6; }
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8052 $as_echo "no" >&6; }
8055 if test "x$ac_ct_LIPO" = x; then
8058 case $cross_compiling:$ac_tool_warned in
8060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8061 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8062 ac_tool_warned=yes ;;
8067 LIPO="$ac_cv_prog_LIPO"
8070 if test -n "$ac_tool_prefix"; then
8071 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8072 set dummy ${ac_tool_prefix}otool; ac_word=$2
8073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8074 $as_echo_n "checking for $ac_word... " >&6; }
8075 if ${ac_cv_prog_OTOOL+:} false; then :
8076 $as_echo_n "(cached) " >&6
8078 if test -n "$OTOOL"; then
8079 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8085 test -z "$as_dir" && as_dir=.
8086 for ac_exec_ext in '' $ac_executable_extensions; do
8087 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8088 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8098 OTOOL=$ac_cv_prog_OTOOL
8099 if test -n "$OTOOL"; then
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8101 $as_echo "$OTOOL" >&6; }
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8104 $as_echo "no" >&6; }
8109 if test -z "$ac_cv_prog_OTOOL"; then
8111 # Extract the first word of "otool", so it can be a program name with args.
8112 set dummy otool; ac_word=$2
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8114 $as_echo_n "checking for $ac_word... " >&6; }
8115 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8116 $as_echo_n "(cached) " >&6
8118 if test -n "$ac_ct_OTOOL"; then
8119 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8125 test -z "$as_dir" && as_dir=.
8126 for ac_exec_ext in '' $ac_executable_extensions; do
8127 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8128 ac_cv_prog_ac_ct_OTOOL="otool"
8129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8138 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8139 if test -n "$ac_ct_OTOOL"; then
8140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8141 $as_echo "$ac_ct_OTOOL" >&6; }
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8144 $as_echo "no" >&6; }
8147 if test "x$ac_ct_OTOOL" = x; then
8150 case $cross_compiling:$ac_tool_warned in
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8153 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8154 ac_tool_warned=yes ;;
8159 OTOOL="$ac_cv_prog_OTOOL"
8162 if test -n "$ac_tool_prefix"; then
8163 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8164 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8166 $as_echo_n "checking for $ac_word... " >&6; }
8167 if ${ac_cv_prog_OTOOL64+:} false; then :
8168 $as_echo_n "(cached) " >&6
8170 if test -n "$OTOOL64"; then
8171 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8177 test -z "$as_dir" && as_dir=.
8178 for ac_exec_ext in '' $ac_executable_extensions; do
8179 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8180 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8190 OTOOL64=$ac_cv_prog_OTOOL64
8191 if test -n "$OTOOL64"; then
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8193 $as_echo "$OTOOL64" >&6; }
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8196 $as_echo "no" >&6; }
8201 if test -z "$ac_cv_prog_OTOOL64"; then
8202 ac_ct_OTOOL64=$OTOOL64
8203 # Extract the first word of "otool64", so it can be a program name with args.
8204 set dummy otool64; ac_word=$2
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8206 $as_echo_n "checking for $ac_word... " >&6; }
8207 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8208 $as_echo_n "(cached) " >&6
8210 if test -n "$ac_ct_OTOOL64"; then
8211 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8217 test -z "$as_dir" && as_dir=.
8218 for ac_exec_ext in '' $ac_executable_extensions; do
8219 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8220 ac_cv_prog_ac_ct_OTOOL64="otool64"
8221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8230 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8231 if test -n "$ac_ct_OTOOL64"; then
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8233 $as_echo "$ac_ct_OTOOL64" >&6; }
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8236 $as_echo "no" >&6; }
8239 if test "x$ac_ct_OTOOL64" = x; then
8242 case $cross_compiling:$ac_tool_warned in
8244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8245 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8246 ac_tool_warned=yes ;;
8248 OTOOL64=$ac_ct_OTOOL64
8251 OTOOL64="$ac_cv_prog_OTOOL64"
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8281 $as_echo_n "checking for -single_module linker flag... " >&6; }
8282 if ${lt_cv_apple_cc_single_mod+:} false; then :
8283 $as_echo_n "(cached) " >&6
8285 lt_cv_apple_cc_single_mod=no
8286 if test -z "${LT_MULTI_MODULE}"; then
8287 # By default we will add the -single_module flag. You can override
8288 # by either setting the environment variable LT_MULTI_MODULE
8289 # non-empty at configure time, or by adding -multi_module to the
8291 rm -rf libconftest.dylib*
8292 echo "int foo(void){return 1;}" > conftest.c
8293 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8294 -dynamiclib -Wl,-single_module conftest.c" >&5
8295 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8296 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8298 # If there is a non-empty error log, and "single_module"
8299 # appears in it, assume the flag caused a linker warning
8300 if test -s conftest.err && $GREP single_module conftest.err; then
8301 cat conftest.err >&5
8302 # Otherwise, if the output was created with a 0 exit code from
8303 # the compiler, it worked.
8304 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8305 lt_cv_apple_cc_single_mod=yes
8307 cat conftest.err >&5
8309 rm -rf libconftest.dylib*
8313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8314 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8317 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8318 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8319 $as_echo_n "(cached) " >&6
8321 lt_cv_ld_exported_symbols_list=no
8322 save_LDFLAGS=$LDFLAGS
8323 echo "_main" > conftest.sym
8324 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8326 /* end confdefs.h. */
8336 if ac_fn_c_try_link "$LINENO"; then :
8337 lt_cv_ld_exported_symbols_list=yes
8339 lt_cv_ld_exported_symbols_list=no
8341 rm -f core conftest.err conftest.$ac_objext \
8342 conftest$ac_exeext conftest.$ac_ext
8343 LDFLAGS="$save_LDFLAGS"
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8347 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8350 $as_echo_n "checking for -force_load linker flag... " >&6; }
8351 if ${lt_cv_ld_force_load+:} false; then :
8352 $as_echo_n "(cached) " >&6
8354 lt_cv_ld_force_load=no
8355 cat > conftest.c << _LT_EOF
8356 int forced_loaded() { return 2;}
8358 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8359 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8360 echo "$AR cru libconftest.a conftest.o" >&5
8361 $AR cru libconftest.a conftest.o 2>&5
8362 echo "$RANLIB libconftest.a" >&5
8363 $RANLIB libconftest.a 2>&5
8364 cat > conftest.c << _LT_EOF
8365 int main() { return 0;}
8367 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8368 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8370 if test -s conftest.err && $GREP force_load conftest.err; then
8371 cat conftest.err >&5
8372 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8373 lt_cv_ld_force_load=yes
8375 cat conftest.err >&5
8377 rm -f conftest.err libconftest.a conftest conftest.c
8378 rm -rf conftest.dSYM
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8382 $as_echo "$lt_cv_ld_force_load" >&6; }
8384 rhapsody* | darwin1.[012])
8385 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8387 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8388 darwin*) # darwin 5.x on
8389 # if running on 10.5 or later, the deployment target defaults
8390 # to the OS version, if on x86, and 10.4, the deployment
8391 # target defaults to 10.4. Don't you love it?
8392 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8393 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8394 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8396 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8398 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8402 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8403 _lt_dar_single_mod='$single_module'
8405 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8406 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8408 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8410 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8411 _lt_dsymutil='~$DSYMUTIL $lib || :'
8419 ac_cpp='$CPP $CPPFLAGS'
8420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8424 $as_echo_n "checking how to run the C preprocessor... " >&6; }
8425 # On Suns, sometimes $CPP names a directory.
8426 if test -n "$CPP" && test -d "$CPP"; then
8429 if test -z "$CPP"; then
8430 if ${ac_cv_prog_CPP+:} false; then :
8431 $as_echo_n "(cached) " >&6
8433 # Double quotes because CPP needs to be expanded
8434 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8437 for ac_c_preproc_warn_flag in '' yes
8439 # Use a header file that comes with gcc, so configuring glibc
8440 # with a fresh cross-compiler works.
8441 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8442 # <limits.h> exists even on freestanding compilers.
8443 # On the NeXT, cc -E runs the code through the compiler's parser,
8444 # not just through cpp. "Syntax error" is here to catch this case.
8445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8446 /* end confdefs.h. */
8448 # include <limits.h>
8450 # include <assert.h>
8454 if ac_fn_c_try_cpp "$LINENO"; then :
8457 # Broken: fails on valid input.
8460 rm -f conftest.err conftest.i conftest.$ac_ext
8462 # OK, works on sane cases. Now check whether nonexistent headers
8463 # can be detected and how.
8464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8465 /* end confdefs.h. */
8466 #include <ac_nonexistent.h>
8468 if ac_fn_c_try_cpp "$LINENO"; then :
8469 # Broken: success on invalid input.
8472 # Passes both tests.
8476 rm -f conftest.err conftest.i conftest.$ac_ext
8479 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8480 rm -f conftest.i conftest.err conftest.$ac_ext
8481 if $ac_preproc_ok; then :
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8494 $as_echo "$CPP" >&6; }
8496 for ac_c_preproc_warn_flag in '' yes
8498 # Use a header file that comes with gcc, so configuring glibc
8499 # with a fresh cross-compiler works.
8500 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8501 # <limits.h> exists even on freestanding compilers.
8502 # On the NeXT, cc -E runs the code through the compiler's parser,
8503 # not just through cpp. "Syntax error" is here to catch this case.
8504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8505 /* end confdefs.h. */
8507 # include <limits.h>
8509 # include <assert.h>
8513 if ac_fn_c_try_cpp "$LINENO"; then :
8516 # Broken: fails on valid input.
8519 rm -f conftest.err conftest.i conftest.$ac_ext
8521 # OK, works on sane cases. Now check whether nonexistent headers
8522 # can be detected and how.
8523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8524 /* end confdefs.h. */
8525 #include <ac_nonexistent.h>
8527 if ac_fn_c_try_cpp "$LINENO"; then :
8528 # Broken: success on invalid input.
8531 # Passes both tests.
8535 rm -f conftest.err conftest.i conftest.$ac_ext
8538 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8539 rm -f conftest.i conftest.err conftest.$ac_ext
8540 if $ac_preproc_ok; then :
8543 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8544 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8545 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8546 See \`config.log' for more details" "$LINENO" 5; }
8550 ac_cpp='$CPP $CPPFLAGS'
8551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8557 $as_echo_n "checking for ANSI C header files... " >&6; }
8558 if ${ac_cv_header_stdc+:} false; then :
8559 $as_echo_n "(cached) " >&6
8561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8562 /* end confdefs.h. */
8576 if ac_fn_c_try_compile "$LINENO"; then :
8577 ac_cv_header_stdc=yes
8579 ac_cv_header_stdc=no
8581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8583 if test $ac_cv_header_stdc = yes; then
8584 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8586 /* end confdefs.h. */
8590 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8591 $EGREP "memchr" >/dev/null 2>&1; then :
8594 ac_cv_header_stdc=no
8600 if test $ac_cv_header_stdc = yes; then
8601 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8603 /* end confdefs.h. */
8607 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8608 $EGREP "free" >/dev/null 2>&1; then :
8611 ac_cv_header_stdc=no
8617 if test $ac_cv_header_stdc = yes; then
8618 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8619 if test "$cross_compiling" = yes; then :
8622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8623 /* end confdefs.h. */
8626 #if ((' ' & 0x0FF) == 0x020)
8627 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8628 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8630 # define ISLOWER(c) \
8631 (('a' <= (c) && (c) <= 'i') \
8632 || ('j' <= (c) && (c) <= 'r') \
8633 || ('s' <= (c) && (c) <= 'z'))
8634 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8637 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8642 for (i = 0; i < 256; i++)
8643 if (XOR (islower (i), ISLOWER (i))
8644 || toupper (i) != TOUPPER (i))
8649 if ac_fn_c_try_run "$LINENO"; then :
8652 ac_cv_header_stdc=no
8654 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8655 conftest.$ac_objext conftest.beam conftest.$ac_ext
8660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8661 $as_echo "$ac_cv_header_stdc" >&6; }
8662 if test $ac_cv_header_stdc = yes; then
8664 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8668 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8669 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8670 inttypes.h stdint.h unistd.h
8672 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8673 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8675 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8676 cat >>confdefs.h <<_ACEOF
8677 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8685 for ac_header in dlfcn.h
8687 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8689 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8690 cat >>confdefs.h <<_ACEOF
8691 #define HAVE_DLFCN_H 1
8710 # Check whether --enable-shared was given.
8711 if test "${enable_shared+set}" = set; then :
8712 enableval=$enable_shared; p=${PACKAGE-default}
8714 yes) enable_shared=yes ;;
8715 no) enable_shared=no ;;
8718 # Look at the argument we got. We use all the common list separators.
8719 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8720 for pkg in $enableval; do
8722 if test "X$pkg" = "X$p"; then
8741 # Check whether --enable-static was given.
8742 if test "${enable_static+set}" = set; then :
8743 enableval=$enable_static; p=${PACKAGE-default}
8745 yes) enable_static=yes ;;
8746 no) enable_static=no ;;
8749 # Look at the argument we got. We use all the common list separators.
8750 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8751 for pkg in $enableval; do
8753 if test "X$pkg" = "X$p"; then
8773 # Check whether --with-pic was given.
8774 if test "${with_pic+set}" = set; then :
8775 withval=$with_pic; lt_p=${PACKAGE-default}
8777 yes|no) pic_mode=$withval ;;
8780 # Look at the argument we got. We use all the common list separators.
8781 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8782 for lt_pkg in $withval; do
8784 if test "X$lt_pkg" = "X$lt_p"; then
8796 test -z "$pic_mode" && pic_mode=default
8804 # Check whether --enable-fast-install was given.
8805 if test "${enable_fast_install+set}" = set; then :
8806 enableval=$enable_fast_install; p=${PACKAGE-default}
8808 yes) enable_fast_install=yes ;;
8809 no) enable_fast_install=no ;;
8811 enable_fast_install=no
8812 # Look at the argument we got. We use all the common list separators.
8813 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8814 for pkg in $enableval; do
8816 if test "X$pkg" = "X$p"; then
8817 enable_fast_install=yes
8824 enable_fast_install=yes
8837 # This can be used to rebuild libtool when needed
8838 LIBTOOL_DEPS="$ltmain"
8840 # Always use our own libtool.
8841 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8872 test -z "$LN_S" && LN_S="ln -s"
8887 if test -n "${ZSH_VERSION+set}" ; then
8888 setopt NO_GLOB_SUBST
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8892 $as_echo_n "checking for objdir... " >&6; }
8893 if ${lt_cv_objdir+:} false; then :
8894 $as_echo_n "(cached) " >&6
8896 rm -f .libs 2>/dev/null
8897 mkdir .libs 2>/dev/null
8898 if test -d .libs; then
8901 # MS-DOS does not allow filenames that begin with a dot.
8904 rmdir .libs 2>/dev/null
8906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8907 $as_echo "$lt_cv_objdir" >&6; }
8908 objdir=$lt_cv_objdir
8914 cat >>confdefs.h <<_ACEOF
8915 #define LT_OBJDIR "$lt_cv_objdir/"
8923 # AIX sometimes has problems with the GCC collect2 program. For some
8924 # reason, if we set the COLLECT_NAMES environment variable, the problems
8925 # vanish in a puff of smoke.
8926 if test "X${COLLECT_NAMES+set}" != Xset; then
8928 export COLLECT_NAMES
8935 can_build_shared=yes
8937 # All known linkers require a `.a' archive for static linking (except MSVC,
8938 # which needs '.lib').
8941 with_gnu_ld="$lt_cv_prog_gnu_ld"
8944 old_CFLAGS="$CFLAGS"
8946 # Set sane defaults for various variables
8947 test -z "$CC" && CC=cc
8948 test -z "$LTCC" && LTCC=$CC
8949 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8950 test -z "$LD" && LD=ld
8951 test -z "$ac_objext" && ac_objext=o
8953 for cc_temp in $compiler""; do
8955 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8956 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8961 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8964 # Only perform the check for file, if the check method requires it
8965 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8966 case $deplibs_check_method in
8968 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8970 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8971 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8972 $as_echo_n "(cached) " >&6
8976 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8979 lt_save_MAGIC_CMD="$MAGIC_CMD"
8980 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8981 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8982 for ac_dir in $ac_dummy; do
8984 test -z "$ac_dir" && ac_dir=.
8985 if test -f $ac_dir/${ac_tool_prefix}file; then
8986 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8987 if test -n "$file_magic_test_file"; then
8988 case $deplibs_check_method in
8990 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8991 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8992 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8993 $EGREP "$file_magic_regex" > /dev/null; then
8998 *** Warning: the command libtool uses to detect shared libraries,
8999 *** $file_magic_cmd, produces output that libtool cannot recognize.
9000 *** The result is that libtool may fail to recognize shared libraries
9001 *** as such. This will affect the creation of libtool libraries that
9002 *** depend on shared libraries, but programs linked with such libtool
9003 *** libraries will work regardless of this problem. Nevertheless, you
9004 *** may want to report the problem to your system manager and/or to
9005 *** bug-libtool@gnu.org
9015 MAGIC_CMD="$lt_save_MAGIC_CMD"
9020 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9021 if test -n "$MAGIC_CMD"; then
9022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9023 $as_echo "$MAGIC_CMD" >&6; }
9025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9026 $as_echo "no" >&6; }
9033 if test -z "$lt_cv_path_MAGIC_CMD"; then
9034 if test -n "$ac_tool_prefix"; then
9035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9036 $as_echo_n "checking for file... " >&6; }
9037 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9038 $as_echo_n "(cached) " >&6
9042 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9045 lt_save_MAGIC_CMD="$MAGIC_CMD"
9046 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9047 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9048 for ac_dir in $ac_dummy; do
9050 test -z "$ac_dir" && ac_dir=.
9051 if test -f $ac_dir/file; then
9052 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9053 if test -n "$file_magic_test_file"; then
9054 case $deplibs_check_method in
9056 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9057 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9058 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9059 $EGREP "$file_magic_regex" > /dev/null; then
9064 *** Warning: the command libtool uses to detect shared libraries,
9065 *** $file_magic_cmd, produces output that libtool cannot recognize.
9066 *** The result is that libtool may fail to recognize shared libraries
9067 *** as such. This will affect the creation of libtool libraries that
9068 *** depend on shared libraries, but programs linked with such libtool
9069 *** libraries will work regardless of this problem. Nevertheless, you
9070 *** may want to report the problem to your system manager and/or to
9071 *** bug-libtool@gnu.org
9081 MAGIC_CMD="$lt_save_MAGIC_CMD"
9086 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9087 if test -n "$MAGIC_CMD"; then
9088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9089 $as_echo "$MAGIC_CMD" >&6; }
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9092 $as_echo "no" >&6; }
9105 # Use C for the default configuration in the libtool script
9109 ac_cpp='$CPP $CPPFLAGS'
9110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9115 # Source file extension for C test sources.
9118 # Object file extension for compiled C test sources.
9122 # Code to be used in simple compile tests
9123 lt_simple_compile_test_code="int some_variable = 0;"
9125 # Code to be used in simple link tests
9126 lt_simple_link_test_code='int main(){return(0);}'
9134 # If no C compiler was specified, use CC.
9137 # If no C compiler flags were specified, use CFLAGS.
9138 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9140 # Allow CC to be a program name with arguments.
9143 # Save the default compiler, since it gets overwritten when the other
9144 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9145 compiler_DEFAULT=$CC
9147 # save warnings/boilerplate of simple test code
9148 ac_outfile=conftest.$ac_objext
9149 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9150 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9151 _lt_compiler_boilerplate=`cat conftest.err`
9154 ac_outfile=conftest.$ac_objext
9155 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9156 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9157 _lt_linker_boilerplate=`cat conftest.err`
9162 ## There is no encapsulation within the following macros, do not change
9163 ## the running order or otherwise move them around unless you know exactly
9164 ## what you are doing...
9165 if test -n "$compiler"; then
9167 lt_prog_compiler_no_builtin_flag=
9169 if test "$GCC" = yes; then
9170 case $cc_basename in
9172 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9174 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9178 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9179 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9180 $as_echo_n "(cached) " >&6
9182 lt_cv_prog_compiler_rtti_exceptions=no
9183 ac_outfile=conftest.$ac_objext
9184 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9185 lt_compiler_flag="-fno-rtti -fno-exceptions"
9186 # Insert the option either (1) after the last *FLAGS variable, or
9187 # (2) before a word containing "conftest.", or (3) at the end.
9188 # Note that $ac_compile itself does not contain backslashes and begins
9189 # with a dollar sign (not a hyphen), so the echo should work correctly.
9190 # The option is referenced via a variable to avoid confusing sed.
9191 lt_compile=`echo "$ac_compile" | $SED \
9192 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9193 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9194 -e 's:$: $lt_compiler_flag:'`
9195 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9196 (eval "$lt_compile" 2>conftest.err)
9198 cat conftest.err >&5
9199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9200 if (exit $ac_status) && test -s "$ac_outfile"; then
9201 # The compiler can only warn and ignore the option if not recognized
9202 # So say no if there are warnings other than the usual output.
9203 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9204 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9205 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9206 lt_cv_prog_compiler_rtti_exceptions=yes
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9213 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9215 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9216 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9228 lt_prog_compiler_wl=
9229 lt_prog_compiler_pic=
9230 lt_prog_compiler_static=
9233 if test "$GCC" = yes; then
9234 lt_prog_compiler_wl='-Wl,'
9235 lt_prog_compiler_static='-static'
9239 # All AIX code is PIC.
9240 if test "$host_cpu" = ia64; then
9241 # AIX 5 now supports IA64 processor
9242 lt_prog_compiler_static='-Bstatic'
9249 # see comment about AmigaOS4 .so support
9250 lt_prog_compiler_pic='-fPIC'
9253 # FIXME: we need at least 68020 code to build shared libraries, but
9254 # adding the `-m68020' flag to GCC prevents building anything better,
9256 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9261 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9262 # PIC is the default for these OSes.
9265 mingw* | cygwin* | pw32* | os2* | cegcc*)
9266 # This hack is so that the source file can tell whether it is being
9267 # built for inclusion in a dll (and should export symbols for example).
9268 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9269 # (--disable-auto-import) libraries
9270 lt_prog_compiler_pic='-DDLL_EXPORT'
9273 darwin* | rhapsody*)
9274 # PIC is the default on this platform
9275 # Common symbols not allowed in MH_DYLIB files
9276 lt_prog_compiler_pic='-fno-common'
9280 # PIC is the default for Haiku.
9281 # The "-static" flag exists, but is broken.
9282 lt_prog_compiler_static=
9286 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9287 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9288 # sets the default TLS model and affects inlining.
9294 lt_prog_compiler_pic='-fPIC'
9300 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9301 # Instead, we relocate shared libraries at runtime.
9305 # Just because we use GCC doesn't mean we suddenly get shared libraries
9306 # on systems that don't support them.
9307 lt_prog_compiler_can_build_shared=no
9312 # QNX uses GNU C++, but need to define -shared option too, otherwise
9314 lt_prog_compiler_pic='-fPIC -shared'
9318 if test -d /usr/nec; then
9319 lt_prog_compiler_pic=-Kconform_pic
9324 lt_prog_compiler_pic='-fPIC'
9328 case $cc_basename in
9329 nvcc*) # Cuda Compiler Driver 2.2
9330 lt_prog_compiler_wl='-Xlinker '
9331 if test -n "$lt_prog_compiler_pic"; then
9332 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9337 # PORTME Check for flag to pass linker flags through the system compiler.
9340 lt_prog_compiler_wl='-Wl,'
9341 if test "$host_cpu" = ia64; then
9342 # AIX 5 now supports IA64 processor
9343 lt_prog_compiler_static='-Bstatic'
9345 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9349 mingw* | cygwin* | pw32* | os2* | cegcc*)
9350 # This hack is so that the source file can tell whether it is being
9351 # built for inclusion in a dll (and should export symbols for example).
9352 lt_prog_compiler_pic='-DDLL_EXPORT'
9355 hpux9* | hpux10* | hpux11*)
9356 lt_prog_compiler_wl='-Wl,'
9357 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9364 lt_prog_compiler_pic='+Z'
9367 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9368 lt_prog_compiler_static='${wl}-a ${wl}archive'
9371 irix5* | irix6* | nonstopux*)
9372 lt_prog_compiler_wl='-Wl,'
9373 # PIC (with -KPIC) is the default.
9374 lt_prog_compiler_static='-non_shared'
9377 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9378 case $cc_basename in
9379 # old Intel for x86_64 which still supported -KPIC.
9381 lt_prog_compiler_wl='-Wl,'
9382 lt_prog_compiler_pic='-KPIC'
9383 lt_prog_compiler_static='-static'
9385 # icc used to be incompatible with GCC.
9386 # ICC 10 doesn't accept -KPIC any more.
9388 lt_prog_compiler_wl='-Wl,'
9389 lt_prog_compiler_pic='-fPIC'
9390 lt_prog_compiler_static='-static'
9392 # Lahey Fortran 8.1.
9394 lt_prog_compiler_wl='-Wl,'
9395 lt_prog_compiler_pic='--shared'
9396 lt_prog_compiler_static='--static'
9399 # NAG Fortran compiler
9400 lt_prog_compiler_wl='-Wl,-Wl,,'
9401 lt_prog_compiler_pic='-PIC'
9402 lt_prog_compiler_static='-Bstatic'
9404 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9405 # Portland Group compilers (*not* the Pentium gcc compiler,
9406 # which looks to be a dead project)
9407 lt_prog_compiler_wl='-Wl,'
9408 lt_prog_compiler_pic='-fpic'
9409 lt_prog_compiler_static='-Bstatic'
9412 lt_prog_compiler_wl='-Wl,'
9413 # All Alpha code is PIC.
9414 lt_prog_compiler_static='-non_shared'
9416 xl* | bgxl* | bgf* | mpixl*)
9417 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9418 lt_prog_compiler_wl='-Wl,'
9419 lt_prog_compiler_pic='-qpic'
9420 lt_prog_compiler_static='-qstaticlink'
9423 case `$CC -V 2>&1 | sed 5q` in
9424 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9425 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9426 lt_prog_compiler_pic='-KPIC'
9427 lt_prog_compiler_static='-Bstatic'
9428 lt_prog_compiler_wl=''
9430 *Sun\ F* | *Sun*Fortran*)
9431 lt_prog_compiler_pic='-KPIC'
9432 lt_prog_compiler_static='-Bstatic'
9433 lt_prog_compiler_wl='-Qoption ld '
9437 lt_prog_compiler_pic='-KPIC'
9438 lt_prog_compiler_static='-Bstatic'
9439 lt_prog_compiler_wl='-Wl,'
9441 *Intel*\ [CF]*Compiler*)
9442 lt_prog_compiler_wl='-Wl,'
9443 lt_prog_compiler_pic='-fPIC'
9444 lt_prog_compiler_static='-static'
9447 lt_prog_compiler_wl='-Wl,'
9448 lt_prog_compiler_pic='-fpic'
9449 lt_prog_compiler_static='-Bstatic'
9457 lt_prog_compiler_pic='-KPIC'
9458 lt_prog_compiler_static='-Bstatic'
9462 # QNX uses GNU C++, but need to define -shared option too, otherwise
9464 lt_prog_compiler_pic='-fPIC -shared'
9467 osf3* | osf4* | osf5*)
9468 lt_prog_compiler_wl='-Wl,'
9469 # All OSF/1 code is PIC.
9470 lt_prog_compiler_static='-non_shared'
9474 lt_prog_compiler_static='-non_shared'
9478 lt_prog_compiler_pic='-KPIC'
9479 lt_prog_compiler_static='-Bstatic'
9480 case $cc_basename in
9481 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9482 lt_prog_compiler_wl='-Qoption ld ';;
9484 lt_prog_compiler_wl='-Wl,';;
9489 lt_prog_compiler_wl='-Qoption ld '
9490 lt_prog_compiler_pic='-PIC'
9491 lt_prog_compiler_static='-Bstatic'
9494 sysv4 | sysv4.2uw2* | sysv4.3*)
9495 lt_prog_compiler_wl='-Wl,'
9496 lt_prog_compiler_pic='-KPIC'
9497 lt_prog_compiler_static='-Bstatic'
9501 if test -d /usr/nec ;then
9502 lt_prog_compiler_pic='-Kconform_pic'
9503 lt_prog_compiler_static='-Bstatic'
9507 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9508 lt_prog_compiler_wl='-Wl,'
9509 lt_prog_compiler_pic='-KPIC'
9510 lt_prog_compiler_static='-Bstatic'
9514 lt_prog_compiler_wl='-Wl,'
9515 lt_prog_compiler_can_build_shared=no
9519 lt_prog_compiler_pic='-pic'
9520 lt_prog_compiler_static='-Bstatic'
9524 lt_prog_compiler_can_build_shared=no
9530 # For platforms which do not support PIC, -DPIC is meaningless:
9532 lt_prog_compiler_pic=
9535 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9540 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9541 if ${lt_cv_prog_compiler_pic+:} false; then :
9542 $as_echo_n "(cached) " >&6
9544 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9547 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9548 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9551 # Check to make sure the PIC flag actually works.
9553 if test -n "$lt_prog_compiler_pic"; then
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9555 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9556 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9557 $as_echo_n "(cached) " >&6
9559 lt_cv_prog_compiler_pic_works=no
9560 ac_outfile=conftest.$ac_objext
9561 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9562 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9563 # Insert the option either (1) after the last *FLAGS variable, or
9564 # (2) before a word containing "conftest.", or (3) at the end.
9565 # Note that $ac_compile itself does not contain backslashes and begins
9566 # with a dollar sign (not a hyphen), so the echo should work correctly.
9567 # The option is referenced via a variable to avoid confusing sed.
9568 lt_compile=`echo "$ac_compile" | $SED \
9569 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9570 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9571 -e 's:$: $lt_compiler_flag:'`
9572 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9573 (eval "$lt_compile" 2>conftest.err)
9575 cat conftest.err >&5
9576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9577 if (exit $ac_status) && test -s "$ac_outfile"; then
9578 # The compiler can only warn and ignore the option if not recognized
9579 # So say no if there are warnings other than the usual output.
9580 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9581 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9582 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9583 lt_cv_prog_compiler_pic_works=yes
9589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9590 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9592 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9593 case $lt_prog_compiler_pic in
9595 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9598 lt_prog_compiler_pic=
9599 lt_prog_compiler_can_build_shared=no
9615 # Check to make sure the static flag actually works.
9617 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9619 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9620 if ${lt_cv_prog_compiler_static_works+:} false; then :
9621 $as_echo_n "(cached) " >&6
9623 lt_cv_prog_compiler_static_works=no
9624 save_LDFLAGS="$LDFLAGS"
9625 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9626 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9627 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9628 # The linker can only warn and ignore the option if not recognized
9629 # So say no if there are warnings
9630 if test -s conftest.err; then
9631 # Append any errors to the config.log.
9632 cat conftest.err 1>&5
9633 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9634 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9635 if diff conftest.exp conftest.er2 >/dev/null; then
9636 lt_cv_prog_compiler_static_works=yes
9639 lt_cv_prog_compiler_static_works=yes
9643 LDFLAGS="$save_LDFLAGS"
9646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9647 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9649 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9652 lt_prog_compiler_static=
9661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9662 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9663 if ${lt_cv_prog_compiler_c_o+:} false; then :
9664 $as_echo_n "(cached) " >&6
9666 lt_cv_prog_compiler_c_o=no
9667 $RM -r conftest 2>/dev/null
9671 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9673 lt_compiler_flag="-o out/conftest2.$ac_objext"
9674 # Insert the option either (1) after the last *FLAGS variable, or
9675 # (2) before a word containing "conftest.", or (3) at the end.
9676 # Note that $ac_compile itself does not contain backslashes and begins
9677 # with a dollar sign (not a hyphen), so the echo should work correctly.
9678 lt_compile=`echo "$ac_compile" | $SED \
9679 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9680 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9681 -e 's:$: $lt_compiler_flag:'`
9682 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9683 (eval "$lt_compile" 2>out/conftest.err)
9685 cat out/conftest.err >&5
9686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9687 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9689 # The compiler can only warn and ignore the option if not recognized
9690 # So say no if there are warnings
9691 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9692 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9693 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9694 lt_cv_prog_compiler_c_o=yes
9699 # SGI C++ compiler will create directory out/ii_files/ for
9700 # template instantiation
9701 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9702 $RM out/* && rmdir out
9708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9709 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9717 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9718 if ${lt_cv_prog_compiler_c_o+:} false; then :
9719 $as_echo_n "(cached) " >&6
9721 lt_cv_prog_compiler_c_o=no
9722 $RM -r conftest 2>/dev/null
9726 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9728 lt_compiler_flag="-o out/conftest2.$ac_objext"
9729 # Insert the option either (1) after the last *FLAGS variable, or
9730 # (2) before a word containing "conftest.", or (3) at the end.
9731 # Note that $ac_compile itself does not contain backslashes and begins
9732 # with a dollar sign (not a hyphen), so the echo should work correctly.
9733 lt_compile=`echo "$ac_compile" | $SED \
9734 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9735 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9736 -e 's:$: $lt_compiler_flag:'`
9737 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9738 (eval "$lt_compile" 2>out/conftest.err)
9740 cat out/conftest.err >&5
9741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9742 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9744 # The compiler can only warn and ignore the option if not recognized
9745 # So say no if there are warnings
9746 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9747 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9748 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9749 lt_cv_prog_compiler_c_o=yes
9754 # SGI C++ compiler will create directory out/ii_files/ for
9755 # template instantiation
9756 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9757 $RM out/* && rmdir out
9763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9764 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9769 hard_links="nottested"
9770 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9771 # do not overwrite the value of need_locks provided by the user
9772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9773 $as_echo_n "checking if we can lock with hard links... " >&6; }
9776 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9778 ln conftest.a conftest.b 2>&5 || hard_links=no
9779 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9781 $as_echo "$hard_links" >&6; }
9782 if test "$hard_links" = no; then
9783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9784 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9797 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9800 allow_undefined_flag=
9801 always_export_symbols=no
9803 archive_expsym_cmds=
9804 compiler_needs_object=no
9805 enable_shared_with_static_runtimes=no
9806 export_dynamic_flag_spec=
9807 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9808 hardcode_automatic=no
9810 hardcode_direct_absolute=no
9811 hardcode_libdir_flag_spec=
9812 hardcode_libdir_separator=
9814 hardcode_shlibpath_var=unsupported
9816 link_all_deplibs=unknown
9819 old_archive_from_new_cmds=
9820 old_archive_from_expsyms_cmds=
9821 thread_safe_flag_spec=
9822 whole_archive_flag_spec=
9823 # include_expsyms should be a list of space-separated symbols to be *always*
9824 # included in the symbol list
9826 # exclude_expsyms can be an extended regexp of symbols to exclude
9827 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9828 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9829 # as well as any symbol that contains `d'.
9830 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9831 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9832 # platforms (ab)use it in PIC code, but their linkers get confused if
9833 # the symbol is explicitly referenced. Since portable code cannot
9834 # rely on this symbol name, it's probably fine to never include it in
9835 # preloaded symbol tables.
9836 # Exclude shared library initialization/finalization symbols.
9837 extract_expsyms_cmds=
9840 cygwin* | mingw* | pw32* | cegcc*)
9841 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9842 # When not using gcc, we currently assume that we are using
9843 # Microsoft Visual C++.
9844 if test "$GCC" != yes; then
9849 # we just hope/assume this is gcc and not c89 (= MSVC++)
9855 linux* | k*bsd*-gnu | gnu*)
9862 # On some targets, GNU ld is compatible enough with the native linker
9863 # that we're better off using the native interface for both.
9864 lt_use_gnu_ld_interface=no
9865 if test "$with_gnu_ld" = yes; then
9868 # The AIX port of GNU ld has always aspired to compatibility
9869 # with the native linker. However, as the warning in the GNU ld
9870 # block says, versions before 2.19.5* couldn't really create working
9871 # shared libraries, regardless of the interface used.
9872 case `$LD -v 2>&1` in
9873 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9874 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9875 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9877 lt_use_gnu_ld_interface=yes
9882 lt_use_gnu_ld_interface=yes
9887 if test "$lt_use_gnu_ld_interface" = yes; then
9888 # If archive_cmds runs LD, not CC, wlarc should be empty
9891 # Set some defaults for GNU ld with shared library support. These
9892 # are reset later if shared libraries are not supported. Putting them
9893 # here allows them to be overridden if necessary.
9894 runpath_var=LD_RUN_PATH
9895 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9896 export_dynamic_flag_spec='${wl}--export-dynamic'
9897 # ancient GNU ld didn't support --whole-archive et. al.
9898 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9899 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9901 whole_archive_flag_spec=
9903 supports_anon_versioning=no
9904 case `$LD -v 2>&1` in
9905 *GNU\ gold*) supports_anon_versioning=yes ;;
9906 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9907 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9908 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9909 *\ 2.11.*) ;; # other 2.11 versions
9910 *) supports_anon_versioning=yes ;;
9913 # See if GNU ld supports shared libraries.
9916 # On AIX/PPC, the GNU linker is very broken
9917 if test "$host_cpu" != ia64; then
9921 *** Warning: the GNU linker, at least up to release 2.19, is reported
9922 *** to be unable to reliably create shared libraries on AIX.
9923 *** Therefore, libtool is disabling shared libraries support. If you
9924 *** really care for shared libraries, you may want to install binutils
9925 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9926 *** You will then need to restart the configuration process.
9935 # see comment about AmigaOS4 .so support
9936 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9937 archive_expsym_cmds=''
9940 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)'
9941 hardcode_libdir_flag_spec='-L$libdir'
9942 hardcode_minus_L=yes
9948 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9949 allow_undefined_flag=unsupported
9950 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9951 # support --undefined. This deserves some investigation. FIXME
9952 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9958 cygwin* | mingw* | pw32* | cegcc*)
9959 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9960 # as there is no search path for DLLs.
9961 hardcode_libdir_flag_spec='-L$libdir'
9962 export_dynamic_flag_spec='${wl}--export-all-symbols'
9963 allow_undefined_flag=unsupported
9964 always_export_symbols=no
9965 enable_shared_with_static_runtimes=yes
9966 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9967 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9969 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9970 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9971 # If the export-symbols file already is a .def file (1st line
9972 # is EXPORTS), use it as is; otherwise, prepend...
9973 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9974 cp $export_symbols $output_objdir/$soname.def;
9976 echo EXPORTS > $output_objdir/$soname.def;
9977 cat $export_symbols >> $output_objdir/$soname.def;
9979 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9986 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9987 link_all_deplibs=yes
9992 hardcode_shlibpath_var=no
9993 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9994 export_dynamic_flag_spec='${wl}-E'
9995 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9996 # Instead, shared libraries are loaded at an image base (0x10000000 by
9997 # default) and relocated if they conflict, which is a slow very memory
9998 # consuming and fragmenting process. To avoid this, we pick a random,
9999 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10000 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10001 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10002 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'
10005 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10007 if test "$host_os" = linux-dietlibc; then
10008 case $cc_basename in
10009 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10012 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10013 && test "$tmp_diet" = no
10015 tmp_addflag=' $pic_flag'
10016 tmp_sharedflag='-shared'
10017 case $cc_basename,$host_cpu in
10018 pgcc*) # Portland Group C compiler
10019 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10020 tmp_addflag=' $pic_flag'
10022 pgf77* | pgf90* | pgf95* | pgfortran*)
10023 # Portland Group f77 and f90 compilers
10024 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10025 tmp_addflag=' $pic_flag -Mnomain' ;;
10026 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10027 tmp_addflag=' -i_dynamic' ;;
10028 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10029 tmp_addflag=' -i_dynamic -nofor_main' ;;
10030 ifc* | ifort*) # Intel Fortran compiler
10031 tmp_addflag=' -nofor_main' ;;
10032 lf95*) # Lahey Fortran 8.1
10033 whole_archive_flag_spec=
10034 tmp_sharedflag='--shared' ;;
10035 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10036 tmp_sharedflag='-qmkshrobj'
10038 nvcc*) # Cuda Compiler Driver 2.2
10039 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10040 compiler_needs_object=yes
10043 case `$CC -V 2>&1 | sed 5q` in
10044 *Sun\ C*) # Sun C 5.9
10045 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10046 compiler_needs_object=yes
10047 tmp_sharedflag='-G' ;;
10048 *Sun\ F*) # Sun Fortran 8.3
10049 tmp_sharedflag='-G' ;;
10051 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10053 if test "x$supports_anon_versioning" = xyes; then
10054 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10055 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10056 echo "local: *; };" >> $output_objdir/$libname.ver~
10057 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10060 case $cc_basename in
10061 xlf* | bgf* | bgxlf* | mpixlf*)
10062 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10063 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10064 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10065 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10066 if test "x$supports_anon_versioning" = xyes; then
10067 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10068 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10069 echo "local: *; };" >> $output_objdir/$libname.ver~
10070 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10079 netbsd* | netbsdelf*-gnu)
10080 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10081 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10084 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10085 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10090 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10094 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10095 *** create shared libraries on Solaris systems. Therefore, libtool
10096 *** is disabling shared libraries support. We urge you to upgrade GNU
10097 *** binutils to release 2.9.1 or newer. Another option is to modify
10098 *** your PATH or compiler configuration so that the native linker is
10099 *** used, and then restart.
10102 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10103 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10104 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10110 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10111 case `$LD -v 2>&1` in
10112 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10116 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10117 *** reliably create shared libraries on SCO systems. Therefore, libtool
10118 *** is disabling shared libraries support. We urge you to upgrade GNU
10119 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10120 *** your PATH or compiler configuration so that the native linker is
10121 *** used, and then restart.
10126 # For security reasons, it is highly recommended that you always
10127 # use absolute paths for naming shared libraries, and exclude the
10128 # DT_RUNPATH tag from executables and libraries. But doing so
10129 # requires that you compile everything twice, which is a pain.
10130 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10131 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10132 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10133 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10142 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10144 hardcode_direct=yes
10145 hardcode_shlibpath_var=no
10149 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10150 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10151 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10158 if test "$ld_shlibs" = no; then
10160 hardcode_libdir_flag_spec=
10161 export_dynamic_flag_spec=
10162 whole_archive_flag_spec=
10165 # PORTME fill in a description of your system's linker (not GNU ld)
10168 allow_undefined_flag=unsupported
10169 always_export_symbols=yes
10170 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'
10171 # Note: this linker hardcodes the directories in LIBPATH if there
10172 # are no directories specified by -L.
10173 hardcode_minus_L=yes
10174 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10175 # Neither direct hardcoding nor static linking is supported with a
10177 hardcode_direct=unsupported
10182 if test "$host_cpu" = ia64; then
10183 # On IA64, the linker does run time linking by default, so we don't
10184 # have to do anything special.
10185 aix_use_runtimelinking=no
10186 exp_sym_flag='-Bexport'
10189 # If we're using GNU nm, then we don't want the "-C" option.
10190 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10191 # Also, AIX nm treats weak defined symbols like other global
10192 # defined symbols, whereas GNU nm marks them as "W".
10193 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10194 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10196 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'
10198 aix_use_runtimelinking=no
10200 # Test if we are trying to use run time linking or normal
10201 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10202 # need to do runtime linking.
10203 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10204 for ld_flag in $LDFLAGS; do
10205 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10206 aix_use_runtimelinking=yes
10213 exp_sym_flag='-bexport'
10214 no_entry_flag='-bnoentry'
10217 # When large executables or shared objects are built, AIX ld can
10218 # have problems creating the table of contents. If linking a library
10219 # or program results in "error TOC overflow" add -mminimal-toc to
10220 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10221 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10224 hardcode_direct=yes
10225 hardcode_direct_absolute=yes
10226 hardcode_libdir_separator=':'
10227 link_all_deplibs=yes
10228 file_list_spec='${wl}-f,'
10230 if test "$GCC" = yes; then
10231 case $host_os in aix4.[012]|aix4.[012].*)
10232 # We only want to do this on AIX 4.2 and lower, the check
10233 # below for broken collect2 doesn't work under 4.3+
10234 collect2name=`${CC} -print-prog-name=collect2`
10235 if test -f "$collect2name" &&
10236 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10238 # We have reworked collect2
10241 # We have old collect2
10242 hardcode_direct=unsupported
10243 # It fails to find uninstalled libraries when the uninstalled
10244 # path is not listed in the libpath. Setting hardcode_minus_L
10245 # to unsupported forces relinking
10246 hardcode_minus_L=yes
10247 hardcode_libdir_flag_spec='-L$libdir'
10248 hardcode_libdir_separator=
10252 shared_flag='-shared'
10253 if test "$aix_use_runtimelinking" = yes; then
10254 shared_flag="$shared_flag "'${wl}-G'
10256 link_all_deplibs=no
10259 if test "$host_cpu" = ia64; then
10260 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10261 # chokes on -Wl,-G. The following line is correct:
10264 if test "$aix_use_runtimelinking" = yes; then
10265 shared_flag='${wl}-G'
10267 shared_flag='${wl}-bM:SRE'
10272 export_dynamic_flag_spec='${wl}-bexpall'
10273 # It seems that -bexpall does not export symbols beginning with
10274 # underscore (_), so it is better to generate a list of symbols to export.
10275 always_export_symbols=yes
10276 if test "$aix_use_runtimelinking" = yes; then
10277 # Warning - without using the other runtime loading flags (-brtl),
10278 # -berok will link without error, but may produce a broken library.
10279 allow_undefined_flag='-berok'
10280 # Determine the default libpath from the value encoded in an
10281 # empty executable.
10282 if test "${lt_cv_aix_libpath+set}" = set; then
10283 aix_libpath=$lt_cv_aix_libpath
10285 if ${lt_cv_aix_libpath_+:} false; then :
10286 $as_echo_n "(cached) " >&6
10288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10289 /* end confdefs.h. */
10299 if ac_fn_c_try_link "$LINENO"; then :
10301 lt_aix_libpath_sed='
10302 /Import File Strings/,/^$/ {
10304 s/^0 *\([^ ]*\) *$/\1/
10308 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10309 # Check for a 64-bit object if we didn't find anything.
10310 if test -z "$lt_cv_aix_libpath_"; then
10311 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10314 rm -f core conftest.err conftest.$ac_objext \
10315 conftest$ac_exeext conftest.$ac_ext
10316 if test -z "$lt_cv_aix_libpath_"; then
10317 lt_cv_aix_libpath_="/usr/lib:/lib"
10322 aix_libpath=$lt_cv_aix_libpath_
10325 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10326 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10328 if test "$host_cpu" = ia64; then
10329 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10330 allow_undefined_flag="-z nodefs"
10331 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"
10333 # Determine the default libpath from the value encoded in an
10334 # empty executable.
10335 if test "${lt_cv_aix_libpath+set}" = set; then
10336 aix_libpath=$lt_cv_aix_libpath
10338 if ${lt_cv_aix_libpath_+:} false; then :
10339 $as_echo_n "(cached) " >&6
10341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10342 /* end confdefs.h. */
10352 if ac_fn_c_try_link "$LINENO"; then :
10354 lt_aix_libpath_sed='
10355 /Import File Strings/,/^$/ {
10357 s/^0 *\([^ ]*\) *$/\1/
10361 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10362 # Check for a 64-bit object if we didn't find anything.
10363 if test -z "$lt_cv_aix_libpath_"; then
10364 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10367 rm -f core conftest.err conftest.$ac_objext \
10368 conftest$ac_exeext conftest.$ac_ext
10369 if test -z "$lt_cv_aix_libpath_"; then
10370 lt_cv_aix_libpath_="/usr/lib:/lib"
10375 aix_libpath=$lt_cv_aix_libpath_
10378 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10379 # Warning - without using the other run time loading flags,
10380 # -berok will link without error, but may produce a broken library.
10381 no_undefined_flag=' ${wl}-bernotok'
10382 allow_undefined_flag=' ${wl}-berok'
10383 if test "$with_gnu_ld" = yes; then
10384 # We only use this code for GNU lds that support --whole-archive.
10385 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10387 # Exported symbols can be pulled into shared objects from archives
10388 whole_archive_flag_spec='$convenience'
10390 archive_cmds_need_lc=yes
10391 # This is similar to how AIX traditionally builds its shared libraries.
10392 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'
10400 # see comment about AmigaOS4 .so support
10401 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10402 archive_expsym_cmds=''
10405 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)'
10406 hardcode_libdir_flag_spec='-L$libdir'
10407 hardcode_minus_L=yes
10413 export_dynamic_flag_spec=-rdynamic
10416 cygwin* | mingw* | pw32* | cegcc*)
10417 # When not using gcc, we currently assume that we are using
10418 # Microsoft Visual C++.
10419 # hardcode_libdir_flag_spec is actually meaningless, as there is
10420 # no search path for DLLs.
10421 case $cc_basename in
10424 hardcode_libdir_flag_spec=' '
10425 allow_undefined_flag=unsupported
10426 always_export_symbols=yes
10428 # Tell ltmain to make .lib files, not .a files.
10430 # Tell ltmain to make .dll files, not .so files.
10432 # FIXME: Setting linknames here is a bad hack.
10433 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10434 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10435 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10437 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10439 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10441 # The linker will not automatically build a static lib if we build a DLL.
10442 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10443 enable_shared_with_static_runtimes=yes
10444 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10445 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10447 old_postinstall_cmds='chmod 644 $oldlib'
10448 postlink_cmds='lt_outputfile="@OUTPUT@"~
10449 lt_tool_outputfile="@TOOL_OUTPUT@"~
10450 case $lt_outputfile in
10453 lt_outputfile="$lt_outputfile.exe"
10454 lt_tool_outputfile="$lt_tool_outputfile.exe"
10457 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10458 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10459 $RM "$lt_outputfile.manifest";
10463 # Assume MSVC wrapper
10464 hardcode_libdir_flag_spec=' '
10465 allow_undefined_flag=unsupported
10466 # Tell ltmain to make .lib files, not .a files.
10468 # Tell ltmain to make .dll files, not .so files.
10470 # FIXME: Setting linknames here is a bad hack.
10471 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10472 # The linker will automatically build a .lib file if we build a DLL.
10473 old_archive_from_new_cmds='true'
10474 # FIXME: Should let the user specify the lib program.
10475 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10476 enable_shared_with_static_runtimes=yes
10481 darwin* | rhapsody*)
10484 archive_cmds_need_lc=no
10486 hardcode_automatic=yes
10487 hardcode_shlibpath_var=unsupported
10488 if test "$lt_cv_ld_force_load" = "yes"; then
10489 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
10492 whole_archive_flag_spec=''
10494 link_all_deplibs=yes
10495 allow_undefined_flag="$_lt_dar_allow_undefined"
10496 case $cc_basename in
10497 ifort*) _lt_dar_can_shared=yes ;;
10498 *) _lt_dar_can_shared=$GCC ;;
10500 if test "$_lt_dar_can_shared" = "yes"; then
10501 output_verbose_link_cmd=func_echo_all
10502 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10503 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10504 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}"
10505 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}"
10514 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10515 hardcode_libdir_flag_spec='-L$libdir'
10516 hardcode_shlibpath_var=no
10519 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10520 # support. Future versions do this automatically, but an explicit c++rt0.o
10521 # does not break anything, and helps significantly (at the cost of a little
10524 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10525 hardcode_libdir_flag_spec='-R$libdir'
10526 hardcode_direct=yes
10527 hardcode_shlibpath_var=no
10530 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10532 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10533 hardcode_direct=yes
10534 hardcode_minus_L=yes
10535 hardcode_shlibpath_var=no
10538 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10539 freebsd* | dragonfly*)
10540 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10541 hardcode_libdir_flag_spec='-R$libdir'
10542 hardcode_direct=yes
10543 hardcode_shlibpath_var=no
10547 if test "$GCC" = yes; then
10548 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10550 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'
10552 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10553 hardcode_libdir_separator=:
10554 hardcode_direct=yes
10556 # hardcode_minus_L: Not really in the search PATH,
10557 # but as the default location of the library.
10558 hardcode_minus_L=yes
10559 export_dynamic_flag_spec='${wl}-E'
10563 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10564 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10566 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10568 if test "$with_gnu_ld" = no; then
10569 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10570 hardcode_libdir_separator=:
10571 hardcode_direct=yes
10572 hardcode_direct_absolute=yes
10573 export_dynamic_flag_spec='${wl}-E'
10574 # hardcode_minus_L: Not really in the search PATH,
10575 # but as the default location of the library.
10576 hardcode_minus_L=yes
10581 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10584 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10587 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10590 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10596 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10599 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10603 # Older versions of the 11.00 compiler do not understand -b yet
10604 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10606 $as_echo_n "checking if $CC understands -b... " >&6; }
10607 if ${lt_cv_prog_compiler__b+:} false; then :
10608 $as_echo_n "(cached) " >&6
10610 lt_cv_prog_compiler__b=no
10611 save_LDFLAGS="$LDFLAGS"
10612 LDFLAGS="$LDFLAGS -b"
10613 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10614 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10615 # The linker can only warn and ignore the option if not recognized
10616 # So say no if there are warnings
10617 if test -s conftest.err; then
10618 # Append any errors to the config.log.
10619 cat conftest.err 1>&5
10620 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10621 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10622 if diff conftest.exp conftest.er2 >/dev/null; then
10623 lt_cv_prog_compiler__b=yes
10626 lt_cv_prog_compiler__b=yes
10630 LDFLAGS="$save_LDFLAGS"
10633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10634 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10636 if test x"$lt_cv_prog_compiler__b" = xyes; then
10637 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10639 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10645 if test "$with_gnu_ld" = no; then
10646 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10647 hardcode_libdir_separator=:
10652 hardcode_shlibpath_var=no
10655 hardcode_direct=yes
10656 hardcode_direct_absolute=yes
10657 export_dynamic_flag_spec='${wl}-E'
10659 # hardcode_minus_L: Not really in the search PATH,
10660 # but as the default location of the library.
10661 hardcode_minus_L=yes
10667 irix5* | irix6* | nonstopux*)
10668 if test "$GCC" = yes; then
10669 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10670 # Try to use the -exported_symbol ld option, if it does not
10671 # work, assume that -exports_file does not work either and
10672 # implicitly export all symbols.
10673 # This should be the same for all languages, so no per-tag cache variable.
10674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10675 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10676 if ${lt_cv_irix_exported_symbol+:} false; then :
10677 $as_echo_n "(cached) " >&6
10679 save_LDFLAGS="$LDFLAGS"
10680 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10682 /* end confdefs.h. */
10683 int foo (void) { return 0; }
10685 if ac_fn_c_try_link "$LINENO"; then :
10686 lt_cv_irix_exported_symbol=yes
10688 lt_cv_irix_exported_symbol=no
10690 rm -f core conftest.err conftest.$ac_objext \
10691 conftest$ac_exeext conftest.$ac_ext
10692 LDFLAGS="$save_LDFLAGS"
10694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10695 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10696 if test "$lt_cv_irix_exported_symbol" = yes; then
10697 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10700 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10701 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10703 archive_cmds_need_lc='no'
10704 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10705 hardcode_libdir_separator=:
10707 link_all_deplibs=yes
10710 netbsd* | netbsdelf*-gnu)
10711 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10712 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10714 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10716 hardcode_libdir_flag_spec='-R$libdir'
10717 hardcode_direct=yes
10718 hardcode_shlibpath_var=no
10722 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10723 hardcode_direct=yes
10724 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10725 hardcode_libdir_separator=:
10726 hardcode_shlibpath_var=no
10733 if test -f /usr/libexec/ld.so; then
10734 hardcode_direct=yes
10735 hardcode_shlibpath_var=no
10736 hardcode_direct_absolute=yes
10737 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10738 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10739 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10740 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10741 export_dynamic_flag_spec='${wl}-E'
10744 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10745 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10746 hardcode_libdir_flag_spec='-R$libdir'
10749 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10750 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10760 hardcode_libdir_flag_spec='-L$libdir'
10761 hardcode_minus_L=yes
10762 allow_undefined_flag=unsupported
10763 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'
10764 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10768 if test "$GCC" = yes; then
10769 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10770 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10772 allow_undefined_flag=' -expect_unresolved \*'
10773 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10775 archive_cmds_need_lc='no'
10776 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10777 hardcode_libdir_separator=:
10780 osf4* | osf5*) # as osf3* with the addition of -msym flag
10781 if test "$GCC" = yes; then
10782 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10783 archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10784 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10786 allow_undefined_flag=' -expect_unresolved \*'
10787 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10788 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~
10789 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10791 # Both c and cxx compiler support -rpath directly
10792 hardcode_libdir_flag_spec='-rpath $libdir'
10794 archive_cmds_need_lc='no'
10795 hardcode_libdir_separator=:
10799 no_undefined_flag=' -z defs'
10800 if test "$GCC" = yes; then
10802 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10803 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10804 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10806 case `$CC -V 2>&1` in
10809 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10810 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10811 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10815 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10816 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10817 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10821 hardcode_libdir_flag_spec='-R$libdir'
10822 hardcode_shlibpath_var=no
10824 solaris2.[0-5] | solaris2.[0-5].*) ;;
10826 # The compiler driver will combine and reorder linker options,
10827 # but understands `-z linker_flag'. GCC discards it without `$wl',
10828 # but is careful enough not to reorder.
10829 # Supported since Solaris 2.6 (maybe 2.5.1?)
10830 if test "$GCC" = yes; then
10831 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10833 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10837 link_all_deplibs=yes
10841 if test "x$host_vendor" = xsequent; then
10842 # Use $CC to link under sequent, because it throws in some extra .o
10843 # files that make .init and .fini sections work.
10844 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10846 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10848 hardcode_libdir_flag_spec='-L$libdir'
10849 hardcode_direct=yes
10850 hardcode_minus_L=yes
10851 hardcode_shlibpath_var=no
10855 case $host_vendor in
10857 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10858 hardcode_direct=yes # is this really true???
10861 ## LD is ld it makes a PLAMLIB
10862 ## CC just makes a GrossModule.
10863 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10864 reload_cmds='$CC -r -o $output$reload_objs'
10868 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10869 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10872 runpath_var='LD_RUN_PATH'
10873 hardcode_shlibpath_var=no
10877 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10878 hardcode_shlibpath_var=no
10879 export_dynamic_flag_spec='-Bexport'
10883 if test -d /usr/nec; then
10884 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10885 hardcode_shlibpath_var=no
10886 runpath_var=LD_RUN_PATH
10887 hardcode_runpath_var=yes
10892 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10893 no_undefined_flag='${wl}-z,text'
10894 archive_cmds_need_lc=no
10895 hardcode_shlibpath_var=no
10896 runpath_var='LD_RUN_PATH'
10898 if test "$GCC" = yes; then
10899 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10900 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10902 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10903 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10907 sysv5* | sco3.2v5* | sco5v6*)
10908 # Note: We can NOT use -z defs as we might desire, because we do not
10909 # link with -lc, and that would cause any symbols used from libc to
10910 # always be unresolved, which means just about no library would
10911 # ever link correctly. If we're not using GNU ld we use -z text
10912 # though, which does catch some bad symbols but isn't as heavy-handed
10914 no_undefined_flag='${wl}-z,text'
10915 allow_undefined_flag='${wl}-z,nodefs'
10916 archive_cmds_need_lc=no
10917 hardcode_shlibpath_var=no
10918 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10919 hardcode_libdir_separator=':'
10920 link_all_deplibs=yes
10921 export_dynamic_flag_spec='${wl}-Bexport'
10922 runpath_var='LD_RUN_PATH'
10924 if test "$GCC" = yes; then
10925 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10926 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10928 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10929 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10934 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10935 hardcode_libdir_flag_spec='-L$libdir'
10936 hardcode_shlibpath_var=no
10944 if test x$host_vendor = xsni; then
10946 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10947 export_dynamic_flag_spec='${wl}-Blargedynsym'
10953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10954 $as_echo "$ld_shlibs" >&6; }
10955 test "$ld_shlibs" = no && can_build_shared=no
10957 with_gnu_ld=$with_gnu_ld
10974 # Do we need to explicitly link libc?
10976 case "x$archive_cmds_need_lc" in
10978 # Assume -lc should be added
10979 archive_cmds_need_lc=yes
10981 if test "$enable_shared" = yes && test "$GCC" = yes; then
10982 case $archive_cmds in
10984 # FIXME: we may have to deal with multi-command sequences.
10987 # Test whether the compiler implicitly links with -lc since on some
10988 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10989 # to ld, don't add -lc before -lgcc.
10990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10991 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10992 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10993 $as_echo_n "(cached) " >&6
10996 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10998 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10999 (eval $ac_compile) 2>&5
11001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11002 test $ac_status = 0; } 2>conftest.err; then
11005 libobjs=conftest.$ac_objext
11007 wl=$lt_prog_compiler_wl
11008 pic_flag=$lt_prog_compiler_pic
11014 lt_save_allow_undefined_flag=$allow_undefined_flag
11015 allow_undefined_flag=
11016 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11017 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11019 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11020 test $ac_status = 0; }
11022 lt_cv_archive_cmds_need_lc=no
11024 lt_cv_archive_cmds_need_lc=yes
11026 allow_undefined_flag=$lt_save_allow_undefined_flag
11028 cat conftest.err 1>&5
11033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11034 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11035 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11194 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11196 if test "$GCC" = yes; then
11198 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11199 *) lt_awk_arg="/^libraries:/" ;;
11202 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11203 *) lt_sed_strip_eq="s,=/,/,g" ;;
11205 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11206 case $lt_search_path_spec in
11208 # if the path contains ";" then we assume it to be the separator
11209 # otherwise default to the standard path separator (i.e. ":") - it is
11210 # assumed that no part of a normal pathname contains ";" but that should
11211 # okay in the real world where ";" in dirpaths is itself problematic.
11212 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11215 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11218 # Ok, now we have the path, separated by spaces, we can step through it
11219 # and add multilib dir if necessary.
11220 lt_tmp_lt_search_path_spec=
11221 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11222 for lt_sys_path in $lt_search_path_spec; do
11223 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11224 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11226 test -d "$lt_sys_path" && \
11227 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11230 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11231 BEGIN {RS=" "; FS="/|\n";} {
11234 for (lt_i = NF; lt_i > 0; lt_i--) {
11235 if ($lt_i != "" && $lt_i != ".") {
11236 if ($lt_i == "..") {
11239 if (lt_count == 0) {
11240 lt_foo="/" $lt_i lt_foo;
11247 if (lt_foo != "") { lt_freq[lt_foo]++; }
11248 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11250 # AWK program above erroneously prepends '/' to C:/dos/paths
11253 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11254 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11256 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11258 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11260 library_names_spec=
11261 libname_spec='lib$name'
11265 postuninstall_cmds=
11269 shlibpath_overrides_runpath=unknown
11271 dynamic_linker="$host_os ld.so"
11272 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11273 need_lib_prefix=unknown
11274 hardcode_into_libs=no
11276 # when you set need_version to no, make sure it does not cause -set_version
11277 # flags to be left without arguments
11278 need_version=unknown
11282 version_type=linux # correct to gnu/linux during the next big refactor
11283 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11284 shlibpath_var=LIBPATH
11286 # AIX 3 has no versioning support, so we append a major version to the name.
11287 soname_spec='${libname}${release}${shared_ext}$major'
11291 version_type=linux # correct to gnu/linux during the next big refactor
11294 hardcode_into_libs=yes
11295 if test "$host_cpu" = ia64; then
11296 # AIX 5 supports IA64
11297 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11298 shlibpath_var=LD_LIBRARY_PATH
11300 # With GCC up to 2.95.x, collect2 would create an import file
11301 # for dependence libraries. The import file would start with
11302 # the line `#! .'. This would cause the generated library to
11303 # depend on `.', always an invalid library. This was fixed in
11304 # development snapshots of GCC prior to 3.0.
11306 aix4 | aix4.[01] | aix4.[01].*)
11307 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11309 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11312 can_build_shared=no
11316 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11317 # soname into executable. Probably we can add versioning support to
11318 # collect2, so additional links can be useful in future.
11319 if test "$aix_use_runtimelinking" = yes; then
11320 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11321 # instead of lib<name>.a to let people know that these are not
11322 # typical AIX shared libraries.
11323 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11325 # We preserve .a as extension for shared libraries through AIX4.2
11326 # and later when we are not doing run time linking.
11327 library_names_spec='${libname}${release}.a $libname.a'
11328 soname_spec='${libname}${release}${shared_ext}$major'
11330 shlibpath_var=LIBPATH
11337 # Since July 2007 AmigaOS4 officially supports .so libraries.
11338 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11339 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11342 library_names_spec='$libname.ixlibrary $libname.a'
11343 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11344 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
11350 library_names_spec='${libname}${shared_ext}'
11351 dynamic_linker="$host_os ld.so"
11352 shlibpath_var=LIBRARY_PATH
11356 version_type=linux # correct to gnu/linux during the next big refactor
11358 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11359 soname_spec='${libname}${release}${shared_ext}$major'
11360 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11361 shlibpath_var=LD_LIBRARY_PATH
11362 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11363 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11364 # the default ld.so.conf also contains /usr/contrib/lib and
11365 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11366 # libtool to hard-code these into programs
11369 cygwin* | mingw* | pw32* | cegcc*)
11370 version_type=windows
11375 case $GCC,$cc_basename in
11378 library_names_spec='$libname.dll.a'
11379 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11380 postinstall_cmds='base_file=`basename \${file}`~
11381 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11382 dldir=$destdir/`dirname \$dlpath`~
11383 test -d \$dldir || mkdir -p \$dldir~
11384 $install_prog $dir/$dlname \$dldir/$dlname~
11385 chmod a+x \$dldir/$dlname~
11386 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11387 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11389 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11390 dlpath=$dir/\$dldll~
11392 shlibpath_overrides_runpath=yes
11396 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11397 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11399 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11402 # MinGW DLLs use traditional 'lib' prefix
11403 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11406 # pw32 DLLs use 'pw' prefix rather than 'lib'
11407 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11410 dynamic_linker='Win32 ld.exe'
11415 libname_spec='$name'
11416 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11417 library_names_spec='${libname}.dll.lib'
11421 sys_lib_search_path_spec=
11424 for lt_path in $LIB
11427 # Let DOS variable expansion print the short 8.3 style file name.
11428 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11429 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11432 # Convert to MSYS style.
11433 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11436 # Convert to unix form, then to dos form, then back to unix form
11437 # but this time dos style (no spaces!) so that the unix form looks
11438 # like /cygdrive/c/PROGRA~1:/cygdr...
11439 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11440 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11441 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11444 sys_lib_search_path_spec="$LIB"
11445 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11446 # It is most probably a Windows format PATH.
11447 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11449 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11451 # FIXME: find the short name or the path components, as spaces are
11452 # common. (e.g. "Program Files" -> "PROGRA~1")
11456 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11457 postinstall_cmds='base_file=`basename \${file}`~
11458 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11459 dldir=$destdir/`dirname \$dlpath`~
11460 test -d \$dldir || mkdir -p \$dldir~
11461 $install_prog $dir/$dlname \$dldir/$dlname'
11462 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11463 dlpath=$dir/\$dldll~
11465 shlibpath_overrides_runpath=yes
11466 dynamic_linker='Win32 link.exe'
11470 # Assume MSVC wrapper
11471 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11472 dynamic_linker='Win32 ld.exe'
11475 # FIXME: first we should search . and the directory the executable is in
11479 darwin* | rhapsody*)
11480 dynamic_linker="$host_os dyld"
11481 version_type=darwin
11484 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11485 soname_spec='${libname}${release}${major}$shared_ext'
11486 shlibpath_overrides_runpath=yes
11487 shlibpath_var=DYLD_LIBRARY_PATH
11488 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11490 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11491 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11495 version_type=linux # correct to gnu/linux during the next big refactor
11498 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11499 soname_spec='${libname}${release}${shared_ext}$major'
11500 shlibpath_var=LD_LIBRARY_PATH
11503 freebsd* | dragonfly*)
11504 # DragonFly does not have aout. When/if they implement a new
11505 # versioning mechanism, adjust this.
11506 if test -x /usr/bin/objformat; then
11507 objformat=`/usr/bin/objformat`
11510 freebsd[23].*) objformat=aout ;;
11511 *) objformat=elf ;;
11514 version_type=freebsd-$objformat
11515 case $version_type in
11517 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11522 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11526 shlibpath_var=LD_LIBRARY_PATH
11529 shlibpath_overrides_runpath=yes
11531 freebsd3.[01]* | freebsdelf3.[01]*)
11532 shlibpath_overrides_runpath=yes
11533 hardcode_into_libs=yes
11535 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11536 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11537 shlibpath_overrides_runpath=no
11538 hardcode_into_libs=yes
11540 *) # from 4.6 on, and DragonFly
11541 shlibpath_overrides_runpath=yes
11542 hardcode_into_libs=yes
11548 version_type=linux # correct to gnu/linux during the next big refactor
11551 dynamic_linker="$host_os runtime_loader"
11552 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11553 soname_spec='${libname}${release}${shared_ext}$major'
11554 shlibpath_var=LIBRARY_PATH
11555 shlibpath_overrides_runpath=yes
11556 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11557 hardcode_into_libs=yes
11560 hpux9* | hpux10* | hpux11*)
11561 # Give a soname corresponding to the major version so that dld.sl refuses to
11562 # link against other versions.
11569 hardcode_into_libs=yes
11570 dynamic_linker="$host_os dld.so"
11571 shlibpath_var=LD_LIBRARY_PATH
11572 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11573 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11574 soname_spec='${libname}${release}${shared_ext}$major'
11575 if test "X$HPUX_IA64_MODE" = X32; then
11576 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11578 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11580 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11584 hardcode_into_libs=yes
11585 dynamic_linker="$host_os dld.sl"
11586 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11587 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11588 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11589 soname_spec='${libname}${release}${shared_ext}$major'
11590 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11591 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11595 dynamic_linker="$host_os dld.sl"
11596 shlibpath_var=SHLIB_PATH
11597 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11598 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11599 soname_spec='${libname}${release}${shared_ext}$major'
11602 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11603 postinstall_cmds='chmod 555 $lib'
11604 # or fails outright, so override atomically:
11605 install_override_mode=555
11609 version_type=linux # correct to gnu/linux during the next big refactor
11612 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11613 soname_spec='${libname}${release}${shared_ext}$major'
11614 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11615 shlibpath_var=LD_LIBRARY_PATH
11616 shlibpath_overrides_runpath=no
11617 hardcode_into_libs=yes
11620 irix5* | irix6* | nonstopux*)
11622 nonstopux*) version_type=nonstopux ;;
11624 if test "$lt_cv_prog_gnu_ld" = yes; then
11625 version_type=linux # correct to gnu/linux during the next big refactor
11632 soname_spec='${libname}${release}${shared_ext}$major'
11633 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11635 irix5* | nonstopux*)
11636 libsuff= shlibsuff=
11639 case $LD in # libtool.m4 will add one of these switches to LD
11640 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11641 libsuff= shlibsuff= libmagic=32-bit;;
11642 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11643 libsuff=32 shlibsuff=N32 libmagic=N32;;
11644 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11645 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11646 *) libsuff= shlibsuff= libmagic=never-match;;
11650 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11651 shlibpath_overrides_runpath=no
11652 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11653 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11654 hardcode_into_libs=yes
11657 # No shared lib support for Linux oldld, aout, or coff.
11658 linux*oldld* | linux*aout* | linux*coff*)
11662 # This must be glibc/ELF.
11663 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11664 version_type=linux # correct to gnu/linux during the next big refactor
11667 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11668 soname_spec='${libname}${release}${shared_ext}$major'
11669 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11670 shlibpath_var=LD_LIBRARY_PATH
11671 shlibpath_overrides_runpath=no
11673 # Some binutils ld are patched to set DT_RUNPATH
11674 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11675 $as_echo_n "(cached) " >&6
11677 lt_cv_shlibpath_overrides_runpath=no
11678 save_LDFLAGS=$LDFLAGS
11679 save_libdir=$libdir
11680 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11681 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11683 /* end confdefs.h. */
11693 if ac_fn_c_try_link "$LINENO"; then :
11694 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11695 lt_cv_shlibpath_overrides_runpath=yes
11698 rm -f core conftest.err conftest.$ac_objext \
11699 conftest$ac_exeext conftest.$ac_ext
11700 LDFLAGS=$save_LDFLAGS
11701 libdir=$save_libdir
11705 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11707 # This implies no fast_install, which is unacceptable.
11708 # Some rework will be needed to allow for fast_install
11709 # before this can be enabled.
11710 hardcode_into_libs=yes
11712 # Append ld.so.conf contents to the search path
11713 if test -f /etc/ld.so.conf; then
11714 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;s/"//g;/^$/d' | tr '\n' ' '`
11715 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11718 # We used to test for /lib/ld.so.1 and disable shared libraries on
11719 # powerpc, because MkLinux only supported shared libraries with the
11720 # GNU dynamic linker. Since this was broken with cross compilers,
11721 # most powerpc-linux boxes support dynamic linking these days and
11722 # people can always --disable-shared, the test was removed, and we
11723 # assume the GNU/Linux dynamic linker is in use.
11724 dynamic_linker='GNU/Linux ld.so'
11731 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11732 soname_spec='${libname}${release}${shared_ext}$major'
11733 shlibpath_var=LD_LIBRARY_PATH
11734 shlibpath_overrides_runpath=no
11735 hardcode_into_libs=yes
11736 dynamic_linker='NetBSD ld.elf_so'
11743 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11744 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11745 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11746 dynamic_linker='NetBSD (a.out) ld.so'
11748 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11749 soname_spec='${libname}${release}${shared_ext}$major'
11750 dynamic_linker='NetBSD ld.elf_so'
11752 shlibpath_var=LD_LIBRARY_PATH
11753 shlibpath_overrides_runpath=yes
11754 hardcode_into_libs=yes
11758 version_type=linux # correct to gnu/linux during the next big refactor
11759 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11760 shlibpath_var=LD_LIBRARY_PATH
11761 shlibpath_overrides_runpath=yes
11768 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11769 soname_spec='${libname}${release}${shared_ext}$major'
11770 shlibpath_var=LD_LIBRARY_PATH
11771 shlibpath_overrides_runpath=no
11772 hardcode_into_libs=yes
11773 dynamic_linker='ldqnx.so'
11778 sys_lib_dlsearch_path_spec="/usr/lib"
11780 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11782 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11783 *) need_version=no ;;
11785 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11786 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11787 shlibpath_var=LD_LIBRARY_PATH
11788 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11790 openbsd2.[89] | openbsd2.[89].*)
11791 shlibpath_overrides_runpath=no
11794 shlibpath_overrides_runpath=yes
11798 shlibpath_overrides_runpath=yes
11803 libname_spec='$name'
11806 library_names_spec='$libname${shared_ext} $libname.a'
11807 dynamic_linker='OS/2 ld.exe'
11808 shlibpath_var=LIBPATH
11811 osf3* | osf4* | osf5*)
11815 soname_spec='${libname}${release}${shared_ext}$major'
11816 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11817 shlibpath_var=LD_LIBRARY_PATH
11818 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11819 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11827 version_type=linux # correct to gnu/linux during the next big refactor
11830 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11831 soname_spec='${libname}${release}${shared_ext}$major'
11832 shlibpath_var=LD_LIBRARY_PATH
11833 shlibpath_overrides_runpath=yes
11834 hardcode_into_libs=yes
11835 # ldd complains unless libraries are executable
11836 postinstall_cmds='chmod +x $lib'
11841 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11842 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11843 shlibpath_var=LD_LIBRARY_PATH
11844 shlibpath_overrides_runpath=yes
11845 if test "$with_gnu_ld" = yes; then
11852 version_type=linux # correct to gnu/linux during the next big refactor
11853 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11854 soname_spec='${libname}${release}${shared_ext}$major'
11855 shlibpath_var=LD_LIBRARY_PATH
11856 case $host_vendor in
11858 shlibpath_overrides_runpath=no
11860 runpath_var=LD_RUN_PATH
11868 shlibpath_overrides_runpath=no
11869 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11875 if test -d /usr/nec ;then
11876 version_type=linux # correct to gnu/linux during the next big refactor
11877 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11878 soname_spec='$libname${shared_ext}.$major'
11879 shlibpath_var=LD_LIBRARY_PATH
11883 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11884 version_type=freebsd-elf
11887 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11888 soname_spec='${libname}${release}${shared_ext}$major'
11889 shlibpath_var=LD_LIBRARY_PATH
11890 shlibpath_overrides_runpath=yes
11891 hardcode_into_libs=yes
11892 if test "$with_gnu_ld" = yes; then
11893 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11895 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11898 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11902 sys_lib_dlsearch_path_spec='/usr/lib'
11906 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11907 version_type=linux # correct to gnu/linux during the next big refactor
11910 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11911 shlibpath_var=LD_LIBRARY_PATH
11912 shlibpath_overrides_runpath=no
11913 hardcode_into_libs=yes
11917 version_type=linux # correct to gnu/linux during the next big refactor
11918 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11919 soname_spec='${libname}${release}${shared_ext}$major'
11920 shlibpath_var=LD_LIBRARY_PATH
11927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11928 $as_echo "$dynamic_linker" >&6; }
11929 test "$dynamic_linker" = no && can_build_shared=no
11931 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11932 if test "$GCC" = yes; then
11933 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11936 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11937 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11939 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11940 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12035 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12037 if test -n "$hardcode_libdir_flag_spec" ||
12038 test -n "$runpath_var" ||
12039 test "X$hardcode_automatic" = "Xyes" ; then
12041 # We can hardcode non-existent directories.
12042 if test "$hardcode_direct" != no &&
12043 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12044 # have to relink, otherwise we might link with an installed library
12045 # when we should be linking with a yet-to-be-installed one
12046 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12047 test "$hardcode_minus_L" != no; then
12048 # Linking always hardcodes the temporary library directory.
12049 hardcode_action=relink
12051 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12052 hardcode_action=immediate
12055 # We cannot hardcode anything, or else we can only hardcode existing
12057 hardcode_action=unsupported
12059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12060 $as_echo "$hardcode_action" >&6; }
12062 if test "$hardcode_action" = relink ||
12063 test "$inherit_rpath" = yes; then
12064 # Fast installation is not supported
12065 enable_fast_install=no
12066 elif test "$shlibpath_overrides_runpath" = yes ||
12067 test "$enable_shared" = no; then
12068 # Fast installation is not necessary
12069 enable_fast_install=needless
12077 if test "x$enable_dlopen" != xyes; then
12078 enable_dlopen=unknown
12079 enable_dlopen_self=unknown
12080 enable_dlopen_self_static=unknown
12087 lt_cv_dlopen="load_add_on"
12089 lt_cv_dlopen_self=yes
12092 mingw* | pw32* | cegcc*)
12093 lt_cv_dlopen="LoadLibrary"
12098 lt_cv_dlopen="dlopen"
12103 # if libdl is installed we need to link against it
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12105 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12106 if ${ac_cv_lib_dl_dlopen+:} false; then :
12107 $as_echo_n "(cached) " >&6
12109 ac_check_lib_save_LIBS=$LIBS
12111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12112 /* end confdefs.h. */
12114 /* Override any GCC internal prototype to avoid an error.
12115 Use char because int might match the return type of a GCC
12116 builtin and then its argument prototype would still apply. */
12129 if ac_fn_c_try_link "$LINENO"; then :
12130 ac_cv_lib_dl_dlopen=yes
12132 ac_cv_lib_dl_dlopen=no
12134 rm -f core conftest.err conftest.$ac_objext \
12135 conftest$ac_exeext conftest.$ac_ext
12136 LIBS=$ac_check_lib_save_LIBS
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12139 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12140 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12141 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12144 lt_cv_dlopen="dyld"
12146 lt_cv_dlopen_self=yes
12153 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12154 if test "x$ac_cv_func_shl_load" = xyes; then :
12155 lt_cv_dlopen="shl_load"
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12158 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12159 if ${ac_cv_lib_dld_shl_load+:} false; then :
12160 $as_echo_n "(cached) " >&6
12162 ac_check_lib_save_LIBS=$LIBS
12164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12165 /* end confdefs.h. */
12167 /* Override any GCC internal prototype to avoid an error.
12168 Use char because int might match the return type of a GCC
12169 builtin and then its argument prototype would still apply. */
12177 return shl_load ();
12182 if ac_fn_c_try_link "$LINENO"; then :
12183 ac_cv_lib_dld_shl_load=yes
12185 ac_cv_lib_dld_shl_load=no
12187 rm -f core conftest.err conftest.$ac_objext \
12188 conftest$ac_exeext conftest.$ac_ext
12189 LIBS=$ac_check_lib_save_LIBS
12191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12192 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12193 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12194 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12196 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12197 if test "x$ac_cv_func_dlopen" = xyes; then :
12198 lt_cv_dlopen="dlopen"
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12201 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12202 if ${ac_cv_lib_dl_dlopen+:} false; then :
12203 $as_echo_n "(cached) " >&6
12205 ac_check_lib_save_LIBS=$LIBS
12207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12208 /* end confdefs.h. */
12210 /* Override any GCC internal prototype to avoid an error.
12211 Use char because int might match the return type of a GCC
12212 builtin and then its argument prototype would still apply. */
12225 if ac_fn_c_try_link "$LINENO"; then :
12226 ac_cv_lib_dl_dlopen=yes
12228 ac_cv_lib_dl_dlopen=no
12230 rm -f core conftest.err conftest.$ac_objext \
12231 conftest$ac_exeext conftest.$ac_ext
12232 LIBS=$ac_check_lib_save_LIBS
12234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12235 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12236 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12237 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12240 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12241 if ${ac_cv_lib_svld_dlopen+:} false; then :
12242 $as_echo_n "(cached) " >&6
12244 ac_check_lib_save_LIBS=$LIBS
12245 LIBS="-lsvld $LIBS"
12246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12247 /* end confdefs.h. */
12249 /* Override any GCC internal prototype to avoid an error.
12250 Use char because int might match the return type of a GCC
12251 builtin and then its argument prototype would still apply. */
12264 if ac_fn_c_try_link "$LINENO"; then :
12265 ac_cv_lib_svld_dlopen=yes
12267 ac_cv_lib_svld_dlopen=no
12269 rm -f core conftest.err conftest.$ac_objext \
12270 conftest$ac_exeext conftest.$ac_ext
12271 LIBS=$ac_check_lib_save_LIBS
12273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12274 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12275 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12276 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12279 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12280 if ${ac_cv_lib_dld_dld_link+:} false; then :
12281 $as_echo_n "(cached) " >&6
12283 ac_check_lib_save_LIBS=$LIBS
12285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12286 /* end confdefs.h. */
12288 /* Override any GCC internal prototype to avoid an error.
12289 Use char because int might match the return type of a GCC
12290 builtin and then its argument prototype would still apply. */
12298 return dld_link ();
12303 if ac_fn_c_try_link "$LINENO"; then :
12304 ac_cv_lib_dld_dld_link=yes
12306 ac_cv_lib_dld_dld_link=no
12308 rm -f core conftest.err conftest.$ac_objext \
12309 conftest$ac_exeext conftest.$ac_ext
12310 LIBS=$ac_check_lib_save_LIBS
12312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12313 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12314 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12315 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12336 if test "x$lt_cv_dlopen" != xno; then
12342 case $lt_cv_dlopen in
12344 save_CPPFLAGS="$CPPFLAGS"
12345 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12347 save_LDFLAGS="$LDFLAGS"
12348 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12351 LIBS="$lt_cv_dlopen_libs $LIBS"
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12354 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12355 if ${lt_cv_dlopen_self+:} false; then :
12356 $as_echo_n "(cached) " >&6
12358 if test "$cross_compiling" = yes; then :
12359 lt_cv_dlopen_self=cross
12361 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12362 lt_status=$lt_dlunknown
12363 cat > conftest.$ac_ext <<_LT_EOF
12364 #line $LINENO "configure"
12365 #include "confdefs.h"
12374 # define LT_DLGLOBAL RTLD_GLOBAL
12377 # define LT_DLGLOBAL DL_GLOBAL
12379 # define LT_DLGLOBAL 0
12383 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12384 find out it does not work in some platform. */
12385 #ifndef LT_DLLAZY_OR_NOW
12387 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12390 # define LT_DLLAZY_OR_NOW DL_LAZY
12393 # define LT_DLLAZY_OR_NOW RTLD_NOW
12396 # define LT_DLLAZY_OR_NOW DL_NOW
12398 # define LT_DLLAZY_OR_NOW 0
12405 /* When -fvisbility=hidden is used, assume the code has been annotated
12406 correspondingly for the symbols needed. */
12407 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12408 int fnord () __attribute__((visibility("default")));
12411 int fnord () { return 42; }
12414 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12415 int status = $lt_dlunknown;
12419 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12422 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12423 else puts (dlerror ());
12425 /* dlclose (self); */
12433 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12434 (eval $ac_link) 2>&5
12436 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12437 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12438 (./conftest; exit; ) >&5 2>/dev/null
12440 case x$lt_status in
12441 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12442 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12443 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12446 # compilation failed
12447 lt_cv_dlopen_self=no
12454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12455 $as_echo "$lt_cv_dlopen_self" >&6; }
12457 if test "x$lt_cv_dlopen_self" = xyes; then
12458 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12460 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12461 if ${lt_cv_dlopen_self_static+:} false; then :
12462 $as_echo_n "(cached) " >&6
12464 if test "$cross_compiling" = yes; then :
12465 lt_cv_dlopen_self_static=cross
12467 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12468 lt_status=$lt_dlunknown
12469 cat > conftest.$ac_ext <<_LT_EOF
12470 #line $LINENO "configure"
12471 #include "confdefs.h"
12480 # define LT_DLGLOBAL RTLD_GLOBAL
12483 # define LT_DLGLOBAL DL_GLOBAL
12485 # define LT_DLGLOBAL 0
12489 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12490 find out it does not work in some platform. */
12491 #ifndef LT_DLLAZY_OR_NOW
12493 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12496 # define LT_DLLAZY_OR_NOW DL_LAZY
12499 # define LT_DLLAZY_OR_NOW RTLD_NOW
12502 # define LT_DLLAZY_OR_NOW DL_NOW
12504 # define LT_DLLAZY_OR_NOW 0
12511 /* When -fvisbility=hidden is used, assume the code has been annotated
12512 correspondingly for the symbols needed. */
12513 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12514 int fnord () __attribute__((visibility("default")));
12517 int fnord () { return 42; }
12520 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12521 int status = $lt_dlunknown;
12525 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12528 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12529 else puts (dlerror ());
12531 /* dlclose (self); */
12539 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12540 (eval $ac_link) 2>&5
12542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12543 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12544 (./conftest; exit; ) >&5 2>/dev/null
12546 case x$lt_status in
12547 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12548 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12549 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12552 # compilation failed
12553 lt_cv_dlopen_self_static=no
12560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12561 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12564 CPPFLAGS="$save_CPPFLAGS"
12565 LDFLAGS="$save_LDFLAGS"
12570 case $lt_cv_dlopen_self in
12571 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12572 *) enable_dlopen_self=unknown ;;
12575 case $lt_cv_dlopen_self_static in
12576 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12577 *) enable_dlopen_self_static=unknown ;;
12599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12600 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12601 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12602 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12603 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12605 $as_echo "yes" >&6; }
12607 # FIXME - insert some real tests, host_os isn't really good enough
12610 if test -n "$STRIP" ; then
12611 striplib="$STRIP -x"
12612 old_striplib="$STRIP -S"
12613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12614 $as_echo "yes" >&6; }
12616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12617 $as_echo "no" >&6; }
12621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12622 $as_echo "no" >&6; }
12638 # Report which library types will actually be built
12639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12640 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12642 $as_echo "$can_build_shared" >&6; }
12644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12645 $as_echo_n "checking whether to build shared libraries... " >&6; }
12646 test "$can_build_shared" = "no" && enable_shared=no
12648 # On AIX, shared libraries and static libraries use the same namespace, and
12649 # are all built from PIC.
12652 test "$enable_shared" = yes && enable_static=no
12653 if test -n "$RANLIB"; then
12654 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12655 postinstall_cmds='$RANLIB $lib'
12660 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12661 test "$enable_shared" = yes && enable_static=no
12665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12666 $as_echo "$enable_shared" >&6; }
12668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12669 $as_echo_n "checking whether to build static libraries... " >&6; }
12670 # Make sure either enable_shared or enable_static is yes.
12671 test "$enable_shared" = yes || enable_static=yes
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12673 $as_echo "$enable_static" >&6; }
12680 ac_cpp='$CPP $CPPFLAGS'
12681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12701 ac_config_commands="$ac_config_commands libtool"
12706 # Only expand once:
12711 ac_cpp='$CXXCPP $CPPFLAGS'
12712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12715 if test -z "$CXX"; then
12716 if test -n "$CCC"; then
12719 if test -n "$ac_tool_prefix"; then
12720 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12722 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12723 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12725 $as_echo_n "checking for $ac_word... " >&6; }
12726 if ${ac_cv_prog_CXX+:} false; then :
12727 $as_echo_n "(cached) " >&6
12729 if test -n "$CXX"; then
12730 ac_cv_prog_CXX="$CXX" # Let the user override the test.
12732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12733 for as_dir in $PATH
12736 test -z "$as_dir" && as_dir=.
12737 for ac_exec_ext in '' $ac_executable_extensions; do
12738 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12739 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
12740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12749 CXX=$ac_cv_prog_CXX
12750 if test -n "$CXX"; then
12751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
12752 $as_echo "$CXX" >&6; }
12754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12755 $as_echo "no" >&6; }
12759 test -n "$CXX" && break
12762 if test -z "$CXX"; then
12764 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12766 # Extract the first word of "$ac_prog", so it can be a program name with args.
12767 set dummy $ac_prog; ac_word=$2
12768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12769 $as_echo_n "checking for $ac_word... " >&6; }
12770 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
12771 $as_echo_n "(cached) " >&6
12773 if test -n "$ac_ct_CXX"; then
12774 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
12776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12777 for as_dir in $PATH
12780 test -z "$as_dir" && as_dir=.
12781 for ac_exec_ext in '' $ac_executable_extensions; do
12782 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12783 ac_cv_prog_ac_ct_CXX="$ac_prog"
12784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12793 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
12794 if test -n "$ac_ct_CXX"; then
12795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
12796 $as_echo "$ac_ct_CXX" >&6; }
12798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12799 $as_echo "no" >&6; }
12803 test -n "$ac_ct_CXX" && break
12806 if test "x$ac_ct_CXX" = x; then
12809 case $cross_compiling:$ac_tool_warned in
12811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12812 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12813 ac_tool_warned=yes ;;
12821 # Provide some information about the compiler.
12822 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
12825 for ac_option in --version -v -V -qversion; do
12826 { { ac_try="$ac_compiler $ac_option >&5"
12827 case "(($ac_try" in
12828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12829 *) ac_try_echo=$ac_try;;
12831 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12832 $as_echo "$ac_try_echo"; } >&5
12833 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12835 if test -s conftest.err; then
12837 ... rest of stderr output deleted ...
12838 10q' conftest.err >conftest.er1
12839 cat conftest.er1 >&5
12841 rm -f conftest.er1 conftest.err
12842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12843 test $ac_status = 0; }
12846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
12847 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
12848 if ${ac_cv_cxx_compiler_gnu+:} false; then :
12849 $as_echo_n "(cached) " >&6
12851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12852 /* end confdefs.h. */
12865 if ac_fn_cxx_try_compile "$LINENO"; then :
12866 ac_compiler_gnu=yes
12870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12871 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
12875 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
12876 if test $ac_compiler_gnu = yes; then
12881 ac_test_CXXFLAGS=${CXXFLAGS+set}
12882 ac_save_CXXFLAGS=$CXXFLAGS
12883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
12884 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
12885 if ${ac_cv_prog_cxx_g+:} false; then :
12886 $as_echo_n "(cached) " >&6
12888 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
12889 ac_cxx_werror_flag=yes
12890 ac_cv_prog_cxx_g=no
12892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12893 /* end confdefs.h. */
12903 if ac_fn_cxx_try_compile "$LINENO"; then :
12904 ac_cv_prog_cxx_g=yes
12907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12908 /* end confdefs.h. */
12918 if ac_fn_cxx_try_compile "$LINENO"; then :
12921 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12924 /* end confdefs.h. */
12934 if ac_fn_cxx_try_compile "$LINENO"; then :
12935 ac_cv_prog_cxx_g=yes
12937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12942 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
12945 $as_echo "$ac_cv_prog_cxx_g" >&6; }
12946 if test "$ac_test_CXXFLAGS" = set; then
12947 CXXFLAGS=$ac_save_CXXFLAGS
12948 elif test $ac_cv_prog_cxx_g = yes; then
12949 if test "$GXX" = yes; then
12955 if test "$GXX" = yes; then
12962 ac_cpp='$CPP $CPPFLAGS'
12963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12967 depcc="$CXX" am_compiler_list=
12969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12970 $as_echo_n "checking dependency style of $depcc... " >&6; }
12971 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
12972 $as_echo_n "(cached) " >&6
12974 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12975 # We make a subdir and do the tests there. Otherwise we can end up
12976 # making bogus files that we don't know about and never remove. For
12977 # instance it was reported that on HP-UX the gcc test will end up
12978 # making a dummy file named `D' -- because `-MD' means `put the output
12980 rm -rf conftest.dir
12982 # Copy depcomp to subdir because otherwise we won't find it if we're
12983 # using a relative directory.
12984 cp "$am_depcomp" conftest.dir
12986 # We will build objects and dependencies in a subdirectory because
12987 # it helps to detect inapplicable dependency modes. For instance
12988 # both Tru64's cc and ICC support -MD to output dependencies as a
12989 # side effect of compilation, but ICC will put the dependencies in
12990 # the current directory while Tru64 will put them in the object
12994 am_cv_CXX_dependencies_compiler_type=none
12995 if test "$am_compiler_list" = ""; then
12996 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12998 am__universal=false
12999 case " $depcc " in #(
13000 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13003 for depmode in $am_compiler_list; do
13004 # Setup a source with many dependencies, because some compilers
13005 # like to wrap large dependency lists on column 80 (with \), and
13006 # we should not choose a depcomp mode which is confused by this.
13008 # We need to recreate these files for each test, as the compiler may
13009 # overwrite some of them when testing with obscure command lines.
13010 # This happens at least with the AIX C compiler.
13012 for i in 1 2 3 4 5 6; do
13013 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13014 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13015 # Solaris 8's {/usr,}/bin/sh.
13016 touch sub/conftst$i.h
13018 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13020 # We check with `-c' and `-o' for the sake of the "dashmstdout"
13021 # mode. It turns out that the SunPro C++ compiler does not properly
13022 # handle `-M -o', and we need to detect this. Also, some Intel
13023 # versions had trouble with output in subdirs
13024 am__obj=sub/conftest.${OBJEXT-o}
13025 am__minus_obj="-o $am__obj"
13028 # This depmode causes a compiler race in universal mode.
13029 test "$am__universal" = false || continue
13032 # after this tag, mechanisms are not by side-effect, so they'll
13033 # only be used when explicitly requested
13034 if test "x$enable_dependency_tracking" = xyes; then
13040 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
13041 # This compiler won't grok `-c -o', but also, the minuso test has
13042 # not run yet. These depmodes are late enough in the game, and
13043 # so weak that their functioning should not be impacted.
13044 am__obj=conftest.${OBJEXT-o}
13049 if depmode=$depmode \
13050 source=sub/conftest.c object=$am__obj \
13051 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13052 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13053 >/dev/null 2>conftest.err &&
13054 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13055 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13056 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13057 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13058 # icc doesn't choke on unknown options, it will just issue warnings
13059 # or remarks (even with -Werror). So we grep stderr for any message
13060 # that says an option was ignored or not supported.
13061 # When given -MP, icc 7.0 and 7.1 complain thusly:
13062 # icc: Command line warning: ignoring option '-M'; no argument required
13063 # The diagnosis changed in icc 8.0:
13064 # icc: Command line remark: option '-MP' not supported
13065 if (grep 'ignoring option' conftest.err ||
13066 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13067 am_cv_CXX_dependencies_compiler_type=$depmode
13074 rm -rf conftest.dir
13076 am_cv_CXX_dependencies_compiler_type=none
13080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
13081 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
13082 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
13085 test "x$enable_dependency_tracking" != xno \
13086 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
13087 am__fastdepCXX_TRUE=
13088 am__fastdepCXX_FALSE='#'
13090 am__fastdepCXX_TRUE='#'
13091 am__fastdepCXX_FALSE=
13097 func_stripname_cnf ()
13100 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
13101 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
13103 } # func_stripname_cnf
13105 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13106 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13107 (test "X$CXX" != "Xg++"))) ; then
13109 ac_cpp='$CXXCPP $CPPFLAGS'
13110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13114 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13115 if test -z "$CXXCPP"; then
13116 if ${ac_cv_prog_CXXCPP+:} false; then :
13117 $as_echo_n "(cached) " >&6
13119 # Double quotes because CXXCPP needs to be expanded
13120 for CXXCPP in "$CXX -E" "/lib/cpp"
13122 ac_preproc_ok=false
13123 for ac_cxx_preproc_warn_flag in '' yes
13125 # Use a header file that comes with gcc, so configuring glibc
13126 # with a fresh cross-compiler works.
13127 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13128 # <limits.h> exists even on freestanding compilers.
13129 # On the NeXT, cc -E runs the code through the compiler's parser,
13130 # not just through cpp. "Syntax error" is here to catch this case.
13131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13132 /* end confdefs.h. */
13134 # include <limits.h>
13136 # include <assert.h>
13140 if ac_fn_cxx_try_cpp "$LINENO"; then :
13143 # Broken: fails on valid input.
13146 rm -f conftest.err conftest.i conftest.$ac_ext
13148 # OK, works on sane cases. Now check whether nonexistent headers
13149 # can be detected and how.
13150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13151 /* end confdefs.h. */
13152 #include <ac_nonexistent.h>
13154 if ac_fn_cxx_try_cpp "$LINENO"; then :
13155 # Broken: success on invalid input.
13158 # Passes both tests.
13162 rm -f conftest.err conftest.i conftest.$ac_ext
13165 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13166 rm -f conftest.i conftest.err conftest.$ac_ext
13167 if $ac_preproc_ok; then :
13172 ac_cv_prog_CXXCPP=$CXXCPP
13175 CXXCPP=$ac_cv_prog_CXXCPP
13177 ac_cv_prog_CXXCPP=$CXXCPP
13179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13180 $as_echo "$CXXCPP" >&6; }
13181 ac_preproc_ok=false
13182 for ac_cxx_preproc_warn_flag in '' yes
13184 # Use a header file that comes with gcc, so configuring glibc
13185 # with a fresh cross-compiler works.
13186 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13187 # <limits.h> exists even on freestanding compilers.
13188 # On the NeXT, cc -E runs the code through the compiler's parser,
13189 # not just through cpp. "Syntax error" is here to catch this case.
13190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13191 /* end confdefs.h. */
13193 # include <limits.h>
13195 # include <assert.h>
13199 if ac_fn_cxx_try_cpp "$LINENO"; then :
13202 # Broken: fails on valid input.
13205 rm -f conftest.err conftest.i conftest.$ac_ext
13207 # OK, works on sane cases. Now check whether nonexistent headers
13208 # can be detected and how.
13209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13210 /* end confdefs.h. */
13211 #include <ac_nonexistent.h>
13213 if ac_fn_cxx_try_cpp "$LINENO"; then :
13214 # Broken: success on invalid input.
13217 # Passes both tests.
13221 rm -f conftest.err conftest.i conftest.$ac_ext
13224 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13225 rm -f conftest.i conftest.err conftest.$ac_ext
13226 if $ac_preproc_ok; then :
13229 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13230 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13231 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
13232 See \`config.log' for more details" "$LINENO" 5; }
13236 ac_cpp='$CPP $CPPFLAGS'
13237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13242 _lt_caught_CXX_error=yes
13246 ac_cpp='$CXXCPP $CPPFLAGS'
13247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13251 archive_cmds_need_lc_CXX=no
13252 allow_undefined_flag_CXX=
13253 always_export_symbols_CXX=no
13254 archive_expsym_cmds_CXX=
13255 compiler_needs_object_CXX=no
13256 export_dynamic_flag_spec_CXX=
13257 hardcode_direct_CXX=no
13258 hardcode_direct_absolute_CXX=no
13259 hardcode_libdir_flag_spec_CXX=
13260 hardcode_libdir_separator_CXX=
13261 hardcode_minus_L_CXX=no
13262 hardcode_shlibpath_var_CXX=unsupported
13263 hardcode_automatic_CXX=no
13264 inherit_rpath_CXX=no
13266 module_expsym_cmds_CXX=
13267 link_all_deplibs_CXX=unknown
13268 old_archive_cmds_CXX=$old_archive_cmds
13269 reload_flag_CXX=$reload_flag
13270 reload_cmds_CXX=$reload_cmds
13271 no_undefined_flag_CXX=
13272 whole_archive_flag_spec_CXX=
13273 enable_shared_with_static_runtimes_CXX=no
13275 # Source file extension for C++ test sources.
13278 # Object file extension for compiled C++ test sources.
13282 # No sense in running all these tests if we already determined that
13283 # the CXX compiler isn't working. Some variables (like enable_shared)
13284 # are currently assumed to apply to all compilers on this platform,
13285 # and will be corrupted by setting them based on a non-working compiler.
13286 if test "$_lt_caught_CXX_error" != yes; then
13287 # Code to be used in simple compile tests
13288 lt_simple_compile_test_code="int some_variable = 0;"
13290 # Code to be used in simple link tests
13291 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13293 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13300 # If no C compiler was specified, use CC.
13303 # If no C compiler flags were specified, use CFLAGS.
13304 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13306 # Allow CC to be a program name with arguments.
13310 # save warnings/boilerplate of simple test code
13311 ac_outfile=conftest.$ac_objext
13312 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13313 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13314 _lt_compiler_boilerplate=`cat conftest.err`
13317 ac_outfile=conftest.$ac_objext
13318 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13319 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13320 _lt_linker_boilerplate=`cat conftest.err`
13324 # Allow CC to be a program name with arguments.
13326 lt_save_CFLAGS=$CFLAGS
13330 lt_save_with_gnu_ld=$with_gnu_ld
13331 lt_save_path_LD=$lt_cv_path_LD
13332 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13333 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13335 $as_unset lt_cv_prog_gnu_ld
13337 if test -n "${lt_cv_path_LDCXX+set}"; then
13338 lt_cv_path_LD=$lt_cv_path_LDCXX
13340 $as_unset lt_cv_path_LD
13342 test -z "${LDCXX+set}" || LD=$LDCXX
13347 for cc_temp in $compiler""; do
13349 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13350 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13355 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13358 if test -n "$compiler"; then
13359 # We don't want -fno-exception when compiling C++ code, so set the
13360 # no_builtin_flag separately
13361 if test "$GXX" = yes; then
13362 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13364 lt_prog_compiler_no_builtin_flag_CXX=
13367 if test "$GXX" = yes; then
13368 # Set up default GNU C++ configuration
13372 # Check whether --with-gnu-ld was given.
13373 if test "${with_gnu_ld+set}" = set; then :
13374 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13380 if test "$GCC" = yes; then
13381 # Check if gcc -print-prog-name=ld gives a path.
13382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13383 $as_echo_n "checking for ld used by $CC... " >&6; }
13386 # gcc leaves a trailing carriage return which upsets mingw
13387 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13389 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13392 # Accept absolute paths.
13394 re_direlt='/[^/][^/]*/\.\./'
13395 # Canonicalize the pathname of ld
13396 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13397 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
13398 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13400 test -z "$LD" && LD="$ac_prog"
13403 # If it fails, then pretend we aren't using GCC.
13407 # If it is relative, then search for the first ld in PATH.
13408 with_gnu_ld=unknown
13411 elif test "$with_gnu_ld" = yes; then
13412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13413 $as_echo_n "checking for GNU ld... " >&6; }
13415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13416 $as_echo_n "checking for non-GNU ld... " >&6; }
13418 if ${lt_cv_path_LD+:} false; then :
13419 $as_echo_n "(cached) " >&6
13421 if test -z "$LD"; then
13422 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13423 for ac_dir in $PATH; do
13425 test -z "$ac_dir" && ac_dir=.
13426 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13427 lt_cv_path_LD="$ac_dir/$ac_prog"
13428 # Check to see if the program is GNU ld. I'd rather use --version,
13429 # but apparently some variants of GNU ld only accept -v.
13430 # Break only if it was the GNU/non-GNU ld that we prefer.
13431 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13432 *GNU* | *'with BFD'*)
13433 test "$with_gnu_ld" != no && break
13436 test "$with_gnu_ld" != yes && break
13443 lt_cv_path_LD="$LD" # Let the user override the test with a path.
13447 LD="$lt_cv_path_LD"
13448 if test -n "$LD"; then
13449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13450 $as_echo "$LD" >&6; }
13452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13453 $as_echo "no" >&6; }
13455 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13457 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13458 if ${lt_cv_prog_gnu_ld+:} false; then :
13459 $as_echo_n "(cached) " >&6
13461 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13462 case `$LD -v 2>&1 </dev/null` in
13463 *GNU* | *'with BFD'*)
13464 lt_cv_prog_gnu_ld=yes
13467 lt_cv_prog_gnu_ld=no
13471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13472 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13473 with_gnu_ld=$lt_cv_prog_gnu_ld
13481 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13482 # archiving commands below assume that GNU ld is being used.
13483 if test "$with_gnu_ld" = yes; then
13484 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13485 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13487 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13488 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13490 # If archive_cmds runs LD, not CC, wlarc should be empty
13491 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13492 # investigate it a little bit more. (MM)
13495 # ancient GNU ld didn't support --whole-archive et. al.
13496 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13497 $GREP 'no-whole-archive' > /dev/null; then
13498 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13500 whole_archive_flag_spec_CXX=
13506 # A generic and very simple default shared library creation
13507 # command for GNU C++ for the case where it uses the native
13508 # linker, instead of GNU ld. If possible, this setting should
13509 # overridden to take advantage of the native linker features on
13510 # the platform it is being used on.
13511 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13514 # Commands to make compiler produce verbose output that lists
13515 # what "hidden" libraries, object files and flags are used when
13516 # linking a shared library.
13517 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13525 # PORTME: fill in a description of your system's C++ link characteristics
13526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13527 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13531 # FIXME: insert proper C++ library support
13535 if test "$host_cpu" = ia64; then
13536 # On IA64, the linker does run time linking by default, so we don't
13537 # have to do anything special.
13538 aix_use_runtimelinking=no
13539 exp_sym_flag='-Bexport'
13542 aix_use_runtimelinking=no
13544 # Test if we are trying to use run time linking or normal
13545 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13546 # need to do runtime linking.
13547 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13548 for ld_flag in $LDFLAGS; do
13551 aix_use_runtimelinking=yes
13559 exp_sym_flag='-bexport'
13560 no_entry_flag='-bnoentry'
13563 # When large executables or shared objects are built, AIX ld can
13564 # have problems creating the table of contents. If linking a library
13565 # or program results in "error TOC overflow" add -mminimal-toc to
13566 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13567 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13569 archive_cmds_CXX=''
13570 hardcode_direct_CXX=yes
13571 hardcode_direct_absolute_CXX=yes
13572 hardcode_libdir_separator_CXX=':'
13573 link_all_deplibs_CXX=yes
13574 file_list_spec_CXX='${wl}-f,'
13576 if test "$GXX" = yes; then
13577 case $host_os in aix4.[012]|aix4.[012].*)
13578 # We only want to do this on AIX 4.2 and lower, the check
13579 # below for broken collect2 doesn't work under 4.3+
13580 collect2name=`${CC} -print-prog-name=collect2`
13581 if test -f "$collect2name" &&
13582 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13584 # We have reworked collect2
13587 # We have old collect2
13588 hardcode_direct_CXX=unsupported
13589 # It fails to find uninstalled libraries when the uninstalled
13590 # path is not listed in the libpath. Setting hardcode_minus_L
13591 # to unsupported forces relinking
13592 hardcode_minus_L_CXX=yes
13593 hardcode_libdir_flag_spec_CXX='-L$libdir'
13594 hardcode_libdir_separator_CXX=
13597 shared_flag='-shared'
13598 if test "$aix_use_runtimelinking" = yes; then
13599 shared_flag="$shared_flag "'${wl}-G'
13603 if test "$host_cpu" = ia64; then
13604 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13605 # chokes on -Wl,-G. The following line is correct:
13608 if test "$aix_use_runtimelinking" = yes; then
13609 shared_flag='${wl}-G'
13611 shared_flag='${wl}-bM:SRE'
13616 export_dynamic_flag_spec_CXX='${wl}-bexpall'
13617 # It seems that -bexpall does not export symbols beginning with
13618 # underscore (_), so it is better to generate a list of symbols to
13620 always_export_symbols_CXX=yes
13621 if test "$aix_use_runtimelinking" = yes; then
13622 # Warning - without using the other runtime loading flags (-brtl),
13623 # -berok will link without error, but may produce a broken library.
13624 allow_undefined_flag_CXX='-berok'
13625 # Determine the default libpath from the value encoded in an empty
13627 if test "${lt_cv_aix_libpath+set}" = set; then
13628 aix_libpath=$lt_cv_aix_libpath
13630 if ${lt_cv_aix_libpath__CXX+:} false; then :
13631 $as_echo_n "(cached) " >&6
13633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13634 /* end confdefs.h. */
13644 if ac_fn_cxx_try_link "$LINENO"; then :
13646 lt_aix_libpath_sed='
13647 /Import File Strings/,/^$/ {
13649 s/^0 *\([^ ]*\) *$/\1/
13653 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13654 # Check for a 64-bit object if we didn't find anything.
13655 if test -z "$lt_cv_aix_libpath__CXX"; then
13656 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13659 rm -f core conftest.err conftest.$ac_objext \
13660 conftest$ac_exeext conftest.$ac_ext
13661 if test -z "$lt_cv_aix_libpath__CXX"; then
13662 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13667 aix_libpath=$lt_cv_aix_libpath__CXX
13670 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13672 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 func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13674 if test "$host_cpu" = ia64; then
13675 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13676 allow_undefined_flag_CXX="-z nodefs"
13677 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"
13679 # Determine the default libpath from the value encoded in an
13680 # empty executable.
13681 if test "${lt_cv_aix_libpath+set}" = set; then
13682 aix_libpath=$lt_cv_aix_libpath
13684 if ${lt_cv_aix_libpath__CXX+:} false; then :
13685 $as_echo_n "(cached) " >&6
13687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13688 /* end confdefs.h. */
13698 if ac_fn_cxx_try_link "$LINENO"; then :
13700 lt_aix_libpath_sed='
13701 /Import File Strings/,/^$/ {
13703 s/^0 *\([^ ]*\) *$/\1/
13707 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13708 # Check for a 64-bit object if we didn't find anything.
13709 if test -z "$lt_cv_aix_libpath__CXX"; then
13710 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13713 rm -f core conftest.err conftest.$ac_objext \
13714 conftest$ac_exeext conftest.$ac_ext
13715 if test -z "$lt_cv_aix_libpath__CXX"; then
13716 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13721 aix_libpath=$lt_cv_aix_libpath__CXX
13724 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13725 # Warning - without using the other run time loading flags,
13726 # -berok will link without error, but may produce a broken library.
13727 no_undefined_flag_CXX=' ${wl}-bernotok'
13728 allow_undefined_flag_CXX=' ${wl}-berok'
13729 if test "$with_gnu_ld" = yes; then
13730 # We only use this code for GNU lds that support --whole-archive.
13731 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13733 # Exported symbols can be pulled into shared objects from archives
13734 whole_archive_flag_spec_CXX='$convenience'
13736 archive_cmds_need_lc_CXX=yes
13737 # This is similar to how AIX traditionally builds its shared
13739 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'
13745 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13746 allow_undefined_flag_CXX=unsupported
13747 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13748 # support --undefined. This deserves some investigation. FIXME
13749 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13756 case $cc_basename in
13758 # FIXME: insert proper C++ library support
13764 cygwin* | mingw* | pw32* | cegcc*)
13765 case $GXX,$cc_basename in
13768 # hardcode_libdir_flag_spec is actually meaningless, as there is
13769 # no search path for DLLs.
13770 hardcode_libdir_flag_spec_CXX=' '
13771 allow_undefined_flag_CXX=unsupported
13772 always_export_symbols_CXX=yes
13773 file_list_spec_CXX='@'
13774 # Tell ltmain to make .lib files, not .a files.
13776 # Tell ltmain to make .dll files, not .so files.
13778 # FIXME: Setting linknames here is a bad hack.
13779 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13780 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13781 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
13783 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
13785 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13787 # The linker will not automatically build a static lib if we build a DLL.
13788 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13789 enable_shared_with_static_runtimes_CXX=yes
13791 old_postinstall_cmds_CXX='chmod 644 $oldlib'
13792 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
13793 lt_tool_outputfile="@TOOL_OUTPUT@"~
13794 case $lt_outputfile in
13797 lt_outputfile="$lt_outputfile.exe"
13798 lt_tool_outputfile="$lt_tool_outputfile.exe"
13801 func_to_tool_file "$lt_outputfile"~
13802 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13803 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13804 $RM "$lt_outputfile.manifest";
13809 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13810 # as there is no search path for DLLs.
13811 hardcode_libdir_flag_spec_CXX='-L$libdir'
13812 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13813 allow_undefined_flag_CXX=unsupported
13814 always_export_symbols_CXX=no
13815 enable_shared_with_static_runtimes_CXX=yes
13817 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13818 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'
13819 # If the export-symbols file already is a .def file (1st line
13820 # is EXPORTS), use it as is; otherwise, prepend...
13821 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13822 cp $export_symbols $output_objdir/$soname.def;
13824 echo EXPORTS > $output_objdir/$soname.def;
13825 cat $export_symbols >> $output_objdir/$soname.def;
13827 $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'
13834 darwin* | rhapsody*)
13837 archive_cmds_need_lc_CXX=no
13838 hardcode_direct_CXX=no
13839 hardcode_automatic_CXX=yes
13840 hardcode_shlibpath_var_CXX=unsupported
13841 if test "$lt_cv_ld_force_load" = "yes"; then
13842 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
13845 whole_archive_flag_spec_CXX=''
13847 link_all_deplibs_CXX=yes
13848 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13849 case $cc_basename in
13850 ifort*) _lt_dar_can_shared=yes ;;
13851 *) _lt_dar_can_shared=$GCC ;;
13853 if test "$_lt_dar_can_shared" = "yes"; then
13854 output_verbose_link_cmd=func_echo_all
13855 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}"
13856 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13857 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}"
13858 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}"
13859 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13860 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}"
13861 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}"
13871 case $cc_basename in
13873 # FIXME: insert proper C++ library support
13877 # Green Hills C++ Compiler
13878 # FIXME: insert proper C++ library support
13882 # FIXME: insert proper C++ library support
13889 # C++ shared libraries reported to be fairly broken before
13895 archive_cmds_need_lc_CXX=no
13898 freebsd* | dragonfly*)
13899 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13905 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13906 link_all_deplibs_CXX=yes
13910 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13911 hardcode_libdir_separator_CXX=:
13912 export_dynamic_flag_spec_CXX='${wl}-E'
13913 hardcode_direct_CXX=yes
13914 hardcode_minus_L_CXX=yes # Not in the search PATH,
13915 # but as the default
13916 # location of the library.
13918 case $cc_basename in
13920 # FIXME: insert proper C++ library support
13924 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'
13925 # Commands to make compiler produce verbose output that lists
13926 # what "hidden" libraries, object files and flags are used when
13927 # linking a shared library.
13929 # There doesn't appear to be a way to prevent this compiler from
13930 # explicitly linking system object files so we need to strip them
13931 # from the output so that they don't get included in the library
13933 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; func_echo_all "$list"'
13936 if test "$GXX" = yes; then
13937 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${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'
13939 # FIXME: insert proper C++ library support
13947 if test $with_gnu_ld = no; then
13948 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13949 hardcode_libdir_separator_CXX=:
13955 export_dynamic_flag_spec_CXX='${wl}-E'
13961 hardcode_direct_CXX=no
13962 hardcode_shlibpath_var_CXX=no
13965 hardcode_direct_CXX=yes
13966 hardcode_direct_absolute_CXX=yes
13967 hardcode_minus_L_CXX=yes # Not in the search PATH,
13968 # but as the default
13969 # location of the library.
13973 case $cc_basename in
13975 # FIXME: insert proper C++ library support
13981 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13984 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13987 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13990 # Commands to make compiler produce verbose output that lists
13991 # what "hidden" libraries, object files and flags are used when
13992 # linking a shared library.
13994 # There doesn't appear to be a way to prevent this compiler from
13995 # explicitly linking system object files so we need to strip them
13996 # from the output so that they don't get included in the library
13998 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; func_echo_all "$list"'
14001 if test "$GXX" = yes; then
14002 if test $with_gnu_ld = no; then
14005 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14008 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14011 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14016 # FIXME: insert proper C++ library support
14024 hardcode_direct_CXX=no
14025 hardcode_shlibpath_var_CXX=no
14026 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14027 export_dynamic_flag_spec_CXX='${wl}-E'
14028 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14029 # Instead, shared libraries are loaded at an image base (0x10000000 by
14030 # default) and relocated if they conflict, which is a slow very memory
14031 # consuming and fragmenting process. To avoid this, we pick a random,
14032 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14033 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14034 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'
14035 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'
14038 case $cc_basename in
14041 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
14043 # Archives containing C++ object files must be created using
14044 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14045 # necessary to make sure instantiated templates are included
14047 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14050 if test "$GXX" = yes; then
14051 if test "$with_gnu_ld" = no; then
14052 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14054 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
14057 link_all_deplibs_CXX=yes
14060 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14061 hardcode_libdir_separator_CXX=:
14062 inherit_rpath_CXX=yes
14065 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14066 case $cc_basename in
14068 # Kuck and Associates, Inc. (KAI) C++ Compiler
14070 # KCC will only create a shared library if the output file
14071 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14072 # to its proper name (with version) after linking.
14073 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'
14074 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'
14075 # Commands to make compiler produce verbose output that lists
14076 # what "hidden" libraries, object files and flags are used when
14077 # linking a shared library.
14079 # There doesn't appear to be a way to prevent this compiler from
14080 # explicitly linking system object files so we need to strip them
14081 # from the output so that they don't get included in the library
14083 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; func_echo_all "$list"'
14085 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14086 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14088 # Archives containing C++ object files must be created using
14089 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14090 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14095 # version 8.0 and above of icpc choke on multiply defined symbols
14096 # if we add $predep_objects and $postdep_objects, however 7.1 and
14097 # earlier do not add the objects themselves.
14098 case `$CC -V 2>&1` in
14100 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14101 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'
14103 *) # Version 8.0 or newer
14106 ia64*) tmp_idyn=' -i_dynamic';;
14108 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14109 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'
14112 archive_cmds_need_lc_CXX=no
14113 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14114 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14115 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14118 # Portland Group C++ compiler
14120 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
14121 prelink_cmds_CXX='tpldir=Template.dir~
14123 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14124 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
14125 old_archive_cmds_CXX='tpldir=Template.dir~
14127 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14128 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
14130 archive_cmds_CXX='tpldir=Template.dir~
14132 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14133 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14134 archive_expsym_cmds_CXX='tpldir=Template.dir~
14136 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14137 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
14139 *) # Version 6 and above use weak symbols
14140 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14141 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'
14145 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
14146 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14147 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
14151 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14152 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'
14154 runpath_var=LD_RUN_PATH
14155 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14156 hardcode_libdir_separator_CXX=:
14158 # Commands to make compiler produce verbose output that lists
14159 # what "hidden" libraries, object files and flags are used when
14160 # linking a shared library.
14162 # There doesn't appear to be a way to prevent this compiler from
14163 # explicitly linking system object files so we need to strip them
14164 # from the output so that they don't get included in the library
14166 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
14168 xl* | mpixl* | bgxl*)
14169 # IBM XL 8.0 on PPC, with GNU ld
14170 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14171 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14172 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14173 if test "x$supports_anon_versioning" = xyes; then
14174 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
14175 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14176 echo "local: *; };" >> $output_objdir/$libname.ver~
14177 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14181 case `$CC -V 2>&1 | sed 5q` in
14184 no_undefined_flag_CXX=' -zdefs'
14185 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14186 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'
14187 hardcode_libdir_flag_spec_CXX='-R$libdir'
14188 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
14189 compiler_needs_object_CXX=yes
14191 # Not sure whether something based on
14192 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14194 output_verbose_link_cmd='func_echo_all'
14196 # Archives containing C++ object files must be created using
14197 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14198 # necessary to make sure instantiated templates are included
14200 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14208 # FIXME: insert proper C++ library support
14213 # FIXME: insert proper C++ library support
14218 case $cc_basename in
14220 # FIXME: insert proper C++ library support
14224 # FIXME: insert proper C++ library support
14231 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14232 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14234 hardcode_libdir_flag_spec_CXX='-R$libdir'
14235 hardcode_direct_CXX=yes
14236 hardcode_shlibpath_var_CXX=no
14238 # Workaround some broken pre-1.5 toolchains
14239 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14247 # C++ shared libraries are fairly broken
14252 if test -f /usr/libexec/ld.so; then
14253 hardcode_direct_CXX=yes
14254 hardcode_shlibpath_var_CXX=no
14255 hardcode_direct_absolute_CXX=yes
14256 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14257 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14258 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14259 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14260 export_dynamic_flag_spec_CXX='${wl}-E'
14261 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14263 output_verbose_link_cmd=func_echo_all
14269 osf3* | osf4* | osf5*)
14270 case $cc_basename in
14272 # Kuck and Associates, Inc. (KAI) C++ Compiler
14274 # KCC will only create a shared library if the output file
14275 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14276 # to its proper name (with version) after linking.
14277 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'
14279 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14280 hardcode_libdir_separator_CXX=:
14282 # Archives containing C++ object files must be created using
14283 # the KAI C++ compiler.
14285 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
14286 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
14290 # Rational C++ 2.4.1
14291 # FIXME: insert proper C++ library support
14297 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14298 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
14299 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14302 allow_undefined_flag_CXX=' -expect_unresolved \*'
14303 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
14304 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14305 echo "-hidden">> $lib.exp~
14306 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
14308 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14312 hardcode_libdir_separator_CXX=:
14314 # Commands to make compiler produce verbose output that lists
14315 # what "hidden" libraries, object files and flags are used when
14316 # linking a shared library.
14318 # There doesn't appear to be a way to prevent this compiler from
14319 # explicitly linking system object files so we need to strip them
14320 # from the output so that they don't get included in the library
14322 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14325 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14326 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14329 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14332 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14336 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14337 hardcode_libdir_separator_CXX=:
14339 # Commands to make compiler produce verbose output that lists
14340 # what "hidden" libraries, object files and flags are used when
14341 # linking a shared library.
14342 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14345 # FIXME: insert proper C++ library support
14353 # FIXME: insert proper C++ library support
14358 case $cc_basename in
14361 # FIXME: insert proper C++ library support
14366 # FIXME: insert proper C++ library support
14370 # FIXME: insert proper C++ library support
14377 case $cc_basename in
14379 # Sun C++ 4.2, 5.x and Centerline C++
14380 archive_cmds_need_lc_CXX=yes
14381 no_undefined_flag_CXX=' -zdefs'
14382 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14383 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14384 $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'
14386 hardcode_libdir_flag_spec_CXX='-R$libdir'
14387 hardcode_shlibpath_var_CXX=no
14389 solaris2.[0-5] | solaris2.[0-5].*) ;;
14391 # The compiler driver will combine and reorder linker options,
14392 # but understands `-z linker_flag'.
14393 # Supported since Solaris 2.6 (maybe 2.5.1?)
14394 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14397 link_all_deplibs_CXX=yes
14399 output_verbose_link_cmd='func_echo_all'
14401 # Archives containing C++ object files must be created using
14402 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14403 # necessary to make sure instantiated templates are included
14405 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14408 # Green Hills C++ Compiler
14409 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14411 # The C++ compiler must be used to create the archive.
14412 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14415 # GNU C++ compiler with Solaris linker
14416 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14417 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
14418 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
14419 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14420 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14421 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14423 # Commands to make compiler produce verbose output that lists
14424 # what "hidden" libraries, object files and flags are used when
14425 # linking a shared library.
14426 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14428 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14430 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14431 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14432 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14434 # Commands to make compiler produce verbose output that lists
14435 # what "hidden" libraries, object files and flags are used when
14436 # linking a shared library.
14437 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14440 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
14442 solaris2.[0-5] | solaris2.[0-5].*) ;;
14444 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14452 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14453 no_undefined_flag_CXX='${wl}-z,text'
14454 archive_cmds_need_lc_CXX=no
14455 hardcode_shlibpath_var_CXX=no
14456 runpath_var='LD_RUN_PATH'
14458 case $cc_basename in
14460 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14461 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14464 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14465 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14470 sysv5* | sco3.2v5* | sco5v6*)
14471 # Note: We can NOT use -z defs as we might desire, because we do not
14472 # link with -lc, and that would cause any symbols used from libc to
14473 # always be unresolved, which means just about no library would
14474 # ever link correctly. If we're not using GNU ld we use -z text
14475 # though, which does catch some bad symbols but isn't as heavy-handed
14477 no_undefined_flag_CXX='${wl}-z,text'
14478 allow_undefined_flag_CXX='${wl}-z,nodefs'
14479 archive_cmds_need_lc_CXX=no
14480 hardcode_shlibpath_var_CXX=no
14481 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
14482 hardcode_libdir_separator_CXX=':'
14483 link_all_deplibs_CXX=yes
14484 export_dynamic_flag_spec_CXX='${wl}-Bexport'
14485 runpath_var='LD_RUN_PATH'
14487 case $cc_basename in
14489 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14490 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14491 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
14492 '"$old_archive_cmds_CXX"
14493 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
14494 '"$reload_cmds_CXX"
14497 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14498 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14504 case $cc_basename in
14506 # NonStop-UX NCC 3.20
14507 # FIXME: insert proper C++ library support
14511 # FIXME: insert proper C++ library support
14518 # FIXME: insert proper C++ library support
14523 # FIXME: insert proper C++ library support
14528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14529 $as_echo "$ld_shlibs_CXX" >&6; }
14530 test "$ld_shlibs_CXX" = no && can_build_shared=no
14536 ## There is no encapsulation within the following macros, do not change
14537 ## the running order or otherwise move them around unless you know exactly
14538 ## what you are doing...
14539 # Dependencies to place before and after the object being linked:
14540 predep_objects_CXX=
14541 postdep_objects_CXX=
14544 compiler_lib_search_path_CXX=
14546 cat > conftest.$ac_ext <<_LT_EOF
14550 Foo (void) { a = 0; }
14557 _lt_libdeps_save_CFLAGS=$CFLAGS
14558 case "$CC $CFLAGS " in #(
14559 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
14560 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
14561 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
14564 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14565 (eval $ac_compile) 2>&5
14567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14568 test $ac_status = 0; }; then
14569 # Parse the compiler output and extract the necessary
14570 # objects, libraries and library flags.
14572 # Sentinel used to keep track of whether or not we are before
14573 # the conftest object file.
14574 pre_test_object_deps_done=no
14576 for p in `eval "$output_verbose_link_cmd"`; do
14577 case ${prev}${p} in
14580 # Some compilers place space between "-{L,R}" and the path.
14581 # Remove the space.
14582 if test $p = "-L" ||
14583 test $p = "-R"; then
14588 # Expand the sysroot to ease extracting the directories later.
14589 if test -z "$prev"; then
14591 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
14592 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
14593 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
14597 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
14599 if test "$pre_test_object_deps_done" = no; then
14602 # Internal compiler library paths should come after those
14603 # provided the user. The postdeps already come after the
14604 # user supplied libs so there is no need to process them.
14605 if test -z "$compiler_lib_search_path_CXX"; then
14606 compiler_lib_search_path_CXX="${prev}${p}"
14608 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
14611 # The "-l" case would never come before the object being
14612 # linked, so don't bother handling this case.
14615 if test -z "$postdeps_CXX"; then
14616 postdeps_CXX="${prev}${p}"
14618 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
14624 *.lto.$objext) ;; # Ignore GCC LTO objects
14626 # This assumes that the test object file only shows up
14627 # once in the compiler output.
14628 if test "$p" = "conftest.$objext"; then
14629 pre_test_object_deps_done=yes
14633 if test "$pre_test_object_deps_done" = no; then
14634 if test -z "$predep_objects_CXX"; then
14635 predep_objects_CXX="$p"
14637 predep_objects_CXX="$predep_objects_CXX $p"
14640 if test -z "$postdep_objects_CXX"; then
14641 postdep_objects_CXX="$p"
14643 postdep_objects_CXX="$postdep_objects_CXX $p"
14648 *) ;; # Ignore the rest.
14656 echo "libtool.m4: error: problem compiling CXX test program"
14659 $RM -f confest.$objext
14660 CFLAGS=$_lt_libdeps_save_CFLAGS
14662 # PORTME: override above test on systems where it is broken
14665 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14666 # hack all around it, let's just trust "g++" to DTRT.
14667 predep_objects_CXX=
14668 postdep_objects_CXX=
14673 case `$CC -V 2>&1 | sed 5q` in
14677 # The more standards-conforming stlport4 library is
14678 # incompatible with the Cstd library. Avoid specifying
14679 # it if it's in CXXFLAGS. Ignore libCrun as
14680 # -library=stlport4 depends on it.
14681 case " $CXX $CXXFLAGS " in
14682 *" -library=stlport4 "*)
14683 solaris_use_stlport4=yes
14687 if test "$solaris_use_stlport4" != yes; then
14688 postdeps_CXX='-library=Cstd -library=Crun'
14695 case $cc_basename in
14697 # The more standards-conforming stlport4 library is
14698 # incompatible with the Cstd library. Avoid specifying
14699 # it if it's in CXXFLAGS. Ignore libCrun as
14700 # -library=stlport4 depends on it.
14701 case " $CXX $CXXFLAGS " in
14702 *" -library=stlport4 "*)
14703 solaris_use_stlport4=yes
14707 # Adding this requires a known-good setup of shared libraries for
14708 # Sun compiler versions before 5.6, else PIC objects from an old
14709 # archive will be linked into the output, leading to subtle bugs.
14710 if test "$solaris_use_stlport4" != yes; then
14711 postdeps_CXX='-library=Cstd -library=Crun'
14719 case " $postdeps_CXX " in
14720 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
14722 compiler_lib_search_dirs_CXX=
14723 if test -n "${compiler_lib_search_path_CXX}"; then
14724 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14757 lt_prog_compiler_wl_CXX=
14758 lt_prog_compiler_pic_CXX=
14759 lt_prog_compiler_static_CXX=
14762 # C++ specific cases for pic, static, wl, etc.
14763 if test "$GXX" = yes; then
14764 lt_prog_compiler_wl_CXX='-Wl,'
14765 lt_prog_compiler_static_CXX='-static'
14769 # All AIX code is PIC.
14770 if test "$host_cpu" = ia64; then
14771 # AIX 5 now supports IA64 processor
14772 lt_prog_compiler_static_CXX='-Bstatic'
14779 # see comment about AmigaOS4 .so support
14780 lt_prog_compiler_pic_CXX='-fPIC'
14783 # FIXME: we need at least 68020 code to build shared libraries, but
14784 # adding the `-m68020' flag to GCC prevents building anything better,
14786 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14791 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14792 # PIC is the default for these OSes.
14794 mingw* | cygwin* | os2* | pw32* | cegcc*)
14795 # This hack is so that the source file can tell whether it is being
14796 # built for inclusion in a dll (and should export symbols for example).
14797 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14798 # (--disable-auto-import) libraries
14799 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14801 darwin* | rhapsody*)
14802 # PIC is the default on this platform
14803 # Common symbols not allowed in MH_DYLIB files
14804 lt_prog_compiler_pic_CXX='-fno-common'
14807 # DJGPP does not support shared libraries at all
14808 lt_prog_compiler_pic_CXX=
14811 # PIC is the default for Haiku.
14812 # The "-static" flag exists, but is broken.
14813 lt_prog_compiler_static_CXX=
14816 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14817 # Instead, we relocate shared libraries at runtime.
14820 if test -d /usr/nec; then
14821 lt_prog_compiler_pic_CXX=-Kconform_pic
14825 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14826 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14827 # sets the default TLS model and affects inlining.
14832 lt_prog_compiler_pic_CXX='-fPIC'
14837 # QNX uses GNU C++, but need to define -shared option too, otherwise
14838 # it will coredump.
14839 lt_prog_compiler_pic_CXX='-fPIC -shared'
14842 lt_prog_compiler_pic_CXX='-fPIC'
14848 # All AIX code is PIC.
14849 if test "$host_cpu" = ia64; then
14850 # AIX 5 now supports IA64 processor
14851 lt_prog_compiler_static_CXX='-Bstatic'
14853 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14857 case $cc_basename in
14859 # Green Hills C++ Compiler
14860 # _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"
14864 mingw* | cygwin* | os2* | pw32* | cegcc*)
14865 # This hack is so that the source file can tell whether it is being
14866 # built for inclusion in a dll (and should export symbols for example).
14867 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14870 case $cc_basename in
14872 lt_prog_compiler_pic_CXX='-KPIC'
14875 # Green Hills C++ Compiler
14876 lt_prog_compiler_pic_CXX='-pic'
14882 freebsd* | dragonfly*)
14883 # FreeBSD uses GNU C++
14885 hpux9* | hpux10* | hpux11*)
14886 case $cc_basename in
14888 lt_prog_compiler_wl_CXX='-Wl,'
14889 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14890 if test "$host_cpu" != ia64; then
14891 lt_prog_compiler_pic_CXX='+Z'
14895 lt_prog_compiler_wl_CXX='-Wl,'
14896 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14902 lt_prog_compiler_pic_CXX='+Z'
14911 # This is c89, which is MS Visual C++ (no shared libs)
14912 # Anyone wants to do a port?
14914 irix5* | irix6* | nonstopux*)
14915 case $cc_basename in
14917 lt_prog_compiler_wl_CXX='-Wl,'
14918 lt_prog_compiler_static_CXX='-non_shared'
14919 # CC pic flag -KPIC is the default.
14925 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14926 case $cc_basename in
14929 lt_prog_compiler_wl_CXX='--backend -Wl,'
14930 lt_prog_compiler_pic_CXX='-fPIC'
14933 # old Intel C++ for x86_64 which still supported -KPIC.
14934 lt_prog_compiler_wl_CXX='-Wl,'
14935 lt_prog_compiler_pic_CXX='-KPIC'
14936 lt_prog_compiler_static_CXX='-static'
14939 # Intel C++, used to be incompatible with GCC.
14940 # ICC 10 doesn't accept -KPIC any more.
14941 lt_prog_compiler_wl_CXX='-Wl,'
14942 lt_prog_compiler_pic_CXX='-fPIC'
14943 lt_prog_compiler_static_CXX='-static'
14946 # Portland Group C++ compiler
14947 lt_prog_compiler_wl_CXX='-Wl,'
14948 lt_prog_compiler_pic_CXX='-fpic'
14949 lt_prog_compiler_static_CXX='-Bstatic'
14953 # Make sure the PIC flag is empty. It appears that all Alpha
14954 # Linux and Compaq Tru64 Unix objects are PIC.
14955 lt_prog_compiler_pic_CXX=
14956 lt_prog_compiler_static_CXX='-non_shared'
14958 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14959 # IBM XL 8.0, 9.0 on PPC and BlueGene
14960 lt_prog_compiler_wl_CXX='-Wl,'
14961 lt_prog_compiler_pic_CXX='-qpic'
14962 lt_prog_compiler_static_CXX='-qstaticlink'
14965 case `$CC -V 2>&1 | sed 5q` in
14968 lt_prog_compiler_pic_CXX='-KPIC'
14969 lt_prog_compiler_static_CXX='-Bstatic'
14970 lt_prog_compiler_wl_CXX='-Qoption ld '
14981 case $cc_basename in
14983 lt_prog_compiler_pic_CXX='-W c,exportall'
14989 netbsd* | netbsdelf*-gnu)
14992 # QNX uses GNU C++, but need to define -shared option too, otherwise
14993 # it will coredump.
14994 lt_prog_compiler_pic_CXX='-fPIC -shared'
14996 osf3* | osf4* | osf5*)
14997 case $cc_basename in
14999 lt_prog_compiler_wl_CXX='--backend -Wl,'
15002 # Rational C++ 2.4.1
15003 lt_prog_compiler_pic_CXX='-pic'
15006 # Digital/Compaq C++
15007 lt_prog_compiler_wl_CXX='-Wl,'
15008 # Make sure the PIC flag is empty. It appears that all Alpha
15009 # Linux and Compaq Tru64 Unix objects are PIC.
15010 lt_prog_compiler_pic_CXX=
15011 lt_prog_compiler_static_CXX='-non_shared'
15020 case $cc_basename in
15022 # Sun C++ 4.2, 5.x and Centerline C++
15023 lt_prog_compiler_pic_CXX='-KPIC'
15024 lt_prog_compiler_static_CXX='-Bstatic'
15025 lt_prog_compiler_wl_CXX='-Qoption ld '
15028 # Green Hills C++ Compiler
15029 lt_prog_compiler_pic_CXX='-PIC'
15036 case $cc_basename in
15039 lt_prog_compiler_pic_CXX='-pic'
15040 lt_prog_compiler_static_CXX='-Bstatic'
15044 lt_prog_compiler_pic_CXX='-pic'
15050 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15051 case $cc_basename in
15053 lt_prog_compiler_wl_CXX='-Wl,'
15054 lt_prog_compiler_pic_CXX='-KPIC'
15055 lt_prog_compiler_static_CXX='-Bstatic'
15060 case $cc_basename in
15062 # NonStop-UX NCC 3.20
15063 lt_prog_compiler_pic_CXX='-KPIC'
15072 lt_prog_compiler_can_build_shared_CXX=no
15078 # For platforms which do not support PIC, -DPIC is meaningless:
15080 lt_prog_compiler_pic_CXX=
15083 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15088 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15089 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
15090 $as_echo_n "(cached) " >&6
15092 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
15094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
15095 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
15096 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
15099 # Check to make sure the PIC flag actually works.
15101 if test -n "$lt_prog_compiler_pic_CXX"; then
15102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15103 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15104 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
15105 $as_echo_n "(cached) " >&6
15107 lt_cv_prog_compiler_pic_works_CXX=no
15108 ac_outfile=conftest.$ac_objext
15109 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15110 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
15111 # Insert the option either (1) after the last *FLAGS variable, or
15112 # (2) before a word containing "conftest.", or (3) at the end.
15113 # Note that $ac_compile itself does not contain backslashes and begins
15114 # with a dollar sign (not a hyphen), so the echo should work correctly.
15115 # The option is referenced via a variable to avoid confusing sed.
15116 lt_compile=`echo "$ac_compile" | $SED \
15117 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15118 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15119 -e 's:$: $lt_compiler_flag:'`
15120 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15121 (eval "$lt_compile" 2>conftest.err)
15123 cat conftest.err >&5
15124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15125 if (exit $ac_status) && test -s "$ac_outfile"; then
15126 # The compiler can only warn and ignore the option if not recognized
15127 # So say no if there are warnings other than the usual output.
15128 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
15129 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15130 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15131 lt_cv_prog_compiler_pic_works_CXX=yes
15137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15138 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15140 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
15141 case $lt_prog_compiler_pic_CXX in
15143 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15146 lt_prog_compiler_pic_CXX=
15147 lt_prog_compiler_can_build_shared_CXX=no
15157 # Check to make sure the static flag actually works.
15159 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15161 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15162 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
15163 $as_echo_n "(cached) " >&6
15165 lt_cv_prog_compiler_static_works_CXX=no
15166 save_LDFLAGS="$LDFLAGS"
15167 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15168 echo "$lt_simple_link_test_code" > conftest.$ac_ext
15169 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15170 # The linker can only warn and ignore the option if not recognized
15171 # So say no if there are warnings
15172 if test -s conftest.err; then
15173 # Append any errors to the config.log.
15174 cat conftest.err 1>&5
15175 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
15176 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15177 if diff conftest.exp conftest.er2 >/dev/null; then
15178 lt_cv_prog_compiler_static_works_CXX=yes
15181 lt_cv_prog_compiler_static_works_CXX=yes
15185 LDFLAGS="$save_LDFLAGS"
15188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15189 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15191 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
15194 lt_prog_compiler_static_CXX=
15200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15201 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15202 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15203 $as_echo_n "(cached) " >&6
15205 lt_cv_prog_compiler_c_o_CXX=no
15206 $RM -r conftest 2>/dev/null
15210 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15212 lt_compiler_flag="-o out/conftest2.$ac_objext"
15213 # Insert the option either (1) after the last *FLAGS variable, or
15214 # (2) before a word containing "conftest.", or (3) at the end.
15215 # Note that $ac_compile itself does not contain backslashes and begins
15216 # with a dollar sign (not a hyphen), so the echo should work correctly.
15217 lt_compile=`echo "$ac_compile" | $SED \
15218 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15219 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15220 -e 's:$: $lt_compiler_flag:'`
15221 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15222 (eval "$lt_compile" 2>out/conftest.err)
15224 cat out/conftest.err >&5
15225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15226 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15228 # The compiler can only warn and ignore the option if not recognized
15229 # So say no if there are warnings
15230 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15231 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15232 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15233 lt_cv_prog_compiler_c_o_CXX=yes
15238 # SGI C++ compiler will create directory out/ii_files/ for
15239 # template instantiation
15240 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15241 $RM out/* && rmdir out
15247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15248 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15253 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15254 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15255 $as_echo_n "(cached) " >&6
15257 lt_cv_prog_compiler_c_o_CXX=no
15258 $RM -r conftest 2>/dev/null
15262 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15264 lt_compiler_flag="-o out/conftest2.$ac_objext"
15265 # Insert the option either (1) after the last *FLAGS variable, or
15266 # (2) before a word containing "conftest.", or (3) at the end.
15267 # Note that $ac_compile itself does not contain backslashes and begins
15268 # with a dollar sign (not a hyphen), so the echo should work correctly.
15269 lt_compile=`echo "$ac_compile" | $SED \
15270 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15271 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15272 -e 's:$: $lt_compiler_flag:'`
15273 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15274 (eval "$lt_compile" 2>out/conftest.err)
15276 cat out/conftest.err >&5
15277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15278 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15280 # The compiler can only warn and ignore the option if not recognized
15281 # So say no if there are warnings
15282 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15283 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15284 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15285 lt_cv_prog_compiler_c_o_CXX=yes
15290 # SGI C++ compiler will create directory out/ii_files/ for
15291 # template instantiation
15292 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15293 $RM out/* && rmdir out
15299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15300 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15305 hard_links="nottested"
15306 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
15307 # do not overwrite the value of need_locks provided by the user
15308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15309 $as_echo_n "checking if we can lock with hard links... " >&6; }
15312 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15314 ln conftest.a conftest.b 2>&5 || hard_links=no
15315 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15317 $as_echo "$hard_links" >&6; }
15318 if test "$hard_links" = no; then
15319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15320 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15330 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15332 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15333 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15336 # If we're using GNU nm, then we don't want the "-C" option.
15337 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15338 # Also, AIX nm treats weak defined symbols like other global defined
15339 # symbols, whereas GNU nm marks them as "W".
15340 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
15341 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
15343 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'
15347 export_symbols_cmds_CXX="$ltdll_cmds"
15349 cygwin* | mingw* | cegcc*)
15350 case $cc_basename in
15352 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
15355 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
15356 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
15360 linux* | k*bsd*-gnu | gnu*)
15361 link_all_deplibs_CXX=no
15364 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15369 $as_echo "$ld_shlibs_CXX" >&6; }
15370 test "$ld_shlibs_CXX" = no && can_build_shared=no
15372 with_gnu_ld_CXX=$with_gnu_ld
15380 # Do we need to explicitly link libc?
15382 case "x$archive_cmds_need_lc_CXX" in
15384 # Assume -lc should be added
15385 archive_cmds_need_lc_CXX=yes
15387 if test "$enable_shared" = yes && test "$GCC" = yes; then
15388 case $archive_cmds_CXX in
15390 # FIXME: we may have to deal with multi-command sequences.
15393 # Test whether the compiler implicitly links with -lc since on some
15394 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15395 # to ld, don't add -lc before -lgcc.
15396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15397 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15398 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
15399 $as_echo_n "(cached) " >&6
15402 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15404 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15405 (eval $ac_compile) 2>&5
15407 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15408 test $ac_status = 0; } 2>conftest.err; then
15411 libobjs=conftest.$ac_objext
15413 wl=$lt_prog_compiler_wl_CXX
15414 pic_flag=$lt_prog_compiler_pic_CXX
15420 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15421 allow_undefined_flag_CXX=
15422 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15423 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15426 test $ac_status = 0; }
15428 lt_cv_archive_cmds_need_lc_CXX=no
15430 lt_cv_archive_cmds_need_lc_CXX=yes
15432 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15434 cat conftest.err 1>&5
15439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15440 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15441 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
15509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15510 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15512 library_names_spec=
15513 libname_spec='lib$name'
15517 postuninstall_cmds=
15521 shlibpath_overrides_runpath=unknown
15523 dynamic_linker="$host_os ld.so"
15524 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15525 need_lib_prefix=unknown
15526 hardcode_into_libs=no
15528 # when you set need_version to no, make sure it does not cause -set_version
15529 # flags to be left without arguments
15530 need_version=unknown
15534 version_type=linux # correct to gnu/linux during the next big refactor
15535 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15536 shlibpath_var=LIBPATH
15538 # AIX 3 has no versioning support, so we append a major version to the name.
15539 soname_spec='${libname}${release}${shared_ext}$major'
15543 version_type=linux # correct to gnu/linux during the next big refactor
15546 hardcode_into_libs=yes
15547 if test "$host_cpu" = ia64; then
15548 # AIX 5 supports IA64
15549 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15550 shlibpath_var=LD_LIBRARY_PATH
15552 # With GCC up to 2.95.x, collect2 would create an import file
15553 # for dependence libraries. The import file would start with
15554 # the line `#! .'. This would cause the generated library to
15555 # depend on `.', always an invalid library. This was fixed in
15556 # development snapshots of GCC prior to 3.0.
15558 aix4 | aix4.[01] | aix4.[01].*)
15559 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15561 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15564 can_build_shared=no
15568 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15569 # soname into executable. Probably we can add versioning support to
15570 # collect2, so additional links can be useful in future.
15571 if test "$aix_use_runtimelinking" = yes; then
15572 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15573 # instead of lib<name>.a to let people know that these are not
15574 # typical AIX shared libraries.
15575 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15577 # We preserve .a as extension for shared libraries through AIX4.2
15578 # and later when we are not doing run time linking.
15579 library_names_spec='${libname}${release}.a $libname.a'
15580 soname_spec='${libname}${release}${shared_ext}$major'
15582 shlibpath_var=LIBPATH
15589 # Since July 2007 AmigaOS4 officially supports .so libraries.
15590 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15591 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15594 library_names_spec='$libname.ixlibrary $libname.a'
15595 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15596 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
15602 library_names_spec='${libname}${shared_ext}'
15603 dynamic_linker="$host_os ld.so"
15604 shlibpath_var=LIBRARY_PATH
15608 version_type=linux # correct to gnu/linux during the next big refactor
15610 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15611 soname_spec='${libname}${release}${shared_ext}$major'
15612 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15613 shlibpath_var=LD_LIBRARY_PATH
15614 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15615 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15616 # the default ld.so.conf also contains /usr/contrib/lib and
15617 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15618 # libtool to hard-code these into programs
15621 cygwin* | mingw* | pw32* | cegcc*)
15622 version_type=windows
15627 case $GCC,$cc_basename in
15630 library_names_spec='$libname.dll.a'
15631 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15632 postinstall_cmds='base_file=`basename \${file}`~
15633 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15634 dldir=$destdir/`dirname \$dlpath`~
15635 test -d \$dldir || mkdir -p \$dldir~
15636 $install_prog $dir/$dlname \$dldir/$dlname~
15637 chmod a+x \$dldir/$dlname~
15638 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15639 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15641 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15642 dlpath=$dir/\$dldll~
15644 shlibpath_overrides_runpath=yes
15648 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15649 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15653 # MinGW DLLs use traditional 'lib' prefix
15654 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15657 # pw32 DLLs use 'pw' prefix rather than 'lib'
15658 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15661 dynamic_linker='Win32 ld.exe'
15666 libname_spec='$name'
15667 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15668 library_names_spec='${libname}.dll.lib'
15672 sys_lib_search_path_spec=
15675 for lt_path in $LIB
15678 # Let DOS variable expansion print the short 8.3 style file name.
15679 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15680 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
15683 # Convert to MSYS style.
15684 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15687 # Convert to unix form, then to dos form, then back to unix form
15688 # but this time dos style (no spaces!) so that the unix form looks
15689 # like /cygdrive/c/PROGRA~1:/cygdr...
15690 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
15691 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15692 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15695 sys_lib_search_path_spec="$LIB"
15696 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15697 # It is most probably a Windows format PATH.
15698 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15700 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15702 # FIXME: find the short name or the path components, as spaces are
15703 # common. (e.g. "Program Files" -> "PROGRA~1")
15707 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15708 postinstall_cmds='base_file=`basename \${file}`~
15709 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15710 dldir=$destdir/`dirname \$dlpath`~
15711 test -d \$dldir || mkdir -p \$dldir~
15712 $install_prog $dir/$dlname \$dldir/$dlname'
15713 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15714 dlpath=$dir/\$dldll~
15716 shlibpath_overrides_runpath=yes
15717 dynamic_linker='Win32 link.exe'
15721 # Assume MSVC wrapper
15722 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15723 dynamic_linker='Win32 ld.exe'
15726 # FIXME: first we should search . and the directory the executable is in
15730 darwin* | rhapsody*)
15731 dynamic_linker="$host_os dyld"
15732 version_type=darwin
15735 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15736 soname_spec='${libname}${release}${major}$shared_ext'
15737 shlibpath_overrides_runpath=yes
15738 shlibpath_var=DYLD_LIBRARY_PATH
15739 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15741 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15745 version_type=linux # correct to gnu/linux during the next big refactor
15748 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15749 soname_spec='${libname}${release}${shared_ext}$major'
15750 shlibpath_var=LD_LIBRARY_PATH
15753 freebsd* | dragonfly*)
15754 # DragonFly does not have aout. When/if they implement a new
15755 # versioning mechanism, adjust this.
15756 if test -x /usr/bin/objformat; then
15757 objformat=`/usr/bin/objformat`
15760 freebsd[23].*) objformat=aout ;;
15761 *) objformat=elf ;;
15764 version_type=freebsd-$objformat
15765 case $version_type in
15767 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15772 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15776 shlibpath_var=LD_LIBRARY_PATH
15779 shlibpath_overrides_runpath=yes
15781 freebsd3.[01]* | freebsdelf3.[01]*)
15782 shlibpath_overrides_runpath=yes
15783 hardcode_into_libs=yes
15785 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15786 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15787 shlibpath_overrides_runpath=no
15788 hardcode_into_libs=yes
15790 *) # from 4.6 on, and DragonFly
15791 shlibpath_overrides_runpath=yes
15792 hardcode_into_libs=yes
15798 version_type=linux # correct to gnu/linux during the next big refactor
15801 dynamic_linker="$host_os runtime_loader"
15802 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15803 soname_spec='${libname}${release}${shared_ext}$major'
15804 shlibpath_var=LIBRARY_PATH
15805 shlibpath_overrides_runpath=yes
15806 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15807 hardcode_into_libs=yes
15810 hpux9* | hpux10* | hpux11*)
15811 # Give a soname corresponding to the major version so that dld.sl refuses to
15812 # link against other versions.
15819 hardcode_into_libs=yes
15820 dynamic_linker="$host_os dld.so"
15821 shlibpath_var=LD_LIBRARY_PATH
15822 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15823 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15824 soname_spec='${libname}${release}${shared_ext}$major'
15825 if test "X$HPUX_IA64_MODE" = X32; then
15826 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15828 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15830 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15834 hardcode_into_libs=yes
15835 dynamic_linker="$host_os dld.sl"
15836 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15837 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15838 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15839 soname_spec='${libname}${release}${shared_ext}$major'
15840 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15841 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15845 dynamic_linker="$host_os dld.sl"
15846 shlibpath_var=SHLIB_PATH
15847 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15848 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15849 soname_spec='${libname}${release}${shared_ext}$major'
15852 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15853 postinstall_cmds='chmod 555 $lib'
15854 # or fails outright, so override atomically:
15855 install_override_mode=555
15859 version_type=linux # correct to gnu/linux during the next big refactor
15862 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15863 soname_spec='${libname}${release}${shared_ext}$major'
15864 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15865 shlibpath_var=LD_LIBRARY_PATH
15866 shlibpath_overrides_runpath=no
15867 hardcode_into_libs=yes
15870 irix5* | irix6* | nonstopux*)
15872 nonstopux*) version_type=nonstopux ;;
15874 if test "$lt_cv_prog_gnu_ld" = yes; then
15875 version_type=linux # correct to gnu/linux during the next big refactor
15882 soname_spec='${libname}${release}${shared_ext}$major'
15883 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15885 irix5* | nonstopux*)
15886 libsuff= shlibsuff=
15889 case $LD in # libtool.m4 will add one of these switches to LD
15890 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15891 libsuff= shlibsuff= libmagic=32-bit;;
15892 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15893 libsuff=32 shlibsuff=N32 libmagic=N32;;
15894 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15895 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15896 *) libsuff= shlibsuff= libmagic=never-match;;
15900 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15901 shlibpath_overrides_runpath=no
15902 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15903 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15904 hardcode_into_libs=yes
15907 # No shared lib support for Linux oldld, aout, or coff.
15908 linux*oldld* | linux*aout* | linux*coff*)
15912 # This must be glibc/ELF.
15913 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15914 version_type=linux # correct to gnu/linux during the next big refactor
15917 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15918 soname_spec='${libname}${release}${shared_ext}$major'
15919 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15920 shlibpath_var=LD_LIBRARY_PATH
15921 shlibpath_overrides_runpath=no
15923 # Some binutils ld are patched to set DT_RUNPATH
15924 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15925 $as_echo_n "(cached) " >&6
15927 lt_cv_shlibpath_overrides_runpath=no
15928 save_LDFLAGS=$LDFLAGS
15929 save_libdir=$libdir
15930 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15931 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15933 /* end confdefs.h. */
15943 if ac_fn_cxx_try_link "$LINENO"; then :
15944 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15945 lt_cv_shlibpath_overrides_runpath=yes
15948 rm -f core conftest.err conftest.$ac_objext \
15949 conftest$ac_exeext conftest.$ac_ext
15950 LDFLAGS=$save_LDFLAGS
15951 libdir=$save_libdir
15955 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15957 # This implies no fast_install, which is unacceptable.
15958 # Some rework will be needed to allow for fast_install
15959 # before this can be enabled.
15960 hardcode_into_libs=yes
15962 # Append ld.so.conf contents to the search path
15963 if test -f /etc/ld.so.conf; then
15964 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;s/"//g;/^$/d' | tr '\n' ' '`
15965 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15968 # We used to test for /lib/ld.so.1 and disable shared libraries on
15969 # powerpc, because MkLinux only supported shared libraries with the
15970 # GNU dynamic linker. Since this was broken with cross compilers,
15971 # most powerpc-linux boxes support dynamic linking these days and
15972 # people can always --disable-shared, the test was removed, and we
15973 # assume the GNU/Linux dynamic linker is in use.
15974 dynamic_linker='GNU/Linux ld.so'
15981 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15982 soname_spec='${libname}${release}${shared_ext}$major'
15983 shlibpath_var=LD_LIBRARY_PATH
15984 shlibpath_overrides_runpath=no
15985 hardcode_into_libs=yes
15986 dynamic_linker='NetBSD ld.elf_so'
15993 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15994 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15995 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15996 dynamic_linker='NetBSD (a.out) ld.so'
15998 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15999 soname_spec='${libname}${release}${shared_ext}$major'
16000 dynamic_linker='NetBSD ld.elf_so'
16002 shlibpath_var=LD_LIBRARY_PATH
16003 shlibpath_overrides_runpath=yes
16004 hardcode_into_libs=yes
16008 version_type=linux # correct to gnu/linux during the next big refactor
16009 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16010 shlibpath_var=LD_LIBRARY_PATH
16011 shlibpath_overrides_runpath=yes
16018 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16019 soname_spec='${libname}${release}${shared_ext}$major'
16020 shlibpath_var=LD_LIBRARY_PATH
16021 shlibpath_overrides_runpath=no
16022 hardcode_into_libs=yes
16023 dynamic_linker='ldqnx.so'
16028 sys_lib_dlsearch_path_spec="/usr/lib"
16030 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16032 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16033 *) need_version=no ;;
16035 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16036 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16037 shlibpath_var=LD_LIBRARY_PATH
16038 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16040 openbsd2.[89] | openbsd2.[89].*)
16041 shlibpath_overrides_runpath=no
16044 shlibpath_overrides_runpath=yes
16048 shlibpath_overrides_runpath=yes
16053 libname_spec='$name'
16056 library_names_spec='$libname${shared_ext} $libname.a'
16057 dynamic_linker='OS/2 ld.exe'
16058 shlibpath_var=LIBPATH
16061 osf3* | osf4* | osf5*)
16065 soname_spec='${libname}${release}${shared_ext}$major'
16066 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16067 shlibpath_var=LD_LIBRARY_PATH
16068 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16069 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16077 version_type=linux # correct to gnu/linux during the next big refactor
16080 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16081 soname_spec='${libname}${release}${shared_ext}$major'
16082 shlibpath_var=LD_LIBRARY_PATH
16083 shlibpath_overrides_runpath=yes
16084 hardcode_into_libs=yes
16085 # ldd complains unless libraries are executable
16086 postinstall_cmds='chmod +x $lib'
16091 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16092 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16093 shlibpath_var=LD_LIBRARY_PATH
16094 shlibpath_overrides_runpath=yes
16095 if test "$with_gnu_ld" = yes; then
16102 version_type=linux # correct to gnu/linux during the next big refactor
16103 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16104 soname_spec='${libname}${release}${shared_ext}$major'
16105 shlibpath_var=LD_LIBRARY_PATH
16106 case $host_vendor in
16108 shlibpath_overrides_runpath=no
16110 runpath_var=LD_RUN_PATH
16118 shlibpath_overrides_runpath=no
16119 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16125 if test -d /usr/nec ;then
16126 version_type=linux # correct to gnu/linux during the next big refactor
16127 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16128 soname_spec='$libname${shared_ext}.$major'
16129 shlibpath_var=LD_LIBRARY_PATH
16133 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16134 version_type=freebsd-elf
16137 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16138 soname_spec='${libname}${release}${shared_ext}$major'
16139 shlibpath_var=LD_LIBRARY_PATH
16140 shlibpath_overrides_runpath=yes
16141 hardcode_into_libs=yes
16142 if test "$with_gnu_ld" = yes; then
16143 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16145 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16148 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16152 sys_lib_dlsearch_path_spec='/usr/lib'
16156 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16157 version_type=linux # correct to gnu/linux during the next big refactor
16160 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16161 shlibpath_var=LD_LIBRARY_PATH
16162 shlibpath_overrides_runpath=no
16163 hardcode_into_libs=yes
16167 version_type=linux # correct to gnu/linux during the next big refactor
16168 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16169 soname_spec='${libname}${release}${shared_ext}$major'
16170 shlibpath_var=LD_LIBRARY_PATH
16177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16178 $as_echo "$dynamic_linker" >&6; }
16179 test "$dynamic_linker" = no && can_build_shared=no
16181 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16182 if test "$GCC" = yes; then
16183 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16186 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16187 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
16189 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16190 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
16230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16231 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16232 hardcode_action_CXX=
16233 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16234 test -n "$runpath_var_CXX" ||
16235 test "X$hardcode_automatic_CXX" = "Xyes" ; then
16237 # We can hardcode non-existent directories.
16238 if test "$hardcode_direct_CXX" != no &&
16239 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16240 # have to relink, otherwise we might link with an installed library
16241 # when we should be linking with a yet-to-be-installed one
16242 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16243 test "$hardcode_minus_L_CXX" != no; then
16244 # Linking always hardcodes the temporary library directory.
16245 hardcode_action_CXX=relink
16247 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16248 hardcode_action_CXX=immediate
16251 # We cannot hardcode anything, or else we can only hardcode existing
16253 hardcode_action_CXX=unsupported
16255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16256 $as_echo "$hardcode_action_CXX" >&6; }
16258 if test "$hardcode_action_CXX" = relink ||
16259 test "$inherit_rpath_CXX" = yes; then
16260 # Fast installation is not supported
16261 enable_fast_install=no
16262 elif test "$shlibpath_overrides_runpath" = yes ||
16263 test "$enable_shared" = no; then
16264 # Fast installation is not necessary
16265 enable_fast_install=needless
16274 fi # test -n "$compiler"
16277 CFLAGS=$lt_save_CFLAGS
16281 with_gnu_ld=$lt_save_with_gnu_ld
16282 lt_cv_path_LDCXX=$lt_cv_path_LD
16283 lt_cv_path_LD=$lt_save_path_LD
16284 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16285 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16286 fi # test "$_lt_caught_CXX_error" != yes
16289 ac_cpp='$CPP $CPPFLAGS'
16290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
16296 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
16298 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
16299 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
16300 $as_echo_n "(cached) " >&6
16302 cat >conftest.make <<\_ACEOF
16305 @echo '@@@%%%=$(MAKE)=@@@%%%'
16307 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
16308 case `${MAKE-make} -f conftest.make 2>/dev/null` in
16309 *@@@%%%=?*=@@@%%%*)
16310 eval ac_cv_prog_make_${ac_make}_set=yes;;
16312 eval ac_cv_prog_make_${ac_make}_set=no;;
16314 rm -f conftest.make
16316 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
16317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16318 $as_echo "yes" >&6; }
16321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16322 $as_echo "no" >&6; }
16323 SET_MAKE="MAKE=${MAKE-make}"
16327 # Boost headers: boost/foreach.hpp is needed (1.33/Debian Etch
16328 # doesn't have it, 1.34/Ubuntu 8.10 Hardy does). 1.35 is available
16329 # as Debian Etch backport.
16332 # Check whether --with-boost was given.
16333 if test "${with_boost+set}" = set; then :
16334 withval=$with_boost;
16335 if test "$withval" = "no"; then
16337 elif test "$withval" = "yes"; then
16342 ac_boost_path="$withval"
16352 # Check whether --with-boost-libdir was given.
16353 if test "${with_boost_libdir+set}" = set; then :
16354 withval=$with_boost_libdir;
16355 if test -d "$withval"
16357 ac_boost_lib_path="$withval"
16359 as_fn_error $? "--with-boost-libdir expected directory name" "$LINENO" 5
16363 ac_boost_lib_path=""
16368 if test "x$want_boost" = "xyes"; then
16369 boost_lib_version_req=1.34
16370 boost_lib_version_req_shorten=`expr $boost_lib_version_req : '\([0-9]*\.[0-9]*\)'`
16371 boost_lib_version_req_major=`expr $boost_lib_version_req : '\([0-9]*\)'`
16372 boost_lib_version_req_minor=`expr $boost_lib_version_req : '[0-9]*\.\([0-9]*\)'`
16373 boost_lib_version_req_sub_minor=`expr $boost_lib_version_req : '[0-9]*\.[0-9]*\.\([0-9]*\)'`
16374 if test "x$boost_lib_version_req_sub_minor" = "x" ; then
16375 boost_lib_version_req_sub_minor="0"
16377 WANT_BOOST_VERSION=`expr $boost_lib_version_req_major \* 100000 \+ $boost_lib_version_req_minor \* 100 \+ $boost_lib_version_req_sub_minor`
16378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for boostlib >= $boost_lib_version_req" >&5
16379 $as_echo_n "checking for boostlib >= $boost_lib_version_req... " >&6; }
16384 if test $ax_arch = x86_64 -o $ax_arch = ppc64 -o $ax_arch = s390x -o $ax_arch = sparc64; then
16385 libsubdirs="lib64 lib lib64"
16388 if test "$ac_boost_path" != ""; then
16389 BOOST_CPPFLAGS="-I$ac_boost_path/include"
16390 for ac_boost_path_tmp in $libsubdirs; do
16391 if test -d "$ac_boost_path"/"$ac_boost_path_tmp" ; then
16392 BOOST_LDFLAGS="-L$ac_boost_path/$ac_boost_path_tmp"
16396 elif test "$cross_compiling" != yes; then
16397 for ac_boost_path_tmp in /usr /usr/local /opt /opt/local ; do
16398 if test -d "$ac_boost_path_tmp/include/boost" && test -r "$ac_boost_path_tmp/include/boost"; then
16399 for libsubdir in $libsubdirs ; do
16400 if ls "$ac_boost_path_tmp/$libsubdir/libboost_"* >/dev/null 2>&1 ; then break; fi
16402 BOOST_LDFLAGS="-L$ac_boost_path_tmp/$libsubdir"
16403 BOOST_CPPFLAGS="-I$ac_boost_path_tmp/include"
16409 if test "$ac_boost_lib_path" != ""; then
16410 BOOST_LDFLAGS="-L$ac_boost_lib_path"
16413 CPPFLAGS_SAVED="$CPPFLAGS"
16414 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
16417 LDFLAGS_SAVED="$LDFLAGS"
16418 LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
16423 ac_cpp='$CXXCPP $CPPFLAGS'
16424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16429 /* end confdefs.h. */
16431 #include <boost/version.hpp>
16437 #if BOOST_VERSION >= $WANT_BOOST_VERSION
16438 // Everything is okay
16440 # error Boost version is too old
16447 if ac_fn_cxx_try_compile "$LINENO"; then :
16449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16450 $as_echo "yes" >&6; }
16455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16457 ac_cpp='$CPP $CPPFLAGS'
16458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16465 if test "x$succeeded" != "xyes"; then
16467 if test "$ac_boost_path" != ""; then
16468 if test -d "$ac_boost_path" && test -r "$ac_boost_path"; then
16469 for i in `ls -d $ac_boost_path/include/boost-* 2>/dev/null`; do
16470 _version_tmp=`echo $i | sed "s#$ac_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'`
16471 V_CHECK=`expr $_version_tmp \> $_version`
16472 if test "$V_CHECK" = "1" ; then
16473 _version=$_version_tmp
16475 VERSION_UNDERSCORE=`echo $_version | sed 's/\./_/'`
16476 BOOST_CPPFLAGS="-I$ac_boost_path/include/boost-$VERSION_UNDERSCORE"
16480 if test "$cross_compiling" != yes; then
16481 for ac_boost_path in /usr /usr/local /opt /opt/local ; do
16482 if test -d "$ac_boost_path" && test -r "$ac_boost_path"; then
16483 for i in `ls -d $ac_boost_path/include/boost-* 2>/dev/null`; do
16484 _version_tmp=`echo $i | sed "s#$ac_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'`
16485 V_CHECK=`expr $_version_tmp \> $_version`
16486 if test "$V_CHECK" = "1" ; then
16487 _version=$_version_tmp
16488 best_path=$ac_boost_path
16494 VERSION_UNDERSCORE=`echo $_version | sed 's/\./_/'`
16495 BOOST_CPPFLAGS="-I$best_path/include/boost-$VERSION_UNDERSCORE"
16496 if test "$ac_boost_lib_path" = ""; then
16497 for libsubdir in $libsubdirs ; do
16498 if ls "$best_path/$libsubdir/libboost_"* >/dev/null 2>&1 ; then break; fi
16500 BOOST_LDFLAGS="-L$best_path/$libsubdir"
16504 if test "x$BOOST_ROOT" != "x"; then
16505 for libsubdir in $libsubdirs ; do
16506 if ls "$BOOST_ROOT/stage/$libsubdir/libboost_"* >/dev/null 2>&1 ; then break; fi
16508 if test -d "$BOOST_ROOT" && test -r "$BOOST_ROOT" && test -d "$BOOST_ROOT/stage/$libsubdir" && test -r "$BOOST_ROOT/stage/$libsubdir"; then
16509 version_dir=`expr //$BOOST_ROOT : '.*/\(.*\)'`
16510 stage_version=`echo $version_dir | sed 's/boost_//' | sed 's/_/./g'`
16511 stage_version_shorten=`expr $stage_version : '\([0-9]*\.[0-9]*\)'`
16512 V_CHECK=`expr $stage_version_shorten \>\= $_version`
16513 if test "$V_CHECK" = "1" -a "$ac_boost_lib_path" = "" ; then
16514 { $as_echo "$as_me:${as_lineno-$LINENO}: We will use a staged boost library from $BOOST_ROOT" >&5
16515 $as_echo "$as_me: We will use a staged boost library from $BOOST_ROOT" >&6;}
16516 BOOST_CPPFLAGS="-I$BOOST_ROOT"
16517 BOOST_LDFLAGS="-L$BOOST_ROOT/stage/$libsubdir"
16523 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
16525 LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
16529 ac_cpp='$CXXCPP $CPPFLAGS'
16530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16535 /* end confdefs.h. */
16537 #include <boost/version.hpp>
16543 #if BOOST_VERSION >= $WANT_BOOST_VERSION
16544 // Everything is okay
16546 # error Boost version is too old
16553 if ac_fn_cxx_try_compile "$LINENO"; then :
16555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16556 $as_echo "yes" >&6; }
16561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16563 ac_cpp='$CPP $CPPFLAGS'
16564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16570 if test "$succeeded" != "yes" ; then
16571 if test "$_version" = "0" ; then
16572 { $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
16573 $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;}
16575 { $as_echo "$as_me:${as_lineno-$LINENO}: Your boost libraries seems to old (version $_version)." >&5
16576 $as_echo "$as_me: Your boost libraries seems to old (version $_version)." >&6;}
16578 # execute ACTION-IF-NOT-FOUND (if present):
16584 $as_echo "#define HAVE_BOOST /**/" >>confdefs.h
16586 # execute ACTION-IF-FOUND (if present):
16590 CPPFLAGS="$CPPFLAGS_SAVED"
16591 LDFLAGS="$LDFLAGS_SAVED"
16596 # TODO: Fix code to pass with -pedantic -Wextra.
16597 # -Wno-unknown-pragmas needed because icalstrdup.h
16598 # currently uses the "#pragma }" trick. Should remove that.
16599 # Fix code to work without deprecated methods: G GDK GDK_PIXBUF CAIRO PANGO GTK
16600 # Check whether --enable-warnings was given.
16601 if test "${enable_warnings+set}" = set; then :
16602 enableval=$enable_warnings; dk_enable_warnings=$enableval
16604 dk_enable_warnings=min
16608 case $ac_compile in
16612 dk_conftest=conftest.${ac_ext-cc}
16617 dk_conftest=conftest.${ac_ext-c}
16621 if test "x$dk_lang" != x; then :
16623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which $dk_lang compiler warning flags to use" >&5
16624 $as_echo_n "checking which $dk_lang compiler warning flags to use... " >&6; }
16626 case $dk_enable_warnings in
16627 no) dk_warning_flags=;;
16628 max) dk_warning_flags="-Wall -Wno-unknown-pragmas -Wno-deprecated-declarations";;
16629 fatal) dk_warning_flags="-Wall -Wno-unknown-pragmas -Wno-deprecated-declarations -Werror";;
16630 *) dk_warning_flags="-Wall -Wno-unknown-pragmas -Wno-deprecated-declarations";;
16633 dk_deprecation_flags=
16636 if test "x$dk_warning_flags" != x; then :
16638 # Keep in mind that the dummy source must be devoid of any
16639 # problems that might cause diagnostics.
16640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16641 /* end confdefs.h. */
16642 int main(int argc, char** argv) { return (argv != 0) ? argc : 0; }
16645 for dk_flag in $dk_warning_flags
16647 # Test whether the compiler accepts the flag. GCC doesn't bail
16648 # out when given an unsupported flag but prints a warning, so
16649 # check the compiler output instead.
16650 dk_cc_out=`$dk_cc $dk_tested_flags $dk_flag -c "$dk_conftest" 2>&1 || echo failed`
16651 rm -f "conftest.${OBJEXT-o}"
16653 if test "x$dk_cc_out" = x; then :
16655 if test "x$dk_tested_flags" = x; then :
16656 dk_tested_flags=$dk_flag
16658 dk_tested_flags="$dk_tested_flags $dk_flag"
16663 echo "$dk_cc_out" >&5
16668 rm -f "$dk_conftest"
16671 dk_all_flags=$dk_deprecation_flags$dk_tested_flags
16672 SYNCEVO_WFLAGS=$dk_all_flags
16675 test "x$dk_all_flags" != x || dk_all_flags=none
16676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dk_all_flags" >&5
16677 $as_echo "$dk_all_flags" >&6; }
16682 DEVICE_TYPE=workstation
16685 # Check whether --with-synthesis-src was given.
16686 if test "${with_synthesis_src+set}" = set; then :
16687 withval=$with_synthesis_src; SYNTHESISSRC="$withval"
16688 test "$SYNTHESISSRC" != "yes" || as_fn_error $? "--with-synthesis-src requires a parameter (base directory, svn URL or git URL)" "$LINENO" 5
16690 SYNTHESISSRC="$SYNTHESISSRC_DEF"; REVISION="syncevolution-0.9"
16695 # Check whether --with-syncml-engines was given.
16696 if test "${with_syncml_engines+set}" = set; then :
16697 withval=$with_syncml_engines; SYNCML_ENGINES="$withval"
16699 SYNCML_ENGINES=both
16703 case $SYNCML_ENGINES in both|client)
16704 $as_echo "#define ENABLE_SYNCML_CLIENT 1" >>confdefs.h
16706 case $SYNCML_ENGINES in both|server)
16707 $as_echo "#define ENABLE_SYNCML_SERVER 1" >>confdefs.h
16709 case $SYNCML_ENGINES in both|server|client) true;; *) as_fn_error $? "Invalid value for --with-syncml-engines: $SYNCML_ENGINES" "$LINENO" 5;; esac
16712 # Check whether --with-synthesis-username was given.
16713 if test "${with_synthesis_username+set}" = set; then :
16714 withval=$with_synthesis_username; USERNAME="$withval"
16721 # Check whether --with-synthesis-revision was given.
16722 if test "${with_synthesis_revision+set}" = set; then :
16723 withval=$with_synthesis_revision; REVISION="$withval"
16727 # Check whether --enable-shared was given.
16728 if test "${enable_shared+set}" = set; then :
16729 enableval=$enable_shared; enable_shared="$enableval"
16735 # Check whether --enable-static was given.
16736 if test "${enable_static+set}" = set; then :
16737 enableval=$enable_static; enable_static="$enableval"
16743 # Check whether --enable-unit-tests was given.
16744 if test "${enable_unit_tests+set}" = set; then :
16745 enableval=$enable_unit_tests; enable_unit_tests="$enableval"
16747 enable_unit_tests="no"
16750 # Check whether --enable-integration-tests was given.
16751 if test "${enable_integration_tests+set}" = set; then :
16752 enableval=$enable_integration_tests; enable_integration_tests="$enableval"
16754 enable_integration_tests="no"
16758 # Check whether --enable-static-cxx was given.
16759 if test "${enable_static_cxx+set}" = set; then :
16760 enableval=$enable_static_cxx; enable_static_cxx="$enableval"
16762 enable_static_cxx="no"
16766 # Check whether --enable-evolution-compatibility was given.
16767 if test "${enable_evolution_compatibility+set}" = set; then :
16768 enableval=$enable_evolution_compatibility; enable_evolution_compatibility="$enableval"
16770 enable_evolution_compatibility="no"
16774 # Check whether --enable-internal-icaltz was given.
16775 if test "${enable_internal_icaltz+set}" = set; then :
16776 enableval=$enable_internal_icaltz; enable_icaltz_util="$enableval"
16777 test "$enable_icaltz_util" = "yes" || test "$enable_icaltz_util" = "no" || as_fn_error $? "invalid value of --disable-internal-icaltz: $enableval" "$LINENO" 5
16779 enable_icaltz_util="yes"
16782 if test "$enable_icaltz_util" = "yes"; then
16784 $as_echo "#define ENABLE_ICALTZ_UTIL 1" >>confdefs.h
16787 $as_echo "#define DISABLE_ICALTZUTIL_GET_ZONE_DIRECTORY 1" >>confdefs.h
16790 if test "$enable_icaltz_util" = "yes"; then
16791 ENABLE_ICALTZ_UTIL_TRUE=
16792 ENABLE_ICALTZ_UTIL_FALSE='#'
16794 ENABLE_ICALTZ_UTIL_TRUE='#'
16795 ENABLE_ICALTZ_UTIL_FALSE=
16799 # Check whether --enable-developer-mode was given.
16800 if test "${enable_developer_mode+set}" = set; then :
16801 enableval=$enable_developer_mode; enable_developer_mode="$enableval"
16803 enable_developer_mode="no"
16808 # - wrap e_book_from_string() to fix invalid parameter
16809 # - don't use UTF-8 encoding in Perl script
16810 # Check whether --enable-maemo was given.
16811 if test "${enable_maemo+set}" = set; then :
16812 enableval=$enable_maemo;
16813 $as_echo "#define ENABLE_MAEMO 1" >>confdefs.h
16816 MODIFY_SYNCCOMPARE='-e "s/use encoding/#use encoding/;" -e "s/:utf8//;"'
16821 for ac_header in signal.h dlfcn.h
16823 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16824 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16825 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16826 cat >>confdefs.h <<_ACEOF
16827 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16835 # For icaltz-util.c
16836 for ac_header in byteswap.h endian.h sys/endian.h unistd.h stdint.h
16838 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16839 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16840 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16841 cat >>confdefs.h <<_ACEOF
16842 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16850 # cppunit-config is used even when both unit tests and integration tests are disabled.
16851 # Extract the first word of "cppunit-config", so it can be a program name with args.
16852 set dummy cppunit-config; ac_word=$2
16853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16854 $as_echo_n "checking for $ac_word... " >&6; }
16855 if ${ac_cv_path_CPPUNIT_CONFIG+:} false; then :
16856 $as_echo_n "(cached) " >&6
16858 case $CPPUNIT_CONFIG in
16860 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
16863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16864 for as_dir in $PATH
16867 test -z "$as_dir" && as_dir=.
16868 for ac_exec_ext in '' $ac_executable_extensions; do
16869 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16870 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16878 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
16882 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
16883 if test -n "$CPPUNIT_CONFIG"; then
16884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPUNIT_CONFIG" >&5
16885 $as_echo "$CPPUNIT_CONFIG" >&6; }
16887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16888 $as_echo "no" >&6; }
16894 if test "x$enable_unit_tests" = 'xyes' || test "x$enable_integration_tests" = 'xyes'; then
16895 test "x$CPPUNIT_CONFIG" != 'xno' || as_fn_error $? "\"cppunit-config not found.\"" "$LINENO" 5
16897 if test "x$CPPUNIT_CONFIG" != 'xno'; then
16898 # Export the flags if available, even if not enabled. This allows
16899 # "make src/client-test" in cases where "make all" would not build
16901 CPPUNIT_CXXFLAGS=`$CPPUNIT_CONFIG --cflags`
16902 CPPUNIT_LDFLAGS=`$CPPUNIT_CONFIG --libs`
16907 if test "x$enable_unit_tests" = 'xyes'; then
16909 $as_echo "#define ENABLE_UNIT_TESTS 1" >>confdefs.h
16912 if test "x$enable_integration_tests" = 'xyes'; then
16914 $as_echo "#define ENABLE_INTEGRATION_TESTS 1" >>confdefs.h
16917 if test "$enable_unit_tests" = "yes"; then
16918 ENABLE_UNIT_TESTS_TRUE=
16919 ENABLE_UNIT_TESTS_FALSE='#'
16921 ENABLE_UNIT_TESTS_TRUE='#'
16922 ENABLE_UNIT_TESTS_FALSE=
16925 if test "$enable_unit_tests" = "yes" || test "$enable_integration_tests" = "yes" ; then
16926 ENABLE_TESTING_TRUE=
16927 ENABLE_TESTING_FALSE='#'
16929 ENABLE_TESTING_TRUE='#'
16930 ENABLE_TESTING_FALSE=
16934 if test $enable_static_cxx = "yes"; then
16936 CORE_LDADD_DEP=libstdc++.a
16940 # Check for transport layer.
16941 # Both curl and libsoup can be enabled and disabled explicitly.
16942 # The default is to use libsoup if available, otherwise curl.
16944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl" >&5
16945 $as_echo_n "checking for libcurl... " >&6; }
16946 if LIBCURL_LIBS=`sh -c 'curl-config --libs' 2>&5` && \
16947 LIBCURL_CFLAGS=`sh -c 'curl-config --cflags' 2>&5`; then
16948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16949 $as_echo "yes" >&6; }
16952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16953 $as_echo "no" >&6; }
16964 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
16965 if test -n "$ac_tool_prefix"; then
16966 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
16967 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
16968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16969 $as_echo_n "checking for $ac_word... " >&6; }
16970 if ${ac_cv_path_PKG_CONFIG+:} false; then :
16971 $as_echo_n "(cached) " >&6
16973 case $PKG_CONFIG in
16975 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
16978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16979 for as_dir in $PATH
16982 test -z "$as_dir" && as_dir=.
16983 for ac_exec_ext in '' $ac_executable_extensions; do
16984 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16985 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16996 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
16997 if test -n "$PKG_CONFIG"; then
16998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16999 $as_echo "$PKG_CONFIG" >&6; }
17001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17002 $as_echo "no" >&6; }
17007 if test -z "$ac_cv_path_PKG_CONFIG"; then
17008 ac_pt_PKG_CONFIG=$PKG_CONFIG
17009 # Extract the first word of "pkg-config", so it can be a program name with args.
17010 set dummy pkg-config; ac_word=$2
17011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17012 $as_echo_n "checking for $ac_word... " >&6; }
17013 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
17014 $as_echo_n "(cached) " >&6
17016 case $ac_pt_PKG_CONFIG in
17018 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
17021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17022 for as_dir in $PATH
17025 test -z "$as_dir" && as_dir=.
17026 for ac_exec_ext in '' $ac_executable_extensions; do
17027 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17028 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17039 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
17040 if test -n "$ac_pt_PKG_CONFIG"; then
17041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
17042 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
17044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17045 $as_echo "no" >&6; }
17048 if test "x$ac_pt_PKG_CONFIG" = x; then
17051 case $cross_compiling:$ac_tool_warned in
17053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17054 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17055 ac_tool_warned=yes ;;
17057 PKG_CONFIG=$ac_pt_PKG_CONFIG
17060 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
17064 if test -n "$PKG_CONFIG"; then
17065 _pkg_min_version=0.9.0
17066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
17067 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
17068 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
17069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17070 $as_echo "yes" >&6; }
17072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17073 $as_echo "no" >&6; }
17079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSOUP" >&5
17080 $as_echo_n "checking for LIBSOUP... " >&6; }
17082 if test -n "$LIBSOUP_CFLAGS"; then
17083 pkg_cv_LIBSOUP_CFLAGS="$LIBSOUP_CFLAGS"
17084 elif test -n "$PKG_CONFIG"; then
17085 if test -n "$PKG_CONFIG" && \
17086 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-gnome-2.4\""; } >&5
17087 ($PKG_CONFIG --exists --print-errors "libsoup-gnome-2.4") 2>&5
17089 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17090 test $ac_status = 0; }; then
17091 pkg_cv_LIBSOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-gnome-2.4" 2>/dev/null`
17092 test "x$?" != "x0" && pkg_failed=yes
17099 if test -n "$LIBSOUP_LIBS"; then
17100 pkg_cv_LIBSOUP_LIBS="$LIBSOUP_LIBS"
17101 elif test -n "$PKG_CONFIG"; then
17102 if test -n "$PKG_CONFIG" && \
17103 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-gnome-2.4\""; } >&5
17104 ($PKG_CONFIG --exists --print-errors "libsoup-gnome-2.4") 2>&5
17106 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17107 test $ac_status = 0; }; then
17108 pkg_cv_LIBSOUP_LIBS=`$PKG_CONFIG --libs "libsoup-gnome-2.4" 2>/dev/null`
17109 test "x$?" != "x0" && pkg_failed=yes
17119 if test $pkg_failed = yes; then
17120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17121 $as_echo "no" >&6; }
17123 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17124 _pkg_short_errors_supported=yes
17126 _pkg_short_errors_supported=no
17128 if test $_pkg_short_errors_supported = yes; then
17129 LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsoup-gnome-2.4" 2>&1`
17131 LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsoup-gnome-2.4" 2>&1`
17133 # Put the nasty error message in config.log where it belongs
17134 echo "$LIBSOUP_PKG_ERRORS" >&5
17138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSOUP" >&5
17139 $as_echo_n "checking for LIBSOUP... " >&6; }
17141 if test -n "$LIBSOUP_CFLAGS"; then
17142 pkg_cv_LIBSOUP_CFLAGS="$LIBSOUP_CFLAGS"
17143 elif test -n "$PKG_CONFIG"; then
17144 if test -n "$PKG_CONFIG" && \
17145 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\""; } >&5
17146 ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
17148 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17149 test $ac_status = 0; }; then
17150 pkg_cv_LIBSOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4" 2>/dev/null`
17151 test "x$?" != "x0" && pkg_failed=yes
17158 if test -n "$LIBSOUP_LIBS"; then
17159 pkg_cv_LIBSOUP_LIBS="$LIBSOUP_LIBS"
17160 elif test -n "$PKG_CONFIG"; then
17161 if test -n "$PKG_CONFIG" && \
17162 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\""; } >&5
17163 ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
17165 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17166 test $ac_status = 0; }; then
17167 pkg_cv_LIBSOUP_LIBS=`$PKG_CONFIG --libs "libsoup-2.4" 2>/dev/null`
17168 test "x$?" != "x0" && pkg_failed=yes
17178 if test $pkg_failed = yes; then
17179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17180 $as_echo "no" >&6; }
17182 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17183 _pkg_short_errors_supported=yes
17185 _pkg_short_errors_supported=no
17187 if test $_pkg_short_errors_supported = yes; then
17188 LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsoup-2.4" 2>&1`
17190 LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsoup-2.4" 2>&1`
17192 # Put the nasty error message in config.log where it belongs
17193 echo "$LIBSOUP_PKG_ERRORS" >&5
17196 elif test $pkg_failed = untried; then
17197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17198 $as_echo "no" >&6; }
17201 LIBSOUP_CFLAGS=$pkg_cv_LIBSOUP_CFLAGS
17202 LIBSOUP_LIBS=$pkg_cv_LIBSOUP_LIBS
17203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17204 $as_echo "yes" >&6; }
17207 elif test $pkg_failed = untried; then
17208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17209 $as_echo "no" >&6; }
17212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSOUP" >&5
17213 $as_echo_n "checking for LIBSOUP... " >&6; }
17215 if test -n "$LIBSOUP_CFLAGS"; then
17216 pkg_cv_LIBSOUP_CFLAGS="$LIBSOUP_CFLAGS"
17217 elif test -n "$PKG_CONFIG"; then
17218 if test -n "$PKG_CONFIG" && \
17219 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\""; } >&5
17220 ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
17222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17223 test $ac_status = 0; }; then
17224 pkg_cv_LIBSOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4" 2>/dev/null`
17225 test "x$?" != "x0" && pkg_failed=yes
17232 if test -n "$LIBSOUP_LIBS"; then
17233 pkg_cv_LIBSOUP_LIBS="$LIBSOUP_LIBS"
17234 elif test -n "$PKG_CONFIG"; then
17235 if test -n "$PKG_CONFIG" && \
17236 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\""; } >&5
17237 ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
17239 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17240 test $ac_status = 0; }; then
17241 pkg_cv_LIBSOUP_LIBS=`$PKG_CONFIG --libs "libsoup-2.4" 2>/dev/null`
17242 test "x$?" != "x0" && pkg_failed=yes
17252 if test $pkg_failed = yes; then
17253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17254 $as_echo "no" >&6; }
17256 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17257 _pkg_short_errors_supported=yes
17259 _pkg_short_errors_supported=no
17261 if test $_pkg_short_errors_supported = yes; then
17262 LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsoup-2.4" 2>&1`
17264 LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsoup-2.4" 2>&1`
17266 # Put the nasty error message in config.log where it belongs
17267 echo "$LIBSOUP_PKG_ERRORS" >&5
17270 elif test $pkg_failed = untried; then
17271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17272 $as_echo "no" >&6; }
17275 LIBSOUP_CFLAGS=$pkg_cv_LIBSOUP_CFLAGS
17276 LIBSOUP_LIBS=$pkg_cv_LIBSOUP_LIBS
17277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17278 $as_echo "yes" >&6; }
17282 LIBSOUP_CFLAGS=$pkg_cv_LIBSOUP_CFLAGS
17283 LIBSOUP_LIBS=$pkg_cv_LIBSOUP_LIBS
17284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17285 $as_echo "yes" >&6; }
17288 $as_echo "#define HAVE_LIBSOUP_SOUP_GNOME_FEATURES_H 1" >>confdefs.h
17294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBOPENOBEX" >&5
17295 $as_echo_n "checking for LIBOPENOBEX... " >&6; }
17297 if test -n "$LIBOPENOBEX_CFLAGS"; then
17298 pkg_cv_LIBOPENOBEX_CFLAGS="$LIBOPENOBEX_CFLAGS"
17299 elif test -n "$PKG_CONFIG"; then
17300 if test -n "$PKG_CONFIG" && \
17301 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openobex\""; } >&5
17302 ($PKG_CONFIG --exists --print-errors "openobex") 2>&5
17304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17305 test $ac_status = 0; }; then
17306 pkg_cv_LIBOPENOBEX_CFLAGS=`$PKG_CONFIG --cflags "openobex" 2>/dev/null`
17307 test "x$?" != "x0" && pkg_failed=yes
17314 if test -n "$LIBOPENOBEX_LIBS"; then
17315 pkg_cv_LIBOPENOBEX_LIBS="$LIBOPENOBEX_LIBS"
17316 elif test -n "$PKG_CONFIG"; then
17317 if test -n "$PKG_CONFIG" && \
17318 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openobex\""; } >&5
17319 ($PKG_CONFIG --exists --print-errors "openobex") 2>&5
17321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17322 test $ac_status = 0; }; then
17323 pkg_cv_LIBOPENOBEX_LIBS=`$PKG_CONFIG --libs "openobex" 2>/dev/null`
17324 test "x$?" != "x0" && pkg_failed=yes
17334 if test $pkg_failed = yes; then
17335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17336 $as_echo "no" >&6; }
17338 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17339 _pkg_short_errors_supported=yes
17341 _pkg_short_errors_supported=no
17343 if test $_pkg_short_errors_supported = yes; then
17344 LIBOPENOBEX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "openobex" 2>&1`
17346 LIBOPENOBEX_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "openobex" 2>&1`
17348 # Put the nasty error message in config.log where it belongs
17349 echo "$LIBOPENOBEX_PKG_ERRORS" >&5
17352 elif test $pkg_failed = untried; then
17353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17354 $as_echo "no" >&6; }
17357 LIBOPENOBEX_CFLAGS=$pkg_cv_LIBOPENOBEX_CFLAGS
17358 LIBOPENOBEX_LIBS=$pkg_cv_LIBOPENOBEX_LIBS
17359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17360 $as_echo "yes" >&6; }
17363 have_bluetooth="no"
17364 if test $have_obex = "yes"; then
17367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BLUEZ" >&5
17368 $as_echo_n "checking for BLUEZ... " >&6; }
17370 if test -n "$BLUEZ_CFLAGS"; then
17371 pkg_cv_BLUEZ_CFLAGS="$BLUEZ_CFLAGS"
17372 elif test -n "$PKG_CONFIG"; then
17373 if test -n "$PKG_CONFIG" && \
17374 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"bluez\""; } >&5
17375 ($PKG_CONFIG --exists --print-errors "bluez") 2>&5
17377 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17378 test $ac_status = 0; }; then
17379 pkg_cv_BLUEZ_CFLAGS=`$PKG_CONFIG --cflags "bluez" 2>/dev/null`
17380 test "x$?" != "x0" && pkg_failed=yes
17387 if test -n "$BLUEZ_LIBS"; then
17388 pkg_cv_BLUEZ_LIBS="$BLUEZ_LIBS"
17389 elif test -n "$PKG_CONFIG"; then
17390 if test -n "$PKG_CONFIG" && \
17391 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"bluez\""; } >&5
17392 ($PKG_CONFIG --exists --print-errors "bluez") 2>&5
17394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17395 test $ac_status = 0; }; then
17396 pkg_cv_BLUEZ_LIBS=`$PKG_CONFIG --libs "bluez" 2>/dev/null`
17397 test "x$?" != "x0" && pkg_failed=yes
17407 if test $pkg_failed = yes; then
17408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17409 $as_echo "no" >&6; }
17411 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17412 _pkg_short_errors_supported=yes
17414 _pkg_short_errors_supported=no
17416 if test $_pkg_short_errors_supported = yes; then
17417 BLUEZ_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "bluez" 2>&1`
17419 BLUEZ_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "bluez" 2>&1`
17421 # Put the nasty error message in config.log where it belongs
17422 echo "$BLUEZ_PKG_ERRORS" >&5
17425 elif test $pkg_failed = untried; then
17426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17427 $as_echo "no" >&6; }
17430 BLUEZ_CFLAGS=$pkg_cv_BLUEZ_CFLAGS
17431 BLUEZ_LIBS=$pkg_cv_BLUEZ_LIBS
17432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17433 $as_echo "yes" >&6; }
17436 if test $have_bluez = "yes"; then
17437 have_bluetooth="yes"
17450 # Check whether --with-ca-certificates was given.
17451 if test "${with_ca_certificates+set}" = set; then :
17452 withval=$with_ca_certificates; CA_CERTIFICATES="$withval"
17457 # choose default http transport (mirrors code in EvolutionSyncClient::createTransportAgent())
17458 if test "$have_libsoup" = "yes"; then
17459 default_http_transport="libsoup"
17460 elif test "$have_libcurl" = "yes"; then
17461 default_http_transport="libcurl"
17464 # Check whether --enable-libcurl was given.
17465 if test "${enable_libcurl+set}" = set; then :
17466 enableval=$enable_libcurl; if test "$enableval" = "yes"; then
17467 test "$have_libcurl" = "yes" || as_fn_error $? "libcurl not found" "$LINENO" 5
17468 TRANSPORT="$TRANSPORT libcurl"
17469 TRANSPORT_LIBS="$TRANSPORT_LIBS $LIBCURL_LIBS"
17470 TRANSPORT_CFLAGS="$TRANSPORT_CFLAGS $LIBCURL_CFLAGS"
17472 $as_echo "#define ENABLE_LIBCURL 1" >>confdefs.h
17475 libcurl_disabled="yes"
17478 if test "$have_libcurl" = "yes" && test "$default_http_transport" = "libcurl" ; then
17479 TRANSPORT="$TRANSPORT libcurl"
17480 TRANSPORT_LIBS="$TRANSPORT_LIBS $LIBCURL_LIBS"
17481 TRANSPORT_CFLAGS="$TRANSPORT_CFLAGS $LIBCURL_CFLAGS"
17483 $as_echo "#define ENABLE_LIBCURL 1" >>confdefs.h
17489 # Check whether --enable-libsoup was given.
17490 if test "${enable_libsoup+set}" = set; then :
17491 enableval=$enable_libsoup; if test "$enableval" = "yes"; then
17492 test "$have_libsoup" = "yes" || as_fn_error $? "libsoup not found" "$LINENO" 5
17493 TRANSPORT="$TRANSPORT libsoup"
17494 TRANSPORT_LIBS="$TRANSPORT_LIBS $LIBSOUP_LIBS"
17495 TRANSPORT_CFLAGS="$TRANSPORT_CFLAGS $LIBSOUP_CFLAGS"
17497 $as_echo "#define ENABLE_LIBSOUP 1" >>confdefs.h
17500 libsoup_disabled="yes"
17503 if test "$have_libsoup" = "yes" && test "$default_http_transport" = "libsoup"; then
17504 TRANSPORT="$TRANSPORT libsoup"
17505 TRANSPORT_LIBS="$TRANSPORT_LIBS $LIBSOUP_LIBS"
17506 TRANSPORT_CFLAGS="$TRANSPORT_CFLAGS $LIBSOUP_CFLAGS"
17508 $as_echo "#define ENABLE_LIBSOUP 1" >>confdefs.h
17514 # SoupTransportAgent depends on glib
17515 case "$TRANSPORT" in *libsoup*) need_glib=yes;; esac
17517 # Check whether --enable-dlt was given.
17518 if test "${enable_dlt+set}" = set; then :
17519 enableval=$enable_dlt; enable_dlt=$enableval
17520 test $enable_dlt = "yes" || test $enable_dlt = "no" || as_fn_error $? "invalid value of --enable-dlt: $enableval" "$LINENO" 5
17525 if test "$enable_dlt" = "yes"; then
17528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DLT" >&5
17529 $as_echo_n "checking for DLT... " >&6; }
17531 if test -n "$DLT_CFLAGS"; then
17532 pkg_cv_DLT_CFLAGS="$DLT_CFLAGS"
17533 elif test -n "$PKG_CONFIG"; then
17534 if test -n "$PKG_CONFIG" && \
17535 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"automotive-dlt\""; } >&5
17536 ($PKG_CONFIG --exists --print-errors "automotive-dlt") 2>&5
17538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17539 test $ac_status = 0; }; then
17540 pkg_cv_DLT_CFLAGS=`$PKG_CONFIG --cflags "automotive-dlt" 2>/dev/null`
17541 test "x$?" != "x0" && pkg_failed=yes
17548 if test -n "$DLT_LIBS"; then
17549 pkg_cv_DLT_LIBS="$DLT_LIBS"
17550 elif test -n "$PKG_CONFIG"; then
17551 if test -n "$PKG_CONFIG" && \
17552 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"automotive-dlt\""; } >&5
17553 ($PKG_CONFIG --exists --print-errors "automotive-dlt") 2>&5
17555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17556 test $ac_status = 0; }; then
17557 pkg_cv_DLT_LIBS=`$PKG_CONFIG --libs "automotive-dlt" 2>/dev/null`
17558 test "x$?" != "x0" && pkg_failed=yes
17568 if test $pkg_failed = yes; then
17569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17570 $as_echo "no" >&6; }
17572 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17573 _pkg_short_errors_supported=yes
17575 _pkg_short_errors_supported=no
17577 if test $_pkg_short_errors_supported = yes; then
17578 DLT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "automotive-dlt" 2>&1`
17580 DLT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "automotive-dlt" 2>&1`
17582 # Put the nasty error message in config.log where it belongs
17583 echo "$DLT_PKG_ERRORS" >&5
17585 as_fn_error $? "dlt not found, required for --enable-dlt" "$LINENO" 5
17586 elif test $pkg_failed = untried; then
17587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17588 $as_echo "no" >&6; }
17589 as_fn_error $? "dlt not found, required for --enable-dlt" "$LINENO" 5
17591 DLT_CFLAGS=$pkg_cv_DLT_CFLAGS
17592 DLT_LIBS=$pkg_cv_DLT_LIBS
17593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17594 $as_echo "yes" >&6; }
17598 $as_echo "#define USE_DLT 1" >>confdefs.h
17601 # Check whether --with-dlt-syncevolution was given.
17602 if test "${with_dlt_syncevolution+set}" = set; then :
17603 withval=$with_dlt_syncevolution; with_dlt_ids="$withval"
17605 with_dlt_ids="SYNS,SYNH,SYNL"
17608 syns=`echo $with_dlt_ids | cut -d , -f 1`
17609 synh=`echo $with_dlt_ids | cut -d , -f 2`
17610 synl=`echo $with_dlt_ids | cut -d , -f 3`
17612 cat >>confdefs.h <<_ACEOF
17613 #define DLT_SYNCEVO_DBUS_SERVER_ID "$syns"
17617 cat >>confdefs.h <<_ACEOF
17618 #define DLT_SYNCEVO_DBUS_HELPER_ID "$synh"
17622 cat >>confdefs.h <<_ACEOF
17623 #define DLT_SYNCEVO_LOCAL_HELPER_ID "$synl"
17628 bluetooth_disabled=no
17629 # Check whether --enable-bluetooth was given.
17630 if test "${enable_bluetooth+set}" = set; then :
17631 enableval=$enable_bluetooth; enable_bluetooth="$enableval"
17632 if test "$enableval" = "no"; then
17633 bluetooth_disabled=yes
17637 enable_bluetooth="$have_bluetooth"
17641 if test "$enable_bluetooth" = "yes"; then
17642 # currently we need Bluetooth and OBEX support
17643 test "$have_bluetooth" = "yes" || as_fn_error $? "openobex or bluez not found" "$LINENO" 5
17646 ac_cpp='$CPP $CPPFLAGS'
17647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17651 CFLAGS_old="$CFLAGS"
17652 CFLAGS="$CPPFLAGS $BLUEZ_CFLAGS"
17653 # test in this order:
17654 # - recent libbluetooth (no _safe variant, base function has bufsize)
17655 # - intermediate with _safe
17656 # - else assume old-style (no bufsize, no _safe)
17658 # The source code checks the signature both by via pointer assignment and calling
17659 # it (better safe than sorry). One these should fail if the signature is not right.
17660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17661 /* end confdefs.h. */
17663 #include <bluetooth/sdp.h>
17664 #include <bluetooth/sdp_lib.h>
17665 sdp_record_t *(*extract_pdu)(const uint8_t *pdata, int bufsize, int *scanned) =
17668 uint8_t *pdata = NULL;
17670 sdp_extract_pdu(pdata, 100, &scanned);
17674 if ac_fn_c_try_compile "$LINENO"; then :
17676 $as_echo "#define HAVE_BLUEZ_BUFSIZE 1" >>confdefs.h
17679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17680 /* end confdefs.h. */
17682 #include <bluetooth/sdp.h>
17683 #include <bluetooth/sdp_lib.h>
17684 sdp_record_t *(*extract_pdu)(const uint8_t *pdata, int bufsize, int *scanned) =
17685 sdp_extract_pdu_safe;
17687 uint8_t *pdata = NULL;
17689 sdp_extract_pdu_safe(pdata, 100, &scanned);
17693 if ac_fn_c_try_compile "$LINENO"; then :
17695 $as_echo "#define HAVE_BLUEZ_SAFE 1" >>confdefs.h
17698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17701 CFLAGS="$CFLAGS_old"
17703 if test "$have_obex" = "yes"; then
17705 $as_echo "#define ENABLE_OBEX 1" >>confdefs.h
17708 if test "$have_bluez" = "yes"; then
17710 $as_echo "#define ENABLE_BLUETOOTH 1" >>confdefs.h
17714 if test "$have_obex" = "yes" && test "$enable_bluetooth" = "yes"; then
17716 ENABLE_OBEX_FALSE='#'
17718 ENABLE_OBEX_TRUE='#'
17722 if test "$have_bluetooth" = "yes" && test "$enable_bluetooth" = "yes"; then
17723 ENABLE_BLUETOOTH_TRUE=
17724 ENABLE_BLUETOOTH_FALSE='#'
17726 ENABLE_BLUETOOTH_TRUE='#'
17727 ENABLE_BLUETOOTH_FALSE=
17731 if test ! "$TRANSPORT" &&
17732 test "$libsoup_disabled" != "yes" &&
17733 test "$libcurl_disabled" != "yes" &&
17734 test "$bluetooth_disabled" != "yes" &&
17735 test "$have_bluetooth" != "yes" ; then
17736 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
17739 # for libsoup we must specify the SSL certificate file outself
17740 if test "$libsoup_disabled" != "yes" && test -z "$CA_CERTIFICATES"; then
17741 # Debian and Red Hat paths
17742 CA_CERTIFICATES="/etc/ssl/certs/ca-certificates.crt:/etc/pki/tls/certs/ca-bundle.crt:/usr/share/ssl/certs/ca-bundle.crt"
17745 cat >>confdefs.h <<_ACEOF
17746 #define SYNCEVOLUTION_SSL_SERVER_CERTIFICATES "$CA_CERTIFICATES"
17753 # Check whether --enable-ssl-certificate-check was given.
17754 if test "${enable_ssl_certificate_check+set}" = set; then :
17755 enableval=$enable_ssl_certificate_check; enable_ssl_certificate_check="$enableval"
17757 enable_ssl_certificate_check="yes"
17760 if test "$enable_ssl_certificate_check" = "yes"; then
17762 $as_echo "#define ENABLE_SSL_CERTIFICATE_CHECK 1" >>confdefs.h
17766 # for dbus interface file mangling
17767 # Extract the first word of "xsltproc", so it can be a program name with args.
17768 set dummy xsltproc; ac_word=$2
17769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17770 $as_echo_n "checking for $ac_word... " >&6; }
17771 if ${ac_cv_path_XSLT+:} false; then :
17772 $as_echo_n "(cached) " >&6
17776 ac_cv_path_XSLT="$XSLT" # Let the user override the test with a path.
17779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17780 for as_dir in $PATH
17783 test -z "$as_dir" && as_dir=.
17784 for ac_exec_ext in '' $ac_executable_extensions; do
17785 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17786 ac_cv_path_XSLT="$as_dir/$ac_word$ac_exec_ext"
17787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17797 XSLT=$ac_cv_path_XSLT
17798 if test -n "$XSLT"; then
17799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLT" >&5
17800 $as_echo "$XSLT" >&6; }
17802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17803 $as_echo "no" >&6; }
17809 # Changes in GTK3 mean that supporting both GTK3 and GTK2 in the same codebase
17810 # is difficult. We want to support GTK2 for the time being so the code is forked.
17811 # Check whether --enable-gtk was given.
17812 if test "${enable_gtk+set}" = set; then :
17813 enableval=$enable_gtk; if test "$enableval" = "3" ; then
17814 gtk_version=gtk+-3.0
17815 elif test "$enableval" = "2" ; then
17816 gtk_version=gtk+-2.0
17818 as_fn_error $? "Unknown gtk version: '$enableval'" "$LINENO" 5
17822 if test -n "$PKG_CONFIG" && \
17823 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0\""; } >&5
17824 ($PKG_CONFIG --exists --print-errors "gtk+-3.0") 2>&5
17826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17827 test $ac_status = 0; }; then
17828 gtk_version=gtk+-3.0
17830 gtk_version=gtk+-2.0
17836 if test "$gtk_version" = "gtk+-2.0"; then
17838 COND_GTK2_FALSE='#'
17845 # Check whether --enable-gui was given.
17846 if test "${enable_gui+set}" = set; then :
17847 enableval=$enable_gui; if test "$enableval" = "gtk" ; then
17849 elif test "$enableval" = "yes" ; then
17851 elif test "$enableval" = "moblin" ; then
17853 elif test "$enableval" = "no" ; then
17855 elif test "$enableval" = "all" ; then
17858 as_fn_error $? "Unknown gui type: '$enableval'" "$LINENO" 5
17866 if test "$enable_gui" != "no"; then
17875 # Check whether --enable-core was given.
17876 if test "${enable_core+set}" = set; then :
17877 enableval=$enable_core; enable_core="$enableval"
17882 if test "$enable_core" = "yes"; then
17884 COND_CORE_FALSE='#'
17891 # Check whether --enable-dbus-service was given.
17892 if test "${enable_dbus_service+set}" = set; then :
17893 enableval=$enable_dbus_service; enable_dbus_service="$enableval"
17895 if test $enable_gui = "no"; then
17896 enable_dbus_service="no"
17898 enable_dbus_service="yes"
17902 if test "$enable_dbus_service" != "no"; then
17904 COND_DBUS_FALSE='#'
17910 if test "$enable_dbus_service" != "no" && test "$enable_dbus_service" != "yes"; then
17911 SYNCEVO_DBUS_SERVER_ARGS="$enable_dbus_service"
17916 # Check whether --with-gio-gdbus was given.
17917 if test "${with_gio_gdbus+set}" = set; then :
17918 withval=$with_gio_gdbus; with_gio_gdbus="$withval"
17920 if test -n "$PKG_CONFIG" && \
17921 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.30\""; } >&5
17922 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.30") 2>&5
17924 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17925 test $ac_status = 0; }; then
17926 with_gio_gdbus="yes"
17928 with_gio_gdbus="no"
17932 if test "x$with_gio_gdbus" = "xyes"; then
17933 COND_GIO_GDBUS_TRUE=
17934 COND_GIO_GDBUS_FALSE='#'
17936 COND_GIO_GDBUS_TRUE='#'
17937 COND_GIO_GDBUS_FALSE=
17941 # We only need to check for dbus-1 if gio-gdbus is not used.
17943 # Local sync depends on D-Bus communication between parent
17944 # and child process (works without a D-Bus daemon), and local
17945 # sync is not an optional feature. Could be made one if
17946 # someone is interested enough.
17948 # Therefore, at the moment, either libdbus or gio-gdbus are needed
17949 # unconditionally. glib is needed in all cases now.
17951 if test "x$with_gio_gdbus" = "xyes"; then :
17954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
17955 $as_echo_n "checking for DBUS... " >&6; }
17957 if test -n "$DBUS_CFLAGS"; then
17958 pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
17959 elif test -n "$PKG_CONFIG"; then
17960 if test -n "$PKG_CONFIG" && \
17961 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.26\""; } >&5
17962 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.26") 2>&5
17964 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17965 test $ac_status = 0; }; then
17966 pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.26" 2>/dev/null`
17967 test "x$?" != "x0" && pkg_failed=yes
17974 if test -n "$DBUS_LIBS"; then
17975 pkg_cv_DBUS_LIBS="$DBUS_LIBS"
17976 elif test -n "$PKG_CONFIG"; then
17977 if test -n "$PKG_CONFIG" && \
17978 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.26\""; } >&5
17979 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.26") 2>&5
17981 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17982 test $ac_status = 0; }; then
17983 pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.26" 2>/dev/null`
17984 test "x$?" != "x0" && pkg_failed=yes
17994 if test $pkg_failed = yes; then
17995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17996 $as_echo "no" >&6; }
17998 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17999 _pkg_short_errors_supported=yes
18001 _pkg_short_errors_supported=no
18003 if test $_pkg_short_errors_supported = yes; then
18004 DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.26" 2>&1`
18006 DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.26" 2>&1`
18008 # Put the nasty error message in config.log where it belongs
18009 echo "$DBUS_PKG_ERRORS" >&5
18011 as_fn_error $? "Package requirements (gio-2.0 >= 2.26) were not met:
18015 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18016 installed software in a non-standard prefix.
18018 Alternatively, you may set the environment variables DBUS_CFLAGS
18019 and DBUS_LIBS to avoid the need to call pkg-config.
18020 See the pkg-config man page for more details." "$LINENO" 5
18021 elif test $pkg_failed = untried; then
18022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18023 $as_echo "no" >&6; }
18024 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18025 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18026 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18027 is in your PATH or set the PKG_CONFIG environment variable to the full
18028 path to pkg-config.
18030 Alternatively, you may set the environment variables DBUS_CFLAGS
18031 and DBUS_LIBS to avoid the need to call pkg-config.
18032 See the pkg-config man page for more details.
18034 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18035 See \`config.log' for more details" "$LINENO" 5; }
18037 DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
18038 DBUS_LIBS=$pkg_cv_DBUS_LIBS
18039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18040 $as_echo "yes" >&6; }
18044 $as_echo "#define WITH_GIO_GDBUS /**/" >>confdefs.h
18049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
18050 $as_echo_n "checking for DBUS... " >&6; }
18052 if test -n "$DBUS_CFLAGS"; then
18053 pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
18054 elif test -n "$PKG_CONFIG"; then
18055 if test -n "$PKG_CONFIG" && \
18056 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5
18057 ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5
18059 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18060 test $ac_status = 0; }; then
18061 pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1" 2>/dev/null`
18062 test "x$?" != "x0" && pkg_failed=yes
18069 if test -n "$DBUS_LIBS"; then
18070 pkg_cv_DBUS_LIBS="$DBUS_LIBS"
18071 elif test -n "$PKG_CONFIG"; then
18072 if test -n "$PKG_CONFIG" && \
18073 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5
18074 ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5
18076 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18077 test $ac_status = 0; }; then
18078 pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1" 2>/dev/null`
18079 test "x$?" != "x0" && pkg_failed=yes
18089 if test $pkg_failed = yes; then
18090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18091 $as_echo "no" >&6; }
18093 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18094 _pkg_short_errors_supported=yes
18096 _pkg_short_errors_supported=no
18098 if test $_pkg_short_errors_supported = yes; then
18099 DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-1" 2>&1`
18101 DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-1" 2>&1`
18103 # Put the nasty error message in config.log where it belongs
18104 echo "$DBUS_PKG_ERRORS" >&5
18106 as_fn_error $? "libdbus-1 is required" "$LINENO" 5
18107 elif test $pkg_failed = untried; then
18108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18109 $as_echo "no" >&6; }
18110 as_fn_error $? "libdbus-1 is required" "$LINENO" 5
18112 DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
18113 DBUS_LIBS=$pkg_cv_DBUS_LIBS
18114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18115 $as_echo "yes" >&6; }
18118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbus_watch_get_unix_fd in -ldbus-1" >&5
18119 $as_echo_n "checking for dbus_watch_get_unix_fd in -ldbus-1... " >&6; }
18120 if ${ac_cv_lib_dbus_1_dbus_watch_get_unix_fd+:} false; then :
18121 $as_echo_n "(cached) " >&6
18123 ac_check_lib_save_LIBS=$LIBS
18124 LIBS="-ldbus-1 $LIBS"
18125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18126 /* end confdefs.h. */
18128 /* Override any GCC internal prototype to avoid an error.
18129 Use char because int might match the return type of a GCC
18130 builtin and then its argument prototype would still apply. */
18134 char dbus_watch_get_unix_fd ();
18138 return dbus_watch_get_unix_fd ();
18143 if ac_fn_c_try_link "$LINENO"; then :
18144 ac_cv_lib_dbus_1_dbus_watch_get_unix_fd=yes
18146 ac_cv_lib_dbus_1_dbus_watch_get_unix_fd=no
18148 rm -f core conftest.err conftest.$ac_objext \
18149 conftest$ac_exeext conftest.$ac_ext
18150 LIBS=$ac_check_lib_save_LIBS
18152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dbus_1_dbus_watch_get_unix_fd" >&5
18153 $as_echo "$ac_cv_lib_dbus_1_dbus_watch_get_unix_fd" >&6; }
18154 if test "x$ac_cv_lib_dbus_1_dbus_watch_get_unix_fd" = xyes; then :
18158 $as_echo "#define NEED_DBUS_WATCH_GET_UNIX_FD 1" >>confdefs.h
18164 if test "$enable_dbus_service" != "no"; then
18165 if test -z "$XSLT"; then
18166 as_fn_error $? "xsltproc not found, is required for D-Bus service" "$LINENO" 5
18168 # Recent libnotify releases work with gtk+-2.0 and gtk+-3.0.
18169 # Check whether --enable-notify was given.
18170 if test "${enable_notify+set}" = set; then :
18171 enableval=$enable_notify; enable_notify="$enableval"
18173 if test -n "$PKG_CONFIG" && \
18174 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify \$gtk_version\""; } >&5
18175 ($PKG_CONFIG --exists --print-errors "libnotify $gtk_version") 2>&5
18177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18178 test $ac_status = 0; }; then
18179 enable_notify="yes"
18185 if test "x$enable_notify" = "xyes"; then :
18188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
18189 $as_echo_n "checking for LIBNOTIFY... " >&6; }
18191 if test -n "$LIBNOTIFY_CFLAGS"; then
18192 pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
18193 elif test -n "$PKG_CONFIG"; then
18194 if test -n "$PKG_CONFIG" && \
18195 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify \$gtk_version\""; } >&5
18196 ($PKG_CONFIG --exists --print-errors "libnotify $gtk_version") 2>&5
18198 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18199 test $ac_status = 0; }; then
18200 pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify $gtk_version" 2>/dev/null`
18201 test "x$?" != "x0" && pkg_failed=yes
18208 if test -n "$LIBNOTIFY_LIBS"; then
18209 pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
18210 elif test -n "$PKG_CONFIG"; then
18211 if test -n "$PKG_CONFIG" && \
18212 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify \$gtk_version\""; } >&5
18213 ($PKG_CONFIG --exists --print-errors "libnotify $gtk_version") 2>&5
18215 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18216 test $ac_status = 0; }; then
18217 pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify $gtk_version" 2>/dev/null`
18218 test "x$?" != "x0" && pkg_failed=yes
18228 if test $pkg_failed = yes; then
18229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18230 $as_echo "no" >&6; }
18232 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18233 _pkg_short_errors_supported=yes
18235 _pkg_short_errors_supported=no
18237 if test $_pkg_short_errors_supported = yes; then
18238 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libnotify $gtk_version" 2>&1`
18240 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libnotify $gtk_version" 2>&1`
18242 # Put the nasty error message in config.log where it belongs
18243 echo "$LIBNOTIFY_PKG_ERRORS" >&5
18245 as_fn_error $? "Package requirements (libnotify $gtk_version) were not met:
18247 $LIBNOTIFY_PKG_ERRORS
18249 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18250 installed software in a non-standard prefix.
18252 Alternatively, you may set the environment variables LIBNOTIFY_CFLAGS
18253 and LIBNOTIFY_LIBS to avoid the need to call pkg-config.
18254 See the pkg-config man page for more details." "$LINENO" 5
18255 elif test $pkg_failed = untried; then
18256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18257 $as_echo "no" >&6; }
18258 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18259 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18260 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18261 is in your PATH or set the PKG_CONFIG environment variable to the full
18262 path to pkg-config.
18264 Alternatively, you may set the environment variables LIBNOTIFY_CFLAGS
18265 and LIBNOTIFY_LIBS to avoid the need to call pkg-config.
18266 See the pkg-config man page for more details.
18268 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18269 See \`config.log' for more details" "$LINENO" 5; }
18271 LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
18272 LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
18273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18274 $as_echo "yes" >&6; }
18278 $as_echo "#define HAS_NOTIFY 1" >>confdefs.h
18282 # Check whether --enable-notify-compatibility was given.
18283 if test "${enable_notify_compatibility+set}" = set; then :
18284 enableval=$enable_notify_compatibility; enable_notify_compat="$enableval"
18286 enable_notify_compat="no"
18290 if test "$enable_notify_compat" = "yes"; then
18292 $as_echo "#define NOTIFY_COMPATIBILITY 1" >>confdefs.h
18294 LIBNOTIFY_LIBS="`echo $LIBNOTIFY_LIBS | sed -e 's/\(-lnotify\|^ *libnotify.la\)/-ldl/'`"
18297 # Here we're using QtGui too because mlite fails to depend on it,
18298 # despite using QAction.
18301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MLITE" >&5
18302 $as_echo_n "checking for MLITE... " >&6; }
18304 if test -n "$MLITE_CFLAGS"; then
18305 pkg_cv_MLITE_CFLAGS="$MLITE_CFLAGS"
18306 elif test -n "$PKG_CONFIG"; then
18307 if test -n "$PKG_CONFIG" && \
18308 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mlite QtGui\""; } >&5
18309 ($PKG_CONFIG --exists --print-errors "mlite QtGui") 2>&5
18311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18312 test $ac_status = 0; }; then
18313 pkg_cv_MLITE_CFLAGS=`$PKG_CONFIG --cflags "mlite QtGui" 2>/dev/null`
18314 test "x$?" != "x0" && pkg_failed=yes
18321 if test -n "$MLITE_LIBS"; then
18322 pkg_cv_MLITE_LIBS="$MLITE_LIBS"
18323 elif test -n "$PKG_CONFIG"; then
18324 if test -n "$PKG_CONFIG" && \
18325 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mlite QtGui\""; } >&5
18326 ($PKG_CONFIG --exists --print-errors "mlite QtGui") 2>&5
18328 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18329 test $ac_status = 0; }; then
18330 pkg_cv_MLITE_LIBS=`$PKG_CONFIG --libs "mlite QtGui" 2>/dev/null`
18331 test "x$?" != "x0" && pkg_failed=yes
18341 if test $pkg_failed = yes; then
18342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18343 $as_echo "no" >&6; }
18345 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18346 _pkg_short_errors_supported=yes
18348 _pkg_short_errors_supported=no
18350 if test $_pkg_short_errors_supported = yes; then
18351 MLITE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "mlite QtGui" 2>&1`
18353 MLITE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "mlite QtGui" 2>&1`
18355 # Put the nasty error message in config.log where it belongs
18356 echo "$MLITE_PKG_ERRORS" >&5
18359 elif test $pkg_failed = untried; then
18360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18361 $as_echo "no" >&6; }
18364 MLITE_CFLAGS=$pkg_cv_MLITE_CFLAGS
18365 MLITE_LIBS=$pkg_cv_MLITE_LIBS
18366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18367 $as_echo "yes" >&6; }
18370 # Check whether --enable-mlite was given.
18371 if test "${enable_mlite+set}" = set; then :
18372 enableval=$enable_mlite; enable_mlite="$enableval"
18373 test "$enableval" = "no" || test $HAVE_MLITE = "yes" || as_fn_error $? "required mlite package not found" "$LINENO" 5
18378 if test $enable_mlite = "yes"; then
18380 $as_echo "#define HAS_MLITE 1" >>confdefs.h
18383 # don't use mlite, even if found
18388 $as_echo "#define DBUS_SERVICE 1" >>confdefs.h
18391 # Check whether --enable-dbus-service-pim was given.
18392 if test "${enable_dbus_service_pim+set}" = set; then :
18393 enableval=$enable_dbus_service_pim; enable_dbus_pim="$enableval"
18395 enable_dbus_pim="no"
18398 case "$enable_dbus_pim" in
18401 if test "$enable_dbus_pim" = "yes"; then
18402 enable_dbus_pim=boost
18404 if ! test -r "$srcdir/src/dbus/server/pim/locale-factory-$enable_dbus_pim.cpp"; then
18405 as_fn_error $? "invalid value '$enable_dbus_pim' for --enable-dbus-service-pim, $srcdir/src/dbus/server/pim/locale-factory-$enable_dbus_pim.cpp does not exist or is not readable" "$LINENO" 5
18409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FOLKS" >&5
18410 $as_echo_n "checking for FOLKS... " >&6; }
18412 if test -n "$FOLKS_CFLAGS"; then
18413 pkg_cv_FOLKS_CFLAGS="$FOLKS_CFLAGS"
18414 elif test -n "$PKG_CONFIG"; then
18415 if test -n "$PKG_CONFIG" && \
18416 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"folks folks-eds\""; } >&5
18417 ($PKG_CONFIG --exists --print-errors "folks folks-eds") 2>&5
18419 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18420 test $ac_status = 0; }; then
18421 pkg_cv_FOLKS_CFLAGS=`$PKG_CONFIG --cflags "folks folks-eds" 2>/dev/null`
18422 test "x$?" != "x0" && pkg_failed=yes
18429 if test -n "$FOLKS_LIBS"; then
18430 pkg_cv_FOLKS_LIBS="$FOLKS_LIBS"
18431 elif test -n "$PKG_CONFIG"; then
18432 if test -n "$PKG_CONFIG" && \
18433 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"folks folks-eds\""; } >&5
18434 ($PKG_CONFIG --exists --print-errors "folks folks-eds") 2>&5
18436 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18437 test $ac_status = 0; }; then
18438 pkg_cv_FOLKS_LIBS=`$PKG_CONFIG --libs "folks folks-eds" 2>/dev/null`
18439 test "x$?" != "x0" && pkg_failed=yes
18449 if test $pkg_failed = yes; then
18450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18451 $as_echo "no" >&6; }
18453 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18454 _pkg_short_errors_supported=yes
18456 _pkg_short_errors_supported=no
18458 if test $_pkg_short_errors_supported = yes; then
18459 FOLKS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "folks folks-eds" 2>&1`
18461 FOLKS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "folks folks-eds" 2>&1`
18463 # Put the nasty error message in config.log where it belongs
18464 echo "$FOLKS_PKG_ERRORS" >&5
18466 as_fn_error $? "Package requirements (folks folks-eds) were not met:
18470 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18471 installed software in a non-standard prefix.
18473 Alternatively, you may set the environment variables FOLKS_CFLAGS
18474 and FOLKS_LIBS to avoid the need to call pkg-config.
18475 See the pkg-config man page for more details." "$LINENO" 5
18476 elif test $pkg_failed = untried; then
18477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18478 $as_echo "no" >&6; }
18479 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18480 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18481 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18482 is in your PATH or set the PKG_CONFIG environment variable to the full
18483 path to pkg-config.
18485 Alternatively, you may set the environment variables FOLKS_CFLAGS
18486 and FOLKS_LIBS to avoid the need to call pkg-config.
18487 See the pkg-config man page for more details.
18489 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18490 See \`config.log' for more details" "$LINENO" 5; }
18492 FOLKS_CFLAGS=$pkg_cv_FOLKS_CFLAGS
18493 FOLKS_LIBS=$pkg_cv_FOLKS_LIBS
18494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18495 $as_echo "yes" >&6; }
18499 $as_echo "#define ENABLE_DBUS_PIM 1" >>confdefs.h
18501 DBUS_PIM_PLUGIN=$enable_dbus_pim
18504 case "$enable_dbus_pim" in
18508 # Check whether --with-boost-locale was given.
18509 if test "${with_boost_locale+set}" = set; then :
18510 withval=$with_boost_locale;
18511 if test "$withval" = "no"; then
18513 elif test "$withval" = "yes"; then
18515 ax_boost_user_locale_lib=""
18518 ax_boost_user_locale_lib="$withval"
18527 if test "x$want_boost" = "xyes"; then
18530 CPPFLAGS_SAVED="$CPPFLAGS"
18531 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
18534 LDFLAGS_SAVED="$LDFLAGS"
18535 LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
18538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the Boost::Locale library is available" >&5
18539 $as_echo_n "checking whether the Boost::Locale library is available... " >&6; }
18540 if ${ax_cv_boost_locale+:} false; then :
18541 $as_echo_n "(cached) " >&6
18544 ac_cpp='$CXXCPP $CPPFLAGS'
18545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18549 CXXFLAGS_SAVE=$CXXFLAGS
18551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18552 /* end confdefs.h. */
18553 #include <boost/locale.hpp>
18557 boost::locale::generator gen;
18558 std::locale::global(gen(""));
18563 if ac_fn_cxx_try_compile "$LINENO"; then :
18564 ax_cv_boost_locale=yes
18566 ax_cv_boost_locale=no
18568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18569 CXXFLAGS=$CXXFLAGS_SAVE
18571 ac_cpp='$CPP $CPPFLAGS'
18572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_boost_locale" >&5
18579 $as_echo "$ax_cv_boost_locale" >&6; }
18580 if test "x$ax_cv_boost_locale" = "xyes"; then
18584 $as_echo "#define HAVE_BOOST_LOCALE /**/" >>confdefs.h
18586 BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/[^\/]*//'`
18588 LDFLAGS_SAVE=$LDFLAGS
18589 if test "x$ax_boost_user_locale_lib" = "x"; then
18590 for libextension in `ls $BOOSTLIBDIR/libboost_locale*.so* $BOOSTLIBDIR/libboost_locale*.dylib* $BOOSTLIBDIR/libboost_locale*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_locale.*\)\.so.*$;\1;' -e 's;^lib\(boost_locale.*\)\.dylib.*$;\1;' -e 's;^lib\(boost_locale.*\)\.a.*$;\1;'` ; do
18591 ax_lib=${libextension}
18592 as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
18593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -l$ax_lib" >&5
18594 $as_echo_n "checking for exit in -l$ax_lib... " >&6; }
18595 if eval \${$as_ac_Lib+:} false; then :
18596 $as_echo_n "(cached) " >&6
18598 ac_check_lib_save_LIBS=$LIBS
18599 LIBS="-l$ax_lib $LIBS"
18600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18601 /* end confdefs.h. */
18603 /* Override any GCC internal prototype to avoid an error.
18604 Use char because int might match the return type of a GCC
18605 builtin and then its argument prototype would still apply. */
18618 if ac_fn_c_try_link "$LINENO"; then :
18619 eval "$as_ac_Lib=yes"
18621 eval "$as_ac_Lib=no"
18623 rm -f core conftest.err conftest.$ac_objext \
18624 conftest$ac_exeext conftest.$ac_ext
18625 LIBS=$ac_check_lib_save_LIBS
18627 eval ac_res=\$$as_ac_Lib
18628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18629 $as_echo "$ac_res" >&6; }
18630 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
18631 BOOST_LOCALE_LIB="-l$ax_lib"; link_locale="yes"; break
18637 if test "x$link_locale" != "xyes"; then
18638 for libextension in `ls $BOOSTLIBDIR/boost_locale*.dll* $BOOSTLIBDIR/boost_locale*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_locale.*\)\.dll.*$;\1;' -e 's;^\(boost_locale.*\)\.a.*$;\1;'` boost_locale; do
18639 ax_lib=${libextension}
18640 as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
18641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -l$ax_lib" >&5
18642 $as_echo_n "checking for exit in -l$ax_lib... " >&6; }
18643 if eval \${$as_ac_Lib+:} false; then :
18644 $as_echo_n "(cached) " >&6
18646 ac_check_lib_save_LIBS=$LIBS
18647 LIBS="-l$ax_lib $LIBS"
18648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18649 /* end confdefs.h. */
18651 /* Override any GCC internal prototype to avoid an error.
18652 Use char because int might match the return type of a GCC
18653 builtin and then its argument prototype would still apply. */
18666 if ac_fn_c_try_link "$LINENO"; then :
18667 eval "$as_ac_Lib=yes"
18669 eval "$as_ac_Lib=no"
18671 rm -f core conftest.err conftest.$ac_objext \
18672 conftest$ac_exeext conftest.$ac_ext
18673 LIBS=$ac_check_lib_save_LIBS
18675 eval ac_res=\$$as_ac_Lib
18676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18677 $as_echo "$ac_res" >&6; }
18678 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
18679 BOOST_LOCALE_LIB="-l$ax_lib"; link_locale="yes"; break
18688 for ax_lib in $ax_boost_user_locale_lib boost_locale-$ax_boost_user_locale_lib; do
18689 as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
18690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -l$ax_lib" >&5
18691 $as_echo_n "checking for exit in -l$ax_lib... " >&6; }
18692 if eval \${$as_ac_Lib+:} false; then :
18693 $as_echo_n "(cached) " >&6
18695 ac_check_lib_save_LIBS=$LIBS
18696 LIBS="-l$ax_lib $LIBS"
18697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18698 /* end confdefs.h. */
18700 /* Override any GCC internal prototype to avoid an error.
18701 Use char because int might match the return type of a GCC
18702 builtin and then its argument prototype would still apply. */
18715 if ac_fn_c_try_link "$LINENO"; then :
18716 eval "$as_ac_Lib=yes"
18718 eval "$as_ac_Lib=no"
18720 rm -f core conftest.err conftest.$ac_objext \
18721 conftest$ac_exeext conftest.$ac_ext
18722 LIBS=$ac_check_lib_save_LIBS
18724 eval ac_res=\$$as_ac_Lib
18725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18726 $as_echo "$ac_res" >&6; }
18727 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
18728 BOOST_LOCALE_LIB="-l$ax_lib"; link_locale="yes"; break
18736 if test "x$ax_lib" = "x"; then
18737 as_fn_error $? "Could not find a version of the library!" "$LINENO" 5
18739 if test "x$link_locale" = "xno"; then
18740 as_fn_error $? "Could not link against $ax_lib !" "$LINENO" 5
18744 CPPFLAGS="$CPPFLAGS_SAVED"
18745 LDFLAGS="$LDFLAGS_SAVED"
18748 # AX_BOOST_LOCALE incorrectly puts -L/... into LDFLAGS.
18749 # That's broken because it then overrides the search path
18750 # for *all* libraries in a link, not just for boost. Fix
18751 # this by putting the LDFLAGS before the lib and leaving
18752 # DBUS_PIM_PLUGIN_LDFLAGS empty (for now - might have to
18753 # be revised if there ever are any boost flags which need
18754 # to go to the start of the link line).
18755 DBUS_PIM_PLUGIN_LIBS='$(BOOST_LDFLAGS) $(BOOST_LOCALE_LIB)'
18756 DBUS_PIM_PLUGIN_LDFLAGS=
18757 # We need to call ICU directly for the Han->Latin transformation.
18760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ICU" >&5
18761 $as_echo_n "checking for ICU... " >&6; }
18763 if test -n "$ICU_CFLAGS"; then
18764 pkg_cv_ICU_CFLAGS="$ICU_CFLAGS"
18765 elif test -n "$PKG_CONFIG"; then
18766 if test -n "$PKG_CONFIG" && \
18767 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"icu-uc icu-i18n\""; } >&5
18768 ($PKG_CONFIG --exists --print-errors "icu-uc icu-i18n") 2>&5
18770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18771 test $ac_status = 0; }; then
18772 pkg_cv_ICU_CFLAGS=`$PKG_CONFIG --cflags "icu-uc icu-i18n" 2>/dev/null`
18773 test "x$?" != "x0" && pkg_failed=yes
18780 if test -n "$ICU_LIBS"; then
18781 pkg_cv_ICU_LIBS="$ICU_LIBS"
18782 elif test -n "$PKG_CONFIG"; then
18783 if test -n "$PKG_CONFIG" && \
18784 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"icu-uc icu-i18n\""; } >&5
18785 ($PKG_CONFIG --exists --print-errors "icu-uc icu-i18n") 2>&5
18787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18788 test $ac_status = 0; }; then
18789 pkg_cv_ICU_LIBS=`$PKG_CONFIG --libs "icu-uc icu-i18n" 2>/dev/null`
18790 test "x$?" != "x0" && pkg_failed=yes
18800 if test $pkg_failed = yes; then
18801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18802 $as_echo "no" >&6; }
18804 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18805 _pkg_short_errors_supported=yes
18807 _pkg_short_errors_supported=no
18809 if test $_pkg_short_errors_supported = yes; then
18810 ICU_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "icu-uc icu-i18n" 2>&1`
18812 ICU_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "icu-uc icu-i18n" 2>&1`
18814 # Put the nasty error message in config.log where it belongs
18815 echo "$ICU_PKG_ERRORS" >&5
18817 as_fn_error $? "Package requirements (icu-uc icu-i18n) were not met:
18821 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18822 installed software in a non-standard prefix.
18824 Alternatively, you may set the environment variables ICU_CFLAGS
18825 and ICU_LIBS to avoid the need to call pkg-config.
18826 See the pkg-config man page for more details." "$LINENO" 5
18827 elif test $pkg_failed = untried; then
18828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18829 $as_echo "no" >&6; }
18830 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18831 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18832 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18833 is in your PATH or set the PKG_CONFIG environment variable to the full
18834 path to pkg-config.
18836 Alternatively, you may set the environment variables ICU_CFLAGS
18837 and ICU_LIBS to avoid the need to call pkg-config.
18838 See the pkg-config man page for more details.
18840 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18841 See \`config.log' for more details" "$LINENO" 5; }
18843 ICU_CFLAGS=$pkg_cv_ICU_CFLAGS
18844 ICU_LIBS=$pkg_cv_ICU_LIBS
18845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18846 $as_echo "yes" >&6; }
18855 # http://code.google.com/p/libphonenumber/
18857 ac_cpp='$CXXCPP $CPPFLAGS'
18858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18862 SAVED_CPPFLAGS=$CPPFLAGS
18863 if test ! "$PHONENUMBERS_CFLAGS"; then
18864 PHONENUMBERS_CFLAGS=-DI18N_PHONENUMBERS_USE_BOOST
18866 CPPFLAGS="$CPPFLAGS ${PHONENUMBERS_CFLAGS}"
18868 for ac_header in phonenumbers/phonenumberutil.h
18870 ac_fn_cxx_check_header_mongrel "$LINENO" "phonenumbers/phonenumberutil.h" "ac_cv_header_phonenumbers_phonenumberutil_h" "$ac_includes_default"
18871 if test "x$ac_cv_header_phonenumbers_phonenumberutil_h" = xyes; then :
18872 cat >>confdefs.h <<_ACEOF
18873 #define HAVE_PHONENUMBERS_PHONENUMBERUTIL_H 1
18881 if test ! "$PHONENUMBERS_LIBS"; then
18882 PHONENUMBERS_LIBS=-lphonenumber
18884 LIBS="$LIBS $PHONENUMBERS_LIBS"
18885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18886 /* end confdefs.h. */
18887 #include <phonenumbers/phonenumberutil.h>
18891 i18n::phonenumbers::PhoneNumberUtil::GetInstance()
18896 if ac_fn_cxx_try_link "$LINENO"; then :
18899 as_fn_error $? "libphonebook not found, set PHONENUMBERS_CFLAGS and PHONENUMBERS_LIBS." "$LINENO" 5
18901 rm -f core conftest.err conftest.$ac_objext \
18902 conftest$ac_exeext conftest.$ac_ext
18906 CPPFLAGS=$SAVED_CPPFLAGS
18910 if test "$enable_notify_compat" = "yes"; then
18911 NOTIFY_COMPATIBILITY_TRUE=
18912 NOTIFY_COMPATIBILITY_FALSE='#'
18914 NOTIFY_COMPATIBILITY_TRUE='#'
18915 NOTIFY_COMPATIBILITY_FALSE=
18918 if test "$enable_dbus_pim" != "no"; then
18919 COND_DBUS_PIM_TRUE=
18920 COND_DBUS_PIM_FALSE='#'
18922 COND_DBUS_PIM_TRUE='#'
18923 COND_DBUS_PIM_FALSE=
18935 DBUS_SERVICES_DIR="${datadir}/dbus-1/services"
18938 cat >>confdefs.h <<_ACEOF
18939 #define DBUS_SERVICES_DIR "$DBUS_SERVICES_DIR"
18943 if test "$enable_gui" != "no" || test "$enable_dbus_service" != "no"; then
18945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
18946 $as_echo_n "checking whether NLS is requested... " >&6; }
18947 # Check whether --enable-nls was given.
18948 if test "${enable_nls+set}" = set; then :
18949 enableval=$enable_nls; USE_NLS=$enableval
18954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
18955 $as_echo "$USE_NLS" >&6; }
18960 case "$am__api_version" in
18962 as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
18968 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.37.1 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
18969 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
18970 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
18971 if test -n "0.37.1"; then
18972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.37.1" >&5
18973 $as_echo_n "checking for intltool >= 0.37.1... " >&6; }
18974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
18975 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
18976 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
18977 as_fn_error $? "Your intltool is too old. You need intltool 0.37.1 or later." "$LINENO" 5
18980 # Extract the first word of "intltool-update", so it can be a program name with args.
18981 set dummy intltool-update; ac_word=$2
18982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18983 $as_echo_n "checking for $ac_word... " >&6; }
18984 if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
18985 $as_echo_n "(cached) " >&6
18987 case $INTLTOOL_UPDATE in
18989 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
18992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18993 for as_dir in $PATH
18996 test -z "$as_dir" && as_dir=.
18997 for ac_exec_ext in '' $ac_executable_extensions; do
18998 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18999 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
19000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19010 INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
19011 if test -n "$INTLTOOL_UPDATE"; then
19012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
19013 $as_echo "$INTLTOOL_UPDATE" >&6; }
19015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19016 $as_echo "no" >&6; }
19020 # Extract the first word of "intltool-merge", so it can be a program name with args.
19021 set dummy intltool-merge; ac_word=$2
19022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19023 $as_echo_n "checking for $ac_word... " >&6; }
19024 if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
19025 $as_echo_n "(cached) " >&6
19027 case $INTLTOOL_MERGE in
19029 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
19032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19033 for as_dir in $PATH
19036 test -z "$as_dir" && as_dir=.
19037 for ac_exec_ext in '' $ac_executable_extensions; do
19038 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19039 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
19040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19050 INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
19051 if test -n "$INTLTOOL_MERGE"; then
19052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
19053 $as_echo "$INTLTOOL_MERGE" >&6; }
19055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19056 $as_echo "no" >&6; }
19060 # Extract the first word of "intltool-extract", so it can be a program name with args.
19061 set dummy intltool-extract; ac_word=$2
19062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19063 $as_echo_n "checking for $ac_word... " >&6; }
19064 if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
19065 $as_echo_n "(cached) " >&6
19067 case $INTLTOOL_EXTRACT in
19069 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
19072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19073 for as_dir in $PATH
19076 test -z "$as_dir" && as_dir=.
19077 for ac_exec_ext in '' $ac_executable_extensions; do
19078 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19079 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
19080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19090 INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
19091 if test -n "$INTLTOOL_EXTRACT"; then
19092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
19093 $as_echo "$INTLTOOL_EXTRACT" >&6; }
19095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19096 $as_echo "no" >&6; }
19100 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
19101 as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
19104 if test -z "$AM_DEFAULT_VERBOSITY"; then
19105 AM_DEFAULT_VERBOSITY=1
19109 INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
19110 INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
19111 INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;'
19116 INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
19117 intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
19118 intltool__v_merge_options_0='-q'
19123 INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
19124 INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
19125 INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
19126 INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
19127 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@'
19128 INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
19129 INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
19130 INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
19131 INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
19132 INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
19133 INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
19134 if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
19135 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@'
19137 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'
19139 INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
19140 INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
19141 INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
19142 INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
19143 INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
19144 INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
19145 INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
19243 # Check the gettext tools to make sure they are GNU
19244 # Extract the first word of "xgettext", so it can be a program name with args.
19245 set dummy xgettext; ac_word=$2
19246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19247 $as_echo_n "checking for $ac_word... " >&6; }
19248 if ${ac_cv_path_XGETTEXT+:} false; then :
19249 $as_echo_n "(cached) " >&6
19253 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
19256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19257 for as_dir in $PATH
19260 test -z "$as_dir" && as_dir=.
19261 for ac_exec_ext in '' $ac_executable_extensions; do
19262 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19263 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
19264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19274 XGETTEXT=$ac_cv_path_XGETTEXT
19275 if test -n "$XGETTEXT"; then
19276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
19277 $as_echo "$XGETTEXT" >&6; }
19279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19280 $as_echo "no" >&6; }
19284 # Extract the first word of "msgmerge", so it can be a program name with args.
19285 set dummy msgmerge; ac_word=$2
19286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19287 $as_echo_n "checking for $ac_word... " >&6; }
19288 if ${ac_cv_path_MSGMERGE+:} false; then :
19289 $as_echo_n "(cached) " >&6
19293 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
19296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19297 for as_dir in $PATH
19300 test -z "$as_dir" && as_dir=.
19301 for ac_exec_ext in '' $ac_executable_extensions; do
19302 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19303 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
19304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19314 MSGMERGE=$ac_cv_path_MSGMERGE
19315 if test -n "$MSGMERGE"; then
19316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
19317 $as_echo "$MSGMERGE" >&6; }
19319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19320 $as_echo "no" >&6; }
19324 # Extract the first word of "msgfmt", so it can be a program name with args.
19325 set dummy msgfmt; ac_word=$2
19326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19327 $as_echo_n "checking for $ac_word... " >&6; }
19328 if ${ac_cv_path_MSGFMT+:} false; then :
19329 $as_echo_n "(cached) " >&6
19333 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
19336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19337 for as_dir in $PATH
19340 test -z "$as_dir" && as_dir=.
19341 for ac_exec_ext in '' $ac_executable_extensions; do
19342 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19343 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
19344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19354 MSGFMT=$ac_cv_path_MSGFMT
19355 if test -n "$MSGFMT"; then
19356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
19357 $as_echo "$MSGFMT" >&6; }
19359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19360 $as_echo "no" >&6; }
19364 # Extract the first word of "gmsgfmt", so it can be a program name with args.
19365 set dummy gmsgfmt; ac_word=$2
19366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19367 $as_echo_n "checking for $ac_word... " >&6; }
19368 if ${ac_cv_path_GMSGFMT+:} false; then :
19369 $as_echo_n "(cached) " >&6
19373 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
19376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19377 for as_dir in $PATH
19380 test -z "$as_dir" && as_dir=.
19381 for ac_exec_ext in '' $ac_executable_extensions; do
19382 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19383 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
19384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19391 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
19395 GMSGFMT=$ac_cv_path_GMSGFMT
19396 if test -n "$GMSGFMT"; then
19397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
19398 $as_echo "$GMSGFMT" >&6; }
19400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19401 $as_echo "no" >&6; }
19405 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
19406 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
19408 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
19409 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
19410 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
19411 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
19412 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
19415 # Extract the first word of "perl", so it can be a program name with args.
19416 set dummy perl; ac_word=$2
19417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19418 $as_echo_n "checking for $ac_word... " >&6; }
19419 if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
19420 $as_echo_n "(cached) " >&6
19422 case $INTLTOOL_PERL in
19424 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
19427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19428 for as_dir in $PATH
19431 test -z "$as_dir" && as_dir=.
19432 for ac_exec_ext in '' $ac_executable_extensions; do
19433 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19434 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
19435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19445 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
19446 if test -n "$INTLTOOL_PERL"; then
19447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
19448 $as_echo "$INTLTOOL_PERL" >&6; }
19450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19451 $as_echo "no" >&6; }
19455 if test -z "$INTLTOOL_PERL"; then
19456 as_fn_error $? "perl not found" "$LINENO" 5
19458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
19459 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
19460 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
19461 if test $? -ne 0; then
19462 as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
19464 IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
19465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
19466 $as_echo "$IT_PERL_VERSION" >&6; }
19468 if test "x" != "xno-xml"; then
19469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
19470 $as_echo_n "checking for XML::Parser... " >&6; }
19471 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
19472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
19473 $as_echo "ok" >&6; }
19475 as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
19479 # Substitute ALL_LINGUAS so we can use it in po/Makefile
19482 # Set DATADIRNAME correctly if it is not set yet
19483 # (copied from glib-gettext.m4)
19484 if test -z "$DATADIRNAME"; then
19485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19486 /* end confdefs.h. */
19491 extern int _nl_msg_cat_cntr;
19492 return _nl_msg_cat_cntr
19497 if ac_fn_cxx_try_link "$LINENO"; then :
19502 ac_fn_cxx_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
19503 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
19515 rm -f core conftest.err conftest.$ac_objext \
19516 conftest$ac_exeext conftest.$ac_ext
19523 GETTEXT_PACKAGE=syncevolution
19525 cat >>confdefs.h <<_ACEOF
19526 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
19530 for ac_header in locale.h
19532 ac_fn_cxx_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19533 if test "x$ac_cv_header_locale_h" = xyes; then :
19534 cat >>confdefs.h <<_ACEOF
19535 #define HAVE_LOCALE_H 1
19542 if test $ac_cv_header_locale_h = yes; then
19543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19544 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19545 if ${am_cv_val_LC_MESSAGES+:} false; then :
19546 $as_echo_n "(cached) " >&6
19548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19549 /* end confdefs.h. */
19550 #include <locale.h>
19559 if ac_fn_cxx_try_link "$LINENO"; then :
19560 am_cv_val_LC_MESSAGES=yes
19562 am_cv_val_LC_MESSAGES=no
19564 rm -f core conftest.err conftest.$ac_objext \
19565 conftest$ac_exeext conftest.$ac_ext
19567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
19568 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
19569 if test $am_cv_val_LC_MESSAGES = yes; then
19571 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19578 gt_cv_have_gettext=no
19584 ac_fn_cxx_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
19585 if test "x$ac_cv_header_libintl_h" = xyes; then :
19586 gt_cv_func_dgettext_libintl="no"
19587 libintl_extra_libs=""
19590 # First check in libc
19592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
19593 $as_echo_n "checking for ngettext in libc... " >&6; }
19594 if ${gt_cv_func_ngettext_libc+:} false; then :
19595 $as_echo_n "(cached) " >&6
19597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19598 /* end confdefs.h. */
19600 #include <libintl.h>
19605 return !ngettext ("","", 1)
19610 if ac_fn_cxx_try_link "$LINENO"; then :
19611 gt_cv_func_ngettext_libc=yes
19613 gt_cv_func_ngettext_libc=no
19615 rm -f core conftest.err conftest.$ac_objext \
19616 conftest$ac_exeext conftest.$ac_ext
19619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
19620 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
19622 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
19623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
19624 $as_echo_n "checking for dgettext in libc... " >&6; }
19625 if ${gt_cv_func_dgettext_libc+:} false; then :
19626 $as_echo_n "(cached) " >&6
19628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19629 /* end confdefs.h. */
19631 #include <libintl.h>
19636 return !dgettext ("","")
19641 if ac_fn_cxx_try_link "$LINENO"; then :
19642 gt_cv_func_dgettext_libc=yes
19644 gt_cv_func_dgettext_libc=no
19646 rm -f core conftest.err conftest.$ac_objext \
19647 conftest$ac_exeext conftest.$ac_ext
19650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
19651 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
19654 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
19655 for ac_func in bind_textdomain_codeset
19657 ac_fn_cxx_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
19658 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
19659 cat >>confdefs.h <<_ACEOF
19660 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
19669 # If we don't have everything we want, check in libintl
19671 if test "$gt_cv_func_dgettext_libc" != "yes" \
19672 || test "$gt_cv_func_ngettext_libc" != "yes" \
19673 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
19675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
19676 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
19677 if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
19678 $as_echo_n "(cached) " >&6
19680 ac_check_lib_save_LIBS=$LIBS
19681 LIBS="-lintl $LIBS"
19682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19683 /* end confdefs.h. */
19685 /* Override any GCC internal prototype to avoid an error.
19686 Use char because int might match the return type of a GCC
19687 builtin and then its argument prototype would still apply. */
19691 char bindtextdomain ();
19695 return bindtextdomain ();
19700 if ac_fn_cxx_try_link "$LINENO"; then :
19701 ac_cv_lib_intl_bindtextdomain=yes
19703 ac_cv_lib_intl_bindtextdomain=no
19705 rm -f core conftest.err conftest.$ac_objext \
19706 conftest$ac_exeext conftest.$ac_ext
19707 LIBS=$ac_check_lib_save_LIBS
19709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
19710 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
19711 if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
19712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
19713 $as_echo_n "checking for ngettext in -lintl... " >&6; }
19714 if ${ac_cv_lib_intl_ngettext+:} false; then :
19715 $as_echo_n "(cached) " >&6
19717 ac_check_lib_save_LIBS=$LIBS
19718 LIBS="-lintl $LIBS"
19719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19720 /* end confdefs.h. */
19722 /* Override any GCC internal prototype to avoid an error.
19723 Use char because int might match the return type of a GCC
19724 builtin and then its argument prototype would still apply. */
19732 return ngettext ();
19737 if ac_fn_cxx_try_link "$LINENO"; then :
19738 ac_cv_lib_intl_ngettext=yes
19740 ac_cv_lib_intl_ngettext=no
19742 rm -f core conftest.err conftest.$ac_objext \
19743 conftest$ac_exeext conftest.$ac_ext
19744 LIBS=$ac_check_lib_save_LIBS
19746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
19747 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
19748 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
19749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
19750 $as_echo_n "checking for dgettext in -lintl... " >&6; }
19751 if ${ac_cv_lib_intl_dgettext+:} false; then :
19752 $as_echo_n "(cached) " >&6
19754 ac_check_lib_save_LIBS=$LIBS
19755 LIBS="-lintl $LIBS"
19756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19757 /* end confdefs.h. */
19759 /* Override any GCC internal prototype to avoid an error.
19760 Use char because int might match the return type of a GCC
19761 builtin and then its argument prototype would still apply. */
19769 return dgettext ();
19774 if ac_fn_cxx_try_link "$LINENO"; then :
19775 ac_cv_lib_intl_dgettext=yes
19777 ac_cv_lib_intl_dgettext=no
19779 rm -f core conftest.err conftest.$ac_objext \
19780 conftest$ac_exeext conftest.$ac_ext
19781 LIBS=$ac_check_lib_save_LIBS
19783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
19784 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
19785 if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
19786 gt_cv_func_dgettext_libintl=yes
19794 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
19795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
19796 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
19797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
19799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
19800 $as_echo_n "checking for ngettext in -lintl... " >&6; }
19801 if ${ac_cv_lib_intl_ngettext+:} false; then :
19802 $as_echo_n "(cached) " >&6
19804 ac_check_lib_save_LIBS=$LIBS
19805 LIBS="-lintl -liconv $LIBS"
19806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19807 /* end confdefs.h. */
19809 /* Override any GCC internal prototype to avoid an error.
19810 Use char because int might match the return type of a GCC
19811 builtin and then its argument prototype would still apply. */
19819 return ngettext ();
19824 if ac_fn_cxx_try_link "$LINENO"; then :
19825 ac_cv_lib_intl_ngettext=yes
19827 ac_cv_lib_intl_ngettext=no
19829 rm -f core conftest.err conftest.$ac_objext \
19830 conftest$ac_exeext conftest.$ac_ext
19831 LIBS=$ac_check_lib_save_LIBS
19833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
19834 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
19835 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
19836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
19837 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
19838 if ${ac_cv_lib_intl_dcgettext+:} false; then :
19839 $as_echo_n "(cached) " >&6
19841 ac_check_lib_save_LIBS=$LIBS
19842 LIBS="-lintl -liconv $LIBS"
19843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19844 /* end confdefs.h. */
19846 /* Override any GCC internal prototype to avoid an error.
19847 Use char because int might match the return type of a GCC
19848 builtin and then its argument prototype would still apply. */
19856 return dcgettext ();
19861 if ac_fn_cxx_try_link "$LINENO"; then :
19862 ac_cv_lib_intl_dcgettext=yes
19864 ac_cv_lib_intl_dcgettext=no
19866 rm -f core conftest.err conftest.$ac_objext \
19867 conftest$ac_exeext conftest.$ac_ext
19868 LIBS=$ac_check_lib_save_LIBS
19870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
19871 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
19872 if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
19873 gt_cv_func_dgettext_libintl=yes
19874 libintl_extra_libs=-liconv
19886 # If we found libintl, then check in it for bind_textdomain_codeset();
19887 # we'll prefer libc if neither have bind_textdomain_codeset(),
19888 # and both have dgettext and ngettext
19890 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
19891 glib_save_LIBS="$LIBS"
19892 LIBS="$LIBS -lintl $libintl_extra_libs"
19893 unset ac_cv_func_bind_textdomain_codeset
19894 for ac_func in bind_textdomain_codeset
19896 ac_fn_cxx_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
19897 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
19898 cat >>confdefs.h <<_ACEOF
19899 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
19905 LIBS="$glib_save_LIBS"
19907 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
19908 gt_cv_func_dgettext_libc=no
19910 if test "$gt_cv_func_dgettext_libc" = "yes" \
19911 && test "$gt_cv_func_ngettext_libc" = "yes"; then
19912 gt_cv_func_dgettext_libintl=no
19918 if test "$gt_cv_func_dgettext_libc" = "yes" \
19919 || test "$gt_cv_func_dgettext_libintl" = "yes"; then
19920 gt_cv_have_gettext=yes
19923 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
19924 INTLLIBS="-lintl $libintl_extra_libs"
19927 if test "$gt_cv_have_gettext" = "yes"; then
19929 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
19931 # Extract the first word of "msgfmt", so it can be a program name with args.
19932 set dummy msgfmt; ac_word=$2
19933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19934 $as_echo_n "checking for $ac_word... " >&6; }
19935 if ${ac_cv_path_MSGFMT+:} false; then :
19936 $as_echo_n "(cached) " >&6
19940 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
19943 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
19944 for ac_dir in $PATH; do
19945 test -z "$ac_dir" && ac_dir=.
19946 if test -f $ac_dir/$ac_word; then
19947 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
19948 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
19954 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
19958 MSGFMT="$ac_cv_path_MSGFMT"
19959 if test "$MSGFMT" != "no"; then
19960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
19961 $as_echo "$MSGFMT" >&6; }
19963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19964 $as_echo "no" >&6; }
19966 if test "$MSGFMT" != "no"; then
19967 glib_save_LIBS="$LIBS"
19968 LIBS="$LIBS $INTLLIBS"
19969 for ac_func in dcgettext
19971 ac_fn_cxx_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
19972 if test "x$ac_cv_func_dcgettext" = xyes; then :
19973 cat >>confdefs.h <<_ACEOF
19974 #define HAVE_DCGETTEXT 1
19981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
19982 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
19983 cat >conftest.foo <<_ACEOF
19987 "Content-Type: text/plain; charset=UTF-8\n"
19988 "Project-Id-Version: test 1.0\n"
19989 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
19990 "Last-Translator: test <foo@bar.xx>\n"
19991 "Language-Team: C <LL@li.org>\n"
19992 "MIME-Version: 1.0\n"
19993 "Content-Transfer-Encoding: 8bit\n"
19996 if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
19997 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
19999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20000 test $ac_status = 0; }; then
20001 MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20002 $as_echo "yes" >&6; }
20003 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20004 $as_echo "no" >&6; }
20005 echo "$as_me: failed input was:" >&5
20006 sed 's/^/| /' conftest.foo >&5
20009 # Extract the first word of "gmsgfmt", so it can be a program name with args.
20010 set dummy gmsgfmt; ac_word=$2
20011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20012 $as_echo_n "checking for $ac_word... " >&6; }
20013 if ${ac_cv_path_GMSGFMT+:} false; then :
20014 $as_echo_n "(cached) " >&6
20018 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
20021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20022 for as_dir in $PATH
20025 test -z "$as_dir" && as_dir=.
20026 for ac_exec_ext in '' $ac_executable_extensions; do
20027 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20028 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
20029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20036 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
20040 GMSGFMT=$ac_cv_path_GMSGFMT
20041 if test -n "$GMSGFMT"; then
20042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
20043 $as_echo "$GMSGFMT" >&6; }
20045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20046 $as_echo "no" >&6; }
20050 # Extract the first word of "xgettext", so it can be a program name with args.
20051 set dummy xgettext; ac_word=$2
20052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20053 $as_echo_n "checking for $ac_word... " >&6; }
20054 if ${ac_cv_path_XGETTEXT+:} false; then :
20055 $as_echo_n "(cached) " >&6
20057 case "$XGETTEXT" in
20059 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
20062 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
20063 for ac_dir in $PATH; do
20064 test -z "$ac_dir" && ac_dir=.
20065 if test -f $ac_dir/$ac_word; then
20066 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
20067 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
20073 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
20077 XGETTEXT="$ac_cv_path_XGETTEXT"
20078 if test "$XGETTEXT" != ":"; then
20079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
20080 $as_echo "$XGETTEXT" >&6; }
20082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20083 $as_echo "no" >&6; }
20086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20087 /* end confdefs.h. */
20092 extern int _nl_msg_cat_cntr;
20093 return _nl_msg_cat_cntr
20098 if ac_fn_cxx_try_link "$LINENO"; then :
20104 ac_fn_cxx_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
20105 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
20124 rm -f core conftest.err conftest.$ac_objext \
20125 conftest$ac_exeext conftest.$ac_ext
20126 LIBS="$glib_save_LIBS"
20129 gt_cv_have_gettext=no
20137 if test "$gt_cv_have_gettext" = "yes" ; then
20139 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
20143 if test "$XGETTEXT" != ":"; then
20144 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
20147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
20148 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
20153 # We need to process the po/ directory.
20156 ac_config_commands="$ac_config_commands default-1"
20159 for lang in $ALL_LINGUAS; do
20160 GMOFILES="$GMOFILES $lang.gmo"
20161 POFILES="$POFILES $lang.po"
20176 if test "$gt_cv_have_gettext" = "yes"; then
20177 if test "x$ALL_LINGUAS" = "x"; then
20180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
20181 $as_echo_n "checking for catalogs to be installed... " >&6; }
20183 for presentlang in $ALL_LINGUAS; do
20185 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
20186 desiredlanguages="$LINGUAS"
20188 desiredlanguages="$ALL_LINGUAS"
20190 for desiredlang in $desiredlanguages; do
20191 # Use the presentlang catalog if desiredlang is
20192 # a. equal to presentlang, or
20193 # b. a variant of presentlang (because in this case,
20194 # presentlang can be used as a fallback for messages
20195 # which are not translated in the desiredlang catalog).
20196 case "$desiredlang" in
20197 "$presentlang"*) useit=yes;;
20200 if test $useit = yes; then
20201 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
20204 LINGUAS=$NEW_LINGUAS
20205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
20206 $as_echo "$LINGUAS" >&6; }
20209 if test -n "$LINGUAS"; then
20210 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
20215 if test -n "$ac_aux_dir"; then
20216 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
20218 if test -z "$MKINSTALLDIRS"; then
20219 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
20223 test -d po || mkdir po
20224 if test "x$srcdir" != "x."; then
20225 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
20226 posrcprefix="$srcdir/"
20228 posrcprefix="../$srcdir/"
20234 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
20235 < $srcdir/po/POTFILES.in > po/POTFILES
20237 SYNCEVOLUTION_LOCALEDIR=${datadir}/locale
20240 # decide which sync-ui(s) we are building:
20241 # sync-ui (in either GTK or Moblin mode) or both (in separate binaries)
20243 if test $gtk_version = "gtk+-3.0"; then
20244 gtk_dir=src/gtk3-ui
20249 case $enable_gui in
20250 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";;
20251 gtk|moblin) GUI_PROGRAMS=${gtk_dir}'/sync-ui${EXEEXT}'; GUI_DESKTOP_FILES="${gtk_dir}/sync.desktop";;
20252 no) GUI_PROGRAMS=; GUI_DESKTOP_FILES=;;
20253 *) as_fn_error $? "Unknown enable_gui type: '$enable_gui'" "$LINENO" 5
20256 if test $enable_gui != "no"; then
20259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS_GLIB" >&5
20260 $as_echo_n "checking for DBUS_GLIB... " >&6; }
20262 if test -n "$DBUS_GLIB_CFLAGS"; then
20263 pkg_cv_DBUS_GLIB_CFLAGS="$DBUS_GLIB_CFLAGS"
20264 elif test -n "$PKG_CONFIG"; then
20265 if test -n "$PKG_CONFIG" && \
20266 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 glib-2.0\""; } >&5
20267 ($PKG_CONFIG --exists --print-errors "dbus-glib-1 glib-2.0") 2>&5
20269 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20270 test $ac_status = 0; }; then
20271 pkg_cv_DBUS_GLIB_CFLAGS=`$PKG_CONFIG --cflags "dbus-glib-1 glib-2.0" 2>/dev/null`
20272 test "x$?" != "x0" && pkg_failed=yes
20279 if test -n "$DBUS_GLIB_LIBS"; then
20280 pkg_cv_DBUS_GLIB_LIBS="$DBUS_GLIB_LIBS"
20281 elif test -n "$PKG_CONFIG"; then
20282 if test -n "$PKG_CONFIG" && \
20283 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 glib-2.0\""; } >&5
20284 ($PKG_CONFIG --exists --print-errors "dbus-glib-1 glib-2.0") 2>&5
20286 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20287 test $ac_status = 0; }; then
20288 pkg_cv_DBUS_GLIB_LIBS=`$PKG_CONFIG --libs "dbus-glib-1 glib-2.0" 2>/dev/null`
20289 test "x$?" != "x0" && pkg_failed=yes
20299 if test $pkg_failed = yes; then
20300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20301 $as_echo "no" >&6; }
20303 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20304 _pkg_short_errors_supported=yes
20306 _pkg_short_errors_supported=no
20308 if test $_pkg_short_errors_supported = yes; then
20309 DBUS_GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-glib-1 glib-2.0" 2>&1`
20311 DBUS_GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-glib-1 glib-2.0" 2>&1`
20313 # Put the nasty error message in config.log where it belongs
20314 echo "$DBUS_GLIB_PKG_ERRORS" >&5
20316 as_fn_error $? "Package requirements (dbus-glib-1 glib-2.0) were not met:
20318 $DBUS_GLIB_PKG_ERRORS
20320 Consider adjusting the PKG_CONFIG_PATH environment variable if you
20321 installed software in a non-standard prefix.
20323 Alternatively, you may set the environment variables DBUS_GLIB_CFLAGS
20324 and DBUS_GLIB_LIBS to avoid the need to call pkg-config.
20325 See the pkg-config man page for more details." "$LINENO" 5
20326 elif test $pkg_failed = untried; then
20327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20328 $as_echo "no" >&6; }
20329 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20330 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20331 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
20332 is in your PATH or set the PKG_CONFIG environment variable to the full
20333 path to pkg-config.
20335 Alternatively, you may set the environment variables DBUS_GLIB_CFLAGS
20336 and DBUS_GLIB_LIBS to avoid the need to call pkg-config.
20337 See the pkg-config man page for more details.
20339 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20340 See \`config.log' for more details" "$LINENO" 5; }
20342 DBUS_GLIB_CFLAGS=$pkg_cv_DBUS_GLIB_CFLAGS
20343 DBUS_GLIB_LIBS=$pkg_cv_DBUS_GLIB_LIBS
20344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20345 $as_echo "yes" >&6; }
20348 # Extract the first word of "dbus-binding-tool", so it can be a program name with args.
20349 set dummy dbus-binding-tool; ac_word=$2
20350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20351 $as_echo_n "checking for $ac_word... " >&6; }
20352 if ${ac_cv_path_DBUS_BINDING_TOOL+:} false; then :
20353 $as_echo_n "(cached) " >&6
20355 case $DBUS_BINDING_TOOL in
20357 ac_cv_path_DBUS_BINDING_TOOL="$DBUS_BINDING_TOOL" # Let the user override the test with a path.
20360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20361 for as_dir in $PATH
20364 test -z "$as_dir" && as_dir=.
20365 for ac_exec_ext in '' $ac_executable_extensions; do
20366 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20367 ac_cv_path_DBUS_BINDING_TOOL="$as_dir/$ac_word$ac_exec_ext"
20368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20378 DBUS_BINDING_TOOL=$ac_cv_path_DBUS_BINDING_TOOL
20379 if test -n "$DBUS_BINDING_TOOL"; then
20380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_BINDING_TOOL" >&5
20381 $as_echo "$DBUS_BINDING_TOOL" >&6; }
20383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20384 $as_echo "no" >&6; }
20388 # Extract the first word of "glib-genmarshal", so it can be a program name with args.
20389 set dummy glib-genmarshal; ac_word=$2
20390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20391 $as_echo_n "checking for $ac_word... " >&6; }
20392 if ${ac_cv_path_GLIB_GENMARSHAL+:} false; then :
20393 $as_echo_n "(cached) " >&6
20395 case $GLIB_GENMARSHAL in
20397 ac_cv_path_GLIB_GENMARSHAL="$GLIB_GENMARSHAL" # Let the user override the test with a path.
20400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20401 for as_dir in $PATH
20404 test -z "$as_dir" && as_dir=.
20405 for ac_exec_ext in '' $ac_executable_extensions; do
20406 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20407 ac_cv_path_GLIB_GENMARSHAL="$as_dir/$ac_word$ac_exec_ext"
20408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20418 GLIB_GENMARSHAL=$ac_cv_path_GLIB_GENMARSHAL
20419 if test -n "$GLIB_GENMARSHAL"; then
20420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL" >&5
20421 $as_echo "$GLIB_GENMARSHAL" >&6; }
20423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20424 $as_echo "no" >&6; }
20429 gui_modules="$gtk_version glib-2.0 dbus-glib-1 >= 0.60 gio-2.0 gio-unix-2.0"
20430 if test $enable_gui = "moblin"; then
20432 $as_echo "#define USE_MOBLIN_UX 1" >>confdefs.h
20436 # gtk3 provides a switch widget, otherwise we need mx-gtk
20437 if test $gtk_version != "gtk+-3.0" &&
20438 test $enable_gui = "moblin" -o $enable_gui = "all"; then
20439 gui_modules="$gui_modules mx-gtk-1.0"
20443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MX_GTK_0_99_1" >&5
20444 $as_echo_n "checking for MX_GTK_0_99_1... " >&6; }
20446 if test -n "$MX_GTK_0_99_1_CFLAGS"; then
20447 pkg_cv_MX_GTK_0_99_1_CFLAGS="$MX_GTK_0_99_1_CFLAGS"
20448 elif test -n "$PKG_CONFIG"; then
20449 if test -n "$PKG_CONFIG" && \
20450 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mx-gtk-1.0 >= 0.99.1\""; } >&5
20451 ($PKG_CONFIG --exists --print-errors "mx-gtk-1.0 >= 0.99.1") 2>&5
20453 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20454 test $ac_status = 0; }; then
20455 pkg_cv_MX_GTK_0_99_1_CFLAGS=`$PKG_CONFIG --cflags "mx-gtk-1.0 >= 0.99.1" 2>/dev/null`
20456 test "x$?" != "x0" && pkg_failed=yes
20463 if test -n "$MX_GTK_0_99_1_LIBS"; then
20464 pkg_cv_MX_GTK_0_99_1_LIBS="$MX_GTK_0_99_1_LIBS"
20465 elif test -n "$PKG_CONFIG"; then
20466 if test -n "$PKG_CONFIG" && \
20467 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mx-gtk-1.0 >= 0.99.1\""; } >&5
20468 ($PKG_CONFIG --exists --print-errors "mx-gtk-1.0 >= 0.99.1") 2>&5
20470 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20471 test $ac_status = 0; }; then
20472 pkg_cv_MX_GTK_0_99_1_LIBS=`$PKG_CONFIG --libs "mx-gtk-1.0 >= 0.99.1" 2>/dev/null`
20473 test "x$?" != "x0" && pkg_failed=yes
20483 if test $pkg_failed = yes; then
20484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20485 $as_echo "no" >&6; }
20487 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20488 _pkg_short_errors_supported=yes
20490 _pkg_short_errors_supported=no
20492 if test $_pkg_short_errors_supported = yes; then
20493 MX_GTK_0_99_1_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "mx-gtk-1.0 >= 0.99.1" 2>&1`
20495 MX_GTK_0_99_1_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "mx-gtk-1.0 >= 0.99.1" 2>&1`
20497 # Put the nasty error message in config.log where it belongs
20498 echo "$MX_GTK_0_99_1_PKG_ERRORS" >&5
20500 have_mx_gtk_0_99_1="no"
20501 elif test $pkg_failed = untried; then
20502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20503 $as_echo "no" >&6; }
20504 have_mx_gtk_0_99_1="no"
20506 MX_GTK_0_99_1_CFLAGS=$pkg_cv_MX_GTK_0_99_1_CFLAGS
20507 MX_GTK_0_99_1_LIBS=$pkg_cv_MX_GTK_0_99_1_LIBS
20508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20509 $as_echo "yes" >&6; }
20510 have_mx_gtk_0_99_1="yes"
20512 if test $have_mx_gtk_0_99_1 = "yes"; then
20514 $as_echo "#define MX_GTK_0_99_1 1" >>confdefs.h
20521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNIQUE" >&5
20522 $as_echo_n "checking for UNIQUE... " >&6; }
20524 if test -n "$UNIQUE_CFLAGS"; then
20525 pkg_cv_UNIQUE_CFLAGS="$UNIQUE_CFLAGS"
20526 elif test -n "$PKG_CONFIG"; then
20527 if test -n "$PKG_CONFIG" && \
20528 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"unique-1.0\""; } >&5
20529 ($PKG_CONFIG --exists --print-errors "unique-1.0") 2>&5
20531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20532 test $ac_status = 0; }; then
20533 pkg_cv_UNIQUE_CFLAGS=`$PKG_CONFIG --cflags "unique-1.0" 2>/dev/null`
20534 test "x$?" != "x0" && pkg_failed=yes
20541 if test -n "$UNIQUE_LIBS"; then
20542 pkg_cv_UNIQUE_LIBS="$UNIQUE_LIBS"
20543 elif test -n "$PKG_CONFIG"; then
20544 if test -n "$PKG_CONFIG" && \
20545 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"unique-1.0\""; } >&5
20546 ($PKG_CONFIG --exists --print-errors "unique-1.0") 2>&5
20548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20549 test $ac_status = 0; }; then
20550 pkg_cv_UNIQUE_LIBS=`$PKG_CONFIG --libs "unique-1.0" 2>/dev/null`
20551 test "x$?" != "x0" && pkg_failed=yes
20561 if test $pkg_failed = yes; then
20562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20563 $as_echo "no" >&6; }
20565 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20566 _pkg_short_errors_supported=yes
20568 _pkg_short_errors_supported=no
20570 if test $_pkg_short_errors_supported = yes; then
20571 UNIQUE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "unique-1.0" 2>&1`
20573 UNIQUE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "unique-1.0" 2>&1`
20575 # Put the nasty error message in config.log where it belongs
20576 echo "$UNIQUE_PKG_ERRORS" >&5
20579 elif test $pkg_failed = untried; then
20580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20581 $as_echo "no" >&6; }
20584 UNIQUE_CFLAGS=$pkg_cv_UNIQUE_CFLAGS
20585 UNIQUE_LIBS=$pkg_cv_UNIQUE_LIBS
20586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20587 $as_echo "yes" >&6; }
20590 if test $have_unique = "yes"; then
20591 gui_modules="$gui_modules unique-1.0"
20593 $as_echo "#define ENABLE_UNIQUE 1" >>confdefs.h
20599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK_2_18" >&5
20600 $as_echo_n "checking for GTK_2_18... " >&6; }
20602 if test -n "$GTK_2_18_CFLAGS"; then
20603 pkg_cv_GTK_2_18_CFLAGS="$GTK_2_18_CFLAGS"
20604 elif test -n "$PKG_CONFIG"; then
20605 if test -n "$PKG_CONFIG" && \
20606 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
20607 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
20609 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20610 test $ac_status = 0; }; then
20611 pkg_cv_GTK_2_18_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.18" 2>/dev/null`
20612 test "x$?" != "x0" && pkg_failed=yes
20619 if test -n "$GTK_2_18_LIBS"; then
20620 pkg_cv_GTK_2_18_LIBS="$GTK_2_18_LIBS"
20621 elif test -n "$PKG_CONFIG"; then
20622 if test -n "$PKG_CONFIG" && \
20623 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
20624 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
20626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20627 test $ac_status = 0; }; then
20628 pkg_cv_GTK_2_18_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.18" 2>/dev/null`
20629 test "x$?" != "x0" && pkg_failed=yes
20639 if test $pkg_failed = yes; then
20640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20641 $as_echo "no" >&6; }
20643 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20644 _pkg_short_errors_supported=yes
20646 _pkg_short_errors_supported=no
20648 if test $_pkg_short_errors_supported = yes; then
20649 GTK_2_18_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
20651 GTK_2_18_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
20653 # Put the nasty error message in config.log where it belongs
20654 echo "$GTK_2_18_PKG_ERRORS" >&5
20657 elif test $pkg_failed = untried; then
20658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20659 $as_echo "no" >&6; }
20662 GTK_2_18_CFLAGS=$pkg_cv_GTK_2_18_CFLAGS
20663 GTK_2_18_LIBS=$pkg_cv_GTK_2_18_LIBS
20664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20665 $as_echo "yes" >&6; }
20666 have_gtk_2_18="yes"
20668 if test $have_gtk_2_18 = "yes"; then
20670 $as_echo "#define GTK_2_18 1" >>confdefs.h
20676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GUI" >&5
20677 $as_echo_n "checking for GUI... " >&6; }
20679 if test -n "$GUI_CFLAGS"; then
20680 pkg_cv_GUI_CFLAGS="$GUI_CFLAGS"
20681 elif test -n "$PKG_CONFIG"; then
20682 if test -n "$PKG_CONFIG" && \
20683 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gui_modules\""; } >&5
20684 ($PKG_CONFIG --exists --print-errors "$gui_modules") 2>&5
20686 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20687 test $ac_status = 0; }; then
20688 pkg_cv_GUI_CFLAGS=`$PKG_CONFIG --cflags "$gui_modules" 2>/dev/null`
20689 test "x$?" != "x0" && pkg_failed=yes
20696 if test -n "$GUI_LIBS"; then
20697 pkg_cv_GUI_LIBS="$GUI_LIBS"
20698 elif test -n "$PKG_CONFIG"; then
20699 if test -n "$PKG_CONFIG" && \
20700 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gui_modules\""; } >&5
20701 ($PKG_CONFIG --exists --print-errors "$gui_modules") 2>&5
20703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20704 test $ac_status = 0; }; then
20705 pkg_cv_GUI_LIBS=`$PKG_CONFIG --libs "$gui_modules" 2>/dev/null`
20706 test "x$?" != "x0" && pkg_failed=yes
20716 if test $pkg_failed = yes; then
20717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20718 $as_echo "no" >&6; }
20720 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20721 _pkg_short_errors_supported=yes
20723 _pkg_short_errors_supported=no
20725 if test $_pkg_short_errors_supported = yes; then
20726 GUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$gui_modules" 2>&1`
20728 GUI_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$gui_modules" 2>&1`
20730 # Put the nasty error message in config.log where it belongs
20731 echo "$GUI_PKG_ERRORS" >&5
20733 as_fn_error $? "Package requirements ($gui_modules) were not met:
20737 Consider adjusting the PKG_CONFIG_PATH environment variable if you
20738 installed software in a non-standard prefix.
20740 Alternatively, you may set the environment variables GUI_CFLAGS
20741 and GUI_LIBS to avoid the need to call pkg-config.
20742 See the pkg-config man page for more details." "$LINENO" 5
20743 elif test $pkg_failed = untried; then
20744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20745 $as_echo "no" >&6; }
20746 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20747 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20748 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
20749 is in your PATH or set the PKG_CONFIG environment variable to the full
20750 path to pkg-config.
20752 Alternatively, you may set the environment variables GUI_CFLAGS
20753 and GUI_LIBS to avoid the need to call pkg-config.
20754 See the pkg-config man page for more details.
20756 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20757 See \`config.log' for more details" "$LINENO" 5; }
20759 GUI_CFLAGS=$pkg_cv_GUI_CFLAGS
20760 GUI_LIBS=$pkg_cv_GUI_LIBS
20761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20762 $as_echo "yes" >&6; }
20766 elif test "$enable_dbus_service" != "no"; then
20767 # syncevo-dbus-server needs localization
20770 INTLTOOL_UPDATE="true"
20780 # C++ regular expression support is required often enough to make it
20784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PCRECPP" >&5
20785 $as_echo_n "checking for PCRECPP... " >&6; }
20787 if test -n "$PCRECPP_CFLAGS"; then
20788 pkg_cv_PCRECPP_CFLAGS="$PCRECPP_CFLAGS"
20789 elif test -n "$PKG_CONFIG"; then
20790 if test -n "$PKG_CONFIG" && \
20791 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpcrecpp\""; } >&5
20792 ($PKG_CONFIG --exists --print-errors "libpcrecpp") 2>&5
20794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20795 test $ac_status = 0; }; then
20796 pkg_cv_PCRECPP_CFLAGS=`$PKG_CONFIG --cflags "libpcrecpp" 2>/dev/null`
20797 test "x$?" != "x0" && pkg_failed=yes
20804 if test -n "$PCRECPP_LIBS"; then
20805 pkg_cv_PCRECPP_LIBS="$PCRECPP_LIBS"
20806 elif test -n "$PKG_CONFIG"; then
20807 if test -n "$PKG_CONFIG" && \
20808 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpcrecpp\""; } >&5
20809 ($PKG_CONFIG --exists --print-errors "libpcrecpp") 2>&5
20811 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20812 test $ac_status = 0; }; then
20813 pkg_cv_PCRECPP_LIBS=`$PKG_CONFIG --libs "libpcrecpp" 2>/dev/null`
20814 test "x$?" != "x0" && pkg_failed=yes
20824 if test $pkg_failed = yes; then
20825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20826 $as_echo "no" >&6; }
20828 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20829 _pkg_short_errors_supported=yes
20831 _pkg_short_errors_supported=no
20833 if test $_pkg_short_errors_supported = yes; then
20834 PCRECPP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpcrecpp" 2>&1`
20836 PCRECPP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libpcrecpp" 2>&1`
20838 # Put the nasty error message in config.log where it belongs
20839 echo "$PCRECPP_PKG_ERRORS" >&5
20841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpcrecpp" >&5
20842 $as_echo_n "checking for main in -lpcrecpp... " >&6; }
20843 if ${ac_cv_lib_pcrecpp_main+:} false; then :
20844 $as_echo_n "(cached) " >&6
20846 ac_check_lib_save_LIBS=$LIBS
20847 LIBS="-lpcrecpp $LIBS"
20848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20849 /* end confdefs.h. */
20860 if ac_fn_cxx_try_link "$LINENO"; then :
20861 ac_cv_lib_pcrecpp_main=yes
20863 ac_cv_lib_pcrecpp_main=no
20865 rm -f core conftest.err conftest.$ac_objext \
20866 conftest$ac_exeext conftest.$ac_ext
20867 LIBS=$ac_check_lib_save_LIBS
20869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcrecpp_main" >&5
20870 $as_echo "$ac_cv_lib_pcrecpp_main" >&6; }
20871 if test "x$ac_cv_lib_pcrecpp_main" = xyes; then :
20872 PCRECPP_LIBS=-lpcrecpp
20875 as_fn_error $? "pcrecpp not found" "$LINENO" 5
20879 elif test $pkg_failed = untried; then
20880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20881 $as_echo "no" >&6; }
20882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpcrecpp" >&5
20883 $as_echo_n "checking for main in -lpcrecpp... " >&6; }
20884 if ${ac_cv_lib_pcrecpp_main+:} false; then :
20885 $as_echo_n "(cached) " >&6
20887 ac_check_lib_save_LIBS=$LIBS
20888 LIBS="-lpcrecpp $LIBS"
20889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20890 /* end confdefs.h. */
20901 if ac_fn_cxx_try_link "$LINENO"; then :
20902 ac_cv_lib_pcrecpp_main=yes
20904 ac_cv_lib_pcrecpp_main=no
20906 rm -f core conftest.err conftest.$ac_objext \
20907 conftest$ac_exeext conftest.$ac_ext
20908 LIBS=$ac_check_lib_save_LIBS
20910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcrecpp_main" >&5
20911 $as_echo "$ac_cv_lib_pcrecpp_main" >&6; }
20912 if test "x$ac_cv_lib_pcrecpp_main" = xyes; then :
20913 PCRECPP_LIBS=-lpcrecpp
20916 as_fn_error $? "pcrecpp not found" "$LINENO" 5
20921 PCRECPP_CFLAGS=$pkg_cv_PCRECPP_CFLAGS
20922 PCRECPP_LIBS=$pkg_cv_PCRECPP_LIBS
20923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20924 $as_echo "yes" >&6; }
20928 # need rst2man for man pages
20930 # Check whether --with-rst2man was given.
20931 if test "${with_rst2man+set}" = set; then :
20932 withval=$with_rst2man; RST2MAN=$withval
20933 if test "$RST2MAN" = "yes"; then
20934 # Extract the first word of "rst2man", so it can be a program name with args.
20935 set dummy rst2man; ac_word=$2
20936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20937 $as_echo_n "checking for $ac_word... " >&6; }
20938 if ${ac_cv_path_RST2MAN+:} false; then :
20939 $as_echo_n "(cached) " >&6
20943 ac_cv_path_RST2MAN="$RST2MAN" # Let the user override the test with a path.
20946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20947 for as_dir in $PATH
20950 test -z "$as_dir" && as_dir=.
20951 for ac_exec_ext in '' $ac_executable_extensions; do
20952 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20953 ac_cv_path_RST2MAN="$as_dir/$ac_word$ac_exec_ext"
20954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20961 test -z "$ac_cv_path_RST2MAN" && ac_cv_path_RST2MAN=""no""
20965 RST2MAN=$ac_cv_path_RST2MAN
20966 if test -n "$RST2MAN"; then
20967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RST2MAN" >&5
20968 $as_echo "$RST2MAN" >&6; }
20970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20971 $as_echo "no" >&6; }
20976 test "$RST2MAN" = "no" || test -x "$RST2MAN" || as_fn_error $? "--with-rst2man=$RST2MAN: tool not found" "$LINENO" 5
20978 # Extract the first word of "rst2man", so it can be a program name with args.
20979 set dummy rst2man; ac_word=$2
20980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20981 $as_echo_n "checking for $ac_word... " >&6; }
20982 if ${ac_cv_path_RST2MAN+:} false; then :
20983 $as_echo_n "(cached) " >&6
20987 ac_cv_path_RST2MAN="$RST2MAN" # Let the user override the test with a path.
20990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20991 for as_dir in $PATH
20994 test -z "$as_dir" && as_dir=.
20995 for ac_exec_ext in '' $ac_executable_extensions; do
20996 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20997 ac_cv_path_RST2MAN="$as_dir/$ac_word$ac_exec_ext"
20998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21005 test -z "$ac_cv_path_RST2MAN" && ac_cv_path_RST2MAN=""no""
21009 RST2MAN=$ac_cv_path_RST2MAN
21010 if test -n "$RST2MAN"; then
21011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RST2MAN" >&5
21012 $as_echo "$RST2MAN" >&6; }
21014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21015 $as_echo "no" >&6; }
21021 if test "$RST2MAN" != "no"; then
21022 COND_MAN_PAGES_TRUE=
21023 COND_MAN_PAGES_FALSE='#'
21025 COND_MAN_PAGES_TRUE='#'
21026 COND_MAN_PAGES_FALSE=
21030 # need rst2html for HTML version of README
21032 # Check whether --with-rst2html was given.
21033 if test "${with_rst2html+set}" = set; then :
21034 withval=$with_rst2html; RST2HTML=$withval
21035 if test "$RST2HTML" = "yes"; then
21036 # Extract the first word of "rst2html", so it can be a program name with args.
21037 set dummy rst2html; ac_word=$2
21038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21039 $as_echo_n "checking for $ac_word... " >&6; }
21040 if ${ac_cv_path_RST2HTML+:} false; then :
21041 $as_echo_n "(cached) " >&6
21045 ac_cv_path_RST2HTML="$RST2HTML" # Let the user override the test with a path.
21048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21049 for as_dir in $PATH
21052 test -z "$as_dir" && as_dir=.
21053 for ac_exec_ext in '' $ac_executable_extensions; do
21054 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21055 ac_cv_path_RST2HTML="$as_dir/$ac_word$ac_exec_ext"
21056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21063 test -z "$ac_cv_path_RST2HTML" && ac_cv_path_RST2HTML=""no""
21067 RST2HTML=$ac_cv_path_RST2HTML
21068 if test -n "$RST2HTML"; then
21069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RST2HTML" >&5
21070 $as_echo "$RST2HTML" >&6; }
21072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21073 $as_echo "no" >&6; }
21078 test "$RST2HTML" = "no" || test -x "$RST2HTML" || as_fn_error $? "--with-rst2html=$RST2HTML: tool not found" "$LINENO" 5
21080 # Extract the first word of "rst2html", so it can be a program name with args.
21081 set dummy rst2html; ac_word=$2
21082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21083 $as_echo_n "checking for $ac_word... " >&6; }
21084 if ${ac_cv_path_RST2HTML+:} false; then :
21085 $as_echo_n "(cached) " >&6
21089 ac_cv_path_RST2HTML="$RST2HTML" # Let the user override the test with a path.
21092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21093 for as_dir in $PATH
21096 test -z "$as_dir" && as_dir=.
21097 for ac_exec_ext in '' $ac_executable_extensions; do
21098 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21099 ac_cv_path_RST2HTML="$as_dir/$ac_word$ac_exec_ext"
21100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21107 test -z "$ac_cv_path_RST2HTML" && ac_cv_path_RST2HTML=""no""
21111 RST2HTML=$ac_cv_path_RST2HTML
21112 if test -n "$RST2HTML"; then
21113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RST2HTML" >&5
21114 $as_echo "$RST2HTML" >&6; }
21116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21117 $as_echo "no" >&6; }
21123 if test "$RST2HTML" != "no"; then
21124 COND_HTML_README_TRUE=
21125 COND_HTML_README_FALSE='#'
21127 COND_HTML_README_TRUE='#'
21128 COND_HTML_README_FALSE=
21132 # absolute patch to source of Synthesis client library
21133 SYNTHESIS_SRC=no-synthesis-source
21135 if test "$SYNTHESISSRC" && test "$SYNTHESISSRC" != "none"; then
21136 # default: checkout a copy of the sources, remove it during maintainer-clean and distclean
21137 CLEAN_CLIENT_SRC=synthesis-workdir
21138 SYNTHESIS_SRC=$PWD/src/synthesis-workdir
21140 { $as_echo "$as_me:${as_lineno-$LINENO}: updating the content of $SYNTHESIS_SRC from $SYNTHESISSRC " >&5
21141 $as_echo "$as_me: updating the content of $SYNTHESIS_SRC from $SYNTHESISSRC " >&6;}
21142 case "$SYNTHESISSRC" in
21143 *.git) protocol=git;;
21144 *://*) protocol="`echo $SYNTHESISSRC | sed -e 's;://.*;;'`";;
21145 *) protocol="file";;
21151 # use existing copy of the sources
21153 case "$SYNTHESISSRC" in
21154 /*) SYNTHESIS_SRC="$SYNTHESISSRC";;
21155 *) SYNTHESIS_SRC="$PWD/$SYNTHESISSRC";;
21159 SYNTHESISSRCREV="$SYNTHESISSRC"
21160 if test "$REVISION"; then
21161 revarg="-r $REVISION "
21162 if `echo $SYNTHESISSRC | grep '@0123456789*'` >/dev/null; then
21165 SYNTHESISSRCREV="$SYNTHESISSRC@$REVISION"
21168 if test -d $SYNTHESIS_SRC ; then
21169 ( set -x; cd $SYNTHESIS_SRC && svn --username=$USERNAME switch $revarg "$SYNTHESISSRC" ) || as_fn_error $? "updating from $SYNTHESISSRC failed" "$LINENO" 5
21171 (set -x; svn --username=$USERNAME checkout $revarg "$SYNTHESISSRCREV" $SYNTHESIS_SRC ) || as_fn_error $? "checking out $SYNTHESISSRC failed" "$LINENO" 5
21175 if test -d $SYNTHESIS_SRC ; then
21176 ( set -x; cd $SYNTHESIS_SRC && git fetch "$SYNTHESISSRC" ) || as_fn_error $? "updating from $SYNTHESISSRC failed" "$LINENO" 5
21178 ( set -x; git clone "$SYNTHESISSRC" $SYNTHESIS_SRC ) || as_fn_error $? "cloning $SYNTHESISSRC failed" "$LINENO" 5
21180 if test "$REVISION"; then
21181 # git 1.6 finds tags and branches without explicit prefix, 1.4.4.4 doesn't
21182 ( set -x; cd $SYNTHESIS_SRC &&
21183 (git checkout "$REVISION" ||
21184 git checkout "tags/$REVISION" ||
21185 git checkout "origin/$REVISION") ) || as_fn_error $? "checking out $SYNTHESISSRC failed" "$LINENO" 5
21189 elif test "$SYNTHESISSRC" != "none" && test -d $srcdir/src/synthesis; then
21190 # use existing copy of the sources; beware of
21191 # out-of-tree compilation
21193 /*) SYNTHESIS_SRC="$srcdir/src/synthesis";;
21194 *) SYNTHESIS_SRC="$PWD/$srcdir/src/synthesis";;
21196 elif test "$enable_shared" = "no"; then
21197 # link against engine
21200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYNTHESIS" >&5
21201 $as_echo_n "checking for SYNTHESIS... " >&6; }
21203 if test -n "$SYNTHESIS_CFLAGS"; then
21204 pkg_cv_SYNTHESIS_CFLAGS="$SYNTHESIS_CFLAGS"
21205 elif test -n "$PKG_CONFIG"; then
21206 if test -n "$PKG_CONFIG" && \
21207 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"synthesis >= 3.4\""; } >&5
21208 ($PKG_CONFIG --exists --print-errors "synthesis >= 3.4") 2>&5
21210 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21211 test $ac_status = 0; }; then
21212 pkg_cv_SYNTHESIS_CFLAGS=`$PKG_CONFIG --cflags "synthesis >= 3.4" 2>/dev/null`
21213 test "x$?" != "x0" && pkg_failed=yes
21220 if test -n "$SYNTHESIS_LIBS"; then
21221 pkg_cv_SYNTHESIS_LIBS="$SYNTHESIS_LIBS"
21222 elif test -n "$PKG_CONFIG"; then
21223 if test -n "$PKG_CONFIG" && \
21224 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"synthesis >= 3.4\""; } >&5
21225 ($PKG_CONFIG --exists --print-errors "synthesis >= 3.4") 2>&5
21227 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21228 test $ac_status = 0; }; then
21229 pkg_cv_SYNTHESIS_LIBS=`$PKG_CONFIG --libs "synthesis >= 3.4" 2>/dev/null`
21230 test "x$?" != "x0" && pkg_failed=yes
21240 if test $pkg_failed = yes; then
21241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21242 $as_echo "no" >&6; }
21244 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21245 _pkg_short_errors_supported=yes
21247 _pkg_short_errors_supported=no
21249 if test $_pkg_short_errors_supported = yes; then
21250 SYNTHESIS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "synthesis >= 3.4" 2>&1`
21252 SYNTHESIS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "synthesis >= 3.4" 2>&1`
21254 # Put the nasty error message in config.log where it belongs
21255 echo "$SYNTHESIS_PKG_ERRORS" >&5
21257 as_fn_error $? "Package requirements (synthesis >= 3.4) were not met:
21259 $SYNTHESIS_PKG_ERRORS
21261 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21262 installed software in a non-standard prefix.
21264 Alternatively, you may set the environment variables SYNTHESIS_CFLAGS
21265 and SYNTHESIS_LIBS to avoid the need to call pkg-config.
21266 See the pkg-config man page for more details." "$LINENO" 5
21267 elif test $pkg_failed = untried; then
21268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21269 $as_echo "no" >&6; }
21270 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21271 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21272 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
21273 is in your PATH or set the PKG_CONFIG environment variable to the full
21274 path to pkg-config.
21276 Alternatively, you may set the environment variables SYNTHESIS_CFLAGS
21277 and SYNTHESIS_LIBS to avoid the need to call pkg-config.
21278 See the pkg-config man page for more details.
21280 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21281 See \`config.log' for more details" "$LINENO" 5; }
21283 SYNTHESIS_CFLAGS=$pkg_cv_SYNTHESIS_CFLAGS
21284 SYNTHESIS_LIBS=$pkg_cv_SYNTHESIS_LIBS
21285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21286 $as_echo "yes" >&6; }
21289 SYNTHESIS_ENGINE="$SYNTHESIS_LIBS -lsynthesis -lsmltk"
21291 # link against SDK alone, except in client-test
21292 #PKG_CHECK_MODULES(SYNTHESIS, "synthesis-sdk")
21293 #SYNTHESIS_ENGINE="`echo $SYNTHESIS_LIBS | sed -e 's/-lsynthesisstubs/-lsynthesis/'`"
21295 # can't use the SDK alone because of sysync::SySyncDebugPuts()
21298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYNTHESIS" >&5
21299 $as_echo_n "checking for SYNTHESIS... " >&6; }
21301 if test -n "$SYNTHESIS_CFLAGS"; then
21302 pkg_cv_SYNTHESIS_CFLAGS="$SYNTHESIS_CFLAGS"
21303 elif test -n "$PKG_CONFIG"; then
21304 if test -n "$PKG_CONFIG" && \
21305 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"synthesis >= 3.4.0.47.5\""; } >&5
21306 ($PKG_CONFIG --exists --print-errors "synthesis >= 3.4.0.47.5") 2>&5
21308 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21309 test $ac_status = 0; }; then
21310 pkg_cv_SYNTHESIS_CFLAGS=`$PKG_CONFIG --cflags "synthesis >= 3.4.0.47.5" 2>/dev/null`
21311 test "x$?" != "x0" && pkg_failed=yes
21318 if test -n "$SYNTHESIS_LIBS"; then
21319 pkg_cv_SYNTHESIS_LIBS="$SYNTHESIS_LIBS"
21320 elif test -n "$PKG_CONFIG"; then
21321 if test -n "$PKG_CONFIG" && \
21322 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"synthesis >= 3.4.0.47.5\""; } >&5
21323 ($PKG_CONFIG --exists --print-errors "synthesis >= 3.4.0.47.5") 2>&5
21325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21326 test $ac_status = 0; }; then
21327 pkg_cv_SYNTHESIS_LIBS=`$PKG_CONFIG --libs "synthesis >= 3.4.0.47.5" 2>/dev/null`
21328 test "x$?" != "x0" && pkg_failed=yes
21338 if test $pkg_failed = yes; then
21339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21340 $as_echo "no" >&6; }
21342 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21343 _pkg_short_errors_supported=yes
21345 _pkg_short_errors_supported=no
21347 if test $_pkg_short_errors_supported = yes; then
21348 SYNTHESIS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "synthesis >= 3.4.0.47.5" 2>&1`
21350 SYNTHESIS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "synthesis >= 3.4.0.47.5" 2>&1`
21352 # Put the nasty error message in config.log where it belongs
21353 echo "$SYNTHESIS_PKG_ERRORS" >&5
21355 as_fn_error $? "Package requirements (synthesis >= 3.4.0.47.5) were not met:
21357 $SYNTHESIS_PKG_ERRORS
21359 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21360 installed software in a non-standard prefix.
21362 Alternatively, you may set the environment variables SYNTHESIS_CFLAGS
21363 and SYNTHESIS_LIBS to avoid the need to call pkg-config.
21364 See the pkg-config man page for more details." "$LINENO" 5
21365 elif test $pkg_failed = untried; then
21366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21367 $as_echo "no" >&6; }
21368 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21369 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21370 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
21371 is in your PATH or set the PKG_CONFIG environment variable to the full
21372 path to pkg-config.
21374 Alternatively, you may set the environment variables SYNTHESIS_CFLAGS
21375 and SYNTHESIS_LIBS to avoid the need to call pkg-config.
21376 See the pkg-config man page for more details.
21378 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21379 See \`config.log' for more details" "$LINENO" 5; }
21381 SYNTHESIS_CFLAGS=$pkg_cv_SYNTHESIS_CFLAGS
21382 SYNTHESIS_LIBS=$pkg_cv_SYNTHESIS_LIBS
21383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21384 $as_echo "yes" >&6; }
21387 SYNTHESIS_ENGINE="$SYNTHESIS_LIBS"
21390 if test $SYNTHESIS_SRC != "no-synthesis-source"; then
21391 ( 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
21393 SYNTHESIS_CONFIGURE="$SYNTHESIS_SRC/configure"
21394 chmod u+x $SYNTHESIS_SRC/configure $SYNTHESIS_SRC/config.sub $SYNTHESIS_SRC/config.guess
21396 # use local copy of the sources, with dependencies
21397 # to trigger building the synthesis library
21398 SYNTHESIS_SUBDIR=$PWD/src/build-synthesis
21399 SYNTHESIS_CFLAGS="-I$SYNTHESIS_SUBDIR/src"
21400 SYNTHESIS_LIBS="$SYNTHESIS_SUBDIR/src/libsynthesissdk.la $SYNTHESIS_SUBDIR/src/libsmltk.la"
21402 if test "x$enable_core" = "xno" && test "x$enable_gui" != "xno"; then
21403 # SYNTHESIS_SUBDIR is ignored, at least build headers for GUI
21404 SYNTHESIS_SUBDIR_INCLUDES=src/synthesis-includes
21407 if test "$enable_shared" = "no"; then
21408 # link against the engines that were enabled
21409 case $SYNCML_ENGINES in both|client|server) SYNTHESIS_LIBS="$SYNTHESIS_LIBS $SYNTHESIS_SUBDIR/src/libsynthesis.la $SYNTHESIS_SUBDIR/src/libsmltk.la";; esac
21411 $as_echo "#define ENABLE_SYNCML_LINKED 1" >>confdefs.h
21414 # It would be nice if we could avoid linking against libsynthesis.la here.
21415 # This doesn't work at the moment because sysync::SySyncDebugPuts()
21416 # is called directly by the libsynthesissdk instead of going through
21417 # the normal C function pointer lookup.
21418 SYNTHESIS_LIBS="$SYNTHESIS_LIBS $SYNTHESIS_SUBDIR/src/libsynthesis.la $SYNTHESIS_SUBDIR/src/libsmltk.la"
21420 SYNTHESIS_DEP=$SYNTHESIS_LIBS
21422 # for linking client-test
21423 SYNTHESIS_ENGINE="$SYNTHESIS_SUBDIR/src/libsynthesis.la"
21425 { $as_echo "$as_me:${as_lineno-$LINENO}: configuring the Synthesis library " >&5
21426 $as_echo "$as_me: configuring the Synthesis library " >&6;}
21427 if (set -x; mkdir -p $SYNTHESIS_SUBDIR && cd $SYNTHESIS_SUBDIR && eval "\$SHELL \"\$SYNTHESIS_CONFIGURE\" $ac_configure_args \"--srcdir=\$SYNTHESIS_SRC\" " ); then true; else
21428 as_fn_error $? "configuring Synthesis library failed " "$LINENO" 5
21431 # do the version check with the .pc files prepared by the configure step above
21432 export PKG_CONFIG_PATH=$SYNTHESIS_SUBDIR:$PKG_CONFIG_PATH
21435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WITH_SYNTHESIS_SRC" >&5
21436 $as_echo_n "checking for WITH_SYNTHESIS_SRC... " >&6; }
21438 if test -n "$WITH_SYNTHESIS_SRC_CFLAGS"; then
21439 pkg_cv_WITH_SYNTHESIS_SRC_CFLAGS="$WITH_SYNTHESIS_SRC_CFLAGS"
21440 elif test -n "$PKG_CONFIG"; then
21441 if test -n "$PKG_CONFIG" && \
21442 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"synthesis >= 3.4.0.47.5\""; } >&5
21443 ($PKG_CONFIG --exists --print-errors "synthesis >= 3.4.0.47.5") 2>&5
21445 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21446 test $ac_status = 0; }; then
21447 pkg_cv_WITH_SYNTHESIS_SRC_CFLAGS=`$PKG_CONFIG --cflags "synthesis >= 3.4.0.47.5" 2>/dev/null`
21448 test "x$?" != "x0" && pkg_failed=yes
21455 if test -n "$WITH_SYNTHESIS_SRC_LIBS"; then
21456 pkg_cv_WITH_SYNTHESIS_SRC_LIBS="$WITH_SYNTHESIS_SRC_LIBS"
21457 elif test -n "$PKG_CONFIG"; then
21458 if test -n "$PKG_CONFIG" && \
21459 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"synthesis >= 3.4.0.47.5\""; } >&5
21460 ($PKG_CONFIG --exists --print-errors "synthesis >= 3.4.0.47.5") 2>&5
21462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21463 test $ac_status = 0; }; then
21464 pkg_cv_WITH_SYNTHESIS_SRC_LIBS=`$PKG_CONFIG --libs "synthesis >= 3.4.0.47.5" 2>/dev/null`
21465 test "x$?" != "x0" && pkg_failed=yes
21475 if test $pkg_failed = yes; then
21476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21477 $as_echo "no" >&6; }
21479 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21480 _pkg_short_errors_supported=yes
21482 _pkg_short_errors_supported=no
21484 if test $_pkg_short_errors_supported = yes; then
21485 WITH_SYNTHESIS_SRC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "synthesis >= 3.4.0.47.5" 2>&1`
21487 WITH_SYNTHESIS_SRC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "synthesis >= 3.4.0.47.5" 2>&1`
21489 # Put the nasty error message in config.log where it belongs
21490 echo "$WITH_SYNTHESIS_SRC_PKG_ERRORS" >&5
21492 as_fn_error $? "need at least libsynthesis >= 3.4.0.47.5; the latest libsynthesis for SyncEvolution is the one from http://cgit.freedesktop.org/SyncEvolution/" "$LINENO" 5
21493 elif test $pkg_failed = untried; then
21494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21495 $as_echo "no" >&6; }
21496 as_fn_error $? "need at least libsynthesis >= 3.4.0.47.5; the latest libsynthesis for SyncEvolution is the one from http://cgit.freedesktop.org/SyncEvolution/" "$LINENO" 5
21498 WITH_SYNTHESIS_SRC_CFLAGS=$pkg_cv_WITH_SYNTHESIS_SRC_CFLAGS
21499 WITH_SYNTHESIS_SRC_LIBS=$pkg_cv_WITH_SYNTHESIS_SRC_LIBS
21500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21501 $as_echo "yes" >&6; }
21517 BACKEND_CPPFLAGS="$SYNTHESIS_CFLAGS $EPACKAGE_CFLAGS $EBOOK_CFLAGS $ECAL_CFLAGS $GLIB_CFLAGS $BOOST_CPPFLAGS"
21520 # GNOME Bluetooth Panel plugin
21523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOMEBLUETOOTH" >&5
21524 $as_echo_n "checking for GNOMEBLUETOOTH... " >&6; }
21526 if test -n "$GNOMEBLUETOOTH_CFLAGS"; then
21527 pkg_cv_GNOMEBLUETOOTH_CFLAGS="$GNOMEBLUETOOTH_CFLAGS"
21528 elif test -n "$PKG_CONFIG"; then
21529 if test -n "$PKG_CONFIG" && \
21530 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-bluetooth-1.0 >= 2.27.6\""; } >&5
21531 ($PKG_CONFIG --exists --print-errors "gnome-bluetooth-1.0 >= 2.27.6") 2>&5
21533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21534 test $ac_status = 0; }; then
21535 pkg_cv_GNOMEBLUETOOTH_CFLAGS=`$PKG_CONFIG --cflags "gnome-bluetooth-1.0 >= 2.27.6" 2>/dev/null`
21536 test "x$?" != "x0" && pkg_failed=yes
21543 if test -n "$GNOMEBLUETOOTH_LIBS"; then
21544 pkg_cv_GNOMEBLUETOOTH_LIBS="$GNOMEBLUETOOTH_LIBS"
21545 elif test -n "$PKG_CONFIG"; then
21546 if test -n "$PKG_CONFIG" && \
21547 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-bluetooth-1.0 >= 2.27.6\""; } >&5
21548 ($PKG_CONFIG --exists --print-errors "gnome-bluetooth-1.0 >= 2.27.6") 2>&5
21550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21551 test $ac_status = 0; }; then
21552 pkg_cv_GNOMEBLUETOOTH_LIBS=`$PKG_CONFIG --libs "gnome-bluetooth-1.0 >= 2.27.6" 2>/dev/null`
21553 test "x$?" != "x0" && pkg_failed=yes
21563 if test $pkg_failed = yes; then
21564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21565 $as_echo "no" >&6; }
21567 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21568 _pkg_short_errors_supported=yes
21570 _pkg_short_errors_supported=no
21572 if test $_pkg_short_errors_supported = yes; then
21573 GNOMEBLUETOOTH_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gnome-bluetooth-1.0 >= 2.27.6" 2>&1`
21575 GNOMEBLUETOOTH_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gnome-bluetooth-1.0 >= 2.27.6" 2>&1`
21577 # Put the nasty error message in config.log where it belongs
21578 echo "$GNOMEBLUETOOTH_PKG_ERRORS" >&5
21581 elif test $pkg_failed = untried; then
21582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21583 $as_echo "no" >&6; }
21586 GNOMEBLUETOOTH_CFLAGS=$pkg_cv_GNOMEBLUETOOTH_CFLAGS
21587 GNOMEBLUETOOTH_LIBS=$pkg_cv_GNOMEBLUETOOTH_LIBS
21588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21589 $as_echo "yes" >&6; }
21591 GNOMEBLUETOOTH_DIR=`$PKG_CONFIG --variable=libdir gnome-bluetooth-1.0 2>/dev/null`/gnome-bluetooth
21596 # Check whether --enable-gnome-bluetooth-panel-plugin was given.
21597 if test "${enable_gnome_bluetooth_panel_plugin+set}" = set; then :
21598 enableval=$enable_gnome_bluetooth_panel_plugin; enable_gnome_bluetooth_panel="$enableval"
21600 enable_gnome_bluetooth_panel="no"
21604 if test "$enable_gnome_bluetooth_panel" = "yes"; then
21605 test "$have_gbt" = "yes" || as_fn_error $? "--enable-gnome-bluetooth-panel requires
21606 pkg-config information for gnome-bluetooth-1.0 >= 2.27.6 which was not found" "$LINENO" 5
21608 if test "$have_gbt" = "yes" && test "$enable_gnome_bluetooth_panel" = "yes"; then
21609 ENABLE_GNOME_BLUETOOTH_PANEL_TRUE=
21610 ENABLE_GNOME_BLUETOOTH_PANEL_FALSE='#'
21612 ENABLE_GNOME_BLUETOOTH_PANEL_TRUE='#'
21613 ENABLE_GNOME_BLUETOOTH_PANEL_FALSE=
21617 # Check whether --enable-doc was given.
21618 if test "${enable_doc+set}" = set; then :
21619 enableval=$enable_doc; enable_doc="$enableval"
21625 if test "$enable_doc" != "no"; then
21640 # vvvvvvvvvvvvvv src/backends/activesync/configure-sub.in vvvvvvvvvvvvvv
21643 # Check whether --enable-activesync was given.
21644 if test "${enable_activesync+set}" = set; then :
21645 enableval=$enable_activesync; enable_activesync="$enableval"
21647 enable_activesync="no"
21650 BACKENDS="$BACKENDS activesync"
21651 BACKEND_DEFINES="$BACKEND_DEFINES ENABLE_ACTIVESYNC"
21652 for source in activesync
21654 SYNCSOURCES="$SYNCSOURCES src/backends/activesync/syncactivesync.la"
21660 # Check whether --with-activesyncd-src was given.
21661 if test "${with_activesyncd_src+set}" = set; then :
21662 withval=$with_activesyncd_src; ACTIVESYNCDSRC="$withval"
21663 test "$ACTIVESYNCDSRC" != "yes" || as_fn_error $? "--with-synthesis-src requires a parameter (base directory, svn URL or git URL)" "$LINENO" 5
21669 if test "$enable_activesync" = "yes" && test "$ACTIVESYNCDSRC" != ""; then
21670 BUILD_ACTIVESYNCD_TRUE=
21671 BUILD_ACTIVESYNCD_FALSE='#'
21673 BUILD_ACTIVESYNCD_TRUE='#'
21674 BUILD_ACTIVESYNCD_FALSE=
21678 if test "$enable_activesync" = "yes"; then
21679 if test "$ACTIVESYNCDSRC" != ""; then
21680 # brute-force dependency on any file in the source repo
21681 LIBEASCLIENT_LA_DEPENDENCIES=`find "$ACTIVESYNCDSRC"/* -type f -printf '%p ' `
21683 mkdir -p src/backends/activesync/activesyncd/build
21684 { $as_echo "$as_me:${as_lineno-$LINENO}: configuring activesyncd using the $ACTIVESYNCDSRC source code" >&5
21685 $as_echo "$as_me: configuring activesyncd using the $ACTIVESYNCDSRC source code" >&6;}
21686 ( set -x; cd src/backends/activesync/activesyncd/build &&
21687 $ACTIVESYNCDSRC/configure --disable-eplugin --disable-camel-backend --disable-qtconfig --prefix=`pwd`/../install) ||
21688 as_fn_error $? "configuring activesyncd failed" "$LINENO" 5
21690 # hard-coded replacement for pkg-config: necessary because
21691 # .pc file not installed yet
21692 EASCLIENT_LIBS=src/backends/activesync/activesyncd/install/lib/libeasclient.la
21693 EASCLIENT_DEPENDENCIES=src/backends/activesync/activesyncd/install/lib/libeasclient.la
21694 EASCLIENT_CFLAGS=-Isrc/backends/activesync/activesyncd/install/include/eas-daemon/eas-client
21701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EASCLIENT" >&5
21702 $as_echo_n "checking for EASCLIENT... " >&6; }
21704 if test -n "$EASCLIENT_CFLAGS"; then
21705 pkg_cv_EASCLIENT_CFLAGS="$EASCLIENT_CFLAGS"
21706 elif test -n "$PKG_CONFIG"; then
21707 if test -n "$PKG_CONFIG" && \
21708 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libeasclient\""; } >&5
21709 ($PKG_CONFIG --exists --print-errors "libeasclient") 2>&5
21711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21712 test $ac_status = 0; }; then
21713 pkg_cv_EASCLIENT_CFLAGS=`$PKG_CONFIG --cflags "libeasclient" 2>/dev/null`
21714 test "x$?" != "x0" && pkg_failed=yes
21721 if test -n "$EASCLIENT_LIBS"; then
21722 pkg_cv_EASCLIENT_LIBS="$EASCLIENT_LIBS"
21723 elif test -n "$PKG_CONFIG"; then
21724 if test -n "$PKG_CONFIG" && \
21725 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libeasclient\""; } >&5
21726 ($PKG_CONFIG --exists --print-errors "libeasclient") 2>&5
21728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21729 test $ac_status = 0; }; then
21730 pkg_cv_EASCLIENT_LIBS=`$PKG_CONFIG --libs "libeasclient" 2>/dev/null`
21731 test "x$?" != "x0" && pkg_failed=yes
21741 if test $pkg_failed = yes; then
21742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21743 $as_echo "no" >&6; }
21745 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21746 _pkg_short_errors_supported=yes
21748 _pkg_short_errors_supported=no
21750 if test $_pkg_short_errors_supported = yes; then
21751 EASCLIENT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libeasclient" 2>&1`
21753 EASCLIENT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libeasclient" 2>&1`
21755 # Put the nasty error message in config.log where it belongs
21756 echo "$EASCLIENT_PKG_ERRORS" >&5
21758 as_fn_error $? "Package requirements (libeasclient) were not met:
21760 $EASCLIENT_PKG_ERRORS
21762 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21763 installed software in a non-standard prefix.
21765 Alternatively, you may set the environment variables EASCLIENT_CFLAGS
21766 and EASCLIENT_LIBS to avoid the need to call pkg-config.
21767 See the pkg-config man page for more details." "$LINENO" 5
21768 elif test $pkg_failed = untried; then
21769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21770 $as_echo "no" >&6; }
21771 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21772 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21773 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
21774 is in your PATH or set the PKG_CONFIG environment variable to the full
21775 path to pkg-config.
21777 Alternatively, you may set the environment variables EASCLIENT_CFLAGS
21778 and EASCLIENT_LIBS to avoid the need to call pkg-config.
21779 See the pkg-config man page for more details.
21781 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21782 See \`config.log' for more details" "$LINENO" 5; }
21784 EASCLIENT_CFLAGS=$pkg_cv_EASCLIENT_CFLAGS
21785 EASCLIENT_LIBS=$pkg_cv_EASCLIENT_LIBS
21786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21787 $as_echo "yes" >&6; }
21792 $as_echo "#define ENABLE_ACTIVESYNC 1" >>confdefs.h
21798 BACKEND_CPPFLAGS="$BACKEND_CPPFLAGS $EASCLIENT_CFLAGS"
21799 # ^^^^^^^^^^^^^^ src/backends/activesync/configure-sub.in ^^^^^^^^^^^^^^
21801 # vvvvvvvvvvvvvv src/backends/akonadi/configure-sub.in vvvvvvvvvvvvvv
21803 for ac_prog in qmake qmake-qt4
21805 # Extract the first word of "$ac_prog", so it can be a program name with args.
21806 set dummy $ac_prog; ac_word=$2
21807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21808 $as_echo_n "checking for $ac_word... " >&6; }
21809 if ${ac_cv_prog_QMAKE+:} false; then :
21810 $as_echo_n "(cached) " >&6
21812 if test -n "$QMAKE"; then
21813 ac_cv_prog_QMAKE="$QMAKE" # Let the user override the test.
21815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21816 for as_dir in $PATH
21819 test -z "$as_dir" && as_dir=.
21820 for ac_exec_ext in '' $ac_executable_extensions; do
21821 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21822 ac_cv_prog_QMAKE="$ac_prog"
21823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21832 QMAKE=$ac_cv_prog_QMAKE
21833 if test -n "$QMAKE"; then
21834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QMAKE" >&5
21835 $as_echo "$QMAKE" >&6; }
21837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21838 $as_echo "no" >&6; }
21842 test -n "$QMAKE" && break
21846 # Check for Akonadi. There is no .pc file for it,
21847 # so fall back to normal header file and library checking.
21848 # kdepimlibs5-dev >= 4.3 provides the necessary files.
21850 if ! test "$KDEPIM_CFLAGS"; then
21851 KDEPIM_CFLAGS="-I`kde4-config --path include` -I`kde4-config --path include`/KDE"
21852 if test "$QMAKE"; then
21853 KDEPIM_CFLAGS="$KDEPIM_CFLAGS -I`$QMAKE -query QT_INSTALL_HEADERS` -I`$QMAKE -query QT_INSTALL_HEADERS`/QtCore"
21856 if ! test "$KDEPIM_LIBS"; then
21857 KDEPIM_LIBS="-L`kde4-config --install lib` -lakonadi-kde `pkg-config --libs QtDBus` -lQtCore -lkdeui -lkdecore"
21860 ac_cpp='$CXXCPP $CPPFLAGS'
21861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21865 old_CPPFLAGS="$CPPFLAGS"
21866 CPPFLAGS="$CPPFLAGS $KDEPIM_CFLAGS"
21867 for ac_header in Akonadi/Collection
21869 ac_fn_cxx_check_header_mongrel "$LINENO" "Akonadi/Collection" "ac_cv_header_Akonadi_Collection" "$ac_includes_default"
21870 if test "x$ac_cv_header_Akonadi_Collection" = xyes; then :
21871 cat >>confdefs.h <<_ACEOF
21872 #define HAVE_AKONADI_COLLECTION 1
21881 CPPFLAGS="$old_CPPFLAGS"
21883 ac_cpp='$CXXCPP $CPPFLAGS'
21884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21889 # In contrast to the Evolution backend, the Akonadi backend is
21890 # currently considered optional. "configure" will enable it only
21891 # if explicitly enabled (was turned on automatically previously,
21892 # for example on Ubuntu Hardy, and didn't compile).
21894 # Check whether --enable-akonadi was given.
21895 if test "${enable_akonadi+set}" = set; then :
21896 enableval=$enable_akonadi; enable_akonadi="$enableval"
21897 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
21903 BACKENDS="$BACKENDS akonadi"
21904 BACKEND_DEFINES="$BACKEND_DEFINES ENABLE_AKONADI"
21905 for source in akonadi
21907 SYNCSOURCES="$SYNCSOURCES src/backends/akonadi/syncakonadi.la"
21912 if test "$enable_akonadi" = "yes"; then
21913 # conditional compilation in preprocessor
21915 $as_echo "#define ENABLE_AKONADI 1" >>confdefs.h
21918 # avoid unneeded dependencies on Akonadi
21925 # conditional compilation in make
21926 if test "$enable_akonadi" = "yes"; then
21927 ENABLE_AKONADI_TRUE=
21928 ENABLE_AKONADI_FALSE='#'
21930 ENABLE_AKONADI_TRUE='#'
21931 ENABLE_AKONADI_FALSE=
21935 # let others include Akonadi backend's header file
21936 # (not strictly necessary, could be avoided by not
21937 # including Akonadi header files in public header file
21939 BACKEND_CPPFLAGS="$BACKEND_CPPFLAGS $KDEPIM_CFLAGS"
21940 # ^^^^^^^^^^^^^^ src/backends/akonadi/configure-sub.in ^^^^^^^^^^^^^^
21942 # vvvvvvvvvvvvvv src/backends/evolution/configure-sub.in vvvvvvvvvvvvvv
21945 Please install the development packages of Evolution and/or
21946 set the PKG_CONFIG_PATH variable so that it points towards
21947 the .pc files of libedataserver, libecal and libebook (the
21948 latter two are optional).
21950 You can check that these packages are available by running
21951 pkg-config --list-all."
21953 evomissing="No compatible evolution-data-server was found.
21958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPACKAGE" >&5
21959 $as_echo_n "checking for EPACKAGE... " >&6; }
21961 if test -n "$EPACKAGE_CFLAGS"; then
21962 pkg_cv_EPACKAGE_CFLAGS="$EPACKAGE_CFLAGS"
21963 elif test -n "$PKG_CONFIG"; then
21964 if test -n "$PKG_CONFIG" && \
21965 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libedataserver-1.2\""; } >&5
21966 ($PKG_CONFIG --exists --print-errors "libedataserver-1.2") 2>&5
21968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21969 test $ac_status = 0; }; then
21970 pkg_cv_EPACKAGE_CFLAGS=`$PKG_CONFIG --cflags "libedataserver-1.2" 2>/dev/null`
21971 test "x$?" != "x0" && pkg_failed=yes
21978 if test -n "$EPACKAGE_LIBS"; then
21979 pkg_cv_EPACKAGE_LIBS="$EPACKAGE_LIBS"
21980 elif test -n "$PKG_CONFIG"; then
21981 if test -n "$PKG_CONFIG" && \
21982 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libedataserver-1.2\""; } >&5
21983 ($PKG_CONFIG --exists --print-errors "libedataserver-1.2") 2>&5
21985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21986 test $ac_status = 0; }; then
21987 pkg_cv_EPACKAGE_LIBS=`$PKG_CONFIG --libs "libedataserver-1.2" 2>/dev/null`
21988 test "x$?" != "x0" && pkg_failed=yes
21998 if test $pkg_failed = yes; then
21999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22000 $as_echo "no" >&6; }
22002 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22003 _pkg_short_errors_supported=yes
22005 _pkg_short_errors_supported=no
22007 if test $_pkg_short_errors_supported = yes; then
22008 EPACKAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libedataserver-1.2" 2>&1`
22010 EPACKAGE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libedataserver-1.2" 2>&1`
22012 # Put the nasty error message in config.log where it belongs
22013 echo "$EPACKAGE_PKG_ERRORS" >&5
22016 elif test $pkg_failed = untried; then
22017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22018 $as_echo "no" >&6; }
22021 EPACKAGE_CFLAGS=$pkg_cv_EPACKAGE_CFLAGS
22022 EPACKAGE_LIBS=$pkg_cv_EPACKAGE_LIBS
22023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22024 $as_echo "yes" >&6; }
22029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECAL" >&5
22030 $as_echo_n "checking for ECAL... " >&6; }
22032 if test -n "$ECAL_CFLAGS"; then
22033 pkg_cv_ECAL_CFLAGS="$ECAL_CFLAGS"
22034 elif test -n "$PKG_CONFIG"; then
22035 if test -n "$PKG_CONFIG" && \
22036 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libecal-1.2\""; } >&5
22037 ($PKG_CONFIG --exists --print-errors "libecal-1.2") 2>&5
22039 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22040 test $ac_status = 0; }; then
22041 pkg_cv_ECAL_CFLAGS=`$PKG_CONFIG --cflags "libecal-1.2" 2>/dev/null`
22042 test "x$?" != "x0" && pkg_failed=yes
22049 if test -n "$ECAL_LIBS"; then
22050 pkg_cv_ECAL_LIBS="$ECAL_LIBS"
22051 elif test -n "$PKG_CONFIG"; then
22052 if test -n "$PKG_CONFIG" && \
22053 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libecal-1.2\""; } >&5
22054 ($PKG_CONFIG --exists --print-errors "libecal-1.2") 2>&5
22056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22057 test $ac_status = 0; }; then
22058 pkg_cv_ECAL_LIBS=`$PKG_CONFIG --libs "libecal-1.2" 2>/dev/null`
22059 test "x$?" != "x0" && pkg_failed=yes
22069 if test $pkg_failed = yes; then
22070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22071 $as_echo "no" >&6; }
22073 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22074 _pkg_short_errors_supported=yes
22076 _pkg_short_errors_supported=no
22078 if test $_pkg_short_errors_supported = yes; then
22079 ECAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libecal-1.2" 2>&1`
22081 ECAL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libecal-1.2" 2>&1`
22083 # Put the nasty error message in config.log where it belongs
22084 echo "$ECAL_PKG_ERRORS" >&5
22087 elif test $pkg_failed = untried; then
22088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22089 $as_echo "no" >&6; }
22092 ECAL_CFLAGS=$pkg_cv_ECAL_CFLAGS
22093 ECAL_LIBS=$pkg_cv_ECAL_LIBS
22094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22095 $as_echo "yes" >&6; }
22100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBOOK" >&5
22101 $as_echo_n "checking for EBOOK... " >&6; }
22103 if test -n "$EBOOK_CFLAGS"; then
22104 pkg_cv_EBOOK_CFLAGS="$EBOOK_CFLAGS"
22105 elif test -n "$PKG_CONFIG"; then
22106 if test -n "$PKG_CONFIG" && \
22107 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libebook-1.2\""; } >&5
22108 ($PKG_CONFIG --exists --print-errors "libebook-1.2") 2>&5
22110 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22111 test $ac_status = 0; }; then
22112 pkg_cv_EBOOK_CFLAGS=`$PKG_CONFIG --cflags "libebook-1.2" 2>/dev/null`
22113 test "x$?" != "x0" && pkg_failed=yes
22120 if test -n "$EBOOK_LIBS"; then
22121 pkg_cv_EBOOK_LIBS="$EBOOK_LIBS"
22122 elif test -n "$PKG_CONFIG"; then
22123 if test -n "$PKG_CONFIG" && \
22124 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libebook-1.2\""; } >&5
22125 ($PKG_CONFIG --exists --print-errors "libebook-1.2") 2>&5
22127 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22128 test $ac_status = 0; }; then
22129 pkg_cv_EBOOK_LIBS=`$PKG_CONFIG --libs "libebook-1.2" 2>/dev/null`
22130 test "x$?" != "x0" && pkg_failed=yes
22140 if test $pkg_failed = yes; then
22141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22142 $as_echo "no" >&6; }
22144 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22145 _pkg_short_errors_supported=yes
22147 _pkg_short_errors_supported=no
22149 if test $_pkg_short_errors_supported = yes; then
22150 EBOOK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libebook-1.2" 2>&1`
22152 EBOOK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libebook-1.2" 2>&1`
22154 # Put the nasty error message in config.log where it belongs
22155 echo "$EBOOK_PKG_ERRORS" >&5
22158 elif test $pkg_failed = untried; then
22159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22160 $as_echo "no" >&6; }
22163 EBOOK_CFLAGS=$pkg_cv_EBOOK_CFLAGS
22164 EBOOK_LIBS=$pkg_cv_EBOOK_LIBS
22165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22166 $as_echo "yes" >&6; }
22172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBOOK_VERSION" >&5
22173 $as_echo_n "checking for EBOOK_VERSION... " >&6; }
22175 if test -n "$EBOOK_VERSION_CFLAGS"; then
22176 pkg_cv_EBOOK_VERSION_CFLAGS="$EBOOK_VERSION_CFLAGS"
22177 elif test -n "$PKG_CONFIG"; then
22178 if test -n "$PKG_CONFIG" && \
22179 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libebook-1.2 >= 3.3\""; } >&5
22180 ($PKG_CONFIG --exists --print-errors "libebook-1.2 >= 3.3") 2>&5
22182 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22183 test $ac_status = 0; }; then
22184 pkg_cv_EBOOK_VERSION_CFLAGS=`$PKG_CONFIG --cflags "libebook-1.2 >= 3.3" 2>/dev/null`
22185 test "x$?" != "x0" && pkg_failed=yes
22192 if test -n "$EBOOK_VERSION_LIBS"; then
22193 pkg_cv_EBOOK_VERSION_LIBS="$EBOOK_VERSION_LIBS"
22194 elif test -n "$PKG_CONFIG"; then
22195 if test -n "$PKG_CONFIG" && \
22196 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libebook-1.2 >= 3.3\""; } >&5
22197 ($PKG_CONFIG --exists --print-errors "libebook-1.2 >= 3.3") 2>&5
22199 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22200 test $ac_status = 0; }; then
22201 pkg_cv_EBOOK_VERSION_LIBS=`$PKG_CONFIG --libs "libebook-1.2 >= 3.3" 2>/dev/null`
22202 test "x$?" != "x0" && pkg_failed=yes
22212 if test $pkg_failed = yes; then
22213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22214 $as_echo "no" >&6; }
22216 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22217 _pkg_short_errors_supported=yes
22219 _pkg_short_errors_supported=no
22221 if test $_pkg_short_errors_supported = yes; then
22222 EBOOK_VERSION_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libebook-1.2 >= 3.3" 2>&1`
22224 EBOOK_VERSION_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libebook-1.2 >= 3.3" 2>&1`
22226 # Put the nasty error message in config.log where it belongs
22227 echo "$EBOOK_VERSION_PKG_ERRORS" >&5
22230 elif test $pkg_failed = untried; then
22231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22232 $as_echo "no" >&6; }
22235 EBOOK_VERSION_CFLAGS=$pkg_cv_EBOOK_VERSION_CFLAGS
22236 EBOOK_VERSION_LIBS=$pkg_cv_EBOOK_VERSION_LIBS
22237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22238 $as_echo "yes" >&6; }
22240 $as_echo "#define HAVE_E_CONTACT_INLINE_LOCAL_PHOTOS 1" >>confdefs.h
22245 # Check whether --enable-ebook was given.
22246 if test "${enable_ebook+set}" = set; then :
22247 enableval=$enable_ebook; enable_ebook="$enableval"
22249 test "$EBOOKFOUND" = "yes" && enable_ebook="yes" ||
22250 as_fn_error $? "libebook not found. Use --disable-ebook to compile without or install the necessary development files." "$LINENO" 5
22254 BACKENDS="$BACKENDS ebook"
22255 BACKEND_DEFINES="$BACKEND_DEFINES ENABLE_EBOOK"
22256 for source in evolution
22258 SYNCSOURCES="$SYNCSOURCES src/backends/evolution/syncebook.la"
22263 # Check whether --enable-ecal was given.
22264 if test "${enable_ecal+set}" = set; then :
22265 enableval=$enable_ecal; enable_ecal="$enableval"
22267 test "$ECALFOUND" = "yes" && enable_ecal="yes" ||
22268 as_fn_error $? "libecal not found. Use --disable-ecal to compile without or install the necessary development files." "$LINENO" 5
22272 BACKENDS="$BACKENDS ecal"
22273 BACKEND_DEFINES="$BACKEND_DEFINES ENABLE_ECAL"
22274 for source in evolution
22276 SYNCSOURCES="$SYNCSOURCES src/backends/evolution/syncecal.la"
22282 if test "$enable_ebook" = "yes"; then
22283 test "x${EBOOKFOUND}" = "xyes" || as_fn_error $? "--enable-ebook requires pkg-config information for libebook, which was not found" "$LINENO" 5
22285 $as_echo "#define ENABLE_EBOOK 1" >>confdefs.h
22293 if test "$enable_ecal" = "yes"; then
22295 ENABLE_ECAL_FALSE='#'
22297 ENABLE_ECAL_TRUE='#'
22301 if test "$enable_ecal" = "yes"; then
22303 test "x${ECALFOUND}" = "xyes" || as_fn_error $? "--enable-ecal requires pkg-config information for libecal, which was not found\"" "$LINENO" 5
22305 $as_echo "#define ENABLE_ECAL 1" >>confdefs.h
22313 if test "$enable_evo" = "yes"; then
22315 if test "$EDSFOUND" = "yes"; then
22317 $as_echo "#define HAVE_EDS 1" >>confdefs.h
22320 as_fn_error $? "$evomissing" "$LINENO" 5
22322 # Only the EClient code supports the API in EDS 3.5.x.
22325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDS_VERSION" >&5
22326 $as_echo_n "checking for EDS_VERSION... " >&6; }
22328 if test -n "$EDS_VERSION_CFLAGS"; then
22329 pkg_cv_EDS_VERSION_CFLAGS="$EDS_VERSION_CFLAGS"
22330 elif test -n "$PKG_CONFIG"; then
22331 if test -n "$PKG_CONFIG" && \
22332 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libedataserver-1.2 >= 3.5\""; } >&5
22333 ($PKG_CONFIG --exists --print-errors "libedataserver-1.2 >= 3.5") 2>&5
22335 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22336 test $ac_status = 0; }; then
22337 pkg_cv_EDS_VERSION_CFLAGS=`$PKG_CONFIG --cflags "libedataserver-1.2 >= 3.5" 2>/dev/null`
22338 test "x$?" != "x0" && pkg_failed=yes
22345 if test -n "$EDS_VERSION_LIBS"; then
22346 pkg_cv_EDS_VERSION_LIBS="$EDS_VERSION_LIBS"
22347 elif test -n "$PKG_CONFIG"; then
22348 if test -n "$PKG_CONFIG" && \
22349 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libedataserver-1.2 >= 3.5\""; } >&5
22350 ($PKG_CONFIG --exists --print-errors "libedataserver-1.2 >= 3.5") 2>&5
22352 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22353 test $ac_status = 0; }; then
22354 pkg_cv_EDS_VERSION_LIBS=`$PKG_CONFIG --libs "libedataserver-1.2 >= 3.5" 2>/dev/null`
22355 test "x$?" != "x0" && pkg_failed=yes
22365 if test $pkg_failed = yes; then
22366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22367 $as_echo "no" >&6; }
22369 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22370 _pkg_short_errors_supported=yes
22372 _pkg_short_errors_supported=no
22374 if test $_pkg_short_errors_supported = yes; then
22375 EDS_VERSION_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libedataserver-1.2 >= 3.5" 2>&1`
22377 EDS_VERSION_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libedataserver-1.2 >= 3.5" 2>&1`
22379 # Put the nasty error message in config.log where it belongs
22380 echo "$EDS_VERSION_PKG_ERRORS" >&5
22382 CFLAGS_old="$CFLAGS"
22383 CFLAGS="$CFLAGS $EPACKAGE_CFLAGS"
22384 for ac_header in libedataserver/eds-version.h
22386 ac_fn_cxx_check_header_mongrel "$LINENO" "libedataserver/eds-version.h" "ac_cv_header_libedataserver_eds_version_h" "$ac_includes_default"
22387 if test "x$ac_cv_header_libedataserver_eds_version_h" = xyes; then :
22388 cat >>confdefs.h <<_ACEOF
22389 #define HAVE_LIBEDATASERVER_EDS_VERSION_H 1
22396 CFLAGS="$CFLAGS_old"
22397 elif test $pkg_failed = untried; then
22398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22399 $as_echo "no" >&6; }
22400 CFLAGS_old="$CFLAGS"
22401 CFLAGS="$CFLAGS $EPACKAGE_CFLAGS"
22402 for ac_header in libedataserver/eds-version.h
22404 ac_fn_cxx_check_header_mongrel "$LINENO" "libedataserver/eds-version.h" "ac_cv_header_libedataserver_eds_version_h" "$ac_includes_default"
22405 if test "x$ac_cv_header_libedataserver_eds_version_h" = xyes; then :
22406 cat >>confdefs.h <<_ACEOF
22407 #define HAVE_LIBEDATASERVER_EDS_VERSION_H 1
22414 CFLAGS="$CFLAGS_old"
22416 EDS_VERSION_CFLAGS=$pkg_cv_EDS_VERSION_CFLAGS
22417 EDS_VERSION_LIBS=$pkg_cv_EDS_VERSION_LIBS
22418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22419 $as_echo "yes" >&6; }
22421 $as_echo "#define USE_EDS_CLIENT 1" >>confdefs.h
22423 # Was used for a while (ESourceBackendSummarySetup), but not anymore.
22424 # Don't depend on it, it wasn't in 3.6 yet.
22425 # PKG_CHECK_MODULES(EBOOKCONTACTS, libebook-contacts-1.2)
22426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for e_book_client_new_direct in -lebook-1.2" >&5
22427 $as_echo_n "checking for e_book_client_new_direct in -lebook-1.2... " >&6; }
22428 if ${ac_cv_lib_ebook_1_2_e_book_client_new_direct+:} false; then :
22429 $as_echo_n "(cached) " >&6
22431 ac_check_lib_save_LIBS=$LIBS
22432 LIBS="-lebook-1.2 $EDS_VERSION_LIBS $LIBS"
22433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22434 /* end confdefs.h. */
22436 /* Override any GCC internal prototype to avoid an error.
22437 Use char because int might match the return type of a GCC
22438 builtin and then its argument prototype would still apply. */
22442 char e_book_client_new_direct ();
22446 return e_book_client_new_direct ();
22451 if ac_fn_cxx_try_link "$LINENO"; then :
22452 ac_cv_lib_ebook_1_2_e_book_client_new_direct=yes
22454 ac_cv_lib_ebook_1_2_e_book_client_new_direct=no
22456 rm -f core conftest.err conftest.$ac_objext \
22457 conftest$ac_exeext conftest.$ac_ext
22458 LIBS=$ac_check_lib_save_LIBS
22460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ebook_1_2_e_book_client_new_direct" >&5
22461 $as_echo "$ac_cv_lib_ebook_1_2_e_book_client_new_direct" >&6; }
22462 if test "x$ac_cv_lib_ebook_1_2_e_book_client_new_direct" = xyes; then :
22464 $as_echo "#define HAVE_E_BOOK_CLIENT_NEW_DIRECT 1" >>confdefs.h
22470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for e_book_client_connect_direct_sync in -lebook-1.2" >&5
22471 $as_echo_n "checking for e_book_client_connect_direct_sync in -lebook-1.2... " >&6; }
22472 if ${ac_cv_lib_ebook_1_2_e_book_client_connect_direct_sync+:} false; then :
22473 $as_echo_n "(cached) " >&6
22475 ac_check_lib_save_LIBS=$LIBS
22476 LIBS="-lebook-1.2 $EDS_VERSION_LIBS $LIBS"
22477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22478 /* end confdefs.h. */
22480 /* Override any GCC internal prototype to avoid an error.
22481 Use char because int might match the return type of a GCC
22482 builtin and then its argument prototype would still apply. */
22486 char e_book_client_connect_direct_sync ();
22490 return e_book_client_connect_direct_sync ();
22495 if ac_fn_cxx_try_link "$LINENO"; then :
22496 ac_cv_lib_ebook_1_2_e_book_client_connect_direct_sync=yes
22498 ac_cv_lib_ebook_1_2_e_book_client_connect_direct_sync=no
22500 rm -f core conftest.err conftest.$ac_objext \
22501 conftest$ac_exeext conftest.$ac_ext
22502 LIBS=$ac_check_lib_save_LIBS
22504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ebook_1_2_e_book_client_connect_direct_sync" >&5
22505 $as_echo "$ac_cv_lib_ebook_1_2_e_book_client_connect_direct_sync" >&6; }
22506 if test "x$ac_cv_lib_ebook_1_2_e_book_client_connect_direct_sync" = xyes; then :
22508 $as_echo "#define HAVE_E_BOOK_CLIENT_CONNECT_DIRECT_SYNC 1" >>confdefs.h
22521 BACKEND_CPPFLAGS="$BACKEND_CPPFLAGS $EPACKAGE_CFLAGS $ECAL_CFLAGS $EBOOK_CFLAGS $EBOOKCONTACTS_CFLAGS"
22522 # ^^^^^^^^^^^^^^ src/backends/evolution/configure-sub.in ^^^^^^^^^^^^^^
22524 # vvvvvvvvvvvvvv src/backends/file/configure-sub.in vvvvvvvvvvvvvv
22532 BACKEND_CPPFLAGS="$BACKEND_CPPFLAGS $FILE_CFLAGS"
22535 # Check whether --enable-file was given.
22536 if test "${enable_file+set}" = set; then :
22537 enableval=$enable_file; enable_file="$enableval"
22543 BACKENDS="$BACKENDS file"
22544 BACKEND_DEFINES="$BACKEND_DEFINES ENABLE_FILE"
22547 SYNCSOURCES="$SYNCSOURCES src/backends/file/syncfile.la"
22552 if test "$enable_file" = "yes"; then
22554 $as_echo "#define ENABLE_FILE 1" >>confdefs.h
22557 # ^^^^^^^^^^^^^^ src/backends/file/configure-sub.in ^^^^^^^^^^^^^^
22559 # vvvvvvvvvvvvvv src/backends/gnome/configure-sub.in vvvvvvvvvvvvvv
22562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for KEYRING" >&5
22563 $as_echo_n "checking for KEYRING... " >&6; }
22565 if test -n "$KEYRING_CFLAGS"; then
22566 pkg_cv_KEYRING_CFLAGS="$KEYRING_CFLAGS"
22567 elif test -n "$PKG_CONFIG"; then
22568 if test -n "$PKG_CONFIG" && \
22569 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-keyring-1 >= 2.20\""; } >&5
22570 ($PKG_CONFIG --exists --print-errors "gnome-keyring-1 >= 2.20") 2>&5
22572 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22573 test $ac_status = 0; }; then
22574 pkg_cv_KEYRING_CFLAGS=`$PKG_CONFIG --cflags "gnome-keyring-1 >= 2.20" 2>/dev/null`
22575 test "x$?" != "x0" && pkg_failed=yes
22582 if test -n "$KEYRING_LIBS"; then
22583 pkg_cv_KEYRING_LIBS="$KEYRING_LIBS"
22584 elif test -n "$PKG_CONFIG"; then
22585 if test -n "$PKG_CONFIG" && \
22586 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-keyring-1 >= 2.20\""; } >&5
22587 ($PKG_CONFIG --exists --print-errors "gnome-keyring-1 >= 2.20") 2>&5
22589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22590 test $ac_status = 0; }; then
22591 pkg_cv_KEYRING_LIBS=`$PKG_CONFIG --libs "gnome-keyring-1 >= 2.20" 2>/dev/null`
22592 test "x$?" != "x0" && pkg_failed=yes
22602 if test $pkg_failed = yes; then
22603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22604 $as_echo "no" >&6; }
22606 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22607 _pkg_short_errors_supported=yes
22609 _pkg_short_errors_supported=no
22611 if test $_pkg_short_errors_supported = yes; then
22612 KEYRING_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gnome-keyring-1 >= 2.20" 2>&1`
22614 KEYRING_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gnome-keyring-1 >= 2.20" 2>&1`
22616 # Put the nasty error message in config.log where it belongs
22617 echo "$KEYRING_PKG_ERRORS" >&5
22620 elif test $pkg_failed = untried; then
22621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22622 $as_echo "no" >&6; }
22625 KEYRING_CFLAGS=$pkg_cv_KEYRING_CFLAGS
22626 KEYRING_LIBS=$pkg_cv_KEYRING_LIBS
22627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22628 $as_echo "yes" >&6; }
22631 # Check whether --enable-gnome-keyring was given.
22632 if test "${enable_gnome_keyring+set}" = set; then :
22633 enableval=$enable_gnome_keyring; enable_gnome_keyring="$enableval"
22634 test "$enable_gnome_keyring" = "yes" || test "$enable_gnome_keyring" = "no" || as_fn_error $? "invalid value for --enable-gnome-keyring: $enable_gnome_keyring" "$LINENO" 5
22635 test "$enable_gnome_keyring" = "no" || test "$HAVE_KEYRING" = "yes" || as_fn_error $? "gnome-keyring-1 pkg >= 2.20 not found, needed for --enable-gnome-keyring" "$LINENO" 5
22637 enable_gnome_keyring="$HAVE_KEYRING"
22640 if test $enable_gnome_keyring = "yes"; then
22643 $as_echo "#define USE_GNOME_KEYRING 1" >>confdefs.h
22645 # link into static executables, similar to a SyncSource
22646 SYNCSOURCES="$SYNCSOURCES src/backends/gnome/platformgnome.la"
22648 # ^^^^^^^^^^^^^^ src/backends/gnome/configure-sub.in ^^^^^^^^^^^^^^
22650 # vvvvvvvvvvvvvv src/backends/goa/configure-sub.in vvvvvvvvvvvvvv
22651 # Check whether --enable-goa was given.
22652 if test "${enable_goa+set}" = set; then :
22653 enableval=$enable_goa; enable_goa="$enableval"
22654 test "$enable_goa" = "yes" || test "$enable_goa" = "no" || as_fn_error $? "invalid value for --enable-goa: $enable_goa" "$LINENO" 5
22660 if test $enable_goa = "yes"; then
22662 $as_echo "#define USE_GOA 1" >>confdefs.h
22664 # link into static executables, similar to a SyncSource
22665 SYNCSOURCES="$SYNCSOURCES src/backends/goa/providergoa.la"
22668 # conditional compilation in make
22669 if test "$use_goa" = "yes"; then
22677 # ^^^^^^^^^^^^^^ src/backends/goa/configure-sub.in ^^^^^^^^^^^^^^
22679 # vvvvvvvvvvvvvv src/backends/kcalextended/configure-sub.in vvvvvvvvvvvvvv
22681 # BACKEND_CPPFLAGS="$BACKEND_CPPFLAGS ..."
22684 # Check whether --enable-kcalextended was given.
22685 if test "${enable_kcalextended+set}" = set; then :
22686 enableval=$enable_kcalextended; enable_kcalextended="$enableval"
22688 enable_kcalextended="no"
22692 BACKENDS="$BACKENDS kcalextended"
22693 BACKEND_DEFINES="$BACKEND_DEFINES ENABLE_KCALEXTENDED"
22694 for source in kcalextended
22696 SYNCSOURCES="$SYNCSOURCES src/backends/kcalextended/synckcalextended.la"
22701 if test "$enable_kcalextended" = "yes"; then
22703 $as_echo "#define ENABLE_KCALEXTENDED 1" >>confdefs.h
22707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for KCALEXTENDED" >&5
22708 $as_echo_n "checking for KCALEXTENDED... " >&6; }
22710 if test -n "$KCALEXTENDED_CFLAGS"; then
22711 pkg_cv_KCALEXTENDED_CFLAGS="$KCALEXTENDED_CFLAGS"
22712 elif test -n "$PKG_CONFIG"; then
22713 if test -n "$PKG_CONFIG" && \
22714 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmkcal libkcalcoren\""; } >&5
22715 ($PKG_CONFIG --exists --print-errors "libmkcal libkcalcoren") 2>&5
22717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22718 test $ac_status = 0; }; then
22719 pkg_cv_KCALEXTENDED_CFLAGS=`$PKG_CONFIG --cflags "libmkcal libkcalcoren" 2>/dev/null`
22720 test "x$?" != "x0" && pkg_failed=yes
22727 if test -n "$KCALEXTENDED_LIBS"; then
22728 pkg_cv_KCALEXTENDED_LIBS="$KCALEXTENDED_LIBS"
22729 elif test -n "$PKG_CONFIG"; then
22730 if test -n "$PKG_CONFIG" && \
22731 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmkcal libkcalcoren\""; } >&5
22732 ($PKG_CONFIG --exists --print-errors "libmkcal libkcalcoren") 2>&5
22734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22735 test $ac_status = 0; }; then
22736 pkg_cv_KCALEXTENDED_LIBS=`$PKG_CONFIG --libs "libmkcal libkcalcoren" 2>/dev/null`
22737 test "x$?" != "x0" && pkg_failed=yes
22747 if test $pkg_failed = yes; then
22748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22749 $as_echo "no" >&6; }
22751 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22752 _pkg_short_errors_supported=yes
22754 _pkg_short_errors_supported=no
22756 if test $_pkg_short_errors_supported = yes; then
22757 KCALEXTENDED_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libmkcal libkcalcoren" 2>&1`
22759 KCALEXTENDED_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libmkcal libkcalcoren" 2>&1`
22761 # Put the nasty error message in config.log where it belongs
22762 echo "$KCALEXTENDED_PKG_ERRORS" >&5
22764 as_fn_error $? "Package requirements (libmkcal libkcalcoren) were not met:
22766 $KCALEXTENDED_PKG_ERRORS
22768 Consider adjusting the PKG_CONFIG_PATH environment variable if you
22769 installed software in a non-standard prefix.
22771 Alternatively, you may set the environment variables KCALEXTENDED_CFLAGS
22772 and KCALEXTENDED_LIBS to avoid the need to call pkg-config.
22773 See the pkg-config man page for more details." "$LINENO" 5
22774 elif test $pkg_failed = untried; then
22775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22776 $as_echo "no" >&6; }
22777 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22778 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22779 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
22780 is in your PATH or set the PKG_CONFIG environment variable to the full
22781 path to pkg-config.
22783 Alternatively, you may set the environment variables KCALEXTENDED_CFLAGS
22784 and KCALEXTENDED_LIBS to avoid the need to call pkg-config.
22785 See the pkg-config man page for more details.
22787 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22788 See \`config.log' for more details" "$LINENO" 5; }
22790 KCALEXTENDED_CFLAGS=$pkg_cv_KCALEXTENDED_CFLAGS
22791 KCALEXTENDED_LIBS=$pkg_cv_KCALEXTENDED_LIBS
22792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22793 $as_echo "yes" >&6; }
22797 # ^^^^^^^^^^^^^^ src/backends/kcalextended/configure-sub.in ^^^^^^^^^^^^^^
22799 # vvvvvvvvvvvvvv src/backends/kde/configure-sub.in vvvvvvvvvvvvvv
22800 # first check for qmake-qt4, because qmake may point to qmake-qt3.
22801 for ac_prog in qmake-qt4 qmake
22803 # Extract the first word of "$ac_prog", so it can be a program name with args.
22804 set dummy $ac_prog; ac_word=$2
22805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22806 $as_echo_n "checking for $ac_word... " >&6; }
22807 if ${ac_cv_prog_QMAKE+:} false; then :
22808 $as_echo_n "(cached) " >&6
22810 if test -n "$QMAKE"; then
22811 ac_cv_prog_QMAKE="$QMAKE" # Let the user override the test.
22813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22814 for as_dir in $PATH
22817 test -z "$as_dir" && as_dir=.
22818 for ac_exec_ext in '' $ac_executable_extensions; do
22819 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22820 ac_cv_prog_QMAKE="$ac_prog"
22821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22830 QMAKE=$ac_cv_prog_QMAKE
22831 if test -n "$QMAKE"; then
22832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QMAKE" >&5
22833 $as_echo "$QMAKE" >&6; }
22835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22836 $as_echo "no" >&6; }
22840 test -n "$QMAKE" && break
22844 if test "x$QMAKE" != 'x'
22846 # Extract the first word of "kde4-config", so it can be a program name with args.
22847 set dummy kde4-config; ac_word=$2
22848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22849 $as_echo_n "checking for $ac_word... " >&6; }
22850 if ${ac_cv_path_KDE4_CONFIG+:} false; then :
22851 $as_echo_n "(cached) " >&6
22853 case $KDE4_CONFIG in
22855 ac_cv_path_KDE4_CONFIG="$KDE4_CONFIG" # Let the user override the test with a path.
22858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22859 for as_dir in $PATH
22862 test -z "$as_dir" && as_dir=.
22863 for ac_exec_ext in '' $ac_executable_extensions; do
22864 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22865 ac_cv_path_KDE4_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22873 test -z "$ac_cv_path_KDE4_CONFIG" && ac_cv_path_KDE4_CONFIG="no"
22877 KDE4_CONFIG=$ac_cv_path_KDE4_CONFIG
22878 if test -n "$KDE4_CONFIG"; then
22879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KDE4_CONFIG" >&5
22880 $as_echo "$KDE4_CONFIG" >&6; }
22882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22883 $as_echo "no" >&6; }
22888 if test "x$KDE4_CONFIG" != 'xno'
22890 KDEKWALLETFOUND=yes
22891 if ! test "$KDE_KWALLET_CFLAGS"; then
22892 KDE_KWALLET_CFLAGS="-I`$KDE4_CONFIG --path include` -I`$KDE4_CONFIG --path include`/KDE `pkg-config --cflags QtDBus QtCore`"
22894 if ! test "$KDE_KWALLET_LIBS"; then
22895 KDE_KWALLET_LIBS="-lkdeui -lkdecore -L`kde4-config --install lib` `pkg-config --libs QtDBus QtCore`"
22898 ac_cpp='$CXXCPP $CPPFLAGS'
22899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22903 old_CPPFLAGS="$CPPFLAGS"
22904 CPPFLAGS="$CPPFLAGS $KDE_KWALLET_CFLAGS"
22905 for ac_header in kwallet.h
22907 ac_fn_cxx_check_header_mongrel "$LINENO" "kwallet.h" "ac_cv_header_kwallet_h" "$ac_includes_default"
22908 if test "x$ac_cv_header_kwallet_h" = xyes; then :
22909 cat >>confdefs.h <<_ACEOF
22910 #define HAVE_KWALLET_H 1
22919 CPPFLAGS="$old_CPPFLAGS"
22921 ac_cpp='$CXXCPP $CPPFLAGS'
22922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22933 # In contrast to the GNOME KEYRING, the KWallet is
22934 # currently considered optional. "configure" will never enable
22935 # by default, because that is a change that might not be
22936 # expected by traditional users.
22937 # Check whether --enable-kwallet was given.
22938 if test "${enable_kwallet+set}" = set; then :
22939 enableval=$enable_kwallet; use_kde_kwallet="$enableval"
22940 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
22942 use_kde_kwallet="no"
22946 if test "$use_kde_kwallet" = "yes"; then
22948 # conditional compilation in preprocessor
22950 $as_echo "#define USE_KDE_KWALLET 1" >>confdefs.h
22952 # link into static executables, similar to a SyncSource
22953 SYNCSOURCES="$SYNCSOURCES src/backends/kde/platformkde.la"
22954 # TODO: KWallet needs Qt. Enable the Qt check in
22955 # configure-post.in, otherwise it fails to compiler
22956 # when none of the backends ask for Qt.
22958 # avoid unneeded dependencies on KWallet
22959 KDE_KWALLET_CFLAGS=
22965 # conditional compilation in make
22966 if test "$use_kde_kwallet" = "yes"; then
22967 USE_KDE_KWALLET_TRUE=
22968 USE_KDE_KWALLET_FALSE='#'
22970 USE_KDE_KWALLET_TRUE='#'
22971 USE_KDE_KWALLET_FALSE=
22974 # ^^^^^^^^^^^^^^ src/backends/kde/configure-sub.in ^^^^^^^^^^^^^^
22976 # vvvvvvvvvvvvvv src/backends/maemo/configure-sub.in vvvvvvvvvvvvvv
22980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MCALB" >&5
22981 $as_echo_n "checking for MCALB... " >&6; }
22983 if test -n "$MCALB_CFLAGS"; then
22984 pkg_cv_MCALB_CFLAGS="$MCALB_CFLAGS"
22985 elif test -n "$PKG_CONFIG"; then
22986 if test -n "$PKG_CONFIG" && \
22987 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"calendar-backend\""; } >&5
22988 ($PKG_CONFIG --exists --print-errors "calendar-backend") 2>&5
22990 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22991 test $ac_status = 0; }; then
22992 pkg_cv_MCALB_CFLAGS=`$PKG_CONFIG --cflags "calendar-backend" 2>/dev/null`
22993 test "x$?" != "x0" && pkg_failed=yes
23000 if test -n "$MCALB_LIBS"; then
23001 pkg_cv_MCALB_LIBS="$MCALB_LIBS"
23002 elif test -n "$PKG_CONFIG"; then
23003 if test -n "$PKG_CONFIG" && \
23004 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"calendar-backend\""; } >&5
23005 ($PKG_CONFIG --exists --print-errors "calendar-backend") 2>&5
23007 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23008 test $ac_status = 0; }; then
23009 pkg_cv_MCALB_LIBS=`$PKG_CONFIG --libs "calendar-backend" 2>/dev/null`
23010 test "x$?" != "x0" && pkg_failed=yes
23020 if test $pkg_failed = yes; then
23021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23022 $as_echo "no" >&6; }
23024 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23025 _pkg_short_errors_supported=yes
23027 _pkg_short_errors_supported=no
23029 if test $_pkg_short_errors_supported = yes; then
23030 MCALB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "calendar-backend" 2>&1`
23032 MCALB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "calendar-backend" 2>&1`
23034 # Put the nasty error message in config.log where it belongs
23035 echo "$MCALB_PKG_ERRORS" >&5
23038 elif test $pkg_failed = untried; then
23039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23040 $as_echo "no" >&6; }
23043 MCALB_CFLAGS=$pkg_cv_MCALB_CFLAGS
23044 MCALB_LIBS=$pkg_cv_MCALB_LIBS
23045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23046 $as_echo "yes" >&6; }
23051 BACKEND_CPPFLAGS="$BACKEND_CPPFLAGS $MCALB_CFLAGS"
23054 # Check whether --enable-maemocal was given.
23055 if test "${enable_maemocal+set}" = set; then :
23056 enableval=$enable_maemocal; enable_maemocal="$enableval"
23058 enable_maemocal="no"
23062 BACKENDS="$BACKENDS maemocal"
23063 BACKEND_DEFINES="$BACKEND_DEFINES ENABLE_MAEMOCAL"
23064 for source in maemo
23066 SYNCSOURCES="$SYNCSOURCES src/backends/maemo/syncmaemocal.la"
23071 if test "$enable_maemocal" = "yes"; then
23072 test "x${MCALBFOUND}" = "xyes" || as_fn_error $? "--enable-maemocal requires pkg-config information for calendar-backend, which was not found" "$LINENO" 5
23074 $as_echo "#define ENABLE_MAEMO_CALENDAR 1" >>confdefs.h
23077 # ^^^^^^^^^^^^^^ src/backends/maemo/configure-sub.in ^^^^^^^^^^^^^^
23079 # vvvvvvvvvvvvvv src/backends/oauth2/configure-sub.in vvvvvvvvvvvvvv
23080 # Both json-c.pc (libjson-c-dev on Debian Testing) and json.pc
23081 # (legacy, libjson0-dev on Debian Wheezy and Testing) are okay.
23084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JSON" >&5
23085 $as_echo_n "checking for JSON... " >&6; }
23087 if test -n "$JSON_CFLAGS"; then
23088 pkg_cv_JSON_CFLAGS="$JSON_CFLAGS"
23089 elif test -n "$PKG_CONFIG"; then
23090 if test -n "$PKG_CONFIG" && \
23091 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json\""; } >&5
23092 ($PKG_CONFIG --exists --print-errors "json") 2>&5
23094 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23095 test $ac_status = 0; }; then
23096 pkg_cv_JSON_CFLAGS=`$PKG_CONFIG --cflags "json" 2>/dev/null`
23097 test "x$?" != "x0" && pkg_failed=yes
23104 if test -n "$JSON_LIBS"; then
23105 pkg_cv_JSON_LIBS="$JSON_LIBS"
23106 elif test -n "$PKG_CONFIG"; then
23107 if test -n "$PKG_CONFIG" && \
23108 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json\""; } >&5
23109 ($PKG_CONFIG --exists --print-errors "json") 2>&5
23111 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23112 test $ac_status = 0; }; then
23113 pkg_cv_JSON_LIBS=`$PKG_CONFIG --libs "json" 2>/dev/null`
23114 test "x$?" != "x0" && pkg_failed=yes
23124 if test $pkg_failed = yes; then
23125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23126 $as_echo "no" >&6; }
23128 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23129 _pkg_short_errors_supported=yes
23131 _pkg_short_errors_supported=no
23133 if test $_pkg_short_errors_supported = yes; then
23134 JSON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json" 2>&1`
23136 JSON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json" 2>&1`
23138 # Put the nasty error message in config.log where it belongs
23139 echo "$JSON_PKG_ERRORS" >&5
23143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JSON" >&5
23144 $as_echo_n "checking for JSON... " >&6; }
23146 if test -n "$JSON_CFLAGS"; then
23147 pkg_cv_JSON_CFLAGS="$JSON_CFLAGS"
23148 elif test -n "$PKG_CONFIG"; then
23149 if test -n "$PKG_CONFIG" && \
23150 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c\""; } >&5
23151 ($PKG_CONFIG --exists --print-errors "json-c") 2>&5
23153 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23154 test $ac_status = 0; }; then
23155 pkg_cv_JSON_CFLAGS=`$PKG_CONFIG --cflags "json-c" 2>/dev/null`
23156 test "x$?" != "x0" && pkg_failed=yes
23163 if test -n "$JSON_LIBS"; then
23164 pkg_cv_JSON_LIBS="$JSON_LIBS"
23165 elif test -n "$PKG_CONFIG"; then
23166 if test -n "$PKG_CONFIG" && \
23167 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c\""; } >&5
23168 ($PKG_CONFIG --exists --print-errors "json-c") 2>&5
23170 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23171 test $ac_status = 0; }; then
23172 pkg_cv_JSON_LIBS=`$PKG_CONFIG --libs "json-c" 2>/dev/null`
23173 test "x$?" != "x0" && pkg_failed=yes
23183 if test $pkg_failed = yes; then
23184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23185 $as_echo "no" >&6; }
23187 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23188 _pkg_short_errors_supported=yes
23190 _pkg_short_errors_supported=no
23192 if test $_pkg_short_errors_supported = yes; then
23193 JSON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json-c" 2>&1`
23195 JSON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json-c" 2>&1`
23197 # Put the nasty error message in config.log where it belongs
23198 echo "$JSON_PKG_ERRORS" >&5
23201 elif test $pkg_failed = untried; then
23202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23203 $as_echo "no" >&6; }
23206 JSON_CFLAGS=$pkg_cv_JSON_CFLAGS
23207 JSON_LIBS=$pkg_cv_JSON_LIBS
23208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23209 $as_echo "yes" >&6; }
23212 elif test $pkg_failed = untried; then
23213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23214 $as_echo "no" >&6; }
23217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JSON" >&5
23218 $as_echo_n "checking for JSON... " >&6; }
23220 if test -n "$JSON_CFLAGS"; then
23221 pkg_cv_JSON_CFLAGS="$JSON_CFLAGS"
23222 elif test -n "$PKG_CONFIG"; then
23223 if test -n "$PKG_CONFIG" && \
23224 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c\""; } >&5
23225 ($PKG_CONFIG --exists --print-errors "json-c") 2>&5
23227 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23228 test $ac_status = 0; }; then
23229 pkg_cv_JSON_CFLAGS=`$PKG_CONFIG --cflags "json-c" 2>/dev/null`
23230 test "x$?" != "x0" && pkg_failed=yes
23237 if test -n "$JSON_LIBS"; then
23238 pkg_cv_JSON_LIBS="$JSON_LIBS"
23239 elif test -n "$PKG_CONFIG"; then
23240 if test -n "$PKG_CONFIG" && \
23241 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c\""; } >&5
23242 ($PKG_CONFIG --exists --print-errors "json-c") 2>&5
23244 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23245 test $ac_status = 0; }; then
23246 pkg_cv_JSON_LIBS=`$PKG_CONFIG --libs "json-c" 2>/dev/null`
23247 test "x$?" != "x0" && pkg_failed=yes
23257 if test $pkg_failed = yes; then
23258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23259 $as_echo "no" >&6; }
23261 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23262 _pkg_short_errors_supported=yes
23264 _pkg_short_errors_supported=no
23266 if test $_pkg_short_errors_supported = yes; then
23267 JSON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json-c" 2>&1`
23269 JSON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json-c" 2>&1`
23271 # Put the nasty error message in config.log where it belongs
23272 echo "$JSON_PKG_ERRORS" >&5
23275 elif test $pkg_failed = untried; then
23276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23277 $as_echo "no" >&6; }
23280 JSON_CFLAGS=$pkg_cv_JSON_CFLAGS
23281 JSON_LIBS=$pkg_cv_JSON_LIBS
23282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23283 $as_echo "yes" >&6; }
23287 JSON_CFLAGS=$pkg_cv_JSON_CFLAGS
23288 JSON_LIBS=$pkg_cv_JSON_LIBS
23289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23290 $as_echo "yes" >&6; }
23296 if test "$ENABLE_LIBSOUP" = "yes" && test "$HAVE_JSON" = "yes"; then
23300 # Check whether --enable-oauth2 was given.
23301 if test "${enable_oauth2+set}" = set; then :
23302 enableval=$enable_oauth2; enable_oauth2="$enableval"
23303 test "$enable_oauth2" = "yes" || test "$enable_oauth2" = "no" || as_fn_error $? "invalid value for --enable-oauth2: $enable_oauth2" "$LINENO" 5
23304 test "$enable_oauth2" = "no" || test "$HAVE_JSON" = "yes" || test "$ENABLE_LIBSOUP" = "yes"|| as_fn_error $? "required pkg(s) not found that are needed for --enable-oauth2" "$LINENO" 5
23306 enable_oauth2="$def_oauth2"
23309 if test "$enable_oauth2" = "yes"; then
23310 # link into static executables, similar to a SyncSource
23311 SYNCSOURCES="$SYNCSOURCES src/backends/oauth2/provideroauth2.la"
23312 if test "$enable_static" = "yes"; then
23314 $as_echo "#define STATIC_OAUTH2 1" >>confdefs.h
23319 # conditional compilation in make
23320 if test "$enable_oauth2" = "yes"; then
23322 USE_OAUTH2_FALSE='#'
23324 USE_OAUTH2_TRUE='#'
23328 # ^^^^^^^^^^^^^^ src/backends/oauth2/configure-sub.in ^^^^^^^^^^^^^^
23330 # vvvvvvvvvvvvvv src/backends/pbap/configure-sub.in vvvvvvvvvvvvvv
23338 BACKEND_CPPFLAGS="$BACKEND_CPPFLAGS $PBAP_CFLAGS"
23341 # Check whether --enable-pbap was given.
23342 if test "${enable_pbap+set}" = set; then :
23343 enableval=$enable_pbap; enable_pbap="$enableval"
23349 BACKENDS="$BACKENDS pbap"
23350 BACKEND_DEFINES="$BACKEND_DEFINES ENABLE_PBAP"
23353 SYNCSOURCES="$SYNCSOURCES src/backends/pbap/syncpbap.la"
23358 if test "$enable_pbap" = "yes"; then
23360 $as_echo "#define ENABLE_PBAP 1" >>confdefs.h
23364 # ^^^^^^^^^^^^^^ src/backends/pbap/configure-sub.in ^^^^^^^^^^^^^^
23366 # vvvvvvvvvvvvvv src/backends/qtcontacts/configure-sub.in vvvvvvvvvvvvvv
23368 # BACKEND_CPPFLAGS="$BACKEND_CPPFLAGS ..."
23371 # Check whether --enable-qtcontacts was given.
23372 if test "${enable_qtcontacts+set}" = set; then :
23373 enableval=$enable_qtcontacts; enable_qtcontacts="$enableval"
23375 enable_qtcontacts="no"
23379 BACKENDS="$BACKENDS qtcontacts"
23380 BACKEND_DEFINES="$BACKEND_DEFINES ENABLE_QTCONTACTS"
23381 for source in qtcontacts
23383 SYNCSOURCES="$SYNCSOURCES src/backends/qtcontacts/syncqtcontacts.la"
23388 if test "$enable_qtcontacts" = "yes"; then
23390 $as_echo "#define ENABLE_QTCONTACTS 1" >>confdefs.h
23392 # AC_WITH_QT() will be called in configure-post if need_qt_modules is not empty,
23393 # setting QT_* flags.
23394 need_qt_modules="$need_qt_modules +gui" # GUI needed for QVersit
23395 qt_config="$qt_config +mobility"
23397 MOBILITY += contacts versit"
23400 # ^^^^^^^^^^^^^^ src/backends/qtcontacts/configure-sub.in ^^^^^^^^^^^^^^
23402 # vvvvvvvvvvvvvv src/backends/signon/configure-sub.in vvvvvvvvvvvvvv
23405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSSO" >&5
23406 $as_echo_n "checking for GSSO... " >&6; }
23408 if test -n "$GSSO_CFLAGS"; then
23409 pkg_cv_GSSO_CFLAGS="$GSSO_CFLAGS"
23410 elif test -n "$PKG_CONFIG"; then
23411 if test -n "$PKG_CONFIG" && \
23412 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgsignon-glib >= 2.0\""; } >&5
23413 ($PKG_CONFIG --exists --print-errors "libgsignon-glib >= 2.0") 2>&5
23415 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23416 test $ac_status = 0; }; then
23417 pkg_cv_GSSO_CFLAGS=`$PKG_CONFIG --cflags "libgsignon-glib >= 2.0" 2>/dev/null`
23418 test "x$?" != "x0" && pkg_failed=yes
23425 if test -n "$GSSO_LIBS"; then
23426 pkg_cv_GSSO_LIBS="$GSSO_LIBS"
23427 elif test -n "$PKG_CONFIG"; then
23428 if test -n "$PKG_CONFIG" && \
23429 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgsignon-glib >= 2.0\""; } >&5
23430 ($PKG_CONFIG --exists --print-errors "libgsignon-glib >= 2.0") 2>&5
23432 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23433 test $ac_status = 0; }; then
23434 pkg_cv_GSSO_LIBS=`$PKG_CONFIG --libs "libgsignon-glib >= 2.0" 2>/dev/null`
23435 test "x$?" != "x0" && pkg_failed=yes
23445 if test $pkg_failed = yes; then
23446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23447 $as_echo "no" >&6; }
23449 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23450 _pkg_short_errors_supported=yes
23452 _pkg_short_errors_supported=no
23454 if test $_pkg_short_errors_supported = yes; then
23455 GSSO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libgsignon-glib >= 2.0" 2>&1`
23457 GSSO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libgsignon-glib >= 2.0" 2>&1`
23459 # Put the nasty error message in config.log where it belongs
23460 echo "$GSSO_PKG_ERRORS" >&5
23463 elif test $pkg_failed = untried; then
23464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23465 $as_echo "no" >&6; }
23468 GSSO_CFLAGS=$pkg_cv_GSSO_CFLAGS
23469 GSSO_LIBS=$pkg_cv_GSSO_LIBS
23470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23471 $as_echo "yes" >&6; }
23476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UOA" >&5
23477 $as_echo_n "checking for UOA... " >&6; }
23479 if test -n "$UOA_CFLAGS"; then
23480 pkg_cv_UOA_CFLAGS="$UOA_CFLAGS"
23481 elif test -n "$PKG_CONFIG"; then
23482 if test -n "$PKG_CONFIG" && \
23483 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsignon-glib >= 1.7\""; } >&5
23484 ($PKG_CONFIG --exists --print-errors "libsignon-glib >= 1.7") 2>&5
23486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23487 test $ac_status = 0; }; then
23488 pkg_cv_UOA_CFLAGS=`$PKG_CONFIG --cflags "libsignon-glib >= 1.7" 2>/dev/null`
23489 test "x$?" != "x0" && pkg_failed=yes
23496 if test -n "$UOA_LIBS"; then
23497 pkg_cv_UOA_LIBS="$UOA_LIBS"
23498 elif test -n "$PKG_CONFIG"; then
23499 if test -n "$PKG_CONFIG" && \
23500 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsignon-glib >= 1.7\""; } >&5
23501 ($PKG_CONFIG --exists --print-errors "libsignon-glib >= 1.7") 2>&5
23503 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23504 test $ac_status = 0; }; then
23505 pkg_cv_UOA_LIBS=`$PKG_CONFIG --libs "libsignon-glib >= 1.7" 2>/dev/null`
23506 test "x$?" != "x0" && pkg_failed=yes
23516 if test $pkg_failed = yes; then
23517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23518 $as_echo "no" >&6; }
23520 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23521 _pkg_short_errors_supported=yes
23523 _pkg_short_errors_supported=no
23525 if test $_pkg_short_errors_supported = yes; then
23526 UOA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsignon-glib >= 1.7" 2>&1`
23528 UOA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsignon-glib >= 1.7" 2>&1`
23530 # Put the nasty error message in config.log where it belongs
23531 echo "$UOA_PKG_ERRORS" >&5
23534 elif test $pkg_failed = untried; then
23535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23536 $as_echo "no" >&6; }
23539 UOA_CFLAGS=$pkg_cv_UOA_CFLAGS
23540 UOA_LIBS=$pkg_cv_UOA_LIBS
23541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23542 $as_echo "yes" >&6; }
23547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ACCOUNTS" >&5
23548 $as_echo_n "checking for ACCOUNTS... " >&6; }
23550 if test -n "$ACCOUNTS_CFLAGS"; then
23551 pkg_cv_ACCOUNTS_CFLAGS="$ACCOUNTS_CFLAGS"
23552 elif test -n "$PKG_CONFIG"; then
23553 if test -n "$PKG_CONFIG" && \
23554 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libaccounts-glib >= 1.8\""; } >&5
23555 ($PKG_CONFIG --exists --print-errors "libaccounts-glib >= 1.8") 2>&5
23557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23558 test $ac_status = 0; }; then
23559 pkg_cv_ACCOUNTS_CFLAGS=`$PKG_CONFIG --cflags "libaccounts-glib >= 1.8" 2>/dev/null`
23560 test "x$?" != "x0" && pkg_failed=yes
23567 if test -n "$ACCOUNTS_LIBS"; then
23568 pkg_cv_ACCOUNTS_LIBS="$ACCOUNTS_LIBS"
23569 elif test -n "$PKG_CONFIG"; then
23570 if test -n "$PKG_CONFIG" && \
23571 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libaccounts-glib >= 1.8\""; } >&5
23572 ($PKG_CONFIG --exists --print-errors "libaccounts-glib >= 1.8") 2>&5
23574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23575 test $ac_status = 0; }; then
23576 pkg_cv_ACCOUNTS_LIBS=`$PKG_CONFIG --libs "libaccounts-glib >= 1.8" 2>/dev/null`
23577 test "x$?" != "x0" && pkg_failed=yes
23587 if test $pkg_failed = yes; then
23588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23589 $as_echo "no" >&6; }
23591 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23592 _pkg_short_errors_supported=yes
23594 _pkg_short_errors_supported=no
23596 if test $_pkg_short_errors_supported = yes; then
23597 ACCOUNTS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libaccounts-glib >= 1.8" 2>&1`
23599 ACCOUNTS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libaccounts-glib >= 1.8" 2>&1`
23601 # Put the nasty error message in config.log where it belongs
23602 echo "$ACCOUNTS_PKG_ERRORS" >&5
23605 elif test $pkg_failed = untried; then
23606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23607 $as_echo "no" >&6; }
23610 ACCOUNTS_CFLAGS=$pkg_cv_ACCOUNTS_CFLAGS
23611 ACCOUNTS_LIBS=$pkg_cv_ACCOUNTS_LIBS
23612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23613 $as_echo "yes" >&6; }
23620 if test "$HAVE_GSSO" = "yes" && test "$HAVE_ACCOUNTS" = "yes"; then
23623 if test "$HAVE_UOA" = "yes" && test "$HAVE_ACCOUNTS" = "yes"; then
23626 if test "$HAVE_GSSO" = "yes"; then
23627 DEFAULT_SIGNON="GSSO"
23629 elif test "$HAVE_UOA" = "yes"; then
23630 DEFAULT_SIGNON="UOA"
23635 # The backends could be compiled independently. However, the XML example files
23636 # for accounts only get created once and the backends require conflicting values
23639 # Also, when compiling without dynamic module loading, signonRegister.cpp will
23640 # only be compiled once and thus can activate only one of the actual signon
23643 # Check whether --enable-gsso was given.
23644 if test "${enable_gsso+set}" = set; then :
23645 enableval=$enable_gsso; enable_gsso="$enableval"
23646 test "$enable_gsso" = "yes" || test "$enable_gsso" = "no" || as_fn_error $? "invalid value for --enable-gsso: $enable_gsso" "$LINENO" 5
23647 test "$enable_gsso" = "no" || (test "$HAVE_GSSO" = "yes" && test "$HAVE_ACCOUNTS" = "yes" ) || as_fn_error $? "required pkg(s) not found that are needed for --enable-gsso" "$LINENO" 5
23649 enable_gsso="$def_gsso"
23652 if test $enable_gsso = "yes"; then
23653 # link into static executables, similar to a SyncSource
23654 SYNCSOURCES="$SYNCSOURCES src/backends/signon/providergsso.la"
23655 GOOGLE_METHOD="oauth"
23656 GOOGLE_MECHANISM="oauth2"
23659 if test "$enable_static" = "yes"; then
23661 $as_echo "#define STATIC_GSSO 1" >>confdefs.h
23666 # conditional compilation in make
23667 if test "$enable_gsso" = "yes"; then
23676 # Check whether --enable-uoa was given.
23677 if test "${enable_uoa+set}" = set; then :
23678 enableval=$enable_uoa; enable_uoa="$enableval"
23679 test "$enable_uoa" = "yes" || test "$enable_uoa" = "no" || as_fn_error $? "invalid value for --enable-uoa: $enable_uoa" "$LINENO" 5
23680 test "$enable_uoa" = "no" || (test "$HAVE_UOA" = "yes" && test "$HAVE_ACCOUNTS" = "yes" ) || as_fn_error $? "required pkg(s) not found that are needed for --enable-uoa" "$LINENO" 5
23682 enable_uoa="$def_uoa"
23685 if test $enable_uoa = "yes"; then
23686 # link into static executables, similar to a SyncSource
23687 SYNCSOURCES="$SYNCSOURCES src/backends/signon/provideruoa.la"
23688 GOOGLE_METHOD="oauth2"
23689 GOOGLE_MECHANISM="web_server"
23692 if test "$enable_static" = "yes"; then
23694 $as_echo "#define STATIC_UOA 1" >>confdefs.h
23699 # conditional compilation in make
23700 if test "$enable_uoa" = "yes"; then
23709 # Check whether --enable-signon was given.
23710 if test "${enable_signon+set}" = set; then :
23711 enableval=$enable_signon; enable_signon="$enableval"
23712 test "$enable_signon" = "yes" || test "$enable_signon" = "no" || as_fn_error $? "invalid value for --enable-signon: $enable_signon" "$LINENO" 5
23713 test "$enable_signon" = "no" || test "$HAVE_UOA" = "yes" || test "$HAVE_GSSO" = "yes" || as_fn_error $? "required pkg(s) not found that are needed for --enable-signon" "$LINENO" 5
23715 enable_signon="$def_signon"
23718 if test $enable_signon = "yes"; then
23719 # link into static executables, similar to a SyncSource
23720 SYNCSOURCES="$SYNCSOURCES src/backends/signon/providersignon.la"
23723 if test "$enable_static" = "yes"; then
23725 $as_echo "#define STATIC_SIGNON 1" >>confdefs.h
23730 # conditional compilation in make
23731 if test "$enable_signon" = "yes"; then
23733 USE_SIGNON_FALSE='#'
23735 USE_SIGNON_TRUE='#'
23741 # Check whether --with-google-client-id was given.
23742 if test "${with_google_client_id+set}" = set; then :
23743 withval=$with_google_client_id; GOOGLE_CLIENT_ID=$withval
23745 GOOGLE_CLIENT_ID=insert-your-client-id-here
23749 # Check whether --with-google-client-secret was given.
23750 if test "${with_google_client_secret+set}" = set; then :
23751 withval=$with_google_client_secret; GOOGLE_CLIENT_SECRET=$withval
23753 GOOGLE_CLIENT_SECRET=insert-your-client-secret-here
23760 # Check whether --with-google-client-id-caldav was given.
23761 if test "${with_google_client_id_caldav+set}" = set; then :
23762 withval=$with_google_client_id_caldav; GOOGLE_CLIENT_ID_CALDAV=$withval
23764 GOOGLE_CLIENT_ID_CALDAV=insert-your-client-id-here
23768 # Check whether --with-google-client-secret-caldav was given.
23769 if test "${with_google_client_secret_caldav+set}" = set; then :
23770 withval=$with_google_client_secret_caldav; GOOGLE_CLIENT_SECRET_CALDAV=$withval
23772 GOOGLE_CLIENT_SECRET_CALDAV=insert-your-client-secret-here
23779 # Check whether --with-google-client-id-carddav was given.
23780 if test "${with_google_client_id_carddav+set}" = set; then :
23781 withval=$with_google_client_id_carddav; GOOGLE_CLIENT_ID_CARDDAV=$withval
23783 GOOGLE_CLIENT_ID_CARDDAV=insert-your-client-id-here
23787 # Check whether --with-google-client-secret-carddav was given.
23788 if test "${with_google_client_secret_carddav+set}" = set; then :
23789 withval=$with_google_client_secret_carddav; GOOGLE_CLIENT_SECRET_CARDDAV=$withval
23791 GOOGLE_CLIENT_SECRET_CARDDAV=insert-your-client-secret-here
23797 ac_config_files="$ac_config_files src/backends/signon/accounts/google-caldav.service src/backends/signon/accounts/google-carddav.service src/backends/signon/accounts/google.provider"
23799 # ^^^^^^^^^^^^^^ src/backends/signon/configure-sub.in ^^^^^^^^^^^^^^
23801 # vvvvvvvvvvvvvv src/backends/sqlite/configure-sub.in vvvvvvvvvvvvvv
23805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SQLITE" >&5
23806 $as_echo_n "checking for SQLITE... " >&6; }
23808 if test -n "$SQLITE_CFLAGS"; then
23809 pkg_cv_SQLITE_CFLAGS="$SQLITE_CFLAGS"
23810 elif test -n "$PKG_CONFIG"; then
23811 if test -n "$PKG_CONFIG" && \
23812 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
23813 ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
23815 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23816 test $ac_status = 0; }; then
23817 pkg_cv_SQLITE_CFLAGS=`$PKG_CONFIG --cflags "sqlite3" 2>/dev/null`
23818 test "x$?" != "x0" && pkg_failed=yes
23825 if test -n "$SQLITE_LIBS"; then
23826 pkg_cv_SQLITE_LIBS="$SQLITE_LIBS"
23827 elif test -n "$PKG_CONFIG"; then
23828 if test -n "$PKG_CONFIG" && \
23829 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
23830 ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
23832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23833 test $ac_status = 0; }; then
23834 pkg_cv_SQLITE_LIBS=`$PKG_CONFIG --libs "sqlite3" 2>/dev/null`
23835 test "x$?" != "x0" && pkg_failed=yes
23845 if test $pkg_failed = yes; then
23846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23847 $as_echo "no" >&6; }
23849 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23850 _pkg_short_errors_supported=yes
23852 _pkg_short_errors_supported=no
23854 if test $_pkg_short_errors_supported = yes; then
23855 SQLITE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sqlite3" 2>&1`
23857 SQLITE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sqlite3" 2>&1`
23859 # Put the nasty error message in config.log where it belongs
23860 echo "$SQLITE_PKG_ERRORS" >&5
23863 elif test $pkg_failed = untried; then
23864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23865 $as_echo "no" >&6; }
23868 SQLITE_CFLAGS=$pkg_cv_SQLITE_CFLAGS
23869 SQLITE_LIBS=$pkg_cv_SQLITE_LIBS
23870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23871 $as_echo "yes" >&6; }
23876 BACKEND_CPPFLAGS="$BACKEND_CPPFLAGS $SQLITE_CFLAGS"
23879 # Check whether --enable-sqlite was given.
23880 if test "${enable_sqlite+set}" = set; then :
23881 enableval=$enable_sqlite; enable_sqlite="$enableval"
23887 BACKENDS="$BACKENDS sqlite"
23888 BACKEND_DEFINES="$BACKEND_DEFINES ENABLE_SQLITE"
23889 for source in sqlite
23891 SYNCSOURCES="$SYNCSOURCES src/backends/sqlite/syncsqlite.la"
23896 if test "$enable_sqlite" = "yes"; then
23897 test "x${SQLITEFOUND}" = "xyes" || as_fn_error $? "--enable-sqlite requires pkg-config information for sqlite3, which was not found" "$LINENO" 5
23899 $as_echo "#define ENABLE_SQLITE 1" >>confdefs.h
23902 # avoid linking against it if not needed
23906 # ^^^^^^^^^^^^^^ src/backends/sqlite/configure-sub.in ^^^^^^^^^^^^^^
23908 # vvvvvvvvvvvvvv src/backends/webdav/configure-sub.in vvvvvvvvvvvvvv
23911 # Check whether --enable-dav was given.
23912 if test "${enable_dav+set}" = set; then :
23913 enableval=$enable_dav; enable_dav="$enableval"
23919 BACKENDS="$BACKENDS dav"
23920 BACKEND_DEFINES="$BACKEND_DEFINES ENABLE_DAV"
23921 for source in webdav
23923 SYNCSOURCES="$SYNCSOURCES src/backends/webdav/syncdav.la"
23928 if test "$enable_dav" = "yes"; then
23932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NEON" >&5
23933 $as_echo_n "checking for NEON... " >&6; }
23935 if test -n "$NEON_CFLAGS"; then
23936 pkg_cv_NEON_CFLAGS="$NEON_CFLAGS"
23937 elif test -n "$PKG_CONFIG"; then
23938 if test -n "$PKG_CONFIG" && \
23939 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"neon >= 0.29\""; } >&5
23940 ($PKG_CONFIG --exists --print-errors "neon >= 0.29") 2>&5
23942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23943 test $ac_status = 0; }; then
23944 pkg_cv_NEON_CFLAGS=`$PKG_CONFIG --cflags "neon >= 0.29" 2>/dev/null`
23945 test "x$?" != "x0" && pkg_failed=yes
23952 if test -n "$NEON_LIBS"; then
23953 pkg_cv_NEON_LIBS="$NEON_LIBS"
23954 elif test -n "$PKG_CONFIG"; then
23955 if test -n "$PKG_CONFIG" && \
23956 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"neon >= 0.29\""; } >&5
23957 ($PKG_CONFIG --exists --print-errors "neon >= 0.29") 2>&5
23959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23960 test $ac_status = 0; }; then
23961 pkg_cv_NEON_LIBS=`$PKG_CONFIG --libs "neon >= 0.29" 2>/dev/null`
23962 test "x$?" != "x0" && pkg_failed=yes
23972 if test $pkg_failed = yes; then
23973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23974 $as_echo "no" >&6; }
23976 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23977 _pkg_short_errors_supported=yes
23979 _pkg_short_errors_supported=no
23981 if test $_pkg_short_errors_supported = yes; then
23982 NEON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "neon >= 0.29" 2>&1`
23984 NEON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "neon >= 0.29" 2>&1`
23986 # Put the nasty error message in config.log where it belongs
23987 echo "$NEON_PKG_ERRORS" >&5
23991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NEON" >&5
23992 $as_echo_n "checking for NEON... " >&6; }
23994 if test -n "$NEON_CFLAGS"; then
23995 pkg_cv_NEON_CFLAGS="$NEON_CFLAGS"
23996 elif test -n "$PKG_CONFIG"; then
23997 if test -n "$PKG_CONFIG" && \
23998 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"neon >= 0.27\""; } >&5
23999 ($PKG_CONFIG --exists --print-errors "neon >= 0.27") 2>&5
24001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24002 test $ac_status = 0; }; then
24003 pkg_cv_NEON_CFLAGS=`$PKG_CONFIG --cflags "neon >= 0.27" 2>/dev/null`
24004 test "x$?" != "x0" && pkg_failed=yes
24011 if test -n "$NEON_LIBS"; then
24012 pkg_cv_NEON_LIBS="$NEON_LIBS"
24013 elif test -n "$PKG_CONFIG"; then
24014 if test -n "$PKG_CONFIG" && \
24015 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"neon >= 0.27\""; } >&5
24016 ($PKG_CONFIG --exists --print-errors "neon >= 0.27") 2>&5
24018 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24019 test $ac_status = 0; }; then
24020 pkg_cv_NEON_LIBS=`$PKG_CONFIG --libs "neon >= 0.27" 2>/dev/null`
24021 test "x$?" != "x0" && pkg_failed=yes
24031 if test $pkg_failed = yes; then
24032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24033 $as_echo "no" >&6; }
24035 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24036 _pkg_short_errors_supported=yes
24038 _pkg_short_errors_supported=no
24040 if test $_pkg_short_errors_supported = yes; then
24041 NEON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "neon >= 0.27" 2>&1`
24043 NEON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "neon >= 0.27" 2>&1`
24045 # Put the nasty error message in config.log where it belongs
24046 echo "$NEON_PKG_ERRORS" >&5
24048 as_fn_error $? "Package requirements (neon >= 0.27) were not met:
24052 Consider adjusting the PKG_CONFIG_PATH environment variable if you
24053 installed software in a non-standard prefix.
24055 Alternatively, you may set the environment variables NEON_CFLAGS
24056 and NEON_LIBS to avoid the need to call pkg-config.
24057 See the pkg-config man page for more details." "$LINENO" 5
24058 elif test $pkg_failed = untried; then
24059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24060 $as_echo "no" >&6; }
24061 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24062 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24063 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
24064 is in your PATH or set the PKG_CONFIG environment variable to the full
24065 path to pkg-config.
24067 Alternatively, you may set the environment variables NEON_CFLAGS
24068 and NEON_LIBS to avoid the need to call pkg-config.
24069 See the pkg-config man page for more details.
24071 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
24072 See \`config.log' for more details" "$LINENO" 5; }
24074 NEON_CFLAGS=$pkg_cv_NEON_CFLAGS
24075 NEON_LIBS=$pkg_cv_NEON_LIBS
24076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24077 $as_echo "yes" >&6; }
24080 elif test $pkg_failed = untried; then
24081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24082 $as_echo "no" >&6; }
24085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NEON" >&5
24086 $as_echo_n "checking for NEON... " >&6; }
24088 if test -n "$NEON_CFLAGS"; then
24089 pkg_cv_NEON_CFLAGS="$NEON_CFLAGS"
24090 elif test -n "$PKG_CONFIG"; then
24091 if test -n "$PKG_CONFIG" && \
24092 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"neon >= 0.27\""; } >&5
24093 ($PKG_CONFIG --exists --print-errors "neon >= 0.27") 2>&5
24095 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24096 test $ac_status = 0; }; then
24097 pkg_cv_NEON_CFLAGS=`$PKG_CONFIG --cflags "neon >= 0.27" 2>/dev/null`
24098 test "x$?" != "x0" && pkg_failed=yes
24105 if test -n "$NEON_LIBS"; then
24106 pkg_cv_NEON_LIBS="$NEON_LIBS"
24107 elif test -n "$PKG_CONFIG"; then
24108 if test -n "$PKG_CONFIG" && \
24109 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"neon >= 0.27\""; } >&5
24110 ($PKG_CONFIG --exists --print-errors "neon >= 0.27") 2>&5
24112 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24113 test $ac_status = 0; }; then
24114 pkg_cv_NEON_LIBS=`$PKG_CONFIG --libs "neon >= 0.27" 2>/dev/null`
24115 test "x$?" != "x0" && pkg_failed=yes
24125 if test $pkg_failed = yes; then
24126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24127 $as_echo "no" >&6; }
24129 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24130 _pkg_short_errors_supported=yes
24132 _pkg_short_errors_supported=no
24134 if test $_pkg_short_errors_supported = yes; then
24135 NEON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "neon >= 0.27" 2>&1`
24137 NEON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "neon >= 0.27" 2>&1`
24139 # Put the nasty error message in config.log where it belongs
24140 echo "$NEON_PKG_ERRORS" >&5
24142 as_fn_error $? "Package requirements (neon >= 0.27) were not met:
24146 Consider adjusting the PKG_CONFIG_PATH environment variable if you
24147 installed software in a non-standard prefix.
24149 Alternatively, you may set the environment variables NEON_CFLAGS
24150 and NEON_LIBS to avoid the need to call pkg-config.
24151 See the pkg-config man page for more details." "$LINENO" 5
24152 elif test $pkg_failed = untried; then
24153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24154 $as_echo "no" >&6; }
24155 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24156 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24157 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
24158 is in your PATH or set the PKG_CONFIG environment variable to the full
24159 path to pkg-config.
24161 Alternatively, you may set the environment variables NEON_CFLAGS
24162 and NEON_LIBS to avoid the need to call pkg-config.
24163 See the pkg-config man page for more details.
24165 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
24166 See \`config.log' for more details" "$LINENO" 5; }
24168 NEON_CFLAGS=$pkg_cv_NEON_CFLAGS
24169 NEON_LIBS=$pkg_cv_NEON_LIBS
24170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24171 $as_echo "yes" >&6; }
24175 NEON_CFLAGS=$pkg_cv_NEON_CFLAGS
24176 NEON_LIBS=$pkg_cv_NEON_LIBS
24177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24178 $as_echo "yes" >&6; }
24180 $as_echo "#define HAVE_LIBNEON_SYSTEM_PROXY 1" >>confdefs.h
24183 $as_echo "#define HAVE_LIBNEON_OPTIONS 1" >>confdefs.h
24187 $as_echo "#define ENABLE_DAV 1" >>confdefs.h
24190 $as_echo "#define ENABLE_ICAL 1" >>confdefs.h
24192 BACKEND_CPPFLAGS="$BACKEND_CPPFLAGS $NEON_CFLAGS"
24195 # Check whether --enable-neon-compatibility was given.
24196 if test "${enable_neon_compatibility+set}" = set; then :
24197 enableval=$enable_neon_compatibility; enable_neon_compat="$enableval"
24199 enable_neon_compat="no"
24203 if test "$enable_neon_compat" = "yes"; then
24205 $as_echo "#define NEON_COMPATIBILITY 1" >>confdefs.h
24207 NEON_LIBS="`echo $NEON_LIBS | sed -e 's/\(-lneon\(-gnutls\)*\|^ *libneon\(-gnutls\)*.la\)/-ldl/'`"
24209 if test "$enable_neon_compat" = "yes"; then
24210 NEON_COMPATIBILITY_TRUE=
24211 NEON_COMPATIBILITY_FALSE='#'
24213 NEON_COMPATIBILITY_TRUE='#'
24214 NEON_COMPATIBILITY_FALSE=
24217 # ^^^^^^^^^^^^^^ src/backends/webdav/configure-sub.in ^^^^^^^^^^^^^^
24219 # vvvvvvvvvvvvvv src/backends/xmlrpc/configure-sub.in vvvvvvvvvvvvvv
24224 # Check whether --enable-xmlrpc was given.
24225 if test "${enable_xmlrpc+set}" = set; then :
24226 enableval=$enable_xmlrpc; enable_xmlrpc="$enableval"
24232 BACKENDS="$BACKENDS xmlrpc"
24233 BACKEND_DEFINES="$BACKEND_DEFINES ENABLE_XMLRPC"
24234 for source in xmlrpc
24236 SYNCSOURCES="$SYNCSOURCES src/backends/xmlrpc/syncxmlrpc.la"
24241 if test "$enable_xmlrpc" = "yes"; then
24243 # Extract the first word of "xmlrpc-c-config", so it can be a program name with args.
24244 set dummy xmlrpc-c-config; ac_word=$2
24245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24246 $as_echo_n "checking for $ac_word... " >&6; }
24247 if ${ac_cv_path_XMLRPC_C_CONFIG+:} false; then :
24248 $as_echo_n "(cached) " >&6
24250 case $XMLRPC_C_CONFIG in
24252 ac_cv_path_XMLRPC_C_CONFIG="$XMLRPC_C_CONFIG" # Let the user override the test with a path.
24255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24256 for as_dir in $PATH
24259 test -z "$as_dir" && as_dir=.
24260 for ac_exec_ext in '' $ac_executable_extensions; do
24261 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24262 ac_cv_path_XMLRPC_C_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24270 test -z "$ac_cv_path_XMLRPC_C_CONFIG" && ac_cv_path_XMLRPC_C_CONFIG="no"
24274 XMLRPC_C_CONFIG=$ac_cv_path_XMLRPC_C_CONFIG
24275 if test -n "$XMLRPC_C_CONFIG"; then
24276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLRPC_C_CONFIG" >&5
24277 $as_echo "$XMLRPC_C_CONFIG" >&6; }
24279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24280 $as_echo "no" >&6; }
24285 test "x$XMLRPC_C_CONFIG" != 'xno' || as_fn_error $? "--enable-xmlrpc requires xmlrpc-c-config, which was not found" "$LINENO" 5
24287 XMLRPC_CFLAGS=`$XMLRPC_C_CONFIG c++2 client --cflags`
24288 XMLRPC_LIBS=`$XMLRPC_C_CONFIG c++2 client --libs`
24292 BACKEND_CPPFLAGS="$BACKEND_CPPFLAGS $XMLRPC_CFLAGS"
24295 $as_echo "#define ENABLE_XMLRPC 1" >>confdefs.h
24298 # ^^^^^^^^^^^^^^ src/backends/xmlrpc/configure-sub.in ^^^^^^^^^^^^^^
24305 # Check whether --enable-qt-dbus was given.
24306 if test "${enable_qt_dbus+set}" = set; then :
24307 enableval=$enable_qt_dbus; enable_qt_dbus="$enableval"
24309 enable_qt_dbus="no"
24313 if test "$enable_qt_dbus" = "yes"; then
24315 $as_echo "#define ENABLE_QT_DBUS 1" >>confdefs.h
24317 need_qt_modules="$need_qt_modules +dbus"
24318 # Extract the first word of "qdbusxml2cpp", so it can be a program name with args.
24319 set dummy qdbusxml2cpp; ac_word=$2
24320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24321 $as_echo_n "checking for $ac_word... " >&6; }
24322 if ${ac_cv_path_QDBUSXML_TO_CPP+:} false; then :
24323 $as_echo_n "(cached) " >&6
24325 case $QDBUSXML_TO_CPP in
24327 ac_cv_path_QDBUSXML_TO_CPP="$QDBUSXML_TO_CPP" # Let the user override the test with a path.
24330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24331 for as_dir in $PATH
24334 test -z "$as_dir" && as_dir=.
24335 for ac_exec_ext in '' $ac_executable_extensions; do
24336 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24337 ac_cv_path_QDBUSXML_TO_CPP="$as_dir/$ac_word$ac_exec_ext"
24338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24345 test -z "$ac_cv_path_QDBUSXML_TO_CPP" && ac_cv_path_QDBUSXML_TO_CPP="no"
24349 QDBUSXML_TO_CPP=$ac_cv_path_QDBUSXML_TO_CPP
24350 if test -n "$QDBUSXML_TO_CPP"; then
24351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QDBUSXML_TO_CPP" >&5
24352 $as_echo "$QDBUSXML_TO_CPP" >&6; }
24354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24355 $as_echo "no" >&6; }
24359 test "x$QDBUSXML_TO_CPP" != 'xno' || as_fn_error $? "--enable-qt-dbus requires qdbusxml2cpp, which was not found" "$LINENO" 5
24362 if test "$enable_qt_dbus" = "yes"; then
24363 ENABLE_QT_DBUS_TRUE=
24364 ENABLE_QT_DBUS_FALSE='#'
24366 ENABLE_QT_DBUS_TRUE='#'
24367 ENABLE_QT_DBUS_FALSE=
24372 ac_config_files="$ac_config_files src/dbus/qt/syncevolution-qt-dbus.pc"
24379 backend_is_enabled () {
24380 eval echo \${enable_${1}}
24382 for backend in $BACKENDS; do
24383 if test `backend_is_enabled $backend` = "yes"; then
24385 SYNCEVOLUTION_MODULES="$SYNCEVOLUTION_MODULES src/backends/sync${backend}.la"
24389 if test "$enable_any" = "no"; then
24390 as_fn_error $? "no backend enabled - refusing to continue: $anymissing" "$LINENO" 5
24393 if test "$need_glib" = "yes"; then
24394 # HAVE_GLIB (aka GLIBFOUND) are a catch-all for these
24395 # three GNOME libs. Assume we have all three unless one of
24396 # the checks fails.
24401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
24402 $as_echo_n "checking for GLIB... " >&6; }
24404 if test -n "$GLIB_CFLAGS"; then
24405 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
24406 elif test -n "$PKG_CONFIG"; then
24407 if test -n "$PKG_CONFIG" && \
24408 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"glib-2.0\"\""; } >&5
24409 ($PKG_CONFIG --exists --print-errors ""glib-2.0"") 2>&5
24411 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24412 test $ac_status = 0; }; then
24413 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags ""glib-2.0"" 2>/dev/null`
24414 test "x$?" != "x0" && pkg_failed=yes
24421 if test -n "$GLIB_LIBS"; then
24422 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
24423 elif test -n "$PKG_CONFIG"; then
24424 if test -n "$PKG_CONFIG" && \
24425 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"glib-2.0\"\""; } >&5
24426 ($PKG_CONFIG --exists --print-errors ""glib-2.0"") 2>&5
24428 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24429 test $ac_status = 0; }; then
24430 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs ""glib-2.0"" 2>/dev/null`
24431 test "x$?" != "x0" && pkg_failed=yes
24441 if test $pkg_failed = yes; then
24442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24443 $as_echo "no" >&6; }
24445 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24446 _pkg_short_errors_supported=yes
24448 _pkg_short_errors_supported=no
24450 if test $_pkg_short_errors_supported = yes; then
24451 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs ""glib-2.0"" 2>&1`
24453 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs ""glib-2.0"" 2>&1`
24455 # Put the nasty error message in config.log where it belongs
24456 echo "$GLIB_PKG_ERRORS" >&5
24459 elif test $pkg_failed = untried; then
24460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24461 $as_echo "no" >&6; }
24464 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
24465 GLIB_LIBS=$pkg_cv_GLIB_LIBS
24466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24467 $as_echo "yes" >&6; }
24470 # This check here is broken on Ubuntu 8.04: it calls glib-config,
24471 # which isn't found, but the error is not detected by configure.
24472 #if test "x${GLIBFOUND}" = "xno"; then
24473 # PKG_CHECK_MODULES(GLIB, "glib", GLIBFOUND=yes, GLIBFOUND=no)
24478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTHREAD" >&5
24479 $as_echo_n "checking for GTHREAD... " >&6; }
24481 if test -n "$GTHREAD_CFLAGS"; then
24482 pkg_cv_GTHREAD_CFLAGS="$GTHREAD_CFLAGS"
24483 elif test -n "$PKG_CONFIG"; then
24484 if test -n "$PKG_CONFIG" && \
24485 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"gthread-2.0\"\""; } >&5
24486 ($PKG_CONFIG --exists --print-errors ""gthread-2.0"") 2>&5
24488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24489 test $ac_status = 0; }; then
24490 pkg_cv_GTHREAD_CFLAGS=`$PKG_CONFIG --cflags ""gthread-2.0"" 2>/dev/null`
24491 test "x$?" != "x0" && pkg_failed=yes
24498 if test -n "$GTHREAD_LIBS"; then
24499 pkg_cv_GTHREAD_LIBS="$GTHREAD_LIBS"
24500 elif test -n "$PKG_CONFIG"; then
24501 if test -n "$PKG_CONFIG" && \
24502 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"gthread-2.0\"\""; } >&5
24503 ($PKG_CONFIG --exists --print-errors ""gthread-2.0"") 2>&5
24505 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24506 test $ac_status = 0; }; then
24507 pkg_cv_GTHREAD_LIBS=`$PKG_CONFIG --libs ""gthread-2.0"" 2>/dev/null`
24508 test "x$?" != "x0" && pkg_failed=yes
24518 if test $pkg_failed = yes; then
24519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24520 $as_echo "no" >&6; }
24522 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24523 _pkg_short_errors_supported=yes
24525 _pkg_short_errors_supported=no
24527 if test $_pkg_short_errors_supported = yes; then
24528 GTHREAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs ""gthread-2.0"" 2>&1`
24530 GTHREAD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs ""gthread-2.0"" 2>&1`
24532 # Put the nasty error message in config.log where it belongs
24533 echo "$GTHREAD_PKG_ERRORS" >&5
24536 elif test $pkg_failed = untried; then
24537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24538 $as_echo "no" >&6; }
24541 GTHREAD_CFLAGS=$pkg_cv_GTHREAD_CFLAGS
24542 GTHREAD_LIBS=$pkg_cv_GTHREAD_LIBS
24543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24544 $as_echo "yes" >&6; }
24549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOBJECT" >&5
24550 $as_echo_n "checking for GOBJECT... " >&6; }
24552 if test -n "$GOBJECT_CFLAGS"; then
24553 pkg_cv_GOBJECT_CFLAGS="$GOBJECT_CFLAGS"
24554 elif test -n "$PKG_CONFIG"; then
24555 if test -n "$PKG_CONFIG" && \
24556 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"gobject-2.0\"\""; } >&5
24557 ($PKG_CONFIG --exists --print-errors ""gobject-2.0"") 2>&5
24559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24560 test $ac_status = 0; }; then
24561 pkg_cv_GOBJECT_CFLAGS=`$PKG_CONFIG --cflags ""gobject-2.0"" 2>/dev/null`
24562 test "x$?" != "x0" && pkg_failed=yes
24569 if test -n "$GOBJECT_LIBS"; then
24570 pkg_cv_GOBJECT_LIBS="$GOBJECT_LIBS"
24571 elif test -n "$PKG_CONFIG"; then
24572 if test -n "$PKG_CONFIG" && \
24573 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"gobject-2.0\"\""; } >&5
24574 ($PKG_CONFIG --exists --print-errors ""gobject-2.0"") 2>&5
24576 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24577 test $ac_status = 0; }; then
24578 pkg_cv_GOBJECT_LIBS=`$PKG_CONFIG --libs ""gobject-2.0"" 2>/dev/null`
24579 test "x$?" != "x0" && pkg_failed=yes
24589 if test $pkg_failed = yes; then
24590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24591 $as_echo "no" >&6; }
24593 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24594 _pkg_short_errors_supported=yes
24596 _pkg_short_errors_supported=no
24598 if test $_pkg_short_errors_supported = yes; then
24599 GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs ""gobject-2.0"" 2>&1`
24601 GOBJECT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs ""gobject-2.0"" 2>&1`
24603 # Put the nasty error message in config.log where it belongs
24604 echo "$GOBJECT_PKG_ERRORS" >&5
24607 elif test $pkg_failed = untried; then
24608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24609 $as_echo "no" >&6; }
24612 GOBJECT_CFLAGS=$pkg_cv_GOBJECT_CFLAGS
24613 GOBJECT_LIBS=$pkg_cv_GOBJECT_LIBS
24614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24615 $as_echo "yes" >&6; }
24620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
24621 $as_echo_n "checking for GIO... " >&6; }
24623 if test -n "$GIO_CFLAGS"; then
24624 pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
24625 elif test -n "$PKG_CONFIG"; then
24626 if test -n "$PKG_CONFIG" && \
24627 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"gio-2.0\"\""; } >&5
24628 ($PKG_CONFIG --exists --print-errors ""gio-2.0"") 2>&5
24630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24631 test $ac_status = 0; }; then
24632 pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags ""gio-2.0"" 2>/dev/null`
24633 test "x$?" != "x0" && pkg_failed=yes
24640 if test -n "$GIO_LIBS"; then
24641 pkg_cv_GIO_LIBS="$GIO_LIBS"
24642 elif test -n "$PKG_CONFIG"; then
24643 if test -n "$PKG_CONFIG" && \
24644 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"gio-2.0\"\""; } >&5
24645 ($PKG_CONFIG --exists --print-errors ""gio-2.0"") 2>&5
24647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24648 test $ac_status = 0; }; then
24649 pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs ""gio-2.0"" 2>/dev/null`
24650 test "x$?" != "x0" && pkg_failed=yes
24660 if test $pkg_failed = yes; then
24661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24662 $as_echo "no" >&6; }
24664 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24665 _pkg_short_errors_supported=yes
24667 _pkg_short_errors_supported=no
24669 if test $_pkg_short_errors_supported = yes; then
24670 GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs ""gio-2.0"" 2>&1`
24672 GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs ""gio-2.0"" 2>&1`
24674 # Put the nasty error message in config.log where it belongs
24675 echo "$GIO_PKG_ERRORS" >&5
24678 elif test $pkg_failed = untried; then
24679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24680 $as_echo "no" >&6; }
24683 GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
24684 GIO_LIBS=$pkg_cv_GIO_LIBS
24685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24686 $as_echo "yes" >&6; }
24691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIOUNIX" >&5
24692 $as_echo_n "checking for GIOUNIX... " >&6; }
24694 if test -n "$GIOUNIX_CFLAGS"; then
24695 pkg_cv_GIOUNIX_CFLAGS="$GIOUNIX_CFLAGS"
24696 elif test -n "$PKG_CONFIG"; then
24697 if test -n "$PKG_CONFIG" && \
24698 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"gio-unix-2.0\"\""; } >&5
24699 ($PKG_CONFIG --exists --print-errors ""gio-unix-2.0"") 2>&5
24701 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24702 test $ac_status = 0; }; then
24703 pkg_cv_GIOUNIX_CFLAGS=`$PKG_CONFIG --cflags ""gio-unix-2.0"" 2>/dev/null`
24704 test "x$?" != "x0" && pkg_failed=yes
24711 if test -n "$GIOUNIX_LIBS"; then
24712 pkg_cv_GIOUNIX_LIBS="$GIOUNIX_LIBS"
24713 elif test -n "$PKG_CONFIG"; then
24714 if test -n "$PKG_CONFIG" && \
24715 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"gio-unix-2.0\"\""; } >&5
24716 ($PKG_CONFIG --exists --print-errors ""gio-unix-2.0"") 2>&5
24718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24719 test $ac_status = 0; }; then
24720 pkg_cv_GIOUNIX_LIBS=`$PKG_CONFIG --libs ""gio-unix-2.0"" 2>/dev/null`
24721 test "x$?" != "x0" && pkg_failed=yes
24731 if test $pkg_failed = yes; then
24732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24733 $as_echo "no" >&6; }
24735 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24736 _pkg_short_errors_supported=yes
24738 _pkg_short_errors_supported=no
24740 if test $_pkg_short_errors_supported = yes; then
24741 GIOUNIX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs ""gio-unix-2.0"" 2>&1`
24743 GIOUNIX_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs ""gio-unix-2.0"" 2>&1`
24745 # Put the nasty error message in config.log where it belongs
24746 echo "$GIOUNIX_PKG_ERRORS" >&5
24749 elif test $pkg_failed = untried; then
24750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24751 $as_echo "no" >&6; }
24754 GIOUNIX_CFLAGS=$pkg_cv_GIOUNIX_CFLAGS
24755 GIOUNIX_LIBS=$pkg_cv_GIOUNIX_LIBS
24756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24757 $as_echo "yes" >&6; }
24761 if test "x${GLIBFOUND}" = "xyes"; then
24763 $as_echo "#define HAVE_GLIB 1" >>confdefs.h
24766 as_fn_error $? "not all GNOME libraries found" "$LINENO" 5
24768 BACKEND_CPPFLAGS="$BACKEND_CPPFLAGS $GLIB_CFLAGS $GTHREAD_CFLAGS $GOBJECT_CFLAGS"
24771 if test "$need_ical" = "yes" || test "$enable_icaltz_util" = "yes"; then
24774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBICAL" >&5
24775 $as_echo_n "checking for LIBICAL... " >&6; }
24777 if test -n "$LIBICAL_CFLAGS"; then
24778 pkg_cv_LIBICAL_CFLAGS="$LIBICAL_CFLAGS"
24779 elif test -n "$PKG_CONFIG"; then
24780 if test -n "$PKG_CONFIG" && \
24781 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libical\""; } >&5
24782 ($PKG_CONFIG --exists --print-errors "libical") 2>&5
24784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24785 test $ac_status = 0; }; then
24786 pkg_cv_LIBICAL_CFLAGS=`$PKG_CONFIG --cflags "libical" 2>/dev/null`
24787 test "x$?" != "x0" && pkg_failed=yes
24794 if test -n "$LIBICAL_LIBS"; then
24795 pkg_cv_LIBICAL_LIBS="$LIBICAL_LIBS"
24796 elif test -n "$PKG_CONFIG"; then
24797 if test -n "$PKG_CONFIG" && \
24798 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libical\""; } >&5
24799 ($PKG_CONFIG --exists --print-errors "libical") 2>&5
24801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24802 test $ac_status = 0; }; then
24803 pkg_cv_LIBICAL_LIBS=`$PKG_CONFIG --libs "libical" 2>/dev/null`
24804 test "x$?" != "x0" && pkg_failed=yes
24814 if test $pkg_failed = yes; then
24815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24816 $as_echo "no" >&6; }
24818 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24819 _pkg_short_errors_supported=yes
24821 _pkg_short_errors_supported=no
24823 if test $_pkg_short_errors_supported = yes; then
24824 LIBICAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libical" 2>&1`
24826 LIBICAL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libical" 2>&1`
24828 # Put the nasty error message in config.log where it belongs
24829 echo "$LIBICAL_PKG_ERRORS" >&5
24833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBICAL" >&5
24834 $as_echo_n "checking for LIBICAL... " >&6; }
24836 if test -n "$LIBICAL_CFLAGS"; then
24837 pkg_cv_LIBICAL_CFLAGS="$LIBICAL_CFLAGS"
24838 elif test -n "$PKG_CONFIG"; then
24839 if test -n "$PKG_CONFIG" && \
24840 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libecal-1.2\""; } >&5
24841 ($PKG_CONFIG --exists --print-errors "libecal-1.2") 2>&5
24843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24844 test $ac_status = 0; }; then
24845 pkg_cv_LIBICAL_CFLAGS=`$PKG_CONFIG --cflags "libecal-1.2" 2>/dev/null`
24846 test "x$?" != "x0" && pkg_failed=yes
24853 if test -n "$LIBICAL_LIBS"; then
24854 pkg_cv_LIBICAL_LIBS="$LIBICAL_LIBS"
24855 elif test -n "$PKG_CONFIG"; then
24856 if test -n "$PKG_CONFIG" && \
24857 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libecal-1.2\""; } >&5
24858 ($PKG_CONFIG --exists --print-errors "libecal-1.2") 2>&5
24860 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24861 test $ac_status = 0; }; then
24862 pkg_cv_LIBICAL_LIBS=`$PKG_CONFIG --libs "libecal-1.2" 2>/dev/null`
24863 test "x$?" != "x0" && pkg_failed=yes
24873 if test $pkg_failed = yes; then
24874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24875 $as_echo "no" >&6; }
24877 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24878 _pkg_short_errors_supported=yes
24880 _pkg_short_errors_supported=no
24882 if test $_pkg_short_errors_supported = yes; then
24883 LIBICAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libecal-1.2" 2>&1`
24885 LIBICAL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libecal-1.2" 2>&1`
24887 # Put the nasty error message in config.log where it belongs
24888 echo "$LIBICAL_PKG_ERRORS" >&5
24890 as_fn_error $? "Package requirements (libecal-1.2) were not met:
24892 $LIBICAL_PKG_ERRORS
24894 Consider adjusting the PKG_CONFIG_PATH environment variable if you
24895 installed software in a non-standard prefix.
24897 Alternatively, you may set the environment variables LIBICAL_CFLAGS
24898 and LIBICAL_LIBS to avoid the need to call pkg-config.
24899 See the pkg-config man page for more details." "$LINENO" 5
24900 elif test $pkg_failed = untried; then
24901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24902 $as_echo "no" >&6; }
24903 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24904 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24905 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
24906 is in your PATH or set the PKG_CONFIG environment variable to the full
24907 path to pkg-config.
24909 Alternatively, you may set the environment variables LIBICAL_CFLAGS
24910 and LIBICAL_LIBS to avoid the need to call pkg-config.
24911 See the pkg-config man page for more details.
24913 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
24914 See \`config.log' for more details" "$LINENO" 5; }
24916 LIBICAL_CFLAGS=$pkg_cv_LIBICAL_CFLAGS
24917 LIBICAL_LIBS=$pkg_cv_LIBICAL_LIBS
24918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24919 $as_echo "yes" >&6; }
24922 elif test $pkg_failed = untried; then
24923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24924 $as_echo "no" >&6; }
24927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBICAL" >&5
24928 $as_echo_n "checking for LIBICAL... " >&6; }
24930 if test -n "$LIBICAL_CFLAGS"; then
24931 pkg_cv_LIBICAL_CFLAGS="$LIBICAL_CFLAGS"
24932 elif test -n "$PKG_CONFIG"; then
24933 if test -n "$PKG_CONFIG" && \
24934 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libecal-1.2\""; } >&5
24935 ($PKG_CONFIG --exists --print-errors "libecal-1.2") 2>&5
24937 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24938 test $ac_status = 0; }; then
24939 pkg_cv_LIBICAL_CFLAGS=`$PKG_CONFIG --cflags "libecal-1.2" 2>/dev/null`
24940 test "x$?" != "x0" && pkg_failed=yes
24947 if test -n "$LIBICAL_LIBS"; then
24948 pkg_cv_LIBICAL_LIBS="$LIBICAL_LIBS"
24949 elif test -n "$PKG_CONFIG"; then
24950 if test -n "$PKG_CONFIG" && \
24951 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libecal-1.2\""; } >&5
24952 ($PKG_CONFIG --exists --print-errors "libecal-1.2") 2>&5
24954 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24955 test $ac_status = 0; }; then
24956 pkg_cv_LIBICAL_LIBS=`$PKG_CONFIG --libs "libecal-1.2" 2>/dev/null`
24957 test "x$?" != "x0" && pkg_failed=yes
24967 if test $pkg_failed = yes; then
24968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24969 $as_echo "no" >&6; }
24971 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24972 _pkg_short_errors_supported=yes
24974 _pkg_short_errors_supported=no
24976 if test $_pkg_short_errors_supported = yes; then
24977 LIBICAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libecal-1.2" 2>&1`
24979 LIBICAL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libecal-1.2" 2>&1`
24981 # Put the nasty error message in config.log where it belongs
24982 echo "$LIBICAL_PKG_ERRORS" >&5
24984 as_fn_error $? "Package requirements (libecal-1.2) were not met:
24986 $LIBICAL_PKG_ERRORS
24988 Consider adjusting the PKG_CONFIG_PATH environment variable if you
24989 installed software in a non-standard prefix.
24991 Alternatively, you may set the environment variables LIBICAL_CFLAGS
24992 and LIBICAL_LIBS to avoid the need to call pkg-config.
24993 See the pkg-config man page for more details." "$LINENO" 5
24994 elif test $pkg_failed = untried; then
24995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24996 $as_echo "no" >&6; }
24997 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24998 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24999 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
25000 is in your PATH or set the PKG_CONFIG environment variable to the full
25001 path to pkg-config.
25003 Alternatively, you may set the environment variables LIBICAL_CFLAGS
25004 and LIBICAL_LIBS to avoid the need to call pkg-config.
25005 See the pkg-config man page for more details.
25007 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
25008 See \`config.log' for more details" "$LINENO" 5; }
25010 LIBICAL_CFLAGS=$pkg_cv_LIBICAL_CFLAGS
25011 LIBICAL_LIBS=$pkg_cv_LIBICAL_LIBS
25012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25013 $as_echo "yes" >&6; }
25017 LIBICAL_CFLAGS=$pkg_cv_LIBICAL_CFLAGS
25018 LIBICAL_LIBS=$pkg_cv_LIBICAL_LIBS
25019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25020 $as_echo "yes" >&6; }
25025 if test "$need_ical" = "yes"; then
25027 $as_echo "#define ENABLE_ICAL 1" >>confdefs.h
25030 if test "$need_ical" = "yes"; then
25032 ENABLE_ICAL_FALSE='#'
25034 ENABLE_ICAL_TRUE='#'
25039 # Check for Qt if some backend needs it.
25040 if test "$need_qt_modules"; then
25041 echo "$as_me: this is autotroll.m4 serial 5" >&5
25043 test x"$TROLL" != x && echo 'ViM rox emacs.'
25046 # Check whether --with-qt was given.
25047 if test "${with_qt+set}" = set; then :
25048 withval=$with_qt; QT_PATH=$withval
25052 # this is a hack to get decent flow control with 'break'
25053 for _qt_ignored in once; do
25057 if test -d /usr/local/Trolltech; then
25058 # Try to find the latest version.
25059 tmp_qt_paths=`echo /usr/local/Trolltech/*/bin | tr ' ' '\n' | sort -nr \
25060 | xargs | sed 's/ */:/g'`
25062 # Path to which recent MacPorts (~v1.7) install Qt4.
25063 test -d /opt/local/libexec/qt4-mac/bin \
25064 && tmp_qt_paths="$tmp_qt_paths:/opt/local/libexec/qt4-mac/bin"
25068 for ac_prog in qmake qmake-qt4 qmake-qt3
25070 # Extract the first word of "$ac_prog", so it can be a program name with args.
25071 set dummy $ac_prog; ac_word=$2
25072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25073 $as_echo_n "checking for $ac_word... " >&6; }
25074 if ${ac_cv_path_QMAKE+:} false; then :
25075 $as_echo_n "(cached) " >&6
25079 ac_cv_path_QMAKE="$QMAKE" # Let the user override the test with a path.
25082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25083 as_dummy="$QT_DIR:$QT_PATH:$PATH:$tmp_qt_paths"
25084 for as_dir in $as_dummy
25087 test -z "$as_dir" && as_dir=.
25088 for ac_exec_ext in '' $ac_executable_extensions; do
25089 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25090 ac_cv_path_QMAKE="$as_dir/$ac_word$ac_exec_ext"
25091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25101 QMAKE=$ac_cv_path_QMAKE
25102 if test -n "$QMAKE"; then
25103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QMAKE" >&5
25104 $as_echo "$QMAKE" >&6; }
25106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25107 $as_echo "no" >&6; }
25111 test -n "$QMAKE" && break
25113 test -n "$QMAKE" || QMAKE="missing"
25115 if test x"$QMAKE" = xmissing; then
25116 as_fn_error $? "Cannot find qmake in your PATH. Try using --with-qt." "$LINENO" 5
25120 # Find moc (Meta Object Compiler).
25122 for ac_prog in moc moc-qt4 moc-qt3
25124 # Extract the first word of "$ac_prog", so it can be a program name with args.
25125 set dummy $ac_prog; ac_word=$2
25126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25127 $as_echo_n "checking for $ac_word... " >&6; }
25128 if ${ac_cv_path_MOC+:} false; then :
25129 $as_echo_n "(cached) " >&6
25133 ac_cv_path_MOC="$MOC" # Let the user override the test with a path.
25136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25137 as_dummy="$QT_PATH:$PATH:$tmp_qt_paths"
25138 for as_dir in $as_dummy
25141 test -z "$as_dir" && as_dir=.
25142 for ac_exec_ext in '' $ac_executable_extensions; do
25143 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25144 ac_cv_path_MOC="$as_dir/$ac_word$ac_exec_ext"
25145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25155 MOC=$ac_cv_path_MOC
25156 if test -n "$MOC"; then
25157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOC" >&5
25158 $as_echo "$MOC" >&6; }
25160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25161 $as_echo "no" >&6; }
25165 test -n "$MOC" && break
25167 test -n "$MOC" || MOC="missing"
25169 if test x"$MOC" = xmissing; then
25170 as_fn_error $? "Cannot find moc (Meta Object Compiler) in your PATH. Try using --with-qt." "$LINENO" 5
25174 # Find uic (User Interface Compiler).
25176 for ac_prog in uic uic-qt4 uic-qt3 uic3
25178 # Extract the first word of "$ac_prog", so it can be a program name with args.
25179 set dummy $ac_prog; ac_word=$2
25180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25181 $as_echo_n "checking for $ac_word... " >&6; }
25182 if ${ac_cv_path_UIC+:} false; then :
25183 $as_echo_n "(cached) " >&6
25187 ac_cv_path_UIC="$UIC" # Let the user override the test with a path.
25190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25191 as_dummy="$QT_PATH:$PATH:$tmp_qt_paths"
25192 for as_dir in $as_dummy
25195 test -z "$as_dir" && as_dir=.
25196 for ac_exec_ext in '' $ac_executable_extensions; do
25197 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25198 ac_cv_path_UIC="$as_dir/$ac_word$ac_exec_ext"
25199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25209 UIC=$ac_cv_path_UIC
25210 if test -n "$UIC"; then
25211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UIC" >&5
25212 $as_echo "$UIC" >&6; }
25214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25215 $as_echo "no" >&6; }
25219 test -n "$UIC" && break
25221 test -n "$UIC" || UIC="missing"
25223 if test x"$UIC" = xmissing; then
25224 as_fn_error $? "Cannot find uic (User Interface Compiler) in your PATH. Try using --with-qt." "$LINENO" 5
25228 # Find rcc (Qt Resource Compiler).
25232 # Extract the first word of "$ac_prog", so it can be a program name with args.
25233 set dummy $ac_prog; ac_word=$2
25234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25235 $as_echo_n "checking for $ac_word... " >&6; }
25236 if ${ac_cv_path_RCC+:} false; then :
25237 $as_echo_n "(cached) " >&6
25241 ac_cv_path_RCC="$RCC" # Let the user override the test with a path.
25244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25245 as_dummy="$QT_PATH:$PATH:$tmp_qt_paths"
25246 for as_dir in $as_dummy
25249 test -z "$as_dir" && as_dir=.
25250 for ac_exec_ext in '' $ac_executable_extensions; do
25251 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25252 ac_cv_path_RCC="$as_dir/$ac_word$ac_exec_ext"
25253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25263 RCC=$ac_cv_path_RCC
25264 if test -n "$RCC"; then
25265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RCC" >&5
25266 $as_echo "$RCC" >&6; }
25268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25269 $as_echo "no" >&6; }
25273 test -n "$RCC" && break
25275 test -n "$RCC" || RCC="false"
25277 if test x"$UIC" = xfalse; then
25278 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find rcc (Qt Resource Compiler) in your PATH.\
25279 Try using --with-qt." >&5
25280 $as_echo "$as_me: WARNING: Cannot find rcc (Qt Resource Compiler) in your PATH.\
25281 Try using --with-qt." >&2;}
25284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether host operating system is Darwin" >&5
25285 $as_echo_n "checking whether host operating system is Darwin... " >&6; }
25291 at_qmake_args='-spec macx-g++'
25294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $at_darwin" >&5
25295 $as_echo "$at_darwin" >&6; }
25297 # If we don't know the path to Qt, guess it from the path to qmake.
25298 if test x"$QT_PATH" = x; then
25299 QT_PATH=`dirname "$QMAKE"`
25301 if test x"$QT_PATH" = x; then
25302 as_fn_error $? "Cannot find the path to your Qt install. Use --with-qt." "$LINENO" 5
25307 # Get ready to build a test-app with Qt.
25308 if mkdir conftest.dir && cd conftest.dir; then :; else
25309 as_fn_error $? "Cannot mkdir conftest.dir or cd to that directory." "$LINENO" 5
25313 cat >conftest.h <<_ASEOF
25316 class Foo: public QObject
25323 void setValue(int value);
25325 void valueChanged(int newValue);
25331 cat >conftest.cpp <<_ASEOF
25332 #include "conftest.h"
25336 connect(this, SIGNAL(valueChanged(int)), this, SLOT(setValue(int)));
25339 void Foo::setValue(int value)
25349 if $QMAKE -project; then :; else
25350 as_fn_error $? "Calling $QMAKE -project failed." "$LINENO" 5
25354 # Find the .pro file generated by qmake.
25355 pro_file='conftest.dir.pro'
25356 test -f $pro_file || pro_file=`echo *.pro`
25357 if test -f "$pro_file"; then :; else
25358 as_fn_error $? "Can't find the .pro file generated by Qmake." "$LINENO" 5
25362 # Tweak the value of QT in the .pro file for -gui $need_qt_modules.
25365 for at_mod in -gui $need_qt_modules; do
25366 at_mod=`echo "$at_mod" | sed 's/^-//; tough
25375 echo "$qt_conf" | sed 1d >>"$pro_file"
25378 # Tweak the value of CONFIG in the .pro file for $qt_config.
25381 for at_mod in $qt_config; do
25382 at_mod=`echo "$at_mod" | sed 's/^-//; tough
25391 echo "$qt_conf" | sed 1d >>"$pro_file"
25394 # Add the extra-settings the user wants to set in the .pro
25395 echo "$qt_misc" >>"$pro_file"
25398 echo "$as_me:$LINENO: Invoking $QMAKE on $pro_file" >&5
25399 sed 's/^/| /' "$pro_file" >&5
25401 if $QMAKE $at_qmake_args; then :; else
25402 as_fn_error $? "Calling $QMAKE $at_qmake_args failed." "$LINENO" 5
25406 # QMake has a very annoying misfeature: sometimes it generates Makefiles
25407 # where all the references to the files from the Qt installation are
25408 # relative. We can't use them as-is because if we take, say, a
25409 # -I../../usr/include/Qt from that Makefile, the flag is invalid as soon
25410 # as we use it in another (sub) directory. So what this perl pass does is
25411 # that it rewrite all relative paths to absolute paths. Another problem
25412 # when building on Cygwin is that QMake mixes paths with blackslashes and
25413 # forward slashes and paths must be handled with extra care because of the
25414 # stupid Windows drive letters.
25415 echo "$as_me:$LINENO: fixing the Makefiles:" Makefile* >&5
25416 cat >fixmk.pl <<\EOF
25418 use Cwd qw(cwd abs_path);
25419 # This variable is useful on Cygwin for the following reason: Say that you are
25420 # in `/' (that is, in fact you are in C:/cygwin, or something like that) if you
25421 # `cd ..' then obviously you remain in `/' (that is in C:/cygwin). QMake
25422 # generates paths that are relative to C:/ (or another driver letter, whatever)
25423 # so the trick to get the `..' resolved properly is to prepend the absolute
25424 # path of the current working directory in a Windows-style. C:/cygwin/../ will
25425 # properly become C:/.
25431 if ($^O eq "cygwin") {
25434 $d = `cygpath --mixed '$d'`;
25441 my $p = $d . shift;
25442 # print "r2a p=$p";
25443 -e $p || return $p;
25445 $p = `cygpath --mixed '$p'`;
25449 # Do not use abs_path on Cygwin: it incorrectly resolves the paths that are
25450 # relative to C:/ rather than `/'.
25453 # print " -> $p\n";
25458 # Only useful on Cygwin.
25459 sub back2forward($)
25462 # print "b2f p=$p";
25463 -e $p || return $p;
25464 $p = `cygpath --mixed '$p'`;
25466 # print " -> $p\n";
25471 foreach my $mk (@ARGV)
25473 next if $mk =~ /~$/;
25474 open(MK, $mk) or die("open $mk: $!");
25475 # print "mk=$mk\n";
25476 my $file = join("", <MK>);
25477 close(MK) or die("close $mk: $!");
25478 rename $mk, $mk . "~" or die("rename $mk: $!");
25479 $file =~ s{(?:\.\.[\\/])+(?:[^"'\s:]+)}{rel2abs($&)}gse;
25480 $file =~ s{(?:[a-zA-Z]:[\\/])?(?:[^"\s]+\\[^"\s:]+)+}
25481 {back2forward($&)}gse if $cygwin;
25482 open(MK, ">", $mk) or die("open >$mk: $!");
25484 close(MK) or die("close >$mk: $!");
25485 print "$mk: updated $r2a relative paths and $b2f backslash-style paths\n";
25491 perl >&5 -w fixmk.pl Makefile* ||
25492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed to fix the Makefiles generated by $QMAKE" >&5
25493 $as_echo "$as_me: WARNING: failed to fix the Makefiles generated by $QMAKE" >&2;}
25496 # Try to compile a simple Qt app.
25497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a simple Qt app" >&5
25498 $as_echo_n "checking whether we can build a simple Qt app... " >&6; }
25499 if ${at_cv_qt_build+:} false; then :
25500 $as_echo_n "(cached) " >&6
25505 if $MAKE >&5 2>&1; then
25506 at_cv_qt_build='ok, looks like Qt 4'
25508 echo "$as_me:$LINENO: Build failed, trying to #include <qobject.h> \
25510 sed 's/<QObject>/<qobject.h>/' conftest.h > tmp.h && mv tmp.h conftest.h
25511 if $MAKE >&5 2>&1; then
25512 at_cv_qt_build='ok, looks like Qt 3'
25514 # Sometimes (such as on Debian) build will fail because Qt hasn't been
25515 # installed in debug mode and qmake tries (by default) to build apps in
25516 # debug mode => Try again in release mode.
25517 echo "$as_me:$LINENO: Build failed, trying to enforce release mode" \
25520 # Tweak the value of CONFIG in the .pro file for +release.
25523 for at_mod in +release; do
25524 at_mod=`echo "$at_mod" | sed 's/^-//; tough
25533 echo "$qt_conf" | sed 1d >>"$pro_file"
25536 sed 's/<qobject.h>/<QObject>/' conftest.h > tmp.h && mv tmp.h conftest.h
25537 if $MAKE >&5 2>&1; then
25538 at_cv_qt_build='ok, looks like Qt 4, release mode forced'
25540 echo "$as_me:$LINENO: Build failed, trying to #include <qobject.h> \
25542 sed 's/<QObject>/<qobject.h>/' conftest.h >tmp.h && mv tmp.h conftest.h
25543 if $MAKE >&5 2>&1; then
25544 at_cv_qt_build='ok, looks like Qt 3, release mode forced'
25547 echo "$as_me:$LINENO: failed program was:" >&5
25548 sed 's/^/| /' conftest.h >&5
25549 echo "$as_me:$LINENO: failed program was:" >&5
25550 sed 's/^/| /' conftest.cpp >&5
25551 fi # if make with Qt3-style #include and release mode forced.
25552 fi # if make with Qt4-style #include and release mode forced.
25553 fi # if make with Qt3-style #include.
25554 fi # if make with Qt4-style #include.
25557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $at_cv_qt_build" >&5
25558 $as_echo "$at_cv_qt_build" >&6; }
25559 if test x"$at_cv_qt_build" = xko; then
25560 as_fn_error $? "Cannot build a test Qt program" "$LINENO" 5
25564 QT_VERSION_MAJOR=`echo "$at_cv_qt_build" | sed 's/[^0-9]*//g'`
25567 # This sed filter is applied after an expression of the form: /^FOO.*=/!d;
25568 # It starts by removing the beginning of the line, removing references to
25569 # SUBLIBS, removing unnecessary whitespaces at the beginning, and prefixes
25570 # all variable uses by QT_.
25571 qt_sed_filter='s///;
25574 s/\$(\([A-Z_][A-Z_]*\))/$(QT_\1)/g'
25576 # Find the Makefile (qmake happens to generate a fake Makefile which invokes
25577 # a Makefile.Debug or Makefile.Release). We we have both, we'll pick the
25578 # Makefile.Release. The reason is that the main difference is that release
25579 # uses -Os and debug -g. We can override -Os by passing another -O but we
25580 # usually don't override -g.
25581 if test -f Makefile.Release; then
25582 at_mfile='Makefile.Release'
25584 at_mfile='Makefile'
25586 if test -f $at_mfile; then :; else
25587 as_fn_error $? "Cannot find the Makefile generated by qmake." "$LINENO" 5
25592 # Find the DEFINES of Qt (should have been named CPPFLAGS).
25593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the DEFINES to use with Qt" >&5
25594 $as_echo_n "checking for the DEFINES to use with Qt... " >&6; }
25595 if ${at_cv_env_QT_DEFINES+:} false; then :
25596 $as_echo_n "(cached) " >&6
25598 at_cv_env_QT_DEFINES=`sed "/^DEFINES[^A-Z=]*=/!d;$qt_sed_filter" $at_mfile`
25600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $at_cv_env_QT_DEFINES" >&5
25601 $as_echo "$at_cv_env_QT_DEFINES" >&6; }
25602 QT_DEFINES=$at_cv_env_QT_DEFINES
25605 # Find the CFLAGS of Qt (We can use Qt in C?!)
25606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the CFLAGS to use with Qt" >&5
25607 $as_echo_n "checking for the CFLAGS to use with Qt... " >&6; }
25608 if ${at_cv_env_QT_CFLAGS+:} false; then :
25609 $as_echo_n "(cached) " >&6
25611 at_cv_env_QT_CFLAGS=`sed "/^CFLAGS[^A-Z=]*=/!d;$qt_sed_filter" $at_mfile`
25613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $at_cv_env_QT_CFLAGS" >&5
25614 $as_echo "$at_cv_env_QT_CFLAGS" >&6; }
25615 QT_CFLAGS=$at_cv_env_QT_CFLAGS
25618 # Find the CXXFLAGS of Qt.
25619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the CXXFLAGS to use with Qt" >&5
25620 $as_echo_n "checking for the CXXFLAGS to use with Qt... " >&6; }
25621 if ${at_cv_env_QT_CXXFLAGS+:} false; then :
25622 $as_echo_n "(cached) " >&6
25624 at_cv_env_QT_CXXFLAGS=`sed "/^CXXFLAGS[^A-Z=]*=/!d;$qt_sed_filter" $at_mfile`
25626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $at_cv_env_QT_CXXFLAGS" >&5
25627 $as_echo "$at_cv_env_QT_CXXFLAGS" >&6; }
25628 QT_CXXFLAGS=$at_cv_env_QT_CXXFLAGS
25631 # Find the INCPATH of Qt.
25632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the INCPATH to use with Qt" >&5
25633 $as_echo_n "checking for the INCPATH to use with Qt... " >&6; }
25634 if ${at_cv_env_QT_INCPATH+:} false; then :
25635 $as_echo_n "(cached) " >&6
25637 at_cv_env_QT_INCPATH=`sed "/^INCPATH[^A-Z=]*=/!d;$qt_sed_filter" $at_mfile`
25639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $at_cv_env_QT_INCPATH" >&5
25640 $as_echo "$at_cv_env_QT_INCPATH" >&6; }
25641 QT_INCPATH=$at_cv_env_QT_INCPATH
25644 QT_CPPFLAGS="$at_cv_env_QT_DEFINES $at_cv_env_QT_INCPATH"
25647 # Find the LFLAGS of Qt (Should have been named LDFLAGS)
25648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the LDFLAGS to use with Qt" >&5
25649 $as_echo_n "checking for the LDFLAGS to use with Qt... " >&6; }
25650 if ${at_cv_env_QT_LDFLAGS+:} false; then :
25651 $as_echo_n "(cached) " >&6
25653 at_cv_env_QT_LDFLAGS=`sed "/^LFLAGS[^A-Z=]*=/!d;$qt_sed_filter" $at_mfile`
25655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $at_cv_env_QT_LDFLAGS" >&5
25656 $as_echo "$at_cv_env_QT_LDFLAGS" >&6; }
25657 QT_LFLAGS=$at_cv_env_QT_LDFLAGS
25659 QT_LDFLAGS=$at_cv_env_QT_LDFLAGS
25662 # Find the LIBS of Qt.
25663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the LIBS to use with Qt" >&5
25664 $as_echo_n "checking for the LIBS to use with Qt... " >&6; }
25665 if ${at_cv_env_QT_LIBS+:} false; then :
25666 $as_echo_n "(cached) " >&6
25668 at_cv_env_QT_LIBS=`sed "/^LIBS[^A-Z]*=/!d;$qt_sed_filter" $at_mfile`
25669 if test x$at_darwin = xyes; then
25670 # Fix QT_LIBS: as of today Libtool (GNU Libtool 1.5.23a) doesn't handle
25671 # -F properly. The "bug" has been fixed on 22 October 2006
25672 # by Peter O'Gorman but we provide backward compatibility here.
25673 at_cv_env_QT_LIBS=`echo "$at_cv_env_QT_LIBS" \
25674 | sed 's/^-F/-Wl,-F/;s/ -F/ -Wl,-F/g'`
25678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $at_cv_env_QT_LIBS" >&5
25679 $as_echo "$at_cv_env_QT_LIBS" >&6; }
25680 QT_LIBS=$at_cv_env_QT_LIBS
25683 cd .. && rm -rf conftest.dir
25685 # Run the user code
25688 done # end hack (useless for to be able to use break)
25692 # determine from where we can get a SHA-256 implementation
25694 if test "$GLIBFOUND" = "yes"; then
25695 # only use glib if we need it anyway, also has to be at lease 2.16
25698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB216" >&5
25699 $as_echo_n "checking for GLIB216... " >&6; }
25701 if test -n "$GLIB216_CFLAGS"; then
25702 pkg_cv_GLIB216_CFLAGS="$GLIB216_CFLAGS"
25703 elif test -n "$PKG_CONFIG"; then
25704 if test -n "$PKG_CONFIG" && \
25705 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.16\""; } >&5
25706 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.16") 2>&5
25708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25709 test $ac_status = 0; }; then
25710 pkg_cv_GLIB216_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.16" 2>/dev/null`
25711 test "x$?" != "x0" && pkg_failed=yes
25718 if test -n "$GLIB216_LIBS"; then
25719 pkg_cv_GLIB216_LIBS="$GLIB216_LIBS"
25720 elif test -n "$PKG_CONFIG"; then
25721 if test -n "$PKG_CONFIG" && \
25722 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.16\""; } >&5
25723 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.16") 2>&5
25725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25726 test $ac_status = 0; }; then
25727 pkg_cv_GLIB216_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.16" 2>/dev/null`
25728 test "x$?" != "x0" && pkg_failed=yes
25738 if test $pkg_failed = yes; then
25739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25740 $as_echo "no" >&6; }
25742 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25743 _pkg_short_errors_supported=yes
25745 _pkg_short_errors_supported=no
25747 if test $_pkg_short_errors_supported = yes; then
25748 GLIB216_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.16" 2>&1`
25750 GLIB216_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.16" 2>&1`
25752 # Put the nasty error message in config.log where it belongs
25753 echo "$GLIB216_PKG_ERRORS" >&5
25756 elif test $pkg_failed = untried; then
25757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25758 $as_echo "no" >&6; }
25761 GLIB216_CFLAGS=$pkg_cv_GLIB216_CFLAGS
25762 GLIB216_LIBS=$pkg_cv_GLIB216_LIBS
25763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25764 $as_echo "yes" >&6; }
25766 $as_echo "#define USE_SHA256 1" >>confdefs.h
25771 if test "$have_sha" = "no"; then
25772 # Fallback is Mozilla NSS. In contrast to libgcrypt it has a .pc
25773 # file and a simple API.
25776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NSS" >&5
25777 $as_echo_n "checking for NSS... " >&6; }
25779 if test -n "$NSS_CFLAGS"; then
25780 pkg_cv_NSS_CFLAGS="$NSS_CFLAGS"
25781 elif test -n "$PKG_CONFIG"; then
25782 if test -n "$PKG_CONFIG" && \
25783 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"nss\"\""; } >&5
25784 ($PKG_CONFIG --exists --print-errors ""nss"") 2>&5
25786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25787 test $ac_status = 0; }; then
25788 pkg_cv_NSS_CFLAGS=`$PKG_CONFIG --cflags ""nss"" 2>/dev/null`
25789 test "x$?" != "x0" && pkg_failed=yes
25796 if test -n "$NSS_LIBS"; then
25797 pkg_cv_NSS_LIBS="$NSS_LIBS"
25798 elif test -n "$PKG_CONFIG"; then
25799 if test -n "$PKG_CONFIG" && \
25800 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"nss\"\""; } >&5
25801 ($PKG_CONFIG --exists --print-errors ""nss"") 2>&5
25803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25804 test $ac_status = 0; }; then
25805 pkg_cv_NSS_LIBS=`$PKG_CONFIG --libs ""nss"" 2>/dev/null`
25806 test "x$?" != "x0" && pkg_failed=yes
25816 if test $pkg_failed = yes; then
25817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25818 $as_echo "no" >&6; }
25820 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25821 _pkg_short_errors_supported=yes
25823 _pkg_short_errors_supported=no
25825 if test $_pkg_short_errors_supported = yes; then
25826 NSS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs ""nss"" 2>&1`
25828 NSS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs ""nss"" 2>&1`
25830 # Put the nasty error message in config.log where it belongs
25831 echo "$NSS_PKG_ERRORS" >&5
25834 elif test $pkg_failed = untried; then
25835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25836 $as_echo "no" >&6; }
25839 NSS_CFLAGS=$pkg_cv_NSS_CFLAGS
25840 NSS_LIBS=$pkg_cv_NSS_LIBS
25841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25842 $as_echo "yes" >&6; }
25844 $as_echo "#define USE_SHA256 2" >>confdefs.h
25850 if test "$enable_shared" = "yes"; then
25851 ENABLE_MODULES_TRUE=
25852 ENABLE_MODULES_FALSE='#'
25854 ENABLE_MODULES_TRUE='#'
25855 ENABLE_MODULES_FALSE=
25858 if test "$enable_shared" = "yes"; then
25860 $as_echo "#define ENABLE_MODULES 1" >>confdefs.h
25867 if test "$host" = "arm-apple-darwin"; then
25869 $as_echo "#define IPHONE 1" >>confdefs.h
25874 if test "$enable_evolution_compatibility" = "yes"; then
25876 $as_echo "#define EVOLUTION_COMPATIBILITY 1" >>confdefs.h
25878 # don't link against libs wrapped by eds_abi_wrapper (no longer limited to EDS alone...)
25884 if test "$enable_evolution_compatibility" = "ical" || test "$enable_evolution_compatibility" = "yes"; then
25886 $as_echo "#define EVOLUTION_ICAL_COMPATIBILITY 1" >>confdefs.h
25889 if test "$enable_evolution_compatibility" = "yes"; then
25890 ENABLE_EVOLUTION_COMPATIBILITY_TRUE=
25891 ENABLE_EVOLUTION_COMPATIBILITY_FALSE='#'
25893 ENABLE_EVOLUTION_COMPATIBILITY_TRUE='#'
25894 ENABLE_EVOLUTION_COMPATIBILITY_FALSE=
25899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBICAL_AVAILABLE" >&5
25900 $as_echo_n "checking for LIBICAL_AVAILABLE... " >&6; }
25902 if test -n "$LIBICAL_AVAILABLE_CFLAGS"; then
25903 pkg_cv_LIBICAL_AVAILABLE_CFLAGS="$LIBICAL_AVAILABLE_CFLAGS"
25904 elif test -n "$PKG_CONFIG"; then
25905 if test -n "$PKG_CONFIG" && \
25906 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libical >= 0.43\""; } >&5
25907 ($PKG_CONFIG --exists --print-errors "libical >= 0.43") 2>&5
25909 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25910 test $ac_status = 0; }; then
25911 pkg_cv_LIBICAL_AVAILABLE_CFLAGS=`$PKG_CONFIG --cflags "libical >= 0.43" 2>/dev/null`
25912 test "x$?" != "x0" && pkg_failed=yes
25919 if test -n "$LIBICAL_AVAILABLE_LIBS"; then
25920 pkg_cv_LIBICAL_AVAILABLE_LIBS="$LIBICAL_AVAILABLE_LIBS"
25921 elif test -n "$PKG_CONFIG"; then
25922 if test -n "$PKG_CONFIG" && \
25923 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libical >= 0.43\""; } >&5
25924 ($PKG_CONFIG --exists --print-errors "libical >= 0.43") 2>&5
25926 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25927 test $ac_status = 0; }; then
25928 pkg_cv_LIBICAL_AVAILABLE_LIBS=`$PKG_CONFIG --libs "libical >= 0.43" 2>/dev/null`
25929 test "x$?" != "x0" && pkg_failed=yes
25939 if test $pkg_failed = yes; then
25940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25941 $as_echo "no" >&6; }
25943 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25944 _pkg_short_errors_supported=yes
25946 _pkg_short_errors_supported=no
25948 if test $_pkg_short_errors_supported = yes; then
25949 LIBICAL_AVAILABLE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libical >= 0.43" 2>&1`
25951 LIBICAL_AVAILABLE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libical >= 0.43" 2>&1`
25953 # Put the nasty error message in config.log where it belongs
25954 echo "$LIBICAL_AVAILABLE_PKG_ERRORS" >&5
25957 elif test $pkg_failed = untried; then
25958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25959 $as_echo "no" >&6; }
25962 LIBICAL_AVAILABLE_CFLAGS=$pkg_cv_LIBICAL_AVAILABLE_CFLAGS
25963 LIBICAL_AVAILABLE_LIBS=$pkg_cv_LIBICAL_AVAILABLE_LIBS
25964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25965 $as_echo "yes" >&6; }
25967 $as_echo "#define HAVE_LIBICAL_R 1" >>confdefs.h
25971 if test "$enable_developer_mode" = "yes"; then
25972 BACKENDS_SEARCH_DIRECTORY="`pwd`/src/backends/"
25974 BACKENDS_SEARCH_DIRECTORY='$(libdir)/syncevolution/backends/'
25977 BACKENDS_DIRECTORY='$(libdir)/syncevolution/backends'
25981 # for ActiveSync backend
25982 syncevo_backenddir='$(libdir)'/syncevolution/backends
25986 cat >>confdefs.h <<_ACEOF
25987 #define DEVICE_TYPE "$DEVICE_TYPE"
25991 for ac_header in stdarg.h valgrind/valgrind.h execinfo.h
25993 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
25994 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
25995 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
25996 cat >>confdefs.h <<_ACEOF
25997 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
26006 $as_echo "#define SYNTHESIS 1" >>confdefs.h
26009 # fallback for lack of --with-docdir support in older automake
26010 if test ! "$docdir"; then
26011 docdir = ${datadir}/doc/syncevolution
26015 # Check whether --enable-dbus-timeout-hack was given.
26016 if test "${enable_dbus_timeout_hack+set}" = set; then :
26017 enableval=$enable_dbus_timeout_hack; enable_dbus_timeout_hack=$enableval
26019 if test $enable_ebook = "yes" || test $enable_ecal = "yes"; then
26020 enable_dbus_timeout_hack="yes"
26024 if test "$enable_dbus_timeout_hack" = "yes"; then
26026 $as_echo "#define ENABLE_DBUS_TIMEOUT_HACK 1" >>confdefs.h
26030 # Avoid hard-coding paths in backends. These names are chosen so
26031 # that a backend can alternatively use its own top-level configure
26032 # with PKG_CHECK_MODULES(SYNCEVOLUTION, "syncevolution") to set them.
26033 # need absolute path, use pwd instead of relative $srcdir
26035 # When adding something here, remember to also update syncevolution.pc.in.
26036 # -lrt is for clock_gettime() in the Timespec.h inline functions.
26037 SYNCEVOLUTION_CFLAGS=-I`cd $srcdir && pwd`/src
26038 # Linker flags including libsyncevolution.la and some libs.
26039 SYNCEVOLUTION_LIBS="src/syncevo/libsyncevolution.la -lrt"
26043 # invoking syncevolution binary is allowed to fail when cross-compiling
26044 if test "$cross_compiling" = "yes"; then
26045 COND_CROSS_COMPILING_TRUE=
26046 COND_CROSS_COMPILING_FALSE='#'
26048 COND_CROSS_COMPILING_TRUE='#'
26049 COND_CROSS_COMPILING_FALSE=
26053 # Set by any of the backends providing a keyring, determines the
26054 # default for the "keyring" option.
26055 if test "$have_keyring" = "yes"; then
26057 $as_echo "#define HAVE_KEYRING 1" >>confdefs.h
26061 ac_config_files="$ac_config_files Makefile src/syncevo/syncevolution.pc src/synthesis-includes/Makefile po/Makefile.in src/dbus/glib/syncevo-dbus.pc"
26063 cat >confcache <<\_ACEOF
26064 # This file is a shell script that caches the results of configure
26065 # tests run on this system so they can be shared between configure
26066 # scripts and configure runs, see configure's option --config-cache.
26067 # It is not useful on other systems. If it contains results you don't
26068 # want to keep, you may remove or edit it.
26070 # config.status only pays attention to the cache file if you give it
26071 # the --recheck option to rerun configure.
26073 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26074 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26075 # following values.
26079 # The following way of writing the cache mishandles newlines in values,
26080 # but we know of no workaround that is simple, portable, and efficient.
26081 # So, we kill variables containing newlines.
26082 # Ultrix sh set writes to stderr and can't be redirected directly,
26083 # and sets the high bit in the cache file unless we assign to the vars.
26085 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26086 eval ac_val=\$$ac_var
26090 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26091 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26094 _ | IFS | as_nl) ;; #(
26095 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
26096 *) { eval $ac_var=; unset $ac_var;} ;;
26102 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26103 *${as_nl}ac_space=\ *)
26104 # `set' does not quote correctly, so add quotes: double-quote
26105 # substitution turns \\\\ into \\, and sed turns \\ into \.
26108 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26111 # `set' quotes correctly as required by POSIX, so do not add quotes.
26112 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26121 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26123 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26125 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26126 if test -w "$cache_file"; then
26127 if test "x$cache_file" != "x/dev/null"; then
26128 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26129 $as_echo "$as_me: updating cache $cache_file" >&6;}
26130 if test ! -f "$cache_file" || test -h "$cache_file"; then
26131 cat confcache >"$cache_file"
26133 case $cache_file in #(
26135 mv -f confcache "$cache_file"$$ &&
26136 mv -f "$cache_file"$$ "$cache_file" ;; #(
26138 mv -f confcache "$cache_file" ;;
26143 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26144 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26149 test "x$prefix" = xNONE && prefix=$ac_default_prefix
26150 # Let make expand exec_prefix.
26151 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
26153 DEFS=-DHAVE_CONFIG_H
26158 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
26159 # 1. Remove the extension, and $U if already installed.
26160 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
26161 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
26162 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
26163 # will be set to the directory where LIBOBJS objects are built.
26164 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
26165 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
26167 LIBOBJS=$ac_libobjs
26169 LTLIBOBJS=$ac_ltlibobjs
26172 if test -n "$EXEEXT"; then
26174 am__EXEEXT_FALSE='#'
26176 am__EXEEXT_TRUE='#'
26180 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
26181 as_fn_error $? "conditional \"AMDEP\" was never defined.
26182 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26184 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26185 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
26186 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26188 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
26189 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
26190 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26192 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
26193 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
26194 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26196 if test -z "${ENABLE_ICALTZ_UTIL_TRUE}" && test -z "${ENABLE_ICALTZ_UTIL_FALSE}"; then
26197 as_fn_error $? "conditional \"ENABLE_ICALTZ_UTIL\" was never defined.
26198 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26200 if test -z "${ENABLE_UNIT_TESTS_TRUE}" && test -z "${ENABLE_UNIT_TESTS_FALSE}"; then
26201 as_fn_error $? "conditional \"ENABLE_UNIT_TESTS\" was never defined.
26202 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26204 if test -z "${ENABLE_TESTING_TRUE}" && test -z "${ENABLE_TESTING_FALSE}"; then
26205 as_fn_error $? "conditional \"ENABLE_TESTING\" was never defined.
26206 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26208 if test -z "${ENABLE_OBEX_TRUE}" && test -z "${ENABLE_OBEX_FALSE}"; then
26209 as_fn_error $? "conditional \"ENABLE_OBEX\" was never defined.
26210 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26212 if test -z "${ENABLE_BLUETOOTH_TRUE}" && test -z "${ENABLE_BLUETOOTH_FALSE}"; then
26213 as_fn_error $? "conditional \"ENABLE_BLUETOOTH\" was never defined.
26214 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26216 if test -z "${COND_GTK2_TRUE}" && test -z "${COND_GTK2_FALSE}"; then
26217 as_fn_error $? "conditional \"COND_GTK2\" was never defined.
26218 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26220 if test -z "${COND_GUI_TRUE}" && test -z "${COND_GUI_FALSE}"; then
26221 as_fn_error $? "conditional \"COND_GUI\" was never defined.
26222 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26224 if test -z "${COND_CORE_TRUE}" && test -z "${COND_CORE_FALSE}"; then
26225 as_fn_error $? "conditional \"COND_CORE\" was never defined.
26226 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26228 if test -z "${COND_DBUS_TRUE}" && test -z "${COND_DBUS_FALSE}"; then
26229 as_fn_error $? "conditional \"COND_DBUS\" was never defined.
26230 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26232 if test -z "${COND_GIO_GDBUS_TRUE}" && test -z "${COND_GIO_GDBUS_FALSE}"; then
26233 as_fn_error $? "conditional \"COND_GIO_GDBUS\" was never defined.
26234 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26236 if test -z "${NOTIFY_COMPATIBILITY_TRUE}" && test -z "${NOTIFY_COMPATIBILITY_FALSE}"; then
26237 as_fn_error $? "conditional \"NOTIFY_COMPATIBILITY\" was never defined.
26238 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26240 if test -z "${COND_DBUS_PIM_TRUE}" && test -z "${COND_DBUS_PIM_FALSE}"; then
26241 as_fn_error $? "conditional \"COND_DBUS_PIM\" was never defined.
26242 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26245 ac_config_commands="$ac_config_commands po/stamp-it"
26248 if test -z "${COND_MAN_PAGES_TRUE}" && test -z "${COND_MAN_PAGES_FALSE}"; then
26249 as_fn_error $? "conditional \"COND_MAN_PAGES\" was never defined.
26250 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26252 if test -z "${COND_HTML_README_TRUE}" && test -z "${COND_HTML_README_FALSE}"; then
26253 as_fn_error $? "conditional \"COND_HTML_README\" was never defined.
26254 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26256 if test -z "${ENABLE_GNOME_BLUETOOTH_PANEL_TRUE}" && test -z "${ENABLE_GNOME_BLUETOOTH_PANEL_FALSE}"; then
26257 as_fn_error $? "conditional \"ENABLE_GNOME_BLUETOOTH_PANEL\" was never defined.
26258 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26260 if test -z "${COND_DOC_TRUE}" && test -z "${COND_DOC_FALSE}"; then
26261 as_fn_error $? "conditional \"COND_DOC\" was never defined.
26262 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26264 if test -z "${BUILD_ACTIVESYNCD_TRUE}" && test -z "${BUILD_ACTIVESYNCD_FALSE}"; then
26265 as_fn_error $? "conditional \"BUILD_ACTIVESYNCD\" was never defined.
26266 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26268 if test -z "${ENABLE_AKONADI_TRUE}" && test -z "${ENABLE_AKONADI_FALSE}"; then
26269 as_fn_error $? "conditional \"ENABLE_AKONADI\" was never defined.
26270 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26272 if test -z "${ENABLE_ECAL_TRUE}" && test -z "${ENABLE_ECAL_FALSE}"; then
26273 as_fn_error $? "conditional \"ENABLE_ECAL\" was never defined.
26274 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26276 if test -z "${USE_GOA_TRUE}" && test -z "${USE_GOA_FALSE}"; then
26277 as_fn_error $? "conditional \"USE_GOA\" was never defined.
26278 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26280 if test -z "${USE_KDE_KWALLET_TRUE}" && test -z "${USE_KDE_KWALLET_FALSE}"; then
26281 as_fn_error $? "conditional \"USE_KDE_KWALLET\" was never defined.
26282 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26284 if test -z "${USE_OAUTH2_TRUE}" && test -z "${USE_OAUTH2_FALSE}"; then
26285 as_fn_error $? "conditional \"USE_OAUTH2\" was never defined.
26286 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26288 if test -z "${USE_GSSO_TRUE}" && test -z "${USE_GSSO_FALSE}"; then
26289 as_fn_error $? "conditional \"USE_GSSO\" was never defined.
26290 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26292 if test -z "${USE_UOA_TRUE}" && test -z "${USE_UOA_FALSE}"; then
26293 as_fn_error $? "conditional \"USE_UOA\" was never defined.
26294 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26296 if test -z "${USE_SIGNON_TRUE}" && test -z "${USE_SIGNON_FALSE}"; then
26297 as_fn_error $? "conditional \"USE_SIGNON\" was never defined.
26298 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26300 if test -z "${NEON_COMPATIBILITY_TRUE}" && test -z "${NEON_COMPATIBILITY_FALSE}"; then
26301 as_fn_error $? "conditional \"NEON_COMPATIBILITY\" was never defined.
26302 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26304 if test -z "${ENABLE_QT_DBUS_TRUE}" && test -z "${ENABLE_QT_DBUS_FALSE}"; then
26305 as_fn_error $? "conditional \"ENABLE_QT_DBUS\" was never defined.
26306 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26308 if test -z "${ENABLE_ICAL_TRUE}" && test -z "${ENABLE_ICAL_FALSE}"; then
26309 as_fn_error $? "conditional \"ENABLE_ICAL\" was never defined.
26310 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26312 if test -z "${ENABLE_MODULES_TRUE}" && test -z "${ENABLE_MODULES_FALSE}"; then
26313 as_fn_error $? "conditional \"ENABLE_MODULES\" was never defined.
26314 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26316 if test -z "${ENABLE_EVOLUTION_COMPATIBILITY_TRUE}" && test -z "${ENABLE_EVOLUTION_COMPATIBILITY_FALSE}"; then
26317 as_fn_error $? "conditional \"ENABLE_EVOLUTION_COMPATIBILITY\" was never defined.
26318 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26320 if test -z "${COND_CROSS_COMPILING_TRUE}" && test -z "${COND_CROSS_COMPILING_FALSE}"; then
26321 as_fn_error $? "conditional \"COND_CROSS_COMPILING\" was never defined.
26322 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26325 : "${CONFIG_STATUS=./config.status}"
26327 ac_clean_files_save=$ac_clean_files
26328 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
26329 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
26330 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
26332 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
26334 # Generated by $as_me.
26335 # Run this file to recreate the current configuration.
26336 # Compiler output produced by configure, useful for debugging
26337 # configure, is in config.log if it exists.
26340 ac_cs_recheck=false
26343 SHELL=\${CONFIG_SHELL-$SHELL}
26346 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
26347 ## -------------------- ##
26348 ## M4sh Initialization. ##
26349 ## -------------------- ##
26351 # Be more Bourne compatible
26352 DUALCASE=1; export DUALCASE # for MKS sh
26353 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
26356 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26357 # is contrary to our usage. Disable this feature.
26358 alias -g '${1+"$@"}'='"$@"'
26359 setopt NO_GLOB_SUBST
26361 case `(set -o) 2>/dev/null` in #(
26373 # Printing a long string crashes Solaris 7 /usr/bin/printf.
26374 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
26375 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
26376 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
26377 # Prefer a ksh shell builtin over an external printf program on Solaris,
26378 # but without wasting forks for bash or zsh.
26379 if test -z "$BASH_VERSION$ZSH_VERSION" \
26380 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
26381 as_echo='print -r --'
26382 as_echo_n='print -rn --'
26383 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
26384 as_echo='printf %s\n'
26385 as_echo_n='printf %s'
26387 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
26388 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
26389 as_echo_n='/usr/ucb/echo -n'
26391 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
26392 as_echo_n_body='eval
26396 expr "X$arg" : "X\\(.*\\)$as_nl";
26397 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
26399 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
26401 export as_echo_n_body
26402 as_echo_n='sh -c $as_echo_n_body as_echo'
26404 export as_echo_body
26405 as_echo='sh -c $as_echo_body as_echo'
26408 # The user is always right.
26409 if test "${PATH_SEPARATOR+set}" != set; then
26411 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
26412 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
26419 # We need space, tab and new line, in precisely that order. Quoting is
26420 # there to prevent editors from complaining about space-tab.
26421 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
26422 # splitting by setting IFS to empty value.)
26425 # Find who we are. Look in the path if we contain no directory separator.
26428 *[\\/]* ) as_myself=$0 ;;
26429 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26430 for as_dir in $PATH
26433 test -z "$as_dir" && as_dir=.
26434 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26440 # We did not find ourselves, most probably we were run as `sh COMMAND'
26441 # in which case we are not to be found in the path.
26442 if test "x$as_myself" = x; then
26445 if test ! -f "$as_myself"; then
26446 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26450 # Unset variables that we do not need and which cause bugs (e.g. in
26451 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
26452 # suppresses any "Segmentation fault" message there. '((' could
26453 # trigger a bug in pdksh 5.2.14.
26454 for as_var in BASH_ENV ENV MAIL MAILPATH
26455 do eval test x\${$as_var+set} = xset \
26456 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
26469 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
26472 # as_fn_error STATUS ERROR [LINENO LOG_FD]
26473 # ----------------------------------------
26474 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
26475 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
26476 # script with STATUS, using 1 if that was 0.
26479 as_status=$1; test $as_status -eq 0 && as_status=1
26481 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
26482 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
26484 $as_echo "$as_me: error: $2" >&2
26485 as_fn_exit $as_status
26489 # as_fn_set_status STATUS
26490 # -----------------------
26491 # Set $? to STATUS, without forking.
26492 as_fn_set_status ()
26495 } # as_fn_set_status
26497 # as_fn_exit STATUS
26498 # -----------------
26499 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
26503 as_fn_set_status $1
26509 # Portably unset VAR.
26512 { eval $1=; unset $1;}
26514 as_unset=as_fn_unset
26515 # as_fn_append VAR VALUE
26516 # ----------------------
26517 # Append the text in VALUE to the end of the definition contained in VAR. Take
26518 # advantage of any shell optimizations that allow amortized linear growth over
26519 # repeated appends, instead of the typical quadratic growth present in naive
26521 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
26522 eval 'as_fn_append ()
26533 # as_fn_arith ARG...
26534 # ------------------
26535 # Perform arithmetic evaluation on the ARGs, and store the result in the
26536 # global $as_val. Take advantage of shells that can avoid forks. The arguments
26537 # must be portable across $(()) and expr.
26538 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
26539 eval 'as_fn_arith ()
26546 as_val=`expr "$@" || test $? -eq 1`
26551 if expr a : '\(a\)' >/dev/null 2>&1 &&
26552 test "X`expr 00001 : '.*\(...\)'`" = X001; then
26558 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
26559 as_basename=basename
26564 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
26570 as_me=`$as_basename -- "$0" ||
26571 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26572 X"$0" : 'X\(//\)$' \| \
26573 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
26575 sed '/^.*\/\([^/][^/]*\)\/*$/{
26589 # Avoid depending upon Character Ranges.
26590 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
26591 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
26592 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
26593 as_cr_digits='0123456789'
26594 as_cr_alnum=$as_cr_Letters$as_cr_digits
26596 ECHO_C= ECHO_N= ECHO_T=
26597 case `echo -n x` in #(((((
26599 case `echo 'xy\c'` in
26600 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
26602 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
26609 rm -f conf$$ conf$$.exe conf$$.file
26610 if test -d conf$$.dir; then
26611 rm -f conf$$.dir/conf$$.file
26614 mkdir conf$$.dir 2>/dev/null
26616 if (echo >conf$$.file) 2>/dev/null; then
26617 if ln -s conf$$.file conf$$ 2>/dev/null; then
26619 # ... but there are two gotchas:
26620 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
26621 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
26622 # In both cases, we have to default to `cp -pR'.
26623 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
26625 elif ln conf$$.file conf$$ 2>/dev/null; then
26633 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
26634 rmdir conf$$.dir 2>/dev/null
26639 # Create "$as_dir" as a directory, including parents if necessary.
26644 -*) as_dir=./$as_dir;;
26646 test -d "$as_dir" || eval $as_mkdir_p || {
26650 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
26651 *) as_qdir=$as_dir;;
26653 as_dirs="'$as_qdir' $as_dirs"
26654 as_dir=`$as_dirname -- "$as_dir" ||
26655 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26656 X"$as_dir" : 'X\(//\)[^/]' \| \
26657 X"$as_dir" : 'X\(//\)$' \| \
26658 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
26659 $as_echo X"$as_dir" |
26660 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26664 /^X\(\/\/\)[^/].*/{
26677 test -d "$as_dir" && break
26679 test -z "$as_dirs" || eval "mkdir $as_dirs"
26680 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
26684 if mkdir -p . 2>/dev/null; then
26685 as_mkdir_p='mkdir -p "$as_dir"'
26687 test -d ./-p && rmdir ./-p
26692 # as_fn_executable_p FILE
26693 # -----------------------
26694 # Test if FILE is an executable regular file.
26695 as_fn_executable_p ()
26697 test -f "$1" && test -x "$1"
26698 } # as_fn_executable_p
26699 as_test_x='test -x'
26700 as_executable_p=as_fn_executable_p
26702 # Sed expression to map a string onto a valid CPP name.
26703 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
26705 # Sed expression to map a string onto a valid variable name.
26706 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
26710 ## ----------------------------------- ##
26711 ## Main body of $CONFIG_STATUS script. ##
26712 ## ----------------------------------- ##
26714 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
26716 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26717 # Save the log message, to keep $0 and so on meaningful, and to
26718 # report actual input values of CONFIG_FILES etc. instead of their
26719 # values after options handling.
26721 This file was extended by syncevolution $as_me 1.5, which was
26722 generated by GNU Autoconf 2.69. Invocation command line was
26724 CONFIG_FILES = $CONFIG_FILES
26725 CONFIG_HEADERS = $CONFIG_HEADERS
26726 CONFIG_LINKS = $CONFIG_LINKS
26727 CONFIG_COMMANDS = $CONFIG_COMMANDS
26730 on `(hostname || uname -n) 2>/dev/null | sed 1q`
26735 case $ac_config_files in *"
26736 "*) set x $ac_config_files; shift; ac_config_files=$*;;
26739 case $ac_config_headers in *"
26740 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
26744 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26745 # Files that config.status was made for.
26746 config_files="$ac_config_files"
26747 config_headers="$ac_config_headers"
26748 config_commands="$ac_config_commands"
26752 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26754 \`$as_me' instantiates files and other configuration actions
26755 from templates according to the current configuration. Unless the files
26756 and actions are specified as TAGs, all are instantiated by default.
26758 Usage: $0 [OPTION]... [TAG]...
26760 -h, --help print this help, then exit
26761 -V, --version print version number and configuration settings, then exit
26762 --config print configuration, then exit
26763 -q, --quiet, --silent
26764 do not print progress messages
26765 -d, --debug don't remove temporary files
26766 --recheck update $as_me by reconfiguring in the same conditions
26767 --file=FILE[:TEMPLATE]
26768 instantiate the configuration file FILE
26769 --header=FILE[:TEMPLATE]
26770 instantiate the configuration header FILE
26772 Configuration files:
26775 Configuration headers:
26778 Configuration commands:
26781 Report bugs to the package provider."
26784 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26785 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
26787 syncevolution config.status 1.5
26788 configured by $0, generated by GNU Autoconf 2.69,
26789 with options \\"\$ac_cs_config\\"
26791 Copyright (C) 2012 Free Software Foundation, Inc.
26792 This config.status script is free software; the Free Software Foundation
26793 gives unlimited permission to copy, distribute and modify it."
26800 test -n "\$AWK" || AWK=awk
26803 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26804 # The default lists apply if the user does not specify any file.
26810 ac_option=`expr "X$1" : 'X\([^=]*\)='`
26811 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
26815 ac_option=`expr "X$1" : 'X\([^=]*\)='`
26827 # Handling of the options.
26828 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
26830 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
26831 $as_echo "$ac_cs_version"; exit ;;
26832 --config | --confi | --conf | --con | --co | --c )
26833 $as_echo "$ac_cs_config"; exit ;;
26834 --debug | --debu | --deb | --de | --d | -d )
26836 --file | --fil | --fi | --f )
26839 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
26840 '') as_fn_error $? "missing file argument" ;;
26842 as_fn_append CONFIG_FILES " '$ac_optarg'"
26843 ac_need_defaults=false;;
26844 --header | --heade | --head | --hea )
26847 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
26849 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
26850 ac_need_defaults=false;;
26852 # Conflict between --help and --header
26853 as_fn_error $? "ambiguous option: \`$1'
26854 Try \`$0 --help' for more information.";;
26855 --help | --hel | -h )
26856 $as_echo "$ac_cs_usage"; exit ;;
26857 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
26858 | -silent | --silent | --silen | --sile | --sil | --si | --s)
26861 # This is an error.
26862 -*) as_fn_error $? "unrecognized option: \`$1'
26863 Try \`$0 --help' for more information." ;;
26865 *) as_fn_append ac_config_targets " $1"
26866 ac_need_defaults=false ;;
26872 ac_configure_extra_args=
26874 if $ac_cs_silent; then
26876 ac_configure_extra_args="$ac_configure_extra_args --silent"
26880 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26881 if \$ac_cs_recheck; then
26882 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
26884 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
26885 CONFIG_SHELL='$SHELL'
26886 export CONFIG_SHELL
26891 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26895 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
26896 ## Running $as_me. ##
26902 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26906 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
26909 # The HP-UX ksh and POSIX shell print the target directory to stdout
26910 # if CDPATH is set.
26911 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
26913 sed_quote_subst='$sed_quote_subst'
26914 double_quote_subst='$double_quote_subst'
26915 delay_variable_subst='$delay_variable_subst'
26916 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
26917 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
26918 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
26919 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
26920 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
26921 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
26922 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
26923 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
26924 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
26925 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
26926 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
26927 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
26928 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
26929 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
26930 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
26931 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
26932 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
26933 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
26934 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
26935 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
26936 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
26937 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
26938 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
26939 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
26940 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
26941 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
26942 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
26943 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
26944 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
26945 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
26946 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
26947 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
26948 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
26949 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
26950 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
26951 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
26952 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
26953 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
26954 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
26955 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
26956 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
26957 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
26958 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
26959 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
26960 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
26961 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
26962 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
26963 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
26964 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
26965 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
26966 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
26967 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
26968 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
26969 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
26970 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
26971 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
26972 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
26973 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
26974 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
26975 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
26976 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
26977 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
26978 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
26979 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
26980 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
26981 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
26982 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
26983 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
26984 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
26985 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
26986 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
26987 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
26988 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
26989 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
26990 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
26991 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
26992 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
26993 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
26994 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
26995 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
26996 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
26997 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
26998 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
26999 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
27000 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27001 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
27002 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27003 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
27004 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
27005 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
27006 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
27007 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
27008 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
27009 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
27010 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
27011 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
27012 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
27013 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
27014 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
27015 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
27016 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
27017 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
27018 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
27019 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
27020 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
27021 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
27022 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
27023 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
27024 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
27025 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
27026 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
27027 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
27028 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
27029 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
27030 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
27031 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
27032 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
27033 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27034 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27035 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
27036 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
27037 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
27038 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
27039 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
27040 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
27041 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
27042 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
27043 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
27044 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
27045 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
27046 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
27047 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
27048 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
27049 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
27050 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
27051 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
27052 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
27053 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
27054 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27055 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27056 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
27057 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
27058 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
27059 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
27060 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
27061 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
27062 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
27063 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
27064 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
27065 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
27066 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
27067 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
27068 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27069 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27070 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27071 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27072 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27073 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27074 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
27075 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
27076 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
27077 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
27078 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
27079 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
27080 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
27081 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
27082 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
27083 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
27084 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
27085 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
27086 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
27087 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27088 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
27089 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
27090 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27091 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27092 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
27093 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
27094 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
27095 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
27096 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
27097 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
27098 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
27099 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
27102 LTCFLAGS='$LTCFLAGS'
27103 compiler='$compiler_DEFAULT'
27105 # A function that is used when there is no print builtin or printf.
27106 func_fallback_echo ()
27108 eval 'cat <<_LTECHO_EOF
27113 # Quote evaled strings.
27128 deplibs_check_method \
27133 sharedlib_from_linklib_cmd \
27136 archiver_list_spec \
27142 lt_cv_sys_global_symbol_pipe \
27143 lt_cv_sys_global_symbol_to_cdecl \
27144 lt_cv_sys_global_symbol_to_c_name_address \
27145 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
27146 nm_file_list_spec \
27147 lt_prog_compiler_no_builtin_flag \
27148 lt_prog_compiler_pic \
27149 lt_prog_compiler_wl \
27150 lt_prog_compiler_static \
27151 lt_cv_prog_compiler_c_o \
27160 export_dynamic_flag_spec \
27161 whole_archive_flag_spec \
27162 compiler_needs_object \
27164 allow_undefined_flag \
27165 no_undefined_flag \
27166 hardcode_libdir_flag_spec \
27167 hardcode_libdir_separator \
27171 variables_saved_for_relink \
27173 library_names_spec \
27175 install_override_mode \
27179 compiler_lib_search_dirs \
27184 compiler_lib_search_path \
27188 lt_prog_compiler_no_builtin_flag_CXX \
27189 lt_prog_compiler_pic_CXX \
27190 lt_prog_compiler_wl_CXX \
27191 lt_prog_compiler_static_CXX \
27192 lt_cv_prog_compiler_c_o_CXX \
27193 export_dynamic_flag_spec_CXX \
27194 whole_archive_flag_spec_CXX \
27195 compiler_needs_object_CXX \
27197 allow_undefined_flag_CXX \
27198 no_undefined_flag_CXX \
27199 hardcode_libdir_flag_spec_CXX \
27200 hardcode_libdir_separator_CXX \
27201 exclude_expsyms_CXX \
27202 include_expsyms_CXX \
27203 file_list_spec_CXX \
27204 compiler_lib_search_dirs_CXX \
27205 predep_objects_CXX \
27206 postdep_objects_CXX \
27209 compiler_lib_search_path_CXX; do
27210 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27211 *[\\\\\\\`\\"\\\$]*)
27212 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
27215 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27220 # Double-quote double-evaled strings.
27221 for var in reload_cmds \
27222 old_postinstall_cmds \
27223 old_postuninstall_cmds \
27225 extract_expsyms_cmds \
27226 old_archive_from_new_cmds \
27227 old_archive_from_expsyms_cmds \
27229 archive_expsym_cmds \
27231 module_expsym_cmds \
27232 export_symbols_cmds \
27236 postuninstall_cmds \
27238 sys_lib_search_path_spec \
27239 sys_lib_dlsearch_path_spec \
27241 old_archive_cmds_CXX \
27242 old_archive_from_new_cmds_CXX \
27243 old_archive_from_expsyms_cmds_CXX \
27245 archive_expsym_cmds_CXX \
27247 module_expsym_cmds_CXX \
27248 export_symbols_cmds_CXX \
27250 postlink_cmds_CXX; do
27251 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27252 *[\\\\\\\`\\"\\\$]*)
27253 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
27256 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27261 ac_aux_dir='$ac_aux_dir'
27262 xsi_shell='$xsi_shell'
27263 lt_shell_append='$lt_shell_append'
27265 # See if we are running on zsh, and set the options which allow our
27266 # commands through without removal of \ escapes INIT.
27267 if test -n "\${ZSH_VERSION+set}" ; then
27268 setopt NO_GLOB_SUBST
27274 TIMESTAMP='$TIMESTAMP'
27286 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27288 # Handling of arguments.
27289 for ac_config_target in $ac_config_targets
27291 case $ac_config_target in
27292 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
27293 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
27294 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
27295 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
27296 "src/backends/signon/accounts/google-caldav.service") CONFIG_FILES="$CONFIG_FILES src/backends/signon/accounts/google-caldav.service" ;;
27297 "src/backends/signon/accounts/google-carddav.service") CONFIG_FILES="$CONFIG_FILES src/backends/signon/accounts/google-carddav.service" ;;
27298 "src/backends/signon/accounts/google.provider") CONFIG_FILES="$CONFIG_FILES src/backends/signon/accounts/google.provider" ;;
27299 "src/dbus/qt/syncevolution-qt-dbus.pc") CONFIG_FILES="$CONFIG_FILES src/dbus/qt/syncevolution-qt-dbus.pc" ;;
27300 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
27301 "src/syncevo/syncevolution.pc") CONFIG_FILES="$CONFIG_FILES src/syncevo/syncevolution.pc" ;;
27302 "src/synthesis-includes/Makefile") CONFIG_FILES="$CONFIG_FILES src/synthesis-includes/Makefile" ;;
27303 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
27304 "src/dbus/glib/syncevo-dbus.pc") CONFIG_FILES="$CONFIG_FILES src/dbus/glib/syncevo-dbus.pc" ;;
27305 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
27307 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
27312 # If the user did not use the arguments to specify the items to instantiate,
27313 # then the envvar interface is used. Set only those that are not.
27314 # We use the long form for the default assignment because of an extremely
27315 # bizarre bug on SunOS 4.1.3.
27316 if $ac_need_defaults; then
27317 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
27318 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
27319 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
27322 # Have a temporary directory for convenience. Make it in the build tree
27323 # simply because there is no reason against having it here, and in addition,
27324 # creating and moving files from /tmp can sometimes cause problems.
27325 # Hook for its removal unless debugging.
27326 # Note that there is a small window in which the directory will not be cleaned:
27327 # after its creation but before its name has been assigned to `$tmp'.
27331 trap 'exit_status=$?
27332 : "${ac_tmp:=$tmp}"
27333 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
27335 trap 'as_fn_exit 1' 1 2 13 15
27337 # Create a (secure) tmp directory for tmp files.
27340 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
27344 tmp=./conf$$-$RANDOM
27345 (umask 077 && mkdir "$tmp")
27346 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
27349 # Set up the scripts for CONFIG_FILES section.
27350 # No need to generate them if there are no CONFIG_FILES.
27351 # This happens for instance with `./config.status config.h'.
27352 if test -n "$CONFIG_FILES"; then
27355 ac_cr=`echo X | tr X '\015'`
27356 # On cygwin, bash can eat \r inside `` if the user requested igncr.
27357 # But we know of no other shell where ac_cr would be empty at this
27358 # point, so we can use a bashism as a fallback.
27359 if test "x$ac_cr" = x; then
27360 eval ac_cr=\$\'\\r\'
27362 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
27363 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
27366 ac_cs_awk_cr=$ac_cr
27369 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
27374 echo "cat >conf$$subs.awk <<_ACEOF" &&
27375 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
27377 } >conf$$subs.sh ||
27378 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
27379 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
27381 for ac_last_try in false false false false false :; do
27382 . ./conf$$subs.sh ||
27383 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
27385 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
27386 if test $ac_delim_n = $ac_delim_num; then
27388 elif $ac_last_try; then
27389 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
27391 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27394 rm -f conf$$subs.sh
27396 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27397 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
27401 s/^/S["/; s/!.*/"]=/
27411 s/\(.\{148\}\)..*/\1/
27413 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
27418 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
27425 s/\(.\{148\}\)..*/\1/
27427 s/["\\]/\\&/g; s/^/"/; s/$/"/
27431 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
27436 ' <conf$$subs.awk | sed '
27441 ' >>$CONFIG_STATUS || ac_write_fail=1
27442 rm -f conf$$subs.awk
27443 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27445 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
27446 for (key in S) S_is_set[key] = 1
27452 nfields = split(line, field, "@")
27454 len = length(field[1])
27455 for (i = 2; i < nfields; i++) {
27457 keylen = length(key)
27458 if (S_is_set[key]) {
27460 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
27461 len += length(value) + length(field[++i])
27472 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27473 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
27474 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
27477 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
27478 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
27481 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
27482 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
27483 # trailing colons and then remove the whole line if VPATH becomes empty
27484 # (actually we leave an empty line to preserve line numbers).
27485 if test "x$srcdir" = x.; then
27486 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
27504 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27505 fi # test -n "$CONFIG_FILES"
27507 # Set up the scripts for CONFIG_HEADERS section.
27508 # No need to generate them if there are no CONFIG_HEADERS.
27509 # This happens for instance with `./config.status Makefile'.
27510 if test -n "$CONFIG_HEADERS"; then
27511 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
27515 # Transform confdefs.h into an awk script `defines.awk', embedded as
27516 # here-document in config.status, that substitutes the proper values into
27517 # config.h.in to produce config.h.
27519 # Create a delimiter string that does not exist in confdefs.h, to ease
27520 # handling of long lines.
27522 for ac_last_try in false false :; do
27523 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
27524 if test -z "$ac_tt"; then
27526 elif $ac_last_try; then
27527 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
27529 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27533 # For the awk script, D is an array of macro values keyed by name,
27534 # likewise P contains macro parameters if any. Preserve backslash
27535 # newline sequences.
27537 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
27539 s/.\{148\}/&'"$ac_delim"'/g
27542 s/^[ ]*#[ ]*define[ ][ ]*/ /
27549 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
27551 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
27555 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
27556 D["\1"]=" \3\\\\\\n"\\/p
27558 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
27563 s/.\{148\}/&'"$ac_delim"'/g
27568 s/["\\]/\\&/g; s/^/"/; s/$/"/p
27571 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
27573 ' <confdefs.h | sed '
27574 s/'"$ac_delim"'/"\\\
27575 "/g' >>$CONFIG_STATUS || ac_write_fail=1
27577 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27578 for (key in D) D_is_set[key] = 1
27581 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
27583 split(line, arg, " ")
27584 if (arg[1] == "#") {
27588 defundef = substr(arg[1], 2)
27591 split(mac1, mac2, "(") #)
27593 prefix = substr(line, 1, index(line, defundef) - 1)
27594 if (D_is_set[macro]) {
27595 # Preserve the white space surrounding the "#".
27596 print prefix "define", macro P[macro] D[macro]
27599 # Replace #undef with comments. This is necessary, for example,
27600 # in the case of _POSIX_SOURCE, which is predefined and required
27601 # on some systems where configure will not decide to define it.
27602 if (defundef == "undef") {
27603 print "/*", prefix defundef, macro, "*/"
27611 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27612 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
27613 fi # test -n "$CONFIG_HEADERS"
27616 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
27621 :[FHLC]) ac_mode=$ac_tag; continue;;
27623 case $ac_mode$ac_tag in
27625 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
27626 :[FH]-) ac_tag=-:-;;
27627 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
27644 -) ac_f="$ac_tmp/stdin";;
27645 *) # Look for the file first in the build tree, then in the source tree
27646 # (if the path is not absolute). The absolute path cannot be DOS-style,
27647 # because $ac_f cannot contain `:'.
27651 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
27653 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
27655 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
27656 as_fn_append ac_file_inputs " '$ac_f'"
27659 # Let's still pretend it is `configure' which instantiates (i.e., don't
27660 # use $as_me), people would be surprised to read:
27661 # /* config.h. Generated by config.status. */
27662 configure_input='Generated from '`
27663 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
27665 if test x"$ac_file" != x-; then
27666 configure_input="$ac_file. $configure_input"
27667 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
27668 $as_echo "$as_me: creating $ac_file" >&6;}
27670 # Neutralize special characters interpreted by sed in replacement strings.
27671 case $configure_input in #(
27672 *\&* | *\|* | *\\* )
27673 ac_sed_conf_input=`$as_echo "$configure_input" |
27674 sed 's/[\\\\&|]/\\\\&/g'`;; #(
27675 *) ac_sed_conf_input=$configure_input;;
27679 *:-:* | *:-) cat >"$ac_tmp/stdin" \
27680 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
27685 ac_dir=`$as_dirname -- "$ac_file" ||
27686 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27687 X"$ac_file" : 'X\(//\)[^/]' \| \
27688 X"$ac_file" : 'X\(//\)$' \| \
27689 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
27690 $as_echo X"$ac_file" |
27691 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27695 /^X\(\/\/\)[^/].*/{
27708 as_dir="$ac_dir"; as_fn_mkdir_p
27712 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
27714 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
27715 # A ".." for each directory in $ac_dir_suffix.
27716 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
27717 case $ac_top_builddir_sub in
27718 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
27719 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
27722 ac_abs_top_builddir=$ac_pwd
27723 ac_abs_builddir=$ac_pwd$ac_dir_suffix
27724 # for backward compatibility:
27725 ac_top_builddir=$ac_top_build_prefix
27728 .) # We are building in place.
27730 ac_top_srcdir=$ac_top_builddir_sub
27731 ac_abs_top_srcdir=$ac_pwd ;;
27732 [\\/]* | ?:[\\/]* ) # Absolute name.
27733 ac_srcdir=$srcdir$ac_dir_suffix;
27734 ac_top_srcdir=$srcdir
27735 ac_abs_top_srcdir=$srcdir ;;
27736 *) # Relative name.
27737 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
27738 ac_top_srcdir=$ac_top_build_prefix$srcdir
27739 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
27741 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
27751 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
27752 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
27754 ac_MKDIR_P=$MKDIR_P
27756 [\\/$]* | ?:[\\/]* ) ;;
27757 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
27761 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27762 # If the template does not know about datarootdir, expand it.
27763 # FIXME: This hack should be removed a few years after 2.60.
27764 ac_datarootdir_hack=; ac_datarootdir_seen=
27775 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
27776 *datarootdir*) ac_datarootdir_seen=yes;;
27777 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
27778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
27779 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
27781 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27782 ac_datarootdir_hack='
27783 s&@datadir@&$datadir&g
27784 s&@docdir@&$docdir&g
27785 s&@infodir@&$infodir&g
27786 s&@localedir@&$localedir&g
27787 s&@mandir@&$mandir&g
27788 s&\\\${datarootdir}&$datarootdir&g' ;;
27792 # Neutralize VPATH when `$srcdir' = `.'.
27793 # Shell code in configure.ac might set extrasub.
27794 # FIXME: do we really want to maintain this feature?
27795 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27796 ac_sed_extra="$ac_vpsub
27799 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27801 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
27802 s|@configure_input@|$ac_sed_conf_input|;t t
27803 s&@top_builddir@&$ac_top_builddir_sub&;t t
27804 s&@top_build_prefix@&$ac_top_build_prefix&;t t
27805 s&@srcdir@&$ac_srcdir&;t t
27806 s&@abs_srcdir@&$ac_abs_srcdir&;t t
27807 s&@top_srcdir@&$ac_top_srcdir&;t t
27808 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
27809 s&@builddir@&$ac_builddir&;t t
27810 s&@abs_builddir@&$ac_abs_builddir&;t t
27811 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
27812 s&@INSTALL@&$ac_INSTALL&;t t
27813 s&@MKDIR_P@&$ac_MKDIR_P&;t t
27814 $ac_datarootdir_hack
27816 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
27817 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
27819 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
27820 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
27821 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
27822 "$ac_tmp/out"`; test -z "$ac_out"; } &&
27823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27824 which seems to be undefined. Please make sure it is defined" >&5
27825 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27826 which seems to be undefined. Please make sure it is defined" >&2;}
27828 rm -f "$ac_tmp/stdin"
27830 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
27831 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
27833 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
27839 if test x"$ac_file" != x-; then
27841 $as_echo "/* $configure_input */" \
27842 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
27843 } >"$ac_tmp/config.h" \
27844 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
27845 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
27846 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
27847 $as_echo "$as_me: $ac_file is unchanged" >&6;}
27850 mv "$ac_tmp/config.h" "$ac_file" \
27851 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
27854 $as_echo "/* $configure_input */" \
27855 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
27856 || as_fn_error $? "could not create -" "$LINENO" 5
27858 # Compute "$ac_file"'s index in $config_headers.
27861 for _am_header in $config_headers :; do
27862 case $_am_header in
27863 $_am_arg | $_am_arg:* )
27866 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
27869 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
27870 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27871 X"$_am_arg" : 'X\(//\)[^/]' \| \
27872 X"$_am_arg" : 'X\(//\)$' \| \
27873 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
27874 $as_echo X"$_am_arg" |
27875 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27879 /^X\(\/\/\)[^/].*/{
27891 s/.*/./; q'`/stamp-h$_am_stamp_count
27894 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
27895 $as_echo "$as_me: executing $ac_file commands" >&6;}
27900 case $ac_file$ac_mode in
27901 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
27902 # Autoconf 2.62 quotes --file arguments for eval, but not when files
27903 # are listed without --file. Let's play safe and only enable the eval
27904 # if we detect the quoting.
27905 case $CONFIG_FILES in
27906 *\'*) eval set x "$CONFIG_FILES" ;;
27907 *) set x $CONFIG_FILES ;;
27912 # Strip MF so we end up with the name of the file.
27913 mf=`echo "$mf" | sed -e 's/:.*$//'`
27914 # Check whether this is an Automake generated Makefile or not.
27915 # We used to match only the files named `Makefile.in', but
27916 # some people rename them; so instead we look at the file content.
27917 # Grep'ing the first line is not enough: some people post-process
27918 # each Makefile.in and add a new line on top of each file to say so.
27919 # Grep'ing the whole file is not good either: AIX grep has a line
27920 # limit of 2048, but all sed's we know have understand at least 4000.
27921 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
27922 dirpart=`$as_dirname -- "$mf" ||
27923 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27924 X"$mf" : 'X\(//\)[^/]' \| \
27925 X"$mf" : 'X\(//\)$' \| \
27926 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
27928 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27932 /^X\(\/\/\)[^/].*/{
27948 # Extract the definition of DEPDIR, am__include, and am__quote
27949 # from the Makefile without running `make'.
27950 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
27951 test -z "$DEPDIR" && continue
27952 am__include=`sed -n 's/^am__include = //p' < "$mf"`
27953 test -z "am__include" && continue
27954 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
27955 # When using ansi2knr, U may be empty or an underscore; expand it
27956 U=`sed -n 's/^U = //p' < "$mf"`
27957 # Find all dependency output files, they are included files with
27958 # $(DEPDIR) in their names. We invoke sed twice because it is the
27959 # simplest approach to changing $(DEPDIR) to its actual value in the
27961 for file in `sed -n "
27962 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
27963 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
27964 # Make sure the directory exists.
27965 test -f "$dirpart/$file" && continue
27966 fdir=`$as_dirname -- "$file" ||
27967 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27968 X"$file" : 'X\(//\)[^/]' \| \
27969 X"$file" : 'X\(//\)$' \| \
27970 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
27971 $as_echo X"$file" |
27972 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27976 /^X\(\/\/\)[^/].*/{
27989 as_dir=$dirpart/$fdir; as_fn_mkdir_p
27990 # echo "creating $dirpart/$file"
27991 echo '# dummy' > "$dirpart/$file"
27998 # See if we are running on zsh, and set the options which allow our
27999 # commands through without removal of \ escapes.
28000 if test -n "${ZSH_VERSION+set}" ; then
28001 setopt NO_GLOB_SUBST
28004 cfgfile="${ofile}T"
28005 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
28008 cat <<_LT_EOF >> "$cfgfile"
28011 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
28012 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
28013 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
28014 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
28016 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
28017 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
28019 # Written by Gordon Matzigkeit, 1996
28021 # This file is part of GNU Libtool.
28023 # GNU Libtool is free software; you can redistribute it and/or
28024 # modify it under the terms of the GNU General Public License as
28025 # published by the Free Software Foundation; either version 2 of
28026 # the License, or (at your option) any later version.
28028 # As a special exception to the GNU General Public License,
28029 # if you distribute this file as part of a program or library that
28030 # is built using GNU Libtool, you may include this file under the
28031 # same distribution terms that you use for the rest of that program.
28033 # GNU Libtool is distributed in the hope that it will be useful,
28034 # but WITHOUT ANY WARRANTY; without even the implied warranty of
28035 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28036 # GNU General Public License for more details.
28038 # You should have received a copy of the GNU General Public License
28039 # along with GNU Libtool; see the file COPYING. If not, a copy
28040 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
28041 # obtained by writing to the Free Software Foundation, Inc.,
28042 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
28045 # The names of the tagged configurations supported by this script.
28046 available_tags="CXX "
28048 # ### BEGIN LIBTOOL CONFIG
28050 # Which release of libtool.m4 was used?
28051 macro_version=$macro_version
28052 macro_revision=$macro_revision
28054 # Whether or not to build shared libraries.
28055 build_libtool_libs=$enable_shared
28057 # Whether or not to build static libraries.
28058 build_old_libs=$enable_static
28060 # What type of objects to build.
28063 # Whether or not to optimize for fast installation.
28064 fast_install=$enable_fast_install
28066 # Shell to use when invoking shell scripts.
28069 # An echo program that protects backslashes.
28072 # The PATH separator for the build system.
28073 PATH_SEPARATOR=$lt_PATH_SEPARATOR
28076 host_alias=$host_alias
28080 # The build system.
28081 build_alias=$build_alias
28085 # A sed program that does not truncate output.
28088 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
28089 Xsed="\$SED -e 1s/^X//"
28091 # A grep program that handles long lines.
28097 # A literal string matcher.
28100 # A BSD- or MS-compatible name lister.
28103 # Whether we need soft or hard links.
28106 # What is the maximum length of a command?
28107 max_cmd_len=$max_cmd_len
28109 # Object file suffix (normally "o").
28112 # Executable file suffix (normally "").
28115 # whether the shell understands "unset".
28118 # turn spaces into newlines.
28121 # turn newlines into spaces.
28124 # convert \$build file names to \$host format.
28125 to_host_file_cmd=$lt_cv_to_host_file_cmd
28127 # convert \$build files to toolchain format.
28128 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
28130 # An object symbol dumper.
28131 OBJDUMP=$lt_OBJDUMP
28133 # Method to check whether dependent libraries are shared objects.
28134 deplibs_check_method=$lt_deplibs_check_method
28136 # Command to use when deplibs_check_method = "file_magic".
28137 file_magic_cmd=$lt_file_magic_cmd
28139 # How to find potential files when deplibs_check_method = "file_magic".
28140 file_magic_glob=$lt_file_magic_glob
28142 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
28143 want_nocaseglob=$lt_want_nocaseglob
28145 # DLL creation program.
28146 DLLTOOL=$lt_DLLTOOL
28148 # Command to associate shared and link libraries.
28149 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
28154 # Flags to create an archive.
28155 AR_FLAGS=$lt_AR_FLAGS
28157 # How to feed a file listing to the archiver.
28158 archiver_list_spec=$lt_archiver_list_spec
28160 # A symbol stripping program.
28163 # Commands used to install an old-style archive.
28165 old_postinstall_cmds=$lt_old_postinstall_cmds
28166 old_postuninstall_cmds=$lt_old_postuninstall_cmds
28168 # Whether to use a lock for old archive extraction.
28169 lock_old_archive_extraction=$lock_old_archive_extraction
28174 # LTCC compiler flags.
28175 LTCFLAGS=$lt_CFLAGS
28177 # Take the output of nm and produce a listing of raw symbols and C names.
28178 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
28180 # Transform the output of nm in a proper C declaration.
28181 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
28183 # Transform the output of nm in a C name address pair.
28184 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
28186 # Transform the output of nm in a C name address pair when lib prefix is needed.
28187 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
28189 # Specify filename containing input files for \$NM.
28190 nm_file_list_spec=$lt_nm_file_list_spec
28192 # The root where to search for dependent libraries,and in which our libraries should be installed.
28193 lt_sysroot=$lt_sysroot
28195 # The name of the directory that contains temporary libtool files.
28198 # Used to examine libraries when file_magic_cmd begins with "file".
28199 MAGIC_CMD=$MAGIC_CMD
28201 # Must we lock files when doing compilation?
28202 need_locks=$lt_need_locks
28205 MANIFEST_TOOL=$lt_MANIFEST_TOOL
28207 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
28208 DSYMUTIL=$lt_DSYMUTIL
28210 # Tool to change global to local symbols on Mac OS X.
28213 # Tool to manipulate fat objects and archives on Mac OS X.
28216 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
28219 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
28220 OTOOL64=$lt_OTOOL64
28222 # Old archive suffix (normally "a").
28225 # Shared library suffix (normally ".so").
28226 shrext_cmds=$lt_shrext_cmds
28228 # The commands to extract the exported symbol list from a shared archive.
28229 extract_expsyms_cmds=$lt_extract_expsyms_cmds
28231 # Variables whose values should be saved in libtool wrapper scripts and
28232 # restored at link time.
28233 variables_saved_for_relink=$lt_variables_saved_for_relink
28235 # Do we need the "lib" prefix for modules?
28236 need_lib_prefix=$need_lib_prefix
28238 # Do we need a version for libraries?
28239 need_version=$need_version
28241 # Library versioning type.
28242 version_type=$version_type
28244 # Shared library runtime path variable.
28245 runpath_var=$runpath_var
28247 # Shared library path variable.
28248 shlibpath_var=$shlibpath_var
28250 # Is shlibpath searched before the hard-coded library search path?
28251 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
28253 # Format of library name prefix.
28254 libname_spec=$lt_libname_spec
28256 # List of archive names. First name is the real one, the rest are links.
28257 # The last name is the one that the linker finds with -lNAME
28258 library_names_spec=$lt_library_names_spec
28260 # The coded name of the library, if different from the real name.
28261 soname_spec=$lt_soname_spec
28263 # Permission mode override for installation of shared libraries.
28264 install_override_mode=$lt_install_override_mode
28266 # Command to use after installation of a shared archive.
28267 postinstall_cmds=$lt_postinstall_cmds
28269 # Command to use after uninstallation of a shared archive.
28270 postuninstall_cmds=$lt_postuninstall_cmds
28272 # Commands used to finish a libtool library installation in a directory.
28273 finish_cmds=$lt_finish_cmds
28275 # As "finish_cmds", except a single script fragment to be evaled but
28277 finish_eval=$lt_finish_eval
28279 # Whether we should hardcode library paths into libraries.
28280 hardcode_into_libs=$hardcode_into_libs
28282 # Compile-time system search path for libraries.
28283 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
28285 # Run-time system search path for libraries.
28286 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
28288 # Whether dlopen is supported.
28289 dlopen_support=$enable_dlopen
28291 # Whether dlopen of programs is supported.
28292 dlopen_self=$enable_dlopen_self
28294 # Whether dlopen of statically linked programs is supported.
28295 dlopen_self_static=$enable_dlopen_self_static
28297 # Commands to strip libraries.
28298 old_striplib=$lt_old_striplib
28299 striplib=$lt_striplib
28302 # The linker used to build libraries.
28305 # How to create reloadable object files.
28306 reload_flag=$lt_reload_flag
28307 reload_cmds=$lt_reload_cmds
28309 # Commands used to build an old-style archive.
28310 old_archive_cmds=$lt_old_archive_cmds
28312 # A language specific compiler.
28315 # Is the compiler the GNU compiler?
28318 # Compiler flag to turn off builtin functions.
28319 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
28321 # Additional compiler flags for building library objects.
28322 pic_flag=$lt_lt_prog_compiler_pic
28324 # How to pass a linker flag through the compiler.
28325 wl=$lt_lt_prog_compiler_wl
28327 # Compiler flag to prevent dynamic linking.
28328 link_static_flag=$lt_lt_prog_compiler_static
28330 # Does compiler simultaneously support -c and -o options?
28331 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
28333 # Whether or not to add -lc for building shared libraries.
28334 build_libtool_need_lc=$archive_cmds_need_lc
28336 # Whether or not to disallow shared libs when runtime libs are static.
28337 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
28339 # Compiler flag to allow reflexive dlopens.
28340 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
28342 # Compiler flag to generate shared objects directly from archives.
28343 whole_archive_flag_spec=$lt_whole_archive_flag_spec
28345 # Whether the compiler copes with passing no objects directly.
28346 compiler_needs_object=$lt_compiler_needs_object
28348 # Create an old-style archive from a shared archive.
28349 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
28351 # Create a temporary old-style archive to link instead of a shared archive.
28352 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
28354 # Commands used to build a shared archive.
28355 archive_cmds=$lt_archive_cmds
28356 archive_expsym_cmds=$lt_archive_expsym_cmds
28358 # Commands used to build a loadable module if different from building
28359 # a shared archive.
28360 module_cmds=$lt_module_cmds
28361 module_expsym_cmds=$lt_module_expsym_cmds
28363 # Whether we are building with GNU ld or not.
28364 with_gnu_ld=$lt_with_gnu_ld
28366 # Flag that allows shared libraries with undefined symbols to be built.
28367 allow_undefined_flag=$lt_allow_undefined_flag
28369 # Flag that enforces no undefined symbols.
28370 no_undefined_flag=$lt_no_undefined_flag
28372 # Flag to hardcode \$libdir into a binary during linking.
28373 # This must work even if \$libdir does not exist
28374 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
28376 # Whether we need a single "-rpath" flag with a separated argument.
28377 hardcode_libdir_separator=$lt_hardcode_libdir_separator
28379 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28380 # DIR into the resulting binary.
28381 hardcode_direct=$hardcode_direct
28383 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28384 # DIR into the resulting binary and the resulting library dependency is
28385 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28386 # library is relocated.
28387 hardcode_direct_absolute=$hardcode_direct_absolute
28389 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28390 # into the resulting binary.
28391 hardcode_minus_L=$hardcode_minus_L
28393 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28394 # into the resulting binary.
28395 hardcode_shlibpath_var=$hardcode_shlibpath_var
28397 # Set to "yes" if building a shared library automatically hardcodes DIR
28398 # into the library and all subsequent libraries and executables linked
28400 hardcode_automatic=$hardcode_automatic
28402 # Set to yes if linker adds runtime paths of dependent libraries
28403 # to runtime path list.
28404 inherit_rpath=$inherit_rpath
28406 # Whether libtool must link a program against all its dependency libraries.
28407 link_all_deplibs=$link_all_deplibs
28409 # Set to "yes" if exported symbols are required.
28410 always_export_symbols=$always_export_symbols
28412 # The commands to list exported symbols.
28413 export_symbols_cmds=$lt_export_symbols_cmds
28415 # Symbols that should not be listed in the preloaded symbols.
28416 exclude_expsyms=$lt_exclude_expsyms
28418 # Symbols that must always be exported.
28419 include_expsyms=$lt_include_expsyms
28421 # Commands necessary for linking programs (against libraries) with templates.
28422 prelink_cmds=$lt_prelink_cmds
28424 # Commands necessary for finishing linking programs.
28425 postlink_cmds=$lt_postlink_cmds
28427 # Specify filename containing input files.
28428 file_list_spec=$lt_file_list_spec
28430 # How to hardcode a shared library path into an executable.
28431 hardcode_action=$hardcode_action
28433 # The directories searched by this compiler when creating a shared library.
28434 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
28436 # Dependencies to place before and after the objects being linked to
28437 # create a shared library.
28438 predep_objects=$lt_predep_objects
28439 postdep_objects=$lt_postdep_objects
28440 predeps=$lt_predeps
28441 postdeps=$lt_postdeps
28443 # The library search path used internally by the compiler when linking
28444 # a shared library.
28445 compiler_lib_search_path=$lt_compiler_lib_search_path
28447 # ### END LIBTOOL CONFIG
28453 cat <<\_LT_EOF >> "$cfgfile"
28454 # AIX sometimes has problems with the GCC collect2 program. For some
28455 # reason, if we set the COLLECT_NAMES environment variable, the problems
28456 # vanish in a puff of smoke.
28457 if test "X${COLLECT_NAMES+set}" != Xset; then
28459 export COLLECT_NAMES
28466 ltmain="$ac_aux_dir/ltmain.sh"
28469 # We use sed instead of cat because bash on DJGPP gets confused if
28470 # if finds mixed CR/LF and LF-only lines. Since sed operates in
28471 # text mode, it properly converts lines to CR/LF. This bash problem
28472 # is reportedly fixed, but why not run on old versions too?
28473 sed '$q' "$ltmain" >> "$cfgfile" \
28474 || (rm -f "$cfgfile"; exit 1)
28476 if test x"$xsi_shell" = xyes; then
28477 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
28481 \ */*) func_dirname_result="${1%/*}${2}" ;;\
28482 \ * ) func_dirname_result="${3}" ;;\
28484 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
28485 && mv -f "$cfgfile.tmp" "$cfgfile" \
28486 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
28487 test 0 -eq $? || _lt_function_replace_fail=:
28490 sed -e '/^func_basename ()$/,/^} # func_basename /c\
28493 \ func_basename_result="${1##*/}"\
28494 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
28495 && mv -f "$cfgfile.tmp" "$cfgfile" \
28496 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
28497 test 0 -eq $? || _lt_function_replace_fail=:
28500 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
28501 func_dirname_and_basename ()\
28504 \ */*) func_dirname_result="${1%/*}${2}" ;;\
28505 \ * ) func_dirname_result="${3}" ;;\
28507 \ func_basename_result="${1##*/}"\
28508 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
28509 && mv -f "$cfgfile.tmp" "$cfgfile" \
28510 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
28511 test 0 -eq $? || _lt_function_replace_fail=:
28514 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
28517 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
28518 \ # positional parameters, so assign one to ordinary parameter first.\
28519 \ func_stripname_result=${3}\
28520 \ func_stripname_result=${func_stripname_result#"${1}"}\
28521 \ func_stripname_result=${func_stripname_result%"${2}"}\
28522 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
28523 && mv -f "$cfgfile.tmp" "$cfgfile" \
28524 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
28525 test 0 -eq $? || _lt_function_replace_fail=:
28528 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
28529 func_split_long_opt ()\
28531 \ func_split_long_opt_name=${1%%=*}\
28532 \ func_split_long_opt_arg=${1#*=}\
28533 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
28534 && mv -f "$cfgfile.tmp" "$cfgfile" \
28535 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
28536 test 0 -eq $? || _lt_function_replace_fail=:
28539 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
28540 func_split_short_opt ()\
28542 \ func_split_short_opt_arg=${1#??}\
28543 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
28544 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
28545 && mv -f "$cfgfile.tmp" "$cfgfile" \
28546 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
28547 test 0 -eq $? || _lt_function_replace_fail=:
28550 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
28554 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
28555 \ *) func_lo2o_result=${1} ;;\
28557 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
28558 && mv -f "$cfgfile.tmp" "$cfgfile" \
28559 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
28560 test 0 -eq $? || _lt_function_replace_fail=:
28563 sed -e '/^func_xform ()$/,/^} # func_xform /c\
28566 func_xform_result=${1%.*}.lo\
28567 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
28568 && mv -f "$cfgfile.tmp" "$cfgfile" \
28569 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
28570 test 0 -eq $? || _lt_function_replace_fail=:
28573 sed -e '/^func_arith ()$/,/^} # func_arith /c\
28576 func_arith_result=$(( $* ))\
28577 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
28578 && mv -f "$cfgfile.tmp" "$cfgfile" \
28579 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
28580 test 0 -eq $? || _lt_function_replace_fail=:
28583 sed -e '/^func_len ()$/,/^} # func_len /c\
28586 func_len_result=${#1}\
28587 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
28588 && mv -f "$cfgfile.tmp" "$cfgfile" \
28589 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
28590 test 0 -eq $? || _lt_function_replace_fail=:
28594 if test x"$lt_shell_append" = xyes; then
28595 sed -e '/^func_append ()$/,/^} # func_append /c\
28598 eval "${1}+=\\${2}"\
28599 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
28600 && mv -f "$cfgfile.tmp" "$cfgfile" \
28601 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
28602 test 0 -eq $? || _lt_function_replace_fail=:
28605 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
28606 func_append_quoted ()\
28608 \ func_quote_for_eval "${2}"\
28609 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
28610 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
28611 && mv -f "$cfgfile.tmp" "$cfgfile" \
28612 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
28613 test 0 -eq $? || _lt_function_replace_fail=:
28616 # Save a `func_append' function call where possible by direct use of '+='
28617 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
28618 && mv -f "$cfgfile.tmp" "$cfgfile" \
28619 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
28620 test 0 -eq $? || _lt_function_replace_fail=:
28622 # Save a `func_append' function call even when '+=' is not available
28623 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
28624 && mv -f "$cfgfile.tmp" "$cfgfile" \
28625 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
28626 test 0 -eq $? || _lt_function_replace_fail=:
28629 if test x"$_lt_function_replace_fail" = x":"; then
28630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
28631 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
28635 mv -f "$cfgfile" "$ofile" ||
28636 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
28640 cat <<_LT_EOF >> "$ofile"
28642 # ### BEGIN LIBTOOL TAG CONFIG: CXX
28644 # The linker used to build libraries.
28647 # How to create reloadable object files.
28648 reload_flag=$lt_reload_flag_CXX
28649 reload_cmds=$lt_reload_cmds_CXX
28651 # Commands used to build an old-style archive.
28652 old_archive_cmds=$lt_old_archive_cmds_CXX
28654 # A language specific compiler.
28655 CC=$lt_compiler_CXX
28657 # Is the compiler the GNU compiler?
28660 # Compiler flag to turn off builtin functions.
28661 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
28663 # Additional compiler flags for building library objects.
28664 pic_flag=$lt_lt_prog_compiler_pic_CXX
28666 # How to pass a linker flag through the compiler.
28667 wl=$lt_lt_prog_compiler_wl_CXX
28669 # Compiler flag to prevent dynamic linking.
28670 link_static_flag=$lt_lt_prog_compiler_static_CXX
28672 # Does compiler simultaneously support -c and -o options?
28673 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
28675 # Whether or not to add -lc for building shared libraries.
28676 build_libtool_need_lc=$archive_cmds_need_lc_CXX
28678 # Whether or not to disallow shared libs when runtime libs are static.
28679 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
28681 # Compiler flag to allow reflexive dlopens.
28682 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
28684 # Compiler flag to generate shared objects directly from archives.
28685 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
28687 # Whether the compiler copes with passing no objects directly.
28688 compiler_needs_object=$lt_compiler_needs_object_CXX
28690 # Create an old-style archive from a shared archive.
28691 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
28693 # Create a temporary old-style archive to link instead of a shared archive.
28694 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
28696 # Commands used to build a shared archive.
28697 archive_cmds=$lt_archive_cmds_CXX
28698 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
28700 # Commands used to build a loadable module if different from building
28701 # a shared archive.
28702 module_cmds=$lt_module_cmds_CXX
28703 module_expsym_cmds=$lt_module_expsym_cmds_CXX
28705 # Whether we are building with GNU ld or not.
28706 with_gnu_ld=$lt_with_gnu_ld_CXX
28708 # Flag that allows shared libraries with undefined symbols to be built.
28709 allow_undefined_flag=$lt_allow_undefined_flag_CXX
28711 # Flag that enforces no undefined symbols.
28712 no_undefined_flag=$lt_no_undefined_flag_CXX
28714 # Flag to hardcode \$libdir into a binary during linking.
28715 # This must work even if \$libdir does not exist
28716 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
28718 # Whether we need a single "-rpath" flag with a separated argument.
28719 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
28721 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28722 # DIR into the resulting binary.
28723 hardcode_direct=$hardcode_direct_CXX
28725 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28726 # DIR into the resulting binary and the resulting library dependency is
28727 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28728 # library is relocated.
28729 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
28731 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28732 # into the resulting binary.
28733 hardcode_minus_L=$hardcode_minus_L_CXX
28735 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28736 # into the resulting binary.
28737 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
28739 # Set to "yes" if building a shared library automatically hardcodes DIR
28740 # into the library and all subsequent libraries and executables linked
28742 hardcode_automatic=$hardcode_automatic_CXX
28744 # Set to yes if linker adds runtime paths of dependent libraries
28745 # to runtime path list.
28746 inherit_rpath=$inherit_rpath_CXX
28748 # Whether libtool must link a program against all its dependency libraries.
28749 link_all_deplibs=$link_all_deplibs_CXX
28751 # Set to "yes" if exported symbols are required.
28752 always_export_symbols=$always_export_symbols_CXX
28754 # The commands to list exported symbols.
28755 export_symbols_cmds=$lt_export_symbols_cmds_CXX
28757 # Symbols that should not be listed in the preloaded symbols.
28758 exclude_expsyms=$lt_exclude_expsyms_CXX
28760 # Symbols that must always be exported.
28761 include_expsyms=$lt_include_expsyms_CXX
28763 # Commands necessary for linking programs (against libraries) with templates.
28764 prelink_cmds=$lt_prelink_cmds_CXX
28766 # Commands necessary for finishing linking programs.
28767 postlink_cmds=$lt_postlink_cmds_CXX
28769 # Specify filename containing input files.
28770 file_list_spec=$lt_file_list_spec_CXX
28772 # How to hardcode a shared library path into an executable.
28773 hardcode_action=$hardcode_action_CXX
28775 # The directories searched by this compiler when creating a shared library.
28776 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
28778 # Dependencies to place before and after the objects being linked to
28779 # create a shared library.
28780 predep_objects=$lt_predep_objects_CXX
28781 postdep_objects=$lt_postdep_objects_CXX
28782 predeps=$lt_predeps_CXX
28783 postdeps=$lt_postdeps_CXX
28785 # The library search path used internally by the compiler when linking
28786 # a shared library.
28787 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
28789 # ### END LIBTOOL TAG CONFIG: CXX
28793 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
28794 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
28797 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
28798 as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
28800 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
28805 '"s|^| $ac_top_srcdir/|" \
28806 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
28808 sed '/^POTFILES =/,/[^\\]$/ {
28812 ' "po/Makefile.in" >"po/Makefile"
28813 rm -f "po/Makefile.tmp"
28814 mv "po/stamp-it.tmp" "po/stamp-it"
28823 ac_clean_files=$ac_clean_files_save
28825 test $ac_write_fail = 0 ||
28826 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
28829 # configure is writing to config.log, and then calls config.status.
28830 # config.status does its own redirection, appending to config.log.
28831 # Unfortunately, on DOS this fails, as config.log is still kept open
28832 # by configure, so config.status won't be able to write to it; its
28833 # output is simply discarded. So we exec the FD to /dev/null,
28834 # effectively closing config.log, so it can be properly (re)opened and
28835 # appended to by config.status. When coming back to configure, we
28836 # need to make the FD available again.
28837 if test "$no_create" != yes; then
28839 ac_config_status_args=
28840 test "$silent" = yes &&
28841 ac_config_status_args="$ac_config_status_args --quiet"
28843 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
28845 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
28846 # would make configure fail if this is the last instruction.
28847 $ac_cs_success || as_fn_exit 1
28849 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
28850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
28851 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
28856 echo CONFIGURATION SUMMARY
28857 echo "Core SyncEvolution: $enable_core"
28858 for backend in $BACKENDS; do
28859 eval echo $backend: \${enable_${backend}}
28861 echo "DBus service: $enable_dbus_service"
28862 echo "org._01.pim support in DBus service: $enable_dbus_pim"
28863 echo "Notifications: $enable_notify"
28864 echo "GIO GDBus: $with_gio_gdbus"
28865 echo "GNOME keyring: $enable_gnome_keyring"
28866 if test "$enable_gui" = "no"; then
28867 echo "UI (DBus client): no"
28869 echo "UI (DBus client): $enable_gui (using $gtk_version)"
28871 echo "Bluetooth transport: $have_bluetooth"
28872 echo "GNOME Bluetooth panel plugin: $enable_gnome_bluetooth_panel"
28873 echo "SHA-256: $have_sha"
28874 echo "API documentation: $enable_doc"
28875 echo "D-Bus Timeout Hack: $enable_dbus_timeout_hack"