2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for syncevolution 1.4.1.
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.4.1'
591 PACKAGE_STRING='syncevolution 1.4.1'
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
686 NEON_COMPATIBILITY_FALSE
687 NEON_COMPATIBILITY_TRUE
692 GOOGLE_CLIENT_SECRET_CARDDAV
693 GOOGLE_CLIENT_ID_CARDDAV
694 GOOGLE_CLIENT_SECRET_CALDAV
695 GOOGLE_CLIENT_ID_CALDAV
713 USE_KDE_KWALLET_FALSE
746 EASCLIENT_DEPENDENCIES
748 LIBEASCLIENT_LA_DEPENDENCIES
749 BUILD_ACTIVESYNCD_FALSE
750 BUILD_ACTIVESYNCD_TRUE
755 ENABLE_GNOME_BLUETOOTH_PANEL_FALSE
756 ENABLE_GNOME_BLUETOOTH_PANEL_TRUE
759 GNOMEBLUETOOTH_CFLAGS
765 SYNTHESIS_SUBDIR_INCLUDES
768 WITH_SYNTHESIS_SRC_LIBS
769 WITH_SYNTHESIS_SRC_CFLAGS
773 COND_HTML_README_FALSE
774 COND_HTML_README_TRUE
784 SYNCEVOLUTION_LOCALEDIR
814 INTLTOOL_SERVICE_RULE
816 INTLTOOL_SCHEMAS_RULE
818 INTLTOOL_XML_NOMERGE_RULE
823 INTLTOOL_SOUNDLIST_RULE
830 INTLTOOL_DIRECTORY_RULE
831 INTLTOOL_DESKTOP_RULE
832 intltool__v_merge_options_0
833 intltool__v_merge_options_
834 INTLTOOL_V_MERGE_OPTIONS
848 NOTIFY_COMPATIBILITY_FALSE
849 NOTIFY_COMPATIBILITY_TRUE
852 DBUS_PIM_PLUGIN_LDFLAGS
854 DBUS_PIM_PLUGIN_CFLAGS
869 SYNCEVO_DBUS_SERVER_ARGS
881 ENABLE_BLUETOOTH_FALSE
882 ENABLE_BLUETOOTH_TRUE
899 ENABLE_UNIT_TESTS_FALSE
900 ENABLE_UNIT_TESTS_TRUE
905 ENABLE_ICALTZ_UTIL_FALSE
906 ENABLE_ICALTZ_UTIL_TRUE
948 MAINTAINER_MODE_FALSE
979 INSTALL_STRIP_PROGRAM
1022 program_transform_name
1035 enable_option_checking
1038 enable_dependency_tracking
1039 enable_maintainer_mode
1052 with_synthesis_username
1053 with_synthesis_revision
1055 enable_integration_tests
1057 enable_evolution_compatibility
1058 enable_internal_icaltz
1059 enable_developer_mode
1061 with_ca_certificates
1065 with_dlt_syncevolution
1067 enable_ssl_certificate_check
1074 enable_notify_compatibility
1076 enable_dbus_service_pim
1081 enable_gnome_bluetooth_panel_plugin
1084 with_activesyncd_src
1090 enable_gnome_keyring
1099 with_google_client_id
1100 with_google_client_secret
1101 with_google_client_id_caldav
1102 with_google_client_secret_caldav
1103 with_google_client_id_carddav
1104 with_google_client_secret_carddav
1107 enable_neon_compatibility
1111 enable_dbus_timeout_hack
1113 ac_precious_vars='build_alias
1149 MX_GTK_0_99_1_CFLAGS
1161 WITH_SYNTHESIS_SRC_CFLAGS
1162 WITH_SYNTHESIS_SRC_LIBS
1163 GNOMEBLUETOOTH_CFLAGS
1173 EBOOK_VERSION_CFLAGS
1210 LIBICAL_AVAILABLE_CFLAGS
1211 LIBICAL_AVAILABLE_LIBS'
1214 # Initialize some variables set by options.
1216 ac_init_version=false
1217 ac_unrecognized_opts=
1218 ac_unrecognized_sep=
1219 # The variables have the same names as the options, with
1220 # dashes changed to underlines.
1221 cache_file=/dev/null
1228 program_transform_name=s,x,x,
1236 # Installation directory options.
1237 # These are left unexpanded so users can "make install exec_prefix=/foo"
1238 # and all the variables that are supposed to be based on exec_prefix
1239 # by default will actually change.
1240 # Use braces instead of parens because sh, perl, etc. also accept them.
1241 # (The list follows the same order as the GNU Coding Standards.)
1242 bindir='${exec_prefix}/bin'
1243 sbindir='${exec_prefix}/sbin'
1244 libexecdir='${exec_prefix}/libexec'
1245 datarootdir='${prefix}/share'
1246 datadir='${datarootdir}'
1247 sysconfdir='${prefix}/etc'
1248 sharedstatedir='${prefix}/com'
1249 localstatedir='${prefix}/var'
1250 includedir='${prefix}/include'
1251 oldincludedir='/usr/include'
1252 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1253 infodir='${datarootdir}/info'
1258 libdir='${exec_prefix}/lib'
1259 localedir='${datarootdir}/locale'
1260 mandir='${datarootdir}/man'
1266 # If the previous option needs an argument, assign it.
1267 if test -n "$ac_prev"; then
1268 eval $ac_prev=\$ac_option
1274 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1279 # Accept the important Cygnus configure options, so we can diagnose typos.
1281 case $ac_dashdash$ac_option in
1285 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1287 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1288 bindir=$ac_optarg ;;
1290 -build | --build | --buil | --bui | --bu)
1291 ac_prev=build_alias ;;
1292 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1293 build_alias=$ac_optarg ;;
1295 -cache-file | --cache-file | --cache-fil | --cache-fi \
1296 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1297 ac_prev=cache_file ;;
1298 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1299 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1300 cache_file=$ac_optarg ;;
1302 --config-cache | -C)
1303 cache_file=config.cache ;;
1305 -datadir | --datadir | --datadi | --datad)
1307 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1308 datadir=$ac_optarg ;;
1310 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1311 | --dataroo | --dataro | --datar)
1312 ac_prev=datarootdir ;;
1313 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1314 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1315 datarootdir=$ac_optarg ;;
1317 -disable-* | --disable-*)
1318 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1319 # Reject names that are not valid shell variable names.
1320 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1321 as_fn_error $? "invalid feature name: $ac_useropt"
1322 ac_useropt_orig=$ac_useropt
1323 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1324 case $ac_user_opts in
1326 "enable_$ac_useropt"
1328 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1329 ac_unrecognized_sep=', ';;
1331 eval enable_$ac_useropt=no ;;
1333 -docdir | --docdir | --docdi | --doc | --do)
1335 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1336 docdir=$ac_optarg ;;
1338 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1340 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1341 dvidir=$ac_optarg ;;
1343 -enable-* | --enable-*)
1344 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1345 # Reject names that are not valid shell variable names.
1346 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1347 as_fn_error $? "invalid feature name: $ac_useropt"
1348 ac_useropt_orig=$ac_useropt
1349 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1350 case $ac_user_opts in
1352 "enable_$ac_useropt"
1354 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1355 ac_unrecognized_sep=', ';;
1357 eval enable_$ac_useropt=\$ac_optarg ;;
1359 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1360 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1361 | --exec | --exe | --ex)
1362 ac_prev=exec_prefix ;;
1363 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1364 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1365 | --exec=* | --exe=* | --ex=*)
1366 exec_prefix=$ac_optarg ;;
1368 -gas | --gas | --ga | --g)
1369 # Obsolete; use --with-gas.
1372 -help | --help | --hel | --he | -h)
1373 ac_init_help=long ;;
1374 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1375 ac_init_help=recursive ;;
1376 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1377 ac_init_help=short ;;
1379 -host | --host | --hos | --ho)
1380 ac_prev=host_alias ;;
1381 -host=* | --host=* | --hos=* | --ho=*)
1382 host_alias=$ac_optarg ;;
1384 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1386 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1388 htmldir=$ac_optarg ;;
1390 -includedir | --includedir | --includedi | --included | --include \
1391 | --includ | --inclu | --incl | --inc)
1392 ac_prev=includedir ;;
1393 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1394 | --includ=* | --inclu=* | --incl=* | --inc=*)
1395 includedir=$ac_optarg ;;
1397 -infodir | --infodir | --infodi | --infod | --info | --inf)
1399 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1400 infodir=$ac_optarg ;;
1402 -libdir | --libdir | --libdi | --libd)
1404 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1405 libdir=$ac_optarg ;;
1407 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1408 | --libexe | --libex | --libe)
1409 ac_prev=libexecdir ;;
1410 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1411 | --libexe=* | --libex=* | --libe=*)
1412 libexecdir=$ac_optarg ;;
1414 -localedir | --localedir | --localedi | --localed | --locale)
1415 ac_prev=localedir ;;
1416 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1417 localedir=$ac_optarg ;;
1419 -localstatedir | --localstatedir | --localstatedi | --localstated \
1420 | --localstate | --localstat | --localsta | --localst | --locals)
1421 ac_prev=localstatedir ;;
1422 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1423 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1424 localstatedir=$ac_optarg ;;
1426 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1428 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1429 mandir=$ac_optarg ;;
1431 -nfp | --nfp | --nf)
1432 # Obsolete; use --without-fp.
1435 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1436 | --no-cr | --no-c | -n)
1439 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1440 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1443 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1444 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1445 | --oldin | --oldi | --old | --ol | --o)
1446 ac_prev=oldincludedir ;;
1447 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1448 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1449 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1450 oldincludedir=$ac_optarg ;;
1452 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1454 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1455 prefix=$ac_optarg ;;
1457 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1458 | --program-pre | --program-pr | --program-p)
1459 ac_prev=program_prefix ;;
1460 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1461 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1462 program_prefix=$ac_optarg ;;
1464 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1465 | --program-suf | --program-su | --program-s)
1466 ac_prev=program_suffix ;;
1467 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1468 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1469 program_suffix=$ac_optarg ;;
1471 -program-transform-name | --program-transform-name \
1472 | --program-transform-nam | --program-transform-na \
1473 | --program-transform-n | --program-transform- \
1474 | --program-transform | --program-transfor \
1475 | --program-transfo | --program-transf \
1476 | --program-trans | --program-tran \
1477 | --progr-tra | --program-tr | --program-t)
1478 ac_prev=program_transform_name ;;
1479 -program-transform-name=* | --program-transform-name=* \
1480 | --program-transform-nam=* | --program-transform-na=* \
1481 | --program-transform-n=* | --program-transform-=* \
1482 | --program-transform=* | --program-transfor=* \
1483 | --program-transfo=* | --program-transf=* \
1484 | --program-trans=* | --program-tran=* \
1485 | --progr-tra=* | --program-tr=* | --program-t=*)
1486 program_transform_name=$ac_optarg ;;
1488 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1490 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1491 pdfdir=$ac_optarg ;;
1493 -psdir | --psdir | --psdi | --psd | --ps)
1495 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1498 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1499 | -silent | --silent | --silen | --sile | --sil)
1502 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1504 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1506 sbindir=$ac_optarg ;;
1508 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1509 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1510 | --sharedst | --shareds | --shared | --share | --shar \
1512 ac_prev=sharedstatedir ;;
1513 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1514 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1515 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1517 sharedstatedir=$ac_optarg ;;
1519 -site | --site | --sit)
1521 -site=* | --site=* | --sit=*)
1524 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1526 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1527 srcdir=$ac_optarg ;;
1529 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1530 | --syscon | --sysco | --sysc | --sys | --sy)
1531 ac_prev=sysconfdir ;;
1532 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1533 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1534 sysconfdir=$ac_optarg ;;
1536 -target | --target | --targe | --targ | --tar | --ta | --t)
1537 ac_prev=target_alias ;;
1538 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1539 target_alias=$ac_optarg ;;
1541 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1544 -version | --version | --versio | --versi | --vers | -V)
1545 ac_init_version=: ;;
1548 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1549 # Reject names that are not valid shell variable names.
1550 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1551 as_fn_error $? "invalid package name: $ac_useropt"
1552 ac_useropt_orig=$ac_useropt
1553 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1554 case $ac_user_opts in
1558 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1559 ac_unrecognized_sep=', ';;
1561 eval with_$ac_useropt=\$ac_optarg ;;
1563 -without-* | --without-*)
1564 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
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--without-$ac_useropt_orig"
1575 ac_unrecognized_sep=', ';;
1577 eval with_$ac_useropt=no ;;
1580 # Obsolete; use --with-x.
1583 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1584 | --x-incl | --x-inc | --x-in | --x-i)
1585 ac_prev=x_includes ;;
1586 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1587 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1588 x_includes=$ac_optarg ;;
1590 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1591 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1592 ac_prev=x_libraries ;;
1593 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1594 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1595 x_libraries=$ac_optarg ;;
1597 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1598 Try \`$0 --help' for more information"
1602 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1603 # Reject names that are not valid shell variable names.
1604 case $ac_envvar in #(
1605 '' | [0-9]* | *[!_$as_cr_alnum]* )
1606 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1608 eval $ac_envvar=\$ac_optarg
1609 export $ac_envvar ;;
1612 # FIXME: should be removed in autoconf 3.0.
1613 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1614 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1615 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1616 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1622 if test -n "$ac_prev"; then
1623 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1624 as_fn_error $? "missing argument to $ac_option"
1627 if test -n "$ac_unrecognized_opts"; then
1628 case $enable_option_checking in
1630 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1631 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1635 # Check all directory arguments for consistency.
1636 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1637 datadir sysconfdir sharedstatedir localstatedir includedir \
1638 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1639 libdir localedir mandir
1641 eval ac_val=\$$ac_var
1642 # Remove trailing slashes.
1645 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1646 eval $ac_var=\$ac_val;;
1648 # Be sure to have absolute directory names.
1650 [\\/$]* | ?:[\\/]* ) continue;;
1651 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1653 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1656 # There might be people who depend on the old broken behavior: `$host'
1657 # used to hold the argument of --host etc.
1658 # FIXME: To remove some day.
1661 target=$target_alias
1663 # FIXME: To remove some day.
1664 if test "x$host_alias" != x; then
1665 if test "x$build_alias" = x; then
1666 cross_compiling=maybe
1667 elif test "x$build_alias" != "x$host_alias"; then
1673 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1675 test "$silent" = yes && exec 6>/dev/null
1678 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1679 ac_ls_di=`ls -di .` &&
1680 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1681 as_fn_error $? "working directory cannot be determined"
1682 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1683 as_fn_error $? "pwd does not report name of working directory"
1686 # Find the source files, if location was not specified.
1687 if test -z "$srcdir"; then
1688 ac_srcdir_defaulted=yes
1689 # Try the directory containing this script, then the parent directory.
1690 ac_confdir=`$as_dirname -- "$as_myself" ||
1691 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1692 X"$as_myself" : 'X\(//\)[^/]' \| \
1693 X"$as_myself" : 'X\(//\)$' \| \
1694 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1695 $as_echo X"$as_myself" |
1696 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1714 if test ! -r "$srcdir/$ac_unique_file"; then
1718 ac_srcdir_defaulted=no
1720 if test ! -r "$srcdir/$ac_unique_file"; then
1721 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1722 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1724 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1726 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1728 # When building in place, set srcdir=.
1729 if test "$ac_abs_confdir" = "$ac_pwd"; then
1732 # Remove unnecessary trailing slashes from srcdir.
1733 # Double slashes in file names in object file debugging info
1734 # mess up M-x gdb in Emacs.
1736 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1738 for ac_var in $ac_precious_vars; do
1739 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1740 eval ac_env_${ac_var}_value=\$${ac_var}
1741 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1742 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1746 # Report the --help message.
1748 if test "$ac_init_help" = "long"; then
1749 # Omit some internal or obsolete options to make the list less imposing.
1750 # This message is too long to be a string in the A/UX 3.1 sh.
1752 \`configure' configures syncevolution 1.4.1 to adapt to many kinds of systems.
1754 Usage: $0 [OPTION]... [VAR=VALUE]...
1756 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1757 VAR=VALUE. See below for descriptions of some of the useful variables.
1759 Defaults for the options are specified in brackets.
1762 -h, --help display this help and exit
1763 --help=short display options specific to this package
1764 --help=recursive display the short help of all the included packages
1765 -V, --version display version information and exit
1766 -q, --quiet, --silent do not print \`checking ...' messages
1767 --cache-file=FILE cache test results in FILE [disabled]
1768 -C, --config-cache alias for \`--cache-file=config.cache'
1769 -n, --no-create do not create output files
1770 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1772 Installation directories:
1773 --prefix=PREFIX install architecture-independent files in PREFIX
1774 [$ac_default_prefix]
1775 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1778 By default, \`make install' will install all the files in
1779 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1780 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1781 for instance \`--prefix=\$HOME'.
1783 For better control, use the options below.
1785 Fine tuning of the installation directories:
1786 --bindir=DIR user executables [EPREFIX/bin]
1787 --sbindir=DIR system admin executables [EPREFIX/sbin]
1788 --libexecdir=DIR program executables [EPREFIX/libexec]
1789 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1790 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1791 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1792 --libdir=DIR object code libraries [EPREFIX/lib]
1793 --includedir=DIR C header files [PREFIX/include]
1794 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1795 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1796 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1797 --infodir=DIR info documentation [DATAROOTDIR/info]
1798 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1799 --mandir=DIR man documentation [DATAROOTDIR/man]
1800 --docdir=DIR documentation root [DATAROOTDIR/doc/syncevolution]
1801 --htmldir=DIR html documentation [DOCDIR]
1802 --dvidir=DIR dvi documentation [DOCDIR]
1803 --pdfdir=DIR pdf documentation [DOCDIR]
1804 --psdir=DIR ps documentation [DOCDIR]
1810 --program-prefix=PREFIX prepend PREFIX to installed program names
1811 --program-suffix=SUFFIX append SUFFIX to installed program names
1812 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1815 --build=BUILD configure for building on BUILD [guessed]
1816 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1820 if test -n "$ac_init_help"; then
1821 case $ac_init_help in
1822 short | recursive ) echo "Configuration of syncevolution 1.4.1:";;
1827 --disable-option-checking ignore unrecognized --enable/--with options
1828 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1829 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1830 --disable-release-mode Controls whether resulting binary is for end-users
1831 or testers/developers. For example, stable releases
1832 automatically migrate on-disk files without asking,
1833 whereas other releases ask before making downgrades
1834 impossible (or difficult). Default in this source
1835 code is "stable release: yes"
1836 --enable-silent-rules less verbose build output (undo: `make V=1')
1837 --disable-silent-rules verbose build output (undo: `make V=0')
1838 --disable-dependency-tracking speeds up one-time build
1839 --enable-dependency-tracking do not reject slow dependency extractors
1840 --disable-maintainer-mode disable make rules and dependencies not useful
1841 (and sometimes confusing) to the casual installer
1842 --enable-shared[=PKGS] build shared libraries [default=yes]
1843 --enable-static[=PKGS] build static libraries [default=yes]
1844 --enable-fast-install[=PKGS]
1845 optimize for fast installation [default=yes]
1846 --disable-libtool-lock avoid locking (might break parallel builds)
1847 --enable-warnings=[min|max|fatal|no]
1848 control compiler pickyness [min]
1849 --enable-shared build backends as dynamically loadable modules
1850 --enable-static build backends also as static libraries
1851 --enable-unit-tests enables tests embedded in the source code of the
1852 library (changes content of executable)
1853 --enable-integration-tests
1854 enables tests outside of the library (can be used
1855 together with normal builds of the library)
1856 --enable-static-cxx build executables which contain libstdc++ instead of
1857 requiring suitable libstdc++.so to run
1858 --enable-evolution-compatibility
1859 build executables which only call Evolution via
1860 dlopen/dlsym: this avoids all hard dependencies on
1861 EDS shared objects, but might lead to crashes when
1862 their ABI changes; use
1863 --enable-evolution-compatibility=ical to enable a
1864 weaker mode where linking is done normally and only
1865 libical.so.0/1 enum differences are worked around
1866 (allows patching resulting executables to use either
1868 --disable-internal-icaltz
1869 libical 1.0 updated its system zone data parsing
1870 code so that it produces VTIMEZONEs which are
1871 unsuitable for syncing. SyncEvolution ships with a
1872 copy of the older code and uses it by default.
1873 --enable-developer-mode The dynamic loadble backend libraries is loaded from
1874 current build directory instead of the standard
1876 --enable-maemo enables some hacks which work around problems with
1877 the Maemo 2.0 until at least 3.0 EDS-Dbus
1878 --enable-libcurl enable libcurl as transport layer
1879 --enable-libsoup enable libsoup as transport layer
1880 --enable-dlt enable logging via GENIVI Diagnostic Log and Trace
1882 --enable-bluetooth enable bluetooth transport support
1883 --disable-ssl-certificate-check
1884 Disable SSL certificate checking in all server
1885 *templates*. Users can still choose to enable or
1886 disable it in their configuration. This is necessary
1887 on platforms where the transport library has
1888 problems verifying the server's certificate (libsoup
1890 http://bugzilla.moblin.org/show_bug.cgi?id=4551)
1891 --enable-gtk=major version
1892 Selects the gtk+ version ("2" or "3") to use for the
1893 UI. If this option is used, --enable-gui should be
1894 used as well. "3" is the default option if
1895 available, otherwise "2".
1896 --enable-gui=gui type enables building the GTK+ UI that uses the
1897 SyncEvolution DBus API. Options: gtk, moblin, all
1898 (builds sync-ui-gtk and sync-ui-moblin) "gtk" is the
1899 default for --enable-gui without type. No GUI is
1900 built when --enable-gui is not used.
1901 --enable-core enables building the core SyncEvolution (library,
1903 --enable-dbus-service=args
1904 Enables building the dbus service executable and all
1905 related features (the DBus wrapper library, command
1906 line usage of server, etc). The optional arguments
1907 are syncevo-dbus-server command line arguments that
1908 are used when auto-starting via D-Bus or .desktop
1909 file. By default, the daemon logs to syslog. This
1910 can be changed via command line arguments.
1911 --enable-notify send notifications for automatic sync events, using
1913 --enable-notify-compatibility
1914 increase compatibility with binary libnotify
1915 installations by loading libnotify.so.1..4
1916 dynamically instead of linking against it
1917 --enable-mlite send notifications for automatic sync events, using
1918 mlite (off by default)
1919 --enable-dbus-service-pim=<locale>
1920 Enable implementation of org._01.pim D-Bus APIs
1921 (depends on libfolks), using
1922 src/dbus/server/pim/locale-factory-<locale>.cpp to
1923 implement sorting and searching. The default is
1924 <locale>=boost, which uses boost::locale.
1925 --disable-nls do not use Native Language Support
1926 --enable-gnome-bluetooth-panel-plugin
1927 GNOME Bluetooth panel plugin adding a "sync" button
1928 for paired devices (off by default)
1929 --enable-doc generate backend and DBus API documentation
1930 --enable-activesync enable access to servers via ActiveSync (default
1932 --enable-addressbook enable access to Mac OS X address book (default off)
1933 --disable-akonadi disable access to Akonadi (default is to use it if
1934 akonadi.pc is found)
1935 --disable-ebook disable access to Evolution addressbooks (must be
1936 used to compile without it)
1937 --disable-ecal disable access to Evolution calendars and tasks
1938 (must be used to compile without it)
1939 --disable-file disable file-based backend which stores items in
1940 separate files in a fixed directory (default on)
1941 --enable-gnome-keyring enables or disables support for the GNOME keyring;
1942 default is on if development files are available
1943 --disable-goa enables or disables support for the GNOME Online
1944 Account single-sign-on system; default is on
1945 --enable-kcalextended enable support for Maemo's KCalExtended storage
1946 --enable-kwallet enable access to KWallet
1947 --enable-maemocal enable access to PIM data stored in Maemo 5 calendar
1948 application (default off)
1949 --enable-pbap enable Phone Book Access Protocol (PBAP) based
1950 backend which provides one-way synchronization
1952 --enable-qtcontacts enable support for QtMobility's QtContacts storage
1953 --enable-gsso enables or disables support for the gSSO
1954 single-sign-on system; default is on if development
1956 --enable-uoa enables or disables support for the UOA
1957 single-sign-on system; default is on if development
1959 --enable-sqlite enable access to PIM data stored in SQLite files
1960 (experimental, default off)
1961 --enable-dav enable WebDAV based backends (CalDAV) (default off)
1962 --enable-neon-compatibility
1963 increase compatibility with binary libneon
1964 installations by loading libneon[-gnutls].27.so
1965 dynamically instead of linking against it
1966 --enable-xmlrpc enable XMLRPC-based backend which stores items on a
1967 central web service (default off)
1968 --enable-qt-dbus build Qt bindings for D-Bus
1969 --enable-dbus-timeout-hack
1970 Enables code which overrides the default timeout in
1971 dbus_connection_send_with_reply() so that the method
1972 call never times out. Needed for libecal/ebook >=
1973 2.30, so enabled by default if either of these is
1977 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1978 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1979 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1981 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1982 --with-sysroot=DIR Search for dependent libraries within DIR
1983 (or the compiler's sysroot if not specified).
1984 --with-boost[=ARG] use Boost library from a standard location
1985 (ARG=yes), from the specified location (ARG=<path>),
1986 or disable it (ARG=no) [ARG=yes]
1987 --with-boost-libdir=LIB_DIR
1988 Force given directory for boost libraries. Note that
1989 this will override library path detection, so use
1990 this parameter only if default library detection
1991 fails and you know exactly where your boost
1992 libraries are located.
1993 --with-synthesis-src=<base directory|svn URL|git URL>
1994 Specifies location of the Synthesis root directory.
1995 Use this when the Synthesis library is to be
1996 compiled as part of the SyncEvolution compilation.
1997 In release versions of SyncEvolution, a copy of the
1998 Synthesis code is bundled under 'src/synthesis' and
1999 compiled unless something else is specified.
2000 --with-synthesis-src can be given a path to sources
2001 checked out already, a Subversion repository URL or
2002 a git repository URL. When given a repository URL,
2003 then the configure script will checkout the sources
2004 into 'src/synthesis-workdir' or update that working
2005 copy if the directory already exists. Default:
2006 bundled source in src/synthesis (in released
2007 SyncEvolution sources), otherwise.
2008 --with-syncml-engines=client|server|both
2009 Determines which kind of support for SyncML is
2010 compiled and linked into SyncEvolution. Default is
2011 both. Currently has no effect.
2012 --with-synthesis-username=<svn username>
2013 username to use when checking out
2014 --with-synthesis-src sources from Subversion,
2016 --with-synthesis-revision=<git tag/branch/hash or Subversion revision>
2017 Identifies which source revision to use from
2018 --with-synthesis-src repository, empty string stands
2019 for latest. Default for default --synthesis-src:
2021 --with-ca-certificates=<colon separated list of files>
2022 Specifies location of one or more CA certificate
2023 files. This sets the default value for the
2024 SSLServerCertificates option. Default: empty when
2025 using libcurl (because it has its own default), a
2026 list of paths known to work for Debian and Red Hat
2028 --with-dlt-syncevolution=SYNS,SYNH,SYNL
2029 controls the application IDs used by
2030 syncevo-dbus-server, syncevo-dbus-helper and
2032 --with-gio-gdbus enables use of GIO's GDBus instead of the in-tree,
2034 --with-boost-locale[=special-lib]
2035 use the Locale library from boost - it is possible
2036 to specify a certain library for the linker e.g.
2037 --with-boost-locale=boost_locale-gcc-mt
2038 --with-rst2man=<path to reStructuredText to man converter>
2039 Specifies an explicit path to the utility if not
2040 found in PATH. An explicit --without-rst2man or not
2041 having it installed turn off building of man pages.
2042 --with-rst2html=<path to reStructuredText to HTML converter>
2043 Specifies an explicit path to the utility if not
2044 found in PATH. An explicit --without-rst2html or not
2045 having it installed turn off building of README in
2047 --with-activesyncd-src=<base directory>
2048 Specifies location of the activesyncd source root
2049 directory. Use this when activesyncd is to be
2050 compiled as part of the SyncEvolution compilation.
2051 --with-google-client-id=...
2052 OAuth2 client ID for google.provider
2053 --with-google-client-secret=...
2054 OAuth2 client secret for google.provider
2055 --with-google-client-id-caldav=...
2056 OAuth2 client ID for google-caldav.service
2057 --with-google-client-secret-caldav=...
2058 OAuth2 client secret for google-caldav.service
2059 --with-google-client-id-carddav=...
2060 OAuth2 client ID for google-carddav.service
2061 --with-google-client-secret-carddav=...
2062 OAuth2 client secret for google-carddav.service
2063 --with-qt Path to Qt [Look in PATH and /usr/local/Trolltech]
2065 Some influential environment variables:
2066 CC C compiler command
2067 CFLAGS C compiler flags
2068 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2069 nonstandard directory <lib dir>
2070 LIBS libraries to pass to the linker, e.g. -l<library>
2071 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2072 you have headers in a nonstandard directory <include dir>
2074 CXX C++ compiler command
2075 CXXFLAGS C++ compiler flags
2076 CXXCPP C++ preprocessor
2077 PKG_CONFIG path to pkg-config utility
2079 directories to add to pkg-config's search path
2081 path overriding pkg-config's built-in search path
2083 C compiler flags for LIBSOUP, overriding pkg-config
2085 linker flags for LIBSOUP, overriding pkg-config
2087 C compiler flags for LIBOPENOBEX, overriding pkg-config
2089 linker flags for LIBOPENOBEX, overriding pkg-config
2091 C compiler flags for BLUEZ, overriding pkg-config
2092 BLUEZ_LIBS linker flags for BLUEZ, overriding pkg-config
2093 DLT_CFLAGS C compiler flags for DLT, overriding pkg-config
2094 DLT_LIBS linker flags for DLT, overriding pkg-config
2095 DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
2096 DBUS_LIBS linker flags for DBUS, overriding pkg-config
2098 C compiler flags for LIBNOTIFY, overriding pkg-config
2100 linker flags for LIBNOTIFY, overriding pkg-config
2102 C compiler flags for MLITE, overriding pkg-config
2103 MLITE_LIBS linker flags for MLITE, overriding pkg-config
2105 C compiler flags for FOLKS, overriding pkg-config
2106 FOLKS_LIBS linker flags for FOLKS, overriding pkg-config
2107 ICU_CFLAGS C compiler flags for ICU, overriding pkg-config
2108 ICU_LIBS linker flags for ICU, overriding pkg-config
2110 C compiler flags for DBUS_GLIB, overriding pkg-config
2112 linker flags for DBUS_GLIB, overriding pkg-config
2113 MX_GTK_0_99_1_CFLAGS
2114 C compiler flags for MX_GTK_0_99_1, overriding pkg-config
2116 linker flags for MX_GTK_0_99_1, overriding pkg-config
2118 C compiler flags for UNIQUE, overriding pkg-config
2119 UNIQUE_LIBS linker flags for UNIQUE, overriding pkg-config
2121 C compiler flags for GTK_2_18, overriding pkg-config
2123 linker flags for GTK_2_18, overriding pkg-config
2124 GUI_CFLAGS C compiler flags for GUI, overriding pkg-config
2125 GUI_LIBS linker flags for GUI, overriding pkg-config
2127 C compiler flags for PCRECPP, overriding pkg-config
2129 linker flags for PCRECPP, overriding pkg-config
2131 C compiler flags for SYNTHESIS, overriding pkg-config
2133 linker flags for SYNTHESIS, overriding pkg-config
2134 WITH_SYNTHESIS_SRC_CFLAGS
2135 C compiler flags for WITH_SYNTHESIS_SRC, overriding pkg-config
2136 WITH_SYNTHESIS_SRC_LIBS
2137 linker flags for WITH_SYNTHESIS_SRC, overriding pkg-config
2138 GNOMEBLUETOOTH_CFLAGS
2139 C compiler flags for GNOMEBLUETOOTH, overriding pkg-config
2141 linker flags for GNOMEBLUETOOTH, overriding pkg-config
2143 C compiler flags for EASCLIENT, overriding pkg-config
2145 linker flags for EASCLIENT, overriding pkg-config
2147 C compiler flags for EPACKAGE, overriding pkg-config
2149 linker flags for EPACKAGE, overriding pkg-config
2150 ECAL_CFLAGS C compiler flags for ECAL, overriding pkg-config
2151 ECAL_LIBS linker flags for ECAL, overriding pkg-config
2153 C compiler flags for EBOOK, overriding pkg-config
2154 EBOOK_LIBS linker flags for EBOOK, overriding pkg-config
2155 EBOOK_VERSION_CFLAGS
2156 C compiler flags for EBOOK_VERSION, overriding pkg-config
2158 linker flags for EBOOK_VERSION, overriding pkg-config
2160 C compiler flags for EDS_VERSION, overriding pkg-config
2162 linker flags for EDS_VERSION, overriding pkg-config
2164 C compiler flags for KEYRING, overriding pkg-config
2166 linker flags for KEYRING, overriding pkg-config
2168 C compiler flags for KCALEXTENDED, overriding pkg-config
2170 linker flags for KCALEXTENDED, overriding pkg-config
2172 C compiler flags for MCALB, overriding pkg-config
2173 MCALB_LIBS linker flags for MCALB, overriding pkg-config
2174 GSSO_CFLAGS C compiler flags for GSSO, overriding pkg-config
2175 GSSO_LIBS linker flags for GSSO, overriding pkg-config
2176 UOA_CFLAGS C compiler flags for UOA, overriding pkg-config
2177 UOA_LIBS linker flags for UOA, overriding pkg-config
2179 C compiler flags for SQLITE, overriding pkg-config
2180 SQLITE_LIBS linker flags for SQLITE, overriding pkg-config
2181 NEON_CFLAGS C compiler flags for NEON, overriding pkg-config
2182 NEON_LIBS linker flags for NEON, overriding pkg-config
2183 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
2184 GLIB_LIBS linker flags for GLIB, overriding pkg-config
2186 C compiler flags for GTHREAD, overriding pkg-config
2188 linker flags for GTHREAD, overriding pkg-config
2190 C compiler flags for GOBJECT, overriding pkg-config
2192 linker flags for GOBJECT, overriding pkg-config
2193 GIO_CFLAGS C compiler flags for GIO, overriding pkg-config
2194 GIO_LIBS linker flags for GIO, overriding pkg-config
2196 C compiler flags for LIBICAL, overriding pkg-config
2198 linker flags for LIBICAL, overriding pkg-config
2199 QT_PATH Path to the Qt installation
2200 QMAKE Qt Makefile generator command
2201 MOC Qt Meta Object Compiler command
2202 UIC Qt User Interface Compiler command
2203 RCC Qt Resource Compiler command
2205 C compiler flags for GLIB216, overriding pkg-config
2207 linker flags for GLIB216, overriding pkg-config
2208 NSS_CFLAGS C compiler flags for NSS, overriding pkg-config
2209 NSS_LIBS linker flags for NSS, overriding pkg-config
2210 LIBICAL_AVAILABLE_CFLAGS
2211 C compiler flags for LIBICAL_AVAILABLE, overriding pkg-config
2212 LIBICAL_AVAILABLE_LIBS
2213 linker flags for LIBICAL_AVAILABLE, overriding pkg-config
2215 Use these variables to override the choices made by `configure' or to help
2216 it to find libraries and programs with nonstandard names/locations.
2218 Report bugs to the package provider.
2223 if test "$ac_init_help" = "recursive"; then
2224 # If there are subdirs, report their specific --help.
2225 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2226 test -d "$ac_dir" ||
2227 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2232 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2234 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2235 # A ".." for each directory in $ac_dir_suffix.
2236 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2237 case $ac_top_builddir_sub in
2238 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2239 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2242 ac_abs_top_builddir=$ac_pwd
2243 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2244 # for backward compatibility:
2245 ac_top_builddir=$ac_top_build_prefix
2248 .) # We are building in place.
2250 ac_top_srcdir=$ac_top_builddir_sub
2251 ac_abs_top_srcdir=$ac_pwd ;;
2252 [\\/]* | ?:[\\/]* ) # Absolute name.
2253 ac_srcdir=$srcdir$ac_dir_suffix;
2254 ac_top_srcdir=$srcdir
2255 ac_abs_top_srcdir=$srcdir ;;
2257 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2258 ac_top_srcdir=$ac_top_build_prefix$srcdir
2259 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2261 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2263 cd "$ac_dir" || { ac_status=$?; continue; }
2264 # Check for guested configure.
2265 if test -f "$ac_srcdir/configure.gnu"; then
2267 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2268 elif test -f "$ac_srcdir/configure"; then
2270 $SHELL "$ac_srcdir/configure" --help=recursive
2272 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2274 cd "$ac_pwd" || { ac_status=$?; break; }
2278 test -n "$ac_init_help" && exit $ac_status
2279 if $ac_init_version; then
2281 syncevolution configure 1.4.1
2282 generated by GNU Autoconf 2.69
2284 Copyright (C) 2012 Free Software Foundation, Inc.
2285 This configure script is free software; the Free Software Foundation
2286 gives unlimited permission to copy, distribute and modify it.
2291 ## ------------------------ ##
2292 ## Autoconf initialization. ##
2293 ## ------------------------ ##
2295 # ac_fn_c_try_compile LINENO
2296 # --------------------------
2297 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2298 ac_fn_c_try_compile ()
2300 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2301 rm -f conftest.$ac_objext
2302 if { { ac_try="$ac_compile"
2304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2305 *) ac_try_echo=$ac_try;;
2307 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2308 $as_echo "$ac_try_echo"; } >&5
2309 (eval "$ac_compile") 2>conftest.err
2311 if test -s conftest.err; then
2312 grep -v '^ *+' conftest.err >conftest.er1
2313 cat conftest.er1 >&5
2314 mv -f conftest.er1 conftest.err
2316 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2317 test $ac_status = 0; } && {
2318 test -z "$ac_c_werror_flag" ||
2319 test ! -s conftest.err
2320 } && test -s conftest.$ac_objext; then :
2323 $as_echo "$as_me: failed program was:" >&5
2324 sed 's/^/| /' conftest.$ac_ext >&5
2328 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2329 as_fn_set_status $ac_retval
2331 } # ac_fn_c_try_compile
2333 # ac_fn_c_try_link LINENO
2334 # -----------------------
2335 # Try to link conftest.$ac_ext, and return whether this succeeded.
2338 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2339 rm -f conftest.$ac_objext conftest$ac_exeext
2340 if { { ac_try="$ac_link"
2342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2343 *) ac_try_echo=$ac_try;;
2345 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2346 $as_echo "$ac_try_echo"; } >&5
2347 (eval "$ac_link") 2>conftest.err
2349 if test -s conftest.err; then
2350 grep -v '^ *+' conftest.err >conftest.er1
2351 cat conftest.er1 >&5
2352 mv -f conftest.er1 conftest.err
2354 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2355 test $ac_status = 0; } && {
2356 test -z "$ac_c_werror_flag" ||
2357 test ! -s conftest.err
2358 } && test -s conftest$ac_exeext && {
2359 test "$cross_compiling" = yes ||
2360 test -x conftest$ac_exeext
2364 $as_echo "$as_me: failed program was:" >&5
2365 sed 's/^/| /' conftest.$ac_ext >&5
2369 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2370 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2371 # interfere with the next link command; also delete a directory that is
2372 # left behind by Apple's compiler. We do this before executing the actions.
2373 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2374 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2375 as_fn_set_status $ac_retval
2377 } # ac_fn_c_try_link
2379 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2380 # -------------------------------------------------------
2381 # Tests whether HEADER exists and can be compiled using the include files in
2382 # INCLUDES, setting the cache variable VAR accordingly.
2383 ac_fn_c_check_header_compile ()
2385 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2387 $as_echo_n "checking for $2... " >&6; }
2388 if eval \${$3+:} false; then :
2389 $as_echo_n "(cached) " >&6
2391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2392 /* end confdefs.h. */
2396 if ac_fn_c_try_compile "$LINENO"; then :
2401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2405 $as_echo "$ac_res" >&6; }
2406 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2408 } # ac_fn_c_check_header_compile
2410 # ac_fn_c_try_cpp LINENO
2411 # ----------------------
2412 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2415 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2416 if { { ac_try="$ac_cpp conftest.$ac_ext"
2418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2419 *) ac_try_echo=$ac_try;;
2421 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2422 $as_echo "$ac_try_echo"; } >&5
2423 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2425 if test -s conftest.err; then
2426 grep -v '^ *+' conftest.err >conftest.er1
2427 cat conftest.er1 >&5
2428 mv -f conftest.er1 conftest.err
2430 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2431 test $ac_status = 0; } > conftest.i && {
2432 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2433 test ! -s conftest.err
2437 $as_echo "$as_me: failed program was:" >&5
2438 sed 's/^/| /' conftest.$ac_ext >&5
2442 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2443 as_fn_set_status $ac_retval
2447 # ac_fn_c_try_run LINENO
2448 # ----------------------
2449 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2450 # that executables *can* be run.
2453 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2454 if { { ac_try="$ac_link"
2456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2457 *) ac_try_echo=$ac_try;;
2459 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2460 $as_echo "$ac_try_echo"; } >&5
2461 (eval "$ac_link") 2>&5
2463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2464 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2465 { { case "(($ac_try" in
2466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2467 *) ac_try_echo=$ac_try;;
2469 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2470 $as_echo "$ac_try_echo"; } >&5
2471 (eval "$ac_try") 2>&5
2473 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2474 test $ac_status = 0; }; }; then :
2477 $as_echo "$as_me: program exited with status $ac_status" >&5
2478 $as_echo "$as_me: failed program was:" >&5
2479 sed 's/^/| /' conftest.$ac_ext >&5
2481 ac_retval=$ac_status
2483 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2484 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2485 as_fn_set_status $ac_retval
2489 # ac_fn_c_check_func LINENO FUNC VAR
2490 # ----------------------------------
2491 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2492 ac_fn_c_check_func ()
2494 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2496 $as_echo_n "checking for $2... " >&6; }
2497 if eval \${$3+:} false; then :
2498 $as_echo_n "(cached) " >&6
2500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2501 /* end confdefs.h. */
2502 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2503 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2504 #define $2 innocuous_$2
2506 /* System header to define __stub macros and hopefully few prototypes,
2507 which can conflict with char $2 (); below.
2508 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2509 <limits.h> exists even on freestanding compilers. */
2512 # include <limits.h>
2514 # include <assert.h>
2519 /* Override any GCC internal prototype to avoid an error.
2520 Use char because int might match the return type of a GCC
2521 builtin and then its argument prototype would still apply. */
2526 /* The GNU C library defines this for functions which it implements
2527 to always fail with ENOSYS. Some functions are actually named
2528 something starting with __ and the normal name is an alias. */
2529 #if defined __stub_$2 || defined __stub___$2
2541 if ac_fn_c_try_link "$LINENO"; then :
2546 rm -f core conftest.err conftest.$ac_objext \
2547 conftest$ac_exeext conftest.$ac_ext
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2551 $as_echo "$ac_res" >&6; }
2552 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2554 } # ac_fn_c_check_func
2556 # ac_fn_cxx_try_compile LINENO
2557 # ----------------------------
2558 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2559 ac_fn_cxx_try_compile ()
2561 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2562 rm -f conftest.$ac_objext
2563 if { { ac_try="$ac_compile"
2565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2566 *) ac_try_echo=$ac_try;;
2568 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2569 $as_echo "$ac_try_echo"; } >&5
2570 (eval "$ac_compile") 2>conftest.err
2572 if test -s conftest.err; then
2573 grep -v '^ *+' conftest.err >conftest.er1
2574 cat conftest.er1 >&5
2575 mv -f conftest.er1 conftest.err
2577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2578 test $ac_status = 0; } && {
2579 test -z "$ac_cxx_werror_flag" ||
2580 test ! -s conftest.err
2581 } && test -s conftest.$ac_objext; then :
2584 $as_echo "$as_me: failed program was:" >&5
2585 sed 's/^/| /' conftest.$ac_ext >&5
2589 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2590 as_fn_set_status $ac_retval
2592 } # ac_fn_cxx_try_compile
2594 # ac_fn_cxx_try_cpp LINENO
2595 # ------------------------
2596 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2597 ac_fn_cxx_try_cpp ()
2599 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2600 if { { ac_try="$ac_cpp conftest.$ac_ext"
2602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2603 *) ac_try_echo=$ac_try;;
2605 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2606 $as_echo "$ac_try_echo"; } >&5
2607 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2609 if test -s conftest.err; then
2610 grep -v '^ *+' conftest.err >conftest.er1
2611 cat conftest.er1 >&5
2612 mv -f conftest.er1 conftest.err
2614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2615 test $ac_status = 0; } > conftest.i && {
2616 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2617 test ! -s conftest.err
2621 $as_echo "$as_me: failed program was:" >&5
2622 sed 's/^/| /' conftest.$ac_ext >&5
2626 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2627 as_fn_set_status $ac_retval
2629 } # ac_fn_cxx_try_cpp
2631 # ac_fn_cxx_try_link LINENO
2632 # -------------------------
2633 # Try to link conftest.$ac_ext, and return whether this succeeded.
2634 ac_fn_cxx_try_link ()
2636 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2637 rm -f conftest.$ac_objext conftest$ac_exeext
2638 if { { ac_try="$ac_link"
2640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2641 *) ac_try_echo=$ac_try;;
2643 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2644 $as_echo "$ac_try_echo"; } >&5
2645 (eval "$ac_link") 2>conftest.err
2647 if test -s conftest.err; then
2648 grep -v '^ *+' conftest.err >conftest.er1
2649 cat conftest.er1 >&5
2650 mv -f conftest.er1 conftest.err
2652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2653 test $ac_status = 0; } && {
2654 test -z "$ac_cxx_werror_flag" ||
2655 test ! -s conftest.err
2656 } && test -s conftest$ac_exeext && {
2657 test "$cross_compiling" = yes ||
2658 test -x conftest$ac_exeext
2662 $as_echo "$as_me: failed program was:" >&5
2663 sed 's/^/| /' conftest.$ac_ext >&5
2667 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2668 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2669 # interfere with the next link command; also delete a directory that is
2670 # left behind by Apple's compiler. We do this before executing the actions.
2671 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2672 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2673 as_fn_set_status $ac_retval
2675 } # ac_fn_cxx_try_link
2677 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2678 # -------------------------------------------------------
2679 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2680 # the include files in INCLUDES and setting the cache variable VAR
2682 ac_fn_c_check_header_mongrel ()
2684 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2685 if eval \${$3+:} false; then :
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2687 $as_echo_n "checking for $2... " >&6; }
2688 if eval \${$3+:} false; then :
2689 $as_echo_n "(cached) " >&6
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2693 $as_echo "$ac_res" >&6; }
2695 # Is the header compilable?
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2697 $as_echo_n "checking $2 usability... " >&6; }
2698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2699 /* end confdefs.h. */
2703 if ac_fn_c_try_compile "$LINENO"; then :
2704 ac_header_compiler=yes
2706 ac_header_compiler=no
2708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2710 $as_echo "$ac_header_compiler" >&6; }
2712 # Is the header present?
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2714 $as_echo_n "checking $2 presence... " >&6; }
2715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2716 /* end confdefs.h. */
2719 if ac_fn_c_try_cpp "$LINENO"; then :
2720 ac_header_preproc=yes
2722 ac_header_preproc=no
2724 rm -f conftest.err conftest.i conftest.$ac_ext
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2726 $as_echo "$ac_header_preproc" >&6; }
2728 # So? What about this header?
2729 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2732 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2734 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2738 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2740 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2742 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2744 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2746 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2750 $as_echo_n "checking for $2... " >&6; }
2751 if eval \${$3+:} false; then :
2752 $as_echo_n "(cached) " >&6
2754 eval "$3=\$ac_header_compiler"
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2758 $as_echo "$ac_res" >&6; }
2760 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2762 } # ac_fn_c_check_header_mongrel
2764 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2765 # ---------------------------------------------------------
2766 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2767 # the include files in INCLUDES and setting the cache variable VAR
2769 ac_fn_cxx_check_header_mongrel ()
2771 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2772 if eval \${$3+:} false; then :
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2774 $as_echo_n "checking for $2... " >&6; }
2775 if eval \${$3+:} false; then :
2776 $as_echo_n "(cached) " >&6
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2780 $as_echo "$ac_res" >&6; }
2782 # Is the header compilable?
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2784 $as_echo_n "checking $2 usability... " >&6; }
2785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2786 /* end confdefs.h. */
2790 if ac_fn_cxx_try_compile "$LINENO"; then :
2791 ac_header_compiler=yes
2793 ac_header_compiler=no
2795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2797 $as_echo "$ac_header_compiler" >&6; }
2799 # Is the header present?
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2801 $as_echo_n "checking $2 presence... " >&6; }
2802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2803 /* end confdefs.h. */
2806 if ac_fn_cxx_try_cpp "$LINENO"; then :
2807 ac_header_preproc=yes
2809 ac_header_preproc=no
2811 rm -f conftest.err conftest.i conftest.$ac_ext
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2813 $as_echo "$ac_header_preproc" >&6; }
2815 # So? What about this header?
2816 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2819 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2821 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2825 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2827 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2829 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2831 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2833 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2837 $as_echo_n "checking for $2... " >&6; }
2838 if eval \${$3+:} false; then :
2839 $as_echo_n "(cached) " >&6
2841 eval "$3=\$ac_header_compiler"
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2845 $as_echo "$ac_res" >&6; }
2847 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2849 } # ac_fn_cxx_check_header_mongrel
2851 # ac_fn_cxx_check_func LINENO FUNC VAR
2852 # ------------------------------------
2853 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2854 ac_fn_cxx_check_func ()
2856 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2858 $as_echo_n "checking for $2... " >&6; }
2859 if eval \${$3+:} false; then :
2860 $as_echo_n "(cached) " >&6
2862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2863 /* end confdefs.h. */
2864 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2865 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2866 #define $2 innocuous_$2
2868 /* System header to define __stub macros and hopefully few prototypes,
2869 which can conflict with char $2 (); below.
2870 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2871 <limits.h> exists even on freestanding compilers. */
2874 # include <limits.h>
2876 # include <assert.h>
2881 /* Override any GCC internal prototype to avoid an error.
2882 Use char because int might match the return type of a GCC
2883 builtin and then its argument prototype would still apply. */
2888 /* The GNU C library defines this for functions which it implements
2889 to always fail with ENOSYS. Some functions are actually named
2890 something starting with __ and the normal name is an alias. */
2891 #if defined __stub_$2 || defined __stub___$2
2903 if ac_fn_cxx_try_link "$LINENO"; then :
2908 rm -f core conftest.err conftest.$ac_objext \
2909 conftest$ac_exeext conftest.$ac_ext
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2913 $as_echo "$ac_res" >&6; }
2914 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2916 } # ac_fn_cxx_check_func
2917 cat >config.log <<_ACEOF
2918 This file contains any messages produced by compilers while
2919 running configure, to aid debugging if configure makes a mistake.
2921 It was created by syncevolution $as_me 1.4.1, which was
2922 generated by GNU Autoconf 2.69. Invocation command line was
2934 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2935 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2936 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2937 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2938 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2940 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2941 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2943 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2944 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2945 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2946 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2947 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2948 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2949 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2957 test -z "$as_dir" && as_dir=.
2958 $as_echo "PATH: $as_dir"
2974 # Keep a trace of the command line.
2975 # Strip out --no-create and --no-recursion so they do not pile up.
2976 # Strip out --silent because we don't want to record it for future runs.
2977 # Also quote any args containing shell meta-characters.
2978 # Make two passes to allow for proper duplicate-argument suppression.
2982 ac_must_keep_next=false
2988 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2989 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2990 | -silent | --silent | --silen | --sile | --sil)
2993 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2996 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2998 as_fn_append ac_configure_args1 " '$ac_arg'"
2999 if test $ac_must_keep_next = true; then
3000 ac_must_keep_next=false # Got value, back to normal.
3003 *=* | --config-cache | -C | -disable-* | --disable-* \
3004 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3005 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3006 | -with-* | --with-* | -without-* | --without-* | --x)
3007 case "$ac_configure_args0 " in
3008 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3011 -* ) ac_must_keep_next=true ;;
3014 as_fn_append ac_configure_args " '$ac_arg'"
3019 { ac_configure_args0=; unset ac_configure_args0;}
3020 { ac_configure_args1=; unset ac_configure_args1;}
3022 # When interrupted or exit'd, cleanup temporary files, and complete
3023 # config.log. We remove comments because anyway the quotes in there
3024 # would cause problems or look ugly.
3025 # WARNING: Use '\'' to represent an apostrophe within the trap.
3026 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3027 trap 'exit_status=$?
3028 # Save into config.log some information that might help in debugging.
3032 $as_echo "## ---------------- ##
3033 ## Cache variables. ##
3034 ## ---------------- ##"
3036 # The following way of writing the cache mishandles newlines in values,
3038 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3039 eval ac_val=\$$ac_var
3043 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3044 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3047 _ | IFS | as_nl) ;; #(
3048 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3049 *) { eval $ac_var=; unset $ac_var;} ;;
3054 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3055 *${as_nl}ac_space=\ *)
3057 "s/'\''/'\''\\\\'\'''\''/g;
3058 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3061 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3068 $as_echo "## ----------------- ##
3069 ## Output variables. ##
3070 ## ----------------- ##"
3072 for ac_var in $ac_subst_vars
3074 eval ac_val=\$$ac_var
3076 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3078 $as_echo "$ac_var='\''$ac_val'\''"
3082 if test -n "$ac_subst_files"; then
3083 $as_echo "## ------------------- ##
3084 ## File substitutions. ##
3085 ## ------------------- ##"
3087 for ac_var in $ac_subst_files
3089 eval ac_val=\$$ac_var
3091 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3093 $as_echo "$ac_var='\''$ac_val'\''"
3098 if test -s confdefs.h; then
3099 $as_echo "## ----------- ##
3106 test "$ac_signal" != 0 &&
3107 $as_echo "$as_me: caught signal $ac_signal"
3108 $as_echo "$as_me: exit $exit_status"
3110 rm -f core *.core core.conftest.* &&
3111 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3114 for ac_signal in 1 2 13 15; do
3115 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3119 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3120 rm -f -r conftest* confdefs.h
3122 $as_echo "/* confdefs.h */" > confdefs.h
3124 # Predefined preprocessor variables.
3126 cat >>confdefs.h <<_ACEOF
3127 #define PACKAGE_NAME "$PACKAGE_NAME"
3130 cat >>confdefs.h <<_ACEOF
3131 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3134 cat >>confdefs.h <<_ACEOF
3135 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3138 cat >>confdefs.h <<_ACEOF
3139 #define PACKAGE_STRING "$PACKAGE_STRING"
3142 cat >>confdefs.h <<_ACEOF
3143 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3146 cat >>confdefs.h <<_ACEOF
3147 #define PACKAGE_URL "$PACKAGE_URL"
3151 # Let the site file select an alternate cache file if it wants to.
3152 # Prefer an explicitly selected file to automatically selected ones.
3155 if test -n "$CONFIG_SITE"; then
3156 # We do not want a PATH search for config.site.
3157 case $CONFIG_SITE in #((
3158 -*) ac_site_file1=./$CONFIG_SITE;;
3159 */*) ac_site_file1=$CONFIG_SITE;;
3160 *) ac_site_file1=./$CONFIG_SITE;;
3162 elif test "x$prefix" != xNONE; then
3163 ac_site_file1=$prefix/share/config.site
3164 ac_site_file2=$prefix/etc/config.site
3166 ac_site_file1=$ac_default_prefix/share/config.site
3167 ac_site_file2=$ac_default_prefix/etc/config.site
3169 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3171 test "x$ac_site_file" = xNONE && continue
3172 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3174 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3175 sed 's/^/| /' "$ac_site_file" >&5
3177 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3178 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3179 as_fn_error $? "failed to load site script $ac_site_file
3180 See \`config.log' for more details" "$LINENO" 5; }
3184 if test -r "$cache_file"; then
3185 # Some versions of bash will fail to source /dev/null (special files
3186 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3187 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3189 $as_echo "$as_me: loading cache $cache_file" >&6;}
3191 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3192 *) . "./$cache_file";;
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3197 $as_echo "$as_me: creating cache $cache_file" >&6;}
3201 # Check that the precious variables saved in the cache have kept the same
3203 ac_cache_corrupted=false
3204 for ac_var in $ac_precious_vars; do
3205 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3206 eval ac_new_set=\$ac_env_${ac_var}_set
3207 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3208 eval ac_new_val=\$ac_env_${ac_var}_value
3209 case $ac_old_set,$ac_new_set in
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3212 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3213 ac_cache_corrupted=: ;;
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3216 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3217 ac_cache_corrupted=: ;;
3220 if test "x$ac_old_val" != "x$ac_new_val"; then
3221 # differences in whitespace do not lead to failure.
3222 ac_old_val_w=`echo x $ac_old_val`
3223 ac_new_val_w=`echo x $ac_new_val`
3224 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3226 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3227 ac_cache_corrupted=:
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3230 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3231 eval $ac_var=\$ac_old_val
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3234 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3236 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3239 # Pass precious variables to config.status.
3240 if test "$ac_new_set" = set; then
3242 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3243 *) ac_arg=$ac_var=$ac_new_val ;;
3245 case " $ac_configure_args " in
3246 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3247 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3251 if $ac_cache_corrupted; then
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3253 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3255 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3256 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3258 ## -------------------- ##
3259 ## Main body of script. ##
3260 ## -------------------- ##
3263 ac_cpp='$CPP $CPPFLAGS'
3264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3269 # STABLE_VERSION=1.0.1+
3272 # Generate some files.
3280 # Default value for --enable/disable-release-mode.
3281 # Determined by gen-autotools.sh based on versioning.
3282 # Official, stable releases enable it, pre-releases
3308 # Minimum version of libsynthesis as defined in its
3309 # configure script and thus .pc files:
3312 # Line above is patched by gen-autotools.sh. Handle
3313 # both "yes" and "no".
3316 # Check whether --enable-release-mode was given.
3317 if test "${enable_release_mode+set}" = set; then :
3318 enableval=$enable_release_mode; enable_release_mode="$enableval"
3320 enable_release_mode="yes"
3323 if test "$enable_release_mode" = "yes"; then
3325 $as_echo "#define SYNCEVOLUTION_STABLE_RELEASE 1" >>confdefs.h
3329 am__api_version='1.11'
3332 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3333 if test -f "$ac_dir/install-sh"; then
3335 ac_install_sh="$ac_aux_dir/install-sh -c"
3337 elif test -f "$ac_dir/install.sh"; then
3339 ac_install_sh="$ac_aux_dir/install.sh -c"
3341 elif test -f "$ac_dir/shtool"; then
3343 ac_install_sh="$ac_aux_dir/shtool install -c"
3347 if test -z "$ac_aux_dir"; then
3348 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3351 # These three variables are undocumented and unsupported,
3352 # and are intended to be withdrawn in a future Autoconf release.
3353 # They can cause serious problems if a builder's source tree is in a directory
3354 # whose full name contains unusual characters.
3355 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3356 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3357 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3360 # Find a good install program. We prefer a C program (faster),
3361 # so one script is as good as another. But avoid the broken or
3362 # incompatible versions:
3363 # SysV /etc/install, /usr/sbin/install
3364 # SunOS /usr/etc/install
3365 # IRIX /sbin/install
3367 # AmigaOS /C/install, which installs bootblocks on floppy discs
3368 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3369 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3370 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3371 # OS/2's system install, which has a completely different semantic
3372 # ./install, which can be erroneously created by make from ./install.sh.
3373 # Reject install programs that cannot install multiple files.
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3375 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3376 if test -z "$INSTALL"; then
3377 if ${ac_cv_path_install+:} false; then :
3378 $as_echo_n "(cached) " >&6
3380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3384 test -z "$as_dir" && as_dir=.
3385 # Account for people who put trailing slashes in PATH elements.
3386 case $as_dir/ in #((
3387 ./ | .// | /[cC]/* | \
3388 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3389 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3392 # OSF1 and SCO ODT 3.0 have their own names for install.
3393 # Don't use installbsd from OSF since it installs stuff as root
3395 for ac_prog in ginstall scoinst install; do
3396 for ac_exec_ext in '' $ac_executable_extensions; do
3397 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3398 if test $ac_prog = install &&
3399 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3400 # AIX install. It has an incompatible calling convention.
3402 elif test $ac_prog = install &&
3403 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3404 # program-specific install script used by HP pwplus--don't use.
3407 rm -rf conftest.one conftest.two conftest.dir
3408 echo one > conftest.one
3409 echo two > conftest.two
3411 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3412 test -s conftest.one && test -s conftest.two &&
3413 test -s conftest.dir/conftest.one &&
3414 test -s conftest.dir/conftest.two
3416 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3429 rm -rf conftest.one conftest.two conftest.dir
3432 if test "${ac_cv_path_install+set}" = set; then
3433 INSTALL=$ac_cv_path_install
3435 # As a last resort, use the slow shell script. Don't cache a
3436 # value for INSTALL within a source directory, because that will
3437 # break other packages using the cache if that directory is
3438 # removed, or if the value is a relative name.
3439 INSTALL=$ac_install_sh
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3443 $as_echo "$INSTALL" >&6; }
3445 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3446 # It thinks the first close brace ends the variable substitution.
3447 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3449 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3451 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3454 $as_echo_n "checking whether build environment is sane... " >&6; }
3457 echo timestamp > conftest.file
3458 # Reject unsafe characters in $srcdir or the absolute working directory
3459 # name. Accept space and tab only in the latter.
3463 *[\\\"\#\$\&\'\`$am_lf]*)
3464 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3467 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3468 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3471 # Do `set' in a subshell so we don't clobber the current shell's
3472 # arguments. Must try -L first in case configure is actually a
3473 # symlink; some systems play weird games with the mod time of symlinks
3474 # (eg FreeBSD returns the mod time of the symlink's containing
3477 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3478 if test "$*" = "X"; then
3480 set X `ls -t "$srcdir/configure" conftest.file`
3483 if test "$*" != "X $srcdir/configure conftest.file" \
3484 && test "$*" != "X conftest.file $srcdir/configure"; then
3486 # If neither matched, then we have a broken ls. This can happen
3487 # if, for instance, CONFIG_SHELL is bash and it inherits a
3488 # broken ls alias from the environment. This has actually
3489 # happened. Such a system could not be considered "sane".
3490 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3491 alias in your environment" "$LINENO" 5
3494 test "$2" = conftest.file
3500 as_fn_error $? "newly created file is older than distributed files!
3501 Check your system clock" "$LINENO" 5
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3504 $as_echo "yes" >&6; }
3505 test "$program_prefix" != NONE &&
3506 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3507 # Use a double $ so make ignores it.
3508 test "$program_suffix" != NONE &&
3509 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3510 # Double any \ or $.
3511 # By default was `s,x,x', remove it if useless.
3512 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3513 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3515 # expand $ac_aux_dir to an absolute path
3516 am_aux_dir=`cd $ac_aux_dir && pwd`
3518 if test x"${MISSING+set}" != xset; then
3521 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3523 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3526 # Use eval to expand $SHELL
3527 if eval "$MISSING --run true"; then
3528 am_missing_run="$MISSING --run "
3531 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3532 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3535 if test x"${install_sh}" != xset; then
3538 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3540 install_sh="\${SHELL} $am_aux_dir/install-sh"
3544 # Installed binaries are usually stripped using `strip' when the user
3545 # run `make install-strip'. However `strip' might not be the right
3546 # tool to use in cross-compilation environments, therefore Automake
3547 # will honor the `STRIP' environment variable to overrule this program.
3548 if test "$cross_compiling" != no; then
3549 if test -n "$ac_tool_prefix"; then
3550 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3551 set dummy ${ac_tool_prefix}strip; ac_word=$2
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3553 $as_echo_n "checking for $ac_word... " >&6; }
3554 if ${ac_cv_prog_STRIP+:} false; then :
3555 $as_echo_n "(cached) " >&6
3557 if test -n "$STRIP"; then
3558 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3564 test -z "$as_dir" && as_dir=.
3565 for ac_exec_ext in '' $ac_executable_extensions; do
3566 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3567 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3577 STRIP=$ac_cv_prog_STRIP
3578 if test -n "$STRIP"; then
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3580 $as_echo "$STRIP" >&6; }
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3583 $as_echo "no" >&6; }
3588 if test -z "$ac_cv_prog_STRIP"; then
3590 # Extract the first word of "strip", so it can be a program name with args.
3591 set dummy strip; ac_word=$2
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3593 $as_echo_n "checking for $ac_word... " >&6; }
3594 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3595 $as_echo_n "(cached) " >&6
3597 if test -n "$ac_ct_STRIP"; then
3598 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3604 test -z "$as_dir" && as_dir=.
3605 for ac_exec_ext in '' $ac_executable_extensions; do
3606 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3607 ac_cv_prog_ac_ct_STRIP="strip"
3608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3617 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3618 if test -n "$ac_ct_STRIP"; then
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3620 $as_echo "$ac_ct_STRIP" >&6; }
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3623 $as_echo "no" >&6; }
3626 if test "x$ac_ct_STRIP" = x; then
3629 case $cross_compiling:$ac_tool_warned in
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3632 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3633 ac_tool_warned=yes ;;
3638 STRIP="$ac_cv_prog_STRIP"
3642 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3645 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3646 if test -z "$MKDIR_P"; then
3647 if ${ac_cv_path_mkdir+:} false; then :
3648 $as_echo_n "(cached) " >&6
3650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3651 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3654 test -z "$as_dir" && as_dir=.
3655 for ac_prog in mkdir gmkdir; do
3656 for ac_exec_ext in '' $ac_executable_extensions; do
3657 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3658 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3659 'mkdir (GNU coreutils) '* | \
3660 'mkdir (coreutils) '* | \
3661 'mkdir (fileutils) '4.1*)
3662 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3672 test -d ./--version && rmdir ./--version
3673 if test "${ac_cv_path_mkdir+set}" = set; then
3674 MKDIR_P="$ac_cv_path_mkdir -p"
3676 # As a last resort, use the slow shell script. Don't cache a
3677 # value for MKDIR_P within a source directory, because that will
3678 # break other packages using the cache if that directory is
3679 # removed, or if the value is a relative name.
3680 MKDIR_P="$ac_install_sh -d"
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3684 $as_echo "$MKDIR_P" >&6; }
3688 [\\/$]* | ?:[\\/]*) ;;
3689 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3692 for ac_prog in gawk mawk nawk awk
3694 # Extract the first word of "$ac_prog", so it can be a program name with args.
3695 set dummy $ac_prog; ac_word=$2
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3697 $as_echo_n "checking for $ac_word... " >&6; }
3698 if ${ac_cv_prog_AWK+:} false; then :
3699 $as_echo_n "(cached) " >&6
3701 if test -n "$AWK"; then
3702 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3708 test -z "$as_dir" && as_dir=.
3709 for ac_exec_ext in '' $ac_executable_extensions; do
3710 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3711 ac_cv_prog_AWK="$ac_prog"
3712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3722 if test -n "$AWK"; then
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3724 $as_echo "$AWK" >&6; }
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3727 $as_echo "no" >&6; }
3731 test -n "$AWK" && break
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3735 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3737 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3738 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3739 $as_echo_n "(cached) " >&6
3741 cat >conftest.make <<\_ACEOF
3744 @echo '@@@%%%=$(MAKE)=@@@%%%'
3746 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3747 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3749 eval ac_cv_prog_make_${ac_make}_set=yes;;
3751 eval ac_cv_prog_make_${ac_make}_set=no;;
3755 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3757 $as_echo "yes" >&6; }
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3761 $as_echo "no" >&6; }
3762 SET_MAKE="MAKE=${MAKE-make}"
3765 rm -rf .tst 2>/dev/null
3766 mkdir .tst 2>/dev/null
3767 if test -d .tst; then
3772 rmdir .tst 2>/dev/null
3774 # Check whether --enable-silent-rules was given.
3775 if test "${enable_silent_rules+set}" = set; then :
3776 enableval=$enable_silent_rules;
3779 case $enable_silent_rules in
3780 yes) AM_DEFAULT_VERBOSITY=0;;
3781 no) AM_DEFAULT_VERBOSITY=1;;
3782 *) AM_DEFAULT_VERBOSITY=1;;
3784 am_make=${MAKE-make}
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3786 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3787 if ${am_cv_make_support_nested_variables+:} false; then :
3788 $as_echo_n "(cached) " >&6
3790 if $as_echo 'TRUE=$(BAR$(V))
3796 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3797 am_cv_make_support_nested_variables=yes
3799 am_cv_make_support_nested_variables=no
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3803 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3804 if test $am_cv_make_support_nested_variables = yes; then
3806 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3808 AM_V=$AM_DEFAULT_VERBOSITY
3809 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3813 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3814 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3815 # is not polluted with repeated "-I."
3816 am__isrc=' -I$(srcdir)'
3817 # test to see if srcdir already configured
3818 if test -f $srcdir/config.status; then
3819 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3823 # test whether we have cygpath
3824 if test -z "$CYGPATH_W"; then
3825 if (cygpath --version) >/dev/null 2>/dev/null; then
3826 CYGPATH_W='cygpath -w'
3833 # Define the identity of the package.
3834 PACKAGE='syncevolution'
3838 cat >>confdefs.h <<_ACEOF
3839 #define PACKAGE "$PACKAGE"
3843 cat >>confdefs.h <<_ACEOF
3844 #define VERSION "$VERSION"
3847 # Some tools Automake needs.
3849 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3852 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3855 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3858 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3861 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3863 # We need awk for the "check" target. The system "awk" is bad on
3865 # Always define AMTAR for backward compatibility. Yes, it's still used
3866 # in the wild :-( We should find a proper way to deprecate it ...
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
3871 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
3872 # Loop over all known methods to create a tar archive until one works.
3873 _am_tools='gnutar plaintar pax cpio none'
3874 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
3875 # Do not fold the above two line into one, because Tru64 sh and
3876 # Solaris sh will not grok spaces in the rhs of `-'.
3877 for _am_tool in $_am_tools
3881 for _am_tar in tar gnutar gtar;
3883 { echo "$as_me:$LINENO: $_am_tar --version" >&5
3884 ($_am_tar --version) >&5 2>&5
3886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3887 (exit $ac_status); } && break
3889 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
3890 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
3891 am__untar="$_am_tar -xf -"
3894 # Must skip GNU tar: if it does not support --format= it doesn't create
3895 # ustar tarball either.
3896 (tar --version) >/dev/null 2>&1 && continue
3897 am__tar='tar chf - "$$tardir"'
3898 am__tar_='tar chf - "$tardir"'
3899 am__untar='tar xf -'
3902 am__tar='pax -L -x ustar -w "$$tardir"'
3903 am__tar_='pax -L -x ustar -w "$tardir"'
3907 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
3908 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
3909 am__untar='cpio -i -H ustar -d'
3918 # If the value was cached, stop now. We just wanted to have am__tar
3919 # and am__untar set.
3920 test -n "${am_cv_prog_tar_ustar}" && break
3922 # tar/untar a dummy directory, and stop if the command works
3925 echo GrepMe > conftest.dir/file
3926 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3927 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3930 (exit $ac_status); }
3932 if test -s conftest.tar; then
3933 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3934 ($am__untar <conftest.tar) >&5 2>&5
3936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3937 (exit $ac_status); }
3938 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3943 if ${am_cv_prog_tar_ustar+:} false; then :
3944 $as_echo_n "(cached) " >&6
3946 am_cv_prog_tar_ustar=$_am_tool
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3950 $as_echo "$am_cv_prog_tar_ustar" >&6; }
3957 DEPDIR="${am__leading_dot}deps"
3959 ac_config_commands="$ac_config_commands depfiles"
3962 am_make=${MAKE-make}
3963 cat > confinc << 'END'
3965 @echo this is the am__doit target
3968 # If we don't find an include directive, just comment out the code.
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3970 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3974 # First try GNU make style include.
3975 echo "include confinc" > confmf
3976 # Ignore all kinds of additional output from `make'.
3977 case `$am_make -s -f confmf 2> /dev/null` in #(
3978 *the\ am__doit\ target*)
3984 # Now try BSD make style include.
3985 if test "$am__include" = "#"; then
3986 echo '.include "confinc"' > confmf
3987 case `$am_make -s -f confmf 2> /dev/null` in #(
3988 *the\ am__doit\ target*)
3989 am__include=.include
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3998 $as_echo "$_am_result" >&6; }
3999 rm -f confinc confmf
4001 # Check whether --enable-dependency-tracking was given.
4002 if test "${enable_dependency_tracking+set}" = set; then :
4003 enableval=$enable_dependency_tracking;
4006 if test "x$enable_dependency_tracking" != xno; then
4007 am_depcomp="$ac_aux_dir/depcomp"
4011 if test "x$enable_dependency_tracking" != xno; then
4021 ac_cpp='$CPP $CPPFLAGS'
4022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4025 if test -n "$ac_tool_prefix"; then
4026 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4027 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4029 $as_echo_n "checking for $ac_word... " >&6; }
4030 if ${ac_cv_prog_CC+:} false; then :
4031 $as_echo_n "(cached) " >&6
4033 if test -n "$CC"; then
4034 ac_cv_prog_CC="$CC" # Let the user override the test.
4036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4040 test -z "$as_dir" && as_dir=.
4041 for ac_exec_ext in '' $ac_executable_extensions; do
4042 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4043 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4054 if test -n "$CC"; then
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4056 $as_echo "$CC" >&6; }
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4059 $as_echo "no" >&6; }
4064 if test -z "$ac_cv_prog_CC"; then
4066 # Extract the first word of "gcc", so it can be a program name with args.
4067 set dummy gcc; ac_word=$2
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4069 $as_echo_n "checking for $ac_word... " >&6; }
4070 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4071 $as_echo_n "(cached) " >&6
4073 if test -n "$ac_ct_CC"; then
4074 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4080 test -z "$as_dir" && as_dir=.
4081 for ac_exec_ext in '' $ac_executable_extensions; do
4082 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4083 ac_cv_prog_ac_ct_CC="gcc"
4084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4093 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4094 if test -n "$ac_ct_CC"; then
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4096 $as_echo "$ac_ct_CC" >&6; }
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4099 $as_echo "no" >&6; }
4102 if test "x$ac_ct_CC" = x; then
4105 case $cross_compiling:$ac_tool_warned in
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4108 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4109 ac_tool_warned=yes ;;
4117 if test -z "$CC"; then
4118 if test -n "$ac_tool_prefix"; then
4119 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4120 set dummy ${ac_tool_prefix}cc; ac_word=$2
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4122 $as_echo_n "checking for $ac_word... " >&6; }
4123 if ${ac_cv_prog_CC+:} false; then :
4124 $as_echo_n "(cached) " >&6
4126 if test -n "$CC"; then
4127 ac_cv_prog_CC="$CC" # Let the user override the test.
4129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4133 test -z "$as_dir" && as_dir=.
4134 for ac_exec_ext in '' $ac_executable_extensions; do
4135 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4136 ac_cv_prog_CC="${ac_tool_prefix}cc"
4137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4147 if test -n "$CC"; then
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4149 $as_echo "$CC" >&6; }
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4152 $as_echo "no" >&6; }
4158 if test -z "$CC"; then
4159 # Extract the first word of "cc", so it can be a program name with args.
4160 set dummy cc; ac_word=$2
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4162 $as_echo_n "checking for $ac_word... " >&6; }
4163 if ${ac_cv_prog_CC+:} false; then :
4164 $as_echo_n "(cached) " >&6
4166 if test -n "$CC"; then
4167 ac_cv_prog_CC="$CC" # Let the user override the test.
4170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4174 test -z "$as_dir" && as_dir=.
4175 for ac_exec_ext in '' $ac_executable_extensions; do
4176 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4177 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4178 ac_prog_rejected=yes
4182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4189 if test $ac_prog_rejected = yes; then
4190 # We found a bogon in the path, so make sure we never use it.
4191 set dummy $ac_cv_prog_CC
4193 if test $# != 0; then
4194 # We chose a different compiler from the bogus one.
4195 # However, it has the same basename, so the bogon will be chosen
4196 # first if we set CC to just the basename; use the full file name.
4198 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4204 if test -n "$CC"; then
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4206 $as_echo "$CC" >&6; }
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4209 $as_echo "no" >&6; }
4214 if test -z "$CC"; then
4215 if test -n "$ac_tool_prefix"; then
4216 for ac_prog in cl.exe
4218 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4219 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4221 $as_echo_n "checking for $ac_word... " >&6; }
4222 if ${ac_cv_prog_CC+:} false; then :
4223 $as_echo_n "(cached) " >&6
4225 if test -n "$CC"; then
4226 ac_cv_prog_CC="$CC" # Let the user override the test.
4228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4232 test -z "$as_dir" && as_dir=.
4233 for ac_exec_ext in '' $ac_executable_extensions; do
4234 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4235 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4246 if test -n "$CC"; then
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4248 $as_echo "$CC" >&6; }
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4251 $as_echo "no" >&6; }
4255 test -n "$CC" && break
4258 if test -z "$CC"; then
4260 for ac_prog in cl.exe
4262 # Extract the first word of "$ac_prog", so it can be a program name with args.
4263 set dummy $ac_prog; ac_word=$2
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4265 $as_echo_n "checking for $ac_word... " >&6; }
4266 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4267 $as_echo_n "(cached) " >&6
4269 if test -n "$ac_ct_CC"; then
4270 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4276 test -z "$as_dir" && as_dir=.
4277 for ac_exec_ext in '' $ac_executable_extensions; do
4278 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4279 ac_cv_prog_ac_ct_CC="$ac_prog"
4280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4289 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4290 if test -n "$ac_ct_CC"; then
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4292 $as_echo "$ac_ct_CC" >&6; }
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4295 $as_echo "no" >&6; }
4299 test -n "$ac_ct_CC" && break
4302 if test "x$ac_ct_CC" = x; then
4305 case $cross_compiling:$ac_tool_warned in
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4308 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4309 ac_tool_warned=yes ;;
4318 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4319 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4320 as_fn_error $? "no acceptable C compiler found in \$PATH
4321 See \`config.log' for more details" "$LINENO" 5; }
4323 # Provide some information about the compiler.
4324 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4327 for ac_option in --version -v -V -qversion; do
4328 { { ac_try="$ac_compiler $ac_option >&5"
4330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4331 *) ac_try_echo=$ac_try;;
4333 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4334 $as_echo "$ac_try_echo"; } >&5
4335 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4337 if test -s conftest.err; then
4339 ... rest of stderr output deleted ...
4340 10q' conftest.err >conftest.er1
4341 cat conftest.er1 >&5
4343 rm -f conftest.er1 conftest.err
4344 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4345 test $ac_status = 0; }
4348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4349 /* end confdefs.h. */
4359 ac_clean_files_save=$ac_clean_files
4360 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4361 # Try to create an executable without -o first, disregard a.out.
4362 # It will help us diagnose broken compilers, and finding out an intuition
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4365 $as_echo_n "checking whether the C compiler works... " >&6; }
4366 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4368 # The possible output files:
4369 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4372 for ac_file in $ac_files
4375 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4376 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4381 if { { ac_try="$ac_link_default"
4383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4384 *) ac_try_echo=$ac_try;;
4386 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4387 $as_echo "$ac_try_echo"; } >&5
4388 (eval "$ac_link_default") 2>&5
4390 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4391 test $ac_status = 0; }; then :
4392 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4393 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4394 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4395 # so that the user can short-circuit this test for compilers unknown to
4397 for ac_file in $ac_files ''
4399 test -f "$ac_file" || continue
4401 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4404 # We found the default executable, but exeext='' is most
4408 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4410 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4412 # We set ac_cv_exeext here because the later test for it is not
4413 # safe: cross compilers may not add the suffix if given an `-o'
4414 # argument, so we may need to know it at that point already.
4415 # Even if this section looks crufty: it has the advantage of
4422 test "$ac_cv_exeext" = no && ac_cv_exeext=
4427 if test -z "$ac_file"; then :
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4429 $as_echo "no" >&6; }
4430 $as_echo "$as_me: failed program was:" >&5
4431 sed 's/^/| /' conftest.$ac_ext >&5
4433 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4434 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4435 as_fn_error 77 "C compiler cannot create executables
4436 See \`config.log' for more details" "$LINENO" 5; }
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4439 $as_echo "yes" >&6; }
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4442 $as_echo_n "checking for C compiler default output file name... " >&6; }
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4444 $as_echo "$ac_file" >&6; }
4445 ac_exeext=$ac_cv_exeext
4447 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4448 ac_clean_files=$ac_clean_files_save
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4450 $as_echo_n "checking for suffix of executables... " >&6; }
4451 if { { ac_try="$ac_link"
4453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4454 *) ac_try_echo=$ac_try;;
4456 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4457 $as_echo "$ac_try_echo"; } >&5
4458 (eval "$ac_link") 2>&5
4460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4461 test $ac_status = 0; }; then :
4462 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4463 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4464 # work properly (i.e., refer to `conftest.exe'), while it won't with
4466 for ac_file in conftest.exe conftest conftest.*; do
4467 test -f "$ac_file" || continue
4469 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4470 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4476 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4477 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4478 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4479 See \`config.log' for more details" "$LINENO" 5; }
4481 rm -f conftest conftest$ac_cv_exeext
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4483 $as_echo "$ac_cv_exeext" >&6; }
4485 rm -f conftest.$ac_ext
4486 EXEEXT=$ac_cv_exeext
4488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4489 /* end confdefs.h. */
4494 FILE *f = fopen ("conftest.out", "w");
4495 return ferror (f) || fclose (f) != 0;
4501 ac_clean_files="$ac_clean_files conftest.out"
4502 # Check that the compiler produces executables we can run. If not, either
4503 # the compiler is broken, or we cross compile.
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4505 $as_echo_n "checking whether we are cross compiling... " >&6; }
4506 if test "$cross_compiling" != yes; then
4507 { { ac_try="$ac_link"
4509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4510 *) ac_try_echo=$ac_try;;
4512 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4513 $as_echo "$ac_try_echo"; } >&5
4514 (eval "$ac_link") 2>&5
4516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4517 test $ac_status = 0; }
4518 if { ac_try='./conftest$ac_cv_exeext'
4519 { { case "(($ac_try" in
4520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4521 *) ac_try_echo=$ac_try;;
4523 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4524 $as_echo "$ac_try_echo"; } >&5
4525 (eval "$ac_try") 2>&5
4527 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4528 test $ac_status = 0; }; }; then
4531 if test "$cross_compiling" = maybe; then
4534 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4535 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4536 as_fn_error $? "cannot run C compiled programs.
4537 If you meant to cross compile, use \`--host'.
4538 See \`config.log' for more details" "$LINENO" 5; }
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4543 $as_echo "$cross_compiling" >&6; }
4545 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4546 ac_clean_files=$ac_clean_files_save
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4548 $as_echo_n "checking for suffix of object files... " >&6; }
4549 if ${ac_cv_objext+:} false; then :
4550 $as_echo_n "(cached) " >&6
4552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4553 /* end confdefs.h. */
4563 rm -f conftest.o conftest.obj
4564 if { { ac_try="$ac_compile"
4566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4567 *) ac_try_echo=$ac_try;;
4569 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4570 $as_echo "$ac_try_echo"; } >&5
4571 (eval "$ac_compile") 2>&5
4573 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4574 test $ac_status = 0; }; then :
4575 for ac_file in conftest.o conftest.obj conftest.*; do
4576 test -f "$ac_file" || continue;
4578 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4579 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4584 $as_echo "$as_me: failed program was:" >&5
4585 sed 's/^/| /' conftest.$ac_ext >&5
4587 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4588 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4589 as_fn_error $? "cannot compute suffix of object files: cannot compile
4590 See \`config.log' for more details" "$LINENO" 5; }
4592 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4595 $as_echo "$ac_cv_objext" >&6; }
4596 OBJEXT=$ac_cv_objext
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4599 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4600 if ${ac_cv_c_compiler_gnu+:} false; then :
4601 $as_echo_n "(cached) " >&6
4603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4604 /* end confdefs.h. */
4617 if ac_fn_c_try_compile "$LINENO"; then :
4622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4623 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4627 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4628 if test $ac_compiler_gnu = yes; then
4633 ac_test_CFLAGS=${CFLAGS+set}
4634 ac_save_CFLAGS=$CFLAGS
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4636 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4637 if ${ac_cv_prog_cc_g+:} false; then :
4638 $as_echo_n "(cached) " >&6
4640 ac_save_c_werror_flag=$ac_c_werror_flag
4641 ac_c_werror_flag=yes
4644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4645 /* end confdefs.h. */
4655 if ac_fn_c_try_compile "$LINENO"; then :
4659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4660 /* end confdefs.h. */
4670 if ac_fn_c_try_compile "$LINENO"; then :
4673 ac_c_werror_flag=$ac_save_c_werror_flag
4675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4676 /* end confdefs.h. */
4686 if ac_fn_c_try_compile "$LINENO"; then :
4689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4694 ac_c_werror_flag=$ac_save_c_werror_flag
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4697 $as_echo "$ac_cv_prog_cc_g" >&6; }
4698 if test "$ac_test_CFLAGS" = set; then
4699 CFLAGS=$ac_save_CFLAGS
4700 elif test $ac_cv_prog_cc_g = yes; then
4701 if test "$GCC" = yes; then
4707 if test "$GCC" = yes; then
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4714 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4715 if ${ac_cv_prog_cc_c89+:} false; then :
4716 $as_echo_n "(cached) " >&6
4718 ac_cv_prog_cc_c89=no
4720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4721 /* end confdefs.h. */
4725 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4726 struct buf { int x; };
4727 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4728 static char *e (p, i)
4734 static char *f (char * (*g) (char **, int), char **p, ...)
4739 s = g (p, va_arg (v,int));
4744 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4745 function prototypes and stuff, but not '\xHH' hex character constants.
4746 These don't provoke an error unfortunately, instead are silently treated
4747 as 'x'. The following induces an error, until -std is added to get
4748 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4749 array size at least. It's necessary to write '\x00'==0 to get something
4750 that's true only with -std. */
4751 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4753 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4754 inside strings and character constants. */
4756 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4758 int test (int i, double x);
4759 struct s1 {int (*f) (int a);};
4760 struct s2 {int (*f) (double a);};
4761 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4767 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4772 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4773 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4775 CC="$ac_save_CC $ac_arg"
4776 if ac_fn_c_try_compile "$LINENO"; then :
4777 ac_cv_prog_cc_c89=$ac_arg
4779 rm -f core conftest.err conftest.$ac_objext
4780 test "x$ac_cv_prog_cc_c89" != "xno" && break
4782 rm -f conftest.$ac_ext
4787 case "x$ac_cv_prog_cc_c89" in
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4790 $as_echo "none needed" >&6; } ;;
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4793 $as_echo "unsupported" >&6; } ;;
4795 CC="$CC $ac_cv_prog_cc_c89"
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4797 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4799 if test "x$ac_cv_prog_cc_c89" != xno; then :
4804 ac_cpp='$CPP $CPPFLAGS'
4805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4809 depcc="$CC" am_compiler_list=
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4812 $as_echo_n "checking dependency style of $depcc... " >&6; }
4813 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4814 $as_echo_n "(cached) " >&6
4816 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4817 # We make a subdir and do the tests there. Otherwise we can end up
4818 # making bogus files that we don't know about and never remove. For
4819 # instance it was reported that on HP-UX the gcc test will end up
4820 # making a dummy file named `D' -- because `-MD' means `put the output
4824 # Copy depcomp to subdir because otherwise we won't find it if we're
4825 # using a relative directory.
4826 cp "$am_depcomp" conftest.dir
4828 # We will build objects and dependencies in a subdirectory because
4829 # it helps to detect inapplicable dependency modes. For instance
4830 # both Tru64's cc and ICC support -MD to output dependencies as a
4831 # side effect of compilation, but ICC will put the dependencies in
4832 # the current directory while Tru64 will put them in the object
4836 am_cv_CC_dependencies_compiler_type=none
4837 if test "$am_compiler_list" = ""; then
4838 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4841 case " $depcc " in #(
4842 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4845 for depmode in $am_compiler_list; do
4846 # Setup a source with many dependencies, because some compilers
4847 # like to wrap large dependency lists on column 80 (with \), and
4848 # we should not choose a depcomp mode which is confused by this.
4850 # We need to recreate these files for each test, as the compiler may
4851 # overwrite some of them when testing with obscure command lines.
4852 # This happens at least with the AIX C compiler.
4854 for i in 1 2 3 4 5 6; do
4855 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4856 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4857 # Solaris 8's {/usr,}/bin/sh.
4858 touch sub/conftst$i.h
4860 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4862 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4863 # mode. It turns out that the SunPro C++ compiler does not properly
4864 # handle `-M -o', and we need to detect this. Also, some Intel
4865 # versions had trouble with output in subdirs
4866 am__obj=sub/conftest.${OBJEXT-o}
4867 am__minus_obj="-o $am__obj"
4870 # This depmode causes a compiler race in universal mode.
4871 test "$am__universal" = false || continue
4874 # after this tag, mechanisms are not by side-effect, so they'll
4875 # only be used when explicitly requested
4876 if test "x$enable_dependency_tracking" = xyes; then
4882 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4883 # This compiler won't grok `-c -o', but also, the minuso test has
4884 # not run yet. These depmodes are late enough in the game, and
4885 # so weak that their functioning should not be impacted.
4886 am__obj=conftest.${OBJEXT-o}
4891 if depmode=$depmode \
4892 source=sub/conftest.c object=$am__obj \
4893 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4894 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4895 >/dev/null 2>conftest.err &&
4896 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4897 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4898 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4899 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4900 # icc doesn't choke on unknown options, it will just issue warnings
4901 # or remarks (even with -Werror). So we grep stderr for any message
4902 # that says an option was ignored or not supported.
4903 # When given -MP, icc 7.0 and 7.1 complain thusly:
4904 # icc: Command line warning: ignoring option '-M'; no argument required
4905 # The diagnosis changed in icc 8.0:
4906 # icc: Command line remark: option '-MP' not supported
4907 if (grep 'ignoring option' conftest.err ||
4908 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4909 am_cv_CC_dependencies_compiler_type=$depmode
4918 am_cv_CC_dependencies_compiler_type=none
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4923 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4924 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4927 test "x$enable_dependency_tracking" != xno \
4928 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4930 am__fastdepCC_FALSE='#'
4932 am__fastdepCC_TRUE='#'
4933 am__fastdepCC_FALSE=
4937 if test "x$CC" != xcc; then
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4939 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4942 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4944 set dummy $CC; ac_cc=`$as_echo "$2" |
4945 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4946 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
4947 $as_echo_n "(cached) " >&6
4949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4950 /* end confdefs.h. */
4960 # Make sure it works both with $CC and with simple cc.
4961 # We do the test twice because some compilers refuse to overwrite an
4962 # existing .o file with -o, though they will create one.
4963 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4965 if { { case "(($ac_try" in
4966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4967 *) ac_try_echo=$ac_try;;
4969 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4970 $as_echo "$ac_try_echo"; } >&5
4971 (eval "$ac_try") 2>&5
4973 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4974 test $ac_status = 0; } &&
4975 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4977 *) ac_try_echo=$ac_try;;
4979 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4980 $as_echo "$ac_try_echo"; } >&5
4981 (eval "$ac_try") 2>&5
4983 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4984 test $ac_status = 0; };
4986 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4987 if test "x$CC" != xcc; then
4988 # Test first that cc exists at all.
4989 if { ac_try='cc -c conftest.$ac_ext >&5'
4990 { { case "(($ac_try" in
4991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4992 *) ac_try_echo=$ac_try;;
4994 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4995 $as_echo "$ac_try_echo"; } >&5
4996 (eval "$ac_try") 2>&5
4998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4999 test $ac_status = 0; }; }; then
5000 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5002 if { { case "(($ac_try" in
5003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5004 *) ac_try_echo=$ac_try;;
5006 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5007 $as_echo "$ac_try_echo"; } >&5
5008 (eval "$ac_try") 2>&5
5010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5011 test $ac_status = 0; } &&
5012 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5014 *) ac_try_echo=$ac_try;;
5016 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5017 $as_echo "$ac_try_echo"; } >&5
5018 (eval "$ac_try") 2>&5
5020 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5021 test $ac_status = 0; };
5026 # cc exists but doesn't like -o.
5027 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5032 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5034 rm -f core conftest*
5037 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5039 $as_echo "yes" >&6; }
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5042 $as_echo "no" >&6; }
5044 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5048 # FIXME: we rely on the cache variable name because
5049 # there is no other way.
5051 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5052 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5053 if test "$am_t" != yes; then
5054 # Losing compiler, so override with the script.
5055 # FIXME: It is wrong to rewrite CC.
5056 # But if we don't then we get into trouble of one sort or another.
5057 # A longer-term fix would be to have automake use am__CC in this case,
5058 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5059 CC="$am_aux_dir/compile $CC"
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5066 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5067 # Check whether --enable-maintainer-mode was given.
5068 if test "${enable_maintainer_mode+set}" = set; then :
5069 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5071 USE_MAINTAINER_MODE=yes
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5075 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5076 if test $USE_MAINTAINER_MODE = yes; then
5077 MAINTAINER_MODE_TRUE=
5078 MAINTAINER_MODE_FALSE='#'
5080 MAINTAINER_MODE_TRUE='#'
5081 MAINTAINER_MODE_FALSE=
5084 MAINT=$MAINTAINER_MODE_TRUE
5086 # needed for nightly builds where reconfiguration fails under certain chroots
5090 ac_config_headers="$ac_config_headers config.h"
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5099 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5104 macro_version='2.4.2'
5105 macro_revision='1.3337'
5119 ltmain="$ac_aux_dir/ltmain.sh"
5121 # Make sure we can run config.sub.
5122 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5123 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5126 $as_echo_n "checking build system type... " >&6; }
5127 if ${ac_cv_build+:} false; then :
5128 $as_echo_n "(cached) " >&6
5130 ac_build_alias=$build_alias
5131 test "x$ac_build_alias" = x &&
5132 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5133 test "x$ac_build_alias" = x &&
5134 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5135 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5136 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5140 $as_echo "$ac_cv_build" >&6; }
5141 case $ac_cv_build in
5143 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5146 ac_save_IFS=$IFS; IFS='-'
5152 # Remember, the first character of IFS is used to create $*,
5153 # except with old shells:
5156 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5160 $as_echo_n "checking host system type... " >&6; }
5161 if ${ac_cv_host+:} false; then :
5162 $as_echo_n "(cached) " >&6
5164 if test "x$host_alias" = x; then
5165 ac_cv_host=$ac_cv_build
5167 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5168 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5173 $as_echo "$ac_cv_host" >&6; }
5176 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5179 ac_save_IFS=$IFS; IFS='-'
5185 # Remember, the first character of IFS is used to create $*,
5186 # except with old shells:
5189 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5192 # Backslashify metacharacters that are still active within
5193 # double-quoted strings.
5194 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5196 # Same as above, but do not quote variable references.
5197 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5199 # Sed substitution to delay expansion of an escaped shell variable in a
5200 # double_quote_subst'ed string.
5201 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5203 # Sed substitution to delay expansion of an escaped single quote.
5204 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5206 # Sed substitution to avoid accidental globbing in evaled expressions
5207 no_glob_subst='s/\*/\\\*/g'
5209 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5210 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5211 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5214 $as_echo_n "checking how to print strings... " >&6; }
5215 # Test print first, because it will be a builtin if present.
5216 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5217 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5219 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5222 # Use this function as a fallback that always works.
5223 func_fallback_echo ()
5225 eval 'cat <<_LTECHO_EOF
5229 ECHO='func_fallback_echo'
5232 # func_echo_all arg...
5233 # Invoke $ECHO with all args, space-separated.
5240 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5241 $as_echo "printf" >&6; } ;;
5242 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5243 $as_echo "print -r" >&6; } ;;
5244 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5245 $as_echo "cat" >&6; } ;;
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5262 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5263 if ${ac_cv_path_SED+:} false; then :
5264 $as_echo_n "(cached) " >&6
5266 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5267 for ac_i in 1 2 3 4 5 6 7; do
5268 ac_script="$ac_script$as_nl$ac_script"
5270 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5271 { ac_script=; unset ac_script;}
5272 if test -z "$SED"; then
5273 ac_path_SED_found=false
5274 # Loop through the user's path and test for each of PROGNAME-LIST
5275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5279 test -z "$as_dir" && as_dir=.
5280 for ac_prog in sed gsed; do
5281 for ac_exec_ext in '' $ac_executable_extensions; do
5282 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5283 as_fn_executable_p "$ac_path_SED" || continue
5284 # Check for GNU ac_path_SED and select it if it is found.
5285 # Check for GNU $ac_path_SED
5286 case `"$ac_path_SED" --version 2>&1` in
5288 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5291 $as_echo_n 0123456789 >"conftest.in"
5294 cat "conftest.in" "conftest.in" >"conftest.tmp"
5295 mv "conftest.tmp" "conftest.in"
5296 cp "conftest.in" "conftest.nl"
5297 $as_echo '' >> "conftest.nl"
5298 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5299 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5300 as_fn_arith $ac_count + 1 && ac_count=$as_val
5301 if test $ac_count -gt ${ac_path_SED_max-0}; then
5302 # Best one so far, save it but keep looking for a better one
5303 ac_cv_path_SED="$ac_path_SED"
5304 ac_path_SED_max=$ac_count
5306 # 10*(2^10) chars as input seems more than enough
5307 test $ac_count -gt 10 && break
5309 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5312 $ac_path_SED_found && break 3
5317 if test -z "$ac_cv_path_SED"; then
5318 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5326 $as_echo "$ac_cv_path_SED" >&6; }
5327 SED="$ac_cv_path_SED"
5330 test -z "$SED" && SED=sed
5331 Xsed="$SED -e 1s/^X//"
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5344 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5345 if ${ac_cv_path_GREP+:} false; then :
5346 $as_echo_n "(cached) " >&6
5348 if test -z "$GREP"; then
5349 ac_path_GREP_found=false
5350 # Loop through the user's path and test for each of PROGNAME-LIST
5351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5352 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5355 test -z "$as_dir" && as_dir=.
5356 for ac_prog in grep ggrep; do
5357 for ac_exec_ext in '' $ac_executable_extensions; do
5358 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5359 as_fn_executable_p "$ac_path_GREP" || continue
5360 # Check for GNU ac_path_GREP and select it if it is found.
5361 # Check for GNU $ac_path_GREP
5362 case `"$ac_path_GREP" --version 2>&1` in
5364 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5367 $as_echo_n 0123456789 >"conftest.in"
5370 cat "conftest.in" "conftest.in" >"conftest.tmp"
5371 mv "conftest.tmp" "conftest.in"
5372 cp "conftest.in" "conftest.nl"
5373 $as_echo 'GREP' >> "conftest.nl"
5374 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5375 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5376 as_fn_arith $ac_count + 1 && ac_count=$as_val
5377 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5378 # Best one so far, save it but keep looking for a better one
5379 ac_cv_path_GREP="$ac_path_GREP"
5380 ac_path_GREP_max=$ac_count
5382 # 10*(2^10) chars as input seems more than enough
5383 test $ac_count -gt 10 && break
5385 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5388 $ac_path_GREP_found && break 3
5393 if test -z "$ac_cv_path_GREP"; then
5394 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5397 ac_cv_path_GREP=$GREP
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5402 $as_echo "$ac_cv_path_GREP" >&6; }
5403 GREP="$ac_cv_path_GREP"
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5407 $as_echo_n "checking for egrep... " >&6; }
5408 if ${ac_cv_path_EGREP+:} false; then :
5409 $as_echo_n "(cached) " >&6
5411 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5412 then ac_cv_path_EGREP="$GREP -E"
5414 if test -z "$EGREP"; then
5415 ac_path_EGREP_found=false
5416 # Loop through the user's path and test for each of PROGNAME-LIST
5417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5418 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5421 test -z "$as_dir" && as_dir=.
5422 for ac_prog in egrep; do
5423 for ac_exec_ext in '' $ac_executable_extensions; do
5424 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5425 as_fn_executable_p "$ac_path_EGREP" || continue
5426 # Check for GNU ac_path_EGREP and select it if it is found.
5427 # Check for GNU $ac_path_EGREP
5428 case `"$ac_path_EGREP" --version 2>&1` in
5430 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5433 $as_echo_n 0123456789 >"conftest.in"
5436 cat "conftest.in" "conftest.in" >"conftest.tmp"
5437 mv "conftest.tmp" "conftest.in"
5438 cp "conftest.in" "conftest.nl"
5439 $as_echo 'EGREP' >> "conftest.nl"
5440 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5441 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5442 as_fn_arith $ac_count + 1 && ac_count=$as_val
5443 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5444 # Best one so far, save it but keep looking for a better one
5445 ac_cv_path_EGREP="$ac_path_EGREP"
5446 ac_path_EGREP_max=$ac_count
5448 # 10*(2^10) chars as input seems more than enough
5449 test $ac_count -gt 10 && break
5451 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5454 $ac_path_EGREP_found && break 3
5459 if test -z "$ac_cv_path_EGREP"; then
5460 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5463 ac_cv_path_EGREP=$EGREP
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5469 $as_echo "$ac_cv_path_EGREP" >&6; }
5470 EGREP="$ac_cv_path_EGREP"
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5474 $as_echo_n "checking for fgrep... " >&6; }
5475 if ${ac_cv_path_FGREP+:} false; then :
5476 $as_echo_n "(cached) " >&6
5478 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5479 then ac_cv_path_FGREP="$GREP -F"
5481 if test -z "$FGREP"; then
5482 ac_path_FGREP_found=false
5483 # Loop through the user's path and test for each of PROGNAME-LIST
5484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5485 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5488 test -z "$as_dir" && as_dir=.
5489 for ac_prog in fgrep; do
5490 for ac_exec_ext in '' $ac_executable_extensions; do
5491 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5492 as_fn_executable_p "$ac_path_FGREP" || continue
5493 # Check for GNU ac_path_FGREP and select it if it is found.
5494 # Check for GNU $ac_path_FGREP
5495 case `"$ac_path_FGREP" --version 2>&1` in
5497 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5500 $as_echo_n 0123456789 >"conftest.in"
5503 cat "conftest.in" "conftest.in" >"conftest.tmp"
5504 mv "conftest.tmp" "conftest.in"
5505 cp "conftest.in" "conftest.nl"
5506 $as_echo 'FGREP' >> "conftest.nl"
5507 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5508 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5509 as_fn_arith $ac_count + 1 && ac_count=$as_val
5510 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5511 # Best one so far, save it but keep looking for a better one
5512 ac_cv_path_FGREP="$ac_path_FGREP"
5513 ac_path_FGREP_max=$ac_count
5515 # 10*(2^10) chars as input seems more than enough
5516 test $ac_count -gt 10 && break
5518 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5521 $ac_path_FGREP_found && break 3
5526 if test -z "$ac_cv_path_FGREP"; then
5527 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5530 ac_cv_path_FGREP=$FGREP
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5536 $as_echo "$ac_cv_path_FGREP" >&6; }
5537 FGREP="$ac_cv_path_FGREP"
5540 test -z "$GREP" && GREP=grep
5560 # Check whether --with-gnu-ld was given.
5561 if test "${with_gnu_ld+set}" = set; then :
5562 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5568 if test "$GCC" = yes; then
5569 # Check if gcc -print-prog-name=ld gives a path.
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5571 $as_echo_n "checking for ld used by $CC... " >&6; }
5574 # gcc leaves a trailing carriage return which upsets mingw
5575 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5577 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5580 # Accept absolute paths.
5582 re_direlt='/[^/][^/]*/\.\./'
5583 # Canonicalize the pathname of ld
5584 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5585 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5586 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5588 test -z "$LD" && LD="$ac_prog"
5591 # If it fails, then pretend we aren't using GCC.
5595 # If it is relative, then search for the first ld in PATH.
5599 elif test "$with_gnu_ld" = yes; then
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5601 $as_echo_n "checking for GNU ld... " >&6; }
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5604 $as_echo_n "checking for non-GNU ld... " >&6; }
5606 if ${lt_cv_path_LD+:} false; then :
5607 $as_echo_n "(cached) " >&6
5609 if test -z "$LD"; then
5610 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5611 for ac_dir in $PATH; do
5613 test -z "$ac_dir" && ac_dir=.
5614 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5615 lt_cv_path_LD="$ac_dir/$ac_prog"
5616 # Check to see if the program is GNU ld. I'd rather use --version,
5617 # but apparently some variants of GNU ld only accept -v.
5618 # Break only if it was the GNU/non-GNU ld that we prefer.
5619 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5620 *GNU* | *'with BFD'*)
5621 test "$with_gnu_ld" != no && break
5624 test "$with_gnu_ld" != yes && break
5631 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5636 if test -n "$LD"; then
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5638 $as_echo "$LD" >&6; }
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5641 $as_echo "no" >&6; }
5643 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5645 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5646 if ${lt_cv_prog_gnu_ld+:} false; then :
5647 $as_echo_n "(cached) " >&6
5649 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5650 case `$LD -v 2>&1 </dev/null` in
5651 *GNU* | *'with BFD'*)
5652 lt_cv_prog_gnu_ld=yes
5655 lt_cv_prog_gnu_ld=no
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5660 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5661 with_gnu_ld=$lt_cv_prog_gnu_ld
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5672 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5673 if ${lt_cv_path_NM+:} false; then :
5674 $as_echo_n "(cached) " >&6
5676 if test -n "$NM"; then
5677 # Let the user override the test.
5680 lt_nm_to_check="${ac_tool_prefix}nm"
5681 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5682 lt_nm_to_check="$lt_nm_to_check nm"
5684 for lt_tmp_nm in $lt_nm_to_check; do
5685 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5686 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5688 test -z "$ac_dir" && ac_dir=.
5689 tmp_nm="$ac_dir/$lt_tmp_nm"
5690 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5691 # Check to see if the nm accepts a BSD-compat flag.
5692 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5693 # nm: unknown option "B" ignored
5694 # Tru64's nm complains that /dev/null is an invalid object file
5695 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5696 */dev/null* | *'Invalid file or object type'*)
5697 lt_cv_path_NM="$tmp_nm -B"
5701 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5703 lt_cv_path_NM="$tmp_nm -p"
5707 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5708 continue # so that we can try to find one that supports BSD flags
5717 : ${lt_cv_path_NM=no}
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5721 $as_echo "$lt_cv_path_NM" >&6; }
5722 if test "$lt_cv_path_NM" != "no"; then
5725 # Didn't find any BSD compatible name lister, look for dumpbin.
5726 if test -n "$DUMPBIN"; then :
5727 # Let the user override the test.
5729 if test -n "$ac_tool_prefix"; then
5730 for ac_prog in dumpbin "link -dump"
5732 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5733 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5735 $as_echo_n "checking for $ac_word... " >&6; }
5736 if ${ac_cv_prog_DUMPBIN+:} false; then :
5737 $as_echo_n "(cached) " >&6
5739 if test -n "$DUMPBIN"; then
5740 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5746 test -z "$as_dir" && as_dir=.
5747 for ac_exec_ext in '' $ac_executable_extensions; do
5748 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5749 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5759 DUMPBIN=$ac_cv_prog_DUMPBIN
5760 if test -n "$DUMPBIN"; then
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5762 $as_echo "$DUMPBIN" >&6; }
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5765 $as_echo "no" >&6; }
5769 test -n "$DUMPBIN" && break
5772 if test -z "$DUMPBIN"; then
5773 ac_ct_DUMPBIN=$DUMPBIN
5774 for ac_prog in dumpbin "link -dump"
5776 # Extract the first word of "$ac_prog", so it can be a program name with args.
5777 set dummy $ac_prog; ac_word=$2
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5779 $as_echo_n "checking for $ac_word... " >&6; }
5780 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5781 $as_echo_n "(cached) " >&6
5783 if test -n "$ac_ct_DUMPBIN"; then
5784 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5790 test -z "$as_dir" && as_dir=.
5791 for ac_exec_ext in '' $ac_executable_extensions; do
5792 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5793 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5803 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5804 if test -n "$ac_ct_DUMPBIN"; then
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5806 $as_echo "$ac_ct_DUMPBIN" >&6; }
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5809 $as_echo "no" >&6; }
5813 test -n "$ac_ct_DUMPBIN" && break
5816 if test "x$ac_ct_DUMPBIN" = x; then
5819 case $cross_compiling:$ac_tool_warned in
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5822 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5823 ac_tool_warned=yes ;;
5825 DUMPBIN=$ac_ct_DUMPBIN
5829 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5831 DUMPBIN="$DUMPBIN -symbols"
5839 if test "$DUMPBIN" != ":"; then
5843 test -z "$NM" && NM=nm
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5851 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5852 if ${lt_cv_nm_interface+:} false; then :
5853 $as_echo_n "(cached) " >&6
5855 lt_cv_nm_interface="BSD nm"
5856 echo "int some_variable = 0;" > conftest.$ac_ext
5857 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5858 (eval "$ac_compile" 2>conftest.err)
5859 cat conftest.err >&5
5860 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5861 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5862 cat conftest.err >&5
5863 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5864 cat conftest.out >&5
5865 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5866 lt_cv_nm_interface="MS dumpbin"
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5871 $as_echo "$lt_cv_nm_interface" >&6; }
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5874 $as_echo_n "checking whether ln -s works... " >&6; }
5876 if test "$LN_S" = "ln -s"; then
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5878 $as_echo "yes" >&6; }
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5881 $as_echo "no, using $LN_S" >&6; }
5884 # find the maximum length of command line arguments
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5886 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5887 if ${lt_cv_sys_max_cmd_len+:} false; then :
5888 $as_echo_n "(cached) " >&6
5895 # On DJGPP, this test can blow up pretty badly due to problems in libc
5896 # (any single argument exceeding 2000 bytes causes a buffer overrun
5897 # during glob expansion). Even if it were fixed, the result of this
5898 # check would be larger than it should be.
5899 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5903 # Under GNU Hurd, this test is not required because there is
5904 # no limit to the length of command line arguments.
5905 # Libtool will interpret -1 as no limit whatsoever
5906 lt_cv_sys_max_cmd_len=-1;
5909 cygwin* | mingw* | cegcc*)
5910 # On Win9x/ME, this test blows up -- it succeeds, but takes
5911 # about 5 minutes as the teststring grows exponentially.
5912 # Worse, since 9x/ME are not pre-emptively multitasking,
5913 # you end up with a "frozen" computer, even though with patience
5914 # the test eventually succeeds (with a max line length of 256k).
5915 # Instead, let's just punt: use the minimum linelength reported by
5916 # all of the supported platforms: 8192 (on NT/2K/XP).
5917 lt_cv_sys_max_cmd_len=8192;
5921 # On MiNT this can take a long time and run out of memory.
5922 lt_cv_sys_max_cmd_len=8192;
5926 # On AmigaOS with pdksh, this test takes hours, literally.
5927 # So we just punt and use a minimum line length of 8192.
5928 lt_cv_sys_max_cmd_len=8192;
5931 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5932 # This has been around since 386BSD, at least. Likely further.
5933 if test -x /sbin/sysctl; then
5934 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5935 elif test -x /usr/sbin/sysctl; then
5936 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5938 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5940 # And add a safety zone
5941 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5942 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5946 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5947 lt_cv_sys_max_cmd_len=196608
5951 # The test takes a long time on OS/2.
5952 lt_cv_sys_max_cmd_len=8192
5956 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5957 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5958 # nice to cause kernel panics so lets avoid the loop below.
5959 # First set a reasonable default.
5960 lt_cv_sys_max_cmd_len=16384
5962 if test -x /sbin/sysconfig; then
5963 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5964 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5969 lt_cv_sys_max_cmd_len=102400
5971 sysv5* | sco5v6* | sysv4.2uw2*)
5972 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5973 if test -n "$kargmax"; then
5974 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5976 lt_cv_sys_max_cmd_len=32768
5980 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5981 if test -n "$lt_cv_sys_max_cmd_len"; then
5982 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5983 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5985 # Make teststring a little bigger before we do anything with it.
5986 # a 1K string should be a reasonable start.
5987 for i in 1 2 3 4 5 6 7 8 ; do
5988 teststring=$teststring$teststring
5990 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5991 # If test is not a shell built-in, we'll probably end up computing a
5992 # maximum length that is only half of the actual maximum length, but
5994 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5995 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5996 test $i != 17 # 1/2 MB should be enough
5999 teststring=$teststring$teststring
6001 # Only check the string length outside the loop.
6002 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6004 # Add a significant safety factor because C++ compilers can tack on
6005 # massive amounts of additional arguments before passing them to the
6006 # linker. It appears as though 1/2 is a usable value.
6007 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6014 if test -n $lt_cv_sys_max_cmd_len ; then
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6016 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6019 $as_echo "none" >&6; }
6021 max_cmd_len=$lt_cv_sys_max_cmd_len
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6033 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6034 # Try some XSI features
6037 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6039 && eval 'test $(( 1 + 1 )) -eq 2 \
6040 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6043 $as_echo "$xsi_shell" >&6; }
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6047 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6049 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6051 && lt_shell_append=yes
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6053 $as_echo "$lt_shell_append" >&6; }
6056 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6066 # test EBCDIC or ASCII
6067 case `echo X|tr X '\101'` in
6068 A) # ASCII based system
6069 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6070 lt_SP2NL='tr \040 \012'
6071 lt_NL2SP='tr \015\012 \040\040'
6073 *) # EBCDIC based system
6074 lt_SP2NL='tr \100 \n'
6075 lt_NL2SP='tr \r\n \100\100'
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6088 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6089 if ${lt_cv_to_host_file_cmd+:} false; then :
6090 $as_echo_n "(cached) " >&6
6095 *-*-mingw* ) # actually msys
6096 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6099 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6101 * ) # otherwise, assume *nix
6102 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6108 *-*-mingw* ) # actually msys
6109 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6112 lt_cv_to_host_file_cmd=func_convert_file_noop
6114 * ) # otherwise, assume *nix
6115 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6119 * ) # unhandled hosts (and "normal" native builds)
6120 lt_cv_to_host_file_cmd=func_convert_file_noop
6126 to_host_file_cmd=$lt_cv_to_host_file_cmd
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6128 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6135 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6136 if ${lt_cv_to_tool_file_cmd+:} false; then :
6137 $as_echo_n "(cached) " >&6
6139 #assume ordinary cross tools, or native build.
6140 lt_cv_to_tool_file_cmd=func_convert_file_noop
6144 *-*-mingw* ) # actually msys
6145 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6153 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6155 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6162 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6163 if ${lt_cv_ld_reload_flag+:} false; then :
6164 $as_echo_n "(cached) " >&6
6166 lt_cv_ld_reload_flag='-r'
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6169 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6170 reload_flag=$lt_cv_ld_reload_flag
6171 case $reload_flag in
6173 *) reload_flag=" $reload_flag" ;;
6175 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6177 cygwin* | mingw* | pw32* | cegcc*)
6178 if test "$GCC" != yes; then
6183 if test "$GCC" = yes; then
6184 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6186 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6199 if test -n "$ac_tool_prefix"; then
6200 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6201 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6203 $as_echo_n "checking for $ac_word... " >&6; }
6204 if ${ac_cv_prog_OBJDUMP+:} false; then :
6205 $as_echo_n "(cached) " >&6
6207 if test -n "$OBJDUMP"; then
6208 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6214 test -z "$as_dir" && as_dir=.
6215 for ac_exec_ext in '' $ac_executable_extensions; do
6216 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6217 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6227 OBJDUMP=$ac_cv_prog_OBJDUMP
6228 if test -n "$OBJDUMP"; then
6229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6230 $as_echo "$OBJDUMP" >&6; }
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6233 $as_echo "no" >&6; }
6238 if test -z "$ac_cv_prog_OBJDUMP"; then
6239 ac_ct_OBJDUMP=$OBJDUMP
6240 # Extract the first word of "objdump", so it can be a program name with args.
6241 set dummy objdump; ac_word=$2
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6243 $as_echo_n "checking for $ac_word... " >&6; }
6244 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6245 $as_echo_n "(cached) " >&6
6247 if test -n "$ac_ct_OBJDUMP"; then
6248 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6254 test -z "$as_dir" && as_dir=.
6255 for ac_exec_ext in '' $ac_executable_extensions; do
6256 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6257 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6267 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6268 if test -n "$ac_ct_OBJDUMP"; then
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6270 $as_echo "$ac_ct_OBJDUMP" >&6; }
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6273 $as_echo "no" >&6; }
6276 if test "x$ac_ct_OBJDUMP" = x; then
6279 case $cross_compiling:$ac_tool_warned in
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6282 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6283 ac_tool_warned=yes ;;
6285 OBJDUMP=$ac_ct_OBJDUMP
6288 OBJDUMP="$ac_cv_prog_OBJDUMP"
6291 test -z "$OBJDUMP" && OBJDUMP=objdump
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6302 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6303 if ${lt_cv_deplibs_check_method+:} false; then :
6304 $as_echo_n "(cached) " >&6
6306 lt_cv_file_magic_cmd='$MAGIC_CMD'
6307 lt_cv_file_magic_test_file=
6308 lt_cv_deplibs_check_method='unknown'
6309 # Need to set the preceding variable on all platforms that support
6310 # interlibrary dependencies.
6311 # 'none' -- dependencies not supported.
6312 # `unknown' -- same as none, but documents that we really don't know.
6313 # 'pass_all' -- all dependencies passed with no checks.
6314 # 'test_compile' -- check by making test program.
6315 # 'file_magic [[regex]]' -- check by looking for files in library path
6316 # which responds to the $file_magic_cmd with a given extended regex.
6317 # If you have `file' or equivalent on your system and you're not sure
6318 # whether `pass_all' will *always* work, you probably want this one.
6322 lt_cv_deplibs_check_method=pass_all
6326 lt_cv_deplibs_check_method=pass_all
6330 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6331 lt_cv_file_magic_cmd='/usr/bin/file -L'
6332 lt_cv_file_magic_test_file=/shlib/libc.so
6336 # func_win32_libid is a shell function defined in ltmain.sh
6337 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6338 lt_cv_file_magic_cmd='func_win32_libid'
6342 # Base MSYS/MinGW do not provide the 'file' command needed by
6343 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6344 # unless we find 'file', for example because we are cross-compiling.
6345 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6346 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6347 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6348 lt_cv_file_magic_cmd='func_win32_libid'
6350 # Keep this pattern in sync with the one in func_win32_libid.
6351 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6352 lt_cv_file_magic_cmd='$OBJDUMP -f'
6357 # use the weaker test based on 'objdump'. See mingw*.
6358 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6359 lt_cv_file_magic_cmd='$OBJDUMP -f'
6362 darwin* | rhapsody*)
6363 lt_cv_deplibs_check_method=pass_all
6366 freebsd* | dragonfly*)
6367 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6370 # Not sure whether the presence of OpenBSD here was a mistake.
6371 # Let's accept both of them until this is cleared up.
6372 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6373 lt_cv_file_magic_cmd=/usr/bin/file
6374 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6378 lt_cv_deplibs_check_method=pass_all
6383 lt_cv_deplibs_check_method=pass_all
6386 hpux10.20* | hpux11*)
6387 lt_cv_file_magic_cmd=/usr/bin/file
6390 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6391 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6394 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]'
6395 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6398 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6399 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6405 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6406 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6409 irix5* | irix6* | nonstopux*)
6411 *-32|*"-32 ") libmagic=32-bit;;
6412 *-n32|*"-n32 ") libmagic=N32;;
6413 *-64|*"-64 ") libmagic=64-bit;;
6414 *) libmagic=never-match;;
6416 lt_cv_deplibs_check_method=pass_all
6419 # This must be glibc/ELF.
6420 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6421 lt_cv_deplibs_check_method=pass_all
6424 netbsd* | netbsdelf*-gnu)
6425 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6426 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6428 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6433 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6434 lt_cv_file_magic_cmd=/usr/bin/file
6435 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6439 lt_cv_deplibs_check_method=pass_all
6443 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6444 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6446 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6450 osf3* | osf4* | osf5*)
6451 lt_cv_deplibs_check_method=pass_all
6455 lt_cv_deplibs_check_method=pass_all
6459 lt_cv_deplibs_check_method=pass_all
6462 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6463 lt_cv_deplibs_check_method=pass_all
6467 case $host_vendor in
6469 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]'
6470 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6473 lt_cv_deplibs_check_method=pass_all
6476 lt_cv_file_magic_cmd='/bin/file'
6477 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6480 lt_cv_file_magic_cmd='/bin/file'
6481 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6482 lt_cv_file_magic_test_file=/lib/libc.so
6485 lt_cv_deplibs_check_method=pass_all
6488 lt_cv_deplibs_check_method=pass_all
6494 lt_cv_deplibs_check_method=pass_all
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6500 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6504 if test "$build" = "$host"; then
6507 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6510 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6516 file_magic_cmd=$lt_cv_file_magic_cmd
6517 deplibs_check_method=$lt_cv_deplibs_check_method
6518 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6541 if test -n "$ac_tool_prefix"; then
6542 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6543 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6545 $as_echo_n "checking for $ac_word... " >&6; }
6546 if ${ac_cv_prog_DLLTOOL+:} false; then :
6547 $as_echo_n "(cached) " >&6
6549 if test -n "$DLLTOOL"; then
6550 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6556 test -z "$as_dir" && as_dir=.
6557 for ac_exec_ext in '' $ac_executable_extensions; do
6558 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6559 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6569 DLLTOOL=$ac_cv_prog_DLLTOOL
6570 if test -n "$DLLTOOL"; then
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6572 $as_echo "$DLLTOOL" >&6; }
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6575 $as_echo "no" >&6; }
6580 if test -z "$ac_cv_prog_DLLTOOL"; then
6581 ac_ct_DLLTOOL=$DLLTOOL
6582 # Extract the first word of "dlltool", so it can be a program name with args.
6583 set dummy dlltool; ac_word=$2
6584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6585 $as_echo_n "checking for $ac_word... " >&6; }
6586 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6587 $as_echo_n "(cached) " >&6
6589 if test -n "$ac_ct_DLLTOOL"; then
6590 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6596 test -z "$as_dir" && as_dir=.
6597 for ac_exec_ext in '' $ac_executable_extensions; do
6598 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6599 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6609 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6610 if test -n "$ac_ct_DLLTOOL"; then
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6612 $as_echo "$ac_ct_DLLTOOL" >&6; }
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6615 $as_echo "no" >&6; }
6618 if test "x$ac_ct_DLLTOOL" = x; then
6621 case $cross_compiling:$ac_tool_warned in
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6624 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6625 ac_tool_warned=yes ;;
6627 DLLTOOL=$ac_ct_DLLTOOL
6630 DLLTOOL="$ac_cv_prog_DLLTOOL"
6633 test -z "$DLLTOOL" && DLLTOOL=dlltool
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6645 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6646 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6647 $as_echo_n "(cached) " >&6
6649 lt_cv_sharedlib_from_linklib_cmd='unknown'
6652 cygwin* | mingw* | pw32* | cegcc*)
6653 # two different shell functions defined in ltmain.sh
6654 # decide which to use based on capabilities of $DLLTOOL
6655 case `$DLLTOOL --help 2>&1` in
6656 *--identify-strict*)
6657 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6660 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6665 # fallback: assume linklib IS sharedlib
6666 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6672 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6673 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6674 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6683 if test -n "$ac_tool_prefix"; then
6686 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6687 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6689 $as_echo_n "checking for $ac_word... " >&6; }
6690 if ${ac_cv_prog_AR+:} false; then :
6691 $as_echo_n "(cached) " >&6
6693 if test -n "$AR"; then
6694 ac_cv_prog_AR="$AR" # Let the user override the test.
6696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6700 test -z "$as_dir" && as_dir=.
6701 for ac_exec_ext in '' $ac_executable_extensions; do
6702 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6703 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6714 if test -n "$AR"; then
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6716 $as_echo "$AR" >&6; }
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6719 $as_echo "no" >&6; }
6723 test -n "$AR" && break
6726 if test -z "$AR"; then
6730 # Extract the first word of "$ac_prog", so it can be a program name with args.
6731 set dummy $ac_prog; ac_word=$2
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6733 $as_echo_n "checking for $ac_word... " >&6; }
6734 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6735 $as_echo_n "(cached) " >&6
6737 if test -n "$ac_ct_AR"; then
6738 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6744 test -z "$as_dir" && as_dir=.
6745 for ac_exec_ext in '' $ac_executable_extensions; do
6746 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6747 ac_cv_prog_ac_ct_AR="$ac_prog"
6748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6757 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6758 if test -n "$ac_ct_AR"; then
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6760 $as_echo "$ac_ct_AR" >&6; }
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6763 $as_echo "no" >&6; }
6767 test -n "$ac_ct_AR" && break
6770 if test "x$ac_ct_AR" = x; then
6773 case $cross_compiling:$ac_tool_warned in
6775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6776 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6777 ac_tool_warned=yes ;;
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6797 $as_echo_n "checking for archiver @FILE support... " >&6; }
6798 if ${lt_cv_ar_at_file+:} false; then :
6799 $as_echo_n "(cached) " >&6
6802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6803 /* end confdefs.h. */
6813 if ac_fn_c_try_compile "$LINENO"; then :
6814 echo conftest.$ac_objext > conftest.lst
6815 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6816 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6817 (eval $lt_ar_try) 2>&5
6819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6820 test $ac_status = 0; }
6821 if test "$ac_status" -eq 0; then
6822 # Ensure the archiver fails upon bogus file names.
6823 rm -f conftest.$ac_objext libconftest.a
6824 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6825 (eval $lt_ar_try) 2>&5
6827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6828 test $ac_status = 0; }
6829 if test "$ac_status" -ne 0; then
6833 rm -f conftest.* libconftest.a
6836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6840 $as_echo "$lt_cv_ar_at_file" >&6; }
6842 if test "x$lt_cv_ar_at_file" = xno; then
6845 archiver_list_spec=$lt_cv_ar_at_file
6854 if test -n "$ac_tool_prefix"; then
6855 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6856 set dummy ${ac_tool_prefix}strip; ac_word=$2
6857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6858 $as_echo_n "checking for $ac_word... " >&6; }
6859 if ${ac_cv_prog_STRIP+:} false; then :
6860 $as_echo_n "(cached) " >&6
6862 if test -n "$STRIP"; then
6863 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6869 test -z "$as_dir" && as_dir=.
6870 for ac_exec_ext in '' $ac_executable_extensions; do
6871 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6872 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6882 STRIP=$ac_cv_prog_STRIP
6883 if test -n "$STRIP"; then
6884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6885 $as_echo "$STRIP" >&6; }
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6888 $as_echo "no" >&6; }
6893 if test -z "$ac_cv_prog_STRIP"; then
6895 # Extract the first word of "strip", so it can be a program name with args.
6896 set dummy strip; ac_word=$2
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6898 $as_echo_n "checking for $ac_word... " >&6; }
6899 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6900 $as_echo_n "(cached) " >&6
6902 if test -n "$ac_ct_STRIP"; then
6903 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6909 test -z "$as_dir" && as_dir=.
6910 for ac_exec_ext in '' $ac_executable_extensions; do
6911 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6912 ac_cv_prog_ac_ct_STRIP="strip"
6913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6922 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6923 if test -n "$ac_ct_STRIP"; then
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6925 $as_echo "$ac_ct_STRIP" >&6; }
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6928 $as_echo "no" >&6; }
6931 if test "x$ac_ct_STRIP" = x; then
6934 case $cross_compiling:$ac_tool_warned in
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6937 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6938 ac_tool_warned=yes ;;
6943 STRIP="$ac_cv_prog_STRIP"
6946 test -z "$STRIP" && STRIP=:
6953 if test -n "$ac_tool_prefix"; then
6954 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6955 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6957 $as_echo_n "checking for $ac_word... " >&6; }
6958 if ${ac_cv_prog_RANLIB+:} false; then :
6959 $as_echo_n "(cached) " >&6
6961 if test -n "$RANLIB"; then
6962 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6968 test -z "$as_dir" && as_dir=.
6969 for ac_exec_ext in '' $ac_executable_extensions; do
6970 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6971 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6981 RANLIB=$ac_cv_prog_RANLIB
6982 if test -n "$RANLIB"; then
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6984 $as_echo "$RANLIB" >&6; }
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6987 $as_echo "no" >&6; }
6992 if test -z "$ac_cv_prog_RANLIB"; then
6993 ac_ct_RANLIB=$RANLIB
6994 # Extract the first word of "ranlib", so it can be a program name with args.
6995 set dummy ranlib; ac_word=$2
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6997 $as_echo_n "checking for $ac_word... " >&6; }
6998 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6999 $as_echo_n "(cached) " >&6
7001 if test -n "$ac_ct_RANLIB"; then
7002 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7008 test -z "$as_dir" && as_dir=.
7009 for ac_exec_ext in '' $ac_executable_extensions; do
7010 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7011 ac_cv_prog_ac_ct_RANLIB="ranlib"
7012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7021 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7022 if test -n "$ac_ct_RANLIB"; then
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7024 $as_echo "$ac_ct_RANLIB" >&6; }
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7027 $as_echo "no" >&6; }
7030 if test "x$ac_ct_RANLIB" = x; then
7033 case $cross_compiling:$ac_tool_warned in
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7036 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7037 ac_tool_warned=yes ;;
7039 RANLIB=$ac_ct_RANLIB
7042 RANLIB="$ac_cv_prog_RANLIB"
7045 test -z "$RANLIB" && RANLIB=:
7052 # Determine commands to create old-style static archives.
7053 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7054 old_postinstall_cmds='chmod 644 $oldlib'
7055 old_postuninstall_cmds=
7057 if test -n "$RANLIB"; then
7060 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7063 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7066 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7071 lock_old_archive_extraction=yes ;;
7073 lock_old_archive_extraction=no ;;
7114 # If no C compiler was specified, use CC.
7117 # If no C compiler flags were specified, use CFLAGS.
7118 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7120 # Allow CC to be a program name with arguments.
7124 # Check for command to grab the raw symbol name followed by C symbol from nm.
7125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7126 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7127 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7128 $as_echo_n "(cached) " >&6
7131 # These are sane defaults that work on at least a few old systems.
7132 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7134 # Character class describing NM global symbol codes.
7135 symcode='[BCDEGRST]'
7137 # Regexp to match symbols that can be accessed directly from C.
7138 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7140 # Define system-specific variables.
7145 cygwin* | mingw* | pw32* | cegcc*)
7146 symcode='[ABCDGISTW]'
7149 if test "$host_cpu" = ia64; then
7150 symcode='[ABCDEGRST]'
7154 symcode='[BCDEGRST]'
7157 symcode='[BCDEGQRST]'
7168 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7176 # If we're using GNU nm, then use its standard symbol codes.
7177 case `$NM -V 2>&1` in
7178 *GNU* | *'with BFD'*)
7179 symcode='[ABCDGIRSTW]' ;;
7182 # Transform an extracted symbol line into a proper C declaration.
7183 # Some systems (esp. on ia64) link data and code symbols differently,
7184 # so use this general approach.
7185 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7187 # Transform an extracted symbol line into symbol name and symbol address
7188 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7189 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'"
7191 # Handle CRLF in mingw tool chain
7195 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7199 # Try without a prefix underscore, then with it.
7200 for ac_symprfx in "" "_"; do
7202 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7203 symxfrm="\\1 $ac_symprfx\\2 \\2"
7205 # Write the raw and C identifiers.
7206 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7207 # Fake it for dumpbin and say T for any non-static function
7208 # and D for any global variable.
7209 # Also find C++ and __fastcall symbols from MSVC++,
7210 # which start with @ or ?.
7211 lt_cv_sys_global_symbol_pipe="$AWK '"\
7212 " {last_section=section; section=\$ 3};"\
7213 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7214 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7215 " \$ 0!~/External *\|/{next};"\
7216 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7217 " {if(hide[section]) next};"\
7218 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7219 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7220 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7221 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7222 " ' prfx=^$ac_symprfx"
7224 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7226 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7228 # Check to see that the pipe works correctly.
7232 cat > conftest.$ac_ext <<_LT_EOF
7237 void nm_test_func(void);
7238 void nm_test_func(void){}
7242 int main(){nm_test_var='a';nm_test_func();return(0);}
7245 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7246 (eval $ac_compile) 2>&5
7248 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7249 test $ac_status = 0; }; then
7250 # Now try to grab the symbols.
7252 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7253 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7255 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7256 test $ac_status = 0; } && test -s "$nlist"; then
7257 # Try sorting and uniquifying the output.
7258 if sort "$nlist" | uniq > "$nlist"T; then
7259 mv -f "$nlist"T "$nlist"
7264 # Make sure that we snagged all the symbols we need.
7265 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7266 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7267 cat <<_LT_EOF > conftest.$ac_ext
7268 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7269 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7270 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7271 relocations are performed -- see ld's documentation on pseudo-relocs. */
7272 # define LT_DLSYM_CONST
7273 #elif defined(__osf__)
7274 /* This system does not cope well with relocations in const data. */
7275 # define LT_DLSYM_CONST
7277 # define LT_DLSYM_CONST const
7285 # Now generate the symbol file.
7286 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7288 cat <<_LT_EOF >> conftest.$ac_ext
7290 /* The mapping between symbol names and symbols. */
7291 LT_DLSYM_CONST struct {
7295 lt__PROGRAM__LTX_preloaded_symbols[] =
7297 { "@PROGRAM@", (void *) 0 },
7299 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7300 cat <<\_LT_EOF >> conftest.$ac_ext
7304 /* This works around a problem in FreeBSD linker */
7305 #ifdef FREEBSD_WORKAROUND
7306 static const void *lt_preloaded_setup() {
7307 return lt__PROGRAM__LTX_preloaded_symbols;
7315 # Now try linking the two files.
7316 mv conftest.$ac_objext conftstm.$ac_objext
7317 lt_globsym_save_LIBS=$LIBS
7318 lt_globsym_save_CFLAGS=$CFLAGS
7319 LIBS="conftstm.$ac_objext"
7320 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7321 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7322 (eval $ac_link) 2>&5
7324 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7325 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7328 LIBS=$lt_globsym_save_LIBS
7329 CFLAGS=$lt_globsym_save_CFLAGS
7331 echo "cannot find nm_test_func in $nlist" >&5
7334 echo "cannot find nm_test_var in $nlist" >&5
7337 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7340 echo "$progname: failed program was:" >&5
7341 cat conftest.$ac_ext >&5
7343 rm -rf conftest* conftst*
7345 # Do not use the global_symbol_pipe unless it works.
7346 if test "$pipe_works" = yes; then
7349 lt_cv_sys_global_symbol_pipe=
7355 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7356 lt_cv_sys_global_symbol_to_cdecl=
7358 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7360 $as_echo "failed" >&6; }
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7363 $as_echo "ok" >&6; }
7366 # Response file support.
7367 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7368 nm_file_list_spec='@'
7369 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7370 nm_file_list_spec='@'
7399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7400 $as_echo_n "checking for sysroot... " >&6; }
7402 # Check whether --with-sysroot was given.
7403 if test "${with_sysroot+set}" = set; then :
7404 withval=$with_sysroot;
7411 case ${with_sysroot} in #(
7413 if test "$GCC" = yes; then
7414 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7418 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7424 $as_echo "${with_sysroot}" >&6; }
7425 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7430 $as_echo "${lt_sysroot:-no}" >&6; }
7436 # Check whether --enable-libtool-lock was given.
7437 if test "${enable_libtool_lock+set}" = set; then :
7438 enableval=$enable_libtool_lock;
7441 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7443 # Some flags need to be propagated to the compiler or linker for good
7447 # Find out which ABI we are using.
7448 echo 'int i;' > conftest.$ac_ext
7449 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7450 (eval $ac_compile) 2>&5
7452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7453 test $ac_status = 0; }; then
7454 case `/usr/bin/file conftest.$ac_objext` in
7466 # Find out which ABI we are using.
7467 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7468 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7469 (eval $ac_compile) 2>&5
7471 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7472 test $ac_status = 0; }; then
7473 if test "$lt_cv_prog_gnu_ld" = yes; then
7474 case `/usr/bin/file conftest.$ac_objext` in
7476 LD="${LD-ld} -melf32bsmip"
7479 LD="${LD-ld} -melf32bmipn32"
7482 LD="${LD-ld} -melf64bmip"
7486 case `/usr/bin/file conftest.$ac_objext` in
7502 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7503 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7504 # Find out which ABI we are using.
7505 echo 'int i;' > conftest.$ac_ext
7506 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7507 (eval $ac_compile) 2>&5
7509 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7510 test $ac_status = 0; }; then
7511 case `/usr/bin/file conftest.o` in
7514 x86_64-*kfreebsd*-gnu)
7515 LD="${LD-ld} -m elf_i386_fbsd"
7518 LD="${LD-ld} -m elf_i386"
7520 ppc64-*linux*|powerpc64-*linux*)
7521 LD="${LD-ld} -m elf32ppclinux"
7524 LD="${LD-ld} -m elf_s390"
7527 LD="${LD-ld} -m elf32_sparc"
7533 x86_64-*kfreebsd*-gnu)
7534 LD="${LD-ld} -m elf_x86_64_fbsd"
7537 LD="${LD-ld} -m elf_x86_64"
7539 ppc*-*linux*|powerpc*-*linux*)
7540 LD="${LD-ld} -m elf64ppc"
7542 s390*-*linux*|s390*-*tpf*)
7543 LD="${LD-ld} -m elf64_s390"
7546 LD="${LD-ld} -m elf64_sparc"
7556 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7557 SAVE_CFLAGS="$CFLAGS"
7558 CFLAGS="$CFLAGS -belf"
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7560 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7561 if ${lt_cv_cc_needs_belf+:} false; then :
7562 $as_echo_n "(cached) " >&6
7565 ac_cpp='$CPP $CPPFLAGS'
7566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7571 /* end confdefs.h. */
7581 if ac_fn_c_try_link "$LINENO"; then :
7582 lt_cv_cc_needs_belf=yes
7584 lt_cv_cc_needs_belf=no
7586 rm -f core conftest.err conftest.$ac_objext \
7587 conftest$ac_exeext conftest.$ac_ext
7589 ac_cpp='$CPP $CPPFLAGS'
7590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7596 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7597 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7598 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7599 CFLAGS="$SAVE_CFLAGS"
7603 # Find out which ABI we are using.
7604 echo 'int i;' > conftest.$ac_ext
7605 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7606 (eval $ac_compile) 2>&5
7608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7609 test $ac_status = 0; }; then
7610 case `/usr/bin/file conftest.o` in
7612 case $lt_cv_prog_gnu_ld in
7616 LD="${LD-ld} -m elf_x86_64"
7619 LD="${LD-ld} -m elf64_sparc"
7622 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7623 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7628 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7640 need_locks="$enable_libtool_lock"
7642 if test -n "$ac_tool_prefix"; then
7643 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7644 set dummy ${ac_tool_prefix}mt; ac_word=$2
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7646 $as_echo_n "checking for $ac_word... " >&6; }
7647 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7648 $as_echo_n "(cached) " >&6
7650 if test -n "$MANIFEST_TOOL"; then
7651 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7657 test -z "$as_dir" && as_dir=.
7658 for ac_exec_ext in '' $ac_executable_extensions; do
7659 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7660 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7670 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7671 if test -n "$MANIFEST_TOOL"; then
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7673 $as_echo "$MANIFEST_TOOL" >&6; }
7675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7676 $as_echo "no" >&6; }
7681 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7682 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7683 # Extract the first word of "mt", so it can be a program name with args.
7684 set dummy mt; ac_word=$2
7685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7686 $as_echo_n "checking for $ac_word... " >&6; }
7687 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7688 $as_echo_n "(cached) " >&6
7690 if test -n "$ac_ct_MANIFEST_TOOL"; then
7691 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7697 test -z "$as_dir" && as_dir=.
7698 for ac_exec_ext in '' $ac_executable_extensions; do
7699 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7700 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7710 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7711 if test -n "$ac_ct_MANIFEST_TOOL"; then
7712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7713 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7716 $as_echo "no" >&6; }
7719 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7722 case $cross_compiling:$ac_tool_warned in
7724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7725 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7726 ac_tool_warned=yes ;;
7728 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7731 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7734 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7736 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7737 if ${lt_cv_path_mainfest_tool+:} false; then :
7738 $as_echo_n "(cached) " >&6
7740 lt_cv_path_mainfest_tool=no
7741 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7742 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7743 cat conftest.err >&5
7744 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7745 lt_cv_path_mainfest_tool=yes
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7750 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7751 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7761 rhapsody* | darwin*)
7762 if test -n "$ac_tool_prefix"; then
7763 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7764 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7766 $as_echo_n "checking for $ac_word... " >&6; }
7767 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7768 $as_echo_n "(cached) " >&6
7770 if test -n "$DSYMUTIL"; then
7771 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7777 test -z "$as_dir" && as_dir=.
7778 for ac_exec_ext in '' $ac_executable_extensions; do
7779 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7780 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7790 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7791 if test -n "$DSYMUTIL"; then
7792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7793 $as_echo "$DSYMUTIL" >&6; }
7795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7796 $as_echo "no" >&6; }
7801 if test -z "$ac_cv_prog_DSYMUTIL"; then
7802 ac_ct_DSYMUTIL=$DSYMUTIL
7803 # Extract the first word of "dsymutil", so it can be a program name with args.
7804 set dummy dsymutil; ac_word=$2
7805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7806 $as_echo_n "checking for $ac_word... " >&6; }
7807 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7808 $as_echo_n "(cached) " >&6
7810 if test -n "$ac_ct_DSYMUTIL"; then
7811 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7817 test -z "$as_dir" && as_dir=.
7818 for ac_exec_ext in '' $ac_executable_extensions; do
7819 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7820 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7830 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7831 if test -n "$ac_ct_DSYMUTIL"; then
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7833 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7836 $as_echo "no" >&6; }
7839 if test "x$ac_ct_DSYMUTIL" = x; then
7842 case $cross_compiling:$ac_tool_warned in
7844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7845 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7846 ac_tool_warned=yes ;;
7848 DSYMUTIL=$ac_ct_DSYMUTIL
7851 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7854 if test -n "$ac_tool_prefix"; then
7855 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7856 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7858 $as_echo_n "checking for $ac_word... " >&6; }
7859 if ${ac_cv_prog_NMEDIT+:} false; then :
7860 $as_echo_n "(cached) " >&6
7862 if test -n "$NMEDIT"; then
7863 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7869 test -z "$as_dir" && as_dir=.
7870 for ac_exec_ext in '' $ac_executable_extensions; do
7871 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7872 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7882 NMEDIT=$ac_cv_prog_NMEDIT
7883 if test -n "$NMEDIT"; then
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7885 $as_echo "$NMEDIT" >&6; }
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7888 $as_echo "no" >&6; }
7893 if test -z "$ac_cv_prog_NMEDIT"; then
7894 ac_ct_NMEDIT=$NMEDIT
7895 # Extract the first word of "nmedit", so it can be a program name with args.
7896 set dummy nmedit; ac_word=$2
7897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7898 $as_echo_n "checking for $ac_word... " >&6; }
7899 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7900 $as_echo_n "(cached) " >&6
7902 if test -n "$ac_ct_NMEDIT"; then
7903 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7909 test -z "$as_dir" && as_dir=.
7910 for ac_exec_ext in '' $ac_executable_extensions; do
7911 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7912 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7922 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7923 if test -n "$ac_ct_NMEDIT"; then
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7925 $as_echo "$ac_ct_NMEDIT" >&6; }
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7928 $as_echo "no" >&6; }
7931 if test "x$ac_ct_NMEDIT" = x; then
7934 case $cross_compiling:$ac_tool_warned in
7936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7937 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7938 ac_tool_warned=yes ;;
7940 NMEDIT=$ac_ct_NMEDIT
7943 NMEDIT="$ac_cv_prog_NMEDIT"
7946 if test -n "$ac_tool_prefix"; then
7947 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7948 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7950 $as_echo_n "checking for $ac_word... " >&6; }
7951 if ${ac_cv_prog_LIPO+:} false; then :
7952 $as_echo_n "(cached) " >&6
7954 if test -n "$LIPO"; then
7955 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7961 test -z "$as_dir" && as_dir=.
7962 for ac_exec_ext in '' $ac_executable_extensions; do
7963 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7964 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7974 LIPO=$ac_cv_prog_LIPO
7975 if test -n "$LIPO"; then
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7977 $as_echo "$LIPO" >&6; }
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7980 $as_echo "no" >&6; }
7985 if test -z "$ac_cv_prog_LIPO"; then
7987 # Extract the first word of "lipo", so it can be a program name with args.
7988 set dummy lipo; ac_word=$2
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7990 $as_echo_n "checking for $ac_word... " >&6; }
7991 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7992 $as_echo_n "(cached) " >&6
7994 if test -n "$ac_ct_LIPO"; then
7995 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8001 test -z "$as_dir" && as_dir=.
8002 for ac_exec_ext in '' $ac_executable_extensions; do
8003 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8004 ac_cv_prog_ac_ct_LIPO="lipo"
8005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8014 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8015 if test -n "$ac_ct_LIPO"; then
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8017 $as_echo "$ac_ct_LIPO" >&6; }
8019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8020 $as_echo "no" >&6; }
8023 if test "x$ac_ct_LIPO" = x; then
8026 case $cross_compiling:$ac_tool_warned in
8028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8029 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8030 ac_tool_warned=yes ;;
8035 LIPO="$ac_cv_prog_LIPO"
8038 if test -n "$ac_tool_prefix"; then
8039 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8040 set dummy ${ac_tool_prefix}otool; ac_word=$2
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8042 $as_echo_n "checking for $ac_word... " >&6; }
8043 if ${ac_cv_prog_OTOOL+:} false; then :
8044 $as_echo_n "(cached) " >&6
8046 if test -n "$OTOOL"; then
8047 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8053 test -z "$as_dir" && as_dir=.
8054 for ac_exec_ext in '' $ac_executable_extensions; do
8055 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8056 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8066 OTOOL=$ac_cv_prog_OTOOL
8067 if test -n "$OTOOL"; then
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8069 $as_echo "$OTOOL" >&6; }
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8072 $as_echo "no" >&6; }
8077 if test -z "$ac_cv_prog_OTOOL"; then
8079 # Extract the first word of "otool", so it can be a program name with args.
8080 set dummy otool; ac_word=$2
8081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8082 $as_echo_n "checking for $ac_word... " >&6; }
8083 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8084 $as_echo_n "(cached) " >&6
8086 if test -n "$ac_ct_OTOOL"; then
8087 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8093 test -z "$as_dir" && as_dir=.
8094 for ac_exec_ext in '' $ac_executable_extensions; do
8095 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8096 ac_cv_prog_ac_ct_OTOOL="otool"
8097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8106 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8107 if test -n "$ac_ct_OTOOL"; then
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8109 $as_echo "$ac_ct_OTOOL" >&6; }
8111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8112 $as_echo "no" >&6; }
8115 if test "x$ac_ct_OTOOL" = x; then
8118 case $cross_compiling:$ac_tool_warned in
8120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8121 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8122 ac_tool_warned=yes ;;
8127 OTOOL="$ac_cv_prog_OTOOL"
8130 if test -n "$ac_tool_prefix"; then
8131 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8132 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8134 $as_echo_n "checking for $ac_word... " >&6; }
8135 if ${ac_cv_prog_OTOOL64+:} false; then :
8136 $as_echo_n "(cached) " >&6
8138 if test -n "$OTOOL64"; then
8139 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8145 test -z "$as_dir" && as_dir=.
8146 for ac_exec_ext in '' $ac_executable_extensions; do
8147 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8148 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8158 OTOOL64=$ac_cv_prog_OTOOL64
8159 if test -n "$OTOOL64"; then
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8161 $as_echo "$OTOOL64" >&6; }
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8164 $as_echo "no" >&6; }
8169 if test -z "$ac_cv_prog_OTOOL64"; then
8170 ac_ct_OTOOL64=$OTOOL64
8171 # Extract the first word of "otool64", so it can be a program name with args.
8172 set dummy otool64; ac_word=$2
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8174 $as_echo_n "checking for $ac_word... " >&6; }
8175 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8176 $as_echo_n "(cached) " >&6
8178 if test -n "$ac_ct_OTOOL64"; then
8179 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8185 test -z "$as_dir" && as_dir=.
8186 for ac_exec_ext in '' $ac_executable_extensions; do
8187 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8188 ac_cv_prog_ac_ct_OTOOL64="otool64"
8189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8198 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8199 if test -n "$ac_ct_OTOOL64"; then
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8201 $as_echo "$ac_ct_OTOOL64" >&6; }
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8204 $as_echo "no" >&6; }
8207 if test "x$ac_ct_OTOOL64" = x; then
8210 case $cross_compiling:$ac_tool_warned in
8212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8213 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8214 ac_tool_warned=yes ;;
8216 OTOOL64=$ac_ct_OTOOL64
8219 OTOOL64="$ac_cv_prog_OTOOL64"
8248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8249 $as_echo_n "checking for -single_module linker flag... " >&6; }
8250 if ${lt_cv_apple_cc_single_mod+:} false; then :
8251 $as_echo_n "(cached) " >&6
8253 lt_cv_apple_cc_single_mod=no
8254 if test -z "${LT_MULTI_MODULE}"; then
8255 # By default we will add the -single_module flag. You can override
8256 # by either setting the environment variable LT_MULTI_MODULE
8257 # non-empty at configure time, or by adding -multi_module to the
8259 rm -rf libconftest.dylib*
8260 echo "int foo(void){return 1;}" > conftest.c
8261 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8262 -dynamiclib -Wl,-single_module conftest.c" >&5
8263 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8264 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8266 # If there is a non-empty error log, and "single_module"
8267 # appears in it, assume the flag caused a linker warning
8268 if test -s conftest.err && $GREP single_module conftest.err; then
8269 cat conftest.err >&5
8270 # Otherwise, if the output was created with a 0 exit code from
8271 # the compiler, it worked.
8272 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8273 lt_cv_apple_cc_single_mod=yes
8275 cat conftest.err >&5
8277 rm -rf libconftest.dylib*
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8282 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8285 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8286 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8287 $as_echo_n "(cached) " >&6
8289 lt_cv_ld_exported_symbols_list=no
8290 save_LDFLAGS=$LDFLAGS
8291 echo "_main" > conftest.sym
8292 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8294 /* end confdefs.h. */
8304 if ac_fn_c_try_link "$LINENO"; then :
8305 lt_cv_ld_exported_symbols_list=yes
8307 lt_cv_ld_exported_symbols_list=no
8309 rm -f core conftest.err conftest.$ac_objext \
8310 conftest$ac_exeext conftest.$ac_ext
8311 LDFLAGS="$save_LDFLAGS"
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8315 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8318 $as_echo_n "checking for -force_load linker flag... " >&6; }
8319 if ${lt_cv_ld_force_load+:} false; then :
8320 $as_echo_n "(cached) " >&6
8322 lt_cv_ld_force_load=no
8323 cat > conftest.c << _LT_EOF
8324 int forced_loaded() { return 2;}
8326 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8327 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8328 echo "$AR cru libconftest.a conftest.o" >&5
8329 $AR cru libconftest.a conftest.o 2>&5
8330 echo "$RANLIB libconftest.a" >&5
8331 $RANLIB libconftest.a 2>&5
8332 cat > conftest.c << _LT_EOF
8333 int main() { return 0;}
8335 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8336 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8338 if test -s conftest.err && $GREP force_load conftest.err; then
8339 cat conftest.err >&5
8340 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8341 lt_cv_ld_force_load=yes
8343 cat conftest.err >&5
8345 rm -f conftest.err libconftest.a conftest conftest.c
8346 rm -rf conftest.dSYM
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8350 $as_echo "$lt_cv_ld_force_load" >&6; }
8352 rhapsody* | darwin1.[012])
8353 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8355 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8356 darwin*) # darwin 5.x on
8357 # if running on 10.5 or later, the deployment target defaults
8358 # to the OS version, if on x86, and 10.4, the deployment
8359 # target defaults to 10.4. Don't you love it?
8360 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8361 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8362 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8364 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8366 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8370 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8371 _lt_dar_single_mod='$single_module'
8373 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8374 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8376 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8378 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8379 _lt_dsymutil='~$DSYMUTIL $lib || :'
8387 ac_cpp='$CPP $CPPFLAGS'
8388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8392 $as_echo_n "checking how to run the C preprocessor... " >&6; }
8393 # On Suns, sometimes $CPP names a directory.
8394 if test -n "$CPP" && test -d "$CPP"; then
8397 if test -z "$CPP"; then
8398 if ${ac_cv_prog_CPP+:} false; then :
8399 $as_echo_n "(cached) " >&6
8401 # Double quotes because CPP needs to be expanded
8402 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8405 for ac_c_preproc_warn_flag in '' yes
8407 # Use a header file that comes with gcc, so configuring glibc
8408 # with a fresh cross-compiler works.
8409 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8410 # <limits.h> exists even on freestanding compilers.
8411 # On the NeXT, cc -E runs the code through the compiler's parser,
8412 # not just through cpp. "Syntax error" is here to catch this case.
8413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8414 /* end confdefs.h. */
8416 # include <limits.h>
8418 # include <assert.h>
8422 if ac_fn_c_try_cpp "$LINENO"; then :
8425 # Broken: fails on valid input.
8428 rm -f conftest.err conftest.i conftest.$ac_ext
8430 # OK, works on sane cases. Now check whether nonexistent headers
8431 # can be detected and how.
8432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8433 /* end confdefs.h. */
8434 #include <ac_nonexistent.h>
8436 if ac_fn_c_try_cpp "$LINENO"; then :
8437 # Broken: success on invalid input.
8440 # Passes both tests.
8444 rm -f conftest.err conftest.i conftest.$ac_ext
8447 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8448 rm -f conftest.i conftest.err conftest.$ac_ext
8449 if $ac_preproc_ok; then :
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8462 $as_echo "$CPP" >&6; }
8464 for ac_c_preproc_warn_flag in '' yes
8466 # Use a header file that comes with gcc, so configuring glibc
8467 # with a fresh cross-compiler works.
8468 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8469 # <limits.h> exists even on freestanding compilers.
8470 # On the NeXT, cc -E runs the code through the compiler's parser,
8471 # not just through cpp. "Syntax error" is here to catch this case.
8472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8473 /* end confdefs.h. */
8475 # include <limits.h>
8477 # include <assert.h>
8481 if ac_fn_c_try_cpp "$LINENO"; then :
8484 # Broken: fails on valid input.
8487 rm -f conftest.err conftest.i conftest.$ac_ext
8489 # OK, works on sane cases. Now check whether nonexistent headers
8490 # can be detected and how.
8491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8492 /* end confdefs.h. */
8493 #include <ac_nonexistent.h>
8495 if ac_fn_c_try_cpp "$LINENO"; then :
8496 # Broken: success on invalid input.
8499 # Passes both tests.
8503 rm -f conftest.err conftest.i conftest.$ac_ext
8506 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8507 rm -f conftest.i conftest.err conftest.$ac_ext
8508 if $ac_preproc_ok; then :
8511 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8512 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8513 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8514 See \`config.log' for more details" "$LINENO" 5; }
8518 ac_cpp='$CPP $CPPFLAGS'
8519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8525 $as_echo_n "checking for ANSI C header files... " >&6; }
8526 if ${ac_cv_header_stdc+:} false; then :
8527 $as_echo_n "(cached) " >&6
8529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8530 /* end confdefs.h. */
8544 if ac_fn_c_try_compile "$LINENO"; then :
8545 ac_cv_header_stdc=yes
8547 ac_cv_header_stdc=no
8549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8551 if test $ac_cv_header_stdc = yes; then
8552 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8554 /* end confdefs.h. */
8558 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8559 $EGREP "memchr" >/dev/null 2>&1; then :
8562 ac_cv_header_stdc=no
8568 if test $ac_cv_header_stdc = yes; then
8569 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8571 /* end confdefs.h. */
8575 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8576 $EGREP "free" >/dev/null 2>&1; then :
8579 ac_cv_header_stdc=no
8585 if test $ac_cv_header_stdc = yes; then
8586 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8587 if test "$cross_compiling" = yes; then :
8590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8591 /* end confdefs.h. */
8594 #if ((' ' & 0x0FF) == 0x020)
8595 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8596 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8598 # define ISLOWER(c) \
8599 (('a' <= (c) && (c) <= 'i') \
8600 || ('j' <= (c) && (c) <= 'r') \
8601 || ('s' <= (c) && (c) <= 'z'))
8602 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8605 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8610 for (i = 0; i < 256; i++)
8611 if (XOR (islower (i), ISLOWER (i))
8612 || toupper (i) != TOUPPER (i))
8617 if ac_fn_c_try_run "$LINENO"; then :
8620 ac_cv_header_stdc=no
8622 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8623 conftest.$ac_objext conftest.beam conftest.$ac_ext
8628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8629 $as_echo "$ac_cv_header_stdc" >&6; }
8630 if test $ac_cv_header_stdc = yes; then
8632 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8636 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8637 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8638 inttypes.h stdint.h unistd.h
8640 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8641 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8643 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8644 cat >>confdefs.h <<_ACEOF
8645 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8653 for ac_header in dlfcn.h
8655 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8657 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8658 cat >>confdefs.h <<_ACEOF
8659 #define HAVE_DLFCN_H 1
8678 # Check whether --enable-shared was given.
8679 if test "${enable_shared+set}" = set; then :
8680 enableval=$enable_shared; p=${PACKAGE-default}
8682 yes) enable_shared=yes ;;
8683 no) enable_shared=no ;;
8686 # Look at the argument we got. We use all the common list separators.
8687 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8688 for pkg in $enableval; do
8690 if test "X$pkg" = "X$p"; then
8709 # Check whether --enable-static was given.
8710 if test "${enable_static+set}" = set; then :
8711 enableval=$enable_static; p=${PACKAGE-default}
8713 yes) enable_static=yes ;;
8714 no) enable_static=no ;;
8717 # Look at the argument we got. We use all the common list separators.
8718 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8719 for pkg in $enableval; do
8721 if test "X$pkg" = "X$p"; then
8741 # Check whether --with-pic was given.
8742 if test "${with_pic+set}" = set; then :
8743 withval=$with_pic; lt_p=${PACKAGE-default}
8745 yes|no) pic_mode=$withval ;;
8748 # Look at the argument we got. We use all the common list separators.
8749 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8750 for lt_pkg in $withval; do
8752 if test "X$lt_pkg" = "X$lt_p"; then
8764 test -z "$pic_mode" && pic_mode=default
8772 # Check whether --enable-fast-install was given.
8773 if test "${enable_fast_install+set}" = set; then :
8774 enableval=$enable_fast_install; p=${PACKAGE-default}
8776 yes) enable_fast_install=yes ;;
8777 no) enable_fast_install=no ;;
8779 enable_fast_install=no
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 pkg in $enableval; do
8784 if test "X$pkg" = "X$p"; then
8785 enable_fast_install=yes
8792 enable_fast_install=yes
8805 # This can be used to rebuild libtool when needed
8806 LIBTOOL_DEPS="$ltmain"
8808 # Always use our own libtool.
8809 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8840 test -z "$LN_S" && LN_S="ln -s"
8855 if test -n "${ZSH_VERSION+set}" ; then
8856 setopt NO_GLOB_SUBST
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8860 $as_echo_n "checking for objdir... " >&6; }
8861 if ${lt_cv_objdir+:} false; then :
8862 $as_echo_n "(cached) " >&6
8864 rm -f .libs 2>/dev/null
8865 mkdir .libs 2>/dev/null
8866 if test -d .libs; then
8869 # MS-DOS does not allow filenames that begin with a dot.
8872 rmdir .libs 2>/dev/null
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8875 $as_echo "$lt_cv_objdir" >&6; }
8876 objdir=$lt_cv_objdir
8882 cat >>confdefs.h <<_ACEOF
8883 #define LT_OBJDIR "$lt_cv_objdir/"
8891 # AIX sometimes has problems with the GCC collect2 program. For some
8892 # reason, if we set the COLLECT_NAMES environment variable, the problems
8893 # vanish in a puff of smoke.
8894 if test "X${COLLECT_NAMES+set}" != Xset; then
8896 export COLLECT_NAMES
8903 can_build_shared=yes
8905 # All known linkers require a `.a' archive for static linking (except MSVC,
8906 # which needs '.lib').
8909 with_gnu_ld="$lt_cv_prog_gnu_ld"
8912 old_CFLAGS="$CFLAGS"
8914 # Set sane defaults for various variables
8915 test -z "$CC" && CC=cc
8916 test -z "$LTCC" && LTCC=$CC
8917 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8918 test -z "$LD" && LD=ld
8919 test -z "$ac_objext" && ac_objext=o
8921 for cc_temp in $compiler""; do
8923 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8924 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8929 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8932 # Only perform the check for file, if the check method requires it
8933 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8934 case $deplibs_check_method in
8936 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8938 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8939 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8940 $as_echo_n "(cached) " >&6
8944 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8947 lt_save_MAGIC_CMD="$MAGIC_CMD"
8948 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8949 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8950 for ac_dir in $ac_dummy; do
8952 test -z "$ac_dir" && ac_dir=.
8953 if test -f $ac_dir/${ac_tool_prefix}file; then
8954 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8955 if test -n "$file_magic_test_file"; then
8956 case $deplibs_check_method in
8958 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8959 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8960 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8961 $EGREP "$file_magic_regex" > /dev/null; then
8966 *** Warning: the command libtool uses to detect shared libraries,
8967 *** $file_magic_cmd, produces output that libtool cannot recognize.
8968 *** The result is that libtool may fail to recognize shared libraries
8969 *** as such. This will affect the creation of libtool libraries that
8970 *** depend on shared libraries, but programs linked with such libtool
8971 *** libraries will work regardless of this problem. Nevertheless, you
8972 *** may want to report the problem to your system manager and/or to
8973 *** bug-libtool@gnu.org
8983 MAGIC_CMD="$lt_save_MAGIC_CMD"
8988 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8989 if test -n "$MAGIC_CMD"; then
8990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8991 $as_echo "$MAGIC_CMD" >&6; }
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8994 $as_echo "no" >&6; }
9001 if test -z "$lt_cv_path_MAGIC_CMD"; then
9002 if test -n "$ac_tool_prefix"; then
9003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9004 $as_echo_n "checking for file... " >&6; }
9005 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9006 $as_echo_n "(cached) " >&6
9010 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9013 lt_save_MAGIC_CMD="$MAGIC_CMD"
9014 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9015 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9016 for ac_dir in $ac_dummy; do
9018 test -z "$ac_dir" && ac_dir=.
9019 if test -f $ac_dir/file; then
9020 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9021 if test -n "$file_magic_test_file"; then
9022 case $deplibs_check_method in
9024 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9025 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9026 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9027 $EGREP "$file_magic_regex" > /dev/null; then
9032 *** Warning: the command libtool uses to detect shared libraries,
9033 *** $file_magic_cmd, produces output that libtool cannot recognize.
9034 *** The result is that libtool may fail to recognize shared libraries
9035 *** as such. This will affect the creation of libtool libraries that
9036 *** depend on shared libraries, but programs linked with such libtool
9037 *** libraries will work regardless of this problem. Nevertheless, you
9038 *** may want to report the problem to your system manager and/or to
9039 *** bug-libtool@gnu.org
9049 MAGIC_CMD="$lt_save_MAGIC_CMD"
9054 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9055 if test -n "$MAGIC_CMD"; then
9056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9057 $as_echo "$MAGIC_CMD" >&6; }
9059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9060 $as_echo "no" >&6; }
9073 # Use C for the default configuration in the libtool script
9077 ac_cpp='$CPP $CPPFLAGS'
9078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9083 # Source file extension for C test sources.
9086 # Object file extension for compiled C test sources.
9090 # Code to be used in simple compile tests
9091 lt_simple_compile_test_code="int some_variable = 0;"
9093 # Code to be used in simple link tests
9094 lt_simple_link_test_code='int main(){return(0);}'
9102 # If no C compiler was specified, use CC.
9105 # If no C compiler flags were specified, use CFLAGS.
9106 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9108 # Allow CC to be a program name with arguments.
9111 # Save the default compiler, since it gets overwritten when the other
9112 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9113 compiler_DEFAULT=$CC
9115 # save warnings/boilerplate of simple test code
9116 ac_outfile=conftest.$ac_objext
9117 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9118 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9119 _lt_compiler_boilerplate=`cat conftest.err`
9122 ac_outfile=conftest.$ac_objext
9123 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9124 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9125 _lt_linker_boilerplate=`cat conftest.err`
9130 ## There is no encapsulation within the following macros, do not change
9131 ## the running order or otherwise move them around unless you know exactly
9132 ## what you are doing...
9133 if test -n "$compiler"; then
9135 lt_prog_compiler_no_builtin_flag=
9137 if test "$GCC" = yes; then
9138 case $cc_basename in
9140 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9142 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9146 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9147 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9148 $as_echo_n "(cached) " >&6
9150 lt_cv_prog_compiler_rtti_exceptions=no
9151 ac_outfile=conftest.$ac_objext
9152 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9153 lt_compiler_flag="-fno-rtti -fno-exceptions"
9154 # Insert the option either (1) after the last *FLAGS variable, or
9155 # (2) before a word containing "conftest.", or (3) at the end.
9156 # Note that $ac_compile itself does not contain backslashes and begins
9157 # with a dollar sign (not a hyphen), so the echo should work correctly.
9158 # The option is referenced via a variable to avoid confusing sed.
9159 lt_compile=`echo "$ac_compile" | $SED \
9160 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9161 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9162 -e 's:$: $lt_compiler_flag:'`
9163 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9164 (eval "$lt_compile" 2>conftest.err)
9166 cat conftest.err >&5
9167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9168 if (exit $ac_status) && test -s "$ac_outfile"; then
9169 # The compiler can only warn and ignore the option if not recognized
9170 # So say no if there are warnings other than the usual output.
9171 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9172 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9173 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9174 lt_cv_prog_compiler_rtti_exceptions=yes
9180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9181 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9183 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9184 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9196 lt_prog_compiler_wl=
9197 lt_prog_compiler_pic=
9198 lt_prog_compiler_static=
9201 if test "$GCC" = yes; then
9202 lt_prog_compiler_wl='-Wl,'
9203 lt_prog_compiler_static='-static'
9207 # All AIX code is PIC.
9208 if test "$host_cpu" = ia64; then
9209 # AIX 5 now supports IA64 processor
9210 lt_prog_compiler_static='-Bstatic'
9217 # see comment about AmigaOS4 .so support
9218 lt_prog_compiler_pic='-fPIC'
9221 # FIXME: we need at least 68020 code to build shared libraries, but
9222 # adding the `-m68020' flag to GCC prevents building anything better,
9224 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9229 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9230 # PIC is the default for these OSes.
9233 mingw* | cygwin* | pw32* | os2* | cegcc*)
9234 # This hack is so that the source file can tell whether it is being
9235 # built for inclusion in a dll (and should export symbols for example).
9236 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9237 # (--disable-auto-import) libraries
9238 lt_prog_compiler_pic='-DDLL_EXPORT'
9241 darwin* | rhapsody*)
9242 # PIC is the default on this platform
9243 # Common symbols not allowed in MH_DYLIB files
9244 lt_prog_compiler_pic='-fno-common'
9248 # PIC is the default for Haiku.
9249 # The "-static" flag exists, but is broken.
9250 lt_prog_compiler_static=
9254 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9255 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9256 # sets the default TLS model and affects inlining.
9262 lt_prog_compiler_pic='-fPIC'
9268 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9269 # Instead, we relocate shared libraries at runtime.
9273 # Just because we use GCC doesn't mean we suddenly get shared libraries
9274 # on systems that don't support them.
9275 lt_prog_compiler_can_build_shared=no
9280 # QNX uses GNU C++, but need to define -shared option too, otherwise
9282 lt_prog_compiler_pic='-fPIC -shared'
9286 if test -d /usr/nec; then
9287 lt_prog_compiler_pic=-Kconform_pic
9292 lt_prog_compiler_pic='-fPIC'
9296 case $cc_basename in
9297 nvcc*) # Cuda Compiler Driver 2.2
9298 lt_prog_compiler_wl='-Xlinker '
9299 if test -n "$lt_prog_compiler_pic"; then
9300 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9305 # PORTME Check for flag to pass linker flags through the system compiler.
9308 lt_prog_compiler_wl='-Wl,'
9309 if test "$host_cpu" = ia64; then
9310 # AIX 5 now supports IA64 processor
9311 lt_prog_compiler_static='-Bstatic'
9313 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9317 mingw* | cygwin* | pw32* | os2* | cegcc*)
9318 # This hack is so that the source file can tell whether it is being
9319 # built for inclusion in a dll (and should export symbols for example).
9320 lt_prog_compiler_pic='-DDLL_EXPORT'
9323 hpux9* | hpux10* | hpux11*)
9324 lt_prog_compiler_wl='-Wl,'
9325 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9332 lt_prog_compiler_pic='+Z'
9335 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9336 lt_prog_compiler_static='${wl}-a ${wl}archive'
9339 irix5* | irix6* | nonstopux*)
9340 lt_prog_compiler_wl='-Wl,'
9341 # PIC (with -KPIC) is the default.
9342 lt_prog_compiler_static='-non_shared'
9345 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9346 case $cc_basename in
9347 # old Intel for x86_64 which still supported -KPIC.
9349 lt_prog_compiler_wl='-Wl,'
9350 lt_prog_compiler_pic='-KPIC'
9351 lt_prog_compiler_static='-static'
9353 # icc used to be incompatible with GCC.
9354 # ICC 10 doesn't accept -KPIC any more.
9356 lt_prog_compiler_wl='-Wl,'
9357 lt_prog_compiler_pic='-fPIC'
9358 lt_prog_compiler_static='-static'
9360 # Lahey Fortran 8.1.
9362 lt_prog_compiler_wl='-Wl,'
9363 lt_prog_compiler_pic='--shared'
9364 lt_prog_compiler_static='--static'
9367 # NAG Fortran compiler
9368 lt_prog_compiler_wl='-Wl,-Wl,,'
9369 lt_prog_compiler_pic='-PIC'
9370 lt_prog_compiler_static='-Bstatic'
9372 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9373 # Portland Group compilers (*not* the Pentium gcc compiler,
9374 # which looks to be a dead project)
9375 lt_prog_compiler_wl='-Wl,'
9376 lt_prog_compiler_pic='-fpic'
9377 lt_prog_compiler_static='-Bstatic'
9380 lt_prog_compiler_wl='-Wl,'
9381 # All Alpha code is PIC.
9382 lt_prog_compiler_static='-non_shared'
9384 xl* | bgxl* | bgf* | mpixl*)
9385 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9386 lt_prog_compiler_wl='-Wl,'
9387 lt_prog_compiler_pic='-qpic'
9388 lt_prog_compiler_static='-qstaticlink'
9391 case `$CC -V 2>&1 | sed 5q` in
9392 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9393 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9394 lt_prog_compiler_pic='-KPIC'
9395 lt_prog_compiler_static='-Bstatic'
9396 lt_prog_compiler_wl=''
9398 *Sun\ F* | *Sun*Fortran*)
9399 lt_prog_compiler_pic='-KPIC'
9400 lt_prog_compiler_static='-Bstatic'
9401 lt_prog_compiler_wl='-Qoption ld '
9405 lt_prog_compiler_pic='-KPIC'
9406 lt_prog_compiler_static='-Bstatic'
9407 lt_prog_compiler_wl='-Wl,'
9409 *Intel*\ [CF]*Compiler*)
9410 lt_prog_compiler_wl='-Wl,'
9411 lt_prog_compiler_pic='-fPIC'
9412 lt_prog_compiler_static='-static'
9415 lt_prog_compiler_wl='-Wl,'
9416 lt_prog_compiler_pic='-fpic'
9417 lt_prog_compiler_static='-Bstatic'
9425 lt_prog_compiler_pic='-KPIC'
9426 lt_prog_compiler_static='-Bstatic'
9430 # QNX uses GNU C++, but need to define -shared option too, otherwise
9432 lt_prog_compiler_pic='-fPIC -shared'
9435 osf3* | osf4* | osf5*)
9436 lt_prog_compiler_wl='-Wl,'
9437 # All OSF/1 code is PIC.
9438 lt_prog_compiler_static='-non_shared'
9442 lt_prog_compiler_static='-non_shared'
9446 lt_prog_compiler_pic='-KPIC'
9447 lt_prog_compiler_static='-Bstatic'
9448 case $cc_basename in
9449 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9450 lt_prog_compiler_wl='-Qoption ld ';;
9452 lt_prog_compiler_wl='-Wl,';;
9457 lt_prog_compiler_wl='-Qoption ld '
9458 lt_prog_compiler_pic='-PIC'
9459 lt_prog_compiler_static='-Bstatic'
9462 sysv4 | sysv4.2uw2* | sysv4.3*)
9463 lt_prog_compiler_wl='-Wl,'
9464 lt_prog_compiler_pic='-KPIC'
9465 lt_prog_compiler_static='-Bstatic'
9469 if test -d /usr/nec ;then
9470 lt_prog_compiler_pic='-Kconform_pic'
9471 lt_prog_compiler_static='-Bstatic'
9475 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9476 lt_prog_compiler_wl='-Wl,'
9477 lt_prog_compiler_pic='-KPIC'
9478 lt_prog_compiler_static='-Bstatic'
9482 lt_prog_compiler_wl='-Wl,'
9483 lt_prog_compiler_can_build_shared=no
9487 lt_prog_compiler_pic='-pic'
9488 lt_prog_compiler_static='-Bstatic'
9492 lt_prog_compiler_can_build_shared=no
9498 # For platforms which do not support PIC, -DPIC is meaningless:
9500 lt_prog_compiler_pic=
9503 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9508 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9509 if ${lt_cv_prog_compiler_pic+:} false; then :
9510 $as_echo_n "(cached) " >&6
9512 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9515 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9516 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9519 # Check to make sure the PIC flag actually works.
9521 if test -n "$lt_prog_compiler_pic"; then
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9523 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9524 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9525 $as_echo_n "(cached) " >&6
9527 lt_cv_prog_compiler_pic_works=no
9528 ac_outfile=conftest.$ac_objext
9529 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9530 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9531 # Insert the option either (1) after the last *FLAGS variable, or
9532 # (2) before a word containing "conftest.", or (3) at the end.
9533 # Note that $ac_compile itself does not contain backslashes and begins
9534 # with a dollar sign (not a hyphen), so the echo should work correctly.
9535 # The option is referenced via a variable to avoid confusing sed.
9536 lt_compile=`echo "$ac_compile" | $SED \
9537 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9538 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9539 -e 's:$: $lt_compiler_flag:'`
9540 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9541 (eval "$lt_compile" 2>conftest.err)
9543 cat conftest.err >&5
9544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9545 if (exit $ac_status) && test -s "$ac_outfile"; then
9546 # The compiler can only warn and ignore the option if not recognized
9547 # So say no if there are warnings other than the usual output.
9548 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9549 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9550 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9551 lt_cv_prog_compiler_pic_works=yes
9557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9558 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9560 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9561 case $lt_prog_compiler_pic in
9563 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9566 lt_prog_compiler_pic=
9567 lt_prog_compiler_can_build_shared=no
9583 # Check to make sure the static flag actually works.
9585 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9587 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9588 if ${lt_cv_prog_compiler_static_works+:} false; then :
9589 $as_echo_n "(cached) " >&6
9591 lt_cv_prog_compiler_static_works=no
9592 save_LDFLAGS="$LDFLAGS"
9593 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9594 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9595 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9596 # The linker can only warn and ignore the option if not recognized
9597 # So say no if there are warnings
9598 if test -s conftest.err; then
9599 # Append any errors to the config.log.
9600 cat conftest.err 1>&5
9601 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9602 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9603 if diff conftest.exp conftest.er2 >/dev/null; then
9604 lt_cv_prog_compiler_static_works=yes
9607 lt_cv_prog_compiler_static_works=yes
9611 LDFLAGS="$save_LDFLAGS"
9614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9615 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9617 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9620 lt_prog_compiler_static=
9629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9630 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9631 if ${lt_cv_prog_compiler_c_o+:} false; then :
9632 $as_echo_n "(cached) " >&6
9634 lt_cv_prog_compiler_c_o=no
9635 $RM -r conftest 2>/dev/null
9639 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9641 lt_compiler_flag="-o out/conftest2.$ac_objext"
9642 # Insert the option either (1) after the last *FLAGS variable, or
9643 # (2) before a word containing "conftest.", or (3) at the end.
9644 # Note that $ac_compile itself does not contain backslashes and begins
9645 # with a dollar sign (not a hyphen), so the echo should work correctly.
9646 lt_compile=`echo "$ac_compile" | $SED \
9647 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9648 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9649 -e 's:$: $lt_compiler_flag:'`
9650 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9651 (eval "$lt_compile" 2>out/conftest.err)
9653 cat out/conftest.err >&5
9654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9655 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9657 # The compiler can only warn and ignore the option if not recognized
9658 # So say no if there are warnings
9659 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9660 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9661 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9662 lt_cv_prog_compiler_c_o=yes
9667 # SGI C++ compiler will create directory out/ii_files/ for
9668 # template instantiation
9669 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9670 $RM out/* && rmdir out
9676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9677 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9685 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9686 if ${lt_cv_prog_compiler_c_o+:} false; then :
9687 $as_echo_n "(cached) " >&6
9689 lt_cv_prog_compiler_c_o=no
9690 $RM -r conftest 2>/dev/null
9694 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9696 lt_compiler_flag="-o out/conftest2.$ac_objext"
9697 # Insert the option either (1) after the last *FLAGS variable, or
9698 # (2) before a word containing "conftest.", or (3) at the end.
9699 # Note that $ac_compile itself does not contain backslashes and begins
9700 # with a dollar sign (not a hyphen), so the echo should work correctly.
9701 lt_compile=`echo "$ac_compile" | $SED \
9702 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9703 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9704 -e 's:$: $lt_compiler_flag:'`
9705 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9706 (eval "$lt_compile" 2>out/conftest.err)
9708 cat out/conftest.err >&5
9709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9710 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9712 # The compiler can only warn and ignore the option if not recognized
9713 # So say no if there are warnings
9714 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9715 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9716 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9717 lt_cv_prog_compiler_c_o=yes
9722 # SGI C++ compiler will create directory out/ii_files/ for
9723 # template instantiation
9724 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9725 $RM out/* && rmdir out
9731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9732 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9737 hard_links="nottested"
9738 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9739 # do not overwrite the value of need_locks provided by the user
9740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9741 $as_echo_n "checking if we can lock with hard links... " >&6; }
9744 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9746 ln conftest.a conftest.b 2>&5 || hard_links=no
9747 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9749 $as_echo "$hard_links" >&6; }
9750 if test "$hard_links" = no; then
9751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9752 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9765 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9768 allow_undefined_flag=
9769 always_export_symbols=no
9771 archive_expsym_cmds=
9772 compiler_needs_object=no
9773 enable_shared_with_static_runtimes=no
9774 export_dynamic_flag_spec=
9775 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9776 hardcode_automatic=no
9778 hardcode_direct_absolute=no
9779 hardcode_libdir_flag_spec=
9780 hardcode_libdir_separator=
9782 hardcode_shlibpath_var=unsupported
9784 link_all_deplibs=unknown
9787 old_archive_from_new_cmds=
9788 old_archive_from_expsyms_cmds=
9789 thread_safe_flag_spec=
9790 whole_archive_flag_spec=
9791 # include_expsyms should be a list of space-separated symbols to be *always*
9792 # included in the symbol list
9794 # exclude_expsyms can be an extended regexp of symbols to exclude
9795 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9796 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9797 # as well as any symbol that contains `d'.
9798 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9799 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9800 # platforms (ab)use it in PIC code, but their linkers get confused if
9801 # the symbol is explicitly referenced. Since portable code cannot
9802 # rely on this symbol name, it's probably fine to never include it in
9803 # preloaded symbol tables.
9804 # Exclude shared library initialization/finalization symbols.
9805 extract_expsyms_cmds=
9808 cygwin* | mingw* | pw32* | cegcc*)
9809 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9810 # When not using gcc, we currently assume that we are using
9811 # Microsoft Visual C++.
9812 if test "$GCC" != yes; then
9817 # we just hope/assume this is gcc and not c89 (= MSVC++)
9823 linux* | k*bsd*-gnu | gnu*)
9830 # On some targets, GNU ld is compatible enough with the native linker
9831 # that we're better off using the native interface for both.
9832 lt_use_gnu_ld_interface=no
9833 if test "$with_gnu_ld" = yes; then
9836 # The AIX port of GNU ld has always aspired to compatibility
9837 # with the native linker. However, as the warning in the GNU ld
9838 # block says, versions before 2.19.5* couldn't really create working
9839 # shared libraries, regardless of the interface used.
9840 case `$LD -v 2>&1` in
9841 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9842 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9843 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9845 lt_use_gnu_ld_interface=yes
9850 lt_use_gnu_ld_interface=yes
9855 if test "$lt_use_gnu_ld_interface" = yes; then
9856 # If archive_cmds runs LD, not CC, wlarc should be empty
9859 # Set some defaults for GNU ld with shared library support. These
9860 # are reset later if shared libraries are not supported. Putting them
9861 # here allows them to be overridden if necessary.
9862 runpath_var=LD_RUN_PATH
9863 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9864 export_dynamic_flag_spec='${wl}--export-dynamic'
9865 # ancient GNU ld didn't support --whole-archive et. al.
9866 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9867 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9869 whole_archive_flag_spec=
9871 supports_anon_versioning=no
9872 case `$LD -v 2>&1` in
9873 *GNU\ gold*) supports_anon_versioning=yes ;;
9874 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9875 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9876 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9877 *\ 2.11.*) ;; # other 2.11 versions
9878 *) supports_anon_versioning=yes ;;
9881 # See if GNU ld supports shared libraries.
9884 # On AIX/PPC, the GNU linker is very broken
9885 if test "$host_cpu" != ia64; then
9889 *** Warning: the GNU linker, at least up to release 2.19, is reported
9890 *** to be unable to reliably create shared libraries on AIX.
9891 *** Therefore, libtool is disabling shared libraries support. If you
9892 *** really care for shared libraries, you may want to install binutils
9893 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9894 *** You will then need to restart the configuration process.
9903 # see comment about AmigaOS4 .so support
9904 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9905 archive_expsym_cmds=''
9908 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)'
9909 hardcode_libdir_flag_spec='-L$libdir'
9910 hardcode_minus_L=yes
9916 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9917 allow_undefined_flag=unsupported
9918 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9919 # support --undefined. This deserves some investigation. FIXME
9920 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9926 cygwin* | mingw* | pw32* | cegcc*)
9927 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9928 # as there is no search path for DLLs.
9929 hardcode_libdir_flag_spec='-L$libdir'
9930 export_dynamic_flag_spec='${wl}--export-all-symbols'
9931 allow_undefined_flag=unsupported
9932 always_export_symbols=no
9933 enable_shared_with_static_runtimes=yes
9934 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'
9935 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9937 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9938 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9939 # If the export-symbols file already is a .def file (1st line
9940 # is EXPORTS), use it as is; otherwise, prepend...
9941 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9942 cp $export_symbols $output_objdir/$soname.def;
9944 echo EXPORTS > $output_objdir/$soname.def;
9945 cat $export_symbols >> $output_objdir/$soname.def;
9947 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9954 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9955 link_all_deplibs=yes
9960 hardcode_shlibpath_var=no
9961 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9962 export_dynamic_flag_spec='${wl}-E'
9963 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9964 # Instead, shared libraries are loaded at an image base (0x10000000 by
9965 # default) and relocated if they conflict, which is a slow very memory
9966 # consuming and fragmenting process. To avoid this, we pick a random,
9967 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9968 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9969 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9970 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'
9973 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9975 if test "$host_os" = linux-dietlibc; then
9976 case $cc_basename in
9977 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9980 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9981 && test "$tmp_diet" = no
9983 tmp_addflag=' $pic_flag'
9984 tmp_sharedflag='-shared'
9985 case $cc_basename,$host_cpu in
9986 pgcc*) # Portland Group C compiler
9987 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'
9988 tmp_addflag=' $pic_flag'
9990 pgf77* | pgf90* | pgf95* | pgfortran*)
9991 # Portland Group f77 and f90 compilers
9992 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'
9993 tmp_addflag=' $pic_flag -Mnomain' ;;
9994 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9995 tmp_addflag=' -i_dynamic' ;;
9996 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9997 tmp_addflag=' -i_dynamic -nofor_main' ;;
9998 ifc* | ifort*) # Intel Fortran compiler
9999 tmp_addflag=' -nofor_main' ;;
10000 lf95*) # Lahey Fortran 8.1
10001 whole_archive_flag_spec=
10002 tmp_sharedflag='--shared' ;;
10003 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10004 tmp_sharedflag='-qmkshrobj'
10006 nvcc*) # Cuda Compiler Driver 2.2
10007 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'
10008 compiler_needs_object=yes
10011 case `$CC -V 2>&1 | sed 5q` in
10012 *Sun\ C*) # Sun C 5.9
10013 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'
10014 compiler_needs_object=yes
10015 tmp_sharedflag='-G' ;;
10016 *Sun\ F*) # Sun Fortran 8.3
10017 tmp_sharedflag='-G' ;;
10019 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10021 if test "x$supports_anon_versioning" = xyes; then
10022 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10023 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10024 echo "local: *; };" >> $output_objdir/$libname.ver~
10025 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10028 case $cc_basename in
10029 xlf* | bgf* | bgxlf* | mpixlf*)
10030 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10031 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10032 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10033 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10034 if test "x$supports_anon_versioning" = xyes; then
10035 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10036 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10037 echo "local: *; };" >> $output_objdir/$libname.ver~
10038 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10047 netbsd* | netbsdelf*-gnu)
10048 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10049 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10052 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10053 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10058 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10062 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10063 *** create shared libraries on Solaris systems. Therefore, libtool
10064 *** is disabling shared libraries support. We urge you to upgrade GNU
10065 *** binutils to release 2.9.1 or newer. Another option is to modify
10066 *** your PATH or compiler configuration so that the native linker is
10067 *** used, and then restart.
10070 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10071 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10072 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10078 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10079 case `$LD -v 2>&1` in
10080 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10084 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10085 *** reliably create shared libraries on SCO systems. Therefore, libtool
10086 *** is disabling shared libraries support. We urge you to upgrade GNU
10087 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10088 *** your PATH or compiler configuration so that the native linker is
10089 *** used, and then restart.
10094 # For security reasons, it is highly recommended that you always
10095 # use absolute paths for naming shared libraries, and exclude the
10096 # DT_RUNPATH tag from executables and libraries. But doing so
10097 # requires that you compile everything twice, which is a pain.
10098 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10099 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10100 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10101 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10110 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10112 hardcode_direct=yes
10113 hardcode_shlibpath_var=no
10117 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10118 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10119 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10126 if test "$ld_shlibs" = no; then
10128 hardcode_libdir_flag_spec=
10129 export_dynamic_flag_spec=
10130 whole_archive_flag_spec=
10133 # PORTME fill in a description of your system's linker (not GNU ld)
10136 allow_undefined_flag=unsupported
10137 always_export_symbols=yes
10138 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'
10139 # Note: this linker hardcodes the directories in LIBPATH if there
10140 # are no directories specified by -L.
10141 hardcode_minus_L=yes
10142 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10143 # Neither direct hardcoding nor static linking is supported with a
10145 hardcode_direct=unsupported
10150 if test "$host_cpu" = ia64; then
10151 # On IA64, the linker does run time linking by default, so we don't
10152 # have to do anything special.
10153 aix_use_runtimelinking=no
10154 exp_sym_flag='-Bexport'
10157 # If we're using GNU nm, then we don't want the "-C" option.
10158 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10159 # Also, AIX nm treats weak defined symbols like other global
10160 # defined symbols, whereas GNU nm marks them as "W".
10161 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10162 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'
10164 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'
10166 aix_use_runtimelinking=no
10168 # Test if we are trying to use run time linking or normal
10169 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10170 # need to do runtime linking.
10171 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10172 for ld_flag in $LDFLAGS; do
10173 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10174 aix_use_runtimelinking=yes
10181 exp_sym_flag='-bexport'
10182 no_entry_flag='-bnoentry'
10185 # When large executables or shared objects are built, AIX ld can
10186 # have problems creating the table of contents. If linking a library
10187 # or program results in "error TOC overflow" add -mminimal-toc to
10188 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10189 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10192 hardcode_direct=yes
10193 hardcode_direct_absolute=yes
10194 hardcode_libdir_separator=':'
10195 link_all_deplibs=yes
10196 file_list_spec='${wl}-f,'
10198 if test "$GCC" = yes; then
10199 case $host_os in aix4.[012]|aix4.[012].*)
10200 # We only want to do this on AIX 4.2 and lower, the check
10201 # below for broken collect2 doesn't work under 4.3+
10202 collect2name=`${CC} -print-prog-name=collect2`
10203 if test -f "$collect2name" &&
10204 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10206 # We have reworked collect2
10209 # We have old collect2
10210 hardcode_direct=unsupported
10211 # It fails to find uninstalled libraries when the uninstalled
10212 # path is not listed in the libpath. Setting hardcode_minus_L
10213 # to unsupported forces relinking
10214 hardcode_minus_L=yes
10215 hardcode_libdir_flag_spec='-L$libdir'
10216 hardcode_libdir_separator=
10220 shared_flag='-shared'
10221 if test "$aix_use_runtimelinking" = yes; then
10222 shared_flag="$shared_flag "'${wl}-G'
10224 link_all_deplibs=no
10227 if test "$host_cpu" = ia64; then
10228 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10229 # chokes on -Wl,-G. The following line is correct:
10232 if test "$aix_use_runtimelinking" = yes; then
10233 shared_flag='${wl}-G'
10235 shared_flag='${wl}-bM:SRE'
10240 export_dynamic_flag_spec='${wl}-bexpall'
10241 # It seems that -bexpall does not export symbols beginning with
10242 # underscore (_), so it is better to generate a list of symbols to export.
10243 always_export_symbols=yes
10244 if test "$aix_use_runtimelinking" = yes; then
10245 # Warning - without using the other runtime loading flags (-brtl),
10246 # -berok will link without error, but may produce a broken library.
10247 allow_undefined_flag='-berok'
10248 # Determine the default libpath from the value encoded in an
10249 # empty executable.
10250 if test "${lt_cv_aix_libpath+set}" = set; then
10251 aix_libpath=$lt_cv_aix_libpath
10253 if ${lt_cv_aix_libpath_+:} false; then :
10254 $as_echo_n "(cached) " >&6
10256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10257 /* end confdefs.h. */
10267 if ac_fn_c_try_link "$LINENO"; then :
10269 lt_aix_libpath_sed='
10270 /Import File Strings/,/^$/ {
10272 s/^0 *\([^ ]*\) *$/\1/
10276 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10277 # Check for a 64-bit object if we didn't find anything.
10278 if test -z "$lt_cv_aix_libpath_"; then
10279 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10282 rm -f core conftest.err conftest.$ac_objext \
10283 conftest$ac_exeext conftest.$ac_ext
10284 if test -z "$lt_cv_aix_libpath_"; then
10285 lt_cv_aix_libpath_="/usr/lib:/lib"
10290 aix_libpath=$lt_cv_aix_libpath_
10293 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10294 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"
10296 if test "$host_cpu" = ia64; then
10297 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10298 allow_undefined_flag="-z nodefs"
10299 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"
10301 # Determine the default libpath from the value encoded in an
10302 # empty executable.
10303 if test "${lt_cv_aix_libpath+set}" = set; then
10304 aix_libpath=$lt_cv_aix_libpath
10306 if ${lt_cv_aix_libpath_+:} false; then :
10307 $as_echo_n "(cached) " >&6
10309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10310 /* end confdefs.h. */
10320 if ac_fn_c_try_link "$LINENO"; then :
10322 lt_aix_libpath_sed='
10323 /Import File Strings/,/^$/ {
10325 s/^0 *\([^ ]*\) *$/\1/
10329 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10330 # Check for a 64-bit object if we didn't find anything.
10331 if test -z "$lt_cv_aix_libpath_"; then
10332 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10335 rm -f core conftest.err conftest.$ac_objext \
10336 conftest$ac_exeext conftest.$ac_ext
10337 if test -z "$lt_cv_aix_libpath_"; then
10338 lt_cv_aix_libpath_="/usr/lib:/lib"
10343 aix_libpath=$lt_cv_aix_libpath_
10346 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10347 # Warning - without using the other run time loading flags,
10348 # -berok will link without error, but may produce a broken library.
10349 no_undefined_flag=' ${wl}-bernotok'
10350 allow_undefined_flag=' ${wl}-berok'
10351 if test "$with_gnu_ld" = yes; then
10352 # We only use this code for GNU lds that support --whole-archive.
10353 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10355 # Exported symbols can be pulled into shared objects from archives
10356 whole_archive_flag_spec='$convenience'
10358 archive_cmds_need_lc=yes
10359 # This is similar to how AIX traditionally builds its shared libraries.
10360 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'
10368 # see comment about AmigaOS4 .so support
10369 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10370 archive_expsym_cmds=''
10373 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)'
10374 hardcode_libdir_flag_spec='-L$libdir'
10375 hardcode_minus_L=yes
10381 export_dynamic_flag_spec=-rdynamic
10384 cygwin* | mingw* | pw32* | cegcc*)
10385 # When not using gcc, we currently assume that we are using
10386 # Microsoft Visual C++.
10387 # hardcode_libdir_flag_spec is actually meaningless, as there is
10388 # no search path for DLLs.
10389 case $cc_basename in
10392 hardcode_libdir_flag_spec=' '
10393 allow_undefined_flag=unsupported
10394 always_export_symbols=yes
10396 # Tell ltmain to make .lib files, not .a files.
10398 # Tell ltmain to make .dll files, not .so files.
10400 # FIXME: Setting linknames here is a bad hack.
10401 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10402 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10403 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10405 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10407 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10409 # The linker will not automatically build a static lib if we build a DLL.
10410 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10411 enable_shared_with_static_runtimes=yes
10412 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10413 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10415 old_postinstall_cmds='chmod 644 $oldlib'
10416 postlink_cmds='lt_outputfile="@OUTPUT@"~
10417 lt_tool_outputfile="@TOOL_OUTPUT@"~
10418 case $lt_outputfile in
10421 lt_outputfile="$lt_outputfile.exe"
10422 lt_tool_outputfile="$lt_tool_outputfile.exe"
10425 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10426 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10427 $RM "$lt_outputfile.manifest";
10431 # Assume MSVC wrapper
10432 hardcode_libdir_flag_spec=' '
10433 allow_undefined_flag=unsupported
10434 # Tell ltmain to make .lib files, not .a files.
10436 # Tell ltmain to make .dll files, not .so files.
10438 # FIXME: Setting linknames here is a bad hack.
10439 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10440 # The linker will automatically build a .lib file if we build a DLL.
10441 old_archive_from_new_cmds='true'
10442 # FIXME: Should let the user specify the lib program.
10443 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10444 enable_shared_with_static_runtimes=yes
10449 darwin* | rhapsody*)
10452 archive_cmds_need_lc=no
10454 hardcode_automatic=yes
10455 hardcode_shlibpath_var=unsupported
10456 if test "$lt_cv_ld_force_load" = "yes"; then
10457 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\"`'
10460 whole_archive_flag_spec=''
10462 link_all_deplibs=yes
10463 allow_undefined_flag="$_lt_dar_allow_undefined"
10464 case $cc_basename in
10465 ifort*) _lt_dar_can_shared=yes ;;
10466 *) _lt_dar_can_shared=$GCC ;;
10468 if test "$_lt_dar_can_shared" = "yes"; then
10469 output_verbose_link_cmd=func_echo_all
10470 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10471 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10472 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}"
10473 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}"
10482 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10483 hardcode_libdir_flag_spec='-L$libdir'
10484 hardcode_shlibpath_var=no
10487 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10488 # support. Future versions do this automatically, but an explicit c++rt0.o
10489 # does not break anything, and helps significantly (at the cost of a little
10492 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10493 hardcode_libdir_flag_spec='-R$libdir'
10494 hardcode_direct=yes
10495 hardcode_shlibpath_var=no
10498 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10500 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10501 hardcode_direct=yes
10502 hardcode_minus_L=yes
10503 hardcode_shlibpath_var=no
10506 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10507 freebsd* | dragonfly*)
10508 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10509 hardcode_libdir_flag_spec='-R$libdir'
10510 hardcode_direct=yes
10511 hardcode_shlibpath_var=no
10515 if test "$GCC" = yes; then
10516 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'
10518 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'
10520 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10521 hardcode_libdir_separator=:
10522 hardcode_direct=yes
10524 # hardcode_minus_L: Not really in the search PATH,
10525 # but as the default location of the library.
10526 hardcode_minus_L=yes
10527 export_dynamic_flag_spec='${wl}-E'
10531 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10532 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10534 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10536 if test "$with_gnu_ld" = no; then
10537 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10538 hardcode_libdir_separator=:
10539 hardcode_direct=yes
10540 hardcode_direct_absolute=yes
10541 export_dynamic_flag_spec='${wl}-E'
10542 # hardcode_minus_L: Not really in the search PATH,
10543 # but as the default location of the library.
10544 hardcode_minus_L=yes
10549 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10552 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10555 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10558 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10564 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10567 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10571 # Older versions of the 11.00 compiler do not understand -b yet
10572 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10574 $as_echo_n "checking if $CC understands -b... " >&6; }
10575 if ${lt_cv_prog_compiler__b+:} false; then :
10576 $as_echo_n "(cached) " >&6
10578 lt_cv_prog_compiler__b=no
10579 save_LDFLAGS="$LDFLAGS"
10580 LDFLAGS="$LDFLAGS -b"
10581 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10582 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10583 # The linker can only warn and ignore the option if not recognized
10584 # So say no if there are warnings
10585 if test -s conftest.err; then
10586 # Append any errors to the config.log.
10587 cat conftest.err 1>&5
10588 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10589 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10590 if diff conftest.exp conftest.er2 >/dev/null; then
10591 lt_cv_prog_compiler__b=yes
10594 lt_cv_prog_compiler__b=yes
10598 LDFLAGS="$save_LDFLAGS"
10601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10602 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10604 if test x"$lt_cv_prog_compiler__b" = xyes; then
10605 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10607 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10613 if test "$with_gnu_ld" = no; then
10614 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10615 hardcode_libdir_separator=:
10620 hardcode_shlibpath_var=no
10623 hardcode_direct=yes
10624 hardcode_direct_absolute=yes
10625 export_dynamic_flag_spec='${wl}-E'
10627 # hardcode_minus_L: Not really in the search PATH,
10628 # but as the default location of the library.
10629 hardcode_minus_L=yes
10635 irix5* | irix6* | nonstopux*)
10636 if test "$GCC" = yes; then
10637 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'
10638 # Try to use the -exported_symbol ld option, if it does not
10639 # work, assume that -exports_file does not work either and
10640 # implicitly export all symbols.
10641 # This should be the same for all languages, so no per-tag cache variable.
10642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10643 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10644 if ${lt_cv_irix_exported_symbol+:} false; then :
10645 $as_echo_n "(cached) " >&6
10647 save_LDFLAGS="$LDFLAGS"
10648 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10650 /* end confdefs.h. */
10651 int foo (void) { return 0; }
10653 if ac_fn_c_try_link "$LINENO"; then :
10654 lt_cv_irix_exported_symbol=yes
10656 lt_cv_irix_exported_symbol=no
10658 rm -f core conftest.err conftest.$ac_objext \
10659 conftest$ac_exeext conftest.$ac_ext
10660 LDFLAGS="$save_LDFLAGS"
10662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10663 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10664 if test "$lt_cv_irix_exported_symbol" = yes; then
10665 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'
10668 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'
10669 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'
10671 archive_cmds_need_lc='no'
10672 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10673 hardcode_libdir_separator=:
10675 link_all_deplibs=yes
10678 netbsd* | netbsdelf*-gnu)
10679 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10680 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10682 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10684 hardcode_libdir_flag_spec='-R$libdir'
10685 hardcode_direct=yes
10686 hardcode_shlibpath_var=no
10690 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10691 hardcode_direct=yes
10692 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10693 hardcode_libdir_separator=:
10694 hardcode_shlibpath_var=no
10701 if test -f /usr/libexec/ld.so; then
10702 hardcode_direct=yes
10703 hardcode_shlibpath_var=no
10704 hardcode_direct_absolute=yes
10705 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10706 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10707 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10708 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10709 export_dynamic_flag_spec='${wl}-E'
10712 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10713 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10714 hardcode_libdir_flag_spec='-R$libdir'
10717 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10718 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10728 hardcode_libdir_flag_spec='-L$libdir'
10729 hardcode_minus_L=yes
10730 allow_undefined_flag=unsupported
10731 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'
10732 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10736 if test "$GCC" = yes; then
10737 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10738 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'
10740 allow_undefined_flag=' -expect_unresolved \*'
10741 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'
10743 archive_cmds_need_lc='no'
10744 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10745 hardcode_libdir_separator=:
10748 osf4* | osf5*) # as osf3* with the addition of -msym flag
10749 if test "$GCC" = yes; then
10750 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10751 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'
10752 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10754 allow_undefined_flag=' -expect_unresolved \*'
10755 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'
10756 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~
10757 $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'
10759 # Both c and cxx compiler support -rpath directly
10760 hardcode_libdir_flag_spec='-rpath $libdir'
10762 archive_cmds_need_lc='no'
10763 hardcode_libdir_separator=:
10767 no_undefined_flag=' -z defs'
10768 if test "$GCC" = yes; then
10770 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10771 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10772 $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'
10774 case `$CC -V 2>&1` in
10777 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10778 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10779 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10783 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10784 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10785 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10789 hardcode_libdir_flag_spec='-R$libdir'
10790 hardcode_shlibpath_var=no
10792 solaris2.[0-5] | solaris2.[0-5].*) ;;
10794 # The compiler driver will combine and reorder linker options,
10795 # but understands `-z linker_flag'. GCC discards it without `$wl',
10796 # but is careful enough not to reorder.
10797 # Supported since Solaris 2.6 (maybe 2.5.1?)
10798 if test "$GCC" = yes; then
10799 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10801 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10805 link_all_deplibs=yes
10809 if test "x$host_vendor" = xsequent; then
10810 # Use $CC to link under sequent, because it throws in some extra .o
10811 # files that make .init and .fini sections work.
10812 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10814 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10816 hardcode_libdir_flag_spec='-L$libdir'
10817 hardcode_direct=yes
10818 hardcode_minus_L=yes
10819 hardcode_shlibpath_var=no
10823 case $host_vendor in
10825 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10826 hardcode_direct=yes # is this really true???
10829 ## LD is ld it makes a PLAMLIB
10830 ## CC just makes a GrossModule.
10831 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10832 reload_cmds='$CC -r -o $output$reload_objs'
10836 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10837 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10840 runpath_var='LD_RUN_PATH'
10841 hardcode_shlibpath_var=no
10845 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10846 hardcode_shlibpath_var=no
10847 export_dynamic_flag_spec='-Bexport'
10851 if test -d /usr/nec; then
10852 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10853 hardcode_shlibpath_var=no
10854 runpath_var=LD_RUN_PATH
10855 hardcode_runpath_var=yes
10860 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10861 no_undefined_flag='${wl}-z,text'
10862 archive_cmds_need_lc=no
10863 hardcode_shlibpath_var=no
10864 runpath_var='LD_RUN_PATH'
10866 if test "$GCC" = yes; then
10867 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10868 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10870 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10871 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10875 sysv5* | sco3.2v5* | sco5v6*)
10876 # Note: We can NOT use -z defs as we might desire, because we do not
10877 # link with -lc, and that would cause any symbols used from libc to
10878 # always be unresolved, which means just about no library would
10879 # ever link correctly. If we're not using GNU ld we use -z text
10880 # though, which does catch some bad symbols but isn't as heavy-handed
10882 no_undefined_flag='${wl}-z,text'
10883 allow_undefined_flag='${wl}-z,nodefs'
10884 archive_cmds_need_lc=no
10885 hardcode_shlibpath_var=no
10886 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10887 hardcode_libdir_separator=':'
10888 link_all_deplibs=yes
10889 export_dynamic_flag_spec='${wl}-Bexport'
10890 runpath_var='LD_RUN_PATH'
10892 if test "$GCC" = yes; then
10893 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10894 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10896 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10897 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10902 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10903 hardcode_libdir_flag_spec='-L$libdir'
10904 hardcode_shlibpath_var=no
10912 if test x$host_vendor = xsni; then
10914 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10915 export_dynamic_flag_spec='${wl}-Blargedynsym'
10921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10922 $as_echo "$ld_shlibs" >&6; }
10923 test "$ld_shlibs" = no && can_build_shared=no
10925 with_gnu_ld=$with_gnu_ld
10942 # Do we need to explicitly link libc?
10944 case "x$archive_cmds_need_lc" in
10946 # Assume -lc should be added
10947 archive_cmds_need_lc=yes
10949 if test "$enable_shared" = yes && test "$GCC" = yes; then
10950 case $archive_cmds in
10952 # FIXME: we may have to deal with multi-command sequences.
10955 # Test whether the compiler implicitly links with -lc since on some
10956 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10957 # to ld, don't add -lc before -lgcc.
10958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10959 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10960 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10961 $as_echo_n "(cached) " >&6
10964 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10966 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10967 (eval $ac_compile) 2>&5
10969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10970 test $ac_status = 0; } 2>conftest.err; then
10973 libobjs=conftest.$ac_objext
10975 wl=$lt_prog_compiler_wl
10976 pic_flag=$lt_prog_compiler_pic
10982 lt_save_allow_undefined_flag=$allow_undefined_flag
10983 allow_undefined_flag=
10984 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10985 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10987 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10988 test $ac_status = 0; }
10990 lt_cv_archive_cmds_need_lc=no
10992 lt_cv_archive_cmds_need_lc=yes
10994 allow_undefined_flag=$lt_save_allow_undefined_flag
10996 cat conftest.err 1>&5
11001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11002 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11003 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11162 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11164 if test "$GCC" = yes; then
11166 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11167 *) lt_awk_arg="/^libraries:/" ;;
11170 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11171 *) lt_sed_strip_eq="s,=/,/,g" ;;
11173 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11174 case $lt_search_path_spec in
11176 # if the path contains ";" then we assume it to be the separator
11177 # otherwise default to the standard path separator (i.e. ":") - it is
11178 # assumed that no part of a normal pathname contains ";" but that should
11179 # okay in the real world where ";" in dirpaths is itself problematic.
11180 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11183 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11186 # Ok, now we have the path, separated by spaces, we can step through it
11187 # and add multilib dir if necessary.
11188 lt_tmp_lt_search_path_spec=
11189 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11190 for lt_sys_path in $lt_search_path_spec; do
11191 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11192 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11194 test -d "$lt_sys_path" && \
11195 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11198 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11199 BEGIN {RS=" "; FS="/|\n";} {
11202 for (lt_i = NF; lt_i > 0; lt_i--) {
11203 if ($lt_i != "" && $lt_i != ".") {
11204 if ($lt_i == "..") {
11207 if (lt_count == 0) {
11208 lt_foo="/" $lt_i lt_foo;
11215 if (lt_foo != "") { lt_freq[lt_foo]++; }
11216 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11218 # AWK program above erroneously prepends '/' to C:/dos/paths
11221 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11222 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11224 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11226 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11228 library_names_spec=
11229 libname_spec='lib$name'
11233 postuninstall_cmds=
11237 shlibpath_overrides_runpath=unknown
11239 dynamic_linker="$host_os ld.so"
11240 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11241 need_lib_prefix=unknown
11242 hardcode_into_libs=no
11244 # when you set need_version to no, make sure it does not cause -set_version
11245 # flags to be left without arguments
11246 need_version=unknown
11250 version_type=linux # correct to gnu/linux during the next big refactor
11251 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11252 shlibpath_var=LIBPATH
11254 # AIX 3 has no versioning support, so we append a major version to the name.
11255 soname_spec='${libname}${release}${shared_ext}$major'
11259 version_type=linux # correct to gnu/linux during the next big refactor
11262 hardcode_into_libs=yes
11263 if test "$host_cpu" = ia64; then
11264 # AIX 5 supports IA64
11265 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11266 shlibpath_var=LD_LIBRARY_PATH
11268 # With GCC up to 2.95.x, collect2 would create an import file
11269 # for dependence libraries. The import file would start with
11270 # the line `#! .'. This would cause the generated library to
11271 # depend on `.', always an invalid library. This was fixed in
11272 # development snapshots of GCC prior to 3.0.
11274 aix4 | aix4.[01] | aix4.[01].*)
11275 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11277 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11280 can_build_shared=no
11284 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11285 # soname into executable. Probably we can add versioning support to
11286 # collect2, so additional links can be useful in future.
11287 if test "$aix_use_runtimelinking" = yes; then
11288 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11289 # instead of lib<name>.a to let people know that these are not
11290 # typical AIX shared libraries.
11291 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11293 # We preserve .a as extension for shared libraries through AIX4.2
11294 # and later when we are not doing run time linking.
11295 library_names_spec='${libname}${release}.a $libname.a'
11296 soname_spec='${libname}${release}${shared_ext}$major'
11298 shlibpath_var=LIBPATH
11305 # Since July 2007 AmigaOS4 officially supports .so libraries.
11306 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11307 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11310 library_names_spec='$libname.ixlibrary $libname.a'
11311 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11312 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'
11318 library_names_spec='${libname}${shared_ext}'
11319 dynamic_linker="$host_os ld.so"
11320 shlibpath_var=LIBRARY_PATH
11324 version_type=linux # correct to gnu/linux during the next big refactor
11326 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11327 soname_spec='${libname}${release}${shared_ext}$major'
11328 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11329 shlibpath_var=LD_LIBRARY_PATH
11330 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11331 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11332 # the default ld.so.conf also contains /usr/contrib/lib and
11333 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11334 # libtool to hard-code these into programs
11337 cygwin* | mingw* | pw32* | cegcc*)
11338 version_type=windows
11343 case $GCC,$cc_basename in
11346 library_names_spec='$libname.dll.a'
11347 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11348 postinstall_cmds='base_file=`basename \${file}`~
11349 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11350 dldir=$destdir/`dirname \$dlpath`~
11351 test -d \$dldir || mkdir -p \$dldir~
11352 $install_prog $dir/$dlname \$dldir/$dlname~
11353 chmod a+x \$dldir/$dlname~
11354 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11355 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11357 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11358 dlpath=$dir/\$dldll~
11360 shlibpath_overrides_runpath=yes
11364 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11365 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11367 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11370 # MinGW DLLs use traditional 'lib' prefix
11371 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11374 # pw32 DLLs use 'pw' prefix rather than 'lib'
11375 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11378 dynamic_linker='Win32 ld.exe'
11383 libname_spec='$name'
11384 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11385 library_names_spec='${libname}.dll.lib'
11389 sys_lib_search_path_spec=
11392 for lt_path in $LIB
11395 # Let DOS variable expansion print the short 8.3 style file name.
11396 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11397 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11400 # Convert to MSYS style.
11401 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11404 # Convert to unix form, then to dos form, then back to unix form
11405 # but this time dos style (no spaces!) so that the unix form looks
11406 # like /cygdrive/c/PROGRA~1:/cygdr...
11407 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11408 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11409 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11412 sys_lib_search_path_spec="$LIB"
11413 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11414 # It is most probably a Windows format PATH.
11415 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11417 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11419 # FIXME: find the short name or the path components, as spaces are
11420 # common. (e.g. "Program Files" -> "PROGRA~1")
11424 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11425 postinstall_cmds='base_file=`basename \${file}`~
11426 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11427 dldir=$destdir/`dirname \$dlpath`~
11428 test -d \$dldir || mkdir -p \$dldir~
11429 $install_prog $dir/$dlname \$dldir/$dlname'
11430 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11431 dlpath=$dir/\$dldll~
11433 shlibpath_overrides_runpath=yes
11434 dynamic_linker='Win32 link.exe'
11438 # Assume MSVC wrapper
11439 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11440 dynamic_linker='Win32 ld.exe'
11443 # FIXME: first we should search . and the directory the executable is in
11447 darwin* | rhapsody*)
11448 dynamic_linker="$host_os dyld"
11449 version_type=darwin
11452 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11453 soname_spec='${libname}${release}${major}$shared_ext'
11454 shlibpath_overrides_runpath=yes
11455 shlibpath_var=DYLD_LIBRARY_PATH
11456 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11458 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11459 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11463 version_type=linux # correct to gnu/linux during the next big refactor
11466 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11467 soname_spec='${libname}${release}${shared_ext}$major'
11468 shlibpath_var=LD_LIBRARY_PATH
11471 freebsd* | dragonfly*)
11472 # DragonFly does not have aout. When/if they implement a new
11473 # versioning mechanism, adjust this.
11474 if test -x /usr/bin/objformat; then
11475 objformat=`/usr/bin/objformat`
11478 freebsd[23].*) objformat=aout ;;
11479 *) objformat=elf ;;
11482 version_type=freebsd-$objformat
11483 case $version_type in
11485 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11490 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11494 shlibpath_var=LD_LIBRARY_PATH
11497 shlibpath_overrides_runpath=yes
11499 freebsd3.[01]* | freebsdelf3.[01]*)
11500 shlibpath_overrides_runpath=yes
11501 hardcode_into_libs=yes
11503 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11504 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11505 shlibpath_overrides_runpath=no
11506 hardcode_into_libs=yes
11508 *) # from 4.6 on, and DragonFly
11509 shlibpath_overrides_runpath=yes
11510 hardcode_into_libs=yes
11516 version_type=linux # correct to gnu/linux during the next big refactor
11519 dynamic_linker="$host_os runtime_loader"
11520 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11521 soname_spec='${libname}${release}${shared_ext}$major'
11522 shlibpath_var=LIBRARY_PATH
11523 shlibpath_overrides_runpath=yes
11524 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11525 hardcode_into_libs=yes
11528 hpux9* | hpux10* | hpux11*)
11529 # Give a soname corresponding to the major version so that dld.sl refuses to
11530 # link against other versions.
11537 hardcode_into_libs=yes
11538 dynamic_linker="$host_os dld.so"
11539 shlibpath_var=LD_LIBRARY_PATH
11540 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11541 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11542 soname_spec='${libname}${release}${shared_ext}$major'
11543 if test "X$HPUX_IA64_MODE" = X32; then
11544 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11546 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11548 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11552 hardcode_into_libs=yes
11553 dynamic_linker="$host_os dld.sl"
11554 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11555 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11556 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11557 soname_spec='${libname}${release}${shared_ext}$major'
11558 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11559 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11563 dynamic_linker="$host_os dld.sl"
11564 shlibpath_var=SHLIB_PATH
11565 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11566 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11567 soname_spec='${libname}${release}${shared_ext}$major'
11570 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11571 postinstall_cmds='chmod 555 $lib'
11572 # or fails outright, so override atomically:
11573 install_override_mode=555
11577 version_type=linux # correct to gnu/linux during the next big refactor
11580 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11581 soname_spec='${libname}${release}${shared_ext}$major'
11582 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11583 shlibpath_var=LD_LIBRARY_PATH
11584 shlibpath_overrides_runpath=no
11585 hardcode_into_libs=yes
11588 irix5* | irix6* | nonstopux*)
11590 nonstopux*) version_type=nonstopux ;;
11592 if test "$lt_cv_prog_gnu_ld" = yes; then
11593 version_type=linux # correct to gnu/linux during the next big refactor
11600 soname_spec='${libname}${release}${shared_ext}$major'
11601 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11603 irix5* | nonstopux*)
11604 libsuff= shlibsuff=
11607 case $LD in # libtool.m4 will add one of these switches to LD
11608 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11609 libsuff= shlibsuff= libmagic=32-bit;;
11610 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11611 libsuff=32 shlibsuff=N32 libmagic=N32;;
11612 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11613 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11614 *) libsuff= shlibsuff= libmagic=never-match;;
11618 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11619 shlibpath_overrides_runpath=no
11620 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11621 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11622 hardcode_into_libs=yes
11625 # No shared lib support for Linux oldld, aout, or coff.
11626 linux*oldld* | linux*aout* | linux*coff*)
11630 # This must be glibc/ELF.
11631 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11632 version_type=linux # correct to gnu/linux during the next big refactor
11635 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11636 soname_spec='${libname}${release}${shared_ext}$major'
11637 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11638 shlibpath_var=LD_LIBRARY_PATH
11639 shlibpath_overrides_runpath=no
11641 # Some binutils ld are patched to set DT_RUNPATH
11642 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11643 $as_echo_n "(cached) " >&6
11645 lt_cv_shlibpath_overrides_runpath=no
11646 save_LDFLAGS=$LDFLAGS
11647 save_libdir=$libdir
11648 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11649 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11651 /* end confdefs.h. */
11661 if ac_fn_c_try_link "$LINENO"; then :
11662 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11663 lt_cv_shlibpath_overrides_runpath=yes
11666 rm -f core conftest.err conftest.$ac_objext \
11667 conftest$ac_exeext conftest.$ac_ext
11668 LDFLAGS=$save_LDFLAGS
11669 libdir=$save_libdir
11673 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11675 # This implies no fast_install, which is unacceptable.
11676 # Some rework will be needed to allow for fast_install
11677 # before this can be enabled.
11678 hardcode_into_libs=yes
11680 # Append ld.so.conf contents to the search path
11681 if test -f /etc/ld.so.conf; then
11682 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' ' '`
11683 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11686 # We used to test for /lib/ld.so.1 and disable shared libraries on
11687 # powerpc, because MkLinux only supported shared libraries with the
11688 # GNU dynamic linker. Since this was broken with cross compilers,
11689 # most powerpc-linux boxes support dynamic linking these days and
11690 # people can always --disable-shared, the test was removed, and we
11691 # assume the GNU/Linux dynamic linker is in use.
11692 dynamic_linker='GNU/Linux ld.so'
11699 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11700 soname_spec='${libname}${release}${shared_ext}$major'
11701 shlibpath_var=LD_LIBRARY_PATH
11702 shlibpath_overrides_runpath=no
11703 hardcode_into_libs=yes
11704 dynamic_linker='NetBSD ld.elf_so'
11711 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11712 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11713 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11714 dynamic_linker='NetBSD (a.out) ld.so'
11716 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11717 soname_spec='${libname}${release}${shared_ext}$major'
11718 dynamic_linker='NetBSD ld.elf_so'
11720 shlibpath_var=LD_LIBRARY_PATH
11721 shlibpath_overrides_runpath=yes
11722 hardcode_into_libs=yes
11726 version_type=linux # correct to gnu/linux during the next big refactor
11727 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11728 shlibpath_var=LD_LIBRARY_PATH
11729 shlibpath_overrides_runpath=yes
11736 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11737 soname_spec='${libname}${release}${shared_ext}$major'
11738 shlibpath_var=LD_LIBRARY_PATH
11739 shlibpath_overrides_runpath=no
11740 hardcode_into_libs=yes
11741 dynamic_linker='ldqnx.so'
11746 sys_lib_dlsearch_path_spec="/usr/lib"
11748 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11750 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11751 *) need_version=no ;;
11753 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11754 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11755 shlibpath_var=LD_LIBRARY_PATH
11756 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11758 openbsd2.[89] | openbsd2.[89].*)
11759 shlibpath_overrides_runpath=no
11762 shlibpath_overrides_runpath=yes
11766 shlibpath_overrides_runpath=yes
11771 libname_spec='$name'
11774 library_names_spec='$libname${shared_ext} $libname.a'
11775 dynamic_linker='OS/2 ld.exe'
11776 shlibpath_var=LIBPATH
11779 osf3* | osf4* | osf5*)
11783 soname_spec='${libname}${release}${shared_ext}$major'
11784 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11785 shlibpath_var=LD_LIBRARY_PATH
11786 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11787 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11795 version_type=linux # correct to gnu/linux during the next big refactor
11798 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11799 soname_spec='${libname}${release}${shared_ext}$major'
11800 shlibpath_var=LD_LIBRARY_PATH
11801 shlibpath_overrides_runpath=yes
11802 hardcode_into_libs=yes
11803 # ldd complains unless libraries are executable
11804 postinstall_cmds='chmod +x $lib'
11809 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11810 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11811 shlibpath_var=LD_LIBRARY_PATH
11812 shlibpath_overrides_runpath=yes
11813 if test "$with_gnu_ld" = yes; then
11820 version_type=linux # correct to gnu/linux during the next big refactor
11821 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11822 soname_spec='${libname}${release}${shared_ext}$major'
11823 shlibpath_var=LD_LIBRARY_PATH
11824 case $host_vendor in
11826 shlibpath_overrides_runpath=no
11828 runpath_var=LD_RUN_PATH
11836 shlibpath_overrides_runpath=no
11837 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11843 if test -d /usr/nec ;then
11844 version_type=linux # correct to gnu/linux during the next big refactor
11845 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11846 soname_spec='$libname${shared_ext}.$major'
11847 shlibpath_var=LD_LIBRARY_PATH
11851 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11852 version_type=freebsd-elf
11855 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11856 soname_spec='${libname}${release}${shared_ext}$major'
11857 shlibpath_var=LD_LIBRARY_PATH
11858 shlibpath_overrides_runpath=yes
11859 hardcode_into_libs=yes
11860 if test "$with_gnu_ld" = yes; then
11861 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11863 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11866 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11870 sys_lib_dlsearch_path_spec='/usr/lib'
11874 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11875 version_type=linux # correct to gnu/linux during the next big refactor
11878 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11879 shlibpath_var=LD_LIBRARY_PATH
11880 shlibpath_overrides_runpath=no
11881 hardcode_into_libs=yes
11885 version_type=linux # correct to gnu/linux during the next big refactor
11886 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11887 soname_spec='${libname}${release}${shared_ext}$major'
11888 shlibpath_var=LD_LIBRARY_PATH
11895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11896 $as_echo "$dynamic_linker" >&6; }
11897 test "$dynamic_linker" = no && can_build_shared=no
11899 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11900 if test "$GCC" = yes; then
11901 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11904 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11905 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11907 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11908 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12003 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12005 if test -n "$hardcode_libdir_flag_spec" ||
12006 test -n "$runpath_var" ||
12007 test "X$hardcode_automatic" = "Xyes" ; then
12009 # We can hardcode non-existent directories.
12010 if test "$hardcode_direct" != no &&
12011 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12012 # have to relink, otherwise we might link with an installed library
12013 # when we should be linking with a yet-to-be-installed one
12014 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12015 test "$hardcode_minus_L" != no; then
12016 # Linking always hardcodes the temporary library directory.
12017 hardcode_action=relink
12019 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12020 hardcode_action=immediate
12023 # We cannot hardcode anything, or else we can only hardcode existing
12025 hardcode_action=unsupported
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12028 $as_echo "$hardcode_action" >&6; }
12030 if test "$hardcode_action" = relink ||
12031 test "$inherit_rpath" = yes; then
12032 # Fast installation is not supported
12033 enable_fast_install=no
12034 elif test "$shlibpath_overrides_runpath" = yes ||
12035 test "$enable_shared" = no; then
12036 # Fast installation is not necessary
12037 enable_fast_install=needless
12045 if test "x$enable_dlopen" != xyes; then
12046 enable_dlopen=unknown
12047 enable_dlopen_self=unknown
12048 enable_dlopen_self_static=unknown
12055 lt_cv_dlopen="load_add_on"
12057 lt_cv_dlopen_self=yes
12060 mingw* | pw32* | cegcc*)
12061 lt_cv_dlopen="LoadLibrary"
12066 lt_cv_dlopen="dlopen"
12071 # if libdl is installed we need to link against it
12072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12073 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12074 if ${ac_cv_lib_dl_dlopen+:} false; then :
12075 $as_echo_n "(cached) " >&6
12077 ac_check_lib_save_LIBS=$LIBS
12079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12080 /* end confdefs.h. */
12082 /* Override any GCC internal prototype to avoid an error.
12083 Use char because int might match the return type of a GCC
12084 builtin and then its argument prototype would still apply. */
12097 if ac_fn_c_try_link "$LINENO"; then :
12098 ac_cv_lib_dl_dlopen=yes
12100 ac_cv_lib_dl_dlopen=no
12102 rm -f core conftest.err conftest.$ac_objext \
12103 conftest$ac_exeext conftest.$ac_ext
12104 LIBS=$ac_check_lib_save_LIBS
12106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12107 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12108 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12109 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12112 lt_cv_dlopen="dyld"
12114 lt_cv_dlopen_self=yes
12121 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12122 if test "x$ac_cv_func_shl_load" = xyes; then :
12123 lt_cv_dlopen="shl_load"
12125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12126 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12127 if ${ac_cv_lib_dld_shl_load+:} false; then :
12128 $as_echo_n "(cached) " >&6
12130 ac_check_lib_save_LIBS=$LIBS
12132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12133 /* end confdefs.h. */
12135 /* Override any GCC internal prototype to avoid an error.
12136 Use char because int might match the return type of a GCC
12137 builtin and then its argument prototype would still apply. */
12145 return shl_load ();
12150 if ac_fn_c_try_link "$LINENO"; then :
12151 ac_cv_lib_dld_shl_load=yes
12153 ac_cv_lib_dld_shl_load=no
12155 rm -f core conftest.err conftest.$ac_objext \
12156 conftest$ac_exeext conftest.$ac_ext
12157 LIBS=$ac_check_lib_save_LIBS
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12160 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12161 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12162 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12164 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12165 if test "x$ac_cv_func_dlopen" = xyes; then :
12166 lt_cv_dlopen="dlopen"
12168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12169 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12170 if ${ac_cv_lib_dl_dlopen+:} false; then :
12171 $as_echo_n "(cached) " >&6
12173 ac_check_lib_save_LIBS=$LIBS
12175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12176 /* end confdefs.h. */
12178 /* Override any GCC internal prototype to avoid an error.
12179 Use char because int might match the return type of a GCC
12180 builtin and then its argument prototype would still apply. */
12193 if ac_fn_c_try_link "$LINENO"; then :
12194 ac_cv_lib_dl_dlopen=yes
12196 ac_cv_lib_dl_dlopen=no
12198 rm -f core conftest.err conftest.$ac_objext \
12199 conftest$ac_exeext conftest.$ac_ext
12200 LIBS=$ac_check_lib_save_LIBS
12202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12203 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12204 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12205 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12208 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12209 if ${ac_cv_lib_svld_dlopen+:} false; then :
12210 $as_echo_n "(cached) " >&6
12212 ac_check_lib_save_LIBS=$LIBS
12213 LIBS="-lsvld $LIBS"
12214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12215 /* end confdefs.h. */
12217 /* Override any GCC internal prototype to avoid an error.
12218 Use char because int might match the return type of a GCC
12219 builtin and then its argument prototype would still apply. */
12232 if ac_fn_c_try_link "$LINENO"; then :
12233 ac_cv_lib_svld_dlopen=yes
12235 ac_cv_lib_svld_dlopen=no
12237 rm -f core conftest.err conftest.$ac_objext \
12238 conftest$ac_exeext conftest.$ac_ext
12239 LIBS=$ac_check_lib_save_LIBS
12241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12242 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12243 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12244 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12247 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12248 if ${ac_cv_lib_dld_dld_link+:} false; then :
12249 $as_echo_n "(cached) " >&6
12251 ac_check_lib_save_LIBS=$LIBS
12253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12254 /* end confdefs.h. */
12256 /* Override any GCC internal prototype to avoid an error.
12257 Use char because int might match the return type of a GCC
12258 builtin and then its argument prototype would still apply. */
12266 return dld_link ();
12271 if ac_fn_c_try_link "$LINENO"; then :
12272 ac_cv_lib_dld_dld_link=yes
12274 ac_cv_lib_dld_dld_link=no
12276 rm -f core conftest.err conftest.$ac_objext \
12277 conftest$ac_exeext conftest.$ac_ext
12278 LIBS=$ac_check_lib_save_LIBS
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12281 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12282 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12283 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12304 if test "x$lt_cv_dlopen" != xno; then
12310 case $lt_cv_dlopen in
12312 save_CPPFLAGS="$CPPFLAGS"
12313 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12315 save_LDFLAGS="$LDFLAGS"
12316 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12319 LIBS="$lt_cv_dlopen_libs $LIBS"
12321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12322 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12323 if ${lt_cv_dlopen_self+:} false; then :
12324 $as_echo_n "(cached) " >&6
12326 if test "$cross_compiling" = yes; then :
12327 lt_cv_dlopen_self=cross
12329 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12330 lt_status=$lt_dlunknown
12331 cat > conftest.$ac_ext <<_LT_EOF
12332 #line $LINENO "configure"
12333 #include "confdefs.h"
12342 # define LT_DLGLOBAL RTLD_GLOBAL
12345 # define LT_DLGLOBAL DL_GLOBAL
12347 # define LT_DLGLOBAL 0
12351 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12352 find out it does not work in some platform. */
12353 #ifndef LT_DLLAZY_OR_NOW
12355 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12358 # define LT_DLLAZY_OR_NOW DL_LAZY
12361 # define LT_DLLAZY_OR_NOW RTLD_NOW
12364 # define LT_DLLAZY_OR_NOW DL_NOW
12366 # define LT_DLLAZY_OR_NOW 0
12373 /* When -fvisbility=hidden is used, assume the code has been annotated
12374 correspondingly for the symbols needed. */
12375 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12376 int fnord () __attribute__((visibility("default")));
12379 int fnord () { return 42; }
12382 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12383 int status = $lt_dlunknown;
12387 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12390 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12391 else puts (dlerror ());
12393 /* dlclose (self); */
12401 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12402 (eval $ac_link) 2>&5
12404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12405 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12406 (./conftest; exit; ) >&5 2>/dev/null
12408 case x$lt_status in
12409 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12410 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12411 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12414 # compilation failed
12415 lt_cv_dlopen_self=no
12422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12423 $as_echo "$lt_cv_dlopen_self" >&6; }
12425 if test "x$lt_cv_dlopen_self" = xyes; then
12426 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12428 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12429 if ${lt_cv_dlopen_self_static+:} false; then :
12430 $as_echo_n "(cached) " >&6
12432 if test "$cross_compiling" = yes; then :
12433 lt_cv_dlopen_self_static=cross
12435 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12436 lt_status=$lt_dlunknown
12437 cat > conftest.$ac_ext <<_LT_EOF
12438 #line $LINENO "configure"
12439 #include "confdefs.h"
12448 # define LT_DLGLOBAL RTLD_GLOBAL
12451 # define LT_DLGLOBAL DL_GLOBAL
12453 # define LT_DLGLOBAL 0
12457 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12458 find out it does not work in some platform. */
12459 #ifndef LT_DLLAZY_OR_NOW
12461 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12464 # define LT_DLLAZY_OR_NOW DL_LAZY
12467 # define LT_DLLAZY_OR_NOW RTLD_NOW
12470 # define LT_DLLAZY_OR_NOW DL_NOW
12472 # define LT_DLLAZY_OR_NOW 0
12479 /* When -fvisbility=hidden is used, assume the code has been annotated
12480 correspondingly for the symbols needed. */
12481 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12482 int fnord () __attribute__((visibility("default")));
12485 int fnord () { return 42; }
12488 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12489 int status = $lt_dlunknown;
12493 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12496 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12497 else puts (dlerror ());
12499 /* dlclose (self); */
12507 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12508 (eval $ac_link) 2>&5
12510 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12511 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12512 (./conftest; exit; ) >&5 2>/dev/null
12514 case x$lt_status in
12515 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12516 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12517 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12520 # compilation failed
12521 lt_cv_dlopen_self_static=no
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12529 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12532 CPPFLAGS="$save_CPPFLAGS"
12533 LDFLAGS="$save_LDFLAGS"
12538 case $lt_cv_dlopen_self in
12539 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12540 *) enable_dlopen_self=unknown ;;
12543 case $lt_cv_dlopen_self_static in
12544 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12545 *) enable_dlopen_self_static=unknown ;;
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12568 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12569 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12570 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12571 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12573 $as_echo "yes" >&6; }
12575 # FIXME - insert some real tests, host_os isn't really good enough
12578 if test -n "$STRIP" ; then
12579 striplib="$STRIP -x"
12580 old_striplib="$STRIP -S"
12581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12582 $as_echo "yes" >&6; }
12584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12585 $as_echo "no" >&6; }
12589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12590 $as_echo "no" >&6; }
12606 # Report which library types will actually be built
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12608 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12610 $as_echo "$can_build_shared" >&6; }
12612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12613 $as_echo_n "checking whether to build shared libraries... " >&6; }
12614 test "$can_build_shared" = "no" && enable_shared=no
12616 # On AIX, shared libraries and static libraries use the same namespace, and
12617 # are all built from PIC.
12620 test "$enable_shared" = yes && enable_static=no
12621 if test -n "$RANLIB"; then
12622 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12623 postinstall_cmds='$RANLIB $lib'
12628 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12629 test "$enable_shared" = yes && enable_static=no
12633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12634 $as_echo "$enable_shared" >&6; }
12636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12637 $as_echo_n "checking whether to build static libraries... " >&6; }
12638 # Make sure either enable_shared or enable_static is yes.
12639 test "$enable_shared" = yes || enable_static=yes
12640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12641 $as_echo "$enable_static" >&6; }
12648 ac_cpp='$CPP $CPPFLAGS'
12649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12669 ac_config_commands="$ac_config_commands libtool"
12674 # Only expand once:
12679 ac_cpp='$CXXCPP $CPPFLAGS'
12680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12683 if test -z "$CXX"; then
12684 if test -n "$CCC"; then
12687 if test -n "$ac_tool_prefix"; then
12688 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12690 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12691 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12693 $as_echo_n "checking for $ac_word... " >&6; }
12694 if ${ac_cv_prog_CXX+:} false; then :
12695 $as_echo_n "(cached) " >&6
12697 if test -n "$CXX"; then
12698 ac_cv_prog_CXX="$CXX" # Let the user override the test.
12700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12701 for as_dir in $PATH
12704 test -z "$as_dir" && as_dir=.
12705 for ac_exec_ext in '' $ac_executable_extensions; do
12706 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12707 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
12708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12717 CXX=$ac_cv_prog_CXX
12718 if test -n "$CXX"; then
12719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
12720 $as_echo "$CXX" >&6; }
12722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12723 $as_echo "no" >&6; }
12727 test -n "$CXX" && break
12730 if test -z "$CXX"; then
12732 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12734 # Extract the first word of "$ac_prog", so it can be a program name with args.
12735 set dummy $ac_prog; ac_word=$2
12736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12737 $as_echo_n "checking for $ac_word... " >&6; }
12738 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
12739 $as_echo_n "(cached) " >&6
12741 if test -n "$ac_ct_CXX"; then
12742 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
12744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12745 for as_dir in $PATH
12748 test -z "$as_dir" && as_dir=.
12749 for ac_exec_ext in '' $ac_executable_extensions; do
12750 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12751 ac_cv_prog_ac_ct_CXX="$ac_prog"
12752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12761 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
12762 if test -n "$ac_ct_CXX"; then
12763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
12764 $as_echo "$ac_ct_CXX" >&6; }
12766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12767 $as_echo "no" >&6; }
12771 test -n "$ac_ct_CXX" && break
12774 if test "x$ac_ct_CXX" = x; then
12777 case $cross_compiling:$ac_tool_warned in
12779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12780 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12781 ac_tool_warned=yes ;;
12789 # Provide some information about the compiler.
12790 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
12793 for ac_option in --version -v -V -qversion; do
12794 { { ac_try="$ac_compiler $ac_option >&5"
12795 case "(($ac_try" in
12796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12797 *) ac_try_echo=$ac_try;;
12799 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12800 $as_echo "$ac_try_echo"; } >&5
12801 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12803 if test -s conftest.err; then
12805 ... rest of stderr output deleted ...
12806 10q' conftest.err >conftest.er1
12807 cat conftest.er1 >&5
12809 rm -f conftest.er1 conftest.err
12810 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12811 test $ac_status = 0; }
12814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
12815 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
12816 if ${ac_cv_cxx_compiler_gnu+:} false; then :
12817 $as_echo_n "(cached) " >&6
12819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12820 /* end confdefs.h. */
12833 if ac_fn_cxx_try_compile "$LINENO"; then :
12834 ac_compiler_gnu=yes
12838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12839 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
12842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
12843 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
12844 if test $ac_compiler_gnu = yes; then
12849 ac_test_CXXFLAGS=${CXXFLAGS+set}
12850 ac_save_CXXFLAGS=$CXXFLAGS
12851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
12852 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
12853 if ${ac_cv_prog_cxx_g+:} false; then :
12854 $as_echo_n "(cached) " >&6
12856 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
12857 ac_cxx_werror_flag=yes
12858 ac_cv_prog_cxx_g=no
12860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12861 /* end confdefs.h. */
12871 if ac_fn_cxx_try_compile "$LINENO"; then :
12872 ac_cv_prog_cxx_g=yes
12875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12876 /* end confdefs.h. */
12886 if ac_fn_cxx_try_compile "$LINENO"; then :
12889 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12892 /* end confdefs.h. */
12902 if ac_fn_cxx_try_compile "$LINENO"; then :
12903 ac_cv_prog_cxx_g=yes
12905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12910 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
12913 $as_echo "$ac_cv_prog_cxx_g" >&6; }
12914 if test "$ac_test_CXXFLAGS" = set; then
12915 CXXFLAGS=$ac_save_CXXFLAGS
12916 elif test $ac_cv_prog_cxx_g = yes; then
12917 if test "$GXX" = yes; then
12923 if test "$GXX" = yes; then
12930 ac_cpp='$CPP $CPPFLAGS'
12931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12935 depcc="$CXX" am_compiler_list=
12937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12938 $as_echo_n "checking dependency style of $depcc... " >&6; }
12939 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
12940 $as_echo_n "(cached) " >&6
12942 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12943 # We make a subdir and do the tests there. Otherwise we can end up
12944 # making bogus files that we don't know about and never remove. For
12945 # instance it was reported that on HP-UX the gcc test will end up
12946 # making a dummy file named `D' -- because `-MD' means `put the output
12948 rm -rf conftest.dir
12950 # Copy depcomp to subdir because otherwise we won't find it if we're
12951 # using a relative directory.
12952 cp "$am_depcomp" conftest.dir
12954 # We will build objects and dependencies in a subdirectory because
12955 # it helps to detect inapplicable dependency modes. For instance
12956 # both Tru64's cc and ICC support -MD to output dependencies as a
12957 # side effect of compilation, but ICC will put the dependencies in
12958 # the current directory while Tru64 will put them in the object
12962 am_cv_CXX_dependencies_compiler_type=none
12963 if test "$am_compiler_list" = ""; then
12964 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12966 am__universal=false
12967 case " $depcc " in #(
12968 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12971 for depmode in $am_compiler_list; do
12972 # Setup a source with many dependencies, because some compilers
12973 # like to wrap large dependency lists on column 80 (with \), and
12974 # we should not choose a depcomp mode which is confused by this.
12976 # We need to recreate these files for each test, as the compiler may
12977 # overwrite some of them when testing with obscure command lines.
12978 # This happens at least with the AIX C compiler.
12980 for i in 1 2 3 4 5 6; do
12981 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12982 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12983 # Solaris 8's {/usr,}/bin/sh.
12984 touch sub/conftst$i.h
12986 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12988 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12989 # mode. It turns out that the SunPro C++ compiler does not properly
12990 # handle `-M -o', and we need to detect this. Also, some Intel
12991 # versions had trouble with output in subdirs
12992 am__obj=sub/conftest.${OBJEXT-o}
12993 am__minus_obj="-o $am__obj"
12996 # This depmode causes a compiler race in universal mode.
12997 test "$am__universal" = false || continue
13000 # after this tag, mechanisms are not by side-effect, so they'll
13001 # only be used when explicitly requested
13002 if test "x$enable_dependency_tracking" = xyes; then
13008 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
13009 # This compiler won't grok `-c -o', but also, the minuso test has
13010 # not run yet. These depmodes are late enough in the game, and
13011 # so weak that their functioning should not be impacted.
13012 am__obj=conftest.${OBJEXT-o}
13017 if depmode=$depmode \
13018 source=sub/conftest.c object=$am__obj \
13019 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13020 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13021 >/dev/null 2>conftest.err &&
13022 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13023 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13024 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13025 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13026 # icc doesn't choke on unknown options, it will just issue warnings
13027 # or remarks (even with -Werror). So we grep stderr for any message
13028 # that says an option was ignored or not supported.
13029 # When given -MP, icc 7.0 and 7.1 complain thusly:
13030 # icc: Command line warning: ignoring option '-M'; no argument required
13031 # The diagnosis changed in icc 8.0:
13032 # icc: Command line remark: option '-MP' not supported
13033 if (grep 'ignoring option' conftest.err ||
13034 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13035 am_cv_CXX_dependencies_compiler_type=$depmode
13042 rm -rf conftest.dir
13044 am_cv_CXX_dependencies_compiler_type=none
13048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
13049 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
13050 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
13053 test "x$enable_dependency_tracking" != xno \
13054 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
13055 am__fastdepCXX_TRUE=
13056 am__fastdepCXX_FALSE='#'
13058 am__fastdepCXX_TRUE='#'
13059 am__fastdepCXX_FALSE=
13065 func_stripname_cnf ()
13068 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
13069 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
13071 } # func_stripname_cnf
13073 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13074 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13075 (test "X$CXX" != "Xg++"))) ; then
13077 ac_cpp='$CXXCPP $CPPFLAGS'
13078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13082 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13083 if test -z "$CXXCPP"; then
13084 if ${ac_cv_prog_CXXCPP+:} false; then :
13085 $as_echo_n "(cached) " >&6
13087 # Double quotes because CXXCPP needs to be expanded
13088 for CXXCPP in "$CXX -E" "/lib/cpp"
13090 ac_preproc_ok=false
13091 for ac_cxx_preproc_warn_flag in '' yes
13093 # Use a header file that comes with gcc, so configuring glibc
13094 # with a fresh cross-compiler works.
13095 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13096 # <limits.h> exists even on freestanding compilers.
13097 # On the NeXT, cc -E runs the code through the compiler's parser,
13098 # not just through cpp. "Syntax error" is here to catch this case.
13099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13100 /* end confdefs.h. */
13102 # include <limits.h>
13104 # include <assert.h>
13108 if ac_fn_cxx_try_cpp "$LINENO"; then :
13111 # Broken: fails on valid input.
13114 rm -f conftest.err conftest.i conftest.$ac_ext
13116 # OK, works on sane cases. Now check whether nonexistent headers
13117 # can be detected and how.
13118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13119 /* end confdefs.h. */
13120 #include <ac_nonexistent.h>
13122 if ac_fn_cxx_try_cpp "$LINENO"; then :
13123 # Broken: success on invalid input.
13126 # Passes both tests.
13130 rm -f conftest.err conftest.i conftest.$ac_ext
13133 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13134 rm -f conftest.i conftest.err conftest.$ac_ext
13135 if $ac_preproc_ok; then :
13140 ac_cv_prog_CXXCPP=$CXXCPP
13143 CXXCPP=$ac_cv_prog_CXXCPP
13145 ac_cv_prog_CXXCPP=$CXXCPP
13147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13148 $as_echo "$CXXCPP" >&6; }
13149 ac_preproc_ok=false
13150 for ac_cxx_preproc_warn_flag in '' yes
13152 # Use a header file that comes with gcc, so configuring glibc
13153 # with a fresh cross-compiler works.
13154 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13155 # <limits.h> exists even on freestanding compilers.
13156 # On the NeXT, cc -E runs the code through the compiler's parser,
13157 # not just through cpp. "Syntax error" is here to catch this case.
13158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13159 /* end confdefs.h. */
13161 # include <limits.h>
13163 # include <assert.h>
13167 if ac_fn_cxx_try_cpp "$LINENO"; then :
13170 # Broken: fails on valid input.
13173 rm -f conftest.err conftest.i conftest.$ac_ext
13175 # OK, works on sane cases. Now check whether nonexistent headers
13176 # can be detected and how.
13177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13178 /* end confdefs.h. */
13179 #include <ac_nonexistent.h>
13181 if ac_fn_cxx_try_cpp "$LINENO"; then :
13182 # Broken: success on invalid input.
13185 # Passes both tests.
13189 rm -f conftest.err conftest.i conftest.$ac_ext
13192 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13193 rm -f conftest.i conftest.err conftest.$ac_ext
13194 if $ac_preproc_ok; then :
13197 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13198 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13199 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
13200 See \`config.log' for more details" "$LINENO" 5; }
13204 ac_cpp='$CPP $CPPFLAGS'
13205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13210 _lt_caught_CXX_error=yes
13214 ac_cpp='$CXXCPP $CPPFLAGS'
13215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13219 archive_cmds_need_lc_CXX=no
13220 allow_undefined_flag_CXX=
13221 always_export_symbols_CXX=no
13222 archive_expsym_cmds_CXX=
13223 compiler_needs_object_CXX=no
13224 export_dynamic_flag_spec_CXX=
13225 hardcode_direct_CXX=no
13226 hardcode_direct_absolute_CXX=no
13227 hardcode_libdir_flag_spec_CXX=
13228 hardcode_libdir_separator_CXX=
13229 hardcode_minus_L_CXX=no
13230 hardcode_shlibpath_var_CXX=unsupported
13231 hardcode_automatic_CXX=no
13232 inherit_rpath_CXX=no
13234 module_expsym_cmds_CXX=
13235 link_all_deplibs_CXX=unknown
13236 old_archive_cmds_CXX=$old_archive_cmds
13237 reload_flag_CXX=$reload_flag
13238 reload_cmds_CXX=$reload_cmds
13239 no_undefined_flag_CXX=
13240 whole_archive_flag_spec_CXX=
13241 enable_shared_with_static_runtimes_CXX=no
13243 # Source file extension for C++ test sources.
13246 # Object file extension for compiled C++ test sources.
13250 # No sense in running all these tests if we already determined that
13251 # the CXX compiler isn't working. Some variables (like enable_shared)
13252 # are currently assumed to apply to all compilers on this platform,
13253 # and will be corrupted by setting them based on a non-working compiler.
13254 if test "$_lt_caught_CXX_error" != yes; then
13255 # Code to be used in simple compile tests
13256 lt_simple_compile_test_code="int some_variable = 0;"
13258 # Code to be used in simple link tests
13259 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13261 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13268 # If no C compiler was specified, use CC.
13271 # If no C compiler flags were specified, use CFLAGS.
13272 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13274 # Allow CC to be a program name with arguments.
13278 # save warnings/boilerplate of simple test code
13279 ac_outfile=conftest.$ac_objext
13280 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13281 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13282 _lt_compiler_boilerplate=`cat conftest.err`
13285 ac_outfile=conftest.$ac_objext
13286 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13287 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13288 _lt_linker_boilerplate=`cat conftest.err`
13292 # Allow CC to be a program name with arguments.
13294 lt_save_CFLAGS=$CFLAGS
13298 lt_save_with_gnu_ld=$with_gnu_ld
13299 lt_save_path_LD=$lt_cv_path_LD
13300 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13301 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13303 $as_unset lt_cv_prog_gnu_ld
13305 if test -n "${lt_cv_path_LDCXX+set}"; then
13306 lt_cv_path_LD=$lt_cv_path_LDCXX
13308 $as_unset lt_cv_path_LD
13310 test -z "${LDCXX+set}" || LD=$LDCXX
13315 for cc_temp in $compiler""; do
13317 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13318 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13323 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13326 if test -n "$compiler"; then
13327 # We don't want -fno-exception when compiling C++ code, so set the
13328 # no_builtin_flag separately
13329 if test "$GXX" = yes; then
13330 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13332 lt_prog_compiler_no_builtin_flag_CXX=
13335 if test "$GXX" = yes; then
13336 # Set up default GNU C++ configuration
13340 # Check whether --with-gnu-ld was given.
13341 if test "${with_gnu_ld+set}" = set; then :
13342 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13348 if test "$GCC" = yes; then
13349 # Check if gcc -print-prog-name=ld gives a path.
13350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13351 $as_echo_n "checking for ld used by $CC... " >&6; }
13354 # gcc leaves a trailing carriage return which upsets mingw
13355 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13357 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13360 # Accept absolute paths.
13362 re_direlt='/[^/][^/]*/\.\./'
13363 # Canonicalize the pathname of ld
13364 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13365 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
13366 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13368 test -z "$LD" && LD="$ac_prog"
13371 # If it fails, then pretend we aren't using GCC.
13375 # If it is relative, then search for the first ld in PATH.
13376 with_gnu_ld=unknown
13379 elif test "$with_gnu_ld" = yes; then
13380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13381 $as_echo_n "checking for GNU ld... " >&6; }
13383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13384 $as_echo_n "checking for non-GNU ld... " >&6; }
13386 if ${lt_cv_path_LD+:} false; then :
13387 $as_echo_n "(cached) " >&6
13389 if test -z "$LD"; then
13390 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13391 for ac_dir in $PATH; do
13393 test -z "$ac_dir" && ac_dir=.
13394 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13395 lt_cv_path_LD="$ac_dir/$ac_prog"
13396 # Check to see if the program is GNU ld. I'd rather use --version,
13397 # but apparently some variants of GNU ld only accept -v.
13398 # Break only if it was the GNU/non-GNU ld that we prefer.
13399 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13400 *GNU* | *'with BFD'*)
13401 test "$with_gnu_ld" != no && break
13404 test "$with_gnu_ld" != yes && break
13411 lt_cv_path_LD="$LD" # Let the user override the test with a path.
13415 LD="$lt_cv_path_LD"
13416 if test -n "$LD"; then
13417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13418 $as_echo "$LD" >&6; }
13420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13421 $as_echo "no" >&6; }
13423 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13425 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13426 if ${lt_cv_prog_gnu_ld+:} false; then :
13427 $as_echo_n "(cached) " >&6
13429 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13430 case `$LD -v 2>&1 </dev/null` in
13431 *GNU* | *'with BFD'*)
13432 lt_cv_prog_gnu_ld=yes
13435 lt_cv_prog_gnu_ld=no
13439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13440 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13441 with_gnu_ld=$lt_cv_prog_gnu_ld
13449 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13450 # archiving commands below assume that GNU ld is being used.
13451 if test "$with_gnu_ld" = yes; then
13452 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13453 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'
13455 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13456 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13458 # If archive_cmds runs LD, not CC, wlarc should be empty
13459 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13460 # investigate it a little bit more. (MM)
13463 # ancient GNU ld didn't support --whole-archive et. al.
13464 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13465 $GREP 'no-whole-archive' > /dev/null; then
13466 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13468 whole_archive_flag_spec_CXX=
13474 # A generic and very simple default shared library creation
13475 # command for GNU C++ for the case where it uses the native
13476 # linker, instead of GNU ld. If possible, this setting should
13477 # overridden to take advantage of the native linker features on
13478 # the platform it is being used on.
13479 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13482 # Commands to make compiler produce verbose output that lists
13483 # what "hidden" libraries, object files and flags are used when
13484 # linking a shared library.
13485 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13493 # PORTME: fill in a description of your system's C++ link characteristics
13494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13495 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13499 # FIXME: insert proper C++ library support
13503 if test "$host_cpu" = ia64; then
13504 # On IA64, the linker does run time linking by default, so we don't
13505 # have to do anything special.
13506 aix_use_runtimelinking=no
13507 exp_sym_flag='-Bexport'
13510 aix_use_runtimelinking=no
13512 # Test if we are trying to use run time linking or normal
13513 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13514 # need to do runtime linking.
13515 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13516 for ld_flag in $LDFLAGS; do
13519 aix_use_runtimelinking=yes
13527 exp_sym_flag='-bexport'
13528 no_entry_flag='-bnoentry'
13531 # When large executables or shared objects are built, AIX ld can
13532 # have problems creating the table of contents. If linking a library
13533 # or program results in "error TOC overflow" add -mminimal-toc to
13534 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13535 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13537 archive_cmds_CXX=''
13538 hardcode_direct_CXX=yes
13539 hardcode_direct_absolute_CXX=yes
13540 hardcode_libdir_separator_CXX=':'
13541 link_all_deplibs_CXX=yes
13542 file_list_spec_CXX='${wl}-f,'
13544 if test "$GXX" = yes; then
13545 case $host_os in aix4.[012]|aix4.[012].*)
13546 # We only want to do this on AIX 4.2 and lower, the check
13547 # below for broken collect2 doesn't work under 4.3+
13548 collect2name=`${CC} -print-prog-name=collect2`
13549 if test -f "$collect2name" &&
13550 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13552 # We have reworked collect2
13555 # We have old collect2
13556 hardcode_direct_CXX=unsupported
13557 # It fails to find uninstalled libraries when the uninstalled
13558 # path is not listed in the libpath. Setting hardcode_minus_L
13559 # to unsupported forces relinking
13560 hardcode_minus_L_CXX=yes
13561 hardcode_libdir_flag_spec_CXX='-L$libdir'
13562 hardcode_libdir_separator_CXX=
13565 shared_flag='-shared'
13566 if test "$aix_use_runtimelinking" = yes; then
13567 shared_flag="$shared_flag "'${wl}-G'
13571 if test "$host_cpu" = ia64; then
13572 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13573 # chokes on -Wl,-G. The following line is correct:
13576 if test "$aix_use_runtimelinking" = yes; then
13577 shared_flag='${wl}-G'
13579 shared_flag='${wl}-bM:SRE'
13584 export_dynamic_flag_spec_CXX='${wl}-bexpall'
13585 # It seems that -bexpall does not export symbols beginning with
13586 # underscore (_), so it is better to generate a list of symbols to
13588 always_export_symbols_CXX=yes
13589 if test "$aix_use_runtimelinking" = yes; then
13590 # Warning - without using the other runtime loading flags (-brtl),
13591 # -berok will link without error, but may produce a broken library.
13592 allow_undefined_flag_CXX='-berok'
13593 # Determine the default libpath from the value encoded in an empty
13595 if test "${lt_cv_aix_libpath+set}" = set; then
13596 aix_libpath=$lt_cv_aix_libpath
13598 if ${lt_cv_aix_libpath__CXX+:} false; then :
13599 $as_echo_n "(cached) " >&6
13601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13602 /* end confdefs.h. */
13612 if ac_fn_cxx_try_link "$LINENO"; then :
13614 lt_aix_libpath_sed='
13615 /Import File Strings/,/^$/ {
13617 s/^0 *\([^ ]*\) *$/\1/
13621 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13622 # Check for a 64-bit object if we didn't find anything.
13623 if test -z "$lt_cv_aix_libpath__CXX"; then
13624 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13627 rm -f core conftest.err conftest.$ac_objext \
13628 conftest$ac_exeext conftest.$ac_ext
13629 if test -z "$lt_cv_aix_libpath__CXX"; then
13630 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13635 aix_libpath=$lt_cv_aix_libpath__CXX
13638 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13640 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"
13642 if test "$host_cpu" = ia64; then
13643 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13644 allow_undefined_flag_CXX="-z nodefs"
13645 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"
13647 # Determine the default libpath from the value encoded in an
13648 # empty executable.
13649 if test "${lt_cv_aix_libpath+set}" = set; then
13650 aix_libpath=$lt_cv_aix_libpath
13652 if ${lt_cv_aix_libpath__CXX+:} false; then :
13653 $as_echo_n "(cached) " >&6
13655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13656 /* end confdefs.h. */
13666 if ac_fn_cxx_try_link "$LINENO"; then :
13668 lt_aix_libpath_sed='
13669 /Import File Strings/,/^$/ {
13671 s/^0 *\([^ ]*\) *$/\1/
13675 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13676 # Check for a 64-bit object if we didn't find anything.
13677 if test -z "$lt_cv_aix_libpath__CXX"; then
13678 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13681 rm -f core conftest.err conftest.$ac_objext \
13682 conftest$ac_exeext conftest.$ac_ext
13683 if test -z "$lt_cv_aix_libpath__CXX"; then
13684 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13689 aix_libpath=$lt_cv_aix_libpath__CXX
13692 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13693 # Warning - without using the other run time loading flags,
13694 # -berok will link without error, but may produce a broken library.
13695 no_undefined_flag_CXX=' ${wl}-bernotok'
13696 allow_undefined_flag_CXX=' ${wl}-berok'
13697 if test "$with_gnu_ld" = yes; then
13698 # We only use this code for GNU lds that support --whole-archive.
13699 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13701 # Exported symbols can be pulled into shared objects from archives
13702 whole_archive_flag_spec_CXX='$convenience'
13704 archive_cmds_need_lc_CXX=yes
13705 # This is similar to how AIX traditionally builds its shared
13707 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'
13713 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13714 allow_undefined_flag_CXX=unsupported
13715 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13716 # support --undefined. This deserves some investigation. FIXME
13717 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13724 case $cc_basename in
13726 # FIXME: insert proper C++ library support
13732 cygwin* | mingw* | pw32* | cegcc*)
13733 case $GXX,$cc_basename in
13736 # hardcode_libdir_flag_spec is actually meaningless, as there is
13737 # no search path for DLLs.
13738 hardcode_libdir_flag_spec_CXX=' '
13739 allow_undefined_flag_CXX=unsupported
13740 always_export_symbols_CXX=yes
13741 file_list_spec_CXX='@'
13742 # Tell ltmain to make .lib files, not .a files.
13744 # Tell ltmain to make .dll files, not .so files.
13746 # FIXME: Setting linknames here is a bad hack.
13747 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13748 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13749 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
13751 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
13753 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13755 # The linker will not automatically build a static lib if we build a DLL.
13756 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13757 enable_shared_with_static_runtimes_CXX=yes
13759 old_postinstall_cmds_CXX='chmod 644 $oldlib'
13760 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
13761 lt_tool_outputfile="@TOOL_OUTPUT@"~
13762 case $lt_outputfile in
13765 lt_outputfile="$lt_outputfile.exe"
13766 lt_tool_outputfile="$lt_tool_outputfile.exe"
13769 func_to_tool_file "$lt_outputfile"~
13770 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13771 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13772 $RM "$lt_outputfile.manifest";
13777 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13778 # as there is no search path for DLLs.
13779 hardcode_libdir_flag_spec_CXX='-L$libdir'
13780 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13781 allow_undefined_flag_CXX=unsupported
13782 always_export_symbols_CXX=no
13783 enable_shared_with_static_runtimes_CXX=yes
13785 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13786 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'
13787 # If the export-symbols file already is a .def file (1st line
13788 # is EXPORTS), use it as is; otherwise, prepend...
13789 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13790 cp $export_symbols $output_objdir/$soname.def;
13792 echo EXPORTS > $output_objdir/$soname.def;
13793 cat $export_symbols >> $output_objdir/$soname.def;
13795 $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'
13802 darwin* | rhapsody*)
13805 archive_cmds_need_lc_CXX=no
13806 hardcode_direct_CXX=no
13807 hardcode_automatic_CXX=yes
13808 hardcode_shlibpath_var_CXX=unsupported
13809 if test "$lt_cv_ld_force_load" = "yes"; then
13810 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\"`'
13813 whole_archive_flag_spec_CXX=''
13815 link_all_deplibs_CXX=yes
13816 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13817 case $cc_basename in
13818 ifort*) _lt_dar_can_shared=yes ;;
13819 *) _lt_dar_can_shared=$GCC ;;
13821 if test "$_lt_dar_can_shared" = "yes"; then
13822 output_verbose_link_cmd=func_echo_all
13823 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}"
13824 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13825 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}"
13826 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}"
13827 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13828 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}"
13829 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}"
13839 case $cc_basename in
13841 # FIXME: insert proper C++ library support
13845 # Green Hills C++ Compiler
13846 # FIXME: insert proper C++ library support
13850 # FIXME: insert proper C++ library support
13857 # C++ shared libraries reported to be fairly broken before
13863 archive_cmds_need_lc_CXX=no
13866 freebsd* | dragonfly*)
13867 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13873 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13874 link_all_deplibs_CXX=yes
13878 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13879 hardcode_libdir_separator_CXX=:
13880 export_dynamic_flag_spec_CXX='${wl}-E'
13881 hardcode_direct_CXX=yes
13882 hardcode_minus_L_CXX=yes # Not in the search PATH,
13883 # but as the default
13884 # location of the library.
13886 case $cc_basename in
13888 # FIXME: insert proper C++ library support
13892 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'
13893 # Commands to make compiler produce verbose output that lists
13894 # what "hidden" libraries, object files and flags are used when
13895 # linking a shared library.
13897 # There doesn't appear to be a way to prevent this compiler from
13898 # explicitly linking system object files so we need to strip them
13899 # from the output so that they don't get included in the library
13901 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"'
13904 if test "$GXX" = yes; then
13905 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'
13907 # FIXME: insert proper C++ library support
13915 if test $with_gnu_ld = no; then
13916 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13917 hardcode_libdir_separator_CXX=:
13923 export_dynamic_flag_spec_CXX='${wl}-E'
13929 hardcode_direct_CXX=no
13930 hardcode_shlibpath_var_CXX=no
13933 hardcode_direct_CXX=yes
13934 hardcode_direct_absolute_CXX=yes
13935 hardcode_minus_L_CXX=yes # Not in the search PATH,
13936 # but as the default
13937 # location of the library.
13941 case $cc_basename in
13943 # FIXME: insert proper C++ library support
13949 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13952 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13955 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13958 # Commands to make compiler produce verbose output that lists
13959 # what "hidden" libraries, object files and flags are used when
13960 # linking a shared library.
13962 # There doesn't appear to be a way to prevent this compiler from
13963 # explicitly linking system object files so we need to strip them
13964 # from the output so that they don't get included in the library
13966 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"'
13969 if test "$GXX" = yes; then
13970 if test $with_gnu_ld = no; then
13973 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13976 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13979 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'
13984 # FIXME: insert proper C++ library support
13992 hardcode_direct_CXX=no
13993 hardcode_shlibpath_var_CXX=no
13994 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13995 export_dynamic_flag_spec_CXX='${wl}-E'
13996 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13997 # Instead, shared libraries are loaded at an image base (0x10000000 by
13998 # default) and relocated if they conflict, which is a slow very memory
13999 # consuming and fragmenting process. To avoid this, we pick a random,
14000 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14001 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14002 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'
14003 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'
14006 case $cc_basename in
14009 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'
14011 # Archives containing C++ object files must be created using
14012 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14013 # necessary to make sure instantiated templates are included
14015 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14018 if test "$GXX" = yes; then
14019 if test "$with_gnu_ld" = no; then
14020 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'
14022 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'
14025 link_all_deplibs_CXX=yes
14028 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14029 hardcode_libdir_separator_CXX=:
14030 inherit_rpath_CXX=yes
14033 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14034 case $cc_basename in
14036 # Kuck and Associates, Inc. (KAI) C++ Compiler
14038 # KCC will only create a shared library if the output file
14039 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14040 # to its proper name (with version) after linking.
14041 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'
14042 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'
14043 # Commands to make compiler produce verbose output that lists
14044 # what "hidden" libraries, object files and flags are used when
14045 # linking a shared library.
14047 # There doesn't appear to be a way to prevent this compiler from
14048 # explicitly linking system object files so we need to strip them
14049 # from the output so that they don't get included in the library
14051 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"'
14053 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14054 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14056 # Archives containing C++ object files must be created using
14057 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14058 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14063 # version 8.0 and above of icpc choke on multiply defined symbols
14064 # if we add $predep_objects and $postdep_objects, however 7.1 and
14065 # earlier do not add the objects themselves.
14066 case `$CC -V 2>&1` in
14068 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14069 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'
14071 *) # Version 8.0 or newer
14074 ia64*) tmp_idyn=' -i_dynamic';;
14076 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14077 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'
14080 archive_cmds_need_lc_CXX=no
14081 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14082 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14083 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14086 # Portland Group C++ compiler
14088 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
14089 prelink_cmds_CXX='tpldir=Template.dir~
14091 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14092 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
14093 old_archive_cmds_CXX='tpldir=Template.dir~
14095 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14096 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
14098 archive_cmds_CXX='tpldir=Template.dir~
14100 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14101 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14102 archive_expsym_cmds_CXX='tpldir=Template.dir~
14104 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14105 $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'
14107 *) # Version 6 and above use weak symbols
14108 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14109 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'
14113 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
14114 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14115 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'
14119 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14120 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'
14122 runpath_var=LD_RUN_PATH
14123 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14124 hardcode_libdir_separator_CXX=:
14126 # Commands to make compiler produce verbose output that lists
14127 # what "hidden" libraries, object files and flags are used when
14128 # linking a shared library.
14130 # There doesn't appear to be a way to prevent this compiler from
14131 # explicitly linking system object files so we need to strip them
14132 # from the output so that they don't get included in the library
14134 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'
14136 xl* | mpixl* | bgxl*)
14137 # IBM XL 8.0 on PPC, with GNU ld
14138 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14139 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14140 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14141 if test "x$supports_anon_versioning" = xyes; then
14142 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
14143 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14144 echo "local: *; };" >> $output_objdir/$libname.ver~
14145 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14149 case `$CC -V 2>&1 | sed 5q` in
14152 no_undefined_flag_CXX=' -zdefs'
14153 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14154 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'
14155 hardcode_libdir_flag_spec_CXX='-R$libdir'
14156 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'
14157 compiler_needs_object_CXX=yes
14159 # Not sure whether something based on
14160 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14162 output_verbose_link_cmd='func_echo_all'
14164 # Archives containing C++ object files must be created using
14165 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14166 # necessary to make sure instantiated templates are included
14168 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14176 # FIXME: insert proper C++ library support
14181 # FIXME: insert proper C++ library support
14186 case $cc_basename in
14188 # FIXME: insert proper C++ library support
14192 # FIXME: insert proper C++ library support
14199 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14200 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14202 hardcode_libdir_flag_spec_CXX='-R$libdir'
14203 hardcode_direct_CXX=yes
14204 hardcode_shlibpath_var_CXX=no
14206 # Workaround some broken pre-1.5 toolchains
14207 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14215 # C++ shared libraries are fairly broken
14220 if test -f /usr/libexec/ld.so; then
14221 hardcode_direct_CXX=yes
14222 hardcode_shlibpath_var_CXX=no
14223 hardcode_direct_absolute_CXX=yes
14224 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14225 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14226 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14227 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14228 export_dynamic_flag_spec_CXX='${wl}-E'
14229 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14231 output_verbose_link_cmd=func_echo_all
14237 osf3* | osf4* | osf5*)
14238 case $cc_basename in
14240 # Kuck and Associates, Inc. (KAI) C++ Compiler
14242 # KCC will only create a shared library if the output file
14243 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14244 # to its proper name (with version) after linking.
14245 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'
14247 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14248 hardcode_libdir_separator_CXX=:
14250 # Archives containing C++ object files must be created using
14251 # the KAI C++ compiler.
14253 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
14254 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
14258 # Rational C++ 2.4.1
14259 # FIXME: insert proper C++ library support
14265 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14266 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'
14267 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14270 allow_undefined_flag_CXX=' -expect_unresolved \*'
14271 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'
14272 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14273 echo "-hidden">> $lib.exp~
14274 $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~
14276 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14280 hardcode_libdir_separator_CXX=:
14282 # Commands to make compiler produce verbose output that lists
14283 # what "hidden" libraries, object files and flags are used when
14284 # linking a shared library.
14286 # There doesn't appear to be a way to prevent this compiler from
14287 # explicitly linking system object files so we need to strip them
14288 # from the output so that they don't get included in the library
14290 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"'
14293 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14294 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14297 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'
14300 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'
14304 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14305 hardcode_libdir_separator_CXX=:
14307 # Commands to make compiler produce verbose output that lists
14308 # what "hidden" libraries, object files and flags are used when
14309 # linking a shared library.
14310 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14313 # FIXME: insert proper C++ library support
14321 # FIXME: insert proper C++ library support
14326 case $cc_basename in
14329 # FIXME: insert proper C++ library support
14334 # FIXME: insert proper C++ library support
14338 # FIXME: insert proper C++ library support
14345 case $cc_basename in
14347 # Sun C++ 4.2, 5.x and Centerline C++
14348 archive_cmds_need_lc_CXX=yes
14349 no_undefined_flag_CXX=' -zdefs'
14350 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14351 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14352 $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'
14354 hardcode_libdir_flag_spec_CXX='-R$libdir'
14355 hardcode_shlibpath_var_CXX=no
14357 solaris2.[0-5] | solaris2.[0-5].*) ;;
14359 # The compiler driver will combine and reorder linker options,
14360 # but understands `-z linker_flag'.
14361 # Supported since Solaris 2.6 (maybe 2.5.1?)
14362 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14365 link_all_deplibs_CXX=yes
14367 output_verbose_link_cmd='func_echo_all'
14369 # Archives containing C++ object files must be created using
14370 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14371 # necessary to make sure instantiated templates are included
14373 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14376 # Green Hills C++ Compiler
14377 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14379 # The C++ compiler must be used to create the archive.
14380 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14383 # GNU C++ compiler with Solaris linker
14384 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14385 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
14386 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
14387 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14388 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14389 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14391 # Commands to make compiler produce verbose output that lists
14392 # what "hidden" libraries, object files and flags are used when
14393 # linking a shared library.
14394 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14396 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14398 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14399 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14400 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14402 # Commands to make compiler produce verbose output that lists
14403 # what "hidden" libraries, object files and flags are used when
14404 # linking a shared library.
14405 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14408 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
14410 solaris2.[0-5] | solaris2.[0-5].*) ;;
14412 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14420 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14421 no_undefined_flag_CXX='${wl}-z,text'
14422 archive_cmds_need_lc_CXX=no
14423 hardcode_shlibpath_var_CXX=no
14424 runpath_var='LD_RUN_PATH'
14426 case $cc_basename in
14428 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14429 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14432 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14433 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14438 sysv5* | sco3.2v5* | sco5v6*)
14439 # Note: We can NOT use -z defs as we might desire, because we do not
14440 # link with -lc, and that would cause any symbols used from libc to
14441 # always be unresolved, which means just about no library would
14442 # ever link correctly. If we're not using GNU ld we use -z text
14443 # though, which does catch some bad symbols but isn't as heavy-handed
14445 no_undefined_flag_CXX='${wl}-z,text'
14446 allow_undefined_flag_CXX='${wl}-z,nodefs'
14447 archive_cmds_need_lc_CXX=no
14448 hardcode_shlibpath_var_CXX=no
14449 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
14450 hardcode_libdir_separator_CXX=':'
14451 link_all_deplibs_CXX=yes
14452 export_dynamic_flag_spec_CXX='${wl}-Bexport'
14453 runpath_var='LD_RUN_PATH'
14455 case $cc_basename in
14457 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14458 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14459 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
14460 '"$old_archive_cmds_CXX"
14461 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
14462 '"$reload_cmds_CXX"
14465 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14466 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14472 case $cc_basename in
14474 # NonStop-UX NCC 3.20
14475 # FIXME: insert proper C++ library support
14479 # FIXME: insert proper C++ library support
14486 # FIXME: insert proper C++ library support
14491 # FIXME: insert proper C++ library support
14496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14497 $as_echo "$ld_shlibs_CXX" >&6; }
14498 test "$ld_shlibs_CXX" = no && can_build_shared=no
14504 ## There is no encapsulation within the following macros, do not change
14505 ## the running order or otherwise move them around unless you know exactly
14506 ## what you are doing...
14507 # Dependencies to place before and after the object being linked:
14508 predep_objects_CXX=
14509 postdep_objects_CXX=
14512 compiler_lib_search_path_CXX=
14514 cat > conftest.$ac_ext <<_LT_EOF
14518 Foo (void) { a = 0; }
14525 _lt_libdeps_save_CFLAGS=$CFLAGS
14526 case "$CC $CFLAGS " in #(
14527 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
14528 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
14529 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
14532 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14533 (eval $ac_compile) 2>&5
14535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14536 test $ac_status = 0; }; then
14537 # Parse the compiler output and extract the necessary
14538 # objects, libraries and library flags.
14540 # Sentinel used to keep track of whether or not we are before
14541 # the conftest object file.
14542 pre_test_object_deps_done=no
14544 for p in `eval "$output_verbose_link_cmd"`; do
14545 case ${prev}${p} in
14548 # Some compilers place space between "-{L,R}" and the path.
14549 # Remove the space.
14550 if test $p = "-L" ||
14551 test $p = "-R"; then
14556 # Expand the sysroot to ease extracting the directories later.
14557 if test -z "$prev"; then
14559 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
14560 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
14561 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
14565 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
14567 if test "$pre_test_object_deps_done" = no; then
14570 # Internal compiler library paths should come after those
14571 # provided the user. The postdeps already come after the
14572 # user supplied libs so there is no need to process them.
14573 if test -z "$compiler_lib_search_path_CXX"; then
14574 compiler_lib_search_path_CXX="${prev}${p}"
14576 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
14579 # The "-l" case would never come before the object being
14580 # linked, so don't bother handling this case.
14583 if test -z "$postdeps_CXX"; then
14584 postdeps_CXX="${prev}${p}"
14586 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
14592 *.lto.$objext) ;; # Ignore GCC LTO objects
14594 # This assumes that the test object file only shows up
14595 # once in the compiler output.
14596 if test "$p" = "conftest.$objext"; then
14597 pre_test_object_deps_done=yes
14601 if test "$pre_test_object_deps_done" = no; then
14602 if test -z "$predep_objects_CXX"; then
14603 predep_objects_CXX="$p"
14605 predep_objects_CXX="$predep_objects_CXX $p"
14608 if test -z "$postdep_objects_CXX"; then
14609 postdep_objects_CXX="$p"
14611 postdep_objects_CXX="$postdep_objects_CXX $p"
14616 *) ;; # Ignore the rest.
14624 echo "libtool.m4: error: problem compiling CXX test program"
14627 $RM -f confest.$objext
14628 CFLAGS=$_lt_libdeps_save_CFLAGS
14630 # PORTME: override above test on systems where it is broken
14633 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14634 # hack all around it, let's just trust "g++" to DTRT.
14635 predep_objects_CXX=
14636 postdep_objects_CXX=
14641 case `$CC -V 2>&1 | sed 5q` in
14645 # The more standards-conforming stlport4 library is
14646 # incompatible with the Cstd library. Avoid specifying
14647 # it if it's in CXXFLAGS. Ignore libCrun as
14648 # -library=stlport4 depends on it.
14649 case " $CXX $CXXFLAGS " in
14650 *" -library=stlport4 "*)
14651 solaris_use_stlport4=yes
14655 if test "$solaris_use_stlport4" != yes; then
14656 postdeps_CXX='-library=Cstd -library=Crun'
14663 case $cc_basename in
14665 # The more standards-conforming stlport4 library is
14666 # incompatible with the Cstd library. Avoid specifying
14667 # it if it's in CXXFLAGS. Ignore libCrun as
14668 # -library=stlport4 depends on it.
14669 case " $CXX $CXXFLAGS " in
14670 *" -library=stlport4 "*)
14671 solaris_use_stlport4=yes
14675 # Adding this requires a known-good setup of shared libraries for
14676 # Sun compiler versions before 5.6, else PIC objects from an old
14677 # archive will be linked into the output, leading to subtle bugs.
14678 if test "$solaris_use_stlport4" != yes; then
14679 postdeps_CXX='-library=Cstd -library=Crun'
14687 case " $postdeps_CXX " in
14688 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
14690 compiler_lib_search_dirs_CXX=
14691 if test -n "${compiler_lib_search_path_CXX}"; then
14692 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14725 lt_prog_compiler_wl_CXX=
14726 lt_prog_compiler_pic_CXX=
14727 lt_prog_compiler_static_CXX=
14730 # C++ specific cases for pic, static, wl, etc.
14731 if test "$GXX" = yes; then
14732 lt_prog_compiler_wl_CXX='-Wl,'
14733 lt_prog_compiler_static_CXX='-static'
14737 # All AIX code is PIC.
14738 if test "$host_cpu" = ia64; then
14739 # AIX 5 now supports IA64 processor
14740 lt_prog_compiler_static_CXX='-Bstatic'
14747 # see comment about AmigaOS4 .so support
14748 lt_prog_compiler_pic_CXX='-fPIC'
14751 # FIXME: we need at least 68020 code to build shared libraries, but
14752 # adding the `-m68020' flag to GCC prevents building anything better,
14754 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14759 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14760 # PIC is the default for these OSes.
14762 mingw* | cygwin* | os2* | pw32* | cegcc*)
14763 # This hack is so that the source file can tell whether it is being
14764 # built for inclusion in a dll (and should export symbols for example).
14765 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14766 # (--disable-auto-import) libraries
14767 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14769 darwin* | rhapsody*)
14770 # PIC is the default on this platform
14771 # Common symbols not allowed in MH_DYLIB files
14772 lt_prog_compiler_pic_CXX='-fno-common'
14775 # DJGPP does not support shared libraries at all
14776 lt_prog_compiler_pic_CXX=
14779 # PIC is the default for Haiku.
14780 # The "-static" flag exists, but is broken.
14781 lt_prog_compiler_static_CXX=
14784 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14785 # Instead, we relocate shared libraries at runtime.
14788 if test -d /usr/nec; then
14789 lt_prog_compiler_pic_CXX=-Kconform_pic
14793 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14794 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14795 # sets the default TLS model and affects inlining.
14800 lt_prog_compiler_pic_CXX='-fPIC'
14805 # QNX uses GNU C++, but need to define -shared option too, otherwise
14806 # it will coredump.
14807 lt_prog_compiler_pic_CXX='-fPIC -shared'
14810 lt_prog_compiler_pic_CXX='-fPIC'
14816 # All AIX code is PIC.
14817 if test "$host_cpu" = ia64; then
14818 # AIX 5 now supports IA64 processor
14819 lt_prog_compiler_static_CXX='-Bstatic'
14821 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14825 case $cc_basename in
14827 # Green Hills C++ Compiler
14828 # _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"
14832 mingw* | cygwin* | os2* | pw32* | cegcc*)
14833 # This hack is so that the source file can tell whether it is being
14834 # built for inclusion in a dll (and should export symbols for example).
14835 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14838 case $cc_basename in
14840 lt_prog_compiler_pic_CXX='-KPIC'
14843 # Green Hills C++ Compiler
14844 lt_prog_compiler_pic_CXX='-pic'
14850 freebsd* | dragonfly*)
14851 # FreeBSD uses GNU C++
14853 hpux9* | hpux10* | hpux11*)
14854 case $cc_basename in
14856 lt_prog_compiler_wl_CXX='-Wl,'
14857 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14858 if test "$host_cpu" != ia64; then
14859 lt_prog_compiler_pic_CXX='+Z'
14863 lt_prog_compiler_wl_CXX='-Wl,'
14864 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14870 lt_prog_compiler_pic_CXX='+Z'
14879 # This is c89, which is MS Visual C++ (no shared libs)
14880 # Anyone wants to do a port?
14882 irix5* | irix6* | nonstopux*)
14883 case $cc_basename in
14885 lt_prog_compiler_wl_CXX='-Wl,'
14886 lt_prog_compiler_static_CXX='-non_shared'
14887 # CC pic flag -KPIC is the default.
14893 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14894 case $cc_basename in
14897 lt_prog_compiler_wl_CXX='--backend -Wl,'
14898 lt_prog_compiler_pic_CXX='-fPIC'
14901 # old Intel C++ for x86_64 which still supported -KPIC.
14902 lt_prog_compiler_wl_CXX='-Wl,'
14903 lt_prog_compiler_pic_CXX='-KPIC'
14904 lt_prog_compiler_static_CXX='-static'
14907 # Intel C++, used to be incompatible with GCC.
14908 # ICC 10 doesn't accept -KPIC any more.
14909 lt_prog_compiler_wl_CXX='-Wl,'
14910 lt_prog_compiler_pic_CXX='-fPIC'
14911 lt_prog_compiler_static_CXX='-static'
14914 # Portland Group C++ compiler
14915 lt_prog_compiler_wl_CXX='-Wl,'
14916 lt_prog_compiler_pic_CXX='-fpic'
14917 lt_prog_compiler_static_CXX='-Bstatic'
14921 # Make sure the PIC flag is empty. It appears that all Alpha
14922 # Linux and Compaq Tru64 Unix objects are PIC.
14923 lt_prog_compiler_pic_CXX=
14924 lt_prog_compiler_static_CXX='-non_shared'
14926 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14927 # IBM XL 8.0, 9.0 on PPC and BlueGene
14928 lt_prog_compiler_wl_CXX='-Wl,'
14929 lt_prog_compiler_pic_CXX='-qpic'
14930 lt_prog_compiler_static_CXX='-qstaticlink'
14933 case `$CC -V 2>&1 | sed 5q` in
14936 lt_prog_compiler_pic_CXX='-KPIC'
14937 lt_prog_compiler_static_CXX='-Bstatic'
14938 lt_prog_compiler_wl_CXX='-Qoption ld '
14949 case $cc_basename in
14951 lt_prog_compiler_pic_CXX='-W c,exportall'
14957 netbsd* | netbsdelf*-gnu)
14960 # QNX uses GNU C++, but need to define -shared option too, otherwise
14961 # it will coredump.
14962 lt_prog_compiler_pic_CXX='-fPIC -shared'
14964 osf3* | osf4* | osf5*)
14965 case $cc_basename in
14967 lt_prog_compiler_wl_CXX='--backend -Wl,'
14970 # Rational C++ 2.4.1
14971 lt_prog_compiler_pic_CXX='-pic'
14974 # Digital/Compaq C++
14975 lt_prog_compiler_wl_CXX='-Wl,'
14976 # Make sure the PIC flag is empty. It appears that all Alpha
14977 # Linux and Compaq Tru64 Unix objects are PIC.
14978 lt_prog_compiler_pic_CXX=
14979 lt_prog_compiler_static_CXX='-non_shared'
14988 case $cc_basename in
14990 # Sun C++ 4.2, 5.x and Centerline C++
14991 lt_prog_compiler_pic_CXX='-KPIC'
14992 lt_prog_compiler_static_CXX='-Bstatic'
14993 lt_prog_compiler_wl_CXX='-Qoption ld '
14996 # Green Hills C++ Compiler
14997 lt_prog_compiler_pic_CXX='-PIC'
15004 case $cc_basename in
15007 lt_prog_compiler_pic_CXX='-pic'
15008 lt_prog_compiler_static_CXX='-Bstatic'
15012 lt_prog_compiler_pic_CXX='-pic'
15018 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15019 case $cc_basename in
15021 lt_prog_compiler_wl_CXX='-Wl,'
15022 lt_prog_compiler_pic_CXX='-KPIC'
15023 lt_prog_compiler_static_CXX='-Bstatic'
15028 case $cc_basename in
15030 # NonStop-UX NCC 3.20
15031 lt_prog_compiler_pic_CXX='-KPIC'
15040 lt_prog_compiler_can_build_shared_CXX=no
15046 # For platforms which do not support PIC, -DPIC is meaningless:
15048 lt_prog_compiler_pic_CXX=
15051 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15056 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15057 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
15058 $as_echo_n "(cached) " >&6
15060 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
15062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
15063 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
15064 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
15067 # Check to make sure the PIC flag actually works.
15069 if test -n "$lt_prog_compiler_pic_CXX"; then
15070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15071 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15072 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
15073 $as_echo_n "(cached) " >&6
15075 lt_cv_prog_compiler_pic_works_CXX=no
15076 ac_outfile=conftest.$ac_objext
15077 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15078 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
15079 # Insert the option either (1) after the last *FLAGS variable, or
15080 # (2) before a word containing "conftest.", or (3) at the end.
15081 # Note that $ac_compile itself does not contain backslashes and begins
15082 # with a dollar sign (not a hyphen), so the echo should work correctly.
15083 # The option is referenced via a variable to avoid confusing sed.
15084 lt_compile=`echo "$ac_compile" | $SED \
15085 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15086 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15087 -e 's:$: $lt_compiler_flag:'`
15088 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15089 (eval "$lt_compile" 2>conftest.err)
15091 cat conftest.err >&5
15092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15093 if (exit $ac_status) && test -s "$ac_outfile"; then
15094 # The compiler can only warn and ignore the option if not recognized
15095 # So say no if there are warnings other than the usual output.
15096 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
15097 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15098 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15099 lt_cv_prog_compiler_pic_works_CXX=yes
15105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15106 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15108 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
15109 case $lt_prog_compiler_pic_CXX in
15111 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15114 lt_prog_compiler_pic_CXX=
15115 lt_prog_compiler_can_build_shared_CXX=no
15125 # Check to make sure the static flag actually works.
15127 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15129 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15130 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
15131 $as_echo_n "(cached) " >&6
15133 lt_cv_prog_compiler_static_works_CXX=no
15134 save_LDFLAGS="$LDFLAGS"
15135 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15136 echo "$lt_simple_link_test_code" > conftest.$ac_ext
15137 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15138 # The linker can only warn and ignore the option if not recognized
15139 # So say no if there are warnings
15140 if test -s conftest.err; then
15141 # Append any errors to the config.log.
15142 cat conftest.err 1>&5
15143 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
15144 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15145 if diff conftest.exp conftest.er2 >/dev/null; then
15146 lt_cv_prog_compiler_static_works_CXX=yes
15149 lt_cv_prog_compiler_static_works_CXX=yes
15153 LDFLAGS="$save_LDFLAGS"
15156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15157 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15159 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
15162 lt_prog_compiler_static_CXX=
15168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15169 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15170 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15171 $as_echo_n "(cached) " >&6
15173 lt_cv_prog_compiler_c_o_CXX=no
15174 $RM -r conftest 2>/dev/null
15178 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15180 lt_compiler_flag="-o out/conftest2.$ac_objext"
15181 # Insert the option either (1) after the last *FLAGS variable, or
15182 # (2) before a word containing "conftest.", or (3) at the end.
15183 # Note that $ac_compile itself does not contain backslashes and begins
15184 # with a dollar sign (not a hyphen), so the echo should work correctly.
15185 lt_compile=`echo "$ac_compile" | $SED \
15186 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15187 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15188 -e 's:$: $lt_compiler_flag:'`
15189 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15190 (eval "$lt_compile" 2>out/conftest.err)
15192 cat out/conftest.err >&5
15193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15194 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15196 # The compiler can only warn and ignore the option if not recognized
15197 # So say no if there are warnings
15198 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15199 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15200 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15201 lt_cv_prog_compiler_c_o_CXX=yes
15206 # SGI C++ compiler will create directory out/ii_files/ for
15207 # template instantiation
15208 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15209 $RM out/* && rmdir out
15215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15216 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15221 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15222 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15223 $as_echo_n "(cached) " >&6
15225 lt_cv_prog_compiler_c_o_CXX=no
15226 $RM -r conftest 2>/dev/null
15230 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15232 lt_compiler_flag="-o out/conftest2.$ac_objext"
15233 # Insert the option either (1) after the last *FLAGS variable, or
15234 # (2) before a word containing "conftest.", or (3) at the end.
15235 # Note that $ac_compile itself does not contain backslashes and begins
15236 # with a dollar sign (not a hyphen), so the echo should work correctly.
15237 lt_compile=`echo "$ac_compile" | $SED \
15238 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15239 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15240 -e 's:$: $lt_compiler_flag:'`
15241 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15242 (eval "$lt_compile" 2>out/conftest.err)
15244 cat out/conftest.err >&5
15245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15246 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15248 # The compiler can only warn and ignore the option if not recognized
15249 # So say no if there are warnings
15250 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15251 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15252 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15253 lt_cv_prog_compiler_c_o_CXX=yes
15258 # SGI C++ compiler will create directory out/ii_files/ for
15259 # template instantiation
15260 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15261 $RM out/* && rmdir out
15267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15268 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15273 hard_links="nottested"
15274 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
15275 # do not overwrite the value of need_locks provided by the user
15276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15277 $as_echo_n "checking if we can lock with hard links... " >&6; }
15280 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15282 ln conftest.a conftest.b 2>&5 || hard_links=no
15283 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15285 $as_echo "$hard_links" >&6; }
15286 if test "$hard_links" = no; then
15287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15288 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15298 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15300 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15301 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15304 # If we're using GNU nm, then we don't want the "-C" option.
15305 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15306 # Also, AIX nm treats weak defined symbols like other global defined
15307 # symbols, whereas GNU nm marks them as "W".
15308 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
15309 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'
15311 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'
15315 export_symbols_cmds_CXX="$ltdll_cmds"
15317 cygwin* | mingw* | cegcc*)
15318 case $cc_basename in
15320 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
15323 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'
15324 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
15328 linux* | k*bsd*-gnu | gnu*)
15329 link_all_deplibs_CXX=no
15332 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15337 $as_echo "$ld_shlibs_CXX" >&6; }
15338 test "$ld_shlibs_CXX" = no && can_build_shared=no
15340 with_gnu_ld_CXX=$with_gnu_ld
15348 # Do we need to explicitly link libc?
15350 case "x$archive_cmds_need_lc_CXX" in
15352 # Assume -lc should be added
15353 archive_cmds_need_lc_CXX=yes
15355 if test "$enable_shared" = yes && test "$GCC" = yes; then
15356 case $archive_cmds_CXX in
15358 # FIXME: we may have to deal with multi-command sequences.
15361 # Test whether the compiler implicitly links with -lc since on some
15362 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15363 # to ld, don't add -lc before -lgcc.
15364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15365 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15366 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
15367 $as_echo_n "(cached) " >&6
15370 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15372 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15373 (eval $ac_compile) 2>&5
15375 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15376 test $ac_status = 0; } 2>conftest.err; then
15379 libobjs=conftest.$ac_objext
15381 wl=$lt_prog_compiler_wl_CXX
15382 pic_flag=$lt_prog_compiler_pic_CXX
15388 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15389 allow_undefined_flag_CXX=
15390 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15391 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15393 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15394 test $ac_status = 0; }
15396 lt_cv_archive_cmds_need_lc_CXX=no
15398 lt_cv_archive_cmds_need_lc_CXX=yes
15400 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15402 cat conftest.err 1>&5
15407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15408 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15409 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
15477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15478 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15480 library_names_spec=
15481 libname_spec='lib$name'
15485 postuninstall_cmds=
15489 shlibpath_overrides_runpath=unknown
15491 dynamic_linker="$host_os ld.so"
15492 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15493 need_lib_prefix=unknown
15494 hardcode_into_libs=no
15496 # when you set need_version to no, make sure it does not cause -set_version
15497 # flags to be left without arguments
15498 need_version=unknown
15502 version_type=linux # correct to gnu/linux during the next big refactor
15503 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15504 shlibpath_var=LIBPATH
15506 # AIX 3 has no versioning support, so we append a major version to the name.
15507 soname_spec='${libname}${release}${shared_ext}$major'
15511 version_type=linux # correct to gnu/linux during the next big refactor
15514 hardcode_into_libs=yes
15515 if test "$host_cpu" = ia64; then
15516 # AIX 5 supports IA64
15517 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15518 shlibpath_var=LD_LIBRARY_PATH
15520 # With GCC up to 2.95.x, collect2 would create an import file
15521 # for dependence libraries. The import file would start with
15522 # the line `#! .'. This would cause the generated library to
15523 # depend on `.', always an invalid library. This was fixed in
15524 # development snapshots of GCC prior to 3.0.
15526 aix4 | aix4.[01] | aix4.[01].*)
15527 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15529 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15532 can_build_shared=no
15536 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15537 # soname into executable. Probably we can add versioning support to
15538 # collect2, so additional links can be useful in future.
15539 if test "$aix_use_runtimelinking" = yes; then
15540 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15541 # instead of lib<name>.a to let people know that these are not
15542 # typical AIX shared libraries.
15543 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15545 # We preserve .a as extension for shared libraries through AIX4.2
15546 # and later when we are not doing run time linking.
15547 library_names_spec='${libname}${release}.a $libname.a'
15548 soname_spec='${libname}${release}${shared_ext}$major'
15550 shlibpath_var=LIBPATH
15557 # Since July 2007 AmigaOS4 officially supports .so libraries.
15558 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15559 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15562 library_names_spec='$libname.ixlibrary $libname.a'
15563 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15564 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'
15570 library_names_spec='${libname}${shared_ext}'
15571 dynamic_linker="$host_os ld.so"
15572 shlibpath_var=LIBRARY_PATH
15576 version_type=linux # correct to gnu/linux during the next big refactor
15578 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15579 soname_spec='${libname}${release}${shared_ext}$major'
15580 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15581 shlibpath_var=LD_LIBRARY_PATH
15582 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15583 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15584 # the default ld.so.conf also contains /usr/contrib/lib and
15585 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15586 # libtool to hard-code these into programs
15589 cygwin* | mingw* | pw32* | cegcc*)
15590 version_type=windows
15595 case $GCC,$cc_basename in
15598 library_names_spec='$libname.dll.a'
15599 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15600 postinstall_cmds='base_file=`basename \${file}`~
15601 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15602 dldir=$destdir/`dirname \$dlpath`~
15603 test -d \$dldir || mkdir -p \$dldir~
15604 $install_prog $dir/$dlname \$dldir/$dlname~
15605 chmod a+x \$dldir/$dlname~
15606 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15607 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15609 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15610 dlpath=$dir/\$dldll~
15612 shlibpath_overrides_runpath=yes
15616 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15617 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15621 # MinGW DLLs use traditional 'lib' prefix
15622 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15625 # pw32 DLLs use 'pw' prefix rather than 'lib'
15626 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15629 dynamic_linker='Win32 ld.exe'
15634 libname_spec='$name'
15635 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15636 library_names_spec='${libname}.dll.lib'
15640 sys_lib_search_path_spec=
15643 for lt_path in $LIB
15646 # Let DOS variable expansion print the short 8.3 style file name.
15647 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15648 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
15651 # Convert to MSYS style.
15652 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15655 # Convert to unix form, then to dos form, then back to unix form
15656 # but this time dos style (no spaces!) so that the unix form looks
15657 # like /cygdrive/c/PROGRA~1:/cygdr...
15658 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
15659 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15660 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15663 sys_lib_search_path_spec="$LIB"
15664 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15665 # It is most probably a Windows format PATH.
15666 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15668 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15670 # FIXME: find the short name or the path components, as spaces are
15671 # common. (e.g. "Program Files" -> "PROGRA~1")
15675 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15676 postinstall_cmds='base_file=`basename \${file}`~
15677 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15678 dldir=$destdir/`dirname \$dlpath`~
15679 test -d \$dldir || mkdir -p \$dldir~
15680 $install_prog $dir/$dlname \$dldir/$dlname'
15681 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15682 dlpath=$dir/\$dldll~
15684 shlibpath_overrides_runpath=yes
15685 dynamic_linker='Win32 link.exe'
15689 # Assume MSVC wrapper
15690 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15691 dynamic_linker='Win32 ld.exe'
15694 # FIXME: first we should search . and the directory the executable is in
15698 darwin* | rhapsody*)
15699 dynamic_linker="$host_os dyld"
15700 version_type=darwin
15703 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15704 soname_spec='${libname}${release}${major}$shared_ext'
15705 shlibpath_overrides_runpath=yes
15706 shlibpath_var=DYLD_LIBRARY_PATH
15707 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15709 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15713 version_type=linux # correct to gnu/linux during the next big refactor
15716 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15717 soname_spec='${libname}${release}${shared_ext}$major'
15718 shlibpath_var=LD_LIBRARY_PATH
15721 freebsd* | dragonfly*)
15722 # DragonFly does not have aout. When/if they implement a new
15723 # versioning mechanism, adjust this.
15724 if test -x /usr/bin/objformat; then
15725 objformat=`/usr/bin/objformat`
15728 freebsd[23].*) objformat=aout ;;
15729 *) objformat=elf ;;
15732 version_type=freebsd-$objformat
15733 case $version_type in
15735 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15740 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15744 shlibpath_var=LD_LIBRARY_PATH
15747 shlibpath_overrides_runpath=yes
15749 freebsd3.[01]* | freebsdelf3.[01]*)
15750 shlibpath_overrides_runpath=yes
15751 hardcode_into_libs=yes
15753 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15754 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15755 shlibpath_overrides_runpath=no
15756 hardcode_into_libs=yes
15758 *) # from 4.6 on, and DragonFly
15759 shlibpath_overrides_runpath=yes
15760 hardcode_into_libs=yes
15766 version_type=linux # correct to gnu/linux during the next big refactor
15769 dynamic_linker="$host_os runtime_loader"
15770 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15771 soname_spec='${libname}${release}${shared_ext}$major'
15772 shlibpath_var=LIBRARY_PATH
15773 shlibpath_overrides_runpath=yes
15774 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15775 hardcode_into_libs=yes
15778 hpux9* | hpux10* | hpux11*)
15779 # Give a soname corresponding to the major version so that dld.sl refuses to
15780 # link against other versions.
15787 hardcode_into_libs=yes
15788 dynamic_linker="$host_os dld.so"
15789 shlibpath_var=LD_LIBRARY_PATH
15790 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15791 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15792 soname_spec='${libname}${release}${shared_ext}$major'
15793 if test "X$HPUX_IA64_MODE" = X32; then
15794 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15796 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15798 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15802 hardcode_into_libs=yes
15803 dynamic_linker="$host_os dld.sl"
15804 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15805 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15806 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15807 soname_spec='${libname}${release}${shared_ext}$major'
15808 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15809 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15813 dynamic_linker="$host_os dld.sl"
15814 shlibpath_var=SHLIB_PATH
15815 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15816 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15817 soname_spec='${libname}${release}${shared_ext}$major'
15820 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15821 postinstall_cmds='chmod 555 $lib'
15822 # or fails outright, so override atomically:
15823 install_override_mode=555
15827 version_type=linux # correct to gnu/linux during the next big refactor
15830 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15831 soname_spec='${libname}${release}${shared_ext}$major'
15832 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15833 shlibpath_var=LD_LIBRARY_PATH
15834 shlibpath_overrides_runpath=no
15835 hardcode_into_libs=yes
15838 irix5* | irix6* | nonstopux*)
15840 nonstopux*) version_type=nonstopux ;;
15842 if test "$lt_cv_prog_gnu_ld" = yes; then
15843 version_type=linux # correct to gnu/linux during the next big refactor
15850 soname_spec='${libname}${release}${shared_ext}$major'
15851 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15853 irix5* | nonstopux*)
15854 libsuff= shlibsuff=
15857 case $LD in # libtool.m4 will add one of these switches to LD
15858 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15859 libsuff= shlibsuff= libmagic=32-bit;;
15860 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15861 libsuff=32 shlibsuff=N32 libmagic=N32;;
15862 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15863 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15864 *) libsuff= shlibsuff= libmagic=never-match;;
15868 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15869 shlibpath_overrides_runpath=no
15870 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15871 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15872 hardcode_into_libs=yes
15875 # No shared lib support for Linux oldld, aout, or coff.
15876 linux*oldld* | linux*aout* | linux*coff*)
15880 # This must be glibc/ELF.
15881 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15882 version_type=linux # correct to gnu/linux during the next big refactor
15885 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15886 soname_spec='${libname}${release}${shared_ext}$major'
15887 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15888 shlibpath_var=LD_LIBRARY_PATH
15889 shlibpath_overrides_runpath=no
15891 # Some binutils ld are patched to set DT_RUNPATH
15892 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15893 $as_echo_n "(cached) " >&6
15895 lt_cv_shlibpath_overrides_runpath=no
15896 save_LDFLAGS=$LDFLAGS
15897 save_libdir=$libdir
15898 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15899 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15901 /* end confdefs.h. */
15911 if ac_fn_cxx_try_link "$LINENO"; then :
15912 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15913 lt_cv_shlibpath_overrides_runpath=yes
15916 rm -f core conftest.err conftest.$ac_objext \
15917 conftest$ac_exeext conftest.$ac_ext
15918 LDFLAGS=$save_LDFLAGS
15919 libdir=$save_libdir
15923 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15925 # This implies no fast_install, which is unacceptable.
15926 # Some rework will be needed to allow for fast_install
15927 # before this can be enabled.
15928 hardcode_into_libs=yes
15930 # Append ld.so.conf contents to the search path
15931 if test -f /etc/ld.so.conf; then
15932 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' ' '`
15933 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15936 # We used to test for /lib/ld.so.1 and disable shared libraries on
15937 # powerpc, because MkLinux only supported shared libraries with the
15938 # GNU dynamic linker. Since this was broken with cross compilers,
15939 # most powerpc-linux boxes support dynamic linking these days and
15940 # people can always --disable-shared, the test was removed, and we
15941 # assume the GNU/Linux dynamic linker is in use.
15942 dynamic_linker='GNU/Linux ld.so'
15949 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15950 soname_spec='${libname}${release}${shared_ext}$major'
15951 shlibpath_var=LD_LIBRARY_PATH
15952 shlibpath_overrides_runpath=no
15953 hardcode_into_libs=yes
15954 dynamic_linker='NetBSD ld.elf_so'
15961 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15962 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15963 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15964 dynamic_linker='NetBSD (a.out) ld.so'
15966 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15967 soname_spec='${libname}${release}${shared_ext}$major'
15968 dynamic_linker='NetBSD ld.elf_so'
15970 shlibpath_var=LD_LIBRARY_PATH
15971 shlibpath_overrides_runpath=yes
15972 hardcode_into_libs=yes
15976 version_type=linux # correct to gnu/linux during the next big refactor
15977 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15978 shlibpath_var=LD_LIBRARY_PATH
15979 shlibpath_overrides_runpath=yes
15986 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15987 soname_spec='${libname}${release}${shared_ext}$major'
15988 shlibpath_var=LD_LIBRARY_PATH
15989 shlibpath_overrides_runpath=no
15990 hardcode_into_libs=yes
15991 dynamic_linker='ldqnx.so'
15996 sys_lib_dlsearch_path_spec="/usr/lib"
15998 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16000 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16001 *) need_version=no ;;
16003 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16004 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16005 shlibpath_var=LD_LIBRARY_PATH
16006 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16008 openbsd2.[89] | openbsd2.[89].*)
16009 shlibpath_overrides_runpath=no
16012 shlibpath_overrides_runpath=yes
16016 shlibpath_overrides_runpath=yes
16021 libname_spec='$name'
16024 library_names_spec='$libname${shared_ext} $libname.a'
16025 dynamic_linker='OS/2 ld.exe'
16026 shlibpath_var=LIBPATH
16029 osf3* | osf4* | osf5*)
16033 soname_spec='${libname}${release}${shared_ext}$major'
16034 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16035 shlibpath_var=LD_LIBRARY_PATH
16036 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16037 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16045 version_type=linux # correct to gnu/linux during the next big refactor
16048 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16049 soname_spec='${libname}${release}${shared_ext}$major'
16050 shlibpath_var=LD_LIBRARY_PATH
16051 shlibpath_overrides_runpath=yes
16052 hardcode_into_libs=yes
16053 # ldd complains unless libraries are executable
16054 postinstall_cmds='chmod +x $lib'
16059 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16060 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16061 shlibpath_var=LD_LIBRARY_PATH
16062 shlibpath_overrides_runpath=yes
16063 if test "$with_gnu_ld" = yes; then
16070 version_type=linux # correct to gnu/linux during the next big refactor
16071 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16072 soname_spec='${libname}${release}${shared_ext}$major'
16073 shlibpath_var=LD_LIBRARY_PATH
16074 case $host_vendor in
16076 shlibpath_overrides_runpath=no
16078 runpath_var=LD_RUN_PATH
16086 shlibpath_overrides_runpath=no
16087 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16093 if test -d /usr/nec ;then
16094 version_type=linux # correct to gnu/linux during the next big refactor
16095 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16096 soname_spec='$libname${shared_ext}.$major'
16097 shlibpath_var=LD_LIBRARY_PATH
16101 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16102 version_type=freebsd-elf
16105 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16106 soname_spec='${libname}${release}${shared_ext}$major'
16107 shlibpath_var=LD_LIBRARY_PATH
16108 shlibpath_overrides_runpath=yes
16109 hardcode_into_libs=yes
16110 if test "$with_gnu_ld" = yes; then
16111 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16113 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16116 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16120 sys_lib_dlsearch_path_spec='/usr/lib'
16124 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16125 version_type=linux # correct to gnu/linux during the next big refactor
16128 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16129 shlibpath_var=LD_LIBRARY_PATH
16130 shlibpath_overrides_runpath=no
16131 hardcode_into_libs=yes
16135 version_type=linux # correct to gnu/linux during the next big refactor
16136 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16137 soname_spec='${libname}${release}${shared_ext}$major'
16138 shlibpath_var=LD_LIBRARY_PATH
16145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16146 $as_echo "$dynamic_linker" >&6; }
16147 test "$dynamic_linker" = no && can_build_shared=no
16149 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16150 if test "$GCC" = yes; then
16151 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16154 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16155 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
16157 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16158 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
16198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16199 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16200 hardcode_action_CXX=
16201 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16202 test -n "$runpath_var_CXX" ||
16203 test "X$hardcode_automatic_CXX" = "Xyes" ; then
16205 # We can hardcode non-existent directories.
16206 if test "$hardcode_direct_CXX" != no &&
16207 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16208 # have to relink, otherwise we might link with an installed library
16209 # when we should be linking with a yet-to-be-installed one
16210 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16211 test "$hardcode_minus_L_CXX" != no; then
16212 # Linking always hardcodes the temporary library directory.
16213 hardcode_action_CXX=relink
16215 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16216 hardcode_action_CXX=immediate
16219 # We cannot hardcode anything, or else we can only hardcode existing
16221 hardcode_action_CXX=unsupported
16223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16224 $as_echo "$hardcode_action_CXX" >&6; }
16226 if test "$hardcode_action_CXX" = relink ||
16227 test "$inherit_rpath_CXX" = yes; then
16228 # Fast installation is not supported
16229 enable_fast_install=no
16230 elif test "$shlibpath_overrides_runpath" = yes ||
16231 test "$enable_shared" = no; then
16232 # Fast installation is not necessary
16233 enable_fast_install=needless
16242 fi # test -n "$compiler"
16245 CFLAGS=$lt_save_CFLAGS
16249 with_gnu_ld=$lt_save_with_gnu_ld
16250 lt_cv_path_LDCXX=$lt_cv_path_LD
16251 lt_cv_path_LD=$lt_save_path_LD
16252 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16253 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16254 fi # test "$_lt_caught_CXX_error" != yes
16257 ac_cpp='$CPP $CPPFLAGS'
16258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
16264 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
16266 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
16267 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
16268 $as_echo_n "(cached) " >&6
16270 cat >conftest.make <<\_ACEOF
16273 @echo '@@@%%%=$(MAKE)=@@@%%%'
16275 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
16276 case `${MAKE-make} -f conftest.make 2>/dev/null` in
16277 *@@@%%%=?*=@@@%%%*)
16278 eval ac_cv_prog_make_${ac_make}_set=yes;;
16280 eval ac_cv_prog_make_${ac_make}_set=no;;
16282 rm -f conftest.make
16284 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
16285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16286 $as_echo "yes" >&6; }
16289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16290 $as_echo "no" >&6; }
16291 SET_MAKE="MAKE=${MAKE-make}"
16295 # Boost headers: boost/foreach.hpp is needed (1.33/Debian Etch
16296 # doesn't have it, 1.34/Ubuntu 8.10 Hardy does). 1.35 is available
16297 # as Debian Etch backport.
16300 # Check whether --with-boost was given.
16301 if test "${with_boost+set}" = set; then :
16302 withval=$with_boost;
16303 if test "$withval" = "no"; then
16305 elif test "$withval" = "yes"; then
16310 ac_boost_path="$withval"
16320 # Check whether --with-boost-libdir was given.
16321 if test "${with_boost_libdir+set}" = set; then :
16322 withval=$with_boost_libdir;
16323 if test -d "$withval"
16325 ac_boost_lib_path="$withval"
16327 as_fn_error $? "--with-boost-libdir expected directory name" "$LINENO" 5
16331 ac_boost_lib_path=""
16336 if test "x$want_boost" = "xyes"; then
16337 boost_lib_version_req=1.34
16338 boost_lib_version_req_shorten=`expr $boost_lib_version_req : '\([0-9]*\.[0-9]*\)'`
16339 boost_lib_version_req_major=`expr $boost_lib_version_req : '\([0-9]*\)'`
16340 boost_lib_version_req_minor=`expr $boost_lib_version_req : '[0-9]*\.\([0-9]*\)'`
16341 boost_lib_version_req_sub_minor=`expr $boost_lib_version_req : '[0-9]*\.[0-9]*\.\([0-9]*\)'`
16342 if test "x$boost_lib_version_req_sub_minor" = "x" ; then
16343 boost_lib_version_req_sub_minor="0"
16345 WANT_BOOST_VERSION=`expr $boost_lib_version_req_major \* 100000 \+ $boost_lib_version_req_minor \* 100 \+ $boost_lib_version_req_sub_minor`
16346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for boostlib >= $boost_lib_version_req" >&5
16347 $as_echo_n "checking for boostlib >= $boost_lib_version_req... " >&6; }
16352 if test $ax_arch = x86_64 -o $ax_arch = ppc64 -o $ax_arch = s390x -o $ax_arch = sparc64; then
16353 libsubdirs="lib64 lib lib64"
16356 if test "$ac_boost_path" != ""; then
16357 BOOST_CPPFLAGS="-I$ac_boost_path/include"
16358 for ac_boost_path_tmp in $libsubdirs; do
16359 if test -d "$ac_boost_path"/"$ac_boost_path_tmp" ; then
16360 BOOST_LDFLAGS="-L$ac_boost_path/$ac_boost_path_tmp"
16364 elif test "$cross_compiling" != yes; then
16365 for ac_boost_path_tmp in /usr /usr/local /opt /opt/local ; do
16366 if test -d "$ac_boost_path_tmp/include/boost" && test -r "$ac_boost_path_tmp/include/boost"; then
16367 for libsubdir in $libsubdirs ; do
16368 if ls "$ac_boost_path_tmp/$libsubdir/libboost_"* >/dev/null 2>&1 ; then break; fi
16370 BOOST_LDFLAGS="-L$ac_boost_path_tmp/$libsubdir"
16371 BOOST_CPPFLAGS="-I$ac_boost_path_tmp/include"
16377 if test "$ac_boost_lib_path" != ""; then
16378 BOOST_LDFLAGS="-L$ac_boost_lib_path"
16381 CPPFLAGS_SAVED="$CPPFLAGS"
16382 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
16385 LDFLAGS_SAVED="$LDFLAGS"
16386 LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
16391 ac_cpp='$CXXCPP $CPPFLAGS'
16392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16397 /* end confdefs.h. */
16399 #include <boost/version.hpp>
16405 #if BOOST_VERSION >= $WANT_BOOST_VERSION
16406 // Everything is okay
16408 # error Boost version is too old
16415 if ac_fn_cxx_try_compile "$LINENO"; then :
16417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16418 $as_echo "yes" >&6; }
16423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16425 ac_cpp='$CPP $CPPFLAGS'
16426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16433 if test "x$succeeded" != "xyes"; then
16435 if test "$ac_boost_path" != ""; then
16436 if test -d "$ac_boost_path" && test -r "$ac_boost_path"; then
16437 for i in `ls -d $ac_boost_path/include/boost-* 2>/dev/null`; do
16438 _version_tmp=`echo $i | sed "s#$ac_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'`
16439 V_CHECK=`expr $_version_tmp \> $_version`
16440 if test "$V_CHECK" = "1" ; then
16441 _version=$_version_tmp
16443 VERSION_UNDERSCORE=`echo $_version | sed 's/\./_/'`
16444 BOOST_CPPFLAGS="-I$ac_boost_path/include/boost-$VERSION_UNDERSCORE"
16448 if test "$cross_compiling" != yes; then
16449 for ac_boost_path in /usr /usr/local /opt /opt/local ; do
16450 if test -d "$ac_boost_path" && test -r "$ac_boost_path"; then
16451 for i in `ls -d $ac_boost_path/include/boost-* 2>/dev/null`; do
16452 _version_tmp=`echo $i | sed "s#$ac_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'`
16453 V_CHECK=`expr $_version_tmp \> $_version`
16454 if test "$V_CHECK" = "1" ; then
16455 _version=$_version_tmp
16456 best_path=$ac_boost_path
16462 VERSION_UNDERSCORE=`echo $_version | sed 's/\./_/'`
16463 BOOST_CPPFLAGS="-I$best_path/include/boost-$VERSION_UNDERSCORE"
16464 if test "$ac_boost_lib_path" = ""; then
16465 for libsubdir in $libsubdirs ; do
16466 if ls "$best_path/$libsubdir/libboost_"* >/dev/null 2>&1 ; then break; fi
16468 BOOST_LDFLAGS="-L$best_path/$libsubdir"
16472 if test "x$BOOST_ROOT" != "x"; then
16473 for libsubdir in $libsubdirs ; do
16474 if ls "$BOOST_ROOT/stage/$libsubdir/libboost_"* >/dev/null 2>&1 ; then break; fi
16476 if test -d "$BOOST_ROOT" && test -r "$BOOST_ROOT" && test -d "$BOOST_ROOT/stage/$libsubdir" && test -r "$BOOST_ROOT/stage/$libsubdir"; then
16477 version_dir=`expr //$BOOST_ROOT : '.*/\(.*\)'`
16478 stage_version=`echo $version_dir | sed 's/boost_//' | sed 's/_/./g'`
16479 stage_version_shorten=`expr $stage_version : '\([0-9]*\.[0-9]*\)'`
16480 V_CHECK=`expr $stage_version_shorten \>\= $_version`
16481 if test "$V_CHECK" = "1" -a "$ac_boost_lib_path" = "" ; then
16482 { $as_echo "$as_me:${as_lineno-$LINENO}: We will use a staged boost library from $BOOST_ROOT" >&5
16483 $as_echo "$as_me: We will use a staged boost library from $BOOST_ROOT" >&6;}
16484 BOOST_CPPFLAGS="-I$BOOST_ROOT"
16485 BOOST_LDFLAGS="-L$BOOST_ROOT/stage/$libsubdir"
16491 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
16493 LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
16497 ac_cpp='$CXXCPP $CPPFLAGS'
16498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16503 /* end confdefs.h. */
16505 #include <boost/version.hpp>
16511 #if BOOST_VERSION >= $WANT_BOOST_VERSION
16512 // Everything is okay
16514 # error Boost version is too old
16521 if ac_fn_cxx_try_compile "$LINENO"; then :
16523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16524 $as_echo "yes" >&6; }
16529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16531 ac_cpp='$CPP $CPPFLAGS'
16532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16538 if test "$succeeded" != "yes" ; then
16539 if test "$_version" = "0" ; then
16540 { $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
16541 $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;}
16543 { $as_echo "$as_me:${as_lineno-$LINENO}: Your boost libraries seems to old (version $_version)." >&5
16544 $as_echo "$as_me: Your boost libraries seems to old (version $_version)." >&6;}
16546 # execute ACTION-IF-NOT-FOUND (if present):
16552 $as_echo "#define HAVE_BOOST /**/" >>confdefs.h
16554 # execute ACTION-IF-FOUND (if present):
16558 CPPFLAGS="$CPPFLAGS_SAVED"
16559 LDFLAGS="$LDFLAGS_SAVED"
16564 # TODO: Fix code to pass with -pedantic -Wextra.
16565 # -Wno-unknown-pragmas needed because icalstrdup.h
16566 # currently uses the "#pragma }" trick. Should remove that.
16567 # Fix code to work without deprecated methods: G GDK GDK_PIXBUF CAIRO PANGO GTK
16568 # Check whether --enable-warnings was given.
16569 if test "${enable_warnings+set}" = set; then :
16570 enableval=$enable_warnings; dk_enable_warnings=$enableval
16572 dk_enable_warnings=min
16576 case $ac_compile in
16580 dk_conftest=conftest.${ac_ext-cc}
16585 dk_conftest=conftest.${ac_ext-c}
16589 if test "x$dk_lang" != x; then :
16591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which $dk_lang compiler warning flags to use" >&5
16592 $as_echo_n "checking which $dk_lang compiler warning flags to use... " >&6; }
16594 case $dk_enable_warnings in
16595 no) dk_warning_flags=;;
16596 max) dk_warning_flags="-Wall -Wno-unknown-pragmas -Wno-deprecated-declarations";;
16597 fatal) dk_warning_flags="-Wall -Wno-unknown-pragmas -Wno-deprecated-declarations -Werror";;
16598 *) dk_warning_flags="-Wall -Wno-unknown-pragmas -Wno-deprecated-declarations";;
16601 dk_deprecation_flags=
16604 if test "x$dk_warning_flags" != x; then :
16606 # Keep in mind that the dummy source must be devoid of any
16607 # problems that might cause diagnostics.
16608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16609 /* end confdefs.h. */
16610 int main(int argc, char** argv) { return (argv != 0) ? argc : 0; }
16613 for dk_flag in $dk_warning_flags
16615 # Test whether the compiler accepts the flag. GCC doesn't bail
16616 # out when given an unsupported flag but prints a warning, so
16617 # check the compiler output instead.
16618 dk_cc_out=`$dk_cc $dk_tested_flags $dk_flag -c "$dk_conftest" 2>&1 || echo failed`
16619 rm -f "conftest.${OBJEXT-o}"
16621 if test "x$dk_cc_out" = x; then :
16623 if test "x$dk_tested_flags" = x; then :
16624 dk_tested_flags=$dk_flag
16626 dk_tested_flags="$dk_tested_flags $dk_flag"
16631 echo "$dk_cc_out" >&5
16636 rm -f "$dk_conftest"
16639 dk_all_flags=$dk_deprecation_flags$dk_tested_flags
16640 SYNCEVO_WFLAGS=$dk_all_flags
16643 test "x$dk_all_flags" != x || dk_all_flags=none
16644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dk_all_flags" >&5
16645 $as_echo "$dk_all_flags" >&6; }
16650 DEVICE_TYPE=workstation
16653 # Check whether --with-synthesis-src was given.
16654 if test "${with_synthesis_src+set}" = set; then :
16655 withval=$with_synthesis_src; SYNTHESISSRC="$withval"
16656 test "$SYNTHESISSRC" != "yes" || as_fn_error $? "--with-synthesis-src requires a parameter (base directory, svn URL or git URL)" "$LINENO" 5
16658 SYNTHESISSRC="$SYNTHESISSRC_DEF"; REVISION="syncevolution-0.9"
16663 # Check whether --with-syncml-engines was given.
16664 if test "${with_syncml_engines+set}" = set; then :
16665 withval=$with_syncml_engines; SYNCML_ENGINES="$withval"
16667 SYNCML_ENGINES=both
16671 case $SYNCML_ENGINES in both|client)
16672 $as_echo "#define ENABLE_SYNCML_CLIENT 1" >>confdefs.h
16674 case $SYNCML_ENGINES in both|server)
16675 $as_echo "#define ENABLE_SYNCML_SERVER 1" >>confdefs.h
16677 case $SYNCML_ENGINES in both|server|client) true;; *) as_fn_error $? "Invalid value for --with-syncml-engines: $SYNCML_ENGINES" "$LINENO" 5;; esac
16680 # Check whether --with-synthesis-username was given.
16681 if test "${with_synthesis_username+set}" = set; then :
16682 withval=$with_synthesis_username; USERNAME="$withval"
16689 # Check whether --with-synthesis-revision was given.
16690 if test "${with_synthesis_revision+set}" = set; then :
16691 withval=$with_synthesis_revision; REVISION="$withval"
16695 # Check whether --enable-shared was given.
16696 if test "${enable_shared+set}" = set; then :
16697 enableval=$enable_shared; enable_shared="$enableval"
16703 # Check whether --enable-static was given.
16704 if test "${enable_static+set}" = set; then :
16705 enableval=$enable_static; enable_static="$enableval"
16711 # Check whether --enable-unit-tests was given.
16712 if test "${enable_unit_tests+set}" = set; then :
16713 enableval=$enable_unit_tests; enable_unit_tests="$enableval"
16715 enable_unit_tests="no"
16718 # Check whether --enable-integration-tests was given.
16719 if test "${enable_integration_tests+set}" = set; then :
16720 enableval=$enable_integration_tests; enable_integration_tests="$enableval"
16722 enable_integration_tests="no"
16726 # Check whether --enable-static-cxx was given.
16727 if test "${enable_static_cxx+set}" = set; then :
16728 enableval=$enable_static_cxx; enable_static_cxx="$enableval"
16730 enable_static_cxx="no"
16734 # Check whether --enable-evolution-compatibility was given.
16735 if test "${enable_evolution_compatibility+set}" = set; then :
16736 enableval=$enable_evolution_compatibility; enable_evolution_compatibility="$enableval"
16738 enable_evolution_compatibility="no"
16742 # Check whether --enable-internal-icaltz was given.
16743 if test "${enable_internal_icaltz+set}" = set; then :
16744 enableval=$enable_internal_icaltz; enable_icaltz_util="$enableval"
16745 test "$enable_icaltz_util" = "yes" || test "$enable_icaltz_util" = "no" || as_fn_error $? "invalid value of --disable-internal-icaltz: $enableval" "$LINENO" 5
16747 enable_icaltz_util="yes"
16750 if test "$enable_icaltz_util" = "yes"; then
16752 $as_echo "#define ENABLE_ICALTZ_UTIL 1" >>confdefs.h
16755 $as_echo "#define DISABLE_ICALTZUTIL_GET_ZONE_DIRECTORY 1" >>confdefs.h
16758 if test "$enable_icaltz_util" = "yes"; then
16759 ENABLE_ICALTZ_UTIL_TRUE=
16760 ENABLE_ICALTZ_UTIL_FALSE='#'
16762 ENABLE_ICALTZ_UTIL_TRUE='#'
16763 ENABLE_ICALTZ_UTIL_FALSE=
16767 # Check whether --enable-developer-mode was given.
16768 if test "${enable_developer_mode+set}" = set; then :
16769 enableval=$enable_developer_mode; enable_developer_mode="$enableval"
16771 enable_developer_mode="no"
16776 # - wrap e_book_from_string() to fix invalid parameter
16777 # - don't use UTF-8 encoding in Perl script
16778 # Check whether --enable-maemo was given.
16779 if test "${enable_maemo+set}" = set; then :
16780 enableval=$enable_maemo;
16781 $as_echo "#define ENABLE_MAEMO 1" >>confdefs.h
16784 MODIFY_SYNCCOMPARE='-e "s/use encoding/#use encoding/;" -e "s/:utf8//;"'
16789 for ac_header in signal.h dlfcn.h
16791 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16792 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16793 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16794 cat >>confdefs.h <<_ACEOF
16795 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16803 # For icaltz-util.c
16804 for ac_header in byteswap.h endian.h sys/endian.h unistd.h stdint.h
16806 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16807 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16808 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16809 cat >>confdefs.h <<_ACEOF
16810 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16818 # cppunit-config is used even when both unit tests and integration tests are disabled.
16819 # Extract the first word of "cppunit-config", so it can be a program name with args.
16820 set dummy cppunit-config; ac_word=$2
16821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16822 $as_echo_n "checking for $ac_word... " >&6; }
16823 if ${ac_cv_path_CPPUNIT_CONFIG+:} false; then :
16824 $as_echo_n "(cached) " >&6
16826 case $CPPUNIT_CONFIG in
16828 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
16831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16832 for as_dir in $PATH
16835 test -z "$as_dir" && as_dir=.
16836 for ac_exec_ext in '' $ac_executable_extensions; do
16837 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16838 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16846 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
16850 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
16851 if test -n "$CPPUNIT_CONFIG"; then
16852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPUNIT_CONFIG" >&5
16853 $as_echo "$CPPUNIT_CONFIG" >&6; }
16855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16856 $as_echo "no" >&6; }
16862 if test "x$enable_unit_tests" = 'xyes' || test "x$enable_integration_tests" = 'xyes'; then
16863 test "x$CPPUNIT_CONFIG" != 'xno' || as_fn_error $? "\"cppunit-config not found.\"" "$LINENO" 5
16865 if test "x$CPPUNIT_CONFIG" != 'xno'; then
16866 # Export the flags if available, even if not enabled. This allows
16867 # "make src/client-test" in cases where "make all" would not build
16869 CPPUNIT_CXXFLAGS=`$CPPUNIT_CONFIG --cflags`
16870 CPPUNIT_LDFLAGS=`$CPPUNIT_CONFIG --libs`
16875 if test "x$enable_unit_tests" = 'xyes'; then
16877 $as_echo "#define ENABLE_UNIT_TESTS 1" >>confdefs.h
16880 if test "x$enable_integration_tests" = 'xyes'; then
16882 $as_echo "#define ENABLE_INTEGRATION_TESTS 1" >>confdefs.h
16885 if test "$enable_unit_tests" = "yes"; then
16886 ENABLE_UNIT_TESTS_TRUE=
16887 ENABLE_UNIT_TESTS_FALSE='#'
16889 ENABLE_UNIT_TESTS_TRUE='#'
16890 ENABLE_UNIT_TESTS_FALSE=
16893 if test "$enable_unit_tests" = "yes" || test "$enable_integration_tests" = "yes" ; then
16894 ENABLE_TESTING_TRUE=
16895 ENABLE_TESTING_FALSE='#'
16897 ENABLE_TESTING_TRUE='#'
16898 ENABLE_TESTING_FALSE=
16902 if test $enable_static_cxx = "yes"; then
16904 CORE_LDADD_DEP=libstdc++.a
16908 # Check for transport layer.
16909 # Both curl and libsoup can be enabled and disabled explicitly.
16910 # The default is to use libsoup if available, otherwise curl.
16912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl" >&5
16913 $as_echo_n "checking for libcurl... " >&6; }
16914 if LIBCURL_LIBS=`sh -c 'curl-config --libs' 2>&5` && \
16915 LIBCURL_CFLAGS=`sh -c 'curl-config --cflags' 2>&5`; then
16916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16917 $as_echo "yes" >&6; }
16920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16921 $as_echo "no" >&6; }
16932 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
16933 if test -n "$ac_tool_prefix"; then
16934 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
16935 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
16936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16937 $as_echo_n "checking for $ac_word... " >&6; }
16938 if ${ac_cv_path_PKG_CONFIG+:} false; then :
16939 $as_echo_n "(cached) " >&6
16941 case $PKG_CONFIG in
16943 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
16946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16947 for as_dir in $PATH
16950 test -z "$as_dir" && as_dir=.
16951 for ac_exec_ext in '' $ac_executable_extensions; do
16952 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16953 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16964 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
16965 if test -n "$PKG_CONFIG"; then
16966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16967 $as_echo "$PKG_CONFIG" >&6; }
16969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16970 $as_echo "no" >&6; }
16975 if test -z "$ac_cv_path_PKG_CONFIG"; then
16976 ac_pt_PKG_CONFIG=$PKG_CONFIG
16977 # Extract the first word of "pkg-config", so it can be a program name with args.
16978 set dummy pkg-config; ac_word=$2
16979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16980 $as_echo_n "checking for $ac_word... " >&6; }
16981 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
16982 $as_echo_n "(cached) " >&6
16984 case $ac_pt_PKG_CONFIG in
16986 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
16989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16990 for as_dir in $PATH
16993 test -z "$as_dir" && as_dir=.
16994 for ac_exec_ext in '' $ac_executable_extensions; do
16995 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16996 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17007 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
17008 if test -n "$ac_pt_PKG_CONFIG"; then
17009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
17010 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
17012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17013 $as_echo "no" >&6; }
17016 if test "x$ac_pt_PKG_CONFIG" = x; then
17019 case $cross_compiling:$ac_tool_warned in
17021 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17022 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17023 ac_tool_warned=yes ;;
17025 PKG_CONFIG=$ac_pt_PKG_CONFIG
17028 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
17032 if test -n "$PKG_CONFIG"; then
17033 _pkg_min_version=0.9.0
17034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
17035 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
17036 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
17037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17038 $as_echo "yes" >&6; }
17040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17041 $as_echo "no" >&6; }
17047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSOUP" >&5
17048 $as_echo_n "checking for LIBSOUP... " >&6; }
17050 if test -n "$LIBSOUP_CFLAGS"; then
17051 pkg_cv_LIBSOUP_CFLAGS="$LIBSOUP_CFLAGS"
17052 elif test -n "$PKG_CONFIG"; then
17053 if test -n "$PKG_CONFIG" && \
17054 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-gnome-2.4\""; } >&5
17055 ($PKG_CONFIG --exists --print-errors "libsoup-gnome-2.4") 2>&5
17057 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17058 test $ac_status = 0; }; then
17059 pkg_cv_LIBSOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-gnome-2.4" 2>/dev/null`
17060 test "x$?" != "x0" && pkg_failed=yes
17067 if test -n "$LIBSOUP_LIBS"; then
17068 pkg_cv_LIBSOUP_LIBS="$LIBSOUP_LIBS"
17069 elif test -n "$PKG_CONFIG"; then
17070 if test -n "$PKG_CONFIG" && \
17071 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-gnome-2.4\""; } >&5
17072 ($PKG_CONFIG --exists --print-errors "libsoup-gnome-2.4") 2>&5
17074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17075 test $ac_status = 0; }; then
17076 pkg_cv_LIBSOUP_LIBS=`$PKG_CONFIG --libs "libsoup-gnome-2.4" 2>/dev/null`
17077 test "x$?" != "x0" && pkg_failed=yes
17087 if test $pkg_failed = yes; then
17088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17089 $as_echo "no" >&6; }
17091 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17092 _pkg_short_errors_supported=yes
17094 _pkg_short_errors_supported=no
17096 if test $_pkg_short_errors_supported = yes; then
17097 LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsoup-gnome-2.4" 2>&1`
17099 LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsoup-gnome-2.4" 2>&1`
17101 # Put the nasty error message in config.log where it belongs
17102 echo "$LIBSOUP_PKG_ERRORS" >&5
17106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSOUP" >&5
17107 $as_echo_n "checking for LIBSOUP... " >&6; }
17109 if test -n "$LIBSOUP_CFLAGS"; then
17110 pkg_cv_LIBSOUP_CFLAGS="$LIBSOUP_CFLAGS"
17111 elif test -n "$PKG_CONFIG"; then
17112 if test -n "$PKG_CONFIG" && \
17113 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\""; } >&5
17114 ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
17116 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17117 test $ac_status = 0; }; then
17118 pkg_cv_LIBSOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4" 2>/dev/null`
17119 test "x$?" != "x0" && pkg_failed=yes
17126 if test -n "$LIBSOUP_LIBS"; then
17127 pkg_cv_LIBSOUP_LIBS="$LIBSOUP_LIBS"
17128 elif test -n "$PKG_CONFIG"; then
17129 if test -n "$PKG_CONFIG" && \
17130 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\""; } >&5
17131 ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
17133 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17134 test $ac_status = 0; }; then
17135 pkg_cv_LIBSOUP_LIBS=`$PKG_CONFIG --libs "libsoup-2.4" 2>/dev/null`
17136 test "x$?" != "x0" && pkg_failed=yes
17146 if test $pkg_failed = yes; then
17147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17148 $as_echo "no" >&6; }
17150 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17151 _pkg_short_errors_supported=yes
17153 _pkg_short_errors_supported=no
17155 if test $_pkg_short_errors_supported = yes; then
17156 LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsoup-2.4" 2>&1`
17158 LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsoup-2.4" 2>&1`
17160 # Put the nasty error message in config.log where it belongs
17161 echo "$LIBSOUP_PKG_ERRORS" >&5
17164 elif test $pkg_failed = untried; then
17165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17166 $as_echo "no" >&6; }
17169 LIBSOUP_CFLAGS=$pkg_cv_LIBSOUP_CFLAGS
17170 LIBSOUP_LIBS=$pkg_cv_LIBSOUP_LIBS
17171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17172 $as_echo "yes" >&6; }
17175 elif test $pkg_failed = untried; then
17176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17177 $as_echo "no" >&6; }
17180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSOUP" >&5
17181 $as_echo_n "checking for LIBSOUP... " >&6; }
17183 if test -n "$LIBSOUP_CFLAGS"; then
17184 pkg_cv_LIBSOUP_CFLAGS="$LIBSOUP_CFLAGS"
17185 elif test -n "$PKG_CONFIG"; then
17186 if test -n "$PKG_CONFIG" && \
17187 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\""; } >&5
17188 ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
17190 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17191 test $ac_status = 0; }; then
17192 pkg_cv_LIBSOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4" 2>/dev/null`
17193 test "x$?" != "x0" && pkg_failed=yes
17200 if test -n "$LIBSOUP_LIBS"; then
17201 pkg_cv_LIBSOUP_LIBS="$LIBSOUP_LIBS"
17202 elif test -n "$PKG_CONFIG"; then
17203 if test -n "$PKG_CONFIG" && \
17204 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\""; } >&5
17205 ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
17207 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17208 test $ac_status = 0; }; then
17209 pkg_cv_LIBSOUP_LIBS=`$PKG_CONFIG --libs "libsoup-2.4" 2>/dev/null`
17210 test "x$?" != "x0" && pkg_failed=yes
17220 if test $pkg_failed = yes; then
17221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17222 $as_echo "no" >&6; }
17224 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17225 _pkg_short_errors_supported=yes
17227 _pkg_short_errors_supported=no
17229 if test $_pkg_short_errors_supported = yes; then
17230 LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsoup-2.4" 2>&1`
17232 LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsoup-2.4" 2>&1`
17234 # Put the nasty error message in config.log where it belongs
17235 echo "$LIBSOUP_PKG_ERRORS" >&5
17238 elif test $pkg_failed = untried; then
17239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17240 $as_echo "no" >&6; }
17243 LIBSOUP_CFLAGS=$pkg_cv_LIBSOUP_CFLAGS
17244 LIBSOUP_LIBS=$pkg_cv_LIBSOUP_LIBS
17245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17246 $as_echo "yes" >&6; }
17250 LIBSOUP_CFLAGS=$pkg_cv_LIBSOUP_CFLAGS
17251 LIBSOUP_LIBS=$pkg_cv_LIBSOUP_LIBS
17252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17253 $as_echo "yes" >&6; }
17256 $as_echo "#define HAVE_LIBSOUP_SOUP_GNOME_FEATURES_H 1" >>confdefs.h
17262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBOPENOBEX" >&5
17263 $as_echo_n "checking for LIBOPENOBEX... " >&6; }
17265 if test -n "$LIBOPENOBEX_CFLAGS"; then
17266 pkg_cv_LIBOPENOBEX_CFLAGS="$LIBOPENOBEX_CFLAGS"
17267 elif test -n "$PKG_CONFIG"; then
17268 if test -n "$PKG_CONFIG" && \
17269 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openobex\""; } >&5
17270 ($PKG_CONFIG --exists --print-errors "openobex") 2>&5
17272 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17273 test $ac_status = 0; }; then
17274 pkg_cv_LIBOPENOBEX_CFLAGS=`$PKG_CONFIG --cflags "openobex" 2>/dev/null`
17275 test "x$?" != "x0" && pkg_failed=yes
17282 if test -n "$LIBOPENOBEX_LIBS"; then
17283 pkg_cv_LIBOPENOBEX_LIBS="$LIBOPENOBEX_LIBS"
17284 elif test -n "$PKG_CONFIG"; then
17285 if test -n "$PKG_CONFIG" && \
17286 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openobex\""; } >&5
17287 ($PKG_CONFIG --exists --print-errors "openobex") 2>&5
17289 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17290 test $ac_status = 0; }; then
17291 pkg_cv_LIBOPENOBEX_LIBS=`$PKG_CONFIG --libs "openobex" 2>/dev/null`
17292 test "x$?" != "x0" && pkg_failed=yes
17302 if test $pkg_failed = yes; then
17303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17304 $as_echo "no" >&6; }
17306 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17307 _pkg_short_errors_supported=yes
17309 _pkg_short_errors_supported=no
17311 if test $_pkg_short_errors_supported = yes; then
17312 LIBOPENOBEX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "openobex" 2>&1`
17314 LIBOPENOBEX_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "openobex" 2>&1`
17316 # Put the nasty error message in config.log where it belongs
17317 echo "$LIBOPENOBEX_PKG_ERRORS" >&5
17320 elif test $pkg_failed = untried; then
17321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17322 $as_echo "no" >&6; }
17325 LIBOPENOBEX_CFLAGS=$pkg_cv_LIBOPENOBEX_CFLAGS
17326 LIBOPENOBEX_LIBS=$pkg_cv_LIBOPENOBEX_LIBS
17327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17328 $as_echo "yes" >&6; }
17331 have_bluetooth="no"
17332 if test $have_obex = "yes"; then
17335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BLUEZ" >&5
17336 $as_echo_n "checking for BLUEZ... " >&6; }
17338 if test -n "$BLUEZ_CFLAGS"; then
17339 pkg_cv_BLUEZ_CFLAGS="$BLUEZ_CFLAGS"
17340 elif test -n "$PKG_CONFIG"; then
17341 if test -n "$PKG_CONFIG" && \
17342 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"bluez\""; } >&5
17343 ($PKG_CONFIG --exists --print-errors "bluez") 2>&5
17345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17346 test $ac_status = 0; }; then
17347 pkg_cv_BLUEZ_CFLAGS=`$PKG_CONFIG --cflags "bluez" 2>/dev/null`
17348 test "x$?" != "x0" && pkg_failed=yes
17355 if test -n "$BLUEZ_LIBS"; then
17356 pkg_cv_BLUEZ_LIBS="$BLUEZ_LIBS"
17357 elif test -n "$PKG_CONFIG"; then
17358 if test -n "$PKG_CONFIG" && \
17359 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"bluez\""; } >&5
17360 ($PKG_CONFIG --exists --print-errors "bluez") 2>&5
17362 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17363 test $ac_status = 0; }; then
17364 pkg_cv_BLUEZ_LIBS=`$PKG_CONFIG --libs "bluez" 2>/dev/null`
17365 test "x$?" != "x0" && pkg_failed=yes
17375 if test $pkg_failed = yes; then
17376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17377 $as_echo "no" >&6; }
17379 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17380 _pkg_short_errors_supported=yes
17382 _pkg_short_errors_supported=no
17384 if test $_pkg_short_errors_supported = yes; then
17385 BLUEZ_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "bluez" 2>&1`
17387 BLUEZ_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "bluez" 2>&1`
17389 # Put the nasty error message in config.log where it belongs
17390 echo "$BLUEZ_PKG_ERRORS" >&5
17393 elif test $pkg_failed = untried; then
17394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17395 $as_echo "no" >&6; }
17398 BLUEZ_CFLAGS=$pkg_cv_BLUEZ_CFLAGS
17399 BLUEZ_LIBS=$pkg_cv_BLUEZ_LIBS
17400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17401 $as_echo "yes" >&6; }
17404 if test $have_bluez = "yes"; then
17405 have_bluetooth="yes"
17418 # Check whether --with-ca-certificates was given.
17419 if test "${with_ca_certificates+set}" = set; then :
17420 withval=$with_ca_certificates; CA_CERTIFICATES="$withval"
17425 # choose default http transport (mirrors code in EvolutionSyncClient::createTransportAgent())
17426 if test "$have_libsoup" = "yes"; then
17427 default_http_transport="libsoup"
17428 elif test "$have_libcurl" = "yes"; then
17429 default_http_transport="libcurl"
17432 # Check whether --enable-libcurl was given.
17433 if test "${enable_libcurl+set}" = set; then :
17434 enableval=$enable_libcurl; if test "$enableval" = "yes"; then
17435 test "$have_libcurl" = "yes" || as_fn_error $? "libcurl not found" "$LINENO" 5
17436 TRANSPORT="$TRANSPORT libcurl"
17437 TRANSPORT_LIBS="$TRANSPORT_LIBS $LIBCURL_LIBS"
17438 TRANSPORT_CFLAGS="$TRANSPORT_CFLAGS $LIBCURL_CFLAGS"
17440 $as_echo "#define ENABLE_LIBCURL 1" >>confdefs.h
17443 libcurl_disabled="yes"
17446 if test "$have_libcurl" = "yes" && test "$default_http_transport" = "libcurl" ; then
17447 TRANSPORT="$TRANSPORT libcurl"
17448 TRANSPORT_LIBS="$TRANSPORT_LIBS $LIBCURL_LIBS"
17449 TRANSPORT_CFLAGS="$TRANSPORT_CFLAGS $LIBCURL_CFLAGS"
17451 $as_echo "#define ENABLE_LIBCURL 1" >>confdefs.h
17457 # Check whether --enable-libsoup was given.
17458 if test "${enable_libsoup+set}" = set; then :
17459 enableval=$enable_libsoup; if test "$enableval" = "yes"; then
17460 test "$have_libsoup" = "yes" || as_fn_error $? "libsoup not found" "$LINENO" 5
17461 TRANSPORT="$TRANSPORT libsoup"
17462 TRANSPORT_LIBS="$TRANSPORT_LIBS $LIBSOUP_LIBS"
17463 TRANSPORT_CFLAGS="$TRANSPORT_CFLAGS $LIBSOUP_CFLAGS"
17465 $as_echo "#define ENABLE_LIBSOUP 1" >>confdefs.h
17468 libsoup_disabled="yes"
17471 if test "$have_libsoup" = "yes" && test "$default_http_transport" = "libsoup"; then
17472 TRANSPORT="$TRANSPORT libsoup"
17473 TRANSPORT_LIBS="$TRANSPORT_LIBS $LIBSOUP_LIBS"
17474 TRANSPORT_CFLAGS="$TRANSPORT_CFLAGS $LIBSOUP_CFLAGS"
17476 $as_echo "#define ENABLE_LIBSOUP 1" >>confdefs.h
17482 # SoupTransportAgent depends on glib
17483 case "$TRANSPORT" in *libsoup*) need_glib=yes;; esac
17485 # Check whether --enable-dlt was given.
17486 if test "${enable_dlt+set}" = set; then :
17487 enableval=$enable_dlt; enable_dlt=$enableval
17488 test $enable_dlt = "yes" || test $enable_dlt = "no" || as_fn_error $? "invalid value of --enable-dlt: $enableval" "$LINENO" 5
17493 if test "$enable_dlt" = "yes"; then
17496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DLT" >&5
17497 $as_echo_n "checking for DLT... " >&6; }
17499 if test -n "$DLT_CFLAGS"; then
17500 pkg_cv_DLT_CFLAGS="$DLT_CFLAGS"
17501 elif test -n "$PKG_CONFIG"; then
17502 if test -n "$PKG_CONFIG" && \
17503 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"automotive-dlt\""; } >&5
17504 ($PKG_CONFIG --exists --print-errors "automotive-dlt") 2>&5
17506 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17507 test $ac_status = 0; }; then
17508 pkg_cv_DLT_CFLAGS=`$PKG_CONFIG --cflags "automotive-dlt" 2>/dev/null`
17509 test "x$?" != "x0" && pkg_failed=yes
17516 if test -n "$DLT_LIBS"; then
17517 pkg_cv_DLT_LIBS="$DLT_LIBS"
17518 elif test -n "$PKG_CONFIG"; then
17519 if test -n "$PKG_CONFIG" && \
17520 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"automotive-dlt\""; } >&5
17521 ($PKG_CONFIG --exists --print-errors "automotive-dlt") 2>&5
17523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17524 test $ac_status = 0; }; then
17525 pkg_cv_DLT_LIBS=`$PKG_CONFIG --libs "automotive-dlt" 2>/dev/null`
17526 test "x$?" != "x0" && pkg_failed=yes
17536 if test $pkg_failed = yes; then
17537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17538 $as_echo "no" >&6; }
17540 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17541 _pkg_short_errors_supported=yes
17543 _pkg_short_errors_supported=no
17545 if test $_pkg_short_errors_supported = yes; then
17546 DLT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "automotive-dlt" 2>&1`
17548 DLT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "automotive-dlt" 2>&1`
17550 # Put the nasty error message in config.log where it belongs
17551 echo "$DLT_PKG_ERRORS" >&5
17553 as_fn_error $? "dlt not found, required for --enable-dlt" "$LINENO" 5
17554 elif test $pkg_failed = untried; then
17555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17556 $as_echo "no" >&6; }
17557 as_fn_error $? "dlt not found, required for --enable-dlt" "$LINENO" 5
17559 DLT_CFLAGS=$pkg_cv_DLT_CFLAGS
17560 DLT_LIBS=$pkg_cv_DLT_LIBS
17561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17562 $as_echo "yes" >&6; }
17566 $as_echo "#define USE_DLT 1" >>confdefs.h
17569 # Check whether --with-dlt-syncevolution was given.
17570 if test "${with_dlt_syncevolution+set}" = set; then :
17571 withval=$with_dlt_syncevolution; with_dlt_ids="$withval"
17573 with_dlt_ids="SYNS,SYNH,SYNL"
17576 syns=`echo $with_dlt_ids | cut -d , -f 1`
17577 synh=`echo $with_dlt_ids | cut -d , -f 2`
17578 synl=`echo $with_dlt_ids | cut -d , -f 3`
17580 cat >>confdefs.h <<_ACEOF
17581 #define DLT_SYNCEVO_DBUS_SERVER_ID "$syns"
17585 cat >>confdefs.h <<_ACEOF
17586 #define DLT_SYNCEVO_DBUS_HELPER_ID "$synh"
17590 cat >>confdefs.h <<_ACEOF
17591 #define DLT_SYNCEVO_LOCAL_HELPER_ID "$synl"
17596 bluetooth_disabled=no
17597 # Check whether --enable-bluetooth was given.
17598 if test "${enable_bluetooth+set}" = set; then :
17599 enableval=$enable_bluetooth; enable_bluetooth="$enableval"
17600 if test "$enableval" = "no"; then
17601 bluetooth_disabled=yes
17605 enable_bluetooth="$have_bluetooth"
17609 if test "$enable_bluetooth" = "yes"; then
17610 # currently we need Bluetooth and OBEX support
17611 test "$have_bluetooth" = "yes" || as_fn_error $? "openobex or bluez not found" "$LINENO" 5
17614 ac_cpp='$CPP $CPPFLAGS'
17615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17619 CFLAGS_old="$CFLAGS"
17620 CFLAGS="$CPPFLAGS $BLUEZ_CFLAGS"
17621 # test in this order:
17622 # - recent libbluetooth (no _safe variant, base function has bufsize)
17623 # - intermediate with _safe
17624 # - else assume old-style (no bufsize, no _safe)
17626 # The source code checks the signature both by via pointer assignment and calling
17627 # it (better safe than sorry). One these should fail if the signature is not right.
17628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17629 /* end confdefs.h. */
17631 #include <bluetooth/sdp.h>
17632 #include <bluetooth/sdp_lib.h>
17633 sdp_record_t *(*extract_pdu)(const uint8_t *pdata, int bufsize, int *scanned) =
17636 uint8_t *pdata = NULL;
17638 sdp_extract_pdu(pdata, 100, &scanned);
17642 if ac_fn_c_try_compile "$LINENO"; then :
17644 $as_echo "#define HAVE_BLUEZ_BUFSIZE 1" >>confdefs.h
17647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17648 /* end confdefs.h. */
17650 #include <bluetooth/sdp.h>
17651 #include <bluetooth/sdp_lib.h>
17652 sdp_record_t *(*extract_pdu)(const uint8_t *pdata, int bufsize, int *scanned) =
17653 sdp_extract_pdu_safe;
17655 uint8_t *pdata = NULL;
17657 sdp_extract_pdu_safe(pdata, 100, &scanned);
17661 if ac_fn_c_try_compile "$LINENO"; then :
17663 $as_echo "#define HAVE_BLUEZ_SAFE 1" >>confdefs.h
17666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17669 CFLAGS="$CFLAGS_old"
17671 if test "$have_obex" = "yes"; then
17673 $as_echo "#define ENABLE_OBEX 1" >>confdefs.h
17676 if test "$have_bluez" = "yes"; then
17678 $as_echo "#define ENABLE_BLUETOOTH 1" >>confdefs.h
17682 if test "$have_obex" = "yes" && test "$enable_bluetooth" = "yes"; then
17684 ENABLE_OBEX_FALSE='#'
17686 ENABLE_OBEX_TRUE='#'
17690 if test "$have_bluetooth" = "yes" && test "$enable_bluetooth" = "yes"; then
17691 ENABLE_BLUETOOTH_TRUE=
17692 ENABLE_BLUETOOTH_FALSE='#'
17694 ENABLE_BLUETOOTH_TRUE='#'
17695 ENABLE_BLUETOOTH_FALSE=
17699 if test ! "$TRANSPORT" &&
17700 test "$libsoup_disabled" != "yes" &&
17701 test "$libcurl_disabled" != "yes" &&
17702 test "$bluetooth_disabled" != "yes" &&
17703 test "$have_bluetooth" != "yes" ; then
17704 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
17707 # for libsoup we must specify the SSL certificate file outself
17708 if test "$libsoup_disabled" != "yes" && test -z "$CA_CERTIFICATES"; then
17709 # Debian and Red Hat paths
17710 CA_CERTIFICATES="/etc/ssl/certs/ca-certificates.crt:/etc/pki/tls/certs/ca-bundle.crt:/usr/share/ssl/certs/ca-bundle.crt"
17713 cat >>confdefs.h <<_ACEOF
17714 #define SYNCEVOLUTION_SSL_SERVER_CERTIFICATES "$CA_CERTIFICATES"
17721 # Check whether --enable-ssl-certificate-check was given.
17722 if test "${enable_ssl_certificate_check+set}" = set; then :
17723 enableval=$enable_ssl_certificate_check; enable_ssl_certificate_check="$enableval"
17725 enable_ssl_certificate_check="yes"
17728 if test "$enable_ssl_certificate_check" = "yes"; then
17730 $as_echo "#define ENABLE_SSL_CERTIFICATE_CHECK 1" >>confdefs.h
17734 # for dbus interface file mangling
17735 # Extract the first word of "xsltproc", so it can be a program name with args.
17736 set dummy xsltproc; ac_word=$2
17737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17738 $as_echo_n "checking for $ac_word... " >&6; }
17739 if ${ac_cv_path_XSLT+:} false; then :
17740 $as_echo_n "(cached) " >&6
17744 ac_cv_path_XSLT="$XSLT" # Let the user override the test with a path.
17747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17748 for as_dir in $PATH
17751 test -z "$as_dir" && as_dir=.
17752 for ac_exec_ext in '' $ac_executable_extensions; do
17753 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17754 ac_cv_path_XSLT="$as_dir/$ac_word$ac_exec_ext"
17755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17765 XSLT=$ac_cv_path_XSLT
17766 if test -n "$XSLT"; then
17767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLT" >&5
17768 $as_echo "$XSLT" >&6; }
17770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17771 $as_echo "no" >&6; }
17777 # Changes in GTK3 mean that supporting both GTK3 and GTK2 in the same codebase
17778 # is difficult. We want to support GTK2 for the time being so the code is forked.
17779 # Check whether --enable-gtk was given.
17780 if test "${enable_gtk+set}" = set; then :
17781 enableval=$enable_gtk; if test "$enableval" = "3" ; then
17782 gtk_version=gtk+-3.0
17783 elif test "$enableval" = "2" ; then
17784 gtk_version=gtk+-2.0
17786 as_fn_error $? "Unknown gtk version: '$enableval'" "$LINENO" 5
17790 if test -n "$PKG_CONFIG" && \
17791 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0\""; } >&5
17792 ($PKG_CONFIG --exists --print-errors "gtk+-3.0") 2>&5
17794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17795 test $ac_status = 0; }; then
17796 gtk_version=gtk+-3.0
17798 gtk_version=gtk+-2.0
17804 if test "$gtk_version" = "gtk+-2.0"; then
17806 COND_GTK2_FALSE='#'
17813 # Check whether --enable-gui was given.
17814 if test "${enable_gui+set}" = set; then :
17815 enableval=$enable_gui; if test "$enableval" = "gtk" ; then
17817 elif test "$enableval" = "yes" ; then
17819 elif test "$enableval" = "moblin" ; then
17821 elif test "$enableval" = "no" ; then
17823 elif test "$enableval" = "all" ; then
17826 as_fn_error $? "Unknown gui type: '$enableval'" "$LINENO" 5
17834 if test "$enable_gui" != "no"; then
17843 # Check whether --enable-core was given.
17844 if test "${enable_core+set}" = set; then :
17845 enableval=$enable_core; enable_core="$enableval"
17850 if test "$enable_core" = "yes"; then
17852 COND_CORE_FALSE='#'
17859 # Check whether --enable-dbus-service was given.
17860 if test "${enable_dbus_service+set}" = set; then :
17861 enableval=$enable_dbus_service; enable_dbus_service="$enableval"
17863 if test $enable_gui = "no"; then
17864 enable_dbus_service="no"
17866 enable_dbus_service="yes"
17870 if test "$enable_dbus_service" != "no"; then
17872 COND_DBUS_FALSE='#'
17878 if test "$enable_dbus_service" != "no" && test "$enable_dbus_service" != "yes"; then
17879 SYNCEVO_DBUS_SERVER_ARGS="$enable_dbus_service"
17884 # Check whether --with-gio-gdbus was given.
17885 if test "${with_gio_gdbus+set}" = set; then :
17886 withval=$with_gio_gdbus; with_gio_gdbus="$withval"
17888 if test -n "$PKG_CONFIG" && \
17889 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.30\""; } >&5
17890 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.30") 2>&5
17892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17893 test $ac_status = 0; }; then
17894 with_gio_gdbus="yes"
17896 with_gio_gdbus="no"
17900 if test "x$with_gio_gdbus" = "xyes"; then
17901 COND_GIO_GDBUS_TRUE=
17902 COND_GIO_GDBUS_FALSE='#'
17904 COND_GIO_GDBUS_TRUE='#'
17905 COND_GIO_GDBUS_FALSE=
17909 # We only need to check for dbus-1 if gio-gdbus is not used.
17911 # Local sync depends on D-Bus communication between parent
17912 # and child process (works without a D-Bus daemon), and local
17913 # sync is not an optional feature. Could be made one if
17914 # someone is interested enough.
17916 # Therefore, at the moment, either libdbus or gio-gdbus are needed
17917 # unconditionally. glib is needed in all cases now.
17919 if test "x$with_gio_gdbus" = "xyes"; then :
17922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
17923 $as_echo_n "checking for DBUS... " >&6; }
17925 if test -n "$DBUS_CFLAGS"; then
17926 pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
17927 elif test -n "$PKG_CONFIG"; then
17928 if test -n "$PKG_CONFIG" && \
17929 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.26\""; } >&5
17930 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.26") 2>&5
17932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17933 test $ac_status = 0; }; then
17934 pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.26" 2>/dev/null`
17935 test "x$?" != "x0" && pkg_failed=yes
17942 if test -n "$DBUS_LIBS"; then
17943 pkg_cv_DBUS_LIBS="$DBUS_LIBS"
17944 elif test -n "$PKG_CONFIG"; then
17945 if test -n "$PKG_CONFIG" && \
17946 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.26\""; } >&5
17947 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.26") 2>&5
17949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17950 test $ac_status = 0; }; then
17951 pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.26" 2>/dev/null`
17952 test "x$?" != "x0" && pkg_failed=yes
17962 if test $pkg_failed = yes; then
17963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17964 $as_echo "no" >&6; }
17966 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17967 _pkg_short_errors_supported=yes
17969 _pkg_short_errors_supported=no
17971 if test $_pkg_short_errors_supported = yes; then
17972 DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.26" 2>&1`
17974 DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.26" 2>&1`
17976 # Put the nasty error message in config.log where it belongs
17977 echo "$DBUS_PKG_ERRORS" >&5
17979 as_fn_error $? "Package requirements (gio-2.0 >= 2.26) were not met:
17983 Consider adjusting the PKG_CONFIG_PATH environment variable if you
17984 installed software in a non-standard prefix.
17986 Alternatively, you may set the environment variables DBUS_CFLAGS
17987 and DBUS_LIBS to avoid the need to call pkg-config.
17988 See the pkg-config man page for more details." "$LINENO" 5
17989 elif test $pkg_failed = untried; then
17990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17991 $as_echo "no" >&6; }
17992 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17993 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17994 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
17995 is in your PATH or set the PKG_CONFIG environment variable to the full
17996 path to pkg-config.
17998 Alternatively, you may set the environment variables DBUS_CFLAGS
17999 and DBUS_LIBS to avoid the need to call pkg-config.
18000 See the pkg-config man page for more details.
18002 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18003 See \`config.log' for more details" "$LINENO" 5; }
18005 DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
18006 DBUS_LIBS=$pkg_cv_DBUS_LIBS
18007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18008 $as_echo "yes" >&6; }
18012 $as_echo "#define WITH_GIO_GDBUS /**/" >>confdefs.h
18017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
18018 $as_echo_n "checking for DBUS... " >&6; }
18020 if test -n "$DBUS_CFLAGS"; then
18021 pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
18022 elif test -n "$PKG_CONFIG"; then
18023 if test -n "$PKG_CONFIG" && \
18024 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5
18025 ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5
18027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18028 test $ac_status = 0; }; then
18029 pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1" 2>/dev/null`
18030 test "x$?" != "x0" && pkg_failed=yes
18037 if test -n "$DBUS_LIBS"; then
18038 pkg_cv_DBUS_LIBS="$DBUS_LIBS"
18039 elif test -n "$PKG_CONFIG"; then
18040 if test -n "$PKG_CONFIG" && \
18041 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5
18042 ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5
18044 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18045 test $ac_status = 0; }; then
18046 pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1" 2>/dev/null`
18047 test "x$?" != "x0" && pkg_failed=yes
18057 if test $pkg_failed = yes; then
18058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18059 $as_echo "no" >&6; }
18061 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18062 _pkg_short_errors_supported=yes
18064 _pkg_short_errors_supported=no
18066 if test $_pkg_short_errors_supported = yes; then
18067 DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-1" 2>&1`
18069 DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-1" 2>&1`
18071 # Put the nasty error message in config.log where it belongs
18072 echo "$DBUS_PKG_ERRORS" >&5
18074 as_fn_error $? "libdbus-1 is required" "$LINENO" 5
18075 elif test $pkg_failed = untried; then
18076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18077 $as_echo "no" >&6; }
18078 as_fn_error $? "libdbus-1 is required" "$LINENO" 5
18080 DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
18081 DBUS_LIBS=$pkg_cv_DBUS_LIBS
18082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18083 $as_echo "yes" >&6; }
18086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbus_watch_get_unix_fd in -ldbus-1" >&5
18087 $as_echo_n "checking for dbus_watch_get_unix_fd in -ldbus-1... " >&6; }
18088 if ${ac_cv_lib_dbus_1_dbus_watch_get_unix_fd+:} false; then :
18089 $as_echo_n "(cached) " >&6
18091 ac_check_lib_save_LIBS=$LIBS
18092 LIBS="-ldbus-1 $LIBS"
18093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18094 /* end confdefs.h. */
18096 /* Override any GCC internal prototype to avoid an error.
18097 Use char because int might match the return type of a GCC
18098 builtin and then its argument prototype would still apply. */
18102 char dbus_watch_get_unix_fd ();
18106 return dbus_watch_get_unix_fd ();
18111 if ac_fn_c_try_link "$LINENO"; then :
18112 ac_cv_lib_dbus_1_dbus_watch_get_unix_fd=yes
18114 ac_cv_lib_dbus_1_dbus_watch_get_unix_fd=no
18116 rm -f core conftest.err conftest.$ac_objext \
18117 conftest$ac_exeext conftest.$ac_ext
18118 LIBS=$ac_check_lib_save_LIBS
18120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dbus_1_dbus_watch_get_unix_fd" >&5
18121 $as_echo "$ac_cv_lib_dbus_1_dbus_watch_get_unix_fd" >&6; }
18122 if test "x$ac_cv_lib_dbus_1_dbus_watch_get_unix_fd" = xyes; then :
18126 $as_echo "#define NEED_DBUS_WATCH_GET_UNIX_FD 1" >>confdefs.h
18132 if test "$enable_dbus_service" != "no"; then
18133 if test -z "$XSLT"; then
18134 as_fn_error $? "xsltproc not found, is required for D-Bus service" "$LINENO" 5
18136 # Recent libnotify releases work with gtk+-2.0 and gtk+-3.0.
18137 # Check whether --enable-notify was given.
18138 if test "${enable_notify+set}" = set; then :
18139 enableval=$enable_notify; enable_notify="$enableval"
18141 if test -n "$PKG_CONFIG" && \
18142 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify \$gtk_version\""; } >&5
18143 ($PKG_CONFIG --exists --print-errors "libnotify $gtk_version") 2>&5
18145 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18146 test $ac_status = 0; }; then
18147 enable_notify="yes"
18153 if test "x$enable_notify" = "xyes"; then :
18156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
18157 $as_echo_n "checking for LIBNOTIFY... " >&6; }
18159 if test -n "$LIBNOTIFY_CFLAGS"; then
18160 pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
18161 elif test -n "$PKG_CONFIG"; then
18162 if test -n "$PKG_CONFIG" && \
18163 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify \$gtk_version\""; } >&5
18164 ($PKG_CONFIG --exists --print-errors "libnotify $gtk_version") 2>&5
18166 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18167 test $ac_status = 0; }; then
18168 pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify $gtk_version" 2>/dev/null`
18169 test "x$?" != "x0" && pkg_failed=yes
18176 if test -n "$LIBNOTIFY_LIBS"; then
18177 pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
18178 elif test -n "$PKG_CONFIG"; then
18179 if test -n "$PKG_CONFIG" && \
18180 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify \$gtk_version\""; } >&5
18181 ($PKG_CONFIG --exists --print-errors "libnotify $gtk_version") 2>&5
18183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18184 test $ac_status = 0; }; then
18185 pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify $gtk_version" 2>/dev/null`
18186 test "x$?" != "x0" && pkg_failed=yes
18196 if test $pkg_failed = yes; then
18197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18198 $as_echo "no" >&6; }
18200 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18201 _pkg_short_errors_supported=yes
18203 _pkg_short_errors_supported=no
18205 if test $_pkg_short_errors_supported = yes; then
18206 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libnotify $gtk_version" 2>&1`
18208 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libnotify $gtk_version" 2>&1`
18210 # Put the nasty error message in config.log where it belongs
18211 echo "$LIBNOTIFY_PKG_ERRORS" >&5
18213 as_fn_error $? "Package requirements (libnotify $gtk_version) were not met:
18215 $LIBNOTIFY_PKG_ERRORS
18217 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18218 installed software in a non-standard prefix.
18220 Alternatively, you may set the environment variables LIBNOTIFY_CFLAGS
18221 and LIBNOTIFY_LIBS to avoid the need to call pkg-config.
18222 See the pkg-config man page for more details." "$LINENO" 5
18223 elif test $pkg_failed = untried; then
18224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18225 $as_echo "no" >&6; }
18226 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18227 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18228 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18229 is in your PATH or set the PKG_CONFIG environment variable to the full
18230 path to pkg-config.
18232 Alternatively, you may set the environment variables LIBNOTIFY_CFLAGS
18233 and LIBNOTIFY_LIBS to avoid the need to call pkg-config.
18234 See the pkg-config man page for more details.
18236 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18237 See \`config.log' for more details" "$LINENO" 5; }
18239 LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
18240 LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
18241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18242 $as_echo "yes" >&6; }
18246 $as_echo "#define HAS_NOTIFY 1" >>confdefs.h
18250 # Check whether --enable-notify-compatibility was given.
18251 if test "${enable_notify_compatibility+set}" = set; then :
18252 enableval=$enable_notify_compatibility; enable_notify_compat="$enableval"
18254 enable_notify_compat="no"
18258 if test "$enable_notify_compat" = "yes"; then
18260 $as_echo "#define NOTIFY_COMPATIBILITY 1" >>confdefs.h
18262 LIBNOTIFY_LIBS="`echo $LIBNOTIFY_LIBS | sed -e 's/\(-lnotify\|^ *libnotify.la\)/-ldl/'`"
18265 # Here we're using QtGui too because mlite fails to depend on it,
18266 # despite using QAction.
18269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MLITE" >&5
18270 $as_echo_n "checking for MLITE... " >&6; }
18272 if test -n "$MLITE_CFLAGS"; then
18273 pkg_cv_MLITE_CFLAGS="$MLITE_CFLAGS"
18274 elif test -n "$PKG_CONFIG"; then
18275 if test -n "$PKG_CONFIG" && \
18276 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mlite QtGui\""; } >&5
18277 ($PKG_CONFIG --exists --print-errors "mlite QtGui") 2>&5
18279 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18280 test $ac_status = 0; }; then
18281 pkg_cv_MLITE_CFLAGS=`$PKG_CONFIG --cflags "mlite QtGui" 2>/dev/null`
18282 test "x$?" != "x0" && pkg_failed=yes
18289 if test -n "$MLITE_LIBS"; then
18290 pkg_cv_MLITE_LIBS="$MLITE_LIBS"
18291 elif test -n "$PKG_CONFIG"; then
18292 if test -n "$PKG_CONFIG" && \
18293 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mlite QtGui\""; } >&5
18294 ($PKG_CONFIG --exists --print-errors "mlite QtGui") 2>&5
18296 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18297 test $ac_status = 0; }; then
18298 pkg_cv_MLITE_LIBS=`$PKG_CONFIG --libs "mlite QtGui" 2>/dev/null`
18299 test "x$?" != "x0" && pkg_failed=yes
18309 if test $pkg_failed = yes; then
18310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18311 $as_echo "no" >&6; }
18313 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18314 _pkg_short_errors_supported=yes
18316 _pkg_short_errors_supported=no
18318 if test $_pkg_short_errors_supported = yes; then
18319 MLITE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "mlite QtGui" 2>&1`
18321 MLITE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "mlite QtGui" 2>&1`
18323 # Put the nasty error message in config.log where it belongs
18324 echo "$MLITE_PKG_ERRORS" >&5
18327 elif test $pkg_failed = untried; then
18328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18329 $as_echo "no" >&6; }
18332 MLITE_CFLAGS=$pkg_cv_MLITE_CFLAGS
18333 MLITE_LIBS=$pkg_cv_MLITE_LIBS
18334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18335 $as_echo "yes" >&6; }
18338 # Check whether --enable-mlite was given.
18339 if test "${enable_mlite+set}" = set; then :
18340 enableval=$enable_mlite; enable_mlite="$enableval"
18341 test "$enableval" = "no" || test $HAVE_MLITE = "yes" || as_fn_error $? "required mlite package not found" "$LINENO" 5
18346 if test $enable_mlite = "yes"; then
18348 $as_echo "#define HAS_MLITE 1" >>confdefs.h
18351 # don't use mlite, even if found
18356 $as_echo "#define DBUS_SERVICE 1" >>confdefs.h
18359 # Check whether --enable-dbus-service-pim was given.
18360 if test "${enable_dbus_service_pim+set}" = set; then :
18361 enableval=$enable_dbus_service_pim; enable_dbus_pim="$enableval"
18363 enable_dbus_pim="no"
18366 case "$enable_dbus_pim" in
18369 if test "$enable_dbus_pim" = "yes"; then
18370 enable_dbus_pim=boost
18372 if ! test -r "$srcdir/src/dbus/server/pim/locale-factory-$enable_dbus_pim.cpp"; then
18373 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
18377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FOLKS" >&5
18378 $as_echo_n "checking for FOLKS... " >&6; }
18380 if test -n "$FOLKS_CFLAGS"; then
18381 pkg_cv_FOLKS_CFLAGS="$FOLKS_CFLAGS"
18382 elif test -n "$PKG_CONFIG"; then
18383 if test -n "$PKG_CONFIG" && \
18384 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"folks folks-eds\""; } >&5
18385 ($PKG_CONFIG --exists --print-errors "folks folks-eds") 2>&5
18387 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18388 test $ac_status = 0; }; then
18389 pkg_cv_FOLKS_CFLAGS=`$PKG_CONFIG --cflags "folks folks-eds" 2>/dev/null`
18390 test "x$?" != "x0" && pkg_failed=yes
18397 if test -n "$FOLKS_LIBS"; then
18398 pkg_cv_FOLKS_LIBS="$FOLKS_LIBS"
18399 elif test -n "$PKG_CONFIG"; then
18400 if test -n "$PKG_CONFIG" && \
18401 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"folks folks-eds\""; } >&5
18402 ($PKG_CONFIG --exists --print-errors "folks folks-eds") 2>&5
18404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18405 test $ac_status = 0; }; then
18406 pkg_cv_FOLKS_LIBS=`$PKG_CONFIG --libs "folks folks-eds" 2>/dev/null`
18407 test "x$?" != "x0" && pkg_failed=yes
18417 if test $pkg_failed = yes; then
18418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18419 $as_echo "no" >&6; }
18421 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18422 _pkg_short_errors_supported=yes
18424 _pkg_short_errors_supported=no
18426 if test $_pkg_short_errors_supported = yes; then
18427 FOLKS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "folks folks-eds" 2>&1`
18429 FOLKS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "folks folks-eds" 2>&1`
18431 # Put the nasty error message in config.log where it belongs
18432 echo "$FOLKS_PKG_ERRORS" >&5
18434 as_fn_error $? "Package requirements (folks folks-eds) were not met:
18438 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18439 installed software in a non-standard prefix.
18441 Alternatively, you may set the environment variables FOLKS_CFLAGS
18442 and FOLKS_LIBS to avoid the need to call pkg-config.
18443 See the pkg-config man page for more details." "$LINENO" 5
18444 elif test $pkg_failed = untried; then
18445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18446 $as_echo "no" >&6; }
18447 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18448 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18449 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18450 is in your PATH or set the PKG_CONFIG environment variable to the full
18451 path to pkg-config.
18453 Alternatively, you may set the environment variables FOLKS_CFLAGS
18454 and FOLKS_LIBS to avoid the need to call pkg-config.
18455 See the pkg-config man page for more details.
18457 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18458 See \`config.log' for more details" "$LINENO" 5; }
18460 FOLKS_CFLAGS=$pkg_cv_FOLKS_CFLAGS
18461 FOLKS_LIBS=$pkg_cv_FOLKS_LIBS
18462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18463 $as_echo "yes" >&6; }
18467 $as_echo "#define ENABLE_DBUS_PIM 1" >>confdefs.h
18469 DBUS_PIM_PLUGIN=$enable_dbus_pim
18472 case "$enable_dbus_pim" in
18476 # Check whether --with-boost-locale was given.
18477 if test "${with_boost_locale+set}" = set; then :
18478 withval=$with_boost_locale;
18479 if test "$withval" = "no"; then
18481 elif test "$withval" = "yes"; then
18483 ax_boost_user_locale_lib=""
18486 ax_boost_user_locale_lib="$withval"
18495 if test "x$want_boost" = "xyes"; then
18498 CPPFLAGS_SAVED="$CPPFLAGS"
18499 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
18502 LDFLAGS_SAVED="$LDFLAGS"
18503 LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
18506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the Boost::Locale library is available" >&5
18507 $as_echo_n "checking whether the Boost::Locale library is available... " >&6; }
18508 if ${ax_cv_boost_locale+:} false; then :
18509 $as_echo_n "(cached) " >&6
18512 ac_cpp='$CXXCPP $CPPFLAGS'
18513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18517 CXXFLAGS_SAVE=$CXXFLAGS
18519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18520 /* end confdefs.h. */
18521 #include <boost/locale.hpp>
18525 boost::locale::generator gen;
18526 std::locale::global(gen(""));
18531 if ac_fn_cxx_try_compile "$LINENO"; then :
18532 ax_cv_boost_locale=yes
18534 ax_cv_boost_locale=no
18536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18537 CXXFLAGS=$CXXFLAGS_SAVE
18539 ac_cpp='$CPP $CPPFLAGS'
18540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_boost_locale" >&5
18547 $as_echo "$ax_cv_boost_locale" >&6; }
18548 if test "x$ax_cv_boost_locale" = "xyes"; then
18552 $as_echo "#define HAVE_BOOST_LOCALE /**/" >>confdefs.h
18554 BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/[^\/]*//'`
18556 LDFLAGS_SAVE=$LDFLAGS
18557 if test "x$ax_boost_user_locale_lib" = "x"; then
18558 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
18559 ax_lib=${libextension}
18560 as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
18561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -l$ax_lib" >&5
18562 $as_echo_n "checking for exit in -l$ax_lib... " >&6; }
18563 if eval \${$as_ac_Lib+:} false; then :
18564 $as_echo_n "(cached) " >&6
18566 ac_check_lib_save_LIBS=$LIBS
18567 LIBS="-l$ax_lib $LIBS"
18568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18569 /* end confdefs.h. */
18571 /* Override any GCC internal prototype to avoid an error.
18572 Use char because int might match the return type of a GCC
18573 builtin and then its argument prototype would still apply. */
18586 if ac_fn_c_try_link "$LINENO"; then :
18587 eval "$as_ac_Lib=yes"
18589 eval "$as_ac_Lib=no"
18591 rm -f core conftest.err conftest.$ac_objext \
18592 conftest$ac_exeext conftest.$ac_ext
18593 LIBS=$ac_check_lib_save_LIBS
18595 eval ac_res=\$$as_ac_Lib
18596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18597 $as_echo "$ac_res" >&6; }
18598 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
18599 BOOST_LOCALE_LIB="-l$ax_lib"; link_locale="yes"; break
18605 if test "x$link_locale" != "xyes"; then
18606 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
18607 ax_lib=${libextension}
18608 as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
18609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -l$ax_lib" >&5
18610 $as_echo_n "checking for exit in -l$ax_lib... " >&6; }
18611 if eval \${$as_ac_Lib+:} false; then :
18612 $as_echo_n "(cached) " >&6
18614 ac_check_lib_save_LIBS=$LIBS
18615 LIBS="-l$ax_lib $LIBS"
18616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18617 /* end confdefs.h. */
18619 /* Override any GCC internal prototype to avoid an error.
18620 Use char because int might match the return type of a GCC
18621 builtin and then its argument prototype would still apply. */
18634 if ac_fn_c_try_link "$LINENO"; then :
18635 eval "$as_ac_Lib=yes"
18637 eval "$as_ac_Lib=no"
18639 rm -f core conftest.err conftest.$ac_objext \
18640 conftest$ac_exeext conftest.$ac_ext
18641 LIBS=$ac_check_lib_save_LIBS
18643 eval ac_res=\$$as_ac_Lib
18644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18645 $as_echo "$ac_res" >&6; }
18646 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
18647 BOOST_LOCALE_LIB="-l$ax_lib"; link_locale="yes"; break
18656 for ax_lib in $ax_boost_user_locale_lib boost_locale-$ax_boost_user_locale_lib; do
18657 as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
18658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -l$ax_lib" >&5
18659 $as_echo_n "checking for exit in -l$ax_lib... " >&6; }
18660 if eval \${$as_ac_Lib+:} false; then :
18661 $as_echo_n "(cached) " >&6
18663 ac_check_lib_save_LIBS=$LIBS
18664 LIBS="-l$ax_lib $LIBS"
18665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18666 /* end confdefs.h. */
18668 /* Override any GCC internal prototype to avoid an error.
18669 Use char because int might match the return type of a GCC
18670 builtin and then its argument prototype would still apply. */
18683 if ac_fn_c_try_link "$LINENO"; then :
18684 eval "$as_ac_Lib=yes"
18686 eval "$as_ac_Lib=no"
18688 rm -f core conftest.err conftest.$ac_objext \
18689 conftest$ac_exeext conftest.$ac_ext
18690 LIBS=$ac_check_lib_save_LIBS
18692 eval ac_res=\$$as_ac_Lib
18693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18694 $as_echo "$ac_res" >&6; }
18695 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
18696 BOOST_LOCALE_LIB="-l$ax_lib"; link_locale="yes"; break
18704 if test "x$ax_lib" = "x"; then
18705 as_fn_error $? "Could not find a version of the library!" "$LINENO" 5
18707 if test "x$link_locale" = "xno"; then
18708 as_fn_error $? "Could not link against $ax_lib !" "$LINENO" 5
18712 CPPFLAGS="$CPPFLAGS_SAVED"
18713 LDFLAGS="$LDFLAGS_SAVED"
18716 # AX_BOOST_LOCALE incorrectly puts -L/... into LDFLAGS.
18717 # That's broken because it then overrides the search path
18718 # for *all* libraries in a link, not just for boost. Fix
18719 # this by putting the LDFLAGS before the lib and leaving
18720 # DBUS_PIM_PLUGIN_LDFLAGS empty (for now - might have to
18721 # be revised if there ever are any boost flags which need
18722 # to go to the start of the link line).
18723 DBUS_PIM_PLUGIN_LIBS='$(BOOST_LDFLAGS) $(BOOST_LOCALE_LIB)'
18724 DBUS_PIM_PLUGIN_LDFLAGS=
18725 # We need to call ICU directly for the Han->Latin transformation.
18728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ICU" >&5
18729 $as_echo_n "checking for ICU... " >&6; }
18731 if test -n "$ICU_CFLAGS"; then
18732 pkg_cv_ICU_CFLAGS="$ICU_CFLAGS"
18733 elif test -n "$PKG_CONFIG"; then
18734 if test -n "$PKG_CONFIG" && \
18735 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"icu-uc\""; } >&5
18736 ($PKG_CONFIG --exists --print-errors "icu-uc") 2>&5
18738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18739 test $ac_status = 0; }; then
18740 pkg_cv_ICU_CFLAGS=`$PKG_CONFIG --cflags "icu-uc" 2>/dev/null`
18741 test "x$?" != "x0" && pkg_failed=yes
18748 if test -n "$ICU_LIBS"; then
18749 pkg_cv_ICU_LIBS="$ICU_LIBS"
18750 elif test -n "$PKG_CONFIG"; then
18751 if test -n "$PKG_CONFIG" && \
18752 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"icu-uc\""; } >&5
18753 ($PKG_CONFIG --exists --print-errors "icu-uc") 2>&5
18755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18756 test $ac_status = 0; }; then
18757 pkg_cv_ICU_LIBS=`$PKG_CONFIG --libs "icu-uc" 2>/dev/null`
18758 test "x$?" != "x0" && pkg_failed=yes
18768 if test $pkg_failed = yes; then
18769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18770 $as_echo "no" >&6; }
18772 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18773 _pkg_short_errors_supported=yes
18775 _pkg_short_errors_supported=no
18777 if test $_pkg_short_errors_supported = yes; then
18778 ICU_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "icu-uc" 2>&1`
18780 ICU_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "icu-uc" 2>&1`
18782 # Put the nasty error message in config.log where it belongs
18783 echo "$ICU_PKG_ERRORS" >&5
18785 as_fn_error $? "Package requirements (icu-uc) were not met:
18789 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18790 installed software in a non-standard prefix.
18792 Alternatively, you may set the environment variables ICU_CFLAGS
18793 and ICU_LIBS to avoid the need to call pkg-config.
18794 See the pkg-config man page for more details." "$LINENO" 5
18795 elif test $pkg_failed = untried; then
18796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18797 $as_echo "no" >&6; }
18798 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18799 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18800 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18801 is in your PATH or set the PKG_CONFIG environment variable to the full
18802 path to pkg-config.
18804 Alternatively, you may set the environment variables ICU_CFLAGS
18805 and ICU_LIBS to avoid the need to call pkg-config.
18806 See the pkg-config man page for more details.
18808 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18809 See \`config.log' for more details" "$LINENO" 5; }
18811 ICU_CFLAGS=$pkg_cv_ICU_CFLAGS
18812 ICU_LIBS=$pkg_cv_ICU_LIBS
18813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18814 $as_echo "yes" >&6; }
18823 # http://code.google.com/p/libphonenumber/
18825 ac_cpp='$CXXCPP $CPPFLAGS'
18826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18830 SAVED_CPPFLAGS=$CPPFLAGS
18831 CPPFLAGS="$CPPFLAGS ${PHONENUMBERS_CFLAGS}"
18833 for ac_header in phonenumbers/phonenumberutil.h
18835 ac_fn_cxx_check_header_mongrel "$LINENO" "phonenumbers/phonenumberutil.h" "ac_cv_header_phonenumbers_phonenumberutil_h" "$ac_includes_default"
18836 if test "x$ac_cv_header_phonenumbers_phonenumberutil_h" = xyes; then :
18837 cat >>confdefs.h <<_ACEOF
18838 #define HAVE_PHONENUMBERS_PHONENUMBERUTIL_H 1
18846 if test ! "$PHONENUMBERS_LIBS"; then
18847 PHONENUMBERS_LIBS=-lphonenumber
18849 LIBS="$LIBS $PHONENUMBERS_LIBS"
18850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18851 /* end confdefs.h. */
18852 #include <phonenumbers/phonenumberutil.h>
18856 i18n::phonenumbers::PhoneNumberUtil::GetInstance()
18861 if ac_fn_cxx_try_link "$LINENO"; then :
18864 as_fn_error $? "libphonebook not found, set PHONENUMBERS_CFLAGS and PHONENUMBERS_LIBS." "$LINENO" 5
18866 rm -f core conftest.err conftest.$ac_objext \
18867 conftest$ac_exeext conftest.$ac_ext
18871 CPPFLAGS=$SAVED_CPPFLAGS
18875 if test "$enable_notify_compat" = "yes"; then
18876 NOTIFY_COMPATIBILITY_TRUE=
18877 NOTIFY_COMPATIBILITY_FALSE='#'
18879 NOTIFY_COMPATIBILITY_TRUE='#'
18880 NOTIFY_COMPATIBILITY_FALSE=
18883 if test "$enable_dbus_pim" != "no"; then
18884 COND_DBUS_PIM_TRUE=
18885 COND_DBUS_PIM_FALSE='#'
18887 COND_DBUS_PIM_TRUE='#'
18888 COND_DBUS_PIM_FALSE=
18900 DBUS_SERVICES_DIR="${datadir}/dbus-1/services"
18903 cat >>confdefs.h <<_ACEOF
18904 #define DBUS_SERVICES_DIR "$DBUS_SERVICES_DIR"
18908 if test "$enable_gui" != "no" || test "$enable_dbus_service" != "no"; then
18910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
18911 $as_echo_n "checking whether NLS is requested... " >&6; }
18912 # Check whether --enable-nls was given.
18913 if test "${enable_nls+set}" = set; then :
18914 enableval=$enable_nls; USE_NLS=$enableval
18919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
18920 $as_echo "$USE_NLS" >&6; }
18925 case "$am__api_version" in
18927 as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
18933 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.37.1 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
18934 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
18935 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
18936 if test -n "0.37.1"; then
18937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.37.1" >&5
18938 $as_echo_n "checking for intltool >= 0.37.1... " >&6; }
18939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
18940 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
18941 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
18942 as_fn_error $? "Your intltool is too old. You need intltool 0.37.1 or later." "$LINENO" 5
18945 # Extract the first word of "intltool-update", so it can be a program name with args.
18946 set dummy intltool-update; ac_word=$2
18947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18948 $as_echo_n "checking for $ac_word... " >&6; }
18949 if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
18950 $as_echo_n "(cached) " >&6
18952 case $INTLTOOL_UPDATE in
18954 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
18957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18958 for as_dir in $PATH
18961 test -z "$as_dir" && as_dir=.
18962 for ac_exec_ext in '' $ac_executable_extensions; do
18963 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18964 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
18965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18975 INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
18976 if test -n "$INTLTOOL_UPDATE"; then
18977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
18978 $as_echo "$INTLTOOL_UPDATE" >&6; }
18980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18981 $as_echo "no" >&6; }
18985 # Extract the first word of "intltool-merge", so it can be a program name with args.
18986 set dummy intltool-merge; ac_word=$2
18987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18988 $as_echo_n "checking for $ac_word... " >&6; }
18989 if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
18990 $as_echo_n "(cached) " >&6
18992 case $INTLTOOL_MERGE in
18994 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
18997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18998 for as_dir in $PATH
19001 test -z "$as_dir" && as_dir=.
19002 for ac_exec_ext in '' $ac_executable_extensions; do
19003 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19004 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
19005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19015 INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
19016 if test -n "$INTLTOOL_MERGE"; then
19017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
19018 $as_echo "$INTLTOOL_MERGE" >&6; }
19020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19021 $as_echo "no" >&6; }
19025 # Extract the first word of "intltool-extract", so it can be a program name with args.
19026 set dummy intltool-extract; ac_word=$2
19027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19028 $as_echo_n "checking for $ac_word... " >&6; }
19029 if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
19030 $as_echo_n "(cached) " >&6
19032 case $INTLTOOL_EXTRACT in
19034 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
19037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19038 for as_dir in $PATH
19041 test -z "$as_dir" && as_dir=.
19042 for ac_exec_ext in '' $ac_executable_extensions; do
19043 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19044 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
19045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19055 INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
19056 if test -n "$INTLTOOL_EXTRACT"; then
19057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
19058 $as_echo "$INTLTOOL_EXTRACT" >&6; }
19060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19061 $as_echo "no" >&6; }
19065 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
19066 as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
19069 if test -z "$AM_DEFAULT_VERBOSITY"; then
19070 AM_DEFAULT_VERBOSITY=1
19074 INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
19075 INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
19076 INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;'
19081 INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
19082 intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
19083 intltool__v_merge_options_0='-q'
19088 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 $< $@'
19089 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 $< $@'
19090 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 $< $@'
19091 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 $< $@'
19092 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 $< $@'
19093 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 $< $@'
19094 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 $< $@'
19095 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 $< $@'
19096 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 $< $@'
19097 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 $< $@'
19098 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 $< $@'
19099 if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
19100 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 $< $@'
19102 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'
19104 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 $< $@'
19105 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 $< $@'
19106 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 $< $@'
19107 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 $< $@'
19108 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 $< $@'
19109 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 $< $@'
19110 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 $< $@'
19208 # Check the gettext tools to make sure they are GNU
19209 # Extract the first word of "xgettext", so it can be a program name with args.
19210 set dummy xgettext; ac_word=$2
19211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19212 $as_echo_n "checking for $ac_word... " >&6; }
19213 if ${ac_cv_path_XGETTEXT+:} false; then :
19214 $as_echo_n "(cached) " >&6
19218 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
19221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19222 for as_dir in $PATH
19225 test -z "$as_dir" && as_dir=.
19226 for ac_exec_ext in '' $ac_executable_extensions; do
19227 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19228 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
19229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19239 XGETTEXT=$ac_cv_path_XGETTEXT
19240 if test -n "$XGETTEXT"; then
19241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
19242 $as_echo "$XGETTEXT" >&6; }
19244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19245 $as_echo "no" >&6; }
19249 # Extract the first word of "msgmerge", so it can be a program name with args.
19250 set dummy msgmerge; ac_word=$2
19251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19252 $as_echo_n "checking for $ac_word... " >&6; }
19253 if ${ac_cv_path_MSGMERGE+:} false; then :
19254 $as_echo_n "(cached) " >&6
19258 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
19261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19262 for as_dir in $PATH
19265 test -z "$as_dir" && as_dir=.
19266 for ac_exec_ext in '' $ac_executable_extensions; do
19267 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19268 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
19269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19279 MSGMERGE=$ac_cv_path_MSGMERGE
19280 if test -n "$MSGMERGE"; then
19281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
19282 $as_echo "$MSGMERGE" >&6; }
19284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19285 $as_echo "no" >&6; }
19289 # Extract the first word of "msgfmt", so it can be a program name with args.
19290 set dummy msgfmt; ac_word=$2
19291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19292 $as_echo_n "checking for $ac_word... " >&6; }
19293 if ${ac_cv_path_MSGFMT+:} false; then :
19294 $as_echo_n "(cached) " >&6
19298 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
19301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19302 for as_dir in $PATH
19305 test -z "$as_dir" && as_dir=.
19306 for ac_exec_ext in '' $ac_executable_extensions; do
19307 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19308 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
19309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19319 MSGFMT=$ac_cv_path_MSGFMT
19320 if test -n "$MSGFMT"; then
19321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
19322 $as_echo "$MSGFMT" >&6; }
19324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19325 $as_echo "no" >&6; }
19329 # Extract the first word of "gmsgfmt", so it can be a program name with args.
19330 set dummy gmsgfmt; ac_word=$2
19331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19332 $as_echo_n "checking for $ac_word... " >&6; }
19333 if ${ac_cv_path_GMSGFMT+:} false; then :
19334 $as_echo_n "(cached) " >&6
19338 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
19341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19342 for as_dir in $PATH
19345 test -z "$as_dir" && as_dir=.
19346 for ac_exec_ext in '' $ac_executable_extensions; do
19347 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19348 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
19349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19356 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
19360 GMSGFMT=$ac_cv_path_GMSGFMT
19361 if test -n "$GMSGFMT"; then
19362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
19363 $as_echo "$GMSGFMT" >&6; }
19365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19366 $as_echo "no" >&6; }
19370 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
19371 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
19373 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
19374 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
19375 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
19376 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
19377 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
19380 # Extract the first word of "perl", so it can be a program name with args.
19381 set dummy perl; ac_word=$2
19382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19383 $as_echo_n "checking for $ac_word... " >&6; }
19384 if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
19385 $as_echo_n "(cached) " >&6
19387 case $INTLTOOL_PERL in
19389 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
19392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19393 for as_dir in $PATH
19396 test -z "$as_dir" && as_dir=.
19397 for ac_exec_ext in '' $ac_executable_extensions; do
19398 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19399 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
19400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19410 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
19411 if test -n "$INTLTOOL_PERL"; then
19412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
19413 $as_echo "$INTLTOOL_PERL" >&6; }
19415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19416 $as_echo "no" >&6; }
19420 if test -z "$INTLTOOL_PERL"; then
19421 as_fn_error $? "perl not found" "$LINENO" 5
19423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
19424 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
19425 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
19426 if test $? -ne 0; then
19427 as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
19429 IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
19430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
19431 $as_echo "$IT_PERL_VERSION" >&6; }
19433 if test "x" != "xno-xml"; then
19434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
19435 $as_echo_n "checking for XML::Parser... " >&6; }
19436 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
19437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
19438 $as_echo "ok" >&6; }
19440 as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
19444 # Substitute ALL_LINGUAS so we can use it in po/Makefile
19447 # Set DATADIRNAME correctly if it is not set yet
19448 # (copied from glib-gettext.m4)
19449 if test -z "$DATADIRNAME"; then
19450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19451 /* end confdefs.h. */
19456 extern int _nl_msg_cat_cntr;
19457 return _nl_msg_cat_cntr
19462 if ac_fn_cxx_try_link "$LINENO"; then :
19467 ac_fn_cxx_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
19468 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
19480 rm -f core conftest.err conftest.$ac_objext \
19481 conftest$ac_exeext conftest.$ac_ext
19488 GETTEXT_PACKAGE=syncevolution
19490 cat >>confdefs.h <<_ACEOF
19491 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
19495 for ac_header in locale.h
19497 ac_fn_cxx_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19498 if test "x$ac_cv_header_locale_h" = xyes; then :
19499 cat >>confdefs.h <<_ACEOF
19500 #define HAVE_LOCALE_H 1
19507 if test $ac_cv_header_locale_h = yes; then
19508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19509 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19510 if ${am_cv_val_LC_MESSAGES+:} false; then :
19511 $as_echo_n "(cached) " >&6
19513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19514 /* end confdefs.h. */
19515 #include <locale.h>
19524 if ac_fn_cxx_try_link "$LINENO"; then :
19525 am_cv_val_LC_MESSAGES=yes
19527 am_cv_val_LC_MESSAGES=no
19529 rm -f core conftest.err conftest.$ac_objext \
19530 conftest$ac_exeext conftest.$ac_ext
19532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
19533 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
19534 if test $am_cv_val_LC_MESSAGES = yes; then
19536 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19543 gt_cv_have_gettext=no
19549 ac_fn_cxx_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
19550 if test "x$ac_cv_header_libintl_h" = xyes; then :
19551 gt_cv_func_dgettext_libintl="no"
19552 libintl_extra_libs=""
19555 # First check in libc
19557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
19558 $as_echo_n "checking for ngettext in libc... " >&6; }
19559 if ${gt_cv_func_ngettext_libc+:} false; then :
19560 $as_echo_n "(cached) " >&6
19562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19563 /* end confdefs.h. */
19565 #include <libintl.h>
19570 return !ngettext ("","", 1)
19575 if ac_fn_cxx_try_link "$LINENO"; then :
19576 gt_cv_func_ngettext_libc=yes
19578 gt_cv_func_ngettext_libc=no
19580 rm -f core conftest.err conftest.$ac_objext \
19581 conftest$ac_exeext conftest.$ac_ext
19584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
19585 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
19587 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
19588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
19589 $as_echo_n "checking for dgettext in libc... " >&6; }
19590 if ${gt_cv_func_dgettext_libc+:} false; then :
19591 $as_echo_n "(cached) " >&6
19593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19594 /* end confdefs.h. */
19596 #include <libintl.h>
19601 return !dgettext ("","")
19606 if ac_fn_cxx_try_link "$LINENO"; then :
19607 gt_cv_func_dgettext_libc=yes
19609 gt_cv_func_dgettext_libc=no
19611 rm -f core conftest.err conftest.$ac_objext \
19612 conftest$ac_exeext conftest.$ac_ext
19615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
19616 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
19619 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
19620 for ac_func in bind_textdomain_codeset
19622 ac_fn_cxx_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
19623 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
19624 cat >>confdefs.h <<_ACEOF
19625 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
19634 # If we don't have everything we want, check in libintl
19636 if test "$gt_cv_func_dgettext_libc" != "yes" \
19637 || test "$gt_cv_func_ngettext_libc" != "yes" \
19638 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
19640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
19641 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
19642 if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
19643 $as_echo_n "(cached) " >&6
19645 ac_check_lib_save_LIBS=$LIBS
19646 LIBS="-lintl $LIBS"
19647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19648 /* end confdefs.h. */
19650 /* Override any GCC internal prototype to avoid an error.
19651 Use char because int might match the return type of a GCC
19652 builtin and then its argument prototype would still apply. */
19656 char bindtextdomain ();
19660 return bindtextdomain ();
19665 if ac_fn_cxx_try_link "$LINENO"; then :
19666 ac_cv_lib_intl_bindtextdomain=yes
19668 ac_cv_lib_intl_bindtextdomain=no
19670 rm -f core conftest.err conftest.$ac_objext \
19671 conftest$ac_exeext conftest.$ac_ext
19672 LIBS=$ac_check_lib_save_LIBS
19674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
19675 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
19676 if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
19677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
19678 $as_echo_n "checking for ngettext in -lintl... " >&6; }
19679 if ${ac_cv_lib_intl_ngettext+:} false; then :
19680 $as_echo_n "(cached) " >&6
19682 ac_check_lib_save_LIBS=$LIBS
19683 LIBS="-lintl $LIBS"
19684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19685 /* end confdefs.h. */
19687 /* Override any GCC internal prototype to avoid an error.
19688 Use char because int might match the return type of a GCC
19689 builtin and then its argument prototype would still apply. */
19697 return ngettext ();
19702 if ac_fn_cxx_try_link "$LINENO"; then :
19703 ac_cv_lib_intl_ngettext=yes
19705 ac_cv_lib_intl_ngettext=no
19707 rm -f core conftest.err conftest.$ac_objext \
19708 conftest$ac_exeext conftest.$ac_ext
19709 LIBS=$ac_check_lib_save_LIBS
19711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
19712 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
19713 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
19714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
19715 $as_echo_n "checking for dgettext in -lintl... " >&6; }
19716 if ${ac_cv_lib_intl_dgettext+:} false; then :
19717 $as_echo_n "(cached) " >&6
19719 ac_check_lib_save_LIBS=$LIBS
19720 LIBS="-lintl $LIBS"
19721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19722 /* end confdefs.h. */
19724 /* Override any GCC internal prototype to avoid an error.
19725 Use char because int might match the return type of a GCC
19726 builtin and then its argument prototype would still apply. */
19734 return dgettext ();
19739 if ac_fn_cxx_try_link "$LINENO"; then :
19740 ac_cv_lib_intl_dgettext=yes
19742 ac_cv_lib_intl_dgettext=no
19744 rm -f core conftest.err conftest.$ac_objext \
19745 conftest$ac_exeext conftest.$ac_ext
19746 LIBS=$ac_check_lib_save_LIBS
19748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
19749 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
19750 if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
19751 gt_cv_func_dgettext_libintl=yes
19759 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
19760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
19761 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
19762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
19764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
19765 $as_echo_n "checking for ngettext in -lintl... " >&6; }
19766 if ${ac_cv_lib_intl_ngettext+:} false; then :
19767 $as_echo_n "(cached) " >&6
19769 ac_check_lib_save_LIBS=$LIBS
19770 LIBS="-lintl -liconv $LIBS"
19771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19772 /* end confdefs.h. */
19774 /* Override any GCC internal prototype to avoid an error.
19775 Use char because int might match the return type of a GCC
19776 builtin and then its argument prototype would still apply. */
19784 return ngettext ();
19789 if ac_fn_cxx_try_link "$LINENO"; then :
19790 ac_cv_lib_intl_ngettext=yes
19792 ac_cv_lib_intl_ngettext=no
19794 rm -f core conftest.err conftest.$ac_objext \
19795 conftest$ac_exeext conftest.$ac_ext
19796 LIBS=$ac_check_lib_save_LIBS
19798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
19799 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
19800 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
19801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
19802 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
19803 if ${ac_cv_lib_intl_dcgettext+:} false; then :
19804 $as_echo_n "(cached) " >&6
19806 ac_check_lib_save_LIBS=$LIBS
19807 LIBS="-lintl -liconv $LIBS"
19808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19809 /* end confdefs.h. */
19811 /* Override any GCC internal prototype to avoid an error.
19812 Use char because int might match the return type of a GCC
19813 builtin and then its argument prototype would still apply. */
19821 return dcgettext ();
19826 if ac_fn_cxx_try_link "$LINENO"; then :
19827 ac_cv_lib_intl_dcgettext=yes
19829 ac_cv_lib_intl_dcgettext=no
19831 rm -f core conftest.err conftest.$ac_objext \
19832 conftest$ac_exeext conftest.$ac_ext
19833 LIBS=$ac_check_lib_save_LIBS
19835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
19836 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
19837 if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
19838 gt_cv_func_dgettext_libintl=yes
19839 libintl_extra_libs=-liconv
19851 # If we found libintl, then check in it for bind_textdomain_codeset();
19852 # we'll prefer libc if neither have bind_textdomain_codeset(),
19853 # and both have dgettext and ngettext
19855 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
19856 glib_save_LIBS="$LIBS"
19857 LIBS="$LIBS -lintl $libintl_extra_libs"
19858 unset ac_cv_func_bind_textdomain_codeset
19859 for ac_func in bind_textdomain_codeset
19861 ac_fn_cxx_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
19862 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
19863 cat >>confdefs.h <<_ACEOF
19864 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
19870 LIBS="$glib_save_LIBS"
19872 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
19873 gt_cv_func_dgettext_libc=no
19875 if test "$gt_cv_func_dgettext_libc" = "yes" \
19876 && test "$gt_cv_func_ngettext_libc" = "yes"; then
19877 gt_cv_func_dgettext_libintl=no
19883 if test "$gt_cv_func_dgettext_libc" = "yes" \
19884 || test "$gt_cv_func_dgettext_libintl" = "yes"; then
19885 gt_cv_have_gettext=yes
19888 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
19889 INTLLIBS="-lintl $libintl_extra_libs"
19892 if test "$gt_cv_have_gettext" = "yes"; then
19894 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
19896 # Extract the first word of "msgfmt", so it can be a program name with args.
19897 set dummy msgfmt; ac_word=$2
19898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19899 $as_echo_n "checking for $ac_word... " >&6; }
19900 if ${ac_cv_path_MSGFMT+:} false; then :
19901 $as_echo_n "(cached) " >&6
19905 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
19908 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
19909 for ac_dir in $PATH; do
19910 test -z "$ac_dir" && ac_dir=.
19911 if test -f $ac_dir/$ac_word; then
19912 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
19913 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
19919 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
19923 MSGFMT="$ac_cv_path_MSGFMT"
19924 if test "$MSGFMT" != "no"; then
19925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
19926 $as_echo "$MSGFMT" >&6; }
19928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19929 $as_echo "no" >&6; }
19931 if test "$MSGFMT" != "no"; then
19932 glib_save_LIBS="$LIBS"
19933 LIBS="$LIBS $INTLLIBS"
19934 for ac_func in dcgettext
19936 ac_fn_cxx_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
19937 if test "x$ac_cv_func_dcgettext" = xyes; then :
19938 cat >>confdefs.h <<_ACEOF
19939 #define HAVE_DCGETTEXT 1
19946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
19947 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
19948 cat >conftest.foo <<_ACEOF
19952 "Content-Type: text/plain; charset=UTF-8\n"
19953 "Project-Id-Version: test 1.0\n"
19954 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
19955 "Last-Translator: test <foo@bar.xx>\n"
19956 "Language-Team: C <LL@li.org>\n"
19957 "MIME-Version: 1.0\n"
19958 "Content-Transfer-Encoding: 8bit\n"
19961 if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
19962 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
19964 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19965 test $ac_status = 0; }; then
19966 MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19967 $as_echo "yes" >&6; }
19968 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19969 $as_echo "no" >&6; }
19970 echo "$as_me: failed input was:" >&5
19971 sed 's/^/| /' conftest.foo >&5
19974 # Extract the first word of "gmsgfmt", so it can be a program name with args.
19975 set dummy gmsgfmt; ac_word=$2
19976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19977 $as_echo_n "checking for $ac_word... " >&6; }
19978 if ${ac_cv_path_GMSGFMT+:} false; then :
19979 $as_echo_n "(cached) " >&6
19983 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
19986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19987 for as_dir in $PATH
19990 test -z "$as_dir" && as_dir=.
19991 for ac_exec_ext in '' $ac_executable_extensions; do
19992 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19993 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
19994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20001 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
20005 GMSGFMT=$ac_cv_path_GMSGFMT
20006 if test -n "$GMSGFMT"; then
20007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
20008 $as_echo "$GMSGFMT" >&6; }
20010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20011 $as_echo "no" >&6; }
20015 # Extract the first word of "xgettext", so it can be a program name with args.
20016 set dummy xgettext; ac_word=$2
20017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20018 $as_echo_n "checking for $ac_word... " >&6; }
20019 if ${ac_cv_path_XGETTEXT+:} false; then :
20020 $as_echo_n "(cached) " >&6
20022 case "$XGETTEXT" in
20024 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
20027 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
20028 for ac_dir in $PATH; do
20029 test -z "$ac_dir" && ac_dir=.
20030 if test -f $ac_dir/$ac_word; then
20031 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
20032 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
20038 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
20042 XGETTEXT="$ac_cv_path_XGETTEXT"
20043 if test "$XGETTEXT" != ":"; then
20044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
20045 $as_echo "$XGETTEXT" >&6; }
20047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20048 $as_echo "no" >&6; }
20051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20052 /* end confdefs.h. */
20057 extern int _nl_msg_cat_cntr;
20058 return _nl_msg_cat_cntr
20063 if ac_fn_cxx_try_link "$LINENO"; then :
20069 ac_fn_cxx_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
20070 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
20089 rm -f core conftest.err conftest.$ac_objext \
20090 conftest$ac_exeext conftest.$ac_ext
20091 LIBS="$glib_save_LIBS"
20094 gt_cv_have_gettext=no
20102 if test "$gt_cv_have_gettext" = "yes" ; then
20104 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
20108 if test "$XGETTEXT" != ":"; then
20109 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
20112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
20113 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
20118 # We need to process the po/ directory.
20121 ac_config_commands="$ac_config_commands default-1"
20124 for lang in $ALL_LINGUAS; do
20125 GMOFILES="$GMOFILES $lang.gmo"
20126 POFILES="$POFILES $lang.po"
20141 if test "$gt_cv_have_gettext" = "yes"; then
20142 if test "x$ALL_LINGUAS" = "x"; then
20145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
20146 $as_echo_n "checking for catalogs to be installed... " >&6; }
20148 for presentlang in $ALL_LINGUAS; do
20150 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
20151 desiredlanguages="$LINGUAS"
20153 desiredlanguages="$ALL_LINGUAS"
20155 for desiredlang in $desiredlanguages; do
20156 # Use the presentlang catalog if desiredlang is
20157 # a. equal to presentlang, or
20158 # b. a variant of presentlang (because in this case,
20159 # presentlang can be used as a fallback for messages
20160 # which are not translated in the desiredlang catalog).
20161 case "$desiredlang" in
20162 "$presentlang"*) useit=yes;;
20165 if test $useit = yes; then
20166 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
20169 LINGUAS=$NEW_LINGUAS
20170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
20171 $as_echo "$LINGUAS" >&6; }
20174 if test -n "$LINGUAS"; then
20175 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
20180 if test -n "$ac_aux_dir"; then
20181 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
20183 if test -z "$MKINSTALLDIRS"; then
20184 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
20188 test -d po || mkdir po
20189 if test "x$srcdir" != "x."; then
20190 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
20191 posrcprefix="$srcdir/"
20193 posrcprefix="../$srcdir/"
20199 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
20200 < $srcdir/po/POTFILES.in > po/POTFILES
20202 SYNCEVOLUTION_LOCALEDIR=${datadir}/locale
20205 # decide which sync-ui(s) we are building:
20206 # sync-ui (in either GTK or Moblin mode) or both (in separate binaries)
20208 if test $gtk_version = "gtk+-3.0"; then
20209 gtk_dir=src/gtk3-ui
20214 case $enable_gui in
20215 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";;
20216 gtk|moblin) GUI_PROGRAMS=${gtk_dir}'/sync-ui${EXEEXT}'; GUI_DESKTOP_FILES="${gtk_dir}/sync.desktop";;
20217 no) GUI_PROGRAMS=; GUI_DESKTOP_FILES=;;
20218 *) as_fn_error $? "Unknown enable_gui type: '$enable_gui'" "$LINENO" 5
20221 if test $enable_gui != "no"; then
20224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS_GLIB" >&5
20225 $as_echo_n "checking for DBUS_GLIB... " >&6; }
20227 if test -n "$DBUS_GLIB_CFLAGS"; then
20228 pkg_cv_DBUS_GLIB_CFLAGS="$DBUS_GLIB_CFLAGS"
20229 elif test -n "$PKG_CONFIG"; then
20230 if test -n "$PKG_CONFIG" && \
20231 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 glib-2.0\""; } >&5
20232 ($PKG_CONFIG --exists --print-errors "dbus-glib-1 glib-2.0") 2>&5
20234 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20235 test $ac_status = 0; }; then
20236 pkg_cv_DBUS_GLIB_CFLAGS=`$PKG_CONFIG --cflags "dbus-glib-1 glib-2.0" 2>/dev/null`
20237 test "x$?" != "x0" && pkg_failed=yes
20244 if test -n "$DBUS_GLIB_LIBS"; then
20245 pkg_cv_DBUS_GLIB_LIBS="$DBUS_GLIB_LIBS"
20246 elif test -n "$PKG_CONFIG"; then
20247 if test -n "$PKG_CONFIG" && \
20248 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 glib-2.0\""; } >&5
20249 ($PKG_CONFIG --exists --print-errors "dbus-glib-1 glib-2.0") 2>&5
20251 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20252 test $ac_status = 0; }; then
20253 pkg_cv_DBUS_GLIB_LIBS=`$PKG_CONFIG --libs "dbus-glib-1 glib-2.0" 2>/dev/null`
20254 test "x$?" != "x0" && pkg_failed=yes
20264 if test $pkg_failed = yes; then
20265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20266 $as_echo "no" >&6; }
20268 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20269 _pkg_short_errors_supported=yes
20271 _pkg_short_errors_supported=no
20273 if test $_pkg_short_errors_supported = yes; then
20274 DBUS_GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-glib-1 glib-2.0" 2>&1`
20276 DBUS_GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-glib-1 glib-2.0" 2>&1`
20278 # Put the nasty error message in config.log where it belongs
20279 echo "$DBUS_GLIB_PKG_ERRORS" >&5
20281 as_fn_error $? "Package requirements (dbus-glib-1 glib-2.0) were not met:
20283 $DBUS_GLIB_PKG_ERRORS
20285 Consider adjusting the PKG_CONFIG_PATH environment variable if you
20286 installed software in a non-standard prefix.
20288 Alternatively, you may set the environment variables DBUS_GLIB_CFLAGS
20289 and DBUS_GLIB_LIBS to avoid the need to call pkg-config.
20290 See the pkg-config man page for more details." "$LINENO" 5
20291 elif test $pkg_failed = untried; then
20292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20293 $as_echo "no" >&6; }
20294 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20295 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20296 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
20297 is in your PATH or set the PKG_CONFIG environment variable to the full
20298 path to pkg-config.
20300 Alternatively, you may set the environment variables DBUS_GLIB_CFLAGS
20301 and DBUS_GLIB_LIBS to avoid the need to call pkg-config.
20302 See the pkg-config man page for more details.
20304 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20305 See \`config.log' for more details" "$LINENO" 5; }
20307 DBUS_GLIB_CFLAGS=$pkg_cv_DBUS_GLIB_CFLAGS
20308 DBUS_GLIB_LIBS=$pkg_cv_DBUS_GLIB_LIBS
20309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20310 $as_echo "yes" >&6; }
20313 # Extract the first word of "dbus-binding-tool", so it can be a program name with args.
20314 set dummy dbus-binding-tool; ac_word=$2
20315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20316 $as_echo_n "checking for $ac_word... " >&6; }
20317 if ${ac_cv_path_DBUS_BINDING_TOOL+:} false; then :
20318 $as_echo_n "(cached) " >&6
20320 case $DBUS_BINDING_TOOL in
20322 ac_cv_path_DBUS_BINDING_TOOL="$DBUS_BINDING_TOOL" # Let the user override the test with a path.
20325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20326 for as_dir in $PATH
20329 test -z "$as_dir" && as_dir=.
20330 for ac_exec_ext in '' $ac_executable_extensions; do
20331 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20332 ac_cv_path_DBUS_BINDING_TOOL="$as_dir/$ac_word$ac_exec_ext"
20333 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20343 DBUS_BINDING_TOOL=$ac_cv_path_DBUS_BINDING_TOOL
20344 if test -n "$DBUS_BINDING_TOOL"; then
20345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_BINDING_TOOL" >&5
20346 $as_echo "$DBUS_BINDING_TOOL" >&6; }
20348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20349 $as_echo "no" >&6; }
20353 # Extract the first word of "glib-genmarshal", so it can be a program name with args.
20354 set dummy glib-genmarshal; ac_word=$2
20355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20356 $as_echo_n "checking for $ac_word... " >&6; }
20357 if ${ac_cv_path_GLIB_GENMARSHAL+:} false; then :
20358 $as_echo_n "(cached) " >&6
20360 case $GLIB_GENMARSHAL in
20362 ac_cv_path_GLIB_GENMARSHAL="$GLIB_GENMARSHAL" # Let the user override the test with a path.
20365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20366 for as_dir in $PATH
20369 test -z "$as_dir" && as_dir=.
20370 for ac_exec_ext in '' $ac_executable_extensions; do
20371 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20372 ac_cv_path_GLIB_GENMARSHAL="$as_dir/$ac_word$ac_exec_ext"
20373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20383 GLIB_GENMARSHAL=$ac_cv_path_GLIB_GENMARSHAL
20384 if test -n "$GLIB_GENMARSHAL"; then
20385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL" >&5
20386 $as_echo "$GLIB_GENMARSHAL" >&6; }
20388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20389 $as_echo "no" >&6; }
20394 gui_modules="$gtk_version glib-2.0 dbus-glib-1 >= 0.60 gio-2.0 gio-unix-2.0"
20395 if test $enable_gui = "moblin"; then
20397 $as_echo "#define USE_MOBLIN_UX 1" >>confdefs.h
20401 # gtk3 provides a switch widget, otherwise we need mx-gtk
20402 if test $gtk_version != "gtk+-3.0" &&
20403 test $enable_gui = "moblin" -o $enable_gui = "all"; then
20404 gui_modules="$gui_modules mx-gtk-1.0"
20408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MX_GTK_0_99_1" >&5
20409 $as_echo_n "checking for MX_GTK_0_99_1... " >&6; }
20411 if test -n "$MX_GTK_0_99_1_CFLAGS"; then
20412 pkg_cv_MX_GTK_0_99_1_CFLAGS="$MX_GTK_0_99_1_CFLAGS"
20413 elif test -n "$PKG_CONFIG"; then
20414 if test -n "$PKG_CONFIG" && \
20415 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mx-gtk-1.0 >= 0.99.1\""; } >&5
20416 ($PKG_CONFIG --exists --print-errors "mx-gtk-1.0 >= 0.99.1") 2>&5
20418 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20419 test $ac_status = 0; }; then
20420 pkg_cv_MX_GTK_0_99_1_CFLAGS=`$PKG_CONFIG --cflags "mx-gtk-1.0 >= 0.99.1" 2>/dev/null`
20421 test "x$?" != "x0" && pkg_failed=yes
20428 if test -n "$MX_GTK_0_99_1_LIBS"; then
20429 pkg_cv_MX_GTK_0_99_1_LIBS="$MX_GTK_0_99_1_LIBS"
20430 elif test -n "$PKG_CONFIG"; then
20431 if test -n "$PKG_CONFIG" && \
20432 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mx-gtk-1.0 >= 0.99.1\""; } >&5
20433 ($PKG_CONFIG --exists --print-errors "mx-gtk-1.0 >= 0.99.1") 2>&5
20435 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20436 test $ac_status = 0; }; then
20437 pkg_cv_MX_GTK_0_99_1_LIBS=`$PKG_CONFIG --libs "mx-gtk-1.0 >= 0.99.1" 2>/dev/null`
20438 test "x$?" != "x0" && pkg_failed=yes
20448 if test $pkg_failed = yes; then
20449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20450 $as_echo "no" >&6; }
20452 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20453 _pkg_short_errors_supported=yes
20455 _pkg_short_errors_supported=no
20457 if test $_pkg_short_errors_supported = yes; then
20458 MX_GTK_0_99_1_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "mx-gtk-1.0 >= 0.99.1" 2>&1`
20460 MX_GTK_0_99_1_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "mx-gtk-1.0 >= 0.99.1" 2>&1`
20462 # Put the nasty error message in config.log where it belongs
20463 echo "$MX_GTK_0_99_1_PKG_ERRORS" >&5
20465 have_mx_gtk_0_99_1="no"
20466 elif test $pkg_failed = untried; then
20467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20468 $as_echo "no" >&6; }
20469 have_mx_gtk_0_99_1="no"
20471 MX_GTK_0_99_1_CFLAGS=$pkg_cv_MX_GTK_0_99_1_CFLAGS
20472 MX_GTK_0_99_1_LIBS=$pkg_cv_MX_GTK_0_99_1_LIBS
20473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20474 $as_echo "yes" >&6; }
20475 have_mx_gtk_0_99_1="yes"
20477 if test $have_mx_gtk_0_99_1 = "yes"; then
20479 $as_echo "#define MX_GTK_0_99_1 1" >>confdefs.h
20486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNIQUE" >&5
20487 $as_echo_n "checking for UNIQUE... " >&6; }
20489 if test -n "$UNIQUE_CFLAGS"; then
20490 pkg_cv_UNIQUE_CFLAGS="$UNIQUE_CFLAGS"
20491 elif test -n "$PKG_CONFIG"; then
20492 if test -n "$PKG_CONFIG" && \
20493 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"unique-1.0\""; } >&5
20494 ($PKG_CONFIG --exists --print-errors "unique-1.0") 2>&5
20496 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20497 test $ac_status = 0; }; then
20498 pkg_cv_UNIQUE_CFLAGS=`$PKG_CONFIG --cflags "unique-1.0" 2>/dev/null`
20499 test "x$?" != "x0" && pkg_failed=yes
20506 if test -n "$UNIQUE_LIBS"; then
20507 pkg_cv_UNIQUE_LIBS="$UNIQUE_LIBS"
20508 elif test -n "$PKG_CONFIG"; then
20509 if test -n "$PKG_CONFIG" && \
20510 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"unique-1.0\""; } >&5
20511 ($PKG_CONFIG --exists --print-errors "unique-1.0") 2>&5
20513 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20514 test $ac_status = 0; }; then
20515 pkg_cv_UNIQUE_LIBS=`$PKG_CONFIG --libs "unique-1.0" 2>/dev/null`
20516 test "x$?" != "x0" && pkg_failed=yes
20526 if test $pkg_failed = yes; then
20527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20528 $as_echo "no" >&6; }
20530 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20531 _pkg_short_errors_supported=yes
20533 _pkg_short_errors_supported=no
20535 if test $_pkg_short_errors_supported = yes; then
20536 UNIQUE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "unique-1.0" 2>&1`
20538 UNIQUE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "unique-1.0" 2>&1`
20540 # Put the nasty error message in config.log where it belongs
20541 echo "$UNIQUE_PKG_ERRORS" >&5
20544 elif test $pkg_failed = untried; then
20545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20546 $as_echo "no" >&6; }
20549 UNIQUE_CFLAGS=$pkg_cv_UNIQUE_CFLAGS
20550 UNIQUE_LIBS=$pkg_cv_UNIQUE_LIBS
20551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20552 $as_echo "yes" >&6; }
20555 if test $have_unique = "yes"; then
20556 gui_modules="$gui_modules unique-1.0"
20558 $as_echo "#define ENABLE_UNIQUE 1" >>confdefs.h
20564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK_2_18" >&5
20565 $as_echo_n "checking for GTK_2_18... " >&6; }
20567 if test -n "$GTK_2_18_CFLAGS"; then
20568 pkg_cv_GTK_2_18_CFLAGS="$GTK_2_18_CFLAGS"
20569 elif test -n "$PKG_CONFIG"; then
20570 if test -n "$PKG_CONFIG" && \
20571 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
20572 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
20574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20575 test $ac_status = 0; }; then
20576 pkg_cv_GTK_2_18_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.18" 2>/dev/null`
20577 test "x$?" != "x0" && pkg_failed=yes
20584 if test -n "$GTK_2_18_LIBS"; then
20585 pkg_cv_GTK_2_18_LIBS="$GTK_2_18_LIBS"
20586 elif test -n "$PKG_CONFIG"; then
20587 if test -n "$PKG_CONFIG" && \
20588 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
20589 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
20591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20592 test $ac_status = 0; }; then
20593 pkg_cv_GTK_2_18_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.18" 2>/dev/null`
20594 test "x$?" != "x0" && pkg_failed=yes
20604 if test $pkg_failed = yes; then
20605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20606 $as_echo "no" >&6; }
20608 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20609 _pkg_short_errors_supported=yes
20611 _pkg_short_errors_supported=no
20613 if test $_pkg_short_errors_supported = yes; then
20614 GTK_2_18_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
20616 GTK_2_18_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
20618 # Put the nasty error message in config.log where it belongs
20619 echo "$GTK_2_18_PKG_ERRORS" >&5
20622 elif test $pkg_failed = untried; then
20623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20624 $as_echo "no" >&6; }
20627 GTK_2_18_CFLAGS=$pkg_cv_GTK_2_18_CFLAGS
20628 GTK_2_18_LIBS=$pkg_cv_GTK_2_18_LIBS
20629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20630 $as_echo "yes" >&6; }
20631 have_gtk_2_18="yes"
20633 if test $have_gtk_2_18 = "yes"; then
20635 $as_echo "#define GTK_2_18 1" >>confdefs.h
20641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GUI" >&5
20642 $as_echo_n "checking for GUI... " >&6; }
20644 if test -n "$GUI_CFLAGS"; then
20645 pkg_cv_GUI_CFLAGS="$GUI_CFLAGS"
20646 elif test -n "$PKG_CONFIG"; then
20647 if test -n "$PKG_CONFIG" && \
20648 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gui_modules\""; } >&5
20649 ($PKG_CONFIG --exists --print-errors "$gui_modules") 2>&5
20651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20652 test $ac_status = 0; }; then
20653 pkg_cv_GUI_CFLAGS=`$PKG_CONFIG --cflags "$gui_modules" 2>/dev/null`
20654 test "x$?" != "x0" && pkg_failed=yes
20661 if test -n "$GUI_LIBS"; then
20662 pkg_cv_GUI_LIBS="$GUI_LIBS"
20663 elif test -n "$PKG_CONFIG"; then
20664 if test -n "$PKG_CONFIG" && \
20665 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gui_modules\""; } >&5
20666 ($PKG_CONFIG --exists --print-errors "$gui_modules") 2>&5
20668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20669 test $ac_status = 0; }; then
20670 pkg_cv_GUI_LIBS=`$PKG_CONFIG --libs "$gui_modules" 2>/dev/null`
20671 test "x$?" != "x0" && pkg_failed=yes
20681 if test $pkg_failed = yes; then
20682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20683 $as_echo "no" >&6; }
20685 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20686 _pkg_short_errors_supported=yes
20688 _pkg_short_errors_supported=no
20690 if test $_pkg_short_errors_supported = yes; then
20691 GUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$gui_modules" 2>&1`
20693 GUI_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$gui_modules" 2>&1`
20695 # Put the nasty error message in config.log where it belongs
20696 echo "$GUI_PKG_ERRORS" >&5
20698 as_fn_error $? "Package requirements ($gui_modules) were not met:
20702 Consider adjusting the PKG_CONFIG_PATH environment variable if you
20703 installed software in a non-standard prefix.
20705 Alternatively, you may set the environment variables GUI_CFLAGS
20706 and GUI_LIBS to avoid the need to call pkg-config.
20707 See the pkg-config man page for more details." "$LINENO" 5
20708 elif test $pkg_failed = untried; then
20709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20710 $as_echo "no" >&6; }
20711 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20712 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20713 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
20714 is in your PATH or set the PKG_CONFIG environment variable to the full
20715 path to pkg-config.
20717 Alternatively, you may set the environment variables GUI_CFLAGS
20718 and GUI_LIBS to avoid the need to call pkg-config.
20719 See the pkg-config man page for more details.
20721 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20722 See \`config.log' for more details" "$LINENO" 5; }
20724 GUI_CFLAGS=$pkg_cv_GUI_CFLAGS
20725 GUI_LIBS=$pkg_cv_GUI_LIBS
20726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20727 $as_echo "yes" >&6; }
20731 elif test "$enable_dbus_service" != "no"; then
20732 # syncevo-dbus-server needs localization
20735 INTLTOOL_UPDATE="true"
20745 # C++ regular expression support is required often enough to make it
20749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PCRECPP" >&5
20750 $as_echo_n "checking for PCRECPP... " >&6; }
20752 if test -n "$PCRECPP_CFLAGS"; then
20753 pkg_cv_PCRECPP_CFLAGS="$PCRECPP_CFLAGS"
20754 elif test -n "$PKG_CONFIG"; then
20755 if test -n "$PKG_CONFIG" && \
20756 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpcrecpp\""; } >&5
20757 ($PKG_CONFIG --exists --print-errors "libpcrecpp") 2>&5
20759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20760 test $ac_status = 0; }; then
20761 pkg_cv_PCRECPP_CFLAGS=`$PKG_CONFIG --cflags "libpcrecpp" 2>/dev/null`
20762 test "x$?" != "x0" && pkg_failed=yes
20769 if test -n "$PCRECPP_LIBS"; then
20770 pkg_cv_PCRECPP_LIBS="$PCRECPP_LIBS"
20771 elif test -n "$PKG_CONFIG"; then
20772 if test -n "$PKG_CONFIG" && \
20773 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpcrecpp\""; } >&5
20774 ($PKG_CONFIG --exists --print-errors "libpcrecpp") 2>&5
20776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20777 test $ac_status = 0; }; then
20778 pkg_cv_PCRECPP_LIBS=`$PKG_CONFIG --libs "libpcrecpp" 2>/dev/null`
20779 test "x$?" != "x0" && pkg_failed=yes
20789 if test $pkg_failed = yes; then
20790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20791 $as_echo "no" >&6; }
20793 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20794 _pkg_short_errors_supported=yes
20796 _pkg_short_errors_supported=no
20798 if test $_pkg_short_errors_supported = yes; then
20799 PCRECPP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpcrecpp" 2>&1`
20801 PCRECPP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libpcrecpp" 2>&1`
20803 # Put the nasty error message in config.log where it belongs
20804 echo "$PCRECPP_PKG_ERRORS" >&5
20806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpcrecpp" >&5
20807 $as_echo_n "checking for main in -lpcrecpp... " >&6; }
20808 if ${ac_cv_lib_pcrecpp_main+:} false; then :
20809 $as_echo_n "(cached) " >&6
20811 ac_check_lib_save_LIBS=$LIBS
20812 LIBS="-lpcrecpp $LIBS"
20813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20814 /* end confdefs.h. */
20825 if ac_fn_cxx_try_link "$LINENO"; then :
20826 ac_cv_lib_pcrecpp_main=yes
20828 ac_cv_lib_pcrecpp_main=no
20830 rm -f core conftest.err conftest.$ac_objext \
20831 conftest$ac_exeext conftest.$ac_ext
20832 LIBS=$ac_check_lib_save_LIBS
20834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcrecpp_main" >&5
20835 $as_echo "$ac_cv_lib_pcrecpp_main" >&6; }
20836 if test "x$ac_cv_lib_pcrecpp_main" = xyes; then :
20837 PCRECPP_LIBS=-lpcrecpp
20840 as_fn_error $? "pcrecpp not found" "$LINENO" 5
20844 elif test $pkg_failed = untried; then
20845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20846 $as_echo "no" >&6; }
20847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpcrecpp" >&5
20848 $as_echo_n "checking for main in -lpcrecpp... " >&6; }
20849 if ${ac_cv_lib_pcrecpp_main+:} false; then :
20850 $as_echo_n "(cached) " >&6
20852 ac_check_lib_save_LIBS=$LIBS
20853 LIBS="-lpcrecpp $LIBS"
20854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20855 /* end confdefs.h. */
20866 if ac_fn_cxx_try_link "$LINENO"; then :
20867 ac_cv_lib_pcrecpp_main=yes
20869 ac_cv_lib_pcrecpp_main=no
20871 rm -f core conftest.err conftest.$ac_objext \
20872 conftest$ac_exeext conftest.$ac_ext
20873 LIBS=$ac_check_lib_save_LIBS
20875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcrecpp_main" >&5
20876 $as_echo "$ac_cv_lib_pcrecpp_main" >&6; }
20877 if test "x$ac_cv_lib_pcrecpp_main" = xyes; then :
20878 PCRECPP_LIBS=-lpcrecpp
20881 as_fn_error $? "pcrecpp not found" "$LINENO" 5
20886 PCRECPP_CFLAGS=$pkg_cv_PCRECPP_CFLAGS
20887 PCRECPP_LIBS=$pkg_cv_PCRECPP_LIBS
20888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20889 $as_echo "yes" >&6; }
20893 # need rst2man for man pages
20895 # Check whether --with-rst2man was given.
20896 if test "${with_rst2man+set}" = set; then :
20897 withval=$with_rst2man; RST2MAN=$withval
20898 if test "$RST2MAN" = "yes"; then
20899 # Extract the first word of "rst2man", so it can be a program name with args.
20900 set dummy rst2man; ac_word=$2
20901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20902 $as_echo_n "checking for $ac_word... " >&6; }
20903 if ${ac_cv_path_RST2MAN+:} false; then :
20904 $as_echo_n "(cached) " >&6
20908 ac_cv_path_RST2MAN="$RST2MAN" # Let the user override the test with a path.
20911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20912 for as_dir in $PATH
20915 test -z "$as_dir" && as_dir=.
20916 for ac_exec_ext in '' $ac_executable_extensions; do
20917 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20918 ac_cv_path_RST2MAN="$as_dir/$ac_word$ac_exec_ext"
20919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20926 test -z "$ac_cv_path_RST2MAN" && ac_cv_path_RST2MAN=""no""
20930 RST2MAN=$ac_cv_path_RST2MAN
20931 if test -n "$RST2MAN"; then
20932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RST2MAN" >&5
20933 $as_echo "$RST2MAN" >&6; }
20935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20936 $as_echo "no" >&6; }
20941 test "$RST2MAN" = "no" || test -x "$RST2MAN" || as_fn_error $? "--with-rst2man=$RST2MAN: tool not found" "$LINENO" 5
20943 # Extract the first word of "rst2man", so it can be a program name with args.
20944 set dummy rst2man; ac_word=$2
20945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20946 $as_echo_n "checking for $ac_word... " >&6; }
20947 if ${ac_cv_path_RST2MAN+:} false; then :
20948 $as_echo_n "(cached) " >&6
20952 ac_cv_path_RST2MAN="$RST2MAN" # Let the user override the test with a path.
20955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20956 for as_dir in $PATH
20959 test -z "$as_dir" && as_dir=.
20960 for ac_exec_ext in '' $ac_executable_extensions; do
20961 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20962 ac_cv_path_RST2MAN="$as_dir/$ac_word$ac_exec_ext"
20963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20970 test -z "$ac_cv_path_RST2MAN" && ac_cv_path_RST2MAN=""no""
20974 RST2MAN=$ac_cv_path_RST2MAN
20975 if test -n "$RST2MAN"; then
20976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RST2MAN" >&5
20977 $as_echo "$RST2MAN" >&6; }
20979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20980 $as_echo "no" >&6; }
20986 if test "$RST2MAN" != "no"; then
20987 COND_MAN_PAGES_TRUE=
20988 COND_MAN_PAGES_FALSE='#'
20990 COND_MAN_PAGES_TRUE='#'
20991 COND_MAN_PAGES_FALSE=
20995 # need rst2html for HTML version of README
20997 # Check whether --with-rst2html was given.
20998 if test "${with_rst2html+set}" = set; then :
20999 withval=$with_rst2html; RST2HTML=$withval
21000 if test "$RST2HTML" = "yes"; then
21001 # Extract the first word of "rst2html", so it can be a program name with args.
21002 set dummy rst2html; ac_word=$2
21003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21004 $as_echo_n "checking for $ac_word... " >&6; }
21005 if ${ac_cv_path_RST2HTML+:} false; then :
21006 $as_echo_n "(cached) " >&6
21010 ac_cv_path_RST2HTML="$RST2HTML" # Let the user override the test with a path.
21013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21014 for as_dir in $PATH
21017 test -z "$as_dir" && as_dir=.
21018 for ac_exec_ext in '' $ac_executable_extensions; do
21019 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21020 ac_cv_path_RST2HTML="$as_dir/$ac_word$ac_exec_ext"
21021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21028 test -z "$ac_cv_path_RST2HTML" && ac_cv_path_RST2HTML=""no""
21032 RST2HTML=$ac_cv_path_RST2HTML
21033 if test -n "$RST2HTML"; then
21034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RST2HTML" >&5
21035 $as_echo "$RST2HTML" >&6; }
21037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21038 $as_echo "no" >&6; }
21043 test "$RST2HTML" = "no" || test -x "$RST2HTML" || as_fn_error $? "--with-rst2html=$RST2HTML: tool not found" "$LINENO" 5
21045 # Extract the first word of "rst2html", so it can be a program name with args.
21046 set dummy rst2html; ac_word=$2
21047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21048 $as_echo_n "checking for $ac_word... " >&6; }
21049 if ${ac_cv_path_RST2HTML+:} false; then :
21050 $as_echo_n "(cached) " >&6
21054 ac_cv_path_RST2HTML="$RST2HTML" # Let the user override the test with a path.
21057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21058 for as_dir in $PATH
21061 test -z "$as_dir" && as_dir=.
21062 for ac_exec_ext in '' $ac_executable_extensions; do
21063 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21064 ac_cv_path_RST2HTML="$as_dir/$ac_word$ac_exec_ext"
21065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21072 test -z "$ac_cv_path_RST2HTML" && ac_cv_path_RST2HTML=""no""
21076 RST2HTML=$ac_cv_path_RST2HTML
21077 if test -n "$RST2HTML"; then
21078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RST2HTML" >&5
21079 $as_echo "$RST2HTML" >&6; }
21081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21082 $as_echo "no" >&6; }
21088 if test "$RST2HTML" != "no"; then
21089 COND_HTML_README_TRUE=
21090 COND_HTML_README_FALSE='#'
21092 COND_HTML_README_TRUE='#'
21093 COND_HTML_README_FALSE=
21097 # absolute patch to source of Synthesis client library
21098 SYNTHESIS_SRC=no-synthesis-source
21100 if test "$SYNTHESISSRC" && test "$SYNTHESISSRC" != "none"; then
21101 # default: checkout a copy of the sources, remove it during maintainer-clean and distclean
21102 CLEAN_CLIENT_SRC=synthesis-workdir
21103 SYNTHESIS_SRC=$PWD/src/synthesis-workdir
21105 { $as_echo "$as_me:${as_lineno-$LINENO}: updating the content of $SYNTHESIS_SRC from $SYNTHESISSRC " >&5
21106 $as_echo "$as_me: updating the content of $SYNTHESIS_SRC from $SYNTHESISSRC " >&6;}
21107 case "$SYNTHESISSRC" in
21108 *.git) protocol=git;;
21109 *://*) protocol="`echo $SYNTHESISSRC | sed -e 's;://.*;;'`";;
21110 *) protocol="file";;
21116 # use existing copy of the sources
21118 case "$SYNTHESISSRC" in
21119 /*) SYNTHESIS_SRC="$SYNTHESISSRC";;
21120 *) SYNTHESIS_SRC="$PWD/$SYNTHESISSRC";;
21124 SYNTHESISSRCREV="$SYNTHESISSRC"
21125 if test "$REVISION"; then
21126 revarg="-r $REVISION "
21127 if `echo $SYNTHESISSRC | grep '@0123456789*'` >/dev/null; then
21130 SYNTHESISSRCREV="$SYNTHESISSRC@$REVISION"
21133 if test -d $SYNTHESIS_SRC ; then
21134 ( set -x; cd $SYNTHESIS_SRC && svn --username=$USERNAME switch $revarg "$SYNTHESISSRC" ) || as_fn_error $? "updating from $SYNTHESISSRC failed" "$LINENO" 5
21136 (set -x; svn --username=$USERNAME checkout $revarg "$SYNTHESISSRCREV" $SYNTHESIS_SRC ) || as_fn_error $? "checking out $SYNTHESISSRC failed" "$LINENO" 5
21140 if test -d $SYNTHESIS_SRC ; then
21141 ( set -x; cd $SYNTHESIS_SRC && git fetch "$SYNTHESISSRC" ) || as_fn_error $? "updating from $SYNTHESISSRC failed" "$LINENO" 5
21143 ( set -x; git clone "$SYNTHESISSRC" $SYNTHESIS_SRC ) || as_fn_error $? "cloning $SYNTHESISSRC failed" "$LINENO" 5
21145 if test "$REVISION"; then
21146 # git 1.6 finds tags and branches without explicit prefix, 1.4.4.4 doesn't
21147 ( set -x; cd $SYNTHESIS_SRC &&
21148 (git checkout "$REVISION" ||
21149 git checkout "tags/$REVISION" ||
21150 git checkout "origin/$REVISION") ) || as_fn_error $? "checking out $SYNTHESISSRC failed" "$LINENO" 5
21154 elif test "$SYNTHESISSRC" != "none" && test -d $srcdir/src/synthesis; then
21155 # use existing copy of the sources; beware of
21156 # out-of-tree compilation
21158 /*) SYNTHESIS_SRC="$srcdir/src/synthesis";;
21159 *) SYNTHESIS_SRC="$PWD/$srcdir/src/synthesis";;
21161 elif test "$enable_shared" = "no"; then
21162 # link against engine
21165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYNTHESIS" >&5
21166 $as_echo_n "checking for SYNTHESIS... " >&6; }
21168 if test -n "$SYNTHESIS_CFLAGS"; then
21169 pkg_cv_SYNTHESIS_CFLAGS="$SYNTHESIS_CFLAGS"
21170 elif test -n "$PKG_CONFIG"; then
21171 if test -n "$PKG_CONFIG" && \
21172 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"synthesis >= 3.4\""; } >&5
21173 ($PKG_CONFIG --exists --print-errors "synthesis >= 3.4") 2>&5
21175 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21176 test $ac_status = 0; }; then
21177 pkg_cv_SYNTHESIS_CFLAGS=`$PKG_CONFIG --cflags "synthesis >= 3.4" 2>/dev/null`
21178 test "x$?" != "x0" && pkg_failed=yes
21185 if test -n "$SYNTHESIS_LIBS"; then
21186 pkg_cv_SYNTHESIS_LIBS="$SYNTHESIS_LIBS"
21187 elif test -n "$PKG_CONFIG"; then
21188 if test -n "$PKG_CONFIG" && \
21189 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"synthesis >= 3.4\""; } >&5
21190 ($PKG_CONFIG --exists --print-errors "synthesis >= 3.4") 2>&5
21192 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21193 test $ac_status = 0; }; then
21194 pkg_cv_SYNTHESIS_LIBS=`$PKG_CONFIG --libs "synthesis >= 3.4" 2>/dev/null`
21195 test "x$?" != "x0" && pkg_failed=yes
21205 if test $pkg_failed = yes; then
21206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21207 $as_echo "no" >&6; }
21209 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21210 _pkg_short_errors_supported=yes
21212 _pkg_short_errors_supported=no
21214 if test $_pkg_short_errors_supported = yes; then
21215 SYNTHESIS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "synthesis >= 3.4" 2>&1`
21217 SYNTHESIS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "synthesis >= 3.4" 2>&1`
21219 # Put the nasty error message in config.log where it belongs
21220 echo "$SYNTHESIS_PKG_ERRORS" >&5
21222 as_fn_error $? "Package requirements (synthesis >= 3.4) were not met:
21224 $SYNTHESIS_PKG_ERRORS
21226 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21227 installed software in a non-standard prefix.
21229 Alternatively, you may set the environment variables SYNTHESIS_CFLAGS
21230 and SYNTHESIS_LIBS to avoid the need to call pkg-config.
21231 See the pkg-config man page for more details." "$LINENO" 5
21232 elif test $pkg_failed = untried; then
21233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21234 $as_echo "no" >&6; }
21235 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21236 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21237 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
21238 is in your PATH or set the PKG_CONFIG environment variable to the full
21239 path to pkg-config.
21241 Alternatively, you may set the environment variables SYNTHESIS_CFLAGS
21242 and SYNTHESIS_LIBS to avoid the need to call pkg-config.
21243 See the pkg-config man page for more details.
21245 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21246 See \`config.log' for more details" "$LINENO" 5; }
21248 SYNTHESIS_CFLAGS=$pkg_cv_SYNTHESIS_CFLAGS
21249 SYNTHESIS_LIBS=$pkg_cv_SYNTHESIS_LIBS
21250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21251 $as_echo "yes" >&6; }
21254 SYNTHESIS_ENGINE="$SYNTHESIS_LIBS -lsynthesis -lsmltk"
21256 # link against SDK alone, except in client-test
21257 #PKG_CHECK_MODULES(SYNTHESIS, "synthesis-sdk")
21258 #SYNTHESIS_ENGINE="`echo $SYNTHESIS_LIBS | sed -e 's/-lsynthesisstubs/-lsynthesis/'`"
21260 # can't use the SDK alone because of sysync::SySyncDebugPuts()
21263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYNTHESIS" >&5
21264 $as_echo_n "checking for SYNTHESIS... " >&6; }
21266 if test -n "$SYNTHESIS_CFLAGS"; then
21267 pkg_cv_SYNTHESIS_CFLAGS="$SYNTHESIS_CFLAGS"
21268 elif test -n "$PKG_CONFIG"; then
21269 if test -n "$PKG_CONFIG" && \
21270 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"synthesis >= 3.4.0.47.1\""; } >&5
21271 ($PKG_CONFIG --exists --print-errors "synthesis >= 3.4.0.47.1") 2>&5
21273 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21274 test $ac_status = 0; }; then
21275 pkg_cv_SYNTHESIS_CFLAGS=`$PKG_CONFIG --cflags "synthesis >= 3.4.0.47.1" 2>/dev/null`
21276 test "x$?" != "x0" && pkg_failed=yes
21283 if test -n "$SYNTHESIS_LIBS"; then
21284 pkg_cv_SYNTHESIS_LIBS="$SYNTHESIS_LIBS"
21285 elif test -n "$PKG_CONFIG"; then
21286 if test -n "$PKG_CONFIG" && \
21287 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"synthesis >= 3.4.0.47.1\""; } >&5
21288 ($PKG_CONFIG --exists --print-errors "synthesis >= 3.4.0.47.1") 2>&5
21290 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21291 test $ac_status = 0; }; then
21292 pkg_cv_SYNTHESIS_LIBS=`$PKG_CONFIG --libs "synthesis >= 3.4.0.47.1" 2>/dev/null`
21293 test "x$?" != "x0" && pkg_failed=yes
21303 if test $pkg_failed = yes; then
21304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21305 $as_echo "no" >&6; }
21307 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21308 _pkg_short_errors_supported=yes
21310 _pkg_short_errors_supported=no
21312 if test $_pkg_short_errors_supported = yes; then
21313 SYNTHESIS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "synthesis >= 3.4.0.47.1" 2>&1`
21315 SYNTHESIS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "synthesis >= 3.4.0.47.1" 2>&1`
21317 # Put the nasty error message in config.log where it belongs
21318 echo "$SYNTHESIS_PKG_ERRORS" >&5
21320 as_fn_error $? "Package requirements (synthesis >= 3.4.0.47.1) were not met:
21322 $SYNTHESIS_PKG_ERRORS
21324 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21325 installed software in a non-standard prefix.
21327 Alternatively, you may set the environment variables SYNTHESIS_CFLAGS
21328 and SYNTHESIS_LIBS to avoid the need to call pkg-config.
21329 See the pkg-config man page for more details." "$LINENO" 5
21330 elif test $pkg_failed = untried; then
21331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21332 $as_echo "no" >&6; }
21333 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21334 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21335 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
21336 is in your PATH or set the PKG_CONFIG environment variable to the full
21337 path to pkg-config.
21339 Alternatively, you may set the environment variables SYNTHESIS_CFLAGS
21340 and SYNTHESIS_LIBS to avoid the need to call pkg-config.
21341 See the pkg-config man page for more details.
21343 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21344 See \`config.log' for more details" "$LINENO" 5; }
21346 SYNTHESIS_CFLAGS=$pkg_cv_SYNTHESIS_CFLAGS
21347 SYNTHESIS_LIBS=$pkg_cv_SYNTHESIS_LIBS
21348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21349 $as_echo "yes" >&6; }
21352 SYNTHESIS_ENGINE="$SYNTHESIS_LIBS"
21355 if test $SYNTHESIS_SRC != "no-synthesis-source"; then
21356 ( 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
21358 SYNTHESIS_CONFIGURE="$SYNTHESIS_SRC/configure"
21359 chmod u+x $SYNTHESIS_SRC/configure $SYNTHESIS_SRC/config.sub $SYNTHESIS_SRC/config.guess
21361 # use local copy of the sources, with dependencies
21362 # to trigger building the synthesis library
21363 SYNTHESIS_SUBDIR=$PWD/src/build-synthesis
21364 SYNTHESIS_CFLAGS="-I$SYNTHESIS_SUBDIR/src"
21365 SYNTHESIS_LIBS="$SYNTHESIS_SUBDIR/src/libsynthesissdk.la $SYNTHESIS_SUBDIR/src/libsmltk.la"
21367 if test "x$enable_core" = "xno" && test "x$enable_gui" != "xno"; then
21368 # SYNTHESIS_SUBDIR is ignored, at least build headers for GUI
21369 SYNTHESIS_SUBDIR_INCLUDES=src/synthesis-includes
21372 if test "$enable_shared" = "no"; then
21373 # link against the engines that were enabled
21374 case $SYNCML_ENGINES in both|client|server) SYNTHESIS_LIBS="$SYNTHESIS_LIBS $SYNTHESIS_SUBDIR/src/libsynthesis.la $SYNTHESIS_SUBDIR/src/libsmltk.la";; esac
21376 $as_echo "#define ENABLE_SYNCML_LINKED 1" >>confdefs.h
21379 # It would be nice if we could avoid linking against libsynthesis.la here.
21380 # This doesn't work at the moment because sysync::SySyncDebugPuts()
21381 # is called directly by the libsynthesissdk instead of going through
21382 # the normal C function pointer lookup.
21383 SYNTHESIS_LIBS="$SYNTHESIS_LIBS $SYNTHESIS_SUBDIR/src/libsynthesis.la $SYNTHESIS_SUBDIR/src/libsmltk.la"
21385 SYNTHESIS_DEP=$SYNTHESIS_LIBS
21387 # for linking client-test
21388 SYNTHESIS_ENGINE="$SYNTHESIS_SUBDIR/src/libsynthesis.la"
21390 { $as_echo "$as_me:${as_lineno-$LINENO}: configuring the Synthesis library " >&5
21391 $as_echo "$as_me: configuring the Synthesis library " >&6;}
21392 if (set -x; mkdir -p $SYNTHESIS_SUBDIR && cd $SYNTHESIS_SUBDIR && eval "\$SHELL \"\$SYNTHESIS_CONFIGURE\" $ac_configure_args \"--srcdir=\$SYNTHESIS_SRC\" " ); then true; else
21393 as_fn_error $? "configuring Synthesis library failed " "$LINENO" 5
21396 # do the version check with the .pc files prepared by the configure step above
21397 export PKG_CONFIG_PATH=$SYNTHESIS_SUBDIR:$PKG_CONFIG_PATH
21400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WITH_SYNTHESIS_SRC" >&5
21401 $as_echo_n "checking for WITH_SYNTHESIS_SRC... " >&6; }
21403 if test -n "$WITH_SYNTHESIS_SRC_CFLAGS"; then
21404 pkg_cv_WITH_SYNTHESIS_SRC_CFLAGS="$WITH_SYNTHESIS_SRC_CFLAGS"
21405 elif test -n "$PKG_CONFIG"; then
21406 if test -n "$PKG_CONFIG" && \
21407 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"synthesis >= 3.4.0.47.1\""; } >&5
21408 ($PKG_CONFIG --exists --print-errors "synthesis >= 3.4.0.47.1") 2>&5
21410 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21411 test $ac_status = 0; }; then
21412 pkg_cv_WITH_SYNTHESIS_SRC_CFLAGS=`$PKG_CONFIG --cflags "synthesis >= 3.4.0.47.1" 2>/dev/null`
21413 test "x$?" != "x0" && pkg_failed=yes
21420 if test -n "$WITH_SYNTHESIS_SRC_LIBS"; then
21421 pkg_cv_WITH_SYNTHESIS_SRC_LIBS="$WITH_SYNTHESIS_SRC_LIBS"
21422 elif test -n "$PKG_CONFIG"; then
21423 if test -n "$PKG_CONFIG" && \
21424 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"synthesis >= 3.4.0.47.1\""; } >&5
21425 ($PKG_CONFIG --exists --print-errors "synthesis >= 3.4.0.47.1") 2>&5
21427 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21428 test $ac_status = 0; }; then
21429 pkg_cv_WITH_SYNTHESIS_SRC_LIBS=`$PKG_CONFIG --libs "synthesis >= 3.4.0.47.1" 2>/dev/null`
21430 test "x$?" != "x0" && pkg_failed=yes
21440 if test $pkg_failed = yes; then
21441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21442 $as_echo "no" >&6; }
21444 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21445 _pkg_short_errors_supported=yes
21447 _pkg_short_errors_supported=no
21449 if test $_pkg_short_errors_supported = yes; then
21450 WITH_SYNTHESIS_SRC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "synthesis >= 3.4.0.47.1" 2>&1`
21452 WITH_SYNTHESIS_SRC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "synthesis >= 3.4.0.47.1" 2>&1`
21454 # Put the nasty error message in config.log where it belongs
21455 echo "$WITH_SYNTHESIS_SRC_PKG_ERRORS" >&5
21457 as_fn_error $? "need at least libsynthesis >= 3.4.0.47.1; the latest libsynthesis for SyncEvolution is the one from http://cgit.freedesktop.org/SyncEvolution/" "$LINENO" 5
21458 elif test $pkg_failed = untried; then
21459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21460 $as_echo "no" >&6; }
21461 as_fn_error $? "need at least libsynthesis >= 3.4.0.47.1; the latest libsynthesis for SyncEvolution is the one from http://cgit.freedesktop.org/SyncEvolution/" "$LINENO" 5
21463 WITH_SYNTHESIS_SRC_CFLAGS=$pkg_cv_WITH_SYNTHESIS_SRC_CFLAGS
21464 WITH_SYNTHESIS_SRC_LIBS=$pkg_cv_WITH_SYNTHESIS_SRC_LIBS
21465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21466 $as_echo "yes" >&6; }
21482 BACKEND_CPPFLAGS="$SYNTHESIS_CFLAGS $EPACKAGE_CFLAGS $EBOOK_CFLAGS $ECAL_CFLAGS $GLIB_CFLAGS $BOOST_CPPFLAGS"
21485 # GNOME Bluetooth Panel plugin
21488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOMEBLUETOOTH" >&5
21489 $as_echo_n "checking for GNOMEBLUETOOTH... " >&6; }
21491 if test -n "$GNOMEBLUETOOTH_CFLAGS"; then
21492 pkg_cv_GNOMEBLUETOOTH_CFLAGS="$GNOMEBLUETOOTH_CFLAGS"
21493 elif test -n "$PKG_CONFIG"; then
21494 if test -n "$PKG_CONFIG" && \
21495 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-bluetooth-1.0 >= 2.27.6\""; } >&5
21496 ($PKG_CONFIG --exists --print-errors "gnome-bluetooth-1.0 >= 2.27.6") 2>&5
21498 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21499 test $ac_status = 0; }; then
21500 pkg_cv_GNOMEBLUETOOTH_CFLAGS=`$PKG_CONFIG --cflags "gnome-bluetooth-1.0 >= 2.27.6" 2>/dev/null`
21501 test "x$?" != "x0" && pkg_failed=yes
21508 if test -n "$GNOMEBLUETOOTH_LIBS"; then
21509 pkg_cv_GNOMEBLUETOOTH_LIBS="$GNOMEBLUETOOTH_LIBS"
21510 elif test -n "$PKG_CONFIG"; then
21511 if test -n "$PKG_CONFIG" && \
21512 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-bluetooth-1.0 >= 2.27.6\""; } >&5
21513 ($PKG_CONFIG --exists --print-errors "gnome-bluetooth-1.0 >= 2.27.6") 2>&5
21515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21516 test $ac_status = 0; }; then
21517 pkg_cv_GNOMEBLUETOOTH_LIBS=`$PKG_CONFIG --libs "gnome-bluetooth-1.0 >= 2.27.6" 2>/dev/null`
21518 test "x$?" != "x0" && pkg_failed=yes
21528 if test $pkg_failed = yes; then
21529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21530 $as_echo "no" >&6; }
21532 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21533 _pkg_short_errors_supported=yes
21535 _pkg_short_errors_supported=no
21537 if test $_pkg_short_errors_supported = yes; then
21538 GNOMEBLUETOOTH_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gnome-bluetooth-1.0 >= 2.27.6" 2>&1`
21540 GNOMEBLUETOOTH_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gnome-bluetooth-1.0 >= 2.27.6" 2>&1`
21542 # Put the nasty error message in config.log where it belongs
21543 echo "$GNOMEBLUETOOTH_PKG_ERRORS" >&5
21546 elif test $pkg_failed = untried; then
21547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21548 $as_echo "no" >&6; }
21551 GNOMEBLUETOOTH_CFLAGS=$pkg_cv_GNOMEBLUETOOTH_CFLAGS
21552 GNOMEBLUETOOTH_LIBS=$pkg_cv_GNOMEBLUETOOTH_LIBS
21553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21554 $as_echo "yes" >&6; }
21556 GNOMEBLUETOOTH_DIR=`$PKG_CONFIG --variable=libdir gnome-bluetooth-1.0 2>/dev/null`/gnome-bluetooth
21561 # Check whether --enable-gnome-bluetooth-panel-plugin was given.
21562 if test "${enable_gnome_bluetooth_panel_plugin+set}" = set; then :
21563 enableval=$enable_gnome_bluetooth_panel_plugin; enable_gnome_bluetooth_panel="$enableval"
21565 enable_gnome_bluetooth_panel="no"
21569 if test "$enable_gnome_bluetooth_panel" = "yes"; then
21570 test "$have_gbt" = "yes" || as_fn_error $? "--enable-gnome-bluetooth-panel requires
21571 pkg-config information for gnome-bluetooth-1.0 >= 2.27.6 which was not found" "$LINENO" 5
21573 if test "$have_gbt" = "yes" && test "$enable_gnome_bluetooth_panel" = "yes"; then
21574 ENABLE_GNOME_BLUETOOTH_PANEL_TRUE=
21575 ENABLE_GNOME_BLUETOOTH_PANEL_FALSE='#'
21577 ENABLE_GNOME_BLUETOOTH_PANEL_TRUE='#'
21578 ENABLE_GNOME_BLUETOOTH_PANEL_FALSE=
21582 # Check whether --enable-doc was given.
21583 if test "${enable_doc+set}" = set; then :
21584 enableval=$enable_doc; enable_doc="$enableval"
21590 if test "$enable_doc" != "no"; then
21605 # vvvvvvvvvvvvvv src/backends/activesync/configure-sub.in vvvvvvvvvvvvvv
21608 # Check whether --enable-activesync was given.
21609 if test "${enable_activesync+set}" = set; then :
21610 enableval=$enable_activesync; enable_activesync="$enableval"
21612 enable_activesync="no"
21615 BACKENDS="$BACKENDS activesync"
21616 BACKEND_DEFINES="$BACKEND_DEFINES ENABLE_ACTIVESYNC"
21617 for source in activesync
21619 SYNCSOURCES="$SYNCSOURCES src/backends/activesync/syncactivesync.la"
21625 # Check whether --with-activesyncd-src was given.
21626 if test "${with_activesyncd_src+set}" = set; then :
21627 withval=$with_activesyncd_src; ACTIVESYNCDSRC="$withval"
21628 test "$ACTIVESYNCDSRC" != "yes" || as_fn_error $? "--with-synthesis-src requires a parameter (base directory, svn URL or git URL)" "$LINENO" 5
21634 if test "$enable_activesync" = "yes" && test "$ACTIVESYNCDSRC" != ""; then
21635 BUILD_ACTIVESYNCD_TRUE=
21636 BUILD_ACTIVESYNCD_FALSE='#'
21638 BUILD_ACTIVESYNCD_TRUE='#'
21639 BUILD_ACTIVESYNCD_FALSE=
21643 if test "$enable_activesync" = "yes"; then
21644 if test "$ACTIVESYNCDSRC" != ""; then
21645 # brute-force dependency on any file in the source repo
21646 LIBEASCLIENT_LA_DEPENDENCIES=`find "$ACTIVESYNCDSRC"/* -type f -printf '%p ' `
21648 mkdir -p src/backends/activesync/activesyncd/build
21649 { $as_echo "$as_me:${as_lineno-$LINENO}: configuring activesyncd using the $ACTIVESYNCDSRC source code" >&5
21650 $as_echo "$as_me: configuring activesyncd using the $ACTIVESYNCDSRC source code" >&6;}
21651 ( set -x; cd src/backends/activesync/activesyncd/build &&
21652 $ACTIVESYNCDSRC/configure --disable-eplugin --disable-camel-backend --disable-qtconfig --prefix=`pwd`/../install) ||
21653 as_fn_error $? "configuring activesyncd failed" "$LINENO" 5
21655 # hard-coded replacement for pkg-config: necessary because
21656 # .pc file not installed yet
21657 EASCLIENT_LIBS=src/backends/activesync/activesyncd/install/lib/libeasclient.la
21658 EASCLIENT_DEPENDENCIES=src/backends/activesync/activesyncd/install/lib/libeasclient.la
21659 EASCLIENT_CFLAGS=-Isrc/backends/activesync/activesyncd/install/include/eas-daemon/eas-client
21666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EASCLIENT" >&5
21667 $as_echo_n "checking for EASCLIENT... " >&6; }
21669 if test -n "$EASCLIENT_CFLAGS"; then
21670 pkg_cv_EASCLIENT_CFLAGS="$EASCLIENT_CFLAGS"
21671 elif test -n "$PKG_CONFIG"; then
21672 if test -n "$PKG_CONFIG" && \
21673 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libeasclient\""; } >&5
21674 ($PKG_CONFIG --exists --print-errors "libeasclient") 2>&5
21676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21677 test $ac_status = 0; }; then
21678 pkg_cv_EASCLIENT_CFLAGS=`$PKG_CONFIG --cflags "libeasclient" 2>/dev/null`
21679 test "x$?" != "x0" && pkg_failed=yes
21686 if test -n "$EASCLIENT_LIBS"; then
21687 pkg_cv_EASCLIENT_LIBS="$EASCLIENT_LIBS"
21688 elif test -n "$PKG_CONFIG"; then
21689 if test -n "$PKG_CONFIG" && \
21690 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libeasclient\""; } >&5
21691 ($PKG_CONFIG --exists --print-errors "libeasclient") 2>&5
21693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21694 test $ac_status = 0; }; then
21695 pkg_cv_EASCLIENT_LIBS=`$PKG_CONFIG --libs "libeasclient" 2>/dev/null`
21696 test "x$?" != "x0" && pkg_failed=yes
21706 if test $pkg_failed = yes; then
21707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21708 $as_echo "no" >&6; }
21710 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21711 _pkg_short_errors_supported=yes
21713 _pkg_short_errors_supported=no
21715 if test $_pkg_short_errors_supported = yes; then
21716 EASCLIENT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libeasclient" 2>&1`
21718 EASCLIENT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libeasclient" 2>&1`
21720 # Put the nasty error message in config.log where it belongs
21721 echo "$EASCLIENT_PKG_ERRORS" >&5
21723 as_fn_error $? "Package requirements (libeasclient) were not met:
21725 $EASCLIENT_PKG_ERRORS
21727 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21728 installed software in a non-standard prefix.
21730 Alternatively, you may set the environment variables EASCLIENT_CFLAGS
21731 and EASCLIENT_LIBS to avoid the need to call pkg-config.
21732 See the pkg-config man page for more details." "$LINENO" 5
21733 elif test $pkg_failed = untried; then
21734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21735 $as_echo "no" >&6; }
21736 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21737 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21738 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
21739 is in your PATH or set the PKG_CONFIG environment variable to the full
21740 path to pkg-config.
21742 Alternatively, you may set the environment variables EASCLIENT_CFLAGS
21743 and EASCLIENT_LIBS to avoid the need to call pkg-config.
21744 See the pkg-config man page for more details.
21746 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21747 See \`config.log' for more details" "$LINENO" 5; }
21749 EASCLIENT_CFLAGS=$pkg_cv_EASCLIENT_CFLAGS
21750 EASCLIENT_LIBS=$pkg_cv_EASCLIENT_LIBS
21751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21752 $as_echo "yes" >&6; }
21757 $as_echo "#define ENABLE_ACTIVESYNC 1" >>confdefs.h
21763 BACKEND_CPPFLAGS="$BACKEND_CPPFLAGS $EASCLIENT_CFLAGS"
21764 # ^^^^^^^^^^^^^^ src/backends/activesync/configure-sub.in ^^^^^^^^^^^^^^
21766 # vvvvvvvvvvvvvv src/backends/addressbook/configure-sub.in vvvvvvvvvvvvvv
21768 ADDRESSBOOK_CFLAGS=
21770 ADDRESSBOOK_LIBS="-framework AddressBook -framework CoreFoundation"
21773 BACKEND_CPPFLAGS="$BACKEND_CPPFLAGS $ADDRESSBOOK_CFLAGS"
21776 # Check whether --enable-addressbook was given.
21777 if test "${enable_addressbook+set}" = set; then :
21778 enableval=$enable_addressbook; enable_addressbook="$enableval"
21780 enable_addressbook="no"
21784 BACKENDS="$BACKENDS addressbook"
21785 BACKEND_DEFINES="$BACKEND_DEFINES ENABLE_ADDRESSBOOK"
21786 for source in addressbook
21788 SYNCSOURCES="$SYNCSOURCES src/backends/addressbook/syncaddressbook.la"
21793 if test "$enable_addressbook" = "yes"; then
21795 $as_echo "#define ENABLE_ADDRESSBOOK 1" >>confdefs.h
21797 DEVICE_TYPE=MacOS_X
21803 # ^^^^^^^^^^^^^^ src/backends/addressbook/configure-sub.in ^^^^^^^^^^^^^^
21805 # vvvvvvvvvvvvvv src/backends/akonadi/configure-sub.in vvvvvvvvvvvvvv
21807 for ac_prog in qmake qmake-qt4
21809 # Extract the first word of "$ac_prog", so it can be a program name with args.
21810 set dummy $ac_prog; ac_word=$2
21811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21812 $as_echo_n "checking for $ac_word... " >&6; }
21813 if ${ac_cv_prog_QMAKE+:} false; then :
21814 $as_echo_n "(cached) " >&6
21816 if test -n "$QMAKE"; then
21817 ac_cv_prog_QMAKE="$QMAKE" # Let the user override the test.
21819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21820 for as_dir in $PATH
21823 test -z "$as_dir" && as_dir=.
21824 for ac_exec_ext in '' $ac_executable_extensions; do
21825 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21826 ac_cv_prog_QMAKE="$ac_prog"
21827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21836 QMAKE=$ac_cv_prog_QMAKE
21837 if test -n "$QMAKE"; then
21838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QMAKE" >&5
21839 $as_echo "$QMAKE" >&6; }
21841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21842 $as_echo "no" >&6; }
21846 test -n "$QMAKE" && break
21850 # Check for Akonadi. There is no .pc file for it,
21851 # so fall back to normal header file and library checking.
21852 # kdepimlibs5-dev >= 4.3 provides the necessary files.
21854 if ! test "$KDEPIM_CFLAGS"; then
21855 KDEPIM_CFLAGS="-I`kde4-config --path include` -I`kde4-config --path include`/KDE"
21856 if test "$QMAKE"; then
21857 KDEPIM_CFLAGS="$KDEPIM_CFLAGS -I`$QMAKE -query QT_INSTALL_HEADERS` -I`$QMAKE -query QT_INSTALL_HEADERS`/QtCore"
21860 if ! test "$KDEPIM_LIBS"; then
21861 KDEPIM_LIBS="-L`kde4-config --install lib` -lakonadi-kde `pkg-config --libs QtDBus` -lQtCore -lkdeui -lkdecore"
21864 ac_cpp='$CXXCPP $CPPFLAGS'
21865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21869 old_CPPFLAGS="$CPPFLAGS"
21870 CPPFLAGS="$CPPFLAGS $KDEPIM_CFLAGS"
21871 for ac_header in Akonadi/Collection
21873 ac_fn_cxx_check_header_mongrel "$LINENO" "Akonadi/Collection" "ac_cv_header_Akonadi_Collection" "$ac_includes_default"
21874 if test "x$ac_cv_header_Akonadi_Collection" = xyes; then :
21875 cat >>confdefs.h <<_ACEOF
21876 #define HAVE_AKONADI_COLLECTION 1
21885 CPPFLAGS="$old_CPPFLAGS"
21887 ac_cpp='$CXXCPP $CPPFLAGS'
21888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21893 # In contrast to the Evolution backend, the Akonadi backend is
21894 # currently considered optional. "configure" will enable it only
21895 # if explicitly enabled (was turned on automatically previously,
21896 # for example on Ubuntu Hardy, and didn't compile).
21898 # Check whether --enable-akonadi was given.
21899 if test "${enable_akonadi+set}" = set; then :
21900 enableval=$enable_akonadi; enable_akonadi="$enableval"
21901 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
21907 BACKENDS="$BACKENDS akonadi"
21908 BACKEND_DEFINES="$BACKEND_DEFINES ENABLE_AKONADI"
21909 for source in akonadi
21911 SYNCSOURCES="$SYNCSOURCES src/backends/akonadi/syncakonadi.la"
21916 if test "$enable_akonadi" = "yes"; then
21917 # conditional compilation in preprocessor
21919 $as_echo "#define ENABLE_AKONADI 1" >>confdefs.h
21922 # avoid unneeded dependencies on Akonadi
21929 # conditional compilation in make
21930 if test "$enable_akonadi" = "yes"; then
21931 ENABLE_AKONADI_TRUE=
21932 ENABLE_AKONADI_FALSE='#'
21934 ENABLE_AKONADI_TRUE='#'
21935 ENABLE_AKONADI_FALSE=
21939 # let others include Akonadi backend's header file
21940 # (not strictly necessary, could be avoided by not
21941 # including Akonadi header files in public header file
21943 BACKEND_CPPFLAGS="$BACKEND_CPPFLAGS $KDEPIM_CFLAGS"
21944 # ^^^^^^^^^^^^^^ src/backends/akonadi/configure-sub.in ^^^^^^^^^^^^^^
21946 # vvvvvvvvvvvvvv src/backends/evolution/configure-sub.in vvvvvvvvvvvvvv
21949 Please install the development packages of Evolution and/or
21950 set the PKG_CONFIG_PATH variable so that it points towards
21951 the .pc files of libedataserver, libecal and libebook (the
21952 latter two are optional).
21954 You can check that these packages are available by running
21955 pkg-config --list-all."
21957 evomissing="No compatible evolution-data-server was found.
21962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPACKAGE" >&5
21963 $as_echo_n "checking for EPACKAGE... " >&6; }
21965 if test -n "$EPACKAGE_CFLAGS"; then
21966 pkg_cv_EPACKAGE_CFLAGS="$EPACKAGE_CFLAGS"
21967 elif test -n "$PKG_CONFIG"; then
21968 if test -n "$PKG_CONFIG" && \
21969 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libedataserver-1.2\""; } >&5
21970 ($PKG_CONFIG --exists --print-errors "libedataserver-1.2") 2>&5
21972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21973 test $ac_status = 0; }; then
21974 pkg_cv_EPACKAGE_CFLAGS=`$PKG_CONFIG --cflags "libedataserver-1.2" 2>/dev/null`
21975 test "x$?" != "x0" && pkg_failed=yes
21982 if test -n "$EPACKAGE_LIBS"; then
21983 pkg_cv_EPACKAGE_LIBS="$EPACKAGE_LIBS"
21984 elif test -n "$PKG_CONFIG"; then
21985 if test -n "$PKG_CONFIG" && \
21986 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libedataserver-1.2\""; } >&5
21987 ($PKG_CONFIG --exists --print-errors "libedataserver-1.2") 2>&5
21989 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21990 test $ac_status = 0; }; then
21991 pkg_cv_EPACKAGE_LIBS=`$PKG_CONFIG --libs "libedataserver-1.2" 2>/dev/null`
21992 test "x$?" != "x0" && pkg_failed=yes
22002 if test $pkg_failed = yes; then
22003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22004 $as_echo "no" >&6; }
22006 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22007 _pkg_short_errors_supported=yes
22009 _pkg_short_errors_supported=no
22011 if test $_pkg_short_errors_supported = yes; then
22012 EPACKAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libedataserver-1.2" 2>&1`
22014 EPACKAGE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libedataserver-1.2" 2>&1`
22016 # Put the nasty error message in config.log where it belongs
22017 echo "$EPACKAGE_PKG_ERRORS" >&5
22020 elif test $pkg_failed = untried; then
22021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22022 $as_echo "no" >&6; }
22025 EPACKAGE_CFLAGS=$pkg_cv_EPACKAGE_CFLAGS
22026 EPACKAGE_LIBS=$pkg_cv_EPACKAGE_LIBS
22027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22028 $as_echo "yes" >&6; }
22033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECAL" >&5
22034 $as_echo_n "checking for ECAL... " >&6; }
22036 if test -n "$ECAL_CFLAGS"; then
22037 pkg_cv_ECAL_CFLAGS="$ECAL_CFLAGS"
22038 elif test -n "$PKG_CONFIG"; then
22039 if test -n "$PKG_CONFIG" && \
22040 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libecal-1.2\""; } >&5
22041 ($PKG_CONFIG --exists --print-errors "libecal-1.2") 2>&5
22043 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22044 test $ac_status = 0; }; then
22045 pkg_cv_ECAL_CFLAGS=`$PKG_CONFIG --cflags "libecal-1.2" 2>/dev/null`
22046 test "x$?" != "x0" && pkg_failed=yes
22053 if test -n "$ECAL_LIBS"; then
22054 pkg_cv_ECAL_LIBS="$ECAL_LIBS"
22055 elif test -n "$PKG_CONFIG"; then
22056 if test -n "$PKG_CONFIG" && \
22057 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libecal-1.2\""; } >&5
22058 ($PKG_CONFIG --exists --print-errors "libecal-1.2") 2>&5
22060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22061 test $ac_status = 0; }; then
22062 pkg_cv_ECAL_LIBS=`$PKG_CONFIG --libs "libecal-1.2" 2>/dev/null`
22063 test "x$?" != "x0" && pkg_failed=yes
22073 if test $pkg_failed = yes; then
22074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22075 $as_echo "no" >&6; }
22077 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22078 _pkg_short_errors_supported=yes
22080 _pkg_short_errors_supported=no
22082 if test $_pkg_short_errors_supported = yes; then
22083 ECAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libecal-1.2" 2>&1`
22085 ECAL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libecal-1.2" 2>&1`
22087 # Put the nasty error message in config.log where it belongs
22088 echo "$ECAL_PKG_ERRORS" >&5
22091 elif test $pkg_failed = untried; then
22092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22093 $as_echo "no" >&6; }
22096 ECAL_CFLAGS=$pkg_cv_ECAL_CFLAGS
22097 ECAL_LIBS=$pkg_cv_ECAL_LIBS
22098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22099 $as_echo "yes" >&6; }
22104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBOOK" >&5
22105 $as_echo_n "checking for EBOOK... " >&6; }
22107 if test -n "$EBOOK_CFLAGS"; then
22108 pkg_cv_EBOOK_CFLAGS="$EBOOK_CFLAGS"
22109 elif test -n "$PKG_CONFIG"; then
22110 if test -n "$PKG_CONFIG" && \
22111 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libebook-1.2\""; } >&5
22112 ($PKG_CONFIG --exists --print-errors "libebook-1.2") 2>&5
22114 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22115 test $ac_status = 0; }; then
22116 pkg_cv_EBOOK_CFLAGS=`$PKG_CONFIG --cflags "libebook-1.2" 2>/dev/null`
22117 test "x$?" != "x0" && pkg_failed=yes
22124 if test -n "$EBOOK_LIBS"; then
22125 pkg_cv_EBOOK_LIBS="$EBOOK_LIBS"
22126 elif test -n "$PKG_CONFIG"; then
22127 if test -n "$PKG_CONFIG" && \
22128 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libebook-1.2\""; } >&5
22129 ($PKG_CONFIG --exists --print-errors "libebook-1.2") 2>&5
22131 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22132 test $ac_status = 0; }; then
22133 pkg_cv_EBOOK_LIBS=`$PKG_CONFIG --libs "libebook-1.2" 2>/dev/null`
22134 test "x$?" != "x0" && pkg_failed=yes
22144 if test $pkg_failed = yes; then
22145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22146 $as_echo "no" >&6; }
22148 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22149 _pkg_short_errors_supported=yes
22151 _pkg_short_errors_supported=no
22153 if test $_pkg_short_errors_supported = yes; then
22154 EBOOK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libebook-1.2" 2>&1`
22156 EBOOK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libebook-1.2" 2>&1`
22158 # Put the nasty error message in config.log where it belongs
22159 echo "$EBOOK_PKG_ERRORS" >&5
22162 elif test $pkg_failed = untried; then
22163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22164 $as_echo "no" >&6; }
22167 EBOOK_CFLAGS=$pkg_cv_EBOOK_CFLAGS
22168 EBOOK_LIBS=$pkg_cv_EBOOK_LIBS
22169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22170 $as_echo "yes" >&6; }
22176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBOOK_VERSION" >&5
22177 $as_echo_n "checking for EBOOK_VERSION... " >&6; }
22179 if test -n "$EBOOK_VERSION_CFLAGS"; then
22180 pkg_cv_EBOOK_VERSION_CFLAGS="$EBOOK_VERSION_CFLAGS"
22181 elif test -n "$PKG_CONFIG"; then
22182 if test -n "$PKG_CONFIG" && \
22183 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libebook-1.2 >= 3.3\""; } >&5
22184 ($PKG_CONFIG --exists --print-errors "libebook-1.2 >= 3.3") 2>&5
22186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22187 test $ac_status = 0; }; then
22188 pkg_cv_EBOOK_VERSION_CFLAGS=`$PKG_CONFIG --cflags "libebook-1.2 >= 3.3" 2>/dev/null`
22189 test "x$?" != "x0" && pkg_failed=yes
22196 if test -n "$EBOOK_VERSION_LIBS"; then
22197 pkg_cv_EBOOK_VERSION_LIBS="$EBOOK_VERSION_LIBS"
22198 elif test -n "$PKG_CONFIG"; then
22199 if test -n "$PKG_CONFIG" && \
22200 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libebook-1.2 >= 3.3\""; } >&5
22201 ($PKG_CONFIG --exists --print-errors "libebook-1.2 >= 3.3") 2>&5
22203 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22204 test $ac_status = 0; }; then
22205 pkg_cv_EBOOK_VERSION_LIBS=`$PKG_CONFIG --libs "libebook-1.2 >= 3.3" 2>/dev/null`
22206 test "x$?" != "x0" && pkg_failed=yes
22216 if test $pkg_failed = yes; then
22217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22218 $as_echo "no" >&6; }
22220 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22221 _pkg_short_errors_supported=yes
22223 _pkg_short_errors_supported=no
22225 if test $_pkg_short_errors_supported = yes; then
22226 EBOOK_VERSION_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libebook-1.2 >= 3.3" 2>&1`
22228 EBOOK_VERSION_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libebook-1.2 >= 3.3" 2>&1`
22230 # Put the nasty error message in config.log where it belongs
22231 echo "$EBOOK_VERSION_PKG_ERRORS" >&5
22234 elif test $pkg_failed = untried; then
22235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22236 $as_echo "no" >&6; }
22239 EBOOK_VERSION_CFLAGS=$pkg_cv_EBOOK_VERSION_CFLAGS
22240 EBOOK_VERSION_LIBS=$pkg_cv_EBOOK_VERSION_LIBS
22241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22242 $as_echo "yes" >&6; }
22244 $as_echo "#define HAVE_E_CONTACT_INLINE_LOCAL_PHOTOS 1" >>confdefs.h
22249 # Check whether --enable-ebook was given.
22250 if test "${enable_ebook+set}" = set; then :
22251 enableval=$enable_ebook; enable_ebook="$enableval"
22253 test "$EBOOKFOUND" = "yes" && enable_ebook="yes" ||
22254 as_fn_error $? "libebook not found. Use --disable-ebook to compile without or install the necessary development files." "$LINENO" 5
22258 BACKENDS="$BACKENDS ebook"
22259 BACKEND_DEFINES="$BACKEND_DEFINES ENABLE_EBOOK"
22260 for source in evolution
22262 SYNCSOURCES="$SYNCSOURCES src/backends/evolution/syncebook.la"
22267 # Check whether --enable-ecal was given.
22268 if test "${enable_ecal+set}" = set; then :
22269 enableval=$enable_ecal; enable_ecal="$enableval"
22271 test "$ECALFOUND" = "yes" && enable_ecal="yes" ||
22272 as_fn_error $? "libecal not found. Use --disable-ecal to compile without or install the necessary development files." "$LINENO" 5
22276 BACKENDS="$BACKENDS ecal"
22277 BACKEND_DEFINES="$BACKEND_DEFINES ENABLE_ECAL"
22278 for source in evolution
22280 SYNCSOURCES="$SYNCSOURCES src/backends/evolution/syncecal.la"
22286 if test "$enable_ebook" = "yes"; then
22287 test "x${EBOOKFOUND}" = "xyes" || as_fn_error $? "--enable-ebook requires pkg-config information for libebook, which was not found" "$LINENO" 5
22289 $as_echo "#define ENABLE_EBOOK 1" >>confdefs.h
22297 if test "$enable_ecal" = "yes"; then
22299 ENABLE_ECAL_FALSE='#'
22301 ENABLE_ECAL_TRUE='#'
22305 if test "$enable_ecal" = "yes"; then
22307 test "x${ECALFOUND}" = "xyes" || as_fn_error $? "--enable-ecal requires pkg-config information for libecal, which was not found\"" "$LINENO" 5
22309 $as_echo "#define ENABLE_ECAL 1" >>confdefs.h
22317 if test "$enable_evo" = "yes"; then
22319 if test "$EDSFOUND" = "yes"; then
22321 $as_echo "#define HAVE_EDS 1" >>confdefs.h
22324 as_fn_error $? "$evomissing" "$LINENO" 5
22326 # Only the EClient code supports the API in EDS 3.5.x.
22329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDS_VERSION" >&5
22330 $as_echo_n "checking for EDS_VERSION... " >&6; }
22332 if test -n "$EDS_VERSION_CFLAGS"; then
22333 pkg_cv_EDS_VERSION_CFLAGS="$EDS_VERSION_CFLAGS"
22334 elif test -n "$PKG_CONFIG"; then
22335 if test -n "$PKG_CONFIG" && \
22336 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libedataserver-1.2 >= 3.5\""; } >&5
22337 ($PKG_CONFIG --exists --print-errors "libedataserver-1.2 >= 3.5") 2>&5
22339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22340 test $ac_status = 0; }; then
22341 pkg_cv_EDS_VERSION_CFLAGS=`$PKG_CONFIG --cflags "libedataserver-1.2 >= 3.5" 2>/dev/null`
22342 test "x$?" != "x0" && pkg_failed=yes
22349 if test -n "$EDS_VERSION_LIBS"; then
22350 pkg_cv_EDS_VERSION_LIBS="$EDS_VERSION_LIBS"
22351 elif test -n "$PKG_CONFIG"; then
22352 if test -n "$PKG_CONFIG" && \
22353 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libedataserver-1.2 >= 3.5\""; } >&5
22354 ($PKG_CONFIG --exists --print-errors "libedataserver-1.2 >= 3.5") 2>&5
22356 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22357 test $ac_status = 0; }; then
22358 pkg_cv_EDS_VERSION_LIBS=`$PKG_CONFIG --libs "libedataserver-1.2 >= 3.5" 2>/dev/null`
22359 test "x$?" != "x0" && pkg_failed=yes
22369 if test $pkg_failed = yes; then
22370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22371 $as_echo "no" >&6; }
22373 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22374 _pkg_short_errors_supported=yes
22376 _pkg_short_errors_supported=no
22378 if test $_pkg_short_errors_supported = yes; then
22379 EDS_VERSION_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libedataserver-1.2 >= 3.5" 2>&1`
22381 EDS_VERSION_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libedataserver-1.2 >= 3.5" 2>&1`
22383 # Put the nasty error message in config.log where it belongs
22384 echo "$EDS_VERSION_PKG_ERRORS" >&5
22386 CFLAGS_old="$CFLAGS"
22387 CFLAGS="$CFLAGS $EPACKAGE_CFLAGS"
22388 for ac_header in libedataserver/eds-version.h
22390 ac_fn_cxx_check_header_mongrel "$LINENO" "libedataserver/eds-version.h" "ac_cv_header_libedataserver_eds_version_h" "$ac_includes_default"
22391 if test "x$ac_cv_header_libedataserver_eds_version_h" = xyes; then :
22392 cat >>confdefs.h <<_ACEOF
22393 #define HAVE_LIBEDATASERVER_EDS_VERSION_H 1
22400 CFLAGS="$CFLAGS_old"
22401 elif test $pkg_failed = untried; then
22402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22403 $as_echo "no" >&6; }
22404 CFLAGS_old="$CFLAGS"
22405 CFLAGS="$CFLAGS $EPACKAGE_CFLAGS"
22406 for ac_header in libedataserver/eds-version.h
22408 ac_fn_cxx_check_header_mongrel "$LINENO" "libedataserver/eds-version.h" "ac_cv_header_libedataserver_eds_version_h" "$ac_includes_default"
22409 if test "x$ac_cv_header_libedataserver_eds_version_h" = xyes; then :
22410 cat >>confdefs.h <<_ACEOF
22411 #define HAVE_LIBEDATASERVER_EDS_VERSION_H 1
22418 CFLAGS="$CFLAGS_old"
22420 EDS_VERSION_CFLAGS=$pkg_cv_EDS_VERSION_CFLAGS
22421 EDS_VERSION_LIBS=$pkg_cv_EDS_VERSION_LIBS
22422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22423 $as_echo "yes" >&6; }
22425 $as_echo "#define USE_EDS_CLIENT 1" >>confdefs.h
22427 # Was used for a while (ESourceBackendSummarySetup), but not anymore.
22428 # Don't depend on it, it wasn't in 3.6 yet.
22429 # PKG_CHECK_MODULES(EBOOKCONTACTS, libebook-contacts-1.2)
22430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for e_book_client_new_direct in -lebook-1.2" >&5
22431 $as_echo_n "checking for e_book_client_new_direct in -lebook-1.2... " >&6; }
22432 if ${ac_cv_lib_ebook_1_2_e_book_client_new_direct+:} false; then :
22433 $as_echo_n "(cached) " >&6
22435 ac_check_lib_save_LIBS=$LIBS
22436 LIBS="-lebook-1.2 $EDS_VERSION_LIBS $LIBS"
22437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22438 /* end confdefs.h. */
22440 /* Override any GCC internal prototype to avoid an error.
22441 Use char because int might match the return type of a GCC
22442 builtin and then its argument prototype would still apply. */
22446 char e_book_client_new_direct ();
22450 return e_book_client_new_direct ();
22455 if ac_fn_cxx_try_link "$LINENO"; then :
22456 ac_cv_lib_ebook_1_2_e_book_client_new_direct=yes
22458 ac_cv_lib_ebook_1_2_e_book_client_new_direct=no
22460 rm -f core conftest.err conftest.$ac_objext \
22461 conftest$ac_exeext conftest.$ac_ext
22462 LIBS=$ac_check_lib_save_LIBS
22464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ebook_1_2_e_book_client_new_direct" >&5
22465 $as_echo "$ac_cv_lib_ebook_1_2_e_book_client_new_direct" >&6; }
22466 if test "x$ac_cv_lib_ebook_1_2_e_book_client_new_direct" = xyes; then :
22468 $as_echo "#define HAVE_E_BOOK_CLIENT_NEW_DIRECT 1" >>confdefs.h
22474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for e_book_client_connect_direct_sync in -lebook-1.2" >&5
22475 $as_echo_n "checking for e_book_client_connect_direct_sync in -lebook-1.2... " >&6; }
22476 if ${ac_cv_lib_ebook_1_2_e_book_client_connect_direct_sync+:} false; then :
22477 $as_echo_n "(cached) " >&6
22479 ac_check_lib_save_LIBS=$LIBS
22480 LIBS="-lebook-1.2 $EDS_VERSION_LIBS $LIBS"
22481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22482 /* end confdefs.h. */
22484 /* Override any GCC internal prototype to avoid an error.
22485 Use char because int might match the return type of a GCC
22486 builtin and then its argument prototype would still apply. */
22490 char e_book_client_connect_direct_sync ();
22494 return e_book_client_connect_direct_sync ();
22499 if ac_fn_cxx_try_link "$LINENO"; then :
22500 ac_cv_lib_ebook_1_2_e_book_client_connect_direct_sync=yes
22502 ac_cv_lib_ebook_1_2_e_book_client_connect_direct_sync=no
22504 rm -f core conftest.err conftest.$ac_objext \
22505 conftest$ac_exeext conftest.$ac_ext
22506 LIBS=$ac_check_lib_save_LIBS
22508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ebook_1_2_e_book_client_connect_direct_sync" >&5
22509 $as_echo "$ac_cv_lib_ebook_1_2_e_book_client_connect_direct_sync" >&6; }
22510 if test "x$ac_cv_lib_ebook_1_2_e_book_client_connect_direct_sync" = xyes; then :
22512 $as_echo "#define HAVE_E_BOOK_CLIENT_CONNECT_DIRECT_SYNC 1" >>confdefs.h
22525 BACKEND_CPPFLAGS="$BACKEND_CPPFLAGS $EPACKAGE_CFLAGS $ECAL_CFLAGS $EBOOK_CFLAGS $EBOOKCONTACTS_CFLAGS"
22526 # ^^^^^^^^^^^^^^ src/backends/evolution/configure-sub.in ^^^^^^^^^^^^^^
22528 # vvvvvvvvvvvvvv src/backends/file/configure-sub.in vvvvvvvvvvvvvv
22536 BACKEND_CPPFLAGS="$BACKEND_CPPFLAGS $FILE_CFLAGS"
22539 # Check whether --enable-file was given.
22540 if test "${enable_file+set}" = set; then :
22541 enableval=$enable_file; enable_file="$enableval"
22547 BACKENDS="$BACKENDS file"
22548 BACKEND_DEFINES="$BACKEND_DEFINES ENABLE_FILE"
22551 SYNCSOURCES="$SYNCSOURCES src/backends/file/syncfile.la"
22556 if test "$enable_file" = "yes"; then
22558 $as_echo "#define ENABLE_FILE 1" >>confdefs.h
22561 # ^^^^^^^^^^^^^^ src/backends/file/configure-sub.in ^^^^^^^^^^^^^^
22563 # vvvvvvvvvvvvvv src/backends/gnome/configure-sub.in vvvvvvvvvvvvvv
22566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for KEYRING" >&5
22567 $as_echo_n "checking for KEYRING... " >&6; }
22569 if test -n "$KEYRING_CFLAGS"; then
22570 pkg_cv_KEYRING_CFLAGS="$KEYRING_CFLAGS"
22571 elif test -n "$PKG_CONFIG"; then
22572 if test -n "$PKG_CONFIG" && \
22573 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-keyring-1 >= 2.20\""; } >&5
22574 ($PKG_CONFIG --exists --print-errors "gnome-keyring-1 >= 2.20") 2>&5
22576 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22577 test $ac_status = 0; }; then
22578 pkg_cv_KEYRING_CFLAGS=`$PKG_CONFIG --cflags "gnome-keyring-1 >= 2.20" 2>/dev/null`
22579 test "x$?" != "x0" && pkg_failed=yes
22586 if test -n "$KEYRING_LIBS"; then
22587 pkg_cv_KEYRING_LIBS="$KEYRING_LIBS"
22588 elif test -n "$PKG_CONFIG"; then
22589 if test -n "$PKG_CONFIG" && \
22590 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-keyring-1 >= 2.20\""; } >&5
22591 ($PKG_CONFIG --exists --print-errors "gnome-keyring-1 >= 2.20") 2>&5
22593 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22594 test $ac_status = 0; }; then
22595 pkg_cv_KEYRING_LIBS=`$PKG_CONFIG --libs "gnome-keyring-1 >= 2.20" 2>/dev/null`
22596 test "x$?" != "x0" && pkg_failed=yes
22606 if test $pkg_failed = yes; then
22607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22608 $as_echo "no" >&6; }
22610 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22611 _pkg_short_errors_supported=yes
22613 _pkg_short_errors_supported=no
22615 if test $_pkg_short_errors_supported = yes; then
22616 KEYRING_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gnome-keyring-1 >= 2.20" 2>&1`
22618 KEYRING_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gnome-keyring-1 >= 2.20" 2>&1`
22620 # Put the nasty error message in config.log where it belongs
22621 echo "$KEYRING_PKG_ERRORS" >&5
22624 elif test $pkg_failed = untried; then
22625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22626 $as_echo "no" >&6; }
22629 KEYRING_CFLAGS=$pkg_cv_KEYRING_CFLAGS
22630 KEYRING_LIBS=$pkg_cv_KEYRING_LIBS
22631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22632 $as_echo "yes" >&6; }
22635 # Check whether --enable-gnome-keyring was given.
22636 if test "${enable_gnome_keyring+set}" = set; then :
22637 enableval=$enable_gnome_keyring; enable_gnome_keyring="$enableval"
22638 test "$enable_gnome_keyring" = "yes" || test "$enable_gnome_keyring" = "no" || as_fn_error $? "invalid value for --enable-gnome-keyring: $enable_gnome_keyring" "$LINENO" 5
22639 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
22641 enable_gnome_keyring="$HAVE_KEYRING"
22644 if test $enable_gnome_keyring = "yes"; then
22647 $as_echo "#define USE_GNOME_KEYRING 1" >>confdefs.h
22649 # link into static executables, similar to a SyncSource
22650 SYNCSOURCES="$SYNCSOURCES src/backends/gnome/platformgnome.la"
22652 # ^^^^^^^^^^^^^^ src/backends/gnome/configure-sub.in ^^^^^^^^^^^^^^
22654 # vvvvvvvvvvvvvv src/backends/goa/configure-sub.in vvvvvvvvvvvvvv
22655 # Check whether --enable-goa was given.
22656 if test "${enable_goa+set}" = set; then :
22657 enableval=$enable_goa; enable_goa="$enableval"
22658 test "$enable_goa" = "yes" || test "$enable_goa" = "no" || as_fn_error $? "invalid value for --enable-goa: $enable_goa" "$LINENO" 5
22664 if test $enable_goa = "yes"; then
22666 $as_echo "#define USE_GOA 1" >>confdefs.h
22668 # link into static executables, similar to a SyncSource
22669 SYNCSOURCES="$SYNCSOURCES src/backends/goa/providergoa.la"
22672 # conditional compilation in make
22673 if test "$use_goa" = "yes"; then
22681 # ^^^^^^^^^^^^^^ src/backends/goa/configure-sub.in ^^^^^^^^^^^^^^
22683 # vvvvvvvvvvvvvv src/backends/kcalextended/configure-sub.in vvvvvvvvvvvvvv
22685 # BACKEND_CPPFLAGS="$BACKEND_CPPFLAGS ..."
22688 # Check whether --enable-kcalextended was given.
22689 if test "${enable_kcalextended+set}" = set; then :
22690 enableval=$enable_kcalextended; enable_kcalextended="$enableval"
22692 enable_kcalextended="no"
22696 BACKENDS="$BACKENDS kcalextended"
22697 BACKEND_DEFINES="$BACKEND_DEFINES ENABLE_KCALEXTENDED"
22698 for source in kcalextended
22700 SYNCSOURCES="$SYNCSOURCES src/backends/kcalextended/synckcalextended.la"
22705 if test "$enable_kcalextended" = "yes"; then
22707 $as_echo "#define ENABLE_KCALEXTENDED 1" >>confdefs.h
22711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for KCALEXTENDED" >&5
22712 $as_echo_n "checking for KCALEXTENDED... " >&6; }
22714 if test -n "$KCALEXTENDED_CFLAGS"; then
22715 pkg_cv_KCALEXTENDED_CFLAGS="$KCALEXTENDED_CFLAGS"
22716 elif test -n "$PKG_CONFIG"; then
22717 if test -n "$PKG_CONFIG" && \
22718 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmkcal libkcalcoren\""; } >&5
22719 ($PKG_CONFIG --exists --print-errors "libmkcal libkcalcoren") 2>&5
22721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22722 test $ac_status = 0; }; then
22723 pkg_cv_KCALEXTENDED_CFLAGS=`$PKG_CONFIG --cflags "libmkcal libkcalcoren" 2>/dev/null`
22724 test "x$?" != "x0" && pkg_failed=yes
22731 if test -n "$KCALEXTENDED_LIBS"; then
22732 pkg_cv_KCALEXTENDED_LIBS="$KCALEXTENDED_LIBS"
22733 elif test -n "$PKG_CONFIG"; then
22734 if test -n "$PKG_CONFIG" && \
22735 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmkcal libkcalcoren\""; } >&5
22736 ($PKG_CONFIG --exists --print-errors "libmkcal libkcalcoren") 2>&5
22738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22739 test $ac_status = 0; }; then
22740 pkg_cv_KCALEXTENDED_LIBS=`$PKG_CONFIG --libs "libmkcal libkcalcoren" 2>/dev/null`
22741 test "x$?" != "x0" && pkg_failed=yes
22751 if test $pkg_failed = yes; then
22752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22753 $as_echo "no" >&6; }
22755 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22756 _pkg_short_errors_supported=yes
22758 _pkg_short_errors_supported=no
22760 if test $_pkg_short_errors_supported = yes; then
22761 KCALEXTENDED_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libmkcal libkcalcoren" 2>&1`
22763 KCALEXTENDED_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libmkcal libkcalcoren" 2>&1`
22765 # Put the nasty error message in config.log where it belongs
22766 echo "$KCALEXTENDED_PKG_ERRORS" >&5
22768 as_fn_error $? "Package requirements (libmkcal libkcalcoren) were not met:
22770 $KCALEXTENDED_PKG_ERRORS
22772 Consider adjusting the PKG_CONFIG_PATH environment variable if you
22773 installed software in a non-standard prefix.
22775 Alternatively, you may set the environment variables KCALEXTENDED_CFLAGS
22776 and KCALEXTENDED_LIBS to avoid the need to call pkg-config.
22777 See the pkg-config man page for more details." "$LINENO" 5
22778 elif test $pkg_failed = untried; then
22779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22780 $as_echo "no" >&6; }
22781 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22782 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22783 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
22784 is in your PATH or set the PKG_CONFIG environment variable to the full
22785 path to pkg-config.
22787 Alternatively, you may set the environment variables KCALEXTENDED_CFLAGS
22788 and KCALEXTENDED_LIBS to avoid the need to call pkg-config.
22789 See the pkg-config man page for more details.
22791 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22792 See \`config.log' for more details" "$LINENO" 5; }
22794 KCALEXTENDED_CFLAGS=$pkg_cv_KCALEXTENDED_CFLAGS
22795 KCALEXTENDED_LIBS=$pkg_cv_KCALEXTENDED_LIBS
22796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22797 $as_echo "yes" >&6; }
22801 # ^^^^^^^^^^^^^^ src/backends/kcalextended/configure-sub.in ^^^^^^^^^^^^^^
22803 # vvvvvvvvvvvvvv src/backends/kde/configure-sub.in vvvvvvvvvvvvvv
22804 # first check for qmake-qt4, because qmake may point to qmake-qt3.
22805 for ac_prog in qmake-qt4 qmake
22807 # Extract the first word of "$ac_prog", so it can be a program name with args.
22808 set dummy $ac_prog; ac_word=$2
22809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22810 $as_echo_n "checking for $ac_word... " >&6; }
22811 if ${ac_cv_prog_QMAKE+:} false; then :
22812 $as_echo_n "(cached) " >&6
22814 if test -n "$QMAKE"; then
22815 ac_cv_prog_QMAKE="$QMAKE" # Let the user override the test.
22817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22818 for as_dir in $PATH
22821 test -z "$as_dir" && as_dir=.
22822 for ac_exec_ext in '' $ac_executable_extensions; do
22823 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22824 ac_cv_prog_QMAKE="$ac_prog"
22825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22834 QMAKE=$ac_cv_prog_QMAKE
22835 if test -n "$QMAKE"; then
22836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QMAKE" >&5
22837 $as_echo "$QMAKE" >&6; }
22839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22840 $as_echo "no" >&6; }
22844 test -n "$QMAKE" && break
22848 if test "x$QMAKE" != 'x'
22850 # Extract the first word of "kde4-config", so it can be a program name with args.
22851 set dummy kde4-config; ac_word=$2
22852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22853 $as_echo_n "checking for $ac_word... " >&6; }
22854 if ${ac_cv_path_KDE4_CONFIG+:} false; then :
22855 $as_echo_n "(cached) " >&6
22857 case $KDE4_CONFIG in
22859 ac_cv_path_KDE4_CONFIG="$KDE4_CONFIG" # Let the user override the test with a path.
22862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22863 for as_dir in $PATH
22866 test -z "$as_dir" && as_dir=.
22867 for ac_exec_ext in '' $ac_executable_extensions; do
22868 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22869 ac_cv_path_KDE4_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22877 test -z "$ac_cv_path_KDE4_CONFIG" && ac_cv_path_KDE4_CONFIG="no"
22881 KDE4_CONFIG=$ac_cv_path_KDE4_CONFIG
22882 if test -n "$KDE4_CONFIG"; then
22883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KDE4_CONFIG" >&5
22884 $as_echo "$KDE4_CONFIG" >&6; }
22886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22887 $as_echo "no" >&6; }
22892 if test "x$KDE4_CONFIG" != 'xno'
22894 KDEKWALLETFOUND=yes
22895 if ! test "$KDE_KWALLET_CFLAGS"; then
22896 KDE_KWALLET_CFLAGS="-I`$KDE4_CONFIG --path include` -I`$KDE4_CONFIG --path include`/KDE `pkg-config --cflags QtDBus QtCore`"
22898 if ! test "$KDE_KWALLET_LIBS"; then
22899 KDE_KWALLET_LIBS="-lkdeui -lkdecore -L`kde4-config --install lib` `pkg-config --libs QtDBus QtCore`"
22902 ac_cpp='$CXXCPP $CPPFLAGS'
22903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22907 old_CPPFLAGS="$CPPFLAGS"
22908 CPPFLAGS="$CPPFLAGS $KDE_KWALLET_CFLAGS"
22909 for ac_header in kwallet.h
22911 ac_fn_cxx_check_header_mongrel "$LINENO" "kwallet.h" "ac_cv_header_kwallet_h" "$ac_includes_default"
22912 if test "x$ac_cv_header_kwallet_h" = xyes; then :
22913 cat >>confdefs.h <<_ACEOF
22914 #define HAVE_KWALLET_H 1
22923 CPPFLAGS="$old_CPPFLAGS"
22925 ac_cpp='$CXXCPP $CPPFLAGS'
22926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22937 # In contrast to the GNOME KEYRING, the KWallet is
22938 # currently considered optional. "configure" will never enable
22939 # by default, because that is a change that might not be
22940 # expected by traditional users.
22941 # Check whether --enable-kwallet was given.
22942 if test "${enable_kwallet+set}" = set; then :
22943 enableval=$enable_kwallet; use_kde_kwallet="$enableval"
22944 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
22946 use_kde_kwallet="no"
22950 if test "$use_kde_kwallet" = "yes"; then
22952 # conditional compilation in preprocessor
22954 $as_echo "#define USE_KDE_KWALLET 1" >>confdefs.h
22956 # link into static executables, similar to a SyncSource
22957 SYNCSOURCES="$SYNCSOURCES src/backends/kde/platformkde.la"
22958 # TODO: KWallet needs Qt. Enable the Qt check in
22959 # configure-post.in, otherwise it fails to compiler
22960 # when none of the backends ask for Qt.
22962 # avoid unneeded dependencies on KWallet
22963 KDE_KWALLET_CFLAGS=
22969 # conditional compilation in make
22970 if test "$use_kde_kwallet" = "yes"; then
22971 USE_KDE_KWALLET_TRUE=
22972 USE_KDE_KWALLET_FALSE='#'
22974 USE_KDE_KWALLET_TRUE='#'
22975 USE_KDE_KWALLET_FALSE=
22978 # ^^^^^^^^^^^^^^ src/backends/kde/configure-sub.in ^^^^^^^^^^^^^^
22980 # vvvvvvvvvvvvvv src/backends/maemo/configure-sub.in vvvvvvvvvvvvvv
22984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MCALB" >&5
22985 $as_echo_n "checking for MCALB... " >&6; }
22987 if test -n "$MCALB_CFLAGS"; then
22988 pkg_cv_MCALB_CFLAGS="$MCALB_CFLAGS"
22989 elif test -n "$PKG_CONFIG"; then
22990 if test -n "$PKG_CONFIG" && \
22991 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"calendar-backend\""; } >&5
22992 ($PKG_CONFIG --exists --print-errors "calendar-backend") 2>&5
22994 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22995 test $ac_status = 0; }; then
22996 pkg_cv_MCALB_CFLAGS=`$PKG_CONFIG --cflags "calendar-backend" 2>/dev/null`
22997 test "x$?" != "x0" && pkg_failed=yes
23004 if test -n "$MCALB_LIBS"; then
23005 pkg_cv_MCALB_LIBS="$MCALB_LIBS"
23006 elif test -n "$PKG_CONFIG"; then
23007 if test -n "$PKG_CONFIG" && \
23008 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"calendar-backend\""; } >&5
23009 ($PKG_CONFIG --exists --print-errors "calendar-backend") 2>&5
23011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23012 test $ac_status = 0; }; then
23013 pkg_cv_MCALB_LIBS=`$PKG_CONFIG --libs "calendar-backend" 2>/dev/null`
23014 test "x$?" != "x0" && pkg_failed=yes
23024 if test $pkg_failed = yes; then
23025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23026 $as_echo "no" >&6; }
23028 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23029 _pkg_short_errors_supported=yes
23031 _pkg_short_errors_supported=no
23033 if test $_pkg_short_errors_supported = yes; then
23034 MCALB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "calendar-backend" 2>&1`
23036 MCALB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "calendar-backend" 2>&1`
23038 # Put the nasty error message in config.log where it belongs
23039 echo "$MCALB_PKG_ERRORS" >&5
23042 elif test $pkg_failed = untried; then
23043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23044 $as_echo "no" >&6; }
23047 MCALB_CFLAGS=$pkg_cv_MCALB_CFLAGS
23048 MCALB_LIBS=$pkg_cv_MCALB_LIBS
23049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23050 $as_echo "yes" >&6; }
23055 BACKEND_CPPFLAGS="$BACKEND_CPPFLAGS $MCALB_CFLAGS"
23058 # Check whether --enable-maemocal was given.
23059 if test "${enable_maemocal+set}" = set; then :
23060 enableval=$enable_maemocal; enable_maemocal="$enableval"
23062 enable_maemocal="no"
23066 BACKENDS="$BACKENDS maemocal"
23067 BACKEND_DEFINES="$BACKEND_DEFINES ENABLE_MAEMOCAL"
23068 for source in maemo
23070 SYNCSOURCES="$SYNCSOURCES src/backends/maemo/syncmaemocal.la"
23075 if test "$enable_maemocal" = "yes"; then
23076 test "x${MCALBFOUND}" = "xyes" || as_fn_error $? "--enable-maemocal requires pkg-config information for calendar-backend, which was not found" "$LINENO" 5
23078 $as_echo "#define ENABLE_MAEMO_CALENDAR 1" >>confdefs.h
23081 # ^^^^^^^^^^^^^^ src/backends/maemo/configure-sub.in ^^^^^^^^^^^^^^
23083 # vvvvvvvvvvvvvv src/backends/pbap/configure-sub.in vvvvvvvvvvvvvv
23091 BACKEND_CPPFLAGS="$BACKEND_CPPFLAGS $PBAP_CFLAGS"
23094 # Check whether --enable-pbap was given.
23095 if test "${enable_pbap+set}" = set; then :
23096 enableval=$enable_pbap; enable_pbap="$enableval"
23102 BACKENDS="$BACKENDS pbap"
23103 BACKEND_DEFINES="$BACKEND_DEFINES ENABLE_PBAP"
23106 SYNCSOURCES="$SYNCSOURCES src/backends/pbap/syncpbap.la"
23111 if test "$enable_pbap" = "yes"; then
23113 $as_echo "#define ENABLE_PBAP 1" >>confdefs.h
23117 # ^^^^^^^^^^^^^^ src/backends/pbap/configure-sub.in ^^^^^^^^^^^^^^
23119 # vvvvvvvvvvvvvv src/backends/qtcontacts/configure-sub.in vvvvvvvvvvvvvv
23121 # BACKEND_CPPFLAGS="$BACKEND_CPPFLAGS ..."
23124 # Check whether --enable-qtcontacts was given.
23125 if test "${enable_qtcontacts+set}" = set; then :
23126 enableval=$enable_qtcontacts; enable_qtcontacts="$enableval"
23128 enable_qtcontacts="no"
23132 BACKENDS="$BACKENDS qtcontacts"
23133 BACKEND_DEFINES="$BACKEND_DEFINES ENABLE_QTCONTACTS"
23134 for source in qtcontacts
23136 SYNCSOURCES="$SYNCSOURCES src/backends/qtcontacts/syncqtcontacts.la"
23141 if test "$enable_qtcontacts" = "yes"; then
23143 $as_echo "#define ENABLE_QTCONTACTS 1" >>confdefs.h
23145 # AC_WITH_QT() will be called in configure-post if need_qt_modules is not empty,
23146 # setting QT_* flags.
23147 need_qt_modules="$need_qt_modules +gui" # GUI needed for QVersit
23148 qt_config="$qt_config +mobility"
23150 MOBILITY += contacts versit"
23153 # ^^^^^^^^^^^^^^ src/backends/qtcontacts/configure-sub.in ^^^^^^^^^^^^^^
23155 # vvvvvvvvvvvvvv src/backends/signon/configure-sub.in vvvvvvvvvvvvvv
23158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSSO" >&5
23159 $as_echo_n "checking for GSSO... " >&6; }
23161 if test -n "$GSSO_CFLAGS"; then
23162 pkg_cv_GSSO_CFLAGS="$GSSO_CFLAGS"
23163 elif test -n "$PKG_CONFIG"; then
23164 if test -n "$PKG_CONFIG" && \
23165 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgsignon-glib libaccounts-glib\""; } >&5
23166 ($PKG_CONFIG --exists --print-errors "libgsignon-glib libaccounts-glib") 2>&5
23168 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23169 test $ac_status = 0; }; then
23170 pkg_cv_GSSO_CFLAGS=`$PKG_CONFIG --cflags "libgsignon-glib libaccounts-glib" 2>/dev/null`
23171 test "x$?" != "x0" && pkg_failed=yes
23178 if test -n "$GSSO_LIBS"; then
23179 pkg_cv_GSSO_LIBS="$GSSO_LIBS"
23180 elif test -n "$PKG_CONFIG"; then
23181 if test -n "$PKG_CONFIG" && \
23182 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgsignon-glib libaccounts-glib\""; } >&5
23183 ($PKG_CONFIG --exists --print-errors "libgsignon-glib libaccounts-glib") 2>&5
23185 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23186 test $ac_status = 0; }; then
23187 pkg_cv_GSSO_LIBS=`$PKG_CONFIG --libs "libgsignon-glib libaccounts-glib" 2>/dev/null`
23188 test "x$?" != "x0" && pkg_failed=yes
23198 if test $pkg_failed = yes; then
23199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23200 $as_echo "no" >&6; }
23202 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23203 _pkg_short_errors_supported=yes
23205 _pkg_short_errors_supported=no
23207 if test $_pkg_short_errors_supported = yes; then
23208 GSSO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libgsignon-glib libaccounts-glib" 2>&1`
23210 GSSO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libgsignon-glib libaccounts-glib" 2>&1`
23212 # Put the nasty error message in config.log where it belongs
23213 echo "$GSSO_PKG_ERRORS" >&5
23216 elif test $pkg_failed = untried; then
23217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23218 $as_echo "no" >&6; }
23221 GSSO_CFLAGS=$pkg_cv_GSSO_CFLAGS
23222 GSSO_LIBS=$pkg_cv_GSSO_LIBS
23223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23224 $as_echo "yes" >&6; }
23228 # Check whether --enable-gsso was given.
23229 if test "${enable_gsso+set}" = set; then :
23230 enableval=$enable_gsso; enable_gsso="$enableval"
23231 test "$enable_gsso" = "yes" || test "$enable_gsso" = "no" || as_fn_error $? "invalid value for --enable-gsso: $enable_gsso" "$LINENO" 5
23232 test "$enable_gsso" = "no" || test "$HAVE_GSSO" = "yes" || as_fn_error $? "required pkg(s) not found that are needed for --enable-gsso" "$LINENO" 5
23234 enable_gsso="$HAVE_GSSO"
23237 if test $enable_gsso = "yes"; then
23239 $as_echo "#define USE_GSSO 1" >>confdefs.h
23241 # link into static executables, similar to a SyncSource
23242 SYNCSOURCES="$SYNCSOURCES src/backends/gsso/providergsso.la"
23243 GOOGLE_METHOD="oauth"
23244 GOOGLE_MECHANISM="oauth2"
23249 # conditional compilation in make
23250 if test "$use_gsso" = "yes"; then
23261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UOA" >&5
23262 $as_echo_n "checking for UOA... " >&6; }
23264 if test -n "$UOA_CFLAGS"; then
23265 pkg_cv_UOA_CFLAGS="$UOA_CFLAGS"
23266 elif test -n "$PKG_CONFIG"; then
23267 if test -n "$PKG_CONFIG" && \
23268 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsignon-glib >= 1.7 libaccounts-glib >= 1.8\""; } >&5
23269 ($PKG_CONFIG --exists --print-errors "libsignon-glib >= 1.7 libaccounts-glib >= 1.8") 2>&5
23271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23272 test $ac_status = 0; }; then
23273 pkg_cv_UOA_CFLAGS=`$PKG_CONFIG --cflags "libsignon-glib >= 1.7 libaccounts-glib >= 1.8" 2>/dev/null`
23274 test "x$?" != "x0" && pkg_failed=yes
23281 if test -n "$UOA_LIBS"; then
23282 pkg_cv_UOA_LIBS="$UOA_LIBS"
23283 elif test -n "$PKG_CONFIG"; then
23284 if test -n "$PKG_CONFIG" && \
23285 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsignon-glib >= 1.7 libaccounts-glib >= 1.8\""; } >&5
23286 ($PKG_CONFIG --exists --print-errors "libsignon-glib >= 1.7 libaccounts-glib >= 1.8") 2>&5
23288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23289 test $ac_status = 0; }; then
23290 pkg_cv_UOA_LIBS=`$PKG_CONFIG --libs "libsignon-glib >= 1.7 libaccounts-glib >= 1.8" 2>/dev/null`
23291 test "x$?" != "x0" && pkg_failed=yes
23301 if test $pkg_failed = yes; then
23302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23303 $as_echo "no" >&6; }
23305 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23306 _pkg_short_errors_supported=yes
23308 _pkg_short_errors_supported=no
23310 if test $_pkg_short_errors_supported = yes; then
23311 UOA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsignon-glib >= 1.7 libaccounts-glib >= 1.8" 2>&1`
23313 UOA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsignon-glib >= 1.7 libaccounts-glib >= 1.8" 2>&1`
23315 # Put the nasty error message in config.log where it belongs
23316 echo "$UOA_PKG_ERRORS" >&5
23319 elif test $pkg_failed = untried; then
23320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23321 $as_echo "no" >&6; }
23324 UOA_CFLAGS=$pkg_cv_UOA_CFLAGS
23325 UOA_LIBS=$pkg_cv_UOA_LIBS
23326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23327 $as_echo "yes" >&6; }
23331 # Check whether --enable-uoa was given.
23332 if test "${enable_uoa+set}" = set; then :
23333 enableval=$enable_uoa; enable_uoa="$enableval"
23334 test "$enable_uoa" = "yes" || test "$enable_uoa" = "no" || as_fn_error $? "invalid value for --enable-uoa: $enable_uoa" "$LINENO" 5
23335 test "$enable_uoa" = "no" || test "$HAVE_UOA" = "yes" || as_fn_error $? "required pkg(s) not found that are needed for --enable-uoa" "$LINENO" 5
23337 enable_uoa="$HAVE_UOA"
23340 if test $enable_uoa = "yes"; then
23342 $as_echo "#define USE_UOA 1" >>confdefs.h
23344 # link into static executables, similar to a SyncSource
23345 SYNCSOURCES="$SYNCSOURCES src/backends/uoa/provideruoa.la"
23346 GOOGLE_METHOD="oauth2"
23347 GOOGLE_MECHANISM="web_server"
23352 # conditional compilation in make
23353 if test "$enable_uoa" = "yes"; then
23363 # Check whether --with-google-client-id was given.
23364 if test "${with_google_client_id+set}" = set; then :
23365 withval=$with_google_client_id; GOOGLE_CLIENT_ID=$withval
23367 GOOGLE_CLIENT_ID=insert-your-client-id-here
23371 # Check whether --with-google-client-secret was given.
23372 if test "${with_google_client_secret+set}" = set; then :
23373 withval=$with_google_client_secret; GOOGLE_CLIENT_SECRET=$withval
23375 GOOGLE_CLIENT_SECRET=insert-your-client-secret-here
23382 # Check whether --with-google-client-id-caldav was given.
23383 if test "${with_google_client_id_caldav+set}" = set; then :
23384 withval=$with_google_client_id_caldav; GOOGLE_CLIENT_ID_CALDAV=$withval
23386 GOOGLE_CLIENT_ID_CALDAV=insert-your-client-id-here
23390 # Check whether --with-google-client-secret-caldav was given.
23391 if test "${with_google_client_secret_caldav+set}" = set; then :
23392 withval=$with_google_client_secret_caldav; GOOGLE_CLIENT_SECRET_CALDAV=$withval
23394 GOOGLE_CLIENT_SECRET_CALDAV=insert-your-client-secret-here
23401 # Check whether --with-google-client-id-carddav was given.
23402 if test "${with_google_client_id_carddav+set}" = set; then :
23403 withval=$with_google_client_id_carddav; GOOGLE_CLIENT_ID_CARDDAV=$withval
23405 GOOGLE_CLIENT_ID_CARDDAV=insert-your-client-id-here
23409 # Check whether --with-google-client-secret-carddav was given.
23410 if test "${with_google_client_secret_carddav+set}" = set; then :
23411 withval=$with_google_client_secret_carddav; GOOGLE_CLIENT_SECRET_CARDDAV=$withval
23413 GOOGLE_CLIENT_SECRET_CARDDAV=insert-your-client-secret-here
23419 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"
23421 # ^^^^^^^^^^^^^^ src/backends/signon/configure-sub.in ^^^^^^^^^^^^^^
23423 # vvvvvvvvvvvvvv src/backends/sqlite/configure-sub.in vvvvvvvvvvvvvv
23427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SQLITE" >&5
23428 $as_echo_n "checking for SQLITE... " >&6; }
23430 if test -n "$SQLITE_CFLAGS"; then
23431 pkg_cv_SQLITE_CFLAGS="$SQLITE_CFLAGS"
23432 elif test -n "$PKG_CONFIG"; then
23433 if test -n "$PKG_CONFIG" && \
23434 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
23435 ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
23437 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23438 test $ac_status = 0; }; then
23439 pkg_cv_SQLITE_CFLAGS=`$PKG_CONFIG --cflags "sqlite3" 2>/dev/null`
23440 test "x$?" != "x0" && pkg_failed=yes
23447 if test -n "$SQLITE_LIBS"; then
23448 pkg_cv_SQLITE_LIBS="$SQLITE_LIBS"
23449 elif test -n "$PKG_CONFIG"; then
23450 if test -n "$PKG_CONFIG" && \
23451 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
23452 ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
23454 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23455 test $ac_status = 0; }; then
23456 pkg_cv_SQLITE_LIBS=`$PKG_CONFIG --libs "sqlite3" 2>/dev/null`
23457 test "x$?" != "x0" && pkg_failed=yes
23467 if test $pkg_failed = yes; then
23468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23469 $as_echo "no" >&6; }
23471 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23472 _pkg_short_errors_supported=yes
23474 _pkg_short_errors_supported=no
23476 if test $_pkg_short_errors_supported = yes; then
23477 SQLITE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sqlite3" 2>&1`
23479 SQLITE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sqlite3" 2>&1`
23481 # Put the nasty error message in config.log where it belongs
23482 echo "$SQLITE_PKG_ERRORS" >&5
23485 elif test $pkg_failed = untried; then
23486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23487 $as_echo "no" >&6; }
23490 SQLITE_CFLAGS=$pkg_cv_SQLITE_CFLAGS
23491 SQLITE_LIBS=$pkg_cv_SQLITE_LIBS
23492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23493 $as_echo "yes" >&6; }
23498 BACKEND_CPPFLAGS="$BACKEND_CPPFLAGS $SQLITE_CFLAGS"
23501 # Check whether --enable-sqlite was given.
23502 if test "${enable_sqlite+set}" = set; then :
23503 enableval=$enable_sqlite; enable_sqlite="$enableval"
23509 BACKENDS="$BACKENDS sqlite"
23510 BACKEND_DEFINES="$BACKEND_DEFINES ENABLE_SQLITE"
23511 for source in sqlite
23513 SYNCSOURCES="$SYNCSOURCES src/backends/sqlite/syncsqlite.la"
23518 if test "$enable_sqlite" = "yes"; then
23519 test "x${SQLITEFOUND}" = "xyes" || as_fn_error $? "--enable-sqlite requires pkg-config information for sqlite3, which was not found" "$LINENO" 5
23521 $as_echo "#define ENABLE_SQLITE 1" >>confdefs.h
23524 # avoid linking against it if not needed
23528 # ^^^^^^^^^^^^^^ src/backends/sqlite/configure-sub.in ^^^^^^^^^^^^^^
23530 # vvvvvvvvvvvvvv src/backends/webdav/configure-sub.in vvvvvvvvvvvvvv
23533 # Check whether --enable-dav was given.
23534 if test "${enable_dav+set}" = set; then :
23535 enableval=$enable_dav; enable_dav="$enableval"
23541 BACKENDS="$BACKENDS dav"
23542 BACKEND_DEFINES="$BACKEND_DEFINES ENABLE_DAV"
23543 for source in webdav
23545 SYNCSOURCES="$SYNCSOURCES src/backends/webdav/syncdav.la"
23550 if test "$enable_dav" = "yes"; then
23554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NEON" >&5
23555 $as_echo_n "checking for NEON... " >&6; }
23557 if test -n "$NEON_CFLAGS"; then
23558 pkg_cv_NEON_CFLAGS="$NEON_CFLAGS"
23559 elif test -n "$PKG_CONFIG"; then
23560 if test -n "$PKG_CONFIG" && \
23561 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"neon >= 0.29\""; } >&5
23562 ($PKG_CONFIG --exists --print-errors "neon >= 0.29") 2>&5
23564 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23565 test $ac_status = 0; }; then
23566 pkg_cv_NEON_CFLAGS=`$PKG_CONFIG --cflags "neon >= 0.29" 2>/dev/null`
23567 test "x$?" != "x0" && pkg_failed=yes
23574 if test -n "$NEON_LIBS"; then
23575 pkg_cv_NEON_LIBS="$NEON_LIBS"
23576 elif test -n "$PKG_CONFIG"; then
23577 if test -n "$PKG_CONFIG" && \
23578 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"neon >= 0.29\""; } >&5
23579 ($PKG_CONFIG --exists --print-errors "neon >= 0.29") 2>&5
23581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23582 test $ac_status = 0; }; then
23583 pkg_cv_NEON_LIBS=`$PKG_CONFIG --libs "neon >= 0.29" 2>/dev/null`
23584 test "x$?" != "x0" && pkg_failed=yes
23594 if test $pkg_failed = yes; then
23595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23596 $as_echo "no" >&6; }
23598 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23599 _pkg_short_errors_supported=yes
23601 _pkg_short_errors_supported=no
23603 if test $_pkg_short_errors_supported = yes; then
23604 NEON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "neon >= 0.29" 2>&1`
23606 NEON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "neon >= 0.29" 2>&1`
23608 # Put the nasty error message in config.log where it belongs
23609 echo "$NEON_PKG_ERRORS" >&5
23613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NEON" >&5
23614 $as_echo_n "checking for NEON... " >&6; }
23616 if test -n "$NEON_CFLAGS"; then
23617 pkg_cv_NEON_CFLAGS="$NEON_CFLAGS"
23618 elif test -n "$PKG_CONFIG"; then
23619 if test -n "$PKG_CONFIG" && \
23620 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"neon >= 0.27\""; } >&5
23621 ($PKG_CONFIG --exists --print-errors "neon >= 0.27") 2>&5
23623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23624 test $ac_status = 0; }; then
23625 pkg_cv_NEON_CFLAGS=`$PKG_CONFIG --cflags "neon >= 0.27" 2>/dev/null`
23626 test "x$?" != "x0" && pkg_failed=yes
23633 if test -n "$NEON_LIBS"; then
23634 pkg_cv_NEON_LIBS="$NEON_LIBS"
23635 elif test -n "$PKG_CONFIG"; then
23636 if test -n "$PKG_CONFIG" && \
23637 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"neon >= 0.27\""; } >&5
23638 ($PKG_CONFIG --exists --print-errors "neon >= 0.27") 2>&5
23640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23641 test $ac_status = 0; }; then
23642 pkg_cv_NEON_LIBS=`$PKG_CONFIG --libs "neon >= 0.27" 2>/dev/null`
23643 test "x$?" != "x0" && pkg_failed=yes
23653 if test $pkg_failed = yes; then
23654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23655 $as_echo "no" >&6; }
23657 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23658 _pkg_short_errors_supported=yes
23660 _pkg_short_errors_supported=no
23662 if test $_pkg_short_errors_supported = yes; then
23663 NEON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "neon >= 0.27" 2>&1`
23665 NEON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "neon >= 0.27" 2>&1`
23667 # Put the nasty error message in config.log where it belongs
23668 echo "$NEON_PKG_ERRORS" >&5
23670 as_fn_error $? "Package requirements (neon >= 0.27) were not met:
23674 Consider adjusting the PKG_CONFIG_PATH environment variable if you
23675 installed software in a non-standard prefix.
23677 Alternatively, you may set the environment variables NEON_CFLAGS
23678 and NEON_LIBS to avoid the need to call pkg-config.
23679 See the pkg-config man page for more details." "$LINENO" 5
23680 elif test $pkg_failed = untried; then
23681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23682 $as_echo "no" >&6; }
23683 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23684 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23685 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
23686 is in your PATH or set the PKG_CONFIG environment variable to the full
23687 path to pkg-config.
23689 Alternatively, you may set the environment variables NEON_CFLAGS
23690 and NEON_LIBS to avoid the need to call pkg-config.
23691 See the pkg-config man page for more details.
23693 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23694 See \`config.log' for more details" "$LINENO" 5; }
23696 NEON_CFLAGS=$pkg_cv_NEON_CFLAGS
23697 NEON_LIBS=$pkg_cv_NEON_LIBS
23698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23699 $as_echo "yes" >&6; }
23702 elif test $pkg_failed = untried; then
23703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23704 $as_echo "no" >&6; }
23707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NEON" >&5
23708 $as_echo_n "checking for NEON... " >&6; }
23710 if test -n "$NEON_CFLAGS"; then
23711 pkg_cv_NEON_CFLAGS="$NEON_CFLAGS"
23712 elif test -n "$PKG_CONFIG"; then
23713 if test -n "$PKG_CONFIG" && \
23714 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"neon >= 0.27\""; } >&5
23715 ($PKG_CONFIG --exists --print-errors "neon >= 0.27") 2>&5
23717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23718 test $ac_status = 0; }; then
23719 pkg_cv_NEON_CFLAGS=`$PKG_CONFIG --cflags "neon >= 0.27" 2>/dev/null`
23720 test "x$?" != "x0" && pkg_failed=yes
23727 if test -n "$NEON_LIBS"; then
23728 pkg_cv_NEON_LIBS="$NEON_LIBS"
23729 elif test -n "$PKG_CONFIG"; then
23730 if test -n "$PKG_CONFIG" && \
23731 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"neon >= 0.27\""; } >&5
23732 ($PKG_CONFIG --exists --print-errors "neon >= 0.27") 2>&5
23734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23735 test $ac_status = 0; }; then
23736 pkg_cv_NEON_LIBS=`$PKG_CONFIG --libs "neon >= 0.27" 2>/dev/null`
23737 test "x$?" != "x0" && pkg_failed=yes
23747 if test $pkg_failed = yes; then
23748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23749 $as_echo "no" >&6; }
23751 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23752 _pkg_short_errors_supported=yes
23754 _pkg_short_errors_supported=no
23756 if test $_pkg_short_errors_supported = yes; then
23757 NEON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "neon >= 0.27" 2>&1`
23759 NEON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "neon >= 0.27" 2>&1`
23761 # Put the nasty error message in config.log where it belongs
23762 echo "$NEON_PKG_ERRORS" >&5
23764 as_fn_error $? "Package requirements (neon >= 0.27) were not met:
23768 Consider adjusting the PKG_CONFIG_PATH environment variable if you
23769 installed software in a non-standard prefix.
23771 Alternatively, you may set the environment variables NEON_CFLAGS
23772 and NEON_LIBS to avoid the need to call pkg-config.
23773 See the pkg-config man page for more details." "$LINENO" 5
23774 elif test $pkg_failed = untried; then
23775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23776 $as_echo "no" >&6; }
23777 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23778 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23779 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
23780 is in your PATH or set the PKG_CONFIG environment variable to the full
23781 path to pkg-config.
23783 Alternatively, you may set the environment variables NEON_CFLAGS
23784 and NEON_LIBS to avoid the need to call pkg-config.
23785 See the pkg-config man page for more details.
23787 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23788 See \`config.log' for more details" "$LINENO" 5; }
23790 NEON_CFLAGS=$pkg_cv_NEON_CFLAGS
23791 NEON_LIBS=$pkg_cv_NEON_LIBS
23792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23793 $as_echo "yes" >&6; }
23797 NEON_CFLAGS=$pkg_cv_NEON_CFLAGS
23798 NEON_LIBS=$pkg_cv_NEON_LIBS
23799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23800 $as_echo "yes" >&6; }
23802 $as_echo "#define HAVE_LIBNEON_SYSTEM_PROXY 1" >>confdefs.h
23805 $as_echo "#define HAVE_LIBNEON_OPTIONS 1" >>confdefs.h
23809 $as_echo "#define ENABLE_DAV 1" >>confdefs.h
23812 $as_echo "#define ENABLE_ICAL 1" >>confdefs.h
23814 BACKEND_CPPFLAGS="$BACKEND_CPPFLAGS $NEON_CFLAGS"
23817 # Check whether --enable-neon-compatibility was given.
23818 if test "${enable_neon_compatibility+set}" = set; then :
23819 enableval=$enable_neon_compatibility; enable_neon_compat="$enableval"
23821 enable_neon_compat="no"
23825 if test "$enable_neon_compat" = "yes"; then
23827 $as_echo "#define NEON_COMPATIBILITY 1" >>confdefs.h
23829 NEON_LIBS="`echo $NEON_LIBS | sed -e 's/\(-lneon\(-gnutls\)*\|^ *libneon\(-gnutls\)*.la\)/-ldl/'`"
23831 if test "$enable_neon_compat" = "yes"; then
23832 NEON_COMPATIBILITY_TRUE=
23833 NEON_COMPATIBILITY_FALSE='#'
23835 NEON_COMPATIBILITY_TRUE='#'
23836 NEON_COMPATIBILITY_FALSE=
23839 # ^^^^^^^^^^^^^^ src/backends/webdav/configure-sub.in ^^^^^^^^^^^^^^
23841 # vvvvvvvvvvvvvv src/backends/xmlrpc/configure-sub.in vvvvvvvvvvvvvv
23846 # Check whether --enable-xmlrpc was given.
23847 if test "${enable_xmlrpc+set}" = set; then :
23848 enableval=$enable_xmlrpc; enable_xmlrpc="$enableval"
23854 BACKENDS="$BACKENDS xmlrpc"
23855 BACKEND_DEFINES="$BACKEND_DEFINES ENABLE_XMLRPC"
23856 for source in xmlrpc
23858 SYNCSOURCES="$SYNCSOURCES src/backends/xmlrpc/syncxmlrpc.la"
23863 if test "$enable_xmlrpc" = "yes"; then
23865 # Extract the first word of "xmlrpc-c-config", so it can be a program name with args.
23866 set dummy xmlrpc-c-config; ac_word=$2
23867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23868 $as_echo_n "checking for $ac_word... " >&6; }
23869 if ${ac_cv_path_XMLRPC_C_CONFIG+:} false; then :
23870 $as_echo_n "(cached) " >&6
23872 case $XMLRPC_C_CONFIG in
23874 ac_cv_path_XMLRPC_C_CONFIG="$XMLRPC_C_CONFIG" # Let the user override the test with a path.
23877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23878 for as_dir in $PATH
23881 test -z "$as_dir" && as_dir=.
23882 for ac_exec_ext in '' $ac_executable_extensions; do
23883 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23884 ac_cv_path_XMLRPC_C_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23892 test -z "$ac_cv_path_XMLRPC_C_CONFIG" && ac_cv_path_XMLRPC_C_CONFIG="no"
23896 XMLRPC_C_CONFIG=$ac_cv_path_XMLRPC_C_CONFIG
23897 if test -n "$XMLRPC_C_CONFIG"; then
23898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLRPC_C_CONFIG" >&5
23899 $as_echo "$XMLRPC_C_CONFIG" >&6; }
23901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23902 $as_echo "no" >&6; }
23907 test "x$XMLRPC_C_CONFIG" != 'xno' || as_fn_error $? "--enable-xmlrpc requires xmlrpc-c-config, which was not found" "$LINENO" 5
23909 XMLRPC_CFLAGS=`$XMLRPC_C_CONFIG c++2 client --cflags`
23910 XMLRPC_LIBS=`$XMLRPC_C_CONFIG c++2 client --libs`
23914 BACKEND_CPPFLAGS="$BACKEND_CPPFLAGS $XMLRPC_CFLAGS"
23917 $as_echo "#define ENABLE_XMLRPC 1" >>confdefs.h
23920 # ^^^^^^^^^^^^^^ src/backends/xmlrpc/configure-sub.in ^^^^^^^^^^^^^^
23927 # Check whether --enable-qt-dbus was given.
23928 if test "${enable_qt_dbus+set}" = set; then :
23929 enableval=$enable_qt_dbus; enable_qt_dbus="$enableval"
23931 enable_qt_dbus="no"
23935 if test "$enable_qt_dbus" = "yes"; then
23937 $as_echo "#define ENABLE_QT_DBUS 1" >>confdefs.h
23939 need_qt_modules="$need_qt_modules +dbus"
23940 # Extract the first word of "qdbusxml2cpp", so it can be a program name with args.
23941 set dummy qdbusxml2cpp; ac_word=$2
23942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23943 $as_echo_n "checking for $ac_word... " >&6; }
23944 if ${ac_cv_path_QDBUSXML_TO_CPP+:} false; then :
23945 $as_echo_n "(cached) " >&6
23947 case $QDBUSXML_TO_CPP in
23949 ac_cv_path_QDBUSXML_TO_CPP="$QDBUSXML_TO_CPP" # Let the user override the test with a path.
23952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23953 for as_dir in $PATH
23956 test -z "$as_dir" && as_dir=.
23957 for ac_exec_ext in '' $ac_executable_extensions; do
23958 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23959 ac_cv_path_QDBUSXML_TO_CPP="$as_dir/$ac_word$ac_exec_ext"
23960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23967 test -z "$ac_cv_path_QDBUSXML_TO_CPP" && ac_cv_path_QDBUSXML_TO_CPP="no"
23971 QDBUSXML_TO_CPP=$ac_cv_path_QDBUSXML_TO_CPP
23972 if test -n "$QDBUSXML_TO_CPP"; then
23973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QDBUSXML_TO_CPP" >&5
23974 $as_echo "$QDBUSXML_TO_CPP" >&6; }
23976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23977 $as_echo "no" >&6; }
23981 test "x$QDBUSXML_TO_CPP" != 'xno' || as_fn_error $? "--enable-qt-dbus requires qdbusxml2cpp, which was not found" "$LINENO" 5
23984 if test "$enable_qt_dbus" = "yes"; then
23985 ENABLE_QT_DBUS_TRUE=
23986 ENABLE_QT_DBUS_FALSE='#'
23988 ENABLE_QT_DBUS_TRUE='#'
23989 ENABLE_QT_DBUS_FALSE=
23994 ac_config_files="$ac_config_files src/dbus/qt/syncevolution-qt-dbus.pc"
24001 backend_is_enabled () {
24002 eval echo \${enable_${1}}
24004 for backend in $BACKENDS; do
24005 if test `backend_is_enabled $backend` = "yes"; then
24007 SYNCEVOLUTION_MODULES="$SYNCEVOLUTION_MODULES src/backends/sync${backend}.la"
24011 if test "$enable_any" = "no"; then
24012 as_fn_error $? "no backend enabled - refusing to continue: $anymissing" "$LINENO" 5
24015 if test "$need_glib" = "yes"; then
24016 # HAVE_GLIB (aka GLIBFOUND) are a catch-all for these
24017 # three GNOME libs. Assume we have all three unless one of
24018 # the checks fails.
24023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
24024 $as_echo_n "checking for GLIB... " >&6; }
24026 if test -n "$GLIB_CFLAGS"; then
24027 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
24028 elif test -n "$PKG_CONFIG"; then
24029 if test -n "$PKG_CONFIG" && \
24030 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"glib-2.0\"\""; } >&5
24031 ($PKG_CONFIG --exists --print-errors ""glib-2.0"") 2>&5
24033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24034 test $ac_status = 0; }; then
24035 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags ""glib-2.0"" 2>/dev/null`
24036 test "x$?" != "x0" && pkg_failed=yes
24043 if test -n "$GLIB_LIBS"; then
24044 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
24045 elif test -n "$PKG_CONFIG"; then
24046 if test -n "$PKG_CONFIG" && \
24047 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"glib-2.0\"\""; } >&5
24048 ($PKG_CONFIG --exists --print-errors ""glib-2.0"") 2>&5
24050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24051 test $ac_status = 0; }; then
24052 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs ""glib-2.0"" 2>/dev/null`
24053 test "x$?" != "x0" && pkg_failed=yes
24063 if test $pkg_failed = yes; then
24064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24065 $as_echo "no" >&6; }
24067 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24068 _pkg_short_errors_supported=yes
24070 _pkg_short_errors_supported=no
24072 if test $_pkg_short_errors_supported = yes; then
24073 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs ""glib-2.0"" 2>&1`
24075 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs ""glib-2.0"" 2>&1`
24077 # Put the nasty error message in config.log where it belongs
24078 echo "$GLIB_PKG_ERRORS" >&5
24081 elif test $pkg_failed = untried; then
24082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24083 $as_echo "no" >&6; }
24086 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
24087 GLIB_LIBS=$pkg_cv_GLIB_LIBS
24088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24089 $as_echo "yes" >&6; }
24092 # This check here is broken on Ubuntu 8.04: it calls glib-config,
24093 # which isn't found, but the error is not detected by configure.
24094 #if test "x${GLIBFOUND}" = "xno"; then
24095 # PKG_CHECK_MODULES(GLIB, "glib", GLIBFOUND=yes, GLIBFOUND=no)
24100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTHREAD" >&5
24101 $as_echo_n "checking for GTHREAD... " >&6; }
24103 if test -n "$GTHREAD_CFLAGS"; then
24104 pkg_cv_GTHREAD_CFLAGS="$GTHREAD_CFLAGS"
24105 elif test -n "$PKG_CONFIG"; then
24106 if test -n "$PKG_CONFIG" && \
24107 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"gthread-2.0\"\""; } >&5
24108 ($PKG_CONFIG --exists --print-errors ""gthread-2.0"") 2>&5
24110 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24111 test $ac_status = 0; }; then
24112 pkg_cv_GTHREAD_CFLAGS=`$PKG_CONFIG --cflags ""gthread-2.0"" 2>/dev/null`
24113 test "x$?" != "x0" && pkg_failed=yes
24120 if test -n "$GTHREAD_LIBS"; then
24121 pkg_cv_GTHREAD_LIBS="$GTHREAD_LIBS"
24122 elif test -n "$PKG_CONFIG"; then
24123 if test -n "$PKG_CONFIG" && \
24124 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"gthread-2.0\"\""; } >&5
24125 ($PKG_CONFIG --exists --print-errors ""gthread-2.0"") 2>&5
24127 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24128 test $ac_status = 0; }; then
24129 pkg_cv_GTHREAD_LIBS=`$PKG_CONFIG --libs ""gthread-2.0"" 2>/dev/null`
24130 test "x$?" != "x0" && pkg_failed=yes
24140 if test $pkg_failed = yes; then
24141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24142 $as_echo "no" >&6; }
24144 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24145 _pkg_short_errors_supported=yes
24147 _pkg_short_errors_supported=no
24149 if test $_pkg_short_errors_supported = yes; then
24150 GTHREAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs ""gthread-2.0"" 2>&1`
24152 GTHREAD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs ""gthread-2.0"" 2>&1`
24154 # Put the nasty error message in config.log where it belongs
24155 echo "$GTHREAD_PKG_ERRORS" >&5
24158 elif test $pkg_failed = untried; then
24159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24160 $as_echo "no" >&6; }
24163 GTHREAD_CFLAGS=$pkg_cv_GTHREAD_CFLAGS
24164 GTHREAD_LIBS=$pkg_cv_GTHREAD_LIBS
24165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24166 $as_echo "yes" >&6; }
24171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOBJECT" >&5
24172 $as_echo_n "checking for GOBJECT... " >&6; }
24174 if test -n "$GOBJECT_CFLAGS"; then
24175 pkg_cv_GOBJECT_CFLAGS="$GOBJECT_CFLAGS"
24176 elif test -n "$PKG_CONFIG"; then
24177 if test -n "$PKG_CONFIG" && \
24178 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"gobject-2.0\"\""; } >&5
24179 ($PKG_CONFIG --exists --print-errors ""gobject-2.0"") 2>&5
24181 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24182 test $ac_status = 0; }; then
24183 pkg_cv_GOBJECT_CFLAGS=`$PKG_CONFIG --cflags ""gobject-2.0"" 2>/dev/null`
24184 test "x$?" != "x0" && pkg_failed=yes
24191 if test -n "$GOBJECT_LIBS"; then
24192 pkg_cv_GOBJECT_LIBS="$GOBJECT_LIBS"
24193 elif test -n "$PKG_CONFIG"; then
24194 if test -n "$PKG_CONFIG" && \
24195 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"gobject-2.0\"\""; } >&5
24196 ($PKG_CONFIG --exists --print-errors ""gobject-2.0"") 2>&5
24198 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24199 test $ac_status = 0; }; then
24200 pkg_cv_GOBJECT_LIBS=`$PKG_CONFIG --libs ""gobject-2.0"" 2>/dev/null`
24201 test "x$?" != "x0" && pkg_failed=yes
24211 if test $pkg_failed = yes; then
24212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24213 $as_echo "no" >&6; }
24215 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24216 _pkg_short_errors_supported=yes
24218 _pkg_short_errors_supported=no
24220 if test $_pkg_short_errors_supported = yes; then
24221 GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs ""gobject-2.0"" 2>&1`
24223 GOBJECT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs ""gobject-2.0"" 2>&1`
24225 # Put the nasty error message in config.log where it belongs
24226 echo "$GOBJECT_PKG_ERRORS" >&5
24229 elif test $pkg_failed = untried; then
24230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24231 $as_echo "no" >&6; }
24234 GOBJECT_CFLAGS=$pkg_cv_GOBJECT_CFLAGS
24235 GOBJECT_LIBS=$pkg_cv_GOBJECT_LIBS
24236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24237 $as_echo "yes" >&6; }
24242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
24243 $as_echo_n "checking for GIO... " >&6; }
24245 if test -n "$GIO_CFLAGS"; then
24246 pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
24247 elif test -n "$PKG_CONFIG"; then
24248 if test -n "$PKG_CONFIG" && \
24249 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"gio-2.0\"\""; } >&5
24250 ($PKG_CONFIG --exists --print-errors ""gio-2.0"") 2>&5
24252 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24253 test $ac_status = 0; }; then
24254 pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags ""gio-2.0"" 2>/dev/null`
24255 test "x$?" != "x0" && pkg_failed=yes
24262 if test -n "$GIO_LIBS"; then
24263 pkg_cv_GIO_LIBS="$GIO_LIBS"
24264 elif test -n "$PKG_CONFIG"; then
24265 if test -n "$PKG_CONFIG" && \
24266 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"gio-2.0\"\""; } >&5
24267 ($PKG_CONFIG --exists --print-errors ""gio-2.0"") 2>&5
24269 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24270 test $ac_status = 0; }; then
24271 pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs ""gio-2.0"" 2>/dev/null`
24272 test "x$?" != "x0" && pkg_failed=yes
24282 if test $pkg_failed = yes; then
24283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24284 $as_echo "no" >&6; }
24286 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24287 _pkg_short_errors_supported=yes
24289 _pkg_short_errors_supported=no
24291 if test $_pkg_short_errors_supported = yes; then
24292 GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs ""gio-2.0"" 2>&1`
24294 GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs ""gio-2.0"" 2>&1`
24296 # Put the nasty error message in config.log where it belongs
24297 echo "$GIO_PKG_ERRORS" >&5
24300 elif test $pkg_failed = untried; then
24301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24302 $as_echo "no" >&6; }
24305 GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
24306 GIO_LIBS=$pkg_cv_GIO_LIBS
24307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24308 $as_echo "yes" >&6; }
24312 if test "x${GLIBFOUND}" = "xyes"; then
24314 $as_echo "#define HAVE_GLIB 1" >>confdefs.h
24317 as_fn_error $? "not all GNOME libraries found" "$LINENO" 5
24319 BACKEND_CPPFLAGS="$BACKEND_CPPFLAGS $GLIB_CFLAGS $GTHREAD_CFLAGS $GOBJECT_CFLAGS"
24322 if test "$need_ical" = "yes" || test "$enable_icaltz_util" = "yes"; then
24325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBICAL" >&5
24326 $as_echo_n "checking for LIBICAL... " >&6; }
24328 if test -n "$LIBICAL_CFLAGS"; then
24329 pkg_cv_LIBICAL_CFLAGS="$LIBICAL_CFLAGS"
24330 elif test -n "$PKG_CONFIG"; then
24331 if test -n "$PKG_CONFIG" && \
24332 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libical\""; } >&5
24333 ($PKG_CONFIG --exists --print-errors "libical") 2>&5
24335 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24336 test $ac_status = 0; }; then
24337 pkg_cv_LIBICAL_CFLAGS=`$PKG_CONFIG --cflags "libical" 2>/dev/null`
24338 test "x$?" != "x0" && pkg_failed=yes
24345 if test -n "$LIBICAL_LIBS"; then
24346 pkg_cv_LIBICAL_LIBS="$LIBICAL_LIBS"
24347 elif test -n "$PKG_CONFIG"; then
24348 if test -n "$PKG_CONFIG" && \
24349 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libical\""; } >&5
24350 ($PKG_CONFIG --exists --print-errors "libical") 2>&5
24352 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24353 test $ac_status = 0; }; then
24354 pkg_cv_LIBICAL_LIBS=`$PKG_CONFIG --libs "libical" 2>/dev/null`
24355 test "x$?" != "x0" && pkg_failed=yes
24365 if test $pkg_failed = yes; then
24366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24367 $as_echo "no" >&6; }
24369 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24370 _pkg_short_errors_supported=yes
24372 _pkg_short_errors_supported=no
24374 if test $_pkg_short_errors_supported = yes; then
24375 LIBICAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libical" 2>&1`
24377 LIBICAL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libical" 2>&1`
24379 # Put the nasty error message in config.log where it belongs
24380 echo "$LIBICAL_PKG_ERRORS" >&5
24384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBICAL" >&5
24385 $as_echo_n "checking for LIBICAL... " >&6; }
24387 if test -n "$LIBICAL_CFLAGS"; then
24388 pkg_cv_LIBICAL_CFLAGS="$LIBICAL_CFLAGS"
24389 elif test -n "$PKG_CONFIG"; then
24390 if test -n "$PKG_CONFIG" && \
24391 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libecal-1.2\""; } >&5
24392 ($PKG_CONFIG --exists --print-errors "libecal-1.2") 2>&5
24394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24395 test $ac_status = 0; }; then
24396 pkg_cv_LIBICAL_CFLAGS=`$PKG_CONFIG --cflags "libecal-1.2" 2>/dev/null`
24397 test "x$?" != "x0" && pkg_failed=yes
24404 if test -n "$LIBICAL_LIBS"; then
24405 pkg_cv_LIBICAL_LIBS="$LIBICAL_LIBS"
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 \"libecal-1.2\""; } >&5
24409 ($PKG_CONFIG --exists --print-errors "libecal-1.2") 2>&5
24411 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24412 test $ac_status = 0; }; then
24413 pkg_cv_LIBICAL_LIBS=`$PKG_CONFIG --libs "libecal-1.2" 2>/dev/null`
24414 test "x$?" != "x0" && pkg_failed=yes
24424 if test $pkg_failed = yes; then
24425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24426 $as_echo "no" >&6; }
24428 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24429 _pkg_short_errors_supported=yes
24431 _pkg_short_errors_supported=no
24433 if test $_pkg_short_errors_supported = yes; then
24434 LIBICAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libecal-1.2" 2>&1`
24436 LIBICAL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libecal-1.2" 2>&1`
24438 # Put the nasty error message in config.log where it belongs
24439 echo "$LIBICAL_PKG_ERRORS" >&5
24441 as_fn_error $? "Package requirements (libecal-1.2) were not met:
24443 $LIBICAL_PKG_ERRORS
24445 Consider adjusting the PKG_CONFIG_PATH environment variable if you
24446 installed software in a non-standard prefix.
24448 Alternatively, you may set the environment variables LIBICAL_CFLAGS
24449 and LIBICAL_LIBS to avoid the need to call pkg-config.
24450 See the pkg-config man page for more details." "$LINENO" 5
24451 elif test $pkg_failed = untried; then
24452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24453 $as_echo "no" >&6; }
24454 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24455 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24456 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
24457 is in your PATH or set the PKG_CONFIG environment variable to the full
24458 path to pkg-config.
24460 Alternatively, you may set the environment variables LIBICAL_CFLAGS
24461 and LIBICAL_LIBS to avoid the need to call pkg-config.
24462 See the pkg-config man page for more details.
24464 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
24465 See \`config.log' for more details" "$LINENO" 5; }
24467 LIBICAL_CFLAGS=$pkg_cv_LIBICAL_CFLAGS
24468 LIBICAL_LIBS=$pkg_cv_LIBICAL_LIBS
24469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24470 $as_echo "yes" >&6; }
24473 elif test $pkg_failed = untried; then
24474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24475 $as_echo "no" >&6; }
24478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBICAL" >&5
24479 $as_echo_n "checking for LIBICAL... " >&6; }
24481 if test -n "$LIBICAL_CFLAGS"; then
24482 pkg_cv_LIBICAL_CFLAGS="$LIBICAL_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 \"libecal-1.2\""; } >&5
24486 ($PKG_CONFIG --exists --print-errors "libecal-1.2") 2>&5
24488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24489 test $ac_status = 0; }; then
24490 pkg_cv_LIBICAL_CFLAGS=`$PKG_CONFIG --cflags "libecal-1.2" 2>/dev/null`
24491 test "x$?" != "x0" && pkg_failed=yes
24498 if test -n "$LIBICAL_LIBS"; then
24499 pkg_cv_LIBICAL_LIBS="$LIBICAL_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 \"libecal-1.2\""; } >&5
24503 ($PKG_CONFIG --exists --print-errors "libecal-1.2") 2>&5
24505 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24506 test $ac_status = 0; }; then
24507 pkg_cv_LIBICAL_LIBS=`$PKG_CONFIG --libs "libecal-1.2" 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 LIBICAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libecal-1.2" 2>&1`
24530 LIBICAL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libecal-1.2" 2>&1`
24532 # Put the nasty error message in config.log where it belongs
24533 echo "$LIBICAL_PKG_ERRORS" >&5
24535 as_fn_error $? "Package requirements (libecal-1.2) were not met:
24537 $LIBICAL_PKG_ERRORS
24539 Consider adjusting the PKG_CONFIG_PATH environment variable if you
24540 installed software in a non-standard prefix.
24542 Alternatively, you may set the environment variables LIBICAL_CFLAGS
24543 and LIBICAL_LIBS to avoid the need to call pkg-config.
24544 See the pkg-config man page for more details." "$LINENO" 5
24545 elif test $pkg_failed = untried; then
24546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24547 $as_echo "no" >&6; }
24548 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24549 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24550 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
24551 is in your PATH or set the PKG_CONFIG environment variable to the full
24552 path to pkg-config.
24554 Alternatively, you may set the environment variables LIBICAL_CFLAGS
24555 and LIBICAL_LIBS to avoid the need to call pkg-config.
24556 See the pkg-config man page for more details.
24558 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
24559 See \`config.log' for more details" "$LINENO" 5; }
24561 LIBICAL_CFLAGS=$pkg_cv_LIBICAL_CFLAGS
24562 LIBICAL_LIBS=$pkg_cv_LIBICAL_LIBS
24563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24564 $as_echo "yes" >&6; }
24568 LIBICAL_CFLAGS=$pkg_cv_LIBICAL_CFLAGS
24569 LIBICAL_LIBS=$pkg_cv_LIBICAL_LIBS
24570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24571 $as_echo "yes" >&6; }
24576 if test "$need_ical" = "yes"; then
24578 $as_echo "#define ENABLE_ICAL 1" >>confdefs.h
24581 if test "$need_ical" = "yes"; then
24583 ENABLE_ICAL_FALSE='#'
24585 ENABLE_ICAL_TRUE='#'
24590 # Check for Qt if some backend needs it.
24591 if test "$need_qt_modules"; then
24592 echo "$as_me: this is autotroll.m4 serial 5" >&5
24594 test x"$TROLL" != x && echo 'ViM rox emacs.'
24597 # Check whether --with-qt was given.
24598 if test "${with_qt+set}" = set; then :
24599 withval=$with_qt; QT_PATH=$withval
24603 # this is a hack to get decent flow control with 'break'
24604 for _qt_ignored in once; do
24608 if test -d /usr/local/Trolltech; then
24609 # Try to find the latest version.
24610 tmp_qt_paths=`echo /usr/local/Trolltech/*/bin | tr ' ' '\n' | sort -nr \
24611 | xargs | sed 's/ */:/g'`
24613 # Path to which recent MacPorts (~v1.7) install Qt4.
24614 test -d /opt/local/libexec/qt4-mac/bin \
24615 && tmp_qt_paths="$tmp_qt_paths:/opt/local/libexec/qt4-mac/bin"
24619 for ac_prog in qmake qmake-qt4 qmake-qt3
24621 # Extract the first word of "$ac_prog", so it can be a program name with args.
24622 set dummy $ac_prog; ac_word=$2
24623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24624 $as_echo_n "checking for $ac_word... " >&6; }
24625 if ${ac_cv_path_QMAKE+:} false; then :
24626 $as_echo_n "(cached) " >&6
24630 ac_cv_path_QMAKE="$QMAKE" # Let the user override the test with a path.
24633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24634 as_dummy="$QT_DIR:$QT_PATH:$PATH:$tmp_qt_paths"
24635 for as_dir in $as_dummy
24638 test -z "$as_dir" && as_dir=.
24639 for ac_exec_ext in '' $ac_executable_extensions; do
24640 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24641 ac_cv_path_QMAKE="$as_dir/$ac_word$ac_exec_ext"
24642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24652 QMAKE=$ac_cv_path_QMAKE
24653 if test -n "$QMAKE"; then
24654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QMAKE" >&5
24655 $as_echo "$QMAKE" >&6; }
24657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24658 $as_echo "no" >&6; }
24662 test -n "$QMAKE" && break
24664 test -n "$QMAKE" || QMAKE="missing"
24666 if test x"$QMAKE" = xmissing; then
24667 as_fn_error $? "Cannot find qmake in your PATH. Try using --with-qt." "$LINENO" 5
24671 # Find moc (Meta Object Compiler).
24673 for ac_prog in moc moc-qt4 moc-qt3
24675 # Extract the first word of "$ac_prog", so it can be a program name with args.
24676 set dummy $ac_prog; ac_word=$2
24677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24678 $as_echo_n "checking for $ac_word... " >&6; }
24679 if ${ac_cv_path_MOC+:} false; then :
24680 $as_echo_n "(cached) " >&6
24684 ac_cv_path_MOC="$MOC" # Let the user override the test with a path.
24687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24688 as_dummy="$QT_PATH:$PATH:$tmp_qt_paths"
24689 for as_dir in $as_dummy
24692 test -z "$as_dir" && as_dir=.
24693 for ac_exec_ext in '' $ac_executable_extensions; do
24694 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24695 ac_cv_path_MOC="$as_dir/$ac_word$ac_exec_ext"
24696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24706 MOC=$ac_cv_path_MOC
24707 if test -n "$MOC"; then
24708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOC" >&5
24709 $as_echo "$MOC" >&6; }
24711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24712 $as_echo "no" >&6; }
24716 test -n "$MOC" && break
24718 test -n "$MOC" || MOC="missing"
24720 if test x"$MOC" = xmissing; then
24721 as_fn_error $? "Cannot find moc (Meta Object Compiler) in your PATH. Try using --with-qt." "$LINENO" 5
24725 # Find uic (User Interface Compiler).
24727 for ac_prog in uic uic-qt4 uic-qt3 uic3
24729 # Extract the first word of "$ac_prog", so it can be a program name with args.
24730 set dummy $ac_prog; ac_word=$2
24731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24732 $as_echo_n "checking for $ac_word... " >&6; }
24733 if ${ac_cv_path_UIC+:} false; then :
24734 $as_echo_n "(cached) " >&6
24738 ac_cv_path_UIC="$UIC" # Let the user override the test with a path.
24741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24742 as_dummy="$QT_PATH:$PATH:$tmp_qt_paths"
24743 for as_dir in $as_dummy
24746 test -z "$as_dir" && as_dir=.
24747 for ac_exec_ext in '' $ac_executable_extensions; do
24748 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24749 ac_cv_path_UIC="$as_dir/$ac_word$ac_exec_ext"
24750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24760 UIC=$ac_cv_path_UIC
24761 if test -n "$UIC"; then
24762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UIC" >&5
24763 $as_echo "$UIC" >&6; }
24765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24766 $as_echo "no" >&6; }
24770 test -n "$UIC" && break
24772 test -n "$UIC" || UIC="missing"
24774 if test x"$UIC" = xmissing; then
24775 as_fn_error $? "Cannot find uic (User Interface Compiler) in your PATH. Try using --with-qt." "$LINENO" 5
24779 # Find rcc (Qt Resource Compiler).
24783 # Extract the first word of "$ac_prog", so it can be a program name with args.
24784 set dummy $ac_prog; ac_word=$2
24785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24786 $as_echo_n "checking for $ac_word... " >&6; }
24787 if ${ac_cv_path_RCC+:} false; then :
24788 $as_echo_n "(cached) " >&6
24792 ac_cv_path_RCC="$RCC" # Let the user override the test with a path.
24795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24796 as_dummy="$QT_PATH:$PATH:$tmp_qt_paths"
24797 for as_dir in $as_dummy
24800 test -z "$as_dir" && as_dir=.
24801 for ac_exec_ext in '' $ac_executable_extensions; do
24802 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24803 ac_cv_path_RCC="$as_dir/$ac_word$ac_exec_ext"
24804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24814 RCC=$ac_cv_path_RCC
24815 if test -n "$RCC"; then
24816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RCC" >&5
24817 $as_echo "$RCC" >&6; }
24819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24820 $as_echo "no" >&6; }
24824 test -n "$RCC" && break
24826 test -n "$RCC" || RCC="false"
24828 if test x"$UIC" = xfalse; then
24829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find rcc (Qt Resource Compiler) in your PATH.\
24830 Try using --with-qt." >&5
24831 $as_echo "$as_me: WARNING: Cannot find rcc (Qt Resource Compiler) in your PATH.\
24832 Try using --with-qt." >&2;}
24835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether host operating system is Darwin" >&5
24836 $as_echo_n "checking whether host operating system is Darwin... " >&6; }
24842 at_qmake_args='-spec macx-g++'
24845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $at_darwin" >&5
24846 $as_echo "$at_darwin" >&6; }
24848 # If we don't know the path to Qt, guess it from the path to qmake.
24849 if test x"$QT_PATH" = x; then
24850 QT_PATH=`dirname "$QMAKE"`
24852 if test x"$QT_PATH" = x; then
24853 as_fn_error $? "Cannot find the path to your Qt install. Use --with-qt." "$LINENO" 5
24858 # Get ready to build a test-app with Qt.
24859 if mkdir conftest.dir && cd conftest.dir; then :; else
24860 as_fn_error $? "Cannot mkdir conftest.dir or cd to that directory." "$LINENO" 5
24864 cat >conftest.h <<_ASEOF
24867 class Foo: public QObject
24874 void setValue(int value);
24876 void valueChanged(int newValue);
24882 cat >conftest.cpp <<_ASEOF
24883 #include "conftest.h"
24887 connect(this, SIGNAL(valueChanged(int)), this, SLOT(setValue(int)));
24890 void Foo::setValue(int value)
24900 if $QMAKE -project; then :; else
24901 as_fn_error $? "Calling $QMAKE -project failed." "$LINENO" 5
24905 # Find the .pro file generated by qmake.
24906 pro_file='conftest.dir.pro'
24907 test -f $pro_file || pro_file=`echo *.pro`
24908 if test -f "$pro_file"; then :; else
24909 as_fn_error $? "Can't find the .pro file generated by Qmake." "$LINENO" 5
24913 # Tweak the value of QT in the .pro file for -gui $need_qt_modules.
24916 for at_mod in -gui $need_qt_modules; do
24917 at_mod=`echo "$at_mod" | sed 's/^-//; tough
24926 echo "$qt_conf" | sed 1d >>"$pro_file"
24929 # Tweak the value of CONFIG in the .pro file for $qt_config.
24932 for at_mod in $qt_config; do
24933 at_mod=`echo "$at_mod" | sed 's/^-//; tough
24942 echo "$qt_conf" | sed 1d >>"$pro_file"
24945 # Add the extra-settings the user wants to set in the .pro
24946 echo "$qt_misc" >>"$pro_file"
24949 echo "$as_me:$LINENO: Invoking $QMAKE on $pro_file" >&5
24950 sed 's/^/| /' "$pro_file" >&5
24952 if $QMAKE $at_qmake_args; then :; else
24953 as_fn_error $? "Calling $QMAKE $at_qmake_args failed." "$LINENO" 5
24957 # QMake has a very annoying misfeature: sometimes it generates Makefiles
24958 # where all the references to the files from the Qt installation are
24959 # relative. We can't use them as-is because if we take, say, a
24960 # -I../../usr/include/Qt from that Makefile, the flag is invalid as soon
24961 # as we use it in another (sub) directory. So what this perl pass does is
24962 # that it rewrite all relative paths to absolute paths. Another problem
24963 # when building on Cygwin is that QMake mixes paths with blackslashes and
24964 # forward slashes and paths must be handled with extra care because of the
24965 # stupid Windows drive letters.
24966 echo "$as_me:$LINENO: fixing the Makefiles:" Makefile* >&5
24967 cat >fixmk.pl <<\EOF
24969 use Cwd qw(cwd abs_path);
24970 # This variable is useful on Cygwin for the following reason: Say that you are
24971 # in `/' (that is, in fact you are in C:/cygwin, or something like that) if you
24972 # `cd ..' then obviously you remain in `/' (that is in C:/cygwin). QMake
24973 # generates paths that are relative to C:/ (or another driver letter, whatever)
24974 # so the trick to get the `..' resolved properly is to prepend the absolute
24975 # path of the current working directory in a Windows-style. C:/cygwin/../ will
24976 # properly become C:/.
24982 if ($^O eq "cygwin") {
24985 $d = `cygpath --mixed '$d'`;
24992 my $p = $d . shift;
24993 # print "r2a p=$p";
24994 -e $p || return $p;
24996 $p = `cygpath --mixed '$p'`;
25000 # Do not use abs_path on Cygwin: it incorrectly resolves the paths that are
25001 # relative to C:/ rather than `/'.
25004 # print " -> $p\n";
25009 # Only useful on Cygwin.
25010 sub back2forward($)
25013 # print "b2f p=$p";
25014 -e $p || return $p;
25015 $p = `cygpath --mixed '$p'`;
25017 # print " -> $p\n";
25022 foreach my $mk (@ARGV)
25024 next if $mk =~ /~$/;
25025 open(MK, $mk) or die("open $mk: $!");
25026 # print "mk=$mk\n";
25027 my $file = join("", <MK>);
25028 close(MK) or die("close $mk: $!");
25029 rename $mk, $mk . "~" or die("rename $mk: $!");
25030 $file =~ s{(?:\.\.[\\/])+(?:[^"'\s:]+)}{rel2abs($&)}gse;
25031 $file =~ s{(?:[a-zA-Z]:[\\/])?(?:[^"\s]+\\[^"\s:]+)+}
25032 {back2forward($&)}gse if $cygwin;
25033 open(MK, ">", $mk) or die("open >$mk: $!");
25035 close(MK) or die("close >$mk: $!");
25036 print "$mk: updated $r2a relative paths and $b2f backslash-style paths\n";
25042 perl >&5 -w fixmk.pl Makefile* ||
25043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed to fix the Makefiles generated by $QMAKE" >&5
25044 $as_echo "$as_me: WARNING: failed to fix the Makefiles generated by $QMAKE" >&2;}
25047 # Try to compile a simple Qt app.
25048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a simple Qt app" >&5
25049 $as_echo_n "checking whether we can build a simple Qt app... " >&6; }
25050 if ${at_cv_qt_build+:} false; then :
25051 $as_echo_n "(cached) " >&6
25056 if $MAKE >&5 2>&1; then
25057 at_cv_qt_build='ok, looks like Qt 4'
25059 echo "$as_me:$LINENO: Build failed, trying to #include <qobject.h> \
25061 sed 's/<QObject>/<qobject.h>/' conftest.h > tmp.h && mv tmp.h conftest.h
25062 if $MAKE >&5 2>&1; then
25063 at_cv_qt_build='ok, looks like Qt 3'
25065 # Sometimes (such as on Debian) build will fail because Qt hasn't been
25066 # installed in debug mode and qmake tries (by default) to build apps in
25067 # debug mode => Try again in release mode.
25068 echo "$as_me:$LINENO: Build failed, trying to enforce release mode" \
25071 # Tweak the value of CONFIG in the .pro file for +release.
25074 for at_mod in +release; do
25075 at_mod=`echo "$at_mod" | sed 's/^-//; tough
25084 echo "$qt_conf" | sed 1d >>"$pro_file"
25087 sed 's/<qobject.h>/<QObject>/' conftest.h > tmp.h && mv tmp.h conftest.h
25088 if $MAKE >&5 2>&1; then
25089 at_cv_qt_build='ok, looks like Qt 4, release mode forced'
25091 echo "$as_me:$LINENO: Build failed, trying to #include <qobject.h> \
25093 sed 's/<QObject>/<qobject.h>/' conftest.h >tmp.h && mv tmp.h conftest.h
25094 if $MAKE >&5 2>&1; then
25095 at_cv_qt_build='ok, looks like Qt 3, release mode forced'
25098 echo "$as_me:$LINENO: failed program was:" >&5
25099 sed 's/^/| /' conftest.h >&5
25100 echo "$as_me:$LINENO: failed program was:" >&5
25101 sed 's/^/| /' conftest.cpp >&5
25102 fi # if make with Qt3-style #include and release mode forced.
25103 fi # if make with Qt4-style #include and release mode forced.
25104 fi # if make with Qt3-style #include.
25105 fi # if make with Qt4-style #include.
25108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $at_cv_qt_build" >&5
25109 $as_echo "$at_cv_qt_build" >&6; }
25110 if test x"$at_cv_qt_build" = xko; then
25111 as_fn_error $? "Cannot build a test Qt program" "$LINENO" 5
25115 QT_VERSION_MAJOR=`echo "$at_cv_qt_build" | sed 's/[^0-9]*//g'`
25118 # This sed filter is applied after an expression of the form: /^FOO.*=/!d;
25119 # It starts by removing the beginning of the line, removing references to
25120 # SUBLIBS, removing unnecessary whitespaces at the beginning, and prefixes
25121 # all variable uses by QT_.
25122 qt_sed_filter='s///;
25125 s/\$(\([A-Z_][A-Z_]*\))/$(QT_\1)/g'
25127 # Find the Makefile (qmake happens to generate a fake Makefile which invokes
25128 # a Makefile.Debug or Makefile.Release). We we have both, we'll pick the
25129 # Makefile.Release. The reason is that the main difference is that release
25130 # uses -Os and debug -g. We can override -Os by passing another -O but we
25131 # usually don't override -g.
25132 if test -f Makefile.Release; then
25133 at_mfile='Makefile.Release'
25135 at_mfile='Makefile'
25137 if test -f $at_mfile; then :; else
25138 as_fn_error $? "Cannot find the Makefile generated by qmake." "$LINENO" 5
25143 # Find the DEFINES of Qt (should have been named CPPFLAGS).
25144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the DEFINES to use with Qt" >&5
25145 $as_echo_n "checking for the DEFINES to use with Qt... " >&6; }
25146 if ${at_cv_env_QT_DEFINES+:} false; then :
25147 $as_echo_n "(cached) " >&6
25149 at_cv_env_QT_DEFINES=`sed "/^DEFINES[^A-Z=]*=/!d;$qt_sed_filter" $at_mfile`
25151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $at_cv_env_QT_DEFINES" >&5
25152 $as_echo "$at_cv_env_QT_DEFINES" >&6; }
25153 QT_DEFINES=$at_cv_env_QT_DEFINES
25156 # Find the CFLAGS of Qt (We can use Qt in C?!)
25157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the CFLAGS to use with Qt" >&5
25158 $as_echo_n "checking for the CFLAGS to use with Qt... " >&6; }
25159 if ${at_cv_env_QT_CFLAGS+:} false; then :
25160 $as_echo_n "(cached) " >&6
25162 at_cv_env_QT_CFLAGS=`sed "/^CFLAGS[^A-Z=]*=/!d;$qt_sed_filter" $at_mfile`
25164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $at_cv_env_QT_CFLAGS" >&5
25165 $as_echo "$at_cv_env_QT_CFLAGS" >&6; }
25166 QT_CFLAGS=$at_cv_env_QT_CFLAGS
25169 # Find the CXXFLAGS of Qt.
25170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the CXXFLAGS to use with Qt" >&5
25171 $as_echo_n "checking for the CXXFLAGS to use with Qt... " >&6; }
25172 if ${at_cv_env_QT_CXXFLAGS+:} false; then :
25173 $as_echo_n "(cached) " >&6
25175 at_cv_env_QT_CXXFLAGS=`sed "/^CXXFLAGS[^A-Z=]*=/!d;$qt_sed_filter" $at_mfile`
25177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $at_cv_env_QT_CXXFLAGS" >&5
25178 $as_echo "$at_cv_env_QT_CXXFLAGS" >&6; }
25179 QT_CXXFLAGS=$at_cv_env_QT_CXXFLAGS
25182 # Find the INCPATH of Qt.
25183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the INCPATH to use with Qt" >&5
25184 $as_echo_n "checking for the INCPATH to use with Qt... " >&6; }
25185 if ${at_cv_env_QT_INCPATH+:} false; then :
25186 $as_echo_n "(cached) " >&6
25188 at_cv_env_QT_INCPATH=`sed "/^INCPATH[^A-Z=]*=/!d;$qt_sed_filter" $at_mfile`
25190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $at_cv_env_QT_INCPATH" >&5
25191 $as_echo "$at_cv_env_QT_INCPATH" >&6; }
25192 QT_INCPATH=$at_cv_env_QT_INCPATH
25195 QT_CPPFLAGS="$at_cv_env_QT_DEFINES $at_cv_env_QT_INCPATH"
25198 # Find the LFLAGS of Qt (Should have been named LDFLAGS)
25199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the LDFLAGS to use with Qt" >&5
25200 $as_echo_n "checking for the LDFLAGS to use with Qt... " >&6; }
25201 if ${at_cv_env_QT_LDFLAGS+:} false; then :
25202 $as_echo_n "(cached) " >&6
25204 at_cv_env_QT_LDFLAGS=`sed "/^LFLAGS[^A-Z=]*=/!d;$qt_sed_filter" $at_mfile`
25206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $at_cv_env_QT_LDFLAGS" >&5
25207 $as_echo "$at_cv_env_QT_LDFLAGS" >&6; }
25208 QT_LFLAGS=$at_cv_env_QT_LDFLAGS
25210 QT_LDFLAGS=$at_cv_env_QT_LDFLAGS
25213 # Find the LIBS of Qt.
25214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the LIBS to use with Qt" >&5
25215 $as_echo_n "checking for the LIBS to use with Qt... " >&6; }
25216 if ${at_cv_env_QT_LIBS+:} false; then :
25217 $as_echo_n "(cached) " >&6
25219 at_cv_env_QT_LIBS=`sed "/^LIBS[^A-Z]*=/!d;$qt_sed_filter" $at_mfile`
25220 if test x$at_darwin = xyes; then
25221 # Fix QT_LIBS: as of today Libtool (GNU Libtool 1.5.23a) doesn't handle
25222 # -F properly. The "bug" has been fixed on 22 October 2006
25223 # by Peter O'Gorman but we provide backward compatibility here.
25224 at_cv_env_QT_LIBS=`echo "$at_cv_env_QT_LIBS" \
25225 | sed 's/^-F/-Wl,-F/;s/ -F/ -Wl,-F/g'`
25229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $at_cv_env_QT_LIBS" >&5
25230 $as_echo "$at_cv_env_QT_LIBS" >&6; }
25231 QT_LIBS=$at_cv_env_QT_LIBS
25234 cd .. && rm -rf conftest.dir
25236 # Run the user code
25239 done # end hack (useless for to be able to use break)
25243 # determine from where we can get a SHA-256 implementation
25245 if test "$GLIBFOUND" = "yes"; then
25246 # only use glib if we need it anyway, also has to be at lease 2.16
25249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB216" >&5
25250 $as_echo_n "checking for GLIB216... " >&6; }
25252 if test -n "$GLIB216_CFLAGS"; then
25253 pkg_cv_GLIB216_CFLAGS="$GLIB216_CFLAGS"
25254 elif test -n "$PKG_CONFIG"; then
25255 if test -n "$PKG_CONFIG" && \
25256 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.16\""; } >&5
25257 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.16") 2>&5
25259 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25260 test $ac_status = 0; }; then
25261 pkg_cv_GLIB216_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.16" 2>/dev/null`
25262 test "x$?" != "x0" && pkg_failed=yes
25269 if test -n "$GLIB216_LIBS"; then
25270 pkg_cv_GLIB216_LIBS="$GLIB216_LIBS"
25271 elif test -n "$PKG_CONFIG"; then
25272 if test -n "$PKG_CONFIG" && \
25273 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.16\""; } >&5
25274 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.16") 2>&5
25276 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25277 test $ac_status = 0; }; then
25278 pkg_cv_GLIB216_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.16" 2>/dev/null`
25279 test "x$?" != "x0" && pkg_failed=yes
25289 if test $pkg_failed = yes; then
25290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25291 $as_echo "no" >&6; }
25293 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25294 _pkg_short_errors_supported=yes
25296 _pkg_short_errors_supported=no
25298 if test $_pkg_short_errors_supported = yes; then
25299 GLIB216_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.16" 2>&1`
25301 GLIB216_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.16" 2>&1`
25303 # Put the nasty error message in config.log where it belongs
25304 echo "$GLIB216_PKG_ERRORS" >&5
25307 elif test $pkg_failed = untried; then
25308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25309 $as_echo "no" >&6; }
25312 GLIB216_CFLAGS=$pkg_cv_GLIB216_CFLAGS
25313 GLIB216_LIBS=$pkg_cv_GLIB216_LIBS
25314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25315 $as_echo "yes" >&6; }
25317 $as_echo "#define USE_SHA256 1" >>confdefs.h
25322 if test "$have_sha" = "no"; then
25323 # Fallback is Mozilla NSS. In contrast to libgcrypt it has a .pc
25324 # file and a simple API.
25327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NSS" >&5
25328 $as_echo_n "checking for NSS... " >&6; }
25330 if test -n "$NSS_CFLAGS"; then
25331 pkg_cv_NSS_CFLAGS="$NSS_CFLAGS"
25332 elif test -n "$PKG_CONFIG"; then
25333 if test -n "$PKG_CONFIG" && \
25334 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"nss\"\""; } >&5
25335 ($PKG_CONFIG --exists --print-errors ""nss"") 2>&5
25337 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25338 test $ac_status = 0; }; then
25339 pkg_cv_NSS_CFLAGS=`$PKG_CONFIG --cflags ""nss"" 2>/dev/null`
25340 test "x$?" != "x0" && pkg_failed=yes
25347 if test -n "$NSS_LIBS"; then
25348 pkg_cv_NSS_LIBS="$NSS_LIBS"
25349 elif test -n "$PKG_CONFIG"; then
25350 if test -n "$PKG_CONFIG" && \
25351 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"nss\"\""; } >&5
25352 ($PKG_CONFIG --exists --print-errors ""nss"") 2>&5
25354 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25355 test $ac_status = 0; }; then
25356 pkg_cv_NSS_LIBS=`$PKG_CONFIG --libs ""nss"" 2>/dev/null`
25357 test "x$?" != "x0" && pkg_failed=yes
25367 if test $pkg_failed = yes; then
25368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25369 $as_echo "no" >&6; }
25371 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25372 _pkg_short_errors_supported=yes
25374 _pkg_short_errors_supported=no
25376 if test $_pkg_short_errors_supported = yes; then
25377 NSS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs ""nss"" 2>&1`
25379 NSS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs ""nss"" 2>&1`
25381 # Put the nasty error message in config.log where it belongs
25382 echo "$NSS_PKG_ERRORS" >&5
25385 elif test $pkg_failed = untried; then
25386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25387 $as_echo "no" >&6; }
25390 NSS_CFLAGS=$pkg_cv_NSS_CFLAGS
25391 NSS_LIBS=$pkg_cv_NSS_LIBS
25392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25393 $as_echo "yes" >&6; }
25395 $as_echo "#define USE_SHA256 2" >>confdefs.h
25401 if test "$enable_shared" = "yes"; then
25402 ENABLE_MODULES_TRUE=
25403 ENABLE_MODULES_FALSE='#'
25405 ENABLE_MODULES_TRUE='#'
25406 ENABLE_MODULES_FALSE=
25409 if test "$enable_shared" = "yes"; then
25411 $as_echo "#define ENABLE_MODULES 1" >>confdefs.h
25418 if test "$host" = "arm-apple-darwin"; then
25420 $as_echo "#define IPHONE 1" >>confdefs.h
25425 if test "$enable_evolution_compatibility" = "yes"; then
25427 $as_echo "#define EVOLUTION_COMPATIBILITY 1" >>confdefs.h
25429 # don't link against libs wrapped by eds_abi_wrapper (no longer limited to EDS alone...)
25435 if test "$enable_evolution_compatibility" = "ical" || test "$enable_evolution_compatibility" = "yes"; then
25437 $as_echo "#define EVOLUTION_ICAL_COMPATIBILITY 1" >>confdefs.h
25440 if test "$enable_evolution_compatibility" = "yes"; then
25441 ENABLE_EVOLUTION_COMPATIBILITY_TRUE=
25442 ENABLE_EVOLUTION_COMPATIBILITY_FALSE='#'
25444 ENABLE_EVOLUTION_COMPATIBILITY_TRUE='#'
25445 ENABLE_EVOLUTION_COMPATIBILITY_FALSE=
25450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBICAL_AVAILABLE" >&5
25451 $as_echo_n "checking for LIBICAL_AVAILABLE... " >&6; }
25453 if test -n "$LIBICAL_AVAILABLE_CFLAGS"; then
25454 pkg_cv_LIBICAL_AVAILABLE_CFLAGS="$LIBICAL_AVAILABLE_CFLAGS"
25455 elif test -n "$PKG_CONFIG"; then
25456 if test -n "$PKG_CONFIG" && \
25457 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libical >= 0.43\""; } >&5
25458 ($PKG_CONFIG --exists --print-errors "libical >= 0.43") 2>&5
25460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25461 test $ac_status = 0; }; then
25462 pkg_cv_LIBICAL_AVAILABLE_CFLAGS=`$PKG_CONFIG --cflags "libical >= 0.43" 2>/dev/null`
25463 test "x$?" != "x0" && pkg_failed=yes
25470 if test -n "$LIBICAL_AVAILABLE_LIBS"; then
25471 pkg_cv_LIBICAL_AVAILABLE_LIBS="$LIBICAL_AVAILABLE_LIBS"
25472 elif test -n "$PKG_CONFIG"; then
25473 if test -n "$PKG_CONFIG" && \
25474 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libical >= 0.43\""; } >&5
25475 ($PKG_CONFIG --exists --print-errors "libical >= 0.43") 2>&5
25477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25478 test $ac_status = 0; }; then
25479 pkg_cv_LIBICAL_AVAILABLE_LIBS=`$PKG_CONFIG --libs "libical >= 0.43" 2>/dev/null`
25480 test "x$?" != "x0" && pkg_failed=yes
25490 if test $pkg_failed = yes; then
25491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25492 $as_echo "no" >&6; }
25494 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25495 _pkg_short_errors_supported=yes
25497 _pkg_short_errors_supported=no
25499 if test $_pkg_short_errors_supported = yes; then
25500 LIBICAL_AVAILABLE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libical >= 0.43" 2>&1`
25502 LIBICAL_AVAILABLE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libical >= 0.43" 2>&1`
25504 # Put the nasty error message in config.log where it belongs
25505 echo "$LIBICAL_AVAILABLE_PKG_ERRORS" >&5
25508 elif test $pkg_failed = untried; then
25509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25510 $as_echo "no" >&6; }
25513 LIBICAL_AVAILABLE_CFLAGS=$pkg_cv_LIBICAL_AVAILABLE_CFLAGS
25514 LIBICAL_AVAILABLE_LIBS=$pkg_cv_LIBICAL_AVAILABLE_LIBS
25515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25516 $as_echo "yes" >&6; }
25518 $as_echo "#define HAVE_LIBICAL_R 1" >>confdefs.h
25522 if test "$enable_developer_mode" = "yes"; then
25523 BACKENDS_SEARCH_DIRECTORY="`pwd`/src/backends/"
25525 BACKENDS_SEARCH_DIRECTORY='$(libdir)/syncevolution/backends/'
25528 BACKENDS_DIRECTORY='$(libdir)/syncevolution/backends'
25532 # for ActiveSync backend
25533 syncevo_backenddir='$(libdir)'/syncevolution/backends
25537 cat >>confdefs.h <<_ACEOF
25538 #define DEVICE_TYPE "$DEVICE_TYPE"
25542 for ac_header in stdarg.h valgrind/valgrind.h execinfo.h
25544 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
25545 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
25546 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
25547 cat >>confdefs.h <<_ACEOF
25548 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
25557 $as_echo "#define SYNTHESIS 1" >>confdefs.h
25560 # fallback for lack of --with-docdir support in older automake
25561 if test ! "$docdir"; then
25562 docdir = ${datadir}/doc/syncevolution
25566 # Check whether --enable-dbus-timeout-hack was given.
25567 if test "${enable_dbus_timeout_hack+set}" = set; then :
25568 enableval=$enable_dbus_timeout_hack; enable_dbus_timeout_hack=$enableval
25570 if test $enable_ebook = "yes" || test $enable_ecal = "yes"; then
25571 enable_dbus_timeout_hack="yes"
25575 if test "$enable_dbus_timeout_hack" = "yes"; then
25577 $as_echo "#define ENABLE_DBUS_TIMEOUT_HACK 1" >>confdefs.h
25581 # Avoid hard-coding paths in backends. These names are chosen so
25582 # that a backend can alternatively use its own top-level configure
25583 # with PKG_CHECK_MODULES(SYNCEVOLUTION, "syncevolution") to set them.
25584 # need absolute path, use pwd instead of relative $srcdir
25586 # When adding something here, remember to also update syncevolution.pc.in.
25587 # -lrt is for clock_gettime() in the Timespec.h inline functions.
25588 SYNCEVOLUTION_CFLAGS=-I`cd $srcdir && pwd`/src
25589 # Linker flags including libsyncevolution.la and some libs.
25590 SYNCEVOLUTION_LIBS="src/syncevo/libsyncevolution.la -lrt"
25594 # invoking syncevolution binary is allowed to fail when cross-compiling
25595 if test "$cross_compiling" = "yes"; then
25596 COND_CROSS_COMPILING_TRUE=
25597 COND_CROSS_COMPILING_FALSE='#'
25599 COND_CROSS_COMPILING_TRUE='#'
25600 COND_CROSS_COMPILING_FALSE=
25604 # Set by any of the backends providing a keyring, determines the
25605 # default for the "keyring" option.
25606 if test "$have_keyring" = "yes"; then
25608 $as_echo "#define HAVE_KEYRING 1" >>confdefs.h
25612 ac_config_files="$ac_config_files Makefile src/syncevo/syncevolution.pc src/synthesis-includes/Makefile po/Makefile.in src/dbus/glib/syncevo-dbus.pc"
25614 cat >confcache <<\_ACEOF
25615 # This file is a shell script that caches the results of configure
25616 # tests run on this system so they can be shared between configure
25617 # scripts and configure runs, see configure's option --config-cache.
25618 # It is not useful on other systems. If it contains results you don't
25619 # want to keep, you may remove or edit it.
25621 # config.status only pays attention to the cache file if you give it
25622 # the --recheck option to rerun configure.
25624 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25625 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25626 # following values.
25630 # The following way of writing the cache mishandles newlines in values,
25631 # but we know of no workaround that is simple, portable, and efficient.
25632 # So, we kill variables containing newlines.
25633 # Ultrix sh set writes to stderr and can't be redirected directly,
25634 # and sets the high bit in the cache file unless we assign to the vars.
25636 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25637 eval ac_val=\$$ac_var
25641 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
25642 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
25645 _ | IFS | as_nl) ;; #(
25646 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
25647 *) { eval $ac_var=; unset $ac_var;} ;;
25653 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25654 *${as_nl}ac_space=\ *)
25655 # `set' does not quote correctly, so add quotes: double-quote
25656 # substitution turns \\\\ into \\, and sed turns \\ into \.
25659 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25662 # `set' quotes correctly as required by POSIX, so do not add quotes.
25663 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25672 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25674 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25676 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25677 if test -w "$cache_file"; then
25678 if test "x$cache_file" != "x/dev/null"; then
25679 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
25680 $as_echo "$as_me: updating cache $cache_file" >&6;}
25681 if test ! -f "$cache_file" || test -h "$cache_file"; then
25682 cat confcache >"$cache_file"
25684 case $cache_file in #(
25686 mv -f confcache "$cache_file"$$ &&
25687 mv -f "$cache_file"$$ "$cache_file" ;; #(
25689 mv -f confcache "$cache_file" ;;
25694 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
25695 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25700 test "x$prefix" = xNONE && prefix=$ac_default_prefix
25701 # Let make expand exec_prefix.
25702 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
25704 DEFS=-DHAVE_CONFIG_H
25709 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
25710 # 1. Remove the extension, and $U if already installed.
25711 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
25712 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
25713 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
25714 # will be set to the directory where LIBOBJS objects are built.
25715 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
25716 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
25718 LIBOBJS=$ac_libobjs
25720 LTLIBOBJS=$ac_ltlibobjs
25723 if test -n "$EXEEXT"; then
25725 am__EXEEXT_FALSE='#'
25727 am__EXEEXT_TRUE='#'
25731 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
25732 as_fn_error $? "conditional \"AMDEP\" was never defined.
25733 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25735 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25736 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
25737 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25739 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
25740 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
25741 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25743 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
25744 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
25745 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25747 if test -z "${ENABLE_ICALTZ_UTIL_TRUE}" && test -z "${ENABLE_ICALTZ_UTIL_FALSE}"; then
25748 as_fn_error $? "conditional \"ENABLE_ICALTZ_UTIL\" was never defined.
25749 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25751 if test -z "${ENABLE_UNIT_TESTS_TRUE}" && test -z "${ENABLE_UNIT_TESTS_FALSE}"; then
25752 as_fn_error $? "conditional \"ENABLE_UNIT_TESTS\" was never defined.
25753 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25755 if test -z "${ENABLE_TESTING_TRUE}" && test -z "${ENABLE_TESTING_FALSE}"; then
25756 as_fn_error $? "conditional \"ENABLE_TESTING\" was never defined.
25757 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25759 if test -z "${ENABLE_OBEX_TRUE}" && test -z "${ENABLE_OBEX_FALSE}"; then
25760 as_fn_error $? "conditional \"ENABLE_OBEX\" was never defined.
25761 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25763 if test -z "${ENABLE_BLUETOOTH_TRUE}" && test -z "${ENABLE_BLUETOOTH_FALSE}"; then
25764 as_fn_error $? "conditional \"ENABLE_BLUETOOTH\" was never defined.
25765 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25767 if test -z "${COND_GTK2_TRUE}" && test -z "${COND_GTK2_FALSE}"; then
25768 as_fn_error $? "conditional \"COND_GTK2\" was never defined.
25769 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25771 if test -z "${COND_GUI_TRUE}" && test -z "${COND_GUI_FALSE}"; then
25772 as_fn_error $? "conditional \"COND_GUI\" was never defined.
25773 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25775 if test -z "${COND_CORE_TRUE}" && test -z "${COND_CORE_FALSE}"; then
25776 as_fn_error $? "conditional \"COND_CORE\" was never defined.
25777 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25779 if test -z "${COND_DBUS_TRUE}" && test -z "${COND_DBUS_FALSE}"; then
25780 as_fn_error $? "conditional \"COND_DBUS\" was never defined.
25781 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25783 if test -z "${COND_GIO_GDBUS_TRUE}" && test -z "${COND_GIO_GDBUS_FALSE}"; then
25784 as_fn_error $? "conditional \"COND_GIO_GDBUS\" was never defined.
25785 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25787 if test -z "${NOTIFY_COMPATIBILITY_TRUE}" && test -z "${NOTIFY_COMPATIBILITY_FALSE}"; then
25788 as_fn_error $? "conditional \"NOTIFY_COMPATIBILITY\" was never defined.
25789 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25791 if test -z "${COND_DBUS_PIM_TRUE}" && test -z "${COND_DBUS_PIM_FALSE}"; then
25792 as_fn_error $? "conditional \"COND_DBUS_PIM\" was never defined.
25793 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25796 ac_config_commands="$ac_config_commands po/stamp-it"
25799 if test -z "${COND_MAN_PAGES_TRUE}" && test -z "${COND_MAN_PAGES_FALSE}"; then
25800 as_fn_error $? "conditional \"COND_MAN_PAGES\" was never defined.
25801 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25803 if test -z "${COND_HTML_README_TRUE}" && test -z "${COND_HTML_README_FALSE}"; then
25804 as_fn_error $? "conditional \"COND_HTML_README\" was never defined.
25805 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25807 if test -z "${ENABLE_GNOME_BLUETOOTH_PANEL_TRUE}" && test -z "${ENABLE_GNOME_BLUETOOTH_PANEL_FALSE}"; then
25808 as_fn_error $? "conditional \"ENABLE_GNOME_BLUETOOTH_PANEL\" was never defined.
25809 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25811 if test -z "${COND_DOC_TRUE}" && test -z "${COND_DOC_FALSE}"; then
25812 as_fn_error $? "conditional \"COND_DOC\" was never defined.
25813 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25815 if test -z "${BUILD_ACTIVESYNCD_TRUE}" && test -z "${BUILD_ACTIVESYNCD_FALSE}"; then
25816 as_fn_error $? "conditional \"BUILD_ACTIVESYNCD\" was never defined.
25817 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25819 if test -z "${ENABLE_AKONADI_TRUE}" && test -z "${ENABLE_AKONADI_FALSE}"; then
25820 as_fn_error $? "conditional \"ENABLE_AKONADI\" was never defined.
25821 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25823 if test -z "${ENABLE_ECAL_TRUE}" && test -z "${ENABLE_ECAL_FALSE}"; then
25824 as_fn_error $? "conditional \"ENABLE_ECAL\" was never defined.
25825 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25827 if test -z "${USE_GOA_TRUE}" && test -z "${USE_GOA_FALSE}"; then
25828 as_fn_error $? "conditional \"USE_GOA\" was never defined.
25829 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25831 if test -z "${USE_KDE_KWALLET_TRUE}" && test -z "${USE_KDE_KWALLET_FALSE}"; then
25832 as_fn_error $? "conditional \"USE_KDE_KWALLET\" was never defined.
25833 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25835 if test -z "${USE_GSSO_TRUE}" && test -z "${USE_GSSO_FALSE}"; then
25836 as_fn_error $? "conditional \"USE_GSSO\" was never defined.
25837 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25839 if test -z "${USE_UOA_TRUE}" && test -z "${USE_UOA_FALSE}"; then
25840 as_fn_error $? "conditional \"USE_UOA\" was never defined.
25841 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25843 if test -z "${NEON_COMPATIBILITY_TRUE}" && test -z "${NEON_COMPATIBILITY_FALSE}"; then
25844 as_fn_error $? "conditional \"NEON_COMPATIBILITY\" was never defined.
25845 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25847 if test -z "${ENABLE_QT_DBUS_TRUE}" && test -z "${ENABLE_QT_DBUS_FALSE}"; then
25848 as_fn_error $? "conditional \"ENABLE_QT_DBUS\" was never defined.
25849 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25851 if test -z "${ENABLE_ICAL_TRUE}" && test -z "${ENABLE_ICAL_FALSE}"; then
25852 as_fn_error $? "conditional \"ENABLE_ICAL\" was never defined.
25853 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25855 if test -z "${ENABLE_MODULES_TRUE}" && test -z "${ENABLE_MODULES_FALSE}"; then
25856 as_fn_error $? "conditional \"ENABLE_MODULES\" was never defined.
25857 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25859 if test -z "${ENABLE_EVOLUTION_COMPATIBILITY_TRUE}" && test -z "${ENABLE_EVOLUTION_COMPATIBILITY_FALSE}"; then
25860 as_fn_error $? "conditional \"ENABLE_EVOLUTION_COMPATIBILITY\" was never defined.
25861 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25863 if test -z "${COND_CROSS_COMPILING_TRUE}" && test -z "${COND_CROSS_COMPILING_FALSE}"; then
25864 as_fn_error $? "conditional \"COND_CROSS_COMPILING\" was never defined.
25865 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25868 : "${CONFIG_STATUS=./config.status}"
25870 ac_clean_files_save=$ac_clean_files
25871 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
25872 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
25873 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
25875 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
25877 # Generated by $as_me.
25878 # Run this file to recreate the current configuration.
25879 # Compiler output produced by configure, useful for debugging
25880 # configure, is in config.log if it exists.
25883 ac_cs_recheck=false
25886 SHELL=\${CONFIG_SHELL-$SHELL}
25889 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
25890 ## -------------------- ##
25891 ## M4sh Initialization. ##
25892 ## -------------------- ##
25894 # Be more Bourne compatible
25895 DUALCASE=1; export DUALCASE # for MKS sh
25896 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
25899 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25900 # is contrary to our usage. Disable this feature.
25901 alias -g '${1+"$@"}'='"$@"'
25902 setopt NO_GLOB_SUBST
25904 case `(set -o) 2>/dev/null` in #(
25916 # Printing a long string crashes Solaris 7 /usr/bin/printf.
25917 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
25918 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
25919 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
25920 # Prefer a ksh shell builtin over an external printf program on Solaris,
25921 # but without wasting forks for bash or zsh.
25922 if test -z "$BASH_VERSION$ZSH_VERSION" \
25923 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
25924 as_echo='print -r --'
25925 as_echo_n='print -rn --'
25926 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
25927 as_echo='printf %s\n'
25928 as_echo_n='printf %s'
25930 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
25931 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
25932 as_echo_n='/usr/ucb/echo -n'
25934 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
25935 as_echo_n_body='eval
25939 expr "X$arg" : "X\\(.*\\)$as_nl";
25940 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
25942 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
25944 export as_echo_n_body
25945 as_echo_n='sh -c $as_echo_n_body as_echo'
25947 export as_echo_body
25948 as_echo='sh -c $as_echo_body as_echo'
25951 # The user is always right.
25952 if test "${PATH_SEPARATOR+set}" != set; then
25954 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
25955 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
25962 # We need space, tab and new line, in precisely that order. Quoting is
25963 # there to prevent editors from complaining about space-tab.
25964 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
25965 # splitting by setting IFS to empty value.)
25968 # Find who we are. Look in the path if we contain no directory separator.
25971 *[\\/]* ) as_myself=$0 ;;
25972 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25973 for as_dir in $PATH
25976 test -z "$as_dir" && as_dir=.
25977 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
25983 # We did not find ourselves, most probably we were run as `sh COMMAND'
25984 # in which case we are not to be found in the path.
25985 if test "x$as_myself" = x; then
25988 if test ! -f "$as_myself"; then
25989 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
25993 # Unset variables that we do not need and which cause bugs (e.g. in
25994 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
25995 # suppresses any "Segmentation fault" message there. '((' could
25996 # trigger a bug in pdksh 5.2.14.
25997 for as_var in BASH_ENV ENV MAIL MAILPATH
25998 do eval test x\${$as_var+set} = xset \
25999 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
26012 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
26015 # as_fn_error STATUS ERROR [LINENO LOG_FD]
26016 # ----------------------------------------
26017 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
26018 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
26019 # script with STATUS, using 1 if that was 0.
26022 as_status=$1; test $as_status -eq 0 && as_status=1
26024 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
26025 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
26027 $as_echo "$as_me: error: $2" >&2
26028 as_fn_exit $as_status
26032 # as_fn_set_status STATUS
26033 # -----------------------
26034 # Set $? to STATUS, without forking.
26035 as_fn_set_status ()
26038 } # as_fn_set_status
26040 # as_fn_exit STATUS
26041 # -----------------
26042 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
26046 as_fn_set_status $1
26052 # Portably unset VAR.
26055 { eval $1=; unset $1;}
26057 as_unset=as_fn_unset
26058 # as_fn_append VAR VALUE
26059 # ----------------------
26060 # Append the text in VALUE to the end of the definition contained in VAR. Take
26061 # advantage of any shell optimizations that allow amortized linear growth over
26062 # repeated appends, instead of the typical quadratic growth present in naive
26064 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
26065 eval 'as_fn_append ()
26076 # as_fn_arith ARG...
26077 # ------------------
26078 # Perform arithmetic evaluation on the ARGs, and store the result in the
26079 # global $as_val. Take advantage of shells that can avoid forks. The arguments
26080 # must be portable across $(()) and expr.
26081 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
26082 eval 'as_fn_arith ()
26089 as_val=`expr "$@" || test $? -eq 1`
26094 if expr a : '\(a\)' >/dev/null 2>&1 &&
26095 test "X`expr 00001 : '.*\(...\)'`" = X001; then
26101 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
26102 as_basename=basename
26107 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
26113 as_me=`$as_basename -- "$0" ||
26114 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26115 X"$0" : 'X\(//\)$' \| \
26116 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
26118 sed '/^.*\/\([^/][^/]*\)\/*$/{
26132 # Avoid depending upon Character Ranges.
26133 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
26134 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
26135 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
26136 as_cr_digits='0123456789'
26137 as_cr_alnum=$as_cr_Letters$as_cr_digits
26139 ECHO_C= ECHO_N= ECHO_T=
26140 case `echo -n x` in #(((((
26142 case `echo 'xy\c'` in
26143 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
26145 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
26152 rm -f conf$$ conf$$.exe conf$$.file
26153 if test -d conf$$.dir; then
26154 rm -f conf$$.dir/conf$$.file
26157 mkdir conf$$.dir 2>/dev/null
26159 if (echo >conf$$.file) 2>/dev/null; then
26160 if ln -s conf$$.file conf$$ 2>/dev/null; then
26162 # ... but there are two gotchas:
26163 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
26164 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
26165 # In both cases, we have to default to `cp -pR'.
26166 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
26168 elif ln conf$$.file conf$$ 2>/dev/null; then
26176 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
26177 rmdir conf$$.dir 2>/dev/null
26182 # Create "$as_dir" as a directory, including parents if necessary.
26187 -*) as_dir=./$as_dir;;
26189 test -d "$as_dir" || eval $as_mkdir_p || {
26193 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
26194 *) as_qdir=$as_dir;;
26196 as_dirs="'$as_qdir' $as_dirs"
26197 as_dir=`$as_dirname -- "$as_dir" ||
26198 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26199 X"$as_dir" : 'X\(//\)[^/]' \| \
26200 X"$as_dir" : 'X\(//\)$' \| \
26201 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
26202 $as_echo X"$as_dir" |
26203 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26207 /^X\(\/\/\)[^/].*/{
26220 test -d "$as_dir" && break
26222 test -z "$as_dirs" || eval "mkdir $as_dirs"
26223 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
26227 if mkdir -p . 2>/dev/null; then
26228 as_mkdir_p='mkdir -p "$as_dir"'
26230 test -d ./-p && rmdir ./-p
26235 # as_fn_executable_p FILE
26236 # -----------------------
26237 # Test if FILE is an executable regular file.
26238 as_fn_executable_p ()
26240 test -f "$1" && test -x "$1"
26241 } # as_fn_executable_p
26242 as_test_x='test -x'
26243 as_executable_p=as_fn_executable_p
26245 # Sed expression to map a string onto a valid CPP name.
26246 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
26248 # Sed expression to map a string onto a valid variable name.
26249 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
26253 ## ----------------------------------- ##
26254 ## Main body of $CONFIG_STATUS script. ##
26255 ## ----------------------------------- ##
26257 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
26259 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26260 # Save the log message, to keep $0 and so on meaningful, and to
26261 # report actual input values of CONFIG_FILES etc. instead of their
26262 # values after options handling.
26264 This file was extended by syncevolution $as_me 1.4.1, which was
26265 generated by GNU Autoconf 2.69. Invocation command line was
26267 CONFIG_FILES = $CONFIG_FILES
26268 CONFIG_HEADERS = $CONFIG_HEADERS
26269 CONFIG_LINKS = $CONFIG_LINKS
26270 CONFIG_COMMANDS = $CONFIG_COMMANDS
26273 on `(hostname || uname -n) 2>/dev/null | sed 1q`
26278 case $ac_config_files in *"
26279 "*) set x $ac_config_files; shift; ac_config_files=$*;;
26282 case $ac_config_headers in *"
26283 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
26287 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26288 # Files that config.status was made for.
26289 config_files="$ac_config_files"
26290 config_headers="$ac_config_headers"
26291 config_commands="$ac_config_commands"
26295 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26297 \`$as_me' instantiates files and other configuration actions
26298 from templates according to the current configuration. Unless the files
26299 and actions are specified as TAGs, all are instantiated by default.
26301 Usage: $0 [OPTION]... [TAG]...
26303 -h, --help print this help, then exit
26304 -V, --version print version number and configuration settings, then exit
26305 --config print configuration, then exit
26306 -q, --quiet, --silent
26307 do not print progress messages
26308 -d, --debug don't remove temporary files
26309 --recheck update $as_me by reconfiguring in the same conditions
26310 --file=FILE[:TEMPLATE]
26311 instantiate the configuration file FILE
26312 --header=FILE[:TEMPLATE]
26313 instantiate the configuration header FILE
26315 Configuration files:
26318 Configuration headers:
26321 Configuration commands:
26324 Report bugs to the package provider."
26327 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26328 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
26330 syncevolution config.status 1.4.1
26331 configured by $0, generated by GNU Autoconf 2.69,
26332 with options \\"\$ac_cs_config\\"
26334 Copyright (C) 2012 Free Software Foundation, Inc.
26335 This config.status script is free software; the Free Software Foundation
26336 gives unlimited permission to copy, distribute and modify it."
26343 test -n "\$AWK" || AWK=awk
26346 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26347 # The default lists apply if the user does not specify any file.
26353 ac_option=`expr "X$1" : 'X\([^=]*\)='`
26354 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
26358 ac_option=`expr "X$1" : 'X\([^=]*\)='`
26370 # Handling of the options.
26371 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
26373 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
26374 $as_echo "$ac_cs_version"; exit ;;
26375 --config | --confi | --conf | --con | --co | --c )
26376 $as_echo "$ac_cs_config"; exit ;;
26377 --debug | --debu | --deb | --de | --d | -d )
26379 --file | --fil | --fi | --f )
26382 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
26383 '') as_fn_error $? "missing file argument" ;;
26385 as_fn_append CONFIG_FILES " '$ac_optarg'"
26386 ac_need_defaults=false;;
26387 --header | --heade | --head | --hea )
26390 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
26392 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
26393 ac_need_defaults=false;;
26395 # Conflict between --help and --header
26396 as_fn_error $? "ambiguous option: \`$1'
26397 Try \`$0 --help' for more information.";;
26398 --help | --hel | -h )
26399 $as_echo "$ac_cs_usage"; exit ;;
26400 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
26401 | -silent | --silent | --silen | --sile | --sil | --si | --s)
26404 # This is an error.
26405 -*) as_fn_error $? "unrecognized option: \`$1'
26406 Try \`$0 --help' for more information." ;;
26408 *) as_fn_append ac_config_targets " $1"
26409 ac_need_defaults=false ;;
26415 ac_configure_extra_args=
26417 if $ac_cs_silent; then
26419 ac_configure_extra_args="$ac_configure_extra_args --silent"
26423 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26424 if \$ac_cs_recheck; then
26425 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
26427 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
26428 CONFIG_SHELL='$SHELL'
26429 export CONFIG_SHELL
26434 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26438 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
26439 ## Running $as_me. ##
26445 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26449 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
26452 # The HP-UX ksh and POSIX shell print the target directory to stdout
26453 # if CDPATH is set.
26454 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
26456 sed_quote_subst='$sed_quote_subst'
26457 double_quote_subst='$double_quote_subst'
26458 delay_variable_subst='$delay_variable_subst'
26459 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
26460 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
26461 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
26462 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
26463 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
26464 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
26465 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
26466 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
26467 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
26468 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
26469 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
26470 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
26471 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
26472 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
26473 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
26474 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
26475 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
26476 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
26477 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
26478 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
26479 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
26480 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
26481 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
26482 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
26483 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
26484 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
26485 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
26486 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
26487 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
26488 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
26489 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
26490 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
26491 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
26492 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
26493 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
26494 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
26495 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
26496 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
26497 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
26498 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
26499 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
26500 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
26501 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
26502 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
26503 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
26504 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
26505 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
26506 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
26507 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
26508 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
26509 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
26510 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
26511 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
26512 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
26513 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
26514 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
26515 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"`'
26516 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
26517 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
26518 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
26519 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
26520 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
26521 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
26522 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
26523 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
26524 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
26525 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
26526 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
26527 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
26528 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
26529 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
26530 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
26531 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
26532 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
26533 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
26534 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
26535 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
26536 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
26537 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
26538 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
26539 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
26540 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
26541 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
26542 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
26543 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
26544 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
26545 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
26546 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
26547 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
26548 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
26549 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
26550 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
26551 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
26552 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
26553 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
26554 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
26555 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
26556 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
26557 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
26558 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
26559 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
26560 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
26561 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
26562 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
26563 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
26564 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
26565 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
26566 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
26567 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
26568 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
26569 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
26570 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
26571 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
26572 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
26573 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
26574 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
26575 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
26576 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
26577 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
26578 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
26579 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
26580 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
26581 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
26582 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
26583 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
26584 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
26585 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
26586 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
26587 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
26588 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
26589 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
26590 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
26591 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
26592 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
26593 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
26594 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
26595 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
26596 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
26597 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26598 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26599 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
26600 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
26601 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
26602 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
26603 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
26604 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
26605 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
26606 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
26607 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
26608 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
26609 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
26610 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
26611 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26612 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26613 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26614 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26615 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26616 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26617 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
26618 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
26619 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
26620 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
26621 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
26622 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
26623 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
26624 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
26625 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
26626 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
26627 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
26628 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
26629 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
26630 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26631 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
26632 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
26633 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26634 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26635 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
26636 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
26637 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
26638 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
26639 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
26640 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
26641 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
26642 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
26645 LTCFLAGS='$LTCFLAGS'
26646 compiler='$compiler_DEFAULT'
26648 # A function that is used when there is no print builtin or printf.
26649 func_fallback_echo ()
26651 eval 'cat <<_LTECHO_EOF
26656 # Quote evaled strings.
26671 deplibs_check_method \
26676 sharedlib_from_linklib_cmd \
26679 archiver_list_spec \
26685 lt_cv_sys_global_symbol_pipe \
26686 lt_cv_sys_global_symbol_to_cdecl \
26687 lt_cv_sys_global_symbol_to_c_name_address \
26688 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
26689 nm_file_list_spec \
26690 lt_prog_compiler_no_builtin_flag \
26691 lt_prog_compiler_pic \
26692 lt_prog_compiler_wl \
26693 lt_prog_compiler_static \
26694 lt_cv_prog_compiler_c_o \
26703 export_dynamic_flag_spec \
26704 whole_archive_flag_spec \
26705 compiler_needs_object \
26707 allow_undefined_flag \
26708 no_undefined_flag \
26709 hardcode_libdir_flag_spec \
26710 hardcode_libdir_separator \
26714 variables_saved_for_relink \
26716 library_names_spec \
26718 install_override_mode \
26722 compiler_lib_search_dirs \
26727 compiler_lib_search_path \
26731 lt_prog_compiler_no_builtin_flag_CXX \
26732 lt_prog_compiler_pic_CXX \
26733 lt_prog_compiler_wl_CXX \
26734 lt_prog_compiler_static_CXX \
26735 lt_cv_prog_compiler_c_o_CXX \
26736 export_dynamic_flag_spec_CXX \
26737 whole_archive_flag_spec_CXX \
26738 compiler_needs_object_CXX \
26740 allow_undefined_flag_CXX \
26741 no_undefined_flag_CXX \
26742 hardcode_libdir_flag_spec_CXX \
26743 hardcode_libdir_separator_CXX \
26744 exclude_expsyms_CXX \
26745 include_expsyms_CXX \
26746 file_list_spec_CXX \
26747 compiler_lib_search_dirs_CXX \
26748 predep_objects_CXX \
26749 postdep_objects_CXX \
26752 compiler_lib_search_path_CXX; do
26753 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26754 *[\\\\\\\`\\"\\\$]*)
26755 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
26758 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26763 # Double-quote double-evaled strings.
26764 for var in reload_cmds \
26765 old_postinstall_cmds \
26766 old_postuninstall_cmds \
26768 extract_expsyms_cmds \
26769 old_archive_from_new_cmds \
26770 old_archive_from_expsyms_cmds \
26772 archive_expsym_cmds \
26774 module_expsym_cmds \
26775 export_symbols_cmds \
26779 postuninstall_cmds \
26781 sys_lib_search_path_spec \
26782 sys_lib_dlsearch_path_spec \
26784 old_archive_cmds_CXX \
26785 old_archive_from_new_cmds_CXX \
26786 old_archive_from_expsyms_cmds_CXX \
26788 archive_expsym_cmds_CXX \
26790 module_expsym_cmds_CXX \
26791 export_symbols_cmds_CXX \
26793 postlink_cmds_CXX; do
26794 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26795 *[\\\\\\\`\\"\\\$]*)
26796 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
26799 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26804 ac_aux_dir='$ac_aux_dir'
26805 xsi_shell='$xsi_shell'
26806 lt_shell_append='$lt_shell_append'
26808 # See if we are running on zsh, and set the options which allow our
26809 # commands through without removal of \ escapes INIT.
26810 if test -n "\${ZSH_VERSION+set}" ; then
26811 setopt NO_GLOB_SUBST
26817 TIMESTAMP='$TIMESTAMP'
26829 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26831 # Handling of arguments.
26832 for ac_config_target in $ac_config_targets
26834 case $ac_config_target in
26835 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
26836 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
26837 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
26838 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
26839 "src/backends/signon/accounts/google-caldav.service") CONFIG_FILES="$CONFIG_FILES src/backends/signon/accounts/google-caldav.service" ;;
26840 "src/backends/signon/accounts/google-carddav.service") CONFIG_FILES="$CONFIG_FILES src/backends/signon/accounts/google-carddav.service" ;;
26841 "src/backends/signon/accounts/google.provider") CONFIG_FILES="$CONFIG_FILES src/backends/signon/accounts/google.provider" ;;
26842 "src/dbus/qt/syncevolution-qt-dbus.pc") CONFIG_FILES="$CONFIG_FILES src/dbus/qt/syncevolution-qt-dbus.pc" ;;
26843 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
26844 "src/syncevo/syncevolution.pc") CONFIG_FILES="$CONFIG_FILES src/syncevo/syncevolution.pc" ;;
26845 "src/synthesis-includes/Makefile") CONFIG_FILES="$CONFIG_FILES src/synthesis-includes/Makefile" ;;
26846 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
26847 "src/dbus/glib/syncevo-dbus.pc") CONFIG_FILES="$CONFIG_FILES src/dbus/glib/syncevo-dbus.pc" ;;
26848 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
26850 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
26855 # If the user did not use the arguments to specify the items to instantiate,
26856 # then the envvar interface is used. Set only those that are not.
26857 # We use the long form for the default assignment because of an extremely
26858 # bizarre bug on SunOS 4.1.3.
26859 if $ac_need_defaults; then
26860 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
26861 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
26862 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
26865 # Have a temporary directory for convenience. Make it in the build tree
26866 # simply because there is no reason against having it here, and in addition,
26867 # creating and moving files from /tmp can sometimes cause problems.
26868 # Hook for its removal unless debugging.
26869 # Note that there is a small window in which the directory will not be cleaned:
26870 # after its creation but before its name has been assigned to `$tmp'.
26874 trap 'exit_status=$?
26875 : "${ac_tmp:=$tmp}"
26876 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
26878 trap 'as_fn_exit 1' 1 2 13 15
26880 # Create a (secure) tmp directory for tmp files.
26883 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
26887 tmp=./conf$$-$RANDOM
26888 (umask 077 && mkdir "$tmp")
26889 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
26892 # Set up the scripts for CONFIG_FILES section.
26893 # No need to generate them if there are no CONFIG_FILES.
26894 # This happens for instance with `./config.status config.h'.
26895 if test -n "$CONFIG_FILES"; then
26898 ac_cr=`echo X | tr X '\015'`
26899 # On cygwin, bash can eat \r inside `` if the user requested igncr.
26900 # But we know of no other shell where ac_cr would be empty at this
26901 # point, so we can use a bashism as a fallback.
26902 if test "x$ac_cr" = x; then
26903 eval ac_cr=\$\'\\r\'
26905 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
26906 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
26909 ac_cs_awk_cr=$ac_cr
26912 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
26917 echo "cat >conf$$subs.awk <<_ACEOF" &&
26918 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
26920 } >conf$$subs.sh ||
26921 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
26922 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
26924 for ac_last_try in false false false false false :; do
26925 . ./conf$$subs.sh ||
26926 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
26928 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
26929 if test $ac_delim_n = $ac_delim_num; then
26931 elif $ac_last_try; then
26932 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
26934 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26937 rm -f conf$$subs.sh
26939 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26940 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
26944 s/^/S["/; s/!.*/"]=/
26954 s/\(.\{148\}\)..*/\1/
26956 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
26961 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
26968 s/\(.\{148\}\)..*/\1/
26970 s/["\\]/\\&/g; s/^/"/; s/$/"/
26974 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
26979 ' <conf$$subs.awk | sed '
26984 ' >>$CONFIG_STATUS || ac_write_fail=1
26985 rm -f conf$$subs.awk
26986 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26988 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
26989 for (key in S) S_is_set[key] = 1
26995 nfields = split(line, field, "@")
26997 len = length(field[1])
26998 for (i = 2; i < nfields; i++) {
27000 keylen = length(key)
27001 if (S_is_set[key]) {
27003 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
27004 len += length(value) + length(field[++i])
27015 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27016 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
27017 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
27020 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
27021 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
27024 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
27025 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
27026 # trailing colons and then remove the whole line if VPATH becomes empty
27027 # (actually we leave an empty line to preserve line numbers).
27028 if test "x$srcdir" = x.; then
27029 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
27047 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27048 fi # test -n "$CONFIG_FILES"
27050 # Set up the scripts for CONFIG_HEADERS section.
27051 # No need to generate them if there are no CONFIG_HEADERS.
27052 # This happens for instance with `./config.status Makefile'.
27053 if test -n "$CONFIG_HEADERS"; then
27054 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
27058 # Transform confdefs.h into an awk script `defines.awk', embedded as
27059 # here-document in config.status, that substitutes the proper values into
27060 # config.h.in to produce config.h.
27062 # Create a delimiter string that does not exist in confdefs.h, to ease
27063 # handling of long lines.
27065 for ac_last_try in false false :; do
27066 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
27067 if test -z "$ac_tt"; then
27069 elif $ac_last_try; then
27070 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
27072 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27076 # For the awk script, D is an array of macro values keyed by name,
27077 # likewise P contains macro parameters if any. Preserve backslash
27078 # newline sequences.
27080 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
27082 s/.\{148\}/&'"$ac_delim"'/g
27085 s/^[ ]*#[ ]*define[ ][ ]*/ /
27092 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
27094 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
27098 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
27099 D["\1"]=" \3\\\\\\n"\\/p
27101 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
27106 s/.\{148\}/&'"$ac_delim"'/g
27111 s/["\\]/\\&/g; s/^/"/; s/$/"/p
27114 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
27116 ' <confdefs.h | sed '
27117 s/'"$ac_delim"'/"\\\
27118 "/g' >>$CONFIG_STATUS || ac_write_fail=1
27120 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27121 for (key in D) D_is_set[key] = 1
27124 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
27126 split(line, arg, " ")
27127 if (arg[1] == "#") {
27131 defundef = substr(arg[1], 2)
27134 split(mac1, mac2, "(") #)
27136 prefix = substr(line, 1, index(line, defundef) - 1)
27137 if (D_is_set[macro]) {
27138 # Preserve the white space surrounding the "#".
27139 print prefix "define", macro P[macro] D[macro]
27142 # Replace #undef with comments. This is necessary, for example,
27143 # in the case of _POSIX_SOURCE, which is predefined and required
27144 # on some systems where configure will not decide to define it.
27145 if (defundef == "undef") {
27146 print "/*", prefix defundef, macro, "*/"
27154 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27155 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
27156 fi # test -n "$CONFIG_HEADERS"
27159 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
27164 :[FHLC]) ac_mode=$ac_tag; continue;;
27166 case $ac_mode$ac_tag in
27168 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
27169 :[FH]-) ac_tag=-:-;;
27170 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
27187 -) ac_f="$ac_tmp/stdin";;
27188 *) # Look for the file first in the build tree, then in the source tree
27189 # (if the path is not absolute). The absolute path cannot be DOS-style,
27190 # because $ac_f cannot contain `:'.
27194 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
27196 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
27198 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
27199 as_fn_append ac_file_inputs " '$ac_f'"
27202 # Let's still pretend it is `configure' which instantiates (i.e., don't
27203 # use $as_me), people would be surprised to read:
27204 # /* config.h. Generated by config.status. */
27205 configure_input='Generated from '`
27206 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
27208 if test x"$ac_file" != x-; then
27209 configure_input="$ac_file. $configure_input"
27210 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
27211 $as_echo "$as_me: creating $ac_file" >&6;}
27213 # Neutralize special characters interpreted by sed in replacement strings.
27214 case $configure_input in #(
27215 *\&* | *\|* | *\\* )
27216 ac_sed_conf_input=`$as_echo "$configure_input" |
27217 sed 's/[\\\\&|]/\\\\&/g'`;; #(
27218 *) ac_sed_conf_input=$configure_input;;
27222 *:-:* | *:-) cat >"$ac_tmp/stdin" \
27223 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
27228 ac_dir=`$as_dirname -- "$ac_file" ||
27229 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27230 X"$ac_file" : 'X\(//\)[^/]' \| \
27231 X"$ac_file" : 'X\(//\)$' \| \
27232 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
27233 $as_echo X"$ac_file" |
27234 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27238 /^X\(\/\/\)[^/].*/{
27251 as_dir="$ac_dir"; as_fn_mkdir_p
27255 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
27257 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
27258 # A ".." for each directory in $ac_dir_suffix.
27259 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
27260 case $ac_top_builddir_sub in
27261 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
27262 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
27265 ac_abs_top_builddir=$ac_pwd
27266 ac_abs_builddir=$ac_pwd$ac_dir_suffix
27267 # for backward compatibility:
27268 ac_top_builddir=$ac_top_build_prefix
27271 .) # We are building in place.
27273 ac_top_srcdir=$ac_top_builddir_sub
27274 ac_abs_top_srcdir=$ac_pwd ;;
27275 [\\/]* | ?:[\\/]* ) # Absolute name.
27276 ac_srcdir=$srcdir$ac_dir_suffix;
27277 ac_top_srcdir=$srcdir
27278 ac_abs_top_srcdir=$srcdir ;;
27279 *) # Relative name.
27280 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
27281 ac_top_srcdir=$ac_top_build_prefix$srcdir
27282 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
27284 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
27294 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
27295 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
27297 ac_MKDIR_P=$MKDIR_P
27299 [\\/$]* | ?:[\\/]* ) ;;
27300 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
27304 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27305 # If the template does not know about datarootdir, expand it.
27306 # FIXME: This hack should be removed a few years after 2.60.
27307 ac_datarootdir_hack=; ac_datarootdir_seen=
27318 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
27319 *datarootdir*) ac_datarootdir_seen=yes;;
27320 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
27321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
27322 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
27324 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27325 ac_datarootdir_hack='
27326 s&@datadir@&$datadir&g
27327 s&@docdir@&$docdir&g
27328 s&@infodir@&$infodir&g
27329 s&@localedir@&$localedir&g
27330 s&@mandir@&$mandir&g
27331 s&\\\${datarootdir}&$datarootdir&g' ;;
27335 # Neutralize VPATH when `$srcdir' = `.'.
27336 # Shell code in configure.ac might set extrasub.
27337 # FIXME: do we really want to maintain this feature?
27338 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27339 ac_sed_extra="$ac_vpsub
27342 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27344 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
27345 s|@configure_input@|$ac_sed_conf_input|;t t
27346 s&@top_builddir@&$ac_top_builddir_sub&;t t
27347 s&@top_build_prefix@&$ac_top_build_prefix&;t t
27348 s&@srcdir@&$ac_srcdir&;t t
27349 s&@abs_srcdir@&$ac_abs_srcdir&;t t
27350 s&@top_srcdir@&$ac_top_srcdir&;t t
27351 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
27352 s&@builddir@&$ac_builddir&;t t
27353 s&@abs_builddir@&$ac_abs_builddir&;t t
27354 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
27355 s&@INSTALL@&$ac_INSTALL&;t t
27356 s&@MKDIR_P@&$ac_MKDIR_P&;t t
27357 $ac_datarootdir_hack
27359 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
27360 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
27362 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
27363 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
27364 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
27365 "$ac_tmp/out"`; test -z "$ac_out"; } &&
27366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27367 which seems to be undefined. Please make sure it is defined" >&5
27368 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27369 which seems to be undefined. Please make sure it is defined" >&2;}
27371 rm -f "$ac_tmp/stdin"
27373 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
27374 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
27376 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
27382 if test x"$ac_file" != x-; then
27384 $as_echo "/* $configure_input */" \
27385 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
27386 } >"$ac_tmp/config.h" \
27387 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
27388 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
27389 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
27390 $as_echo "$as_me: $ac_file is unchanged" >&6;}
27393 mv "$ac_tmp/config.h" "$ac_file" \
27394 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
27397 $as_echo "/* $configure_input */" \
27398 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
27399 || as_fn_error $? "could not create -" "$LINENO" 5
27401 # Compute "$ac_file"'s index in $config_headers.
27404 for _am_header in $config_headers :; do
27405 case $_am_header in
27406 $_am_arg | $_am_arg:* )
27409 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
27412 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
27413 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27414 X"$_am_arg" : 'X\(//\)[^/]' \| \
27415 X"$_am_arg" : 'X\(//\)$' \| \
27416 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
27417 $as_echo X"$_am_arg" |
27418 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27422 /^X\(\/\/\)[^/].*/{
27434 s/.*/./; q'`/stamp-h$_am_stamp_count
27437 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
27438 $as_echo "$as_me: executing $ac_file commands" >&6;}
27443 case $ac_file$ac_mode in
27444 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
27445 # Autoconf 2.62 quotes --file arguments for eval, but not when files
27446 # are listed without --file. Let's play safe and only enable the eval
27447 # if we detect the quoting.
27448 case $CONFIG_FILES in
27449 *\'*) eval set x "$CONFIG_FILES" ;;
27450 *) set x $CONFIG_FILES ;;
27455 # Strip MF so we end up with the name of the file.
27456 mf=`echo "$mf" | sed -e 's/:.*$//'`
27457 # Check whether this is an Automake generated Makefile or not.
27458 # We used to match only the files named `Makefile.in', but
27459 # some people rename them; so instead we look at the file content.
27460 # Grep'ing the first line is not enough: some people post-process
27461 # each Makefile.in and add a new line on top of each file to say so.
27462 # Grep'ing the whole file is not good either: AIX grep has a line
27463 # limit of 2048, but all sed's we know have understand at least 4000.
27464 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
27465 dirpart=`$as_dirname -- "$mf" ||
27466 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27467 X"$mf" : 'X\(//\)[^/]' \| \
27468 X"$mf" : 'X\(//\)$' \| \
27469 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
27471 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27475 /^X\(\/\/\)[^/].*/{
27491 # Extract the definition of DEPDIR, am__include, and am__quote
27492 # from the Makefile without running `make'.
27493 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
27494 test -z "$DEPDIR" && continue
27495 am__include=`sed -n 's/^am__include = //p' < "$mf"`
27496 test -z "am__include" && continue
27497 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
27498 # When using ansi2knr, U may be empty or an underscore; expand it
27499 U=`sed -n 's/^U = //p' < "$mf"`
27500 # Find all dependency output files, they are included files with
27501 # $(DEPDIR) in their names. We invoke sed twice because it is the
27502 # simplest approach to changing $(DEPDIR) to its actual value in the
27504 for file in `sed -n "
27505 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
27506 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
27507 # Make sure the directory exists.
27508 test -f "$dirpart/$file" && continue
27509 fdir=`$as_dirname -- "$file" ||
27510 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27511 X"$file" : 'X\(//\)[^/]' \| \
27512 X"$file" : 'X\(//\)$' \| \
27513 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
27514 $as_echo X"$file" |
27515 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27519 /^X\(\/\/\)[^/].*/{
27532 as_dir=$dirpart/$fdir; as_fn_mkdir_p
27533 # echo "creating $dirpart/$file"
27534 echo '# dummy' > "$dirpart/$file"
27541 # See if we are running on zsh, and set the options which allow our
27542 # commands through without removal of \ escapes.
27543 if test -n "${ZSH_VERSION+set}" ; then
27544 setopt NO_GLOB_SUBST
27547 cfgfile="${ofile}T"
27548 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
27551 cat <<_LT_EOF >> "$cfgfile"
27554 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
27555 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
27556 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
27557 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
27559 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
27560 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
27562 # Written by Gordon Matzigkeit, 1996
27564 # This file is part of GNU Libtool.
27566 # GNU Libtool is free software; you can redistribute it and/or
27567 # modify it under the terms of the GNU General Public License as
27568 # published by the Free Software Foundation; either version 2 of
27569 # the License, or (at your option) any later version.
27571 # As a special exception to the GNU General Public License,
27572 # if you distribute this file as part of a program or library that
27573 # is built using GNU Libtool, you may include this file under the
27574 # same distribution terms that you use for the rest of that program.
27576 # GNU Libtool is distributed in the hope that it will be useful,
27577 # but WITHOUT ANY WARRANTY; without even the implied warranty of
27578 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27579 # GNU General Public License for more details.
27581 # You should have received a copy of the GNU General Public License
27582 # along with GNU Libtool; see the file COPYING. If not, a copy
27583 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
27584 # obtained by writing to the Free Software Foundation, Inc.,
27585 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
27588 # The names of the tagged configurations supported by this script.
27589 available_tags="CXX "
27591 # ### BEGIN LIBTOOL CONFIG
27593 # Which release of libtool.m4 was used?
27594 macro_version=$macro_version
27595 macro_revision=$macro_revision
27597 # Whether or not to build shared libraries.
27598 build_libtool_libs=$enable_shared
27600 # Whether or not to build static libraries.
27601 build_old_libs=$enable_static
27603 # What type of objects to build.
27606 # Whether or not to optimize for fast installation.
27607 fast_install=$enable_fast_install
27609 # Shell to use when invoking shell scripts.
27612 # An echo program that protects backslashes.
27615 # The PATH separator for the build system.
27616 PATH_SEPARATOR=$lt_PATH_SEPARATOR
27619 host_alias=$host_alias
27623 # The build system.
27624 build_alias=$build_alias
27628 # A sed program that does not truncate output.
27631 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
27632 Xsed="\$SED -e 1s/^X//"
27634 # A grep program that handles long lines.
27640 # A literal string matcher.
27643 # A BSD- or MS-compatible name lister.
27646 # Whether we need soft or hard links.
27649 # What is the maximum length of a command?
27650 max_cmd_len=$max_cmd_len
27652 # Object file suffix (normally "o").
27655 # Executable file suffix (normally "").
27658 # whether the shell understands "unset".
27661 # turn spaces into newlines.
27664 # turn newlines into spaces.
27667 # convert \$build file names to \$host format.
27668 to_host_file_cmd=$lt_cv_to_host_file_cmd
27670 # convert \$build files to toolchain format.
27671 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
27673 # An object symbol dumper.
27674 OBJDUMP=$lt_OBJDUMP
27676 # Method to check whether dependent libraries are shared objects.
27677 deplibs_check_method=$lt_deplibs_check_method
27679 # Command to use when deplibs_check_method = "file_magic".
27680 file_magic_cmd=$lt_file_magic_cmd
27682 # How to find potential files when deplibs_check_method = "file_magic".
27683 file_magic_glob=$lt_file_magic_glob
27685 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
27686 want_nocaseglob=$lt_want_nocaseglob
27688 # DLL creation program.
27689 DLLTOOL=$lt_DLLTOOL
27691 # Command to associate shared and link libraries.
27692 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
27697 # Flags to create an archive.
27698 AR_FLAGS=$lt_AR_FLAGS
27700 # How to feed a file listing to the archiver.
27701 archiver_list_spec=$lt_archiver_list_spec
27703 # A symbol stripping program.
27706 # Commands used to install an old-style archive.
27708 old_postinstall_cmds=$lt_old_postinstall_cmds
27709 old_postuninstall_cmds=$lt_old_postuninstall_cmds
27711 # Whether to use a lock for old archive extraction.
27712 lock_old_archive_extraction=$lock_old_archive_extraction
27717 # LTCC compiler flags.
27718 LTCFLAGS=$lt_CFLAGS
27720 # Take the output of nm and produce a listing of raw symbols and C names.
27721 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
27723 # Transform the output of nm in a proper C declaration.
27724 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
27726 # Transform the output of nm in a C name address pair.
27727 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
27729 # Transform the output of nm in a C name address pair when lib prefix is needed.
27730 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
27732 # Specify filename containing input files for \$NM.
27733 nm_file_list_spec=$lt_nm_file_list_spec
27735 # The root where to search for dependent libraries,and in which our libraries should be installed.
27736 lt_sysroot=$lt_sysroot
27738 # The name of the directory that contains temporary libtool files.
27741 # Used to examine libraries when file_magic_cmd begins with "file".
27742 MAGIC_CMD=$MAGIC_CMD
27744 # Must we lock files when doing compilation?
27745 need_locks=$lt_need_locks
27748 MANIFEST_TOOL=$lt_MANIFEST_TOOL
27750 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
27751 DSYMUTIL=$lt_DSYMUTIL
27753 # Tool to change global to local symbols on Mac OS X.
27756 # Tool to manipulate fat objects and archives on Mac OS X.
27759 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
27762 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
27763 OTOOL64=$lt_OTOOL64
27765 # Old archive suffix (normally "a").
27768 # Shared library suffix (normally ".so").
27769 shrext_cmds=$lt_shrext_cmds
27771 # The commands to extract the exported symbol list from a shared archive.
27772 extract_expsyms_cmds=$lt_extract_expsyms_cmds
27774 # Variables whose values should be saved in libtool wrapper scripts and
27775 # restored at link time.
27776 variables_saved_for_relink=$lt_variables_saved_for_relink
27778 # Do we need the "lib" prefix for modules?
27779 need_lib_prefix=$need_lib_prefix
27781 # Do we need a version for libraries?
27782 need_version=$need_version
27784 # Library versioning type.
27785 version_type=$version_type
27787 # Shared library runtime path variable.
27788 runpath_var=$runpath_var
27790 # Shared library path variable.
27791 shlibpath_var=$shlibpath_var
27793 # Is shlibpath searched before the hard-coded library search path?
27794 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
27796 # Format of library name prefix.
27797 libname_spec=$lt_libname_spec
27799 # List of archive names. First name is the real one, the rest are links.
27800 # The last name is the one that the linker finds with -lNAME
27801 library_names_spec=$lt_library_names_spec
27803 # The coded name of the library, if different from the real name.
27804 soname_spec=$lt_soname_spec
27806 # Permission mode override for installation of shared libraries.
27807 install_override_mode=$lt_install_override_mode
27809 # Command to use after installation of a shared archive.
27810 postinstall_cmds=$lt_postinstall_cmds
27812 # Command to use after uninstallation of a shared archive.
27813 postuninstall_cmds=$lt_postuninstall_cmds
27815 # Commands used to finish a libtool library installation in a directory.
27816 finish_cmds=$lt_finish_cmds
27818 # As "finish_cmds", except a single script fragment to be evaled but
27820 finish_eval=$lt_finish_eval
27822 # Whether we should hardcode library paths into libraries.
27823 hardcode_into_libs=$hardcode_into_libs
27825 # Compile-time system search path for libraries.
27826 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27828 # Run-time system search path for libraries.
27829 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27831 # Whether dlopen is supported.
27832 dlopen_support=$enable_dlopen
27834 # Whether dlopen of programs is supported.
27835 dlopen_self=$enable_dlopen_self
27837 # Whether dlopen of statically linked programs is supported.
27838 dlopen_self_static=$enable_dlopen_self_static
27840 # Commands to strip libraries.
27841 old_striplib=$lt_old_striplib
27842 striplib=$lt_striplib
27845 # The linker used to build libraries.
27848 # How to create reloadable object files.
27849 reload_flag=$lt_reload_flag
27850 reload_cmds=$lt_reload_cmds
27852 # Commands used to build an old-style archive.
27853 old_archive_cmds=$lt_old_archive_cmds
27855 # A language specific compiler.
27858 # Is the compiler the GNU compiler?
27861 # Compiler flag to turn off builtin functions.
27862 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
27864 # Additional compiler flags for building library objects.
27865 pic_flag=$lt_lt_prog_compiler_pic
27867 # How to pass a linker flag through the compiler.
27868 wl=$lt_lt_prog_compiler_wl
27870 # Compiler flag to prevent dynamic linking.
27871 link_static_flag=$lt_lt_prog_compiler_static
27873 # Does compiler simultaneously support -c and -o options?
27874 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
27876 # Whether or not to add -lc for building shared libraries.
27877 build_libtool_need_lc=$archive_cmds_need_lc
27879 # Whether or not to disallow shared libs when runtime libs are static.
27880 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
27882 # Compiler flag to allow reflexive dlopens.
27883 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
27885 # Compiler flag to generate shared objects directly from archives.
27886 whole_archive_flag_spec=$lt_whole_archive_flag_spec
27888 # Whether the compiler copes with passing no objects directly.
27889 compiler_needs_object=$lt_compiler_needs_object
27891 # Create an old-style archive from a shared archive.
27892 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
27894 # Create a temporary old-style archive to link instead of a shared archive.
27895 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
27897 # Commands used to build a shared archive.
27898 archive_cmds=$lt_archive_cmds
27899 archive_expsym_cmds=$lt_archive_expsym_cmds
27901 # Commands used to build a loadable module if different from building
27902 # a shared archive.
27903 module_cmds=$lt_module_cmds
27904 module_expsym_cmds=$lt_module_expsym_cmds
27906 # Whether we are building with GNU ld or not.
27907 with_gnu_ld=$lt_with_gnu_ld
27909 # Flag that allows shared libraries with undefined symbols to be built.
27910 allow_undefined_flag=$lt_allow_undefined_flag
27912 # Flag that enforces no undefined symbols.
27913 no_undefined_flag=$lt_no_undefined_flag
27915 # Flag to hardcode \$libdir into a binary during linking.
27916 # This must work even if \$libdir does not exist
27917 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
27919 # Whether we need a single "-rpath" flag with a separated argument.
27920 hardcode_libdir_separator=$lt_hardcode_libdir_separator
27922 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27923 # DIR into the resulting binary.
27924 hardcode_direct=$hardcode_direct
27926 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27927 # DIR into the resulting binary and the resulting library dependency is
27928 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27929 # library is relocated.
27930 hardcode_direct_absolute=$hardcode_direct_absolute
27932 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27933 # into the resulting binary.
27934 hardcode_minus_L=$hardcode_minus_L
27936 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27937 # into the resulting binary.
27938 hardcode_shlibpath_var=$hardcode_shlibpath_var
27940 # Set to "yes" if building a shared library automatically hardcodes DIR
27941 # into the library and all subsequent libraries and executables linked
27943 hardcode_automatic=$hardcode_automatic
27945 # Set to yes if linker adds runtime paths of dependent libraries
27946 # to runtime path list.
27947 inherit_rpath=$inherit_rpath
27949 # Whether libtool must link a program against all its dependency libraries.
27950 link_all_deplibs=$link_all_deplibs
27952 # Set to "yes" if exported symbols are required.
27953 always_export_symbols=$always_export_symbols
27955 # The commands to list exported symbols.
27956 export_symbols_cmds=$lt_export_symbols_cmds
27958 # Symbols that should not be listed in the preloaded symbols.
27959 exclude_expsyms=$lt_exclude_expsyms
27961 # Symbols that must always be exported.
27962 include_expsyms=$lt_include_expsyms
27964 # Commands necessary for linking programs (against libraries) with templates.
27965 prelink_cmds=$lt_prelink_cmds
27967 # Commands necessary for finishing linking programs.
27968 postlink_cmds=$lt_postlink_cmds
27970 # Specify filename containing input files.
27971 file_list_spec=$lt_file_list_spec
27973 # How to hardcode a shared library path into an executable.
27974 hardcode_action=$hardcode_action
27976 # The directories searched by this compiler when creating a shared library.
27977 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
27979 # Dependencies to place before and after the objects being linked to
27980 # create a shared library.
27981 predep_objects=$lt_predep_objects
27982 postdep_objects=$lt_postdep_objects
27983 predeps=$lt_predeps
27984 postdeps=$lt_postdeps
27986 # The library search path used internally by the compiler when linking
27987 # a shared library.
27988 compiler_lib_search_path=$lt_compiler_lib_search_path
27990 # ### END LIBTOOL CONFIG
27996 cat <<\_LT_EOF >> "$cfgfile"
27997 # AIX sometimes has problems with the GCC collect2 program. For some
27998 # reason, if we set the COLLECT_NAMES environment variable, the problems
27999 # vanish in a puff of smoke.
28000 if test "X${COLLECT_NAMES+set}" != Xset; then
28002 export COLLECT_NAMES
28009 ltmain="$ac_aux_dir/ltmain.sh"
28012 # We use sed instead of cat because bash on DJGPP gets confused if
28013 # if finds mixed CR/LF and LF-only lines. Since sed operates in
28014 # text mode, it properly converts lines to CR/LF. This bash problem
28015 # is reportedly fixed, but why not run on old versions too?
28016 sed '$q' "$ltmain" >> "$cfgfile" \
28017 || (rm -f "$cfgfile"; exit 1)
28019 if test x"$xsi_shell" = xyes; then
28020 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
28024 \ */*) func_dirname_result="${1%/*}${2}" ;;\
28025 \ * ) func_dirname_result="${3}" ;;\
28027 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
28028 && mv -f "$cfgfile.tmp" "$cfgfile" \
28029 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
28030 test 0 -eq $? || _lt_function_replace_fail=:
28033 sed -e '/^func_basename ()$/,/^} # func_basename /c\
28036 \ func_basename_result="${1##*/}"\
28037 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
28038 && mv -f "$cfgfile.tmp" "$cfgfile" \
28039 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
28040 test 0 -eq $? || _lt_function_replace_fail=:
28043 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
28044 func_dirname_and_basename ()\
28047 \ */*) func_dirname_result="${1%/*}${2}" ;;\
28048 \ * ) func_dirname_result="${3}" ;;\
28050 \ func_basename_result="${1##*/}"\
28051 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
28052 && mv -f "$cfgfile.tmp" "$cfgfile" \
28053 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
28054 test 0 -eq $? || _lt_function_replace_fail=:
28057 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
28060 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
28061 \ # positional parameters, so assign one to ordinary parameter first.\
28062 \ func_stripname_result=${3}\
28063 \ func_stripname_result=${func_stripname_result#"${1}"}\
28064 \ func_stripname_result=${func_stripname_result%"${2}"}\
28065 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
28066 && mv -f "$cfgfile.tmp" "$cfgfile" \
28067 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
28068 test 0 -eq $? || _lt_function_replace_fail=:
28071 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
28072 func_split_long_opt ()\
28074 \ func_split_long_opt_name=${1%%=*}\
28075 \ func_split_long_opt_arg=${1#*=}\
28076 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
28077 && mv -f "$cfgfile.tmp" "$cfgfile" \
28078 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
28079 test 0 -eq $? || _lt_function_replace_fail=:
28082 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
28083 func_split_short_opt ()\
28085 \ func_split_short_opt_arg=${1#??}\
28086 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
28087 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
28088 && mv -f "$cfgfile.tmp" "$cfgfile" \
28089 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
28090 test 0 -eq $? || _lt_function_replace_fail=:
28093 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
28097 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
28098 \ *) func_lo2o_result=${1} ;;\
28100 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
28101 && mv -f "$cfgfile.tmp" "$cfgfile" \
28102 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
28103 test 0 -eq $? || _lt_function_replace_fail=:
28106 sed -e '/^func_xform ()$/,/^} # func_xform /c\
28109 func_xform_result=${1%.*}.lo\
28110 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
28111 && mv -f "$cfgfile.tmp" "$cfgfile" \
28112 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
28113 test 0 -eq $? || _lt_function_replace_fail=:
28116 sed -e '/^func_arith ()$/,/^} # func_arith /c\
28119 func_arith_result=$(( $* ))\
28120 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
28121 && mv -f "$cfgfile.tmp" "$cfgfile" \
28122 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
28123 test 0 -eq $? || _lt_function_replace_fail=:
28126 sed -e '/^func_len ()$/,/^} # func_len /c\
28129 func_len_result=${#1}\
28130 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
28131 && mv -f "$cfgfile.tmp" "$cfgfile" \
28132 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
28133 test 0 -eq $? || _lt_function_replace_fail=:
28137 if test x"$lt_shell_append" = xyes; then
28138 sed -e '/^func_append ()$/,/^} # func_append /c\
28141 eval "${1}+=\\${2}"\
28142 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
28143 && mv -f "$cfgfile.tmp" "$cfgfile" \
28144 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
28145 test 0 -eq $? || _lt_function_replace_fail=:
28148 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
28149 func_append_quoted ()\
28151 \ func_quote_for_eval "${2}"\
28152 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
28153 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
28154 && mv -f "$cfgfile.tmp" "$cfgfile" \
28155 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
28156 test 0 -eq $? || _lt_function_replace_fail=:
28159 # Save a `func_append' function call where possible by direct use of '+='
28160 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
28161 && mv -f "$cfgfile.tmp" "$cfgfile" \
28162 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
28163 test 0 -eq $? || _lt_function_replace_fail=:
28165 # Save a `func_append' function call even when '+=' is not available
28166 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
28167 && mv -f "$cfgfile.tmp" "$cfgfile" \
28168 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
28169 test 0 -eq $? || _lt_function_replace_fail=:
28172 if test x"$_lt_function_replace_fail" = x":"; then
28173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
28174 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
28178 mv -f "$cfgfile" "$ofile" ||
28179 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
28183 cat <<_LT_EOF >> "$ofile"
28185 # ### BEGIN LIBTOOL TAG CONFIG: CXX
28187 # The linker used to build libraries.
28190 # How to create reloadable object files.
28191 reload_flag=$lt_reload_flag_CXX
28192 reload_cmds=$lt_reload_cmds_CXX
28194 # Commands used to build an old-style archive.
28195 old_archive_cmds=$lt_old_archive_cmds_CXX
28197 # A language specific compiler.
28198 CC=$lt_compiler_CXX
28200 # Is the compiler the GNU compiler?
28203 # Compiler flag to turn off builtin functions.
28204 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
28206 # Additional compiler flags for building library objects.
28207 pic_flag=$lt_lt_prog_compiler_pic_CXX
28209 # How to pass a linker flag through the compiler.
28210 wl=$lt_lt_prog_compiler_wl_CXX
28212 # Compiler flag to prevent dynamic linking.
28213 link_static_flag=$lt_lt_prog_compiler_static_CXX
28215 # Does compiler simultaneously support -c and -o options?
28216 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
28218 # Whether or not to add -lc for building shared libraries.
28219 build_libtool_need_lc=$archive_cmds_need_lc_CXX
28221 # Whether or not to disallow shared libs when runtime libs are static.
28222 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
28224 # Compiler flag to allow reflexive dlopens.
28225 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
28227 # Compiler flag to generate shared objects directly from archives.
28228 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
28230 # Whether the compiler copes with passing no objects directly.
28231 compiler_needs_object=$lt_compiler_needs_object_CXX
28233 # Create an old-style archive from a shared archive.
28234 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
28236 # Create a temporary old-style archive to link instead of a shared archive.
28237 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
28239 # Commands used to build a shared archive.
28240 archive_cmds=$lt_archive_cmds_CXX
28241 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
28243 # Commands used to build a loadable module if different from building
28244 # a shared archive.
28245 module_cmds=$lt_module_cmds_CXX
28246 module_expsym_cmds=$lt_module_expsym_cmds_CXX
28248 # Whether we are building with GNU ld or not.
28249 with_gnu_ld=$lt_with_gnu_ld_CXX
28251 # Flag that allows shared libraries with undefined symbols to be built.
28252 allow_undefined_flag=$lt_allow_undefined_flag_CXX
28254 # Flag that enforces no undefined symbols.
28255 no_undefined_flag=$lt_no_undefined_flag_CXX
28257 # Flag to hardcode \$libdir into a binary during linking.
28258 # This must work even if \$libdir does not exist
28259 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
28261 # Whether we need a single "-rpath" flag with a separated argument.
28262 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
28264 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28265 # DIR into the resulting binary.
28266 hardcode_direct=$hardcode_direct_CXX
28268 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28269 # DIR into the resulting binary and the resulting library dependency is
28270 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28271 # library is relocated.
28272 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
28274 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28275 # into the resulting binary.
28276 hardcode_minus_L=$hardcode_minus_L_CXX
28278 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28279 # into the resulting binary.
28280 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
28282 # Set to "yes" if building a shared library automatically hardcodes DIR
28283 # into the library and all subsequent libraries and executables linked
28285 hardcode_automatic=$hardcode_automatic_CXX
28287 # Set to yes if linker adds runtime paths of dependent libraries
28288 # to runtime path list.
28289 inherit_rpath=$inherit_rpath_CXX
28291 # Whether libtool must link a program against all its dependency libraries.
28292 link_all_deplibs=$link_all_deplibs_CXX
28294 # Set to "yes" if exported symbols are required.
28295 always_export_symbols=$always_export_symbols_CXX
28297 # The commands to list exported symbols.
28298 export_symbols_cmds=$lt_export_symbols_cmds_CXX
28300 # Symbols that should not be listed in the preloaded symbols.
28301 exclude_expsyms=$lt_exclude_expsyms_CXX
28303 # Symbols that must always be exported.
28304 include_expsyms=$lt_include_expsyms_CXX
28306 # Commands necessary for linking programs (against libraries) with templates.
28307 prelink_cmds=$lt_prelink_cmds_CXX
28309 # Commands necessary for finishing linking programs.
28310 postlink_cmds=$lt_postlink_cmds_CXX
28312 # Specify filename containing input files.
28313 file_list_spec=$lt_file_list_spec_CXX
28315 # How to hardcode a shared library path into an executable.
28316 hardcode_action=$hardcode_action_CXX
28318 # The directories searched by this compiler when creating a shared library.
28319 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
28321 # Dependencies to place before and after the objects being linked to
28322 # create a shared library.
28323 predep_objects=$lt_predep_objects_CXX
28324 postdep_objects=$lt_postdep_objects_CXX
28325 predeps=$lt_predeps_CXX
28326 postdeps=$lt_postdeps_CXX
28328 # The library search path used internally by the compiler when linking
28329 # a shared library.
28330 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
28332 # ### END LIBTOOL TAG CONFIG: CXX
28336 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
28337 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
28340 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
28341 as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
28343 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
28348 '"s|^| $ac_top_srcdir/|" \
28349 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
28351 sed '/^POTFILES =/,/[^\\]$/ {
28355 ' "po/Makefile.in" >"po/Makefile"
28356 rm -f "po/Makefile.tmp"
28357 mv "po/stamp-it.tmp" "po/stamp-it"
28366 ac_clean_files=$ac_clean_files_save
28368 test $ac_write_fail = 0 ||
28369 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
28372 # configure is writing to config.log, and then calls config.status.
28373 # config.status does its own redirection, appending to config.log.
28374 # Unfortunately, on DOS this fails, as config.log is still kept open
28375 # by configure, so config.status won't be able to write to it; its
28376 # output is simply discarded. So we exec the FD to /dev/null,
28377 # effectively closing config.log, so it can be properly (re)opened and
28378 # appended to by config.status. When coming back to configure, we
28379 # need to make the FD available again.
28380 if test "$no_create" != yes; then
28382 ac_config_status_args=
28383 test "$silent" = yes &&
28384 ac_config_status_args="$ac_config_status_args --quiet"
28386 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
28388 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
28389 # would make configure fail if this is the last instruction.
28390 $ac_cs_success || as_fn_exit 1
28392 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
28393 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
28394 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
28399 echo CONFIGURATION SUMMARY
28400 echo "Core SyncEvolution: $enable_core"
28401 for backend in $BACKENDS; do
28402 eval echo $backend: \${enable_${backend}}
28404 echo "DBus service: $enable_dbus_service"
28405 echo "org._01.pim support in DBus service: $enable_dbus_pim"
28406 echo "Notifications: $enable_notify"
28407 echo "GIO GDBus: $with_gio_gdbus"
28408 echo "GNOME keyring: $enable_gnome_keyring"
28409 if test "$enable_gui" = "no"; then
28410 echo "UI (DBus client): no"
28412 echo "UI (DBus client): $enable_gui (using $gtk_version)"
28414 echo "Bluetooth transport: $have_bluetooth"
28415 echo "GNOME Bluetooth panel plugin: $enable_gnome_bluetooth_panel"
28416 echo "SHA-256: $have_sha"
28417 echo "API documentation: $enable_doc"
28418 echo "D-Bus Timeout Hack: $enable_dbus_timeout_hack"