2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for e_dbus 1.7.8.
5 # Report bugs to <enlightenment-devel@lists.sourceforge.net>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 PATH=/empty FPATH=/empty; export PATH FPATH
207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210 if (eval "$as_required") 2>/dev/null; then :
215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir=.
227 for as_base in sh bash ksh sh5; do
228 # Try only shells that exist, to save several forks.
229 as_shell=$as_dir/$as_base
230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 CONFIG_SHELL=$as_shell as_have_required=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243 CONFIG_SHELL=$SHELL as_have_required=yes
248 if test "x$CONFIG_SHELL" != x; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 *v*x* | *x*v* ) as_opts=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x$as_have_required = xno; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x${ZSH_VERSION+set} = xset ; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: enlightenment-devel@lists.sourceforge.net about your
279 $0: system, including any error possibly output before this
280 $0: message. Then install a modern shell, or manually run
281 $0: the script under such a shell if you do have one."
287 SHELL=${CONFIG_SHELL-/bin/sh}
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE= GREP_OPTIONS=
291 unset CLICOLOR_FORCE GREP_OPTIONS
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
298 # Portably unset VAR.
301 { eval $1=; unset $1;}
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
325 # Create "$as_dir" as a directory, including parents if necessary.
330 -*) as_dir=./$as_dir;;
332 test -d "$as_dir" || eval $as_mkdir_p || {
336 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 as_dirs="'$as_qdir' $as_dirs"
340 as_dir=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
363 test -d "$as_dir" && break
365 test -z "$as_dirs" || eval "mkdir $as_dirs"
366 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p ()
376 test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385 eval 'as_fn_append ()
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
409 as_val=`expr "$@" || test $? -eq 1`
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
421 as_status=$1; test $as_status -eq 0 && as_status=1
423 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 $as_echo "$as_me: error: $2" >&2
427 as_fn_exit $as_status
430 if expr a : '\(a\)' >/dev/null 2>&1 &&
431 test "X`expr 00001 : '.*\(...\)'`" = X001; then
437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
449 as_me=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 sed '/^.*\/\([^/][^/]*\)\/*$/{
468 # Avoid depending upon Character Ranges.
469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits='0123456789'
473 as_cr_alnum=$as_cr_Letters$as_cr_digits
476 as_lineno_1=$LINENO as_lineno_1a=$LINENO
477 as_lineno_2=$LINENO as_lineno_2a=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
496 chmod +x "$as_me.lineno" ||
497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec=no; export _as_can_reexec
503 # Don't try to exec as it changes $[0], causing all sort of problems
504 # (the dirname of $[0] is not the place where we might find the
505 # original and so on. Autoconf is especially sensitive to this).
507 # Exit status is that of the last command.
511 ECHO_C= ECHO_N= ECHO_T=
512 case `echo -n x` in #(((((
514 case `echo 'xy\c'` in
515 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
517 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
524 rm -f conf$$ conf$$.exe conf$$.file
525 if test -d conf$$.dir; then
526 rm -f conf$$.dir/conf$$.file
529 mkdir conf$$.dir 2>/dev/null
531 if (echo >conf$$.file) 2>/dev/null; then
532 if ln -s conf$$.file conf$$ 2>/dev/null; then
534 # ... but there are two gotchas:
535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537 # In both cases, we have to default to `cp -pR'.
538 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540 elif ln conf$$.file conf$$ 2>/dev/null; then
548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549 rmdir conf$$.dir 2>/dev/null
551 if mkdir -p . 2>/dev/null; then
552 as_mkdir_p='mkdir -p "$as_dir"'
554 test -d ./-p && rmdir ./-p
559 as_executable_p=as_fn_executable_p
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567 SHELL=${CONFIG_SHELL-/bin/sh}
570 test -n "$DJDIR" || exec 7<&0 </dev/null
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
581 ac_default_prefix=/usr/local
583 ac_config_libobj_dir=.
590 # Identity of this package.
591 PACKAGE_NAME='e_dbus'
592 PACKAGE_TARNAME='e_dbus'
593 PACKAGE_VERSION='1.7.8'
594 PACKAGE_STRING='e_dbus 1.7.8'
595 PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net'
598 ac_unique_file="configure.ac"
599 # Factoring default headers for most tests.
600 ac_includes_default="\
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
612 # ifdef HAVE_STDLIB_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
635 ac_subst_vars='am__EXEEXT_FALSE
644 requirement_econnman0_7x
647 lt_enable_auto_import
649 EDBUS_ASYNC_TEST_LIBS
650 EDBUS_ASYNC_TEST_CFLAGS
651 EDBUS_PERFORMANCE_TEST_LIBS
652 EDBUS_PERFORMANCE_TEST_CFLAGS
654 EDBUS_UKIT_TEST_CFLAGS
655 EDBUS_OFONO_TEST_LIBS
656 EDBUS_OFONO_TEST_CFLAGS
657 EDBUS_NOTIFY_TEST_LIBS
658 EDBUS_NOTIFY_TEST_CFLAGS
659 EDBUS_NOTIFY_SEND_LIBS
660 EDBUS_NOTIFY_SEND_CFLAGS
661 EDBUS_NOTIFICATION_DAEMON_TEST_LIBS
662 EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS
663 EDBUS_CONNMAN0_7X_TEST_LIBS
664 EDBUS_CONNMAN0_7X_TEST_CFLAGS
665 EDBUS_BLUEZ_TEST_LIBS
666 EDBUS_BLUEZ_TEST_CFLAGS
667 EDBUS_TEST_CLIENT_LIBS
668 EDBUS_TEST_CLIENT_CFLAGS
671 BUILD_EDBUS_ASYNC_TEST_FALSE
672 BUILD_EDBUS_ASYNC_TEST_TRUE
674 BUILD_EDBUS_PERFORMANCE_TEST_FALSE
675 BUILD_EDBUS_PERFORMANCE_TEST_TRUE
676 EDBUS_PERFORMANCE_TEST_PRG
677 BUILD_EDBUS_UKIT_TEST_FALSE
678 BUILD_EDBUS_UKIT_TEST_TRUE
680 BUILD_EDBUS_OFONO_TEST_FALSE
681 BUILD_EDBUS_OFONO_TEST_TRUE
683 BUILD_EDBUS_NOTIFY_TEST_FALSE
684 BUILD_EDBUS_NOTIFY_TEST_TRUE
685 EDBUS_NOTIFY_TEST_PRG
686 BUILD_EDBUS_NOTIFY_SEND_FALSE
687 BUILD_EDBUS_NOTIFY_SEND_TRUE
688 EDBUS_NOTIFY_SEND_PRG
689 BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_FALSE
690 BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_TRUE
691 EDBUS_NOTIFICATION_DAEMON_TEST_PRG
692 BUILD_EDBUS_CONNMAN0_7X_TEST_FALSE
693 BUILD_EDBUS_CONNMAN0_7X_TEST_TRUE
694 EDBUS_CONNMAN0_7X_TEST_PRG
695 BUILD_EDBUS_BLUEZ_TEST_FALSE
696 BUILD_EDBUS_BLUEZ_TEST_TRUE
698 BUILD_EDBUS_TEST_CLIENT_FALSE
699 BUILD_EDBUS_TEST_CLIENT_TRUE
700 EDBUS_TEST_CLIENT_PRG
701 BUILD_EDBUS_TEST_FALSE
702 BUILD_EDBUS_TEST_TRUE
712 BUILD_ECONNMAN0_7X_FALSE
713 BUILD_ECONNMAN0_7X_TRUE
727 pkgconfig_requires_private
794 INSTALL_STRIP_PROGRAM
836 program_transform_name
849 enable_option_checking
855 enable_dependency_tracking
868 enable_edbus_test_client
869 enable_edbus_bluez_test
870 enable_edbus_connman0_7x_test
871 enable_edbus_notification_daemon_test
872 enable_edbus_notify_send
873 enable_edbus_notify_test
874 enable_edbus_ofono_test
875 enable_edbus_ukit_test
876 enable_edbus_performance_test
877 enable_edbus_async_test
879 ac_precious_vars='build_alias
899 EDBUS_TEST_CLIENT_CFLAGS
900 EDBUS_TEST_CLIENT_LIBS
901 EDBUS_BLUEZ_TEST_CFLAGS
902 EDBUS_BLUEZ_TEST_LIBS
903 EDBUS_CONNMAN0_7X_TEST_CFLAGS
904 EDBUS_CONNMAN0_7X_TEST_LIBS
905 EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS
906 EDBUS_NOTIFICATION_DAEMON_TEST_LIBS
907 EDBUS_NOTIFY_SEND_CFLAGS
908 EDBUS_NOTIFY_SEND_LIBS
909 EDBUS_NOTIFY_TEST_CFLAGS
910 EDBUS_NOTIFY_TEST_LIBS
911 EDBUS_OFONO_TEST_CFLAGS
912 EDBUS_OFONO_TEST_LIBS
913 EDBUS_UKIT_TEST_CFLAGS
915 EDBUS_PERFORMANCE_TEST_CFLAGS
916 EDBUS_PERFORMANCE_TEST_LIBS
917 EDBUS_ASYNC_TEST_CFLAGS
918 EDBUS_ASYNC_TEST_LIBS'
921 # Initialize some variables set by options.
923 ac_init_version=false
924 ac_unrecognized_opts=
926 # The variables have the same names as the options, with
927 # dashes changed to underlines.
935 program_transform_name=s,x,x,
943 # Installation directory options.
944 # These are left unexpanded so users can "make install exec_prefix=/foo"
945 # and all the variables that are supposed to be based on exec_prefix
946 # by default will actually change.
947 # Use braces instead of parens because sh, perl, etc. also accept them.
948 # (The list follows the same order as the GNU Coding Standards.)
949 bindir='${exec_prefix}/bin'
950 sbindir='${exec_prefix}/sbin'
951 libexecdir='${exec_prefix}/libexec'
952 datarootdir='${prefix}/share'
953 datadir='${datarootdir}'
954 sysconfdir='${prefix}/etc'
955 sharedstatedir='${prefix}/com'
956 localstatedir='${prefix}/var'
957 includedir='${prefix}/include'
958 oldincludedir='/usr/include'
959 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
960 infodir='${datarootdir}/info'
965 libdir='${exec_prefix}/lib'
966 localedir='${datarootdir}/locale'
967 mandir='${datarootdir}/man'
973 # If the previous option needs an argument, assign it.
974 if test -n "$ac_prev"; then
975 eval $ac_prev=\$ac_option
981 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
986 # Accept the important Cygnus configure options, so we can diagnose typos.
988 case $ac_dashdash$ac_option in
992 -bindir | --bindir | --bindi | --bind | --bin | --bi)
994 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
997 -build | --build | --buil | --bui | --bu)
998 ac_prev=build_alias ;;
999 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1000 build_alias=$ac_optarg ;;
1002 -cache-file | --cache-file | --cache-fil | --cache-fi \
1003 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1004 ac_prev=cache_file ;;
1005 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1006 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1007 cache_file=$ac_optarg ;;
1009 --config-cache | -C)
1010 cache_file=config.cache ;;
1012 -datadir | --datadir | --datadi | --datad)
1014 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1015 datadir=$ac_optarg ;;
1017 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1018 | --dataroo | --dataro | --datar)
1019 ac_prev=datarootdir ;;
1020 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1021 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1022 datarootdir=$ac_optarg ;;
1024 -disable-* | --disable-*)
1025 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1026 # Reject names that are not valid shell variable names.
1027 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1028 as_fn_error $? "invalid feature name: $ac_useropt"
1029 ac_useropt_orig=$ac_useropt
1030 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1031 case $ac_user_opts in
1033 "enable_$ac_useropt"
1035 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1036 ac_unrecognized_sep=', ';;
1038 eval enable_$ac_useropt=no ;;
1040 -docdir | --docdir | --docdi | --doc | --do)
1042 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1043 docdir=$ac_optarg ;;
1045 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1047 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1048 dvidir=$ac_optarg ;;
1050 -enable-* | --enable-*)
1051 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1052 # Reject names that are not valid shell variable names.
1053 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1054 as_fn_error $? "invalid feature name: $ac_useropt"
1055 ac_useropt_orig=$ac_useropt
1056 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1057 case $ac_user_opts in
1059 "enable_$ac_useropt"
1061 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1062 ac_unrecognized_sep=', ';;
1064 eval enable_$ac_useropt=\$ac_optarg ;;
1066 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1067 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1068 | --exec | --exe | --ex)
1069 ac_prev=exec_prefix ;;
1070 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1071 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1072 | --exec=* | --exe=* | --ex=*)
1073 exec_prefix=$ac_optarg ;;
1075 -gas | --gas | --ga | --g)
1076 # Obsolete; use --with-gas.
1079 -help | --help | --hel | --he | -h)
1080 ac_init_help=long ;;
1081 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1082 ac_init_help=recursive ;;
1083 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1084 ac_init_help=short ;;
1086 -host | --host | --hos | --ho)
1087 ac_prev=host_alias ;;
1088 -host=* | --host=* | --hos=* | --ho=*)
1089 host_alias=$ac_optarg ;;
1091 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1093 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1095 htmldir=$ac_optarg ;;
1097 -includedir | --includedir | --includedi | --included | --include \
1098 | --includ | --inclu | --incl | --inc)
1099 ac_prev=includedir ;;
1100 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1101 | --includ=* | --inclu=* | --incl=* | --inc=*)
1102 includedir=$ac_optarg ;;
1104 -infodir | --infodir | --infodi | --infod | --info | --inf)
1106 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1107 infodir=$ac_optarg ;;
1109 -libdir | --libdir | --libdi | --libd)
1111 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1112 libdir=$ac_optarg ;;
1114 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1115 | --libexe | --libex | --libe)
1116 ac_prev=libexecdir ;;
1117 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1118 | --libexe=* | --libex=* | --libe=*)
1119 libexecdir=$ac_optarg ;;
1121 -localedir | --localedir | --localedi | --localed | --locale)
1122 ac_prev=localedir ;;
1123 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1124 localedir=$ac_optarg ;;
1126 -localstatedir | --localstatedir | --localstatedi | --localstated \
1127 | --localstate | --localstat | --localsta | --localst | --locals)
1128 ac_prev=localstatedir ;;
1129 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1130 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1131 localstatedir=$ac_optarg ;;
1133 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1135 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1136 mandir=$ac_optarg ;;
1138 -nfp | --nfp | --nf)
1139 # Obsolete; use --without-fp.
1142 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1143 | --no-cr | --no-c | -n)
1146 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1147 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1150 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1151 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1152 | --oldin | --oldi | --old | --ol | --o)
1153 ac_prev=oldincludedir ;;
1154 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1155 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1156 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1157 oldincludedir=$ac_optarg ;;
1159 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1161 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1162 prefix=$ac_optarg ;;
1164 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1165 | --program-pre | --program-pr | --program-p)
1166 ac_prev=program_prefix ;;
1167 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1168 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1169 program_prefix=$ac_optarg ;;
1171 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1172 | --program-suf | --program-su | --program-s)
1173 ac_prev=program_suffix ;;
1174 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1175 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1176 program_suffix=$ac_optarg ;;
1178 -program-transform-name | --program-transform-name \
1179 | --program-transform-nam | --program-transform-na \
1180 | --program-transform-n | --program-transform- \
1181 | --program-transform | --program-transfor \
1182 | --program-transfo | --program-transf \
1183 | --program-trans | --program-tran \
1184 | --progr-tra | --program-tr | --program-t)
1185 ac_prev=program_transform_name ;;
1186 -program-transform-name=* | --program-transform-name=* \
1187 | --program-transform-nam=* | --program-transform-na=* \
1188 | --program-transform-n=* | --program-transform-=* \
1189 | --program-transform=* | --program-transfor=* \
1190 | --program-transfo=* | --program-transf=* \
1191 | --program-trans=* | --program-tran=* \
1192 | --progr-tra=* | --program-tr=* | --program-t=*)
1193 program_transform_name=$ac_optarg ;;
1195 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1197 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1198 pdfdir=$ac_optarg ;;
1200 -psdir | --psdir | --psdi | --psd | --ps)
1202 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1205 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1206 | -silent | --silent | --silen | --sile | --sil)
1209 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1211 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1213 sbindir=$ac_optarg ;;
1215 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1216 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1217 | --sharedst | --shareds | --shared | --share | --shar \
1219 ac_prev=sharedstatedir ;;
1220 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1221 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1222 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1224 sharedstatedir=$ac_optarg ;;
1226 -site | --site | --sit)
1228 -site=* | --site=* | --sit=*)
1231 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1233 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1234 srcdir=$ac_optarg ;;
1236 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1237 | --syscon | --sysco | --sysc | --sys | --sy)
1238 ac_prev=sysconfdir ;;
1239 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1240 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1241 sysconfdir=$ac_optarg ;;
1243 -target | --target | --targe | --targ | --tar | --ta | --t)
1244 ac_prev=target_alias ;;
1245 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1246 target_alias=$ac_optarg ;;
1248 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1251 -version | --version | --versio | --versi | --vers | -V)
1252 ac_init_version=: ;;
1255 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1256 # Reject names that are not valid shell variable names.
1257 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1258 as_fn_error $? "invalid package name: $ac_useropt"
1259 ac_useropt_orig=$ac_useropt
1260 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1261 case $ac_user_opts in
1265 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1266 ac_unrecognized_sep=', ';;
1268 eval with_$ac_useropt=\$ac_optarg ;;
1270 -without-* | --without-*)
1271 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1272 # Reject names that are not valid shell variable names.
1273 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1274 as_fn_error $? "invalid package name: $ac_useropt"
1275 ac_useropt_orig=$ac_useropt
1276 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1277 case $ac_user_opts in
1281 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1282 ac_unrecognized_sep=', ';;
1284 eval with_$ac_useropt=no ;;
1287 # Obsolete; use --with-x.
1290 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1291 | --x-incl | --x-inc | --x-in | --x-i)
1292 ac_prev=x_includes ;;
1293 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1294 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1295 x_includes=$ac_optarg ;;
1297 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1298 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1299 ac_prev=x_libraries ;;
1300 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1301 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1302 x_libraries=$ac_optarg ;;
1304 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1305 Try \`$0 --help' for more information"
1309 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1310 # Reject names that are not valid shell variable names.
1311 case $ac_envvar in #(
1312 '' | [0-9]* | *[!_$as_cr_alnum]* )
1313 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1315 eval $ac_envvar=\$ac_optarg
1316 export $ac_envvar ;;
1319 # FIXME: should be removed in autoconf 3.0.
1320 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1321 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1322 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1323 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1329 if test -n "$ac_prev"; then
1330 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1331 as_fn_error $? "missing argument to $ac_option"
1334 if test -n "$ac_unrecognized_opts"; then
1335 case $enable_option_checking in
1337 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1338 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1342 # Check all directory arguments for consistency.
1343 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1344 datadir sysconfdir sharedstatedir localstatedir includedir \
1345 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1346 libdir localedir mandir
1348 eval ac_val=\$$ac_var
1349 # Remove trailing slashes.
1352 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1353 eval $ac_var=\$ac_val;;
1355 # Be sure to have absolute directory names.
1357 [\\/$]* | ?:[\\/]* ) continue;;
1358 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1360 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1363 # There might be people who depend on the old broken behavior: `$host'
1364 # used to hold the argument of --host etc.
1365 # FIXME: To remove some day.
1368 target=$target_alias
1370 # FIXME: To remove some day.
1371 if test "x$host_alias" != x; then
1372 if test "x$build_alias" = x; then
1373 cross_compiling=maybe
1374 elif test "x$build_alias" != "x$host_alias"; then
1380 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1382 test "$silent" = yes && exec 6>/dev/null
1385 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1386 ac_ls_di=`ls -di .` &&
1387 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1388 as_fn_error $? "working directory cannot be determined"
1389 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1390 as_fn_error $? "pwd does not report name of working directory"
1393 # Find the source files, if location was not specified.
1394 if test -z "$srcdir"; then
1395 ac_srcdir_defaulted=yes
1396 # Try the directory containing this script, then the parent directory.
1397 ac_confdir=`$as_dirname -- "$as_myself" ||
1398 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1399 X"$as_myself" : 'X\(//\)[^/]' \| \
1400 X"$as_myself" : 'X\(//\)$' \| \
1401 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1402 $as_echo X"$as_myself" |
1403 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1421 if test ! -r "$srcdir/$ac_unique_file"; then
1425 ac_srcdir_defaulted=no
1427 if test ! -r "$srcdir/$ac_unique_file"; then
1428 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1429 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1431 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1433 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1435 # When building in place, set srcdir=.
1436 if test "$ac_abs_confdir" = "$ac_pwd"; then
1439 # Remove unnecessary trailing slashes from srcdir.
1440 # Double slashes in file names in object file debugging info
1441 # mess up M-x gdb in Emacs.
1443 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1445 for ac_var in $ac_precious_vars; do
1446 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1447 eval ac_env_${ac_var}_value=\$${ac_var}
1448 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1449 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1453 # Report the --help message.
1455 if test "$ac_init_help" = "long"; then
1456 # Omit some internal or obsolete options to make the list less imposing.
1457 # This message is too long to be a string in the A/UX 3.1 sh.
1459 \`configure' configures e_dbus 1.7.8 to adapt to many kinds of systems.
1461 Usage: $0 [OPTION]... [VAR=VALUE]...
1463 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1464 VAR=VALUE. See below for descriptions of some of the useful variables.
1466 Defaults for the options are specified in brackets.
1469 -h, --help display this help and exit
1470 --help=short display options specific to this package
1471 --help=recursive display the short help of all the included packages
1472 -V, --version display version information and exit
1473 -q, --quiet, --silent do not print \`checking ...' messages
1474 --cache-file=FILE cache test results in FILE [disabled]
1475 -C, --config-cache alias for \`--cache-file=config.cache'
1476 -n, --no-create do not create output files
1477 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1479 Installation directories:
1480 --prefix=PREFIX install architecture-independent files in PREFIX
1481 [$ac_default_prefix]
1482 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1485 By default, \`make install' will install all the files in
1486 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1487 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1488 for instance \`--prefix=\$HOME'.
1490 For better control, use the options below.
1492 Fine tuning of the installation directories:
1493 --bindir=DIR user executables [EPREFIX/bin]
1494 --sbindir=DIR system admin executables [EPREFIX/sbin]
1495 --libexecdir=DIR program executables [EPREFIX/libexec]
1496 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1497 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1498 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1499 --libdir=DIR object code libraries [EPREFIX/lib]
1500 --includedir=DIR C header files [PREFIX/include]
1501 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1502 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1503 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1504 --infodir=DIR info documentation [DATAROOTDIR/info]
1505 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1506 --mandir=DIR man documentation [DATAROOTDIR/man]
1507 --docdir=DIR documentation root [DATAROOTDIR/doc/e_dbus]
1508 --htmldir=DIR html documentation [DOCDIR]
1509 --dvidir=DIR dvi documentation [DOCDIR]
1510 --pdfdir=DIR pdf documentation [DOCDIR]
1511 --psdir=DIR ps documentation [DOCDIR]
1517 --program-prefix=PREFIX prepend PREFIX to installed program names
1518 --program-suffix=SUFFIX append SUFFIX to installed program names
1519 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1522 --build=BUILD configure for building on BUILD [guessed]
1523 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1527 if test -n "$ac_init_help"; then
1528 case $ac_init_help in
1529 short | recursive ) echo "Configuration of e_dbus 1.7.8:";;
1534 --disable-option-checking ignore unrecognized --enable/--with options
1535 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1536 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1537 --enable-silent-rules less verbose build output (undo: "make V=1")
1538 --disable-silent-rules verbose build output (undo: "make V=0")
1539 --enable-shared[=PKGS] build shared libraries [default=yes]
1540 --enable-static[=PKGS] build static libraries [default=yes]
1541 --enable-fast-install[=PKGS]
1542 optimize for fast installation [default=yes]
1543 --enable-dependency-tracking
1544 do not reject slow dependency extractors
1545 --disable-dependency-tracking
1546 speeds up one-time build
1547 --disable-libtool-lock avoid locking (might break parallel builds)
1548 --enable-ebluez Enable ebluez build
1549 --enable-econnman0_7x Enable econnman 0.7x build
1550 --disable-ehal Disable ehal build
1551 --disable-enotify Disable enotify build
1552 --enable-eofono Enable eofono build
1553 --disable-eukit Disable eukit build
1554 --disable-doc Disable documentation build [default=enabled]
1555 --disable-edbus-test disable building of edbus_test
1556 --disable-edbus-test-client
1557 disable building of edbus_test_client
1558 --disable-edbus-bluez-test
1559 disable building of edbus_bluez_test
1560 --disable-edbus-connman0_7x-test
1561 disable building of edbus_connman0_7x_test
1562 --disable-edbus-notification-daemon-test
1563 disable building of edbus_notification_daemon_test
1564 --disable-edbus-notify-send
1565 disable building of edbus_notify_send
1566 --disable-edbus-notify-test
1567 disable building of edbus_notify_test
1568 --disable-edbus-ofono-test
1569 disable building of edbus_ofono_test
1570 --disable-edbus-ukit-test
1571 disable building of edbus_ukit_test
1572 --disable-edbus-performance-test
1573 disable building of edbus_performance_test
1574 --disable-edbus-async-test
1575 disable building of edbus_async_test
1578 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1579 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1580 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1582 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1583 --with-sysroot=DIR Search for dependent libraries within DIR
1584 (or the compiler's sysroot if not specified).
1585 --with-doxygen=FILE doxygen program to use [default=doxygen]
1587 Some influential environment variables:
1588 CC C compiler command
1589 CFLAGS C compiler flags
1590 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1591 nonstandard directory <lib dir>
1592 LIBS libraries to pass to the linker, e.g. -l<library>
1593 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1594 you have headers in a nonstandard directory <include dir>
1596 PKG_CONFIG path to pkg-config utility
1598 directories to add to pkg-config's search path
1600 path overriding pkg-config's built-in search path
1601 DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1602 DBUS_LIBS linker flags for DBUS, overriding pkg-config
1604 C compiler flags for EDBUS, overriding pkg-config
1605 EDBUS_LIBS linker flags for EDBUS, overriding pkg-config
1606 EVAS_CFLAGS C compiler flags for EVAS, overriding pkg-config
1607 EVAS_LIBS linker flags for EVAS, overriding pkg-config
1609 C compiler flags for EDBUS_TEST, overriding pkg-config
1611 linker flags for EDBUS_TEST, overriding pkg-config
1612 EDBUS_TEST_CLIENT_CFLAGS
1613 C compiler flags for EDBUS_TEST_CLIENT, overriding pkg-config
1614 EDBUS_TEST_CLIENT_LIBS
1615 linker flags for EDBUS_TEST_CLIENT, overriding pkg-config
1616 EDBUS_BLUEZ_TEST_CFLAGS
1617 C compiler flags for EDBUS_BLUEZ_TEST, overriding pkg-config
1618 EDBUS_BLUEZ_TEST_LIBS
1619 linker flags for EDBUS_BLUEZ_TEST, overriding pkg-config
1620 EDBUS_CONNMAN0_7X_TEST_CFLAGS
1621 C compiler flags for EDBUS_CONNMAN0_7X_TEST, overriding
1623 EDBUS_CONNMAN0_7X_TEST_LIBS
1624 linker flags for EDBUS_CONNMAN0_7X_TEST, overriding pkg-config
1625 EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS
1626 C compiler flags for EDBUS_NOTIFICATION_DAEMON_TEST, overriding
1628 EDBUS_NOTIFICATION_DAEMON_TEST_LIBS
1629 linker flags for EDBUS_NOTIFICATION_DAEMON_TEST, overriding
1631 EDBUS_NOTIFY_SEND_CFLAGS
1632 C compiler flags for EDBUS_NOTIFY_SEND, overriding pkg-config
1633 EDBUS_NOTIFY_SEND_LIBS
1634 linker flags for EDBUS_NOTIFY_SEND, overriding pkg-config
1635 EDBUS_NOTIFY_TEST_CFLAGS
1636 C compiler flags for EDBUS_NOTIFY_TEST, overriding pkg-config
1637 EDBUS_NOTIFY_TEST_LIBS
1638 linker flags for EDBUS_NOTIFY_TEST, overriding pkg-config
1639 EDBUS_OFONO_TEST_CFLAGS
1640 C compiler flags for EDBUS_OFONO_TEST, overriding pkg-config
1641 EDBUS_OFONO_TEST_LIBS
1642 linker flags for EDBUS_OFONO_TEST, overriding pkg-config
1643 EDBUS_UKIT_TEST_CFLAGS
1644 C compiler flags for EDBUS_UKIT_TEST, overriding pkg-config
1645 EDBUS_UKIT_TEST_LIBS
1646 linker flags for EDBUS_UKIT_TEST, overriding pkg-config
1647 EDBUS_PERFORMANCE_TEST_CFLAGS
1648 C compiler flags for EDBUS_PERFORMANCE_TEST, overriding
1650 EDBUS_PERFORMANCE_TEST_LIBS
1651 linker flags for EDBUS_PERFORMANCE_TEST, overriding pkg-config
1652 EDBUS_ASYNC_TEST_CFLAGS
1653 C compiler flags for EDBUS_ASYNC_TEST, overriding pkg-config
1654 EDBUS_ASYNC_TEST_LIBS
1655 linker flags for EDBUS_ASYNC_TEST, overriding pkg-config
1657 Use these variables to override the choices made by `configure' or to help
1658 it to find libraries and programs with nonstandard names/locations.
1660 Report bugs to <enlightenment-devel@lists.sourceforge.net>.
1665 if test "$ac_init_help" = "recursive"; then
1666 # If there are subdirs, report their specific --help.
1667 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1668 test -d "$ac_dir" ||
1669 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1674 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1676 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1677 # A ".." for each directory in $ac_dir_suffix.
1678 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1679 case $ac_top_builddir_sub in
1680 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1681 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1684 ac_abs_top_builddir=$ac_pwd
1685 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1686 # for backward compatibility:
1687 ac_top_builddir=$ac_top_build_prefix
1690 .) # We are building in place.
1692 ac_top_srcdir=$ac_top_builddir_sub
1693 ac_abs_top_srcdir=$ac_pwd ;;
1694 [\\/]* | ?:[\\/]* ) # Absolute name.
1695 ac_srcdir=$srcdir$ac_dir_suffix;
1696 ac_top_srcdir=$srcdir
1697 ac_abs_top_srcdir=$srcdir ;;
1699 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1700 ac_top_srcdir=$ac_top_build_prefix$srcdir
1701 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1703 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1705 cd "$ac_dir" || { ac_status=$?; continue; }
1706 # Check for guested configure.
1707 if test -f "$ac_srcdir/configure.gnu"; then
1709 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1710 elif test -f "$ac_srcdir/configure"; then
1712 $SHELL "$ac_srcdir/configure" --help=recursive
1714 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1716 cd "$ac_pwd" || { ac_status=$?; break; }
1720 test -n "$ac_init_help" && exit $ac_status
1721 if $ac_init_version; then
1723 e_dbus configure 1.7.8
1724 generated by GNU Autoconf 2.69
1726 Copyright (C) 2012 Free Software Foundation, Inc.
1727 This configure script is free software; the Free Software Foundation
1728 gives unlimited permission to copy, distribute and modify it.
1733 ## ------------------------ ##
1734 ## Autoconf initialization. ##
1735 ## ------------------------ ##
1737 # ac_fn_c_try_compile LINENO
1738 # --------------------------
1739 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1740 ac_fn_c_try_compile ()
1742 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1743 rm -f conftest.$ac_objext
1744 if { { ac_try="$ac_compile"
1746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1747 *) ac_try_echo=$ac_try;;
1749 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1750 $as_echo "$ac_try_echo"; } >&5
1751 (eval "$ac_compile") 2>conftest.err
1753 if test -s conftest.err; then
1754 grep -v '^ *+' conftest.err >conftest.er1
1755 cat conftest.er1 >&5
1756 mv -f conftest.er1 conftest.err
1758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1759 test $ac_status = 0; } && {
1760 test -z "$ac_c_werror_flag" ||
1761 test ! -s conftest.err
1762 } && test -s conftest.$ac_objext; then :
1765 $as_echo "$as_me: failed program was:" >&5
1766 sed 's/^/| /' conftest.$ac_ext >&5
1770 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1771 as_fn_set_status $ac_retval
1773 } # ac_fn_c_try_compile
1775 # ac_fn_c_try_link LINENO
1776 # -----------------------
1777 # Try to link conftest.$ac_ext, and return whether this succeeded.
1780 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1781 rm -f conftest.$ac_objext conftest$ac_exeext
1782 if { { ac_try="$ac_link"
1784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1785 *) ac_try_echo=$ac_try;;
1787 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1788 $as_echo "$ac_try_echo"; } >&5
1789 (eval "$ac_link") 2>conftest.err
1791 if test -s conftest.err; then
1792 grep -v '^ *+' conftest.err >conftest.er1
1793 cat conftest.er1 >&5
1794 mv -f conftest.er1 conftest.err
1796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1797 test $ac_status = 0; } && {
1798 test -z "$ac_c_werror_flag" ||
1799 test ! -s conftest.err
1800 } && test -s conftest$ac_exeext && {
1801 test "$cross_compiling" = yes ||
1802 test -x conftest$ac_exeext
1806 $as_echo "$as_me: failed program was:" >&5
1807 sed 's/^/| /' conftest.$ac_ext >&5
1811 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1812 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1813 # interfere with the next link command; also delete a directory that is
1814 # left behind by Apple's compiler. We do this before executing the actions.
1815 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1816 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1817 as_fn_set_status $ac_retval
1819 } # ac_fn_c_try_link
1821 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1822 # -------------------------------------------------------
1823 # Tests whether HEADER exists and can be compiled using the include files in
1824 # INCLUDES, setting the cache variable VAR accordingly.
1825 ac_fn_c_check_header_compile ()
1827 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1829 $as_echo_n "checking for $2... " >&6; }
1830 if eval \${$3+:} false; then :
1831 $as_echo_n "(cached) " >&6
1833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1834 /* end confdefs.h. */
1838 if ac_fn_c_try_compile "$LINENO"; then :
1843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1847 $as_echo "$ac_res" >&6; }
1848 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1850 } # ac_fn_c_check_header_compile
1852 # ac_fn_c_try_cpp LINENO
1853 # ----------------------
1854 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1857 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1858 if { { ac_try="$ac_cpp conftest.$ac_ext"
1860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1861 *) ac_try_echo=$ac_try;;
1863 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1864 $as_echo "$ac_try_echo"; } >&5
1865 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1867 if test -s conftest.err; then
1868 grep -v '^ *+' conftest.err >conftest.er1
1869 cat conftest.er1 >&5
1870 mv -f conftest.er1 conftest.err
1872 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1873 test $ac_status = 0; } > conftest.i && {
1874 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1875 test ! -s conftest.err
1879 $as_echo "$as_me: failed program was:" >&5
1880 sed 's/^/| /' conftest.$ac_ext >&5
1884 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1885 as_fn_set_status $ac_retval
1889 # ac_fn_c_try_run LINENO
1890 # ----------------------
1891 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1892 # that executables *can* be run.
1895 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1896 if { { ac_try="$ac_link"
1898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1899 *) ac_try_echo=$ac_try;;
1901 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1902 $as_echo "$ac_try_echo"; } >&5
1903 (eval "$ac_link") 2>&5
1905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1906 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1907 { { case "(($ac_try" in
1908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1909 *) ac_try_echo=$ac_try;;
1911 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1912 $as_echo "$ac_try_echo"; } >&5
1913 (eval "$ac_try") 2>&5
1915 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1916 test $ac_status = 0; }; }; then :
1919 $as_echo "$as_me: program exited with status $ac_status" >&5
1920 $as_echo "$as_me: failed program was:" >&5
1921 sed 's/^/| /' conftest.$ac_ext >&5
1923 ac_retval=$ac_status
1925 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1926 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1927 as_fn_set_status $ac_retval
1931 # ac_fn_c_check_func LINENO FUNC VAR
1932 # ----------------------------------
1933 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1934 ac_fn_c_check_func ()
1936 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1938 $as_echo_n "checking for $2... " >&6; }
1939 if eval \${$3+:} false; then :
1940 $as_echo_n "(cached) " >&6
1942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1943 /* end confdefs.h. */
1944 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1945 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1946 #define $2 innocuous_$2
1948 /* System header to define __stub macros and hopefully few prototypes,
1949 which can conflict with char $2 (); below.
1950 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1951 <limits.h> exists even on freestanding compilers. */
1954 # include <limits.h>
1956 # include <assert.h>
1961 /* Override any GCC internal prototype to avoid an error.
1962 Use char because int might match the return type of a GCC
1963 builtin and then its argument prototype would still apply. */
1968 /* The GNU C library defines this for functions which it implements
1969 to always fail with ENOSYS. Some functions are actually named
1970 something starting with __ and the normal name is an alias. */
1971 #if defined __stub_$2 || defined __stub___$2
1983 if ac_fn_c_try_link "$LINENO"; then :
1988 rm -f core conftest.err conftest.$ac_objext \
1989 conftest$ac_exeext conftest.$ac_ext
1992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1993 $as_echo "$ac_res" >&6; }
1994 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1996 } # ac_fn_c_check_func
1998 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1999 # -------------------------------------------
2000 # Tests whether TYPE exists after having included INCLUDES, setting cache
2001 # variable VAR accordingly.
2002 ac_fn_c_check_type ()
2004 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2006 $as_echo_n "checking for $2... " >&6; }
2007 if eval \${$3+:} false; then :
2008 $as_echo_n "(cached) " >&6
2011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2012 /* end confdefs.h. */
2023 if ac_fn_c_try_compile "$LINENO"; then :
2024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2025 /* end confdefs.h. */
2036 if ac_fn_c_try_compile "$LINENO"; then :
2041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2047 $as_echo "$ac_res" >&6; }
2048 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2050 } # ac_fn_c_check_type
2051 cat >config.log <<_ACEOF
2052 This file contains any messages produced by compilers while
2053 running configure, to aid debugging if configure makes a mistake.
2055 It was created by e_dbus $as_me 1.7.8, which was
2056 generated by GNU Autoconf 2.69. Invocation command line was
2068 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2069 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2070 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2071 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2072 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2074 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2075 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2077 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2078 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2079 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2080 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2081 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2082 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2083 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2091 test -z "$as_dir" && as_dir=.
2092 $as_echo "PATH: $as_dir"
2108 # Keep a trace of the command line.
2109 # Strip out --no-create and --no-recursion so they do not pile up.
2110 # Strip out --silent because we don't want to record it for future runs.
2111 # Also quote any args containing shell meta-characters.
2112 # Make two passes to allow for proper duplicate-argument suppression.
2116 ac_must_keep_next=false
2122 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2123 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2124 | -silent | --silent | --silen | --sile | --sil)
2127 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2130 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2132 as_fn_append ac_configure_args1 " '$ac_arg'"
2133 if test $ac_must_keep_next = true; then
2134 ac_must_keep_next=false # Got value, back to normal.
2137 *=* | --config-cache | -C | -disable-* | --disable-* \
2138 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2139 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2140 | -with-* | --with-* | -without-* | --without-* | --x)
2141 case "$ac_configure_args0 " in
2142 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2145 -* ) ac_must_keep_next=true ;;
2148 as_fn_append ac_configure_args " '$ac_arg'"
2153 { ac_configure_args0=; unset ac_configure_args0;}
2154 { ac_configure_args1=; unset ac_configure_args1;}
2156 # When interrupted or exit'd, cleanup temporary files, and complete
2157 # config.log. We remove comments because anyway the quotes in there
2158 # would cause problems or look ugly.
2159 # WARNING: Use '\'' to represent an apostrophe within the trap.
2160 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2161 trap 'exit_status=$?
2162 # Save into config.log some information that might help in debugging.
2166 $as_echo "## ---------------- ##
2167 ## Cache variables. ##
2168 ## ---------------- ##"
2170 # The following way of writing the cache mishandles newlines in values,
2172 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2173 eval ac_val=\$$ac_var
2177 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2178 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2181 _ | IFS | as_nl) ;; #(
2182 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2183 *) { eval $ac_var=; unset $ac_var;} ;;
2188 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2189 *${as_nl}ac_space=\ *)
2191 "s/'\''/'\''\\\\'\'''\''/g;
2192 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2195 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2202 $as_echo "## ----------------- ##
2203 ## Output variables. ##
2204 ## ----------------- ##"
2206 for ac_var in $ac_subst_vars
2208 eval ac_val=\$$ac_var
2210 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2212 $as_echo "$ac_var='\''$ac_val'\''"
2216 if test -n "$ac_subst_files"; then
2217 $as_echo "## ------------------- ##
2218 ## File substitutions. ##
2219 ## ------------------- ##"
2221 for ac_var in $ac_subst_files
2223 eval ac_val=\$$ac_var
2225 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2227 $as_echo "$ac_var='\''$ac_val'\''"
2232 if test -s confdefs.h; then
2233 $as_echo "## ----------- ##
2240 test "$ac_signal" != 0 &&
2241 $as_echo "$as_me: caught signal $ac_signal"
2242 $as_echo "$as_me: exit $exit_status"
2244 rm -f core *.core core.conftest.* &&
2245 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2248 for ac_signal in 1 2 13 15; do
2249 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2253 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2254 rm -f -r conftest* confdefs.h
2256 $as_echo "/* confdefs.h */" > confdefs.h
2258 # Predefined preprocessor variables.
2260 cat >>confdefs.h <<_ACEOF
2261 #define PACKAGE_NAME "$PACKAGE_NAME"
2264 cat >>confdefs.h <<_ACEOF
2265 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2268 cat >>confdefs.h <<_ACEOF
2269 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2272 cat >>confdefs.h <<_ACEOF
2273 #define PACKAGE_STRING "$PACKAGE_STRING"
2276 cat >>confdefs.h <<_ACEOF
2277 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2280 cat >>confdefs.h <<_ACEOF
2281 #define PACKAGE_URL "$PACKAGE_URL"
2285 # Let the site file select an alternate cache file if it wants to.
2286 # Prefer an explicitly selected file to automatically selected ones.
2289 if test -n "$CONFIG_SITE"; then
2290 # We do not want a PATH search for config.site.
2291 case $CONFIG_SITE in #((
2292 -*) ac_site_file1=./$CONFIG_SITE;;
2293 */*) ac_site_file1=$CONFIG_SITE;;
2294 *) ac_site_file1=./$CONFIG_SITE;;
2296 elif test "x$prefix" != xNONE; then
2297 ac_site_file1=$prefix/share/config.site
2298 ac_site_file2=$prefix/etc/config.site
2300 ac_site_file1=$ac_default_prefix/share/config.site
2301 ac_site_file2=$ac_default_prefix/etc/config.site
2303 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2305 test "x$ac_site_file" = xNONE && continue
2306 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2308 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2309 sed 's/^/| /' "$ac_site_file" >&5
2311 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2312 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2313 as_fn_error $? "failed to load site script $ac_site_file
2314 See \`config.log' for more details" "$LINENO" 5; }
2318 if test -r "$cache_file"; then
2319 # Some versions of bash will fail to source /dev/null (special files
2320 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2321 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2322 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2323 $as_echo "$as_me: loading cache $cache_file" >&6;}
2325 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2326 *) . "./$cache_file";;
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2331 $as_echo "$as_me: creating cache $cache_file" >&6;}
2335 # Check that the precious variables saved in the cache have kept the same
2337 ac_cache_corrupted=false
2338 for ac_var in $ac_precious_vars; do
2339 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2340 eval ac_new_set=\$ac_env_${ac_var}_set
2341 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2342 eval ac_new_val=\$ac_env_${ac_var}_value
2343 case $ac_old_set,$ac_new_set in
2345 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2346 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2347 ac_cache_corrupted=: ;;
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2350 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2351 ac_cache_corrupted=: ;;
2354 if test "x$ac_old_val" != "x$ac_new_val"; then
2355 # differences in whitespace do not lead to failure.
2356 ac_old_val_w=`echo x $ac_old_val`
2357 ac_new_val_w=`echo x $ac_new_val`
2358 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2360 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2361 ac_cache_corrupted=:
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2364 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2365 eval $ac_var=\$ac_old_val
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2368 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2370 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2373 # Pass precious variables to config.status.
2374 if test "$ac_new_set" = set; then
2376 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2377 *) ac_arg=$ac_var=$ac_new_val ;;
2379 case " $ac_configure_args " in
2380 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2381 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2385 if $ac_cache_corrupted; then
2386 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2387 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2388 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2389 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2390 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2392 ## -------------------- ##
2393 ## Main body of script. ##
2394 ## -------------------- ##
2397 ac_cpp='$CPP $CPPFLAGS'
2398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2407 ac_config_headers="$ac_config_headers config.h"
2412 am__api_version='1.13'
2415 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2416 if test -f "$ac_dir/install-sh"; then
2418 ac_install_sh="$ac_aux_dir/install-sh -c"
2420 elif test -f "$ac_dir/install.sh"; then
2422 ac_install_sh="$ac_aux_dir/install.sh -c"
2424 elif test -f "$ac_dir/shtool"; then
2426 ac_install_sh="$ac_aux_dir/shtool install -c"
2430 if test -z "$ac_aux_dir"; then
2431 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2434 # These three variables are undocumented and unsupported,
2435 # and are intended to be withdrawn in a future Autoconf release.
2436 # They can cause serious problems if a builder's source tree is in a directory
2437 # whose full name contains unusual characters.
2438 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2439 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2440 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2443 # Find a good install program. We prefer a C program (faster),
2444 # so one script is as good as another. But avoid the broken or
2445 # incompatible versions:
2446 # SysV /etc/install, /usr/sbin/install
2447 # SunOS /usr/etc/install
2448 # IRIX /sbin/install
2450 # AmigaOS /C/install, which installs bootblocks on floppy discs
2451 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2452 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2453 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2454 # OS/2's system install, which has a completely different semantic
2455 # ./install, which can be erroneously created by make from ./install.sh.
2456 # Reject install programs that cannot install multiple files.
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2458 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2459 if test -z "$INSTALL"; then
2460 if ${ac_cv_path_install+:} false; then :
2461 $as_echo_n "(cached) " >&6
2463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2467 test -z "$as_dir" && as_dir=.
2468 # Account for people who put trailing slashes in PATH elements.
2469 case $as_dir/ in #((
2470 ./ | .// | /[cC]/* | \
2471 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2472 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2475 # OSF1 and SCO ODT 3.0 have their own names for install.
2476 # Don't use installbsd from OSF since it installs stuff as root
2478 for ac_prog in ginstall scoinst install; do
2479 for ac_exec_ext in '' $ac_executable_extensions; do
2480 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2481 if test $ac_prog = install &&
2482 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2483 # AIX install. It has an incompatible calling convention.
2485 elif test $ac_prog = install &&
2486 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2487 # program-specific install script used by HP pwplus--don't use.
2490 rm -rf conftest.one conftest.two conftest.dir
2491 echo one > conftest.one
2492 echo two > conftest.two
2494 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2495 test -s conftest.one && test -s conftest.two &&
2496 test -s conftest.dir/conftest.one &&
2497 test -s conftest.dir/conftest.two
2499 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2512 rm -rf conftest.one conftest.two conftest.dir
2515 if test "${ac_cv_path_install+set}" = set; then
2516 INSTALL=$ac_cv_path_install
2518 # As a last resort, use the slow shell script. Don't cache a
2519 # value for INSTALL within a source directory, because that will
2520 # break other packages using the cache if that directory is
2521 # removed, or if the value is a relative name.
2522 INSTALL=$ac_install_sh
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2526 $as_echo "$INSTALL" >&6; }
2528 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2529 # It thinks the first close brace ends the variable substitution.
2530 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2532 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2534 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2537 $as_echo_n "checking whether build environment is sane... " >&6; }
2538 # Reject unsafe characters in $srcdir or the absolute working directory
2539 # name. Accept space and tab only in the latter.
2543 *[\\\"\#\$\&\'\`$am_lf]*)
2544 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2547 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2548 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2551 # Do 'set' in a subshell so we don't clobber the current shell's
2552 # arguments. Must try -L first in case configure is actually a
2553 # symlink; some systems play weird games with the mod time of symlinks
2554 # (eg FreeBSD returns the mod time of the symlink's containing
2558 for am_try in 1 2; do
2559 echo "timestamp, slept: $am_has_slept" > conftest.file
2560 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2561 if test "$*" = "X"; then
2563 set X `ls -t "$srcdir/configure" conftest.file`
2565 if test "$*" != "X $srcdir/configure conftest.file" \
2566 && test "$*" != "X conftest.file $srcdir/configure"; then
2568 # If neither matched, then we have a broken ls. This can happen
2569 # if, for instance, CONFIG_SHELL is bash and it inherits a
2570 # broken ls alias from the environment. This has actually
2571 # happened. Such a system could not be considered "sane".
2572 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2573 alias in your environment" "$LINENO" 5
2575 if test "$2" = conftest.file || test $am_try -eq 2; then
2582 test "$2" = conftest.file
2588 as_fn_error $? "newly created file is older than distributed files!
2589 Check your system clock" "$LINENO" 5
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2592 $as_echo "yes" >&6; }
2593 # If we didn't sleep, we still need to ensure time stamps of config.status and
2594 # generated files are strictly newer.
2596 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2603 test "$program_prefix" != NONE &&
2604 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2605 # Use a double $ so make ignores it.
2606 test "$program_suffix" != NONE &&
2607 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2608 # Double any \ or $.
2609 # By default was `s,x,x', remove it if useless.
2610 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2611 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2613 # expand $ac_aux_dir to an absolute path
2614 am_aux_dir=`cd $ac_aux_dir && pwd`
2616 if test x"${MISSING+set}" != xset; then
2619 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2621 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2624 # Use eval to expand $SHELL
2625 if eval "$MISSING --is-lightweight"; then
2626 am_missing_run="$MISSING "
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2630 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2633 if test x"${install_sh}" != xset; then
2636 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2638 install_sh="\${SHELL} $am_aux_dir/install-sh"
2642 # Installed binaries are usually stripped using 'strip' when the user
2643 # run "make install-strip". However 'strip' might not be the right
2644 # tool to use in cross-compilation environments, therefore Automake
2645 # will honor the 'STRIP' environment variable to overrule this program.
2646 if test "$cross_compiling" != no; then
2647 if test -n "$ac_tool_prefix"; then
2648 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2649 set dummy ${ac_tool_prefix}strip; ac_word=$2
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2651 $as_echo_n "checking for $ac_word... " >&6; }
2652 if ${ac_cv_prog_STRIP+:} false; then :
2653 $as_echo_n "(cached) " >&6
2655 if test -n "$STRIP"; then
2656 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2662 test -z "$as_dir" && as_dir=.
2663 for ac_exec_ext in '' $ac_executable_extensions; do
2664 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2665 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2675 STRIP=$ac_cv_prog_STRIP
2676 if test -n "$STRIP"; then
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2678 $as_echo "$STRIP" >&6; }
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2681 $as_echo "no" >&6; }
2686 if test -z "$ac_cv_prog_STRIP"; then
2688 # Extract the first word of "strip", so it can be a program name with args.
2689 set dummy strip; ac_word=$2
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2691 $as_echo_n "checking for $ac_word... " >&6; }
2692 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2693 $as_echo_n "(cached) " >&6
2695 if test -n "$ac_ct_STRIP"; then
2696 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2702 test -z "$as_dir" && as_dir=.
2703 for ac_exec_ext in '' $ac_executable_extensions; do
2704 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2705 ac_cv_prog_ac_ct_STRIP="strip"
2706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2715 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2716 if test -n "$ac_ct_STRIP"; then
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2718 $as_echo "$ac_ct_STRIP" >&6; }
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2721 $as_echo "no" >&6; }
2724 if test "x$ac_ct_STRIP" = x; then
2727 case $cross_compiling:$ac_tool_warned in
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2730 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2731 ac_tool_warned=yes ;;
2736 STRIP="$ac_cv_prog_STRIP"
2740 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2743 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2744 if test -z "$MKDIR_P"; then
2745 if ${ac_cv_path_mkdir+:} false; then :
2746 $as_echo_n "(cached) " >&6
2748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2749 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2752 test -z "$as_dir" && as_dir=.
2753 for ac_prog in mkdir gmkdir; do
2754 for ac_exec_ext in '' $ac_executable_extensions; do
2755 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2756 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2757 'mkdir (GNU coreutils) '* | \
2758 'mkdir (coreutils) '* | \
2759 'mkdir (fileutils) '4.1*)
2760 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2770 test -d ./--version && rmdir ./--version
2771 if test "${ac_cv_path_mkdir+set}" = set; then
2772 MKDIR_P="$ac_cv_path_mkdir -p"
2774 # As a last resort, use the slow shell script. Don't cache a
2775 # value for MKDIR_P within a source directory, because that will
2776 # break other packages using the cache if that directory is
2777 # removed, or if the value is a relative name.
2778 MKDIR_P="$ac_install_sh -d"
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2782 $as_echo "$MKDIR_P" >&6; }
2784 for ac_prog in gawk mawk nawk awk
2786 # Extract the first word of "$ac_prog", so it can be a program name with args.
2787 set dummy $ac_prog; ac_word=$2
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2789 $as_echo_n "checking for $ac_word... " >&6; }
2790 if ${ac_cv_prog_AWK+:} false; then :
2791 $as_echo_n "(cached) " >&6
2793 if test -n "$AWK"; then
2794 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2800 test -z "$as_dir" && as_dir=.
2801 for ac_exec_ext in '' $ac_executable_extensions; do
2802 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2803 ac_cv_prog_AWK="$ac_prog"
2804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2814 if test -n "$AWK"; then
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2816 $as_echo "$AWK" >&6; }
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2819 $as_echo "no" >&6; }
2823 test -n "$AWK" && break
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2827 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2829 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2830 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2831 $as_echo_n "(cached) " >&6
2833 cat >conftest.make <<\_ACEOF
2836 @echo '@@@%%%=$(MAKE)=@@@%%%'
2838 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2839 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2841 eval ac_cv_prog_make_${ac_make}_set=yes;;
2843 eval ac_cv_prog_make_${ac_make}_set=no;;
2847 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2849 $as_echo "yes" >&6; }
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2853 $as_echo "no" >&6; }
2854 SET_MAKE="MAKE=${MAKE-make}"
2857 rm -rf .tst 2>/dev/null
2858 mkdir .tst 2>/dev/null
2859 if test -d .tst; then
2864 rmdir .tst 2>/dev/null
2866 # Check whether --enable-silent-rules was given.
2867 if test "${enable_silent_rules+set}" = set; then :
2868 enableval=$enable_silent_rules;
2871 case $enable_silent_rules in # (((
2872 yes) AM_DEFAULT_VERBOSITY=0;;
2873 no) AM_DEFAULT_VERBOSITY=1;;
2874 *) AM_DEFAULT_VERBOSITY=1;;
2876 am_make=${MAKE-make}
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2878 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2879 if ${am_cv_make_support_nested_variables+:} false; then :
2880 $as_echo_n "(cached) " >&6
2882 if $as_echo 'TRUE=$(BAR$(V))
2888 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2889 am_cv_make_support_nested_variables=yes
2891 am_cv_make_support_nested_variables=no
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2895 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2896 if test $am_cv_make_support_nested_variables = yes; then
2898 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2900 AM_V=$AM_DEFAULT_VERBOSITY
2901 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2905 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2906 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2907 # is not polluted with repeated "-I."
2908 am__isrc=' -I$(srcdir)'
2909 # test to see if srcdir already configured
2910 if test -f $srcdir/config.status; then
2911 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2915 # test whether we have cygpath
2916 if test -z "$CYGPATH_W"; then
2917 if (cygpath --version) >/dev/null 2>/dev/null; then
2918 CYGPATH_W='cygpath -w'
2925 # Define the identity of the package.
2930 cat >>confdefs.h <<_ACEOF
2931 #define PACKAGE "$PACKAGE"
2935 cat >>confdefs.h <<_ACEOF
2936 #define VERSION "$VERSION"
2939 # Some tools Automake needs.
2941 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2944 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2947 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2950 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2953 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2955 # For better backward compatibility. To be removed once Automake 1.9.x
2956 # dies out for good. For more background, see:
2957 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2958 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2959 mkdir_p='$(MKDIR_P)'
2961 # We need awk for the "check" target. The system "awk" is bad on
2963 # Always define AMTAR for backward compatibility. Yes, it's still used
2964 # in the wild :-( We should find a proper way to deprecate it ...
2968 # We'll loop over all known methods to create a tar archive until one works.
2969 _am_tools='gnutar pax cpio none'
2971 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2978 # Check whether --enable-silent-rules was given.
2979 if test "${enable_silent_rules+set}" = set; then :
2980 enableval=$enable_silent_rules;
2983 case $enable_silent_rules in # (((
2984 yes) AM_DEFAULT_VERBOSITY=0;;
2985 no) AM_DEFAULT_VERBOSITY=1;;
2986 *) AM_DEFAULT_VERBOSITY=0;;
2988 am_make=${MAKE-make}
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2990 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2991 if ${am_cv_make_support_nested_variables+:} false; then :
2992 $as_echo_n "(cached) " >&6
2994 if $as_echo 'TRUE=$(BAR$(V))
3000 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3001 am_cv_make_support_nested_variables=yes
3003 am_cv_make_support_nested_variables=no
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3007 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3008 if test $am_cv_make_support_nested_variables = yes; then
3010 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3012 AM_V=$AM_DEFAULT_VERBOSITY
3013 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3018 # Make sure we can run config.sub.
3019 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3020 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3023 $as_echo_n "checking build system type... " >&6; }
3024 if ${ac_cv_build+:} false; then :
3025 $as_echo_n "(cached) " >&6
3027 ac_build_alias=$build_alias
3028 test "x$ac_build_alias" = x &&
3029 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3030 test "x$ac_build_alias" = x &&
3031 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3032 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3033 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3037 $as_echo "$ac_cv_build" >&6; }
3038 case $ac_cv_build in
3040 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3043 ac_save_IFS=$IFS; IFS='-'
3049 # Remember, the first character of IFS is used to create $*,
3050 # except with old shells:
3053 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3057 $as_echo_n "checking host system type... " >&6; }
3058 if ${ac_cv_host+:} false; then :
3059 $as_echo_n "(cached) " >&6
3061 if test "x$host_alias" = x; then
3062 ac_cv_host=$ac_cv_build
3064 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3065 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3070 $as_echo "$ac_cv_host" >&6; }
3073 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3076 ac_save_IFS=$IFS; IFS='-'
3082 # Remember, the first character of IFS is used to create $*,
3083 # except with old shells:
3086 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3089 enable_win32_dll=yes
3092 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
3093 if test -n "$ac_tool_prefix"; then
3094 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3095 set dummy ${ac_tool_prefix}as; ac_word=$2
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3097 $as_echo_n "checking for $ac_word... " >&6; }
3098 if ${ac_cv_prog_AS+:} false; then :
3099 $as_echo_n "(cached) " >&6
3101 if test -n "$AS"; then
3102 ac_cv_prog_AS="$AS" # Let the user override the test.
3104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3108 test -z "$as_dir" && as_dir=.
3109 for ac_exec_ext in '' $ac_executable_extensions; do
3110 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3111 ac_cv_prog_AS="${ac_tool_prefix}as"
3112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3122 if test -n "$AS"; then
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
3124 $as_echo "$AS" >&6; }
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3127 $as_echo "no" >&6; }
3132 if test -z "$ac_cv_prog_AS"; then
3134 # Extract the first word of "as", so it can be a program name with args.
3135 set dummy as; ac_word=$2
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3137 $as_echo_n "checking for $ac_word... " >&6; }
3138 if ${ac_cv_prog_ac_ct_AS+:} false; then :
3139 $as_echo_n "(cached) " >&6
3141 if test -n "$ac_ct_AS"; then
3142 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3148 test -z "$as_dir" && as_dir=.
3149 for ac_exec_ext in '' $ac_executable_extensions; do
3150 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3151 ac_cv_prog_ac_ct_AS="as"
3152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3161 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3162 if test -n "$ac_ct_AS"; then
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
3164 $as_echo "$ac_ct_AS" >&6; }
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3167 $as_echo "no" >&6; }
3170 if test "x$ac_ct_AS" = x; then
3173 case $cross_compiling:$ac_tool_warned in
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3176 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3177 ac_tool_warned=yes ;;
3185 if test -n "$ac_tool_prefix"; then
3186 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3187 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3189 $as_echo_n "checking for $ac_word... " >&6; }
3190 if ${ac_cv_prog_DLLTOOL+:} false; then :
3191 $as_echo_n "(cached) " >&6
3193 if test -n "$DLLTOOL"; then
3194 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3200 test -z "$as_dir" && as_dir=.
3201 for ac_exec_ext in '' $ac_executable_extensions; do
3202 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3203 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3213 DLLTOOL=$ac_cv_prog_DLLTOOL
3214 if test -n "$DLLTOOL"; then
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
3216 $as_echo "$DLLTOOL" >&6; }
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3219 $as_echo "no" >&6; }
3224 if test -z "$ac_cv_prog_DLLTOOL"; then
3225 ac_ct_DLLTOOL=$DLLTOOL
3226 # Extract the first word of "dlltool", so it can be a program name with args.
3227 set dummy dlltool; ac_word=$2
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3229 $as_echo_n "checking for $ac_word... " >&6; }
3230 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
3231 $as_echo_n "(cached) " >&6
3233 if test -n "$ac_ct_DLLTOOL"; then
3234 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3240 test -z "$as_dir" && as_dir=.
3241 for ac_exec_ext in '' $ac_executable_extensions; do
3242 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3243 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3253 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3254 if test -n "$ac_ct_DLLTOOL"; then
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
3256 $as_echo "$ac_ct_DLLTOOL" >&6; }
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3259 $as_echo "no" >&6; }
3262 if test "x$ac_ct_DLLTOOL" = x; then
3265 case $cross_compiling:$ac_tool_warned in
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3268 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3269 ac_tool_warned=yes ;;
3271 DLLTOOL=$ac_ct_DLLTOOL
3274 DLLTOOL="$ac_cv_prog_DLLTOOL"
3277 if test -n "$ac_tool_prefix"; then
3278 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
3279 set dummy ${ac_tool_prefix}objdump; ac_word=$2
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3281 $as_echo_n "checking for $ac_word... " >&6; }
3282 if ${ac_cv_prog_OBJDUMP+:} false; then :
3283 $as_echo_n "(cached) " >&6
3285 if test -n "$OBJDUMP"; then
3286 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
3288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3292 test -z "$as_dir" && as_dir=.
3293 for ac_exec_ext in '' $ac_executable_extensions; do
3294 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3295 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
3296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3305 OBJDUMP=$ac_cv_prog_OBJDUMP
3306 if test -n "$OBJDUMP"; then
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
3308 $as_echo "$OBJDUMP" >&6; }
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3311 $as_echo "no" >&6; }
3316 if test -z "$ac_cv_prog_OBJDUMP"; then
3317 ac_ct_OBJDUMP=$OBJDUMP
3318 # Extract the first word of "objdump", so it can be a program name with args.
3319 set dummy objdump; ac_word=$2
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3321 $as_echo_n "checking for $ac_word... " >&6; }
3322 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
3323 $as_echo_n "(cached) " >&6
3325 if test -n "$ac_ct_OBJDUMP"; then
3326 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
3328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3332 test -z "$as_dir" && as_dir=.
3333 for ac_exec_ext in '' $ac_executable_extensions; do
3334 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3335 ac_cv_prog_ac_ct_OBJDUMP="objdump"
3336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3345 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
3346 if test -n "$ac_ct_OBJDUMP"; then
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
3348 $as_echo "$ac_ct_OBJDUMP" >&6; }
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3351 $as_echo "no" >&6; }
3354 if test "x$ac_ct_OBJDUMP" = x; then
3357 case $cross_compiling:$ac_tool_warned in
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3360 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3361 ac_tool_warned=yes ;;
3363 OBJDUMP=$ac_ct_OBJDUMP
3366 OBJDUMP="$ac_cv_prog_OBJDUMP"
3372 test -z "$AS" && AS=as
3378 test -z "$DLLTOOL" && DLLTOOL=dlltool
3384 test -z "$OBJDUMP" && OBJDUMP=objdump
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3395 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3400 macro_version='2.4.2'
3401 macro_revision='1.3337'
3415 ltmain="$ac_aux_dir/ltmain.sh"
3417 # Backslashify metacharacters that are still active within
3418 # double-quoted strings.
3419 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3421 # Same as above, but do not quote variable references.
3422 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3424 # Sed substitution to delay expansion of an escaped shell variable in a
3425 # double_quote_subst'ed string.
3426 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3428 # Sed substitution to delay expansion of an escaped single quote.
3429 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3431 # Sed substitution to avoid accidental globbing in evaled expressions
3432 no_glob_subst='s/\*/\\\*/g'
3434 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3435 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3436 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3439 $as_echo_n "checking how to print strings... " >&6; }
3440 # Test print first, because it will be a builtin if present.
3441 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3442 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3444 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3447 # Use this function as a fallback that always works.
3448 func_fallback_echo ()
3450 eval 'cat <<_LTECHO_EOF
3454 ECHO='func_fallback_echo'
3457 # func_echo_all arg...
3458 # Invoke $ECHO with all args, space-separated.
3465 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3466 $as_echo "printf" >&6; } ;;
3467 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3468 $as_echo "print -r" >&6; } ;;
3469 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3470 $as_echo "cat" >&6; } ;;
3486 DEPDIR="${am__leading_dot}deps"
3488 ac_config_commands="$ac_config_commands depfiles"
3491 am_make=${MAKE-make}
3492 cat > confinc << 'END'
3494 @echo this is the am__doit target
3497 # If we don't find an include directive, just comment out the code.
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3499 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3503 # First try GNU make style include.
3504 echo "include confinc" > confmf
3505 # Ignore all kinds of additional output from 'make'.
3506 case `$am_make -s -f confmf 2> /dev/null` in #(
3507 *the\ am__doit\ target*)
3513 # Now try BSD make style include.
3514 if test "$am__include" = "#"; then
3515 echo '.include "confinc"' > confmf
3516 case `$am_make -s -f confmf 2> /dev/null` in #(
3517 *the\ am__doit\ target*)
3518 am__include=.include
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3527 $as_echo "$_am_result" >&6; }
3528 rm -f confinc confmf
3530 # Check whether --enable-dependency-tracking was given.
3531 if test "${enable_dependency_tracking+set}" = set; then :
3532 enableval=$enable_dependency_tracking;
3535 if test "x$enable_dependency_tracking" != xno; then
3536 am_depcomp="$ac_aux_dir/depcomp"
3540 if test "x$enable_dependency_tracking" != xno; then
3550 ac_cpp='$CPP $CPPFLAGS'
3551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3554 if test -n "$ac_tool_prefix"; then
3555 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3556 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3558 $as_echo_n "checking for $ac_word... " >&6; }
3559 if ${ac_cv_prog_CC+:} false; then :
3560 $as_echo_n "(cached) " >&6
3562 if test -n "$CC"; then
3563 ac_cv_prog_CC="$CC" # Let the user override the test.
3565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3569 test -z "$as_dir" && as_dir=.
3570 for ac_exec_ext in '' $ac_executable_extensions; do
3571 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3572 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3583 if test -n "$CC"; then
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3585 $as_echo "$CC" >&6; }
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3588 $as_echo "no" >&6; }
3593 if test -z "$ac_cv_prog_CC"; then
3595 # Extract the first word of "gcc", so it can be a program name with args.
3596 set dummy gcc; ac_word=$2
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3598 $as_echo_n "checking for $ac_word... " >&6; }
3599 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3600 $as_echo_n "(cached) " >&6
3602 if test -n "$ac_ct_CC"; then
3603 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3609 test -z "$as_dir" && as_dir=.
3610 for ac_exec_ext in '' $ac_executable_extensions; do
3611 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3612 ac_cv_prog_ac_ct_CC="gcc"
3613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3622 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3623 if test -n "$ac_ct_CC"; then
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3625 $as_echo "$ac_ct_CC" >&6; }
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3628 $as_echo "no" >&6; }
3631 if test "x$ac_ct_CC" = x; then
3634 case $cross_compiling:$ac_tool_warned in
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3637 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3638 ac_tool_warned=yes ;;
3646 if test -z "$CC"; then
3647 if test -n "$ac_tool_prefix"; then
3648 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3649 set dummy ${ac_tool_prefix}cc; ac_word=$2
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3651 $as_echo_n "checking for $ac_word... " >&6; }
3652 if ${ac_cv_prog_CC+:} false; then :
3653 $as_echo_n "(cached) " >&6
3655 if test -n "$CC"; then
3656 ac_cv_prog_CC="$CC" # Let the user override the test.
3658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3662 test -z "$as_dir" && as_dir=.
3663 for ac_exec_ext in '' $ac_executable_extensions; do
3664 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3665 ac_cv_prog_CC="${ac_tool_prefix}cc"
3666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3676 if test -n "$CC"; then
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3678 $as_echo "$CC" >&6; }
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3681 $as_echo "no" >&6; }
3687 if test -z "$CC"; then
3688 # Extract the first word of "cc", so it can be a program name with args.
3689 set dummy cc; ac_word=$2
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3691 $as_echo_n "checking for $ac_word... " >&6; }
3692 if ${ac_cv_prog_CC+:} false; then :
3693 $as_echo_n "(cached) " >&6
3695 if test -n "$CC"; then
3696 ac_cv_prog_CC="$CC" # Let the user override the test.
3699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3703 test -z "$as_dir" && as_dir=.
3704 for ac_exec_ext in '' $ac_executable_extensions; do
3705 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3706 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3707 ac_prog_rejected=yes
3711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3718 if test $ac_prog_rejected = yes; then
3719 # We found a bogon in the path, so make sure we never use it.
3720 set dummy $ac_cv_prog_CC
3722 if test $# != 0; then
3723 # We chose a different compiler from the bogus one.
3724 # However, it has the same basename, so the bogon will be chosen
3725 # first if we set CC to just the basename; use the full file name.
3727 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3733 if test -n "$CC"; then
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3735 $as_echo "$CC" >&6; }
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3738 $as_echo "no" >&6; }
3743 if test -z "$CC"; then
3744 if test -n "$ac_tool_prefix"; then
3745 for ac_prog in cl.exe
3747 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3748 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3750 $as_echo_n "checking for $ac_word... " >&6; }
3751 if ${ac_cv_prog_CC+:} false; then :
3752 $as_echo_n "(cached) " >&6
3754 if test -n "$CC"; then
3755 ac_cv_prog_CC="$CC" # Let the user override the test.
3757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3761 test -z "$as_dir" && as_dir=.
3762 for ac_exec_ext in '' $ac_executable_extensions; do
3763 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3764 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3775 if test -n "$CC"; then
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3777 $as_echo "$CC" >&6; }
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3780 $as_echo "no" >&6; }
3784 test -n "$CC" && break
3787 if test -z "$CC"; then
3789 for ac_prog in cl.exe
3791 # Extract the first word of "$ac_prog", so it can be a program name with args.
3792 set dummy $ac_prog; ac_word=$2
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3794 $as_echo_n "checking for $ac_word... " >&6; }
3795 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3796 $as_echo_n "(cached) " >&6
3798 if test -n "$ac_ct_CC"; then
3799 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3805 test -z "$as_dir" && as_dir=.
3806 for ac_exec_ext in '' $ac_executable_extensions; do
3807 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3808 ac_cv_prog_ac_ct_CC="$ac_prog"
3809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3818 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3819 if test -n "$ac_ct_CC"; then
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3821 $as_echo "$ac_ct_CC" >&6; }
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3824 $as_echo "no" >&6; }
3828 test -n "$ac_ct_CC" && break
3831 if test "x$ac_ct_CC" = x; then
3834 case $cross_compiling:$ac_tool_warned in
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3837 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3838 ac_tool_warned=yes ;;
3847 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3848 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3849 as_fn_error $? "no acceptable C compiler found in \$PATH
3850 See \`config.log' for more details" "$LINENO" 5; }
3852 # Provide some information about the compiler.
3853 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3856 for ac_option in --version -v -V -qversion; do
3857 { { ac_try="$ac_compiler $ac_option >&5"
3859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3860 *) ac_try_echo=$ac_try;;
3862 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3863 $as_echo "$ac_try_echo"; } >&5
3864 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3866 if test -s conftest.err; then
3868 ... rest of stderr output deleted ...
3869 10q' conftest.err >conftest.er1
3870 cat conftest.er1 >&5
3872 rm -f conftest.er1 conftest.err
3873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3874 test $ac_status = 0; }
3877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3878 /* end confdefs.h. */
3888 ac_clean_files_save=$ac_clean_files
3889 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3890 # Try to create an executable without -o first, disregard a.out.
3891 # It will help us diagnose broken compilers, and finding out an intuition
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3894 $as_echo_n "checking whether the C compiler works... " >&6; }
3895 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3897 # The possible output files:
3898 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3901 for ac_file in $ac_files
3904 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3905 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3910 if { { ac_try="$ac_link_default"
3912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3913 *) ac_try_echo=$ac_try;;
3915 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3916 $as_echo "$ac_try_echo"; } >&5
3917 (eval "$ac_link_default") 2>&5
3919 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3920 test $ac_status = 0; }; then :
3921 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3922 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3923 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3924 # so that the user can short-circuit this test for compilers unknown to
3926 for ac_file in $ac_files ''
3928 test -f "$ac_file" || continue
3930 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3933 # We found the default executable, but exeext='' is most
3937 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3939 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3941 # We set ac_cv_exeext here because the later test for it is not
3942 # safe: cross compilers may not add the suffix if given an `-o'
3943 # argument, so we may need to know it at that point already.
3944 # Even if this section looks crufty: it has the advantage of
3951 test "$ac_cv_exeext" = no && ac_cv_exeext=
3956 if test -z "$ac_file"; then :
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3958 $as_echo "no" >&6; }
3959 $as_echo "$as_me: failed program was:" >&5
3960 sed 's/^/| /' conftest.$ac_ext >&5
3962 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3963 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3964 as_fn_error 77 "C compiler cannot create executables
3965 See \`config.log' for more details" "$LINENO" 5; }
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3968 $as_echo "yes" >&6; }
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3971 $as_echo_n "checking for C compiler default output file name... " >&6; }
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3973 $as_echo "$ac_file" >&6; }
3974 ac_exeext=$ac_cv_exeext
3976 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3977 ac_clean_files=$ac_clean_files_save
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3979 $as_echo_n "checking for suffix of executables... " >&6; }
3980 if { { ac_try="$ac_link"
3982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3983 *) ac_try_echo=$ac_try;;
3985 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3986 $as_echo "$ac_try_echo"; } >&5
3987 (eval "$ac_link") 2>&5
3989 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3990 test $ac_status = 0; }; then :
3991 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3992 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3993 # work properly (i.e., refer to `conftest.exe'), while it won't with
3995 for ac_file in conftest.exe conftest conftest.*; do
3996 test -f "$ac_file" || continue
3998 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3999 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4005 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4006 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4007 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4008 See \`config.log' for more details" "$LINENO" 5; }
4010 rm -f conftest conftest$ac_cv_exeext
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4012 $as_echo "$ac_cv_exeext" >&6; }
4014 rm -f conftest.$ac_ext
4015 EXEEXT=$ac_cv_exeext
4017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4018 /* end confdefs.h. */
4023 FILE *f = fopen ("conftest.out", "w");
4024 return ferror (f) || fclose (f) != 0;
4030 ac_clean_files="$ac_clean_files conftest.out"
4031 # Check that the compiler produces executables we can run. If not, either
4032 # the compiler is broken, or we cross compile.
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4034 $as_echo_n "checking whether we are cross compiling... " >&6; }
4035 if test "$cross_compiling" != yes; then
4036 { { ac_try="$ac_link"
4038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4039 *) ac_try_echo=$ac_try;;
4041 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4042 $as_echo "$ac_try_echo"; } >&5
4043 (eval "$ac_link") 2>&5
4045 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4046 test $ac_status = 0; }
4047 if { ac_try='./conftest$ac_cv_exeext'
4048 { { case "(($ac_try" in
4049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4050 *) ac_try_echo=$ac_try;;
4052 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4053 $as_echo "$ac_try_echo"; } >&5
4054 (eval "$ac_try") 2>&5
4056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4057 test $ac_status = 0; }; }; then
4060 if test "$cross_compiling" = maybe; then
4063 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4064 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4065 as_fn_error $? "cannot run C compiled programs.
4066 If you meant to cross compile, use \`--host'.
4067 See \`config.log' for more details" "$LINENO" 5; }
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4072 $as_echo "$cross_compiling" >&6; }
4074 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4075 ac_clean_files=$ac_clean_files_save
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4077 $as_echo_n "checking for suffix of object files... " >&6; }
4078 if ${ac_cv_objext+:} false; then :
4079 $as_echo_n "(cached) " >&6
4081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4082 /* end confdefs.h. */
4092 rm -f conftest.o conftest.obj
4093 if { { ac_try="$ac_compile"
4095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4096 *) ac_try_echo=$ac_try;;
4098 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4099 $as_echo "$ac_try_echo"; } >&5
4100 (eval "$ac_compile") 2>&5
4102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4103 test $ac_status = 0; }; then :
4104 for ac_file in conftest.o conftest.obj conftest.*; do
4105 test -f "$ac_file" || continue;
4107 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4108 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4113 $as_echo "$as_me: failed program was:" >&5
4114 sed 's/^/| /' conftest.$ac_ext >&5
4116 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4117 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4118 as_fn_error $? "cannot compute suffix of object files: cannot compile
4119 See \`config.log' for more details" "$LINENO" 5; }
4121 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4124 $as_echo "$ac_cv_objext" >&6; }
4125 OBJEXT=$ac_cv_objext
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4128 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4129 if ${ac_cv_c_compiler_gnu+:} false; then :
4130 $as_echo_n "(cached) " >&6
4132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4133 /* end confdefs.h. */
4146 if ac_fn_c_try_compile "$LINENO"; then :
4151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4152 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4156 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4157 if test $ac_compiler_gnu = yes; then
4162 ac_test_CFLAGS=${CFLAGS+set}
4163 ac_save_CFLAGS=$CFLAGS
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4165 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4166 if ${ac_cv_prog_cc_g+:} false; then :
4167 $as_echo_n "(cached) " >&6
4169 ac_save_c_werror_flag=$ac_c_werror_flag
4170 ac_c_werror_flag=yes
4173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4174 /* end confdefs.h. */
4184 if ac_fn_c_try_compile "$LINENO"; then :
4188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4189 /* end confdefs.h. */
4199 if ac_fn_c_try_compile "$LINENO"; then :
4202 ac_c_werror_flag=$ac_save_c_werror_flag
4204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4205 /* end confdefs.h. */
4215 if ac_fn_c_try_compile "$LINENO"; then :
4218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4223 ac_c_werror_flag=$ac_save_c_werror_flag
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4226 $as_echo "$ac_cv_prog_cc_g" >&6; }
4227 if test "$ac_test_CFLAGS" = set; then
4228 CFLAGS=$ac_save_CFLAGS
4229 elif test $ac_cv_prog_cc_g = yes; then
4230 if test "$GCC" = yes; then
4236 if test "$GCC" = yes; then
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4243 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4244 if ${ac_cv_prog_cc_c89+:} false; then :
4245 $as_echo_n "(cached) " >&6
4247 ac_cv_prog_cc_c89=no
4249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4250 /* end confdefs.h. */
4254 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4255 struct buf { int x; };
4256 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4257 static char *e (p, i)
4263 static char *f (char * (*g) (char **, int), char **p, ...)
4268 s = g (p, va_arg (v,int));
4273 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4274 function prototypes and stuff, but not '\xHH' hex character constants.
4275 These don't provoke an error unfortunately, instead are silently treated
4276 as 'x'. The following induces an error, until -std is added to get
4277 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4278 array size at least. It's necessary to write '\x00'==0 to get something
4279 that's true only with -std. */
4280 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4282 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4283 inside strings and character constants. */
4285 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4287 int test (int i, double x);
4288 struct s1 {int (*f) (int a);};
4289 struct s2 {int (*f) (double a);};
4290 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4296 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4301 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4302 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4304 CC="$ac_save_CC $ac_arg"
4305 if ac_fn_c_try_compile "$LINENO"; then :
4306 ac_cv_prog_cc_c89=$ac_arg
4308 rm -f core conftest.err conftest.$ac_objext
4309 test "x$ac_cv_prog_cc_c89" != "xno" && break
4311 rm -f conftest.$ac_ext
4316 case "x$ac_cv_prog_cc_c89" in
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4319 $as_echo "none needed" >&6; } ;;
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4322 $as_echo "unsupported" >&6; } ;;
4324 CC="$CC $ac_cv_prog_cc_c89"
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4326 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4328 if test "x$ac_cv_prog_cc_c89" != xno; then :
4333 ac_cpp='$CPP $CPPFLAGS'
4334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4338 depcc="$CC" am_compiler_list=
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4341 $as_echo_n "checking dependency style of $depcc... " >&6; }
4342 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4343 $as_echo_n "(cached) " >&6
4345 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4346 # We make a subdir and do the tests there. Otherwise we can end up
4347 # making bogus files that we don't know about and never remove. For
4348 # instance it was reported that on HP-UX the gcc test will end up
4349 # making a dummy file named 'D' -- because '-MD' means "put the output
4353 # Copy depcomp to subdir because otherwise we won't find it if we're
4354 # using a relative directory.
4355 cp "$am_depcomp" conftest.dir
4357 # We will build objects and dependencies in a subdirectory because
4358 # it helps to detect inapplicable dependency modes. For instance
4359 # both Tru64's cc and ICC support -MD to output dependencies as a
4360 # side effect of compilation, but ICC will put the dependencies in
4361 # the current directory while Tru64 will put them in the object
4365 am_cv_CC_dependencies_compiler_type=none
4366 if test "$am_compiler_list" = ""; then
4367 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4370 case " $depcc " in #(
4371 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4374 for depmode in $am_compiler_list; do
4375 # Setup a source with many dependencies, because some compilers
4376 # like to wrap large dependency lists on column 80 (with \), and
4377 # we should not choose a depcomp mode which is confused by this.
4379 # We need to recreate these files for each test, as the compiler may
4380 # overwrite some of them when testing with obscure command lines.
4381 # This happens at least with the AIX C compiler.
4383 for i in 1 2 3 4 5 6; do
4384 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4385 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4386 # Solaris 10 /bin/sh.
4387 echo '/* dummy */' > sub/conftst$i.h
4389 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4391 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4392 # mode. It turns out that the SunPro C++ compiler does not properly
4393 # handle '-M -o', and we need to detect this. Also, some Intel
4394 # versions had trouble with output in subdirs.
4395 am__obj=sub/conftest.${OBJEXT-o}
4396 am__minus_obj="-o $am__obj"
4399 # This depmode causes a compiler race in universal mode.
4400 test "$am__universal" = false || continue
4403 # After this tag, mechanisms are not by side-effect, so they'll
4404 # only be used when explicitly requested.
4405 if test "x$enable_dependency_tracking" = xyes; then
4411 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4412 # This compiler won't grok '-c -o', but also, the minuso test has
4413 # not run yet. These depmodes are late enough in the game, and
4414 # so weak that their functioning should not be impacted.
4415 am__obj=conftest.${OBJEXT-o}
4420 if depmode=$depmode \
4421 source=sub/conftest.c object=$am__obj \
4422 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4423 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4424 >/dev/null 2>conftest.err &&
4425 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4426 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4427 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4428 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4429 # icc doesn't choke on unknown options, it will just issue warnings
4430 # or remarks (even with -Werror). So we grep stderr for any message
4431 # that says an option was ignored or not supported.
4432 # When given -MP, icc 7.0 and 7.1 complain thusly:
4433 # icc: Command line warning: ignoring option '-M'; no argument required
4434 # The diagnosis changed in icc 8.0:
4435 # icc: Command line remark: option '-MP' not supported
4436 if (grep 'ignoring option' conftest.err ||
4437 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4438 am_cv_CC_dependencies_compiler_type=$depmode
4447 am_cv_CC_dependencies_compiler_type=none
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4452 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4453 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4456 test "x$enable_dependency_tracking" != xno \
4457 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4459 am__fastdepCC_FALSE='#'
4461 am__fastdepCC_TRUE='#'
4462 am__fastdepCC_FALSE=
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4467 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4468 if ${ac_cv_path_SED+:} false; then :
4469 $as_echo_n "(cached) " >&6
4471 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4472 for ac_i in 1 2 3 4 5 6 7; do
4473 ac_script="$ac_script$as_nl$ac_script"
4475 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4476 { ac_script=; unset ac_script;}
4477 if test -z "$SED"; then
4478 ac_path_SED_found=false
4479 # Loop through the user's path and test for each of PROGNAME-LIST
4480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4484 test -z "$as_dir" && as_dir=.
4485 for ac_prog in sed gsed; do
4486 for ac_exec_ext in '' $ac_executable_extensions; do
4487 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4488 as_fn_executable_p "$ac_path_SED" || continue
4489 # Check for GNU ac_path_SED and select it if it is found.
4490 # Check for GNU $ac_path_SED
4491 case `"$ac_path_SED" --version 2>&1` in
4493 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4496 $as_echo_n 0123456789 >"conftest.in"
4499 cat "conftest.in" "conftest.in" >"conftest.tmp"
4500 mv "conftest.tmp" "conftest.in"
4501 cp "conftest.in" "conftest.nl"
4502 $as_echo '' >> "conftest.nl"
4503 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4504 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4505 as_fn_arith $ac_count + 1 && ac_count=$as_val
4506 if test $ac_count -gt ${ac_path_SED_max-0}; then
4507 # Best one so far, save it but keep looking for a better one
4508 ac_cv_path_SED="$ac_path_SED"
4509 ac_path_SED_max=$ac_count
4511 # 10*(2^10) chars as input seems more than enough
4512 test $ac_count -gt 10 && break
4514 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4517 $ac_path_SED_found && break 3
4522 if test -z "$ac_cv_path_SED"; then
4523 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4531 $as_echo "$ac_cv_path_SED" >&6; }
4532 SED="$ac_cv_path_SED"
4535 test -z "$SED" && SED=sed
4536 Xsed="$SED -e 1s/^X//"
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4549 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4550 if ${ac_cv_path_GREP+:} false; then :
4551 $as_echo_n "(cached) " >&6
4553 if test -z "$GREP"; then
4554 ac_path_GREP_found=false
4555 # Loop through the user's path and test for each of PROGNAME-LIST
4556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4557 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4560 test -z "$as_dir" && as_dir=.
4561 for ac_prog in grep ggrep; do
4562 for ac_exec_ext in '' $ac_executable_extensions; do
4563 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4564 as_fn_executable_p "$ac_path_GREP" || continue
4565 # Check for GNU ac_path_GREP and select it if it is found.
4566 # Check for GNU $ac_path_GREP
4567 case `"$ac_path_GREP" --version 2>&1` in
4569 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4572 $as_echo_n 0123456789 >"conftest.in"
4575 cat "conftest.in" "conftest.in" >"conftest.tmp"
4576 mv "conftest.tmp" "conftest.in"
4577 cp "conftest.in" "conftest.nl"
4578 $as_echo 'GREP' >> "conftest.nl"
4579 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4580 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4581 as_fn_arith $ac_count + 1 && ac_count=$as_val
4582 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4583 # Best one so far, save it but keep looking for a better one
4584 ac_cv_path_GREP="$ac_path_GREP"
4585 ac_path_GREP_max=$ac_count
4587 # 10*(2^10) chars as input seems more than enough
4588 test $ac_count -gt 10 && break
4590 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4593 $ac_path_GREP_found && break 3
4598 if test -z "$ac_cv_path_GREP"; then
4599 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4602 ac_cv_path_GREP=$GREP
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4607 $as_echo "$ac_cv_path_GREP" >&6; }
4608 GREP="$ac_cv_path_GREP"
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4612 $as_echo_n "checking for egrep... " >&6; }
4613 if ${ac_cv_path_EGREP+:} false; then :
4614 $as_echo_n "(cached) " >&6
4616 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4617 then ac_cv_path_EGREP="$GREP -E"
4619 if test -z "$EGREP"; then
4620 ac_path_EGREP_found=false
4621 # Loop through the user's path and test for each of PROGNAME-LIST
4622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4623 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4626 test -z "$as_dir" && as_dir=.
4627 for ac_prog in egrep; do
4628 for ac_exec_ext in '' $ac_executable_extensions; do
4629 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4630 as_fn_executable_p "$ac_path_EGREP" || continue
4631 # Check for GNU ac_path_EGREP and select it if it is found.
4632 # Check for GNU $ac_path_EGREP
4633 case `"$ac_path_EGREP" --version 2>&1` in
4635 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4638 $as_echo_n 0123456789 >"conftest.in"
4641 cat "conftest.in" "conftest.in" >"conftest.tmp"
4642 mv "conftest.tmp" "conftest.in"
4643 cp "conftest.in" "conftest.nl"
4644 $as_echo 'EGREP' >> "conftest.nl"
4645 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4646 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4647 as_fn_arith $ac_count + 1 && ac_count=$as_val
4648 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4649 # Best one so far, save it but keep looking for a better one
4650 ac_cv_path_EGREP="$ac_path_EGREP"
4651 ac_path_EGREP_max=$ac_count
4653 # 10*(2^10) chars as input seems more than enough
4654 test $ac_count -gt 10 && break
4656 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4659 $ac_path_EGREP_found && break 3
4664 if test -z "$ac_cv_path_EGREP"; then
4665 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4668 ac_cv_path_EGREP=$EGREP
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4674 $as_echo "$ac_cv_path_EGREP" >&6; }
4675 EGREP="$ac_cv_path_EGREP"
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4679 $as_echo_n "checking for fgrep... " >&6; }
4680 if ${ac_cv_path_FGREP+:} false; then :
4681 $as_echo_n "(cached) " >&6
4683 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4684 then ac_cv_path_FGREP="$GREP -F"
4686 if test -z "$FGREP"; then
4687 ac_path_FGREP_found=false
4688 # Loop through the user's path and test for each of PROGNAME-LIST
4689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4690 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4693 test -z "$as_dir" && as_dir=.
4694 for ac_prog in fgrep; do
4695 for ac_exec_ext in '' $ac_executable_extensions; do
4696 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4697 as_fn_executable_p "$ac_path_FGREP" || continue
4698 # Check for GNU ac_path_FGREP and select it if it is found.
4699 # Check for GNU $ac_path_FGREP
4700 case `"$ac_path_FGREP" --version 2>&1` in
4702 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4705 $as_echo_n 0123456789 >"conftest.in"
4708 cat "conftest.in" "conftest.in" >"conftest.tmp"
4709 mv "conftest.tmp" "conftest.in"
4710 cp "conftest.in" "conftest.nl"
4711 $as_echo 'FGREP' >> "conftest.nl"
4712 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4713 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4714 as_fn_arith $ac_count + 1 && ac_count=$as_val
4715 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4716 # Best one so far, save it but keep looking for a better one
4717 ac_cv_path_FGREP="$ac_path_FGREP"
4718 ac_path_FGREP_max=$ac_count
4720 # 10*(2^10) chars as input seems more than enough
4721 test $ac_count -gt 10 && break
4723 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4726 $ac_path_FGREP_found && break 3
4731 if test -z "$ac_cv_path_FGREP"; then
4732 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4735 ac_cv_path_FGREP=$FGREP
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4741 $as_echo "$ac_cv_path_FGREP" >&6; }
4742 FGREP="$ac_cv_path_FGREP"
4745 test -z "$GREP" && GREP=grep
4765 # Check whether --with-gnu-ld was given.
4766 if test "${with_gnu_ld+set}" = set; then :
4767 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4773 if test "$GCC" = yes; then
4774 # Check if gcc -print-prog-name=ld gives a path.
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4776 $as_echo_n "checking for ld used by $CC... " >&6; }
4779 # gcc leaves a trailing carriage return which upsets mingw
4780 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4782 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4785 # Accept absolute paths.
4787 re_direlt='/[^/][^/]*/\.\./'
4788 # Canonicalize the pathname of ld
4789 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4790 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4791 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4793 test -z "$LD" && LD="$ac_prog"
4796 # If it fails, then pretend we aren't using GCC.
4800 # If it is relative, then search for the first ld in PATH.
4804 elif test "$with_gnu_ld" = yes; then
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4806 $as_echo_n "checking for GNU ld... " >&6; }
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4809 $as_echo_n "checking for non-GNU ld... " >&6; }
4811 if ${lt_cv_path_LD+:} false; then :
4812 $as_echo_n "(cached) " >&6
4814 if test -z "$LD"; then
4815 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4816 for ac_dir in $PATH; do
4818 test -z "$ac_dir" && ac_dir=.
4819 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4820 lt_cv_path_LD="$ac_dir/$ac_prog"
4821 # Check to see if the program is GNU ld. I'd rather use --version,
4822 # but apparently some variants of GNU ld only accept -v.
4823 # Break only if it was the GNU/non-GNU ld that we prefer.
4824 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4825 *GNU* | *'with BFD'*)
4826 test "$with_gnu_ld" != no && break
4829 test "$with_gnu_ld" != yes && break
4836 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4841 if test -n "$LD"; then
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4843 $as_echo "$LD" >&6; }
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4846 $as_echo "no" >&6; }
4848 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4850 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4851 if ${lt_cv_prog_gnu_ld+:} false; then :
4852 $as_echo_n "(cached) " >&6
4854 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4855 case `$LD -v 2>&1 </dev/null` in
4856 *GNU* | *'with BFD'*)
4857 lt_cv_prog_gnu_ld=yes
4860 lt_cv_prog_gnu_ld=no
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4865 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4866 with_gnu_ld=$lt_cv_prog_gnu_ld
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4877 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4878 if ${lt_cv_path_NM+:} false; then :
4879 $as_echo_n "(cached) " >&6
4881 if test -n "$NM"; then
4882 # Let the user override the test.
4885 lt_nm_to_check="${ac_tool_prefix}nm"
4886 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4887 lt_nm_to_check="$lt_nm_to_check nm"
4889 for lt_tmp_nm in $lt_nm_to_check; do
4890 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4891 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4893 test -z "$ac_dir" && ac_dir=.
4894 tmp_nm="$ac_dir/$lt_tmp_nm"
4895 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4896 # Check to see if the nm accepts a BSD-compat flag.
4897 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4898 # nm: unknown option "B" ignored
4899 # Tru64's nm complains that /dev/null is an invalid object file
4900 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4901 */dev/null* | *'Invalid file or object type'*)
4902 lt_cv_path_NM="$tmp_nm -B"
4906 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4908 lt_cv_path_NM="$tmp_nm -p"
4912 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4913 continue # so that we can try to find one that supports BSD flags
4922 : ${lt_cv_path_NM=no}
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4926 $as_echo "$lt_cv_path_NM" >&6; }
4927 if test "$lt_cv_path_NM" != "no"; then
4930 # Didn't find any BSD compatible name lister, look for dumpbin.
4931 if test -n "$DUMPBIN"; then :
4932 # Let the user override the test.
4934 if test -n "$ac_tool_prefix"; then
4935 for ac_prog in dumpbin "link -dump"
4937 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4938 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4940 $as_echo_n "checking for $ac_word... " >&6; }
4941 if ${ac_cv_prog_DUMPBIN+:} false; then :
4942 $as_echo_n "(cached) " >&6
4944 if test -n "$DUMPBIN"; then
4945 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4951 test -z "$as_dir" && as_dir=.
4952 for ac_exec_ext in '' $ac_executable_extensions; do
4953 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4954 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4964 DUMPBIN=$ac_cv_prog_DUMPBIN
4965 if test -n "$DUMPBIN"; then
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4967 $as_echo "$DUMPBIN" >&6; }
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4970 $as_echo "no" >&6; }
4974 test -n "$DUMPBIN" && break
4977 if test -z "$DUMPBIN"; then
4978 ac_ct_DUMPBIN=$DUMPBIN
4979 for ac_prog in dumpbin "link -dump"
4981 # Extract the first word of "$ac_prog", so it can be a program name with args.
4982 set dummy $ac_prog; ac_word=$2
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4984 $as_echo_n "checking for $ac_word... " >&6; }
4985 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4986 $as_echo_n "(cached) " >&6
4988 if test -n "$ac_ct_DUMPBIN"; then
4989 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4995 test -z "$as_dir" && as_dir=.
4996 for ac_exec_ext in '' $ac_executable_extensions; do
4997 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4998 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5008 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5009 if test -n "$ac_ct_DUMPBIN"; then
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5011 $as_echo "$ac_ct_DUMPBIN" >&6; }
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5014 $as_echo "no" >&6; }
5018 test -n "$ac_ct_DUMPBIN" && break
5021 if test "x$ac_ct_DUMPBIN" = x; then
5024 case $cross_compiling:$ac_tool_warned in
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5027 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5028 ac_tool_warned=yes ;;
5030 DUMPBIN=$ac_ct_DUMPBIN
5034 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5036 DUMPBIN="$DUMPBIN -symbols"
5044 if test "$DUMPBIN" != ":"; then
5048 test -z "$NM" && NM=nm
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5056 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5057 if ${lt_cv_nm_interface+:} false; then :
5058 $as_echo_n "(cached) " >&6
5060 lt_cv_nm_interface="BSD nm"
5061 echo "int some_variable = 0;" > conftest.$ac_ext
5062 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5063 (eval "$ac_compile" 2>conftest.err)
5064 cat conftest.err >&5
5065 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5066 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5067 cat conftest.err >&5
5068 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5069 cat conftest.out >&5
5070 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5071 lt_cv_nm_interface="MS dumpbin"
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5076 $as_echo "$lt_cv_nm_interface" >&6; }
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5079 $as_echo_n "checking whether ln -s works... " >&6; }
5081 if test "$LN_S" = "ln -s"; then
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5083 $as_echo "yes" >&6; }
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5086 $as_echo "no, using $LN_S" >&6; }
5089 # find the maximum length of command line arguments
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5091 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5092 if ${lt_cv_sys_max_cmd_len+:} false; then :
5093 $as_echo_n "(cached) " >&6
5100 # On DJGPP, this test can blow up pretty badly due to problems in libc
5101 # (any single argument exceeding 2000 bytes causes a buffer overrun
5102 # during glob expansion). Even if it were fixed, the result of this
5103 # check would be larger than it should be.
5104 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5108 # Under GNU Hurd, this test is not required because there is
5109 # no limit to the length of command line arguments.
5110 # Libtool will interpret -1 as no limit whatsoever
5111 lt_cv_sys_max_cmd_len=-1;
5114 cygwin* | mingw* | cegcc*)
5115 # On Win9x/ME, this test blows up -- it succeeds, but takes
5116 # about 5 minutes as the teststring grows exponentially.
5117 # Worse, since 9x/ME are not pre-emptively multitasking,
5118 # you end up with a "frozen" computer, even though with patience
5119 # the test eventually succeeds (with a max line length of 256k).
5120 # Instead, let's just punt: use the minimum linelength reported by
5121 # all of the supported platforms: 8192 (on NT/2K/XP).
5122 lt_cv_sys_max_cmd_len=8192;
5126 # On MiNT this can take a long time and run out of memory.
5127 lt_cv_sys_max_cmd_len=8192;
5131 # On AmigaOS with pdksh, this test takes hours, literally.
5132 # So we just punt and use a minimum line length of 8192.
5133 lt_cv_sys_max_cmd_len=8192;
5136 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5137 # This has been around since 386BSD, at least. Likely further.
5138 if test -x /sbin/sysctl; then
5139 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5140 elif test -x /usr/sbin/sysctl; then
5141 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5143 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5145 # And add a safety zone
5146 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5147 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5151 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5152 lt_cv_sys_max_cmd_len=196608
5156 # The test takes a long time on OS/2.
5157 lt_cv_sys_max_cmd_len=8192
5161 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5162 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5163 # nice to cause kernel panics so lets avoid the loop below.
5164 # First set a reasonable default.
5165 lt_cv_sys_max_cmd_len=16384
5167 if test -x /sbin/sysconfig; then
5168 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5169 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5174 lt_cv_sys_max_cmd_len=102400
5176 sysv5* | sco5v6* | sysv4.2uw2*)
5177 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5178 if test -n "$kargmax"; then
5179 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5181 lt_cv_sys_max_cmd_len=32768
5185 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5186 if test -n "$lt_cv_sys_max_cmd_len"; then
5187 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5188 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5190 # Make teststring a little bigger before we do anything with it.
5191 # a 1K string should be a reasonable start.
5192 for i in 1 2 3 4 5 6 7 8 ; do
5193 teststring=$teststring$teststring
5195 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5196 # If test is not a shell built-in, we'll probably end up computing a
5197 # maximum length that is only half of the actual maximum length, but
5199 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5200 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5201 test $i != 17 # 1/2 MB should be enough
5204 teststring=$teststring$teststring
5206 # Only check the string length outside the loop.
5207 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5209 # Add a significant safety factor because C++ compilers can tack on
5210 # massive amounts of additional arguments before passing them to the
5211 # linker. It appears as though 1/2 is a usable value.
5212 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5219 if test -n $lt_cv_sys_max_cmd_len ; then
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5221 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5224 $as_echo "none" >&6; }
5226 max_cmd_len=$lt_cv_sys_max_cmd_len
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5238 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5239 # Try some XSI features
5242 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5244 && eval 'test $(( 1 + 1 )) -eq 2 \
5245 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5248 $as_echo "$xsi_shell" >&6; }
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5252 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5254 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5256 && lt_shell_append=yes
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5258 $as_echo "$lt_shell_append" >&6; }
5261 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5271 # test EBCDIC or ASCII
5272 case `echo X|tr X '\101'` in
5273 A) # ASCII based system
5274 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5275 lt_SP2NL='tr \040 \012'
5276 lt_NL2SP='tr \015\012 \040\040'
5278 *) # EBCDIC based system
5279 lt_SP2NL='tr \100 \n'
5280 lt_NL2SP='tr \r\n \100\100'
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5293 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5294 if ${lt_cv_to_host_file_cmd+:} false; then :
5295 $as_echo_n "(cached) " >&6
5300 *-*-mingw* ) # actually msys
5301 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5304 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5306 * ) # otherwise, assume *nix
5307 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5313 *-*-mingw* ) # actually msys
5314 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5317 lt_cv_to_host_file_cmd=func_convert_file_noop
5319 * ) # otherwise, assume *nix
5320 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5324 * ) # unhandled hosts (and "normal" native builds)
5325 lt_cv_to_host_file_cmd=func_convert_file_noop
5331 to_host_file_cmd=$lt_cv_to_host_file_cmd
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5333 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5340 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5341 if ${lt_cv_to_tool_file_cmd+:} false; then :
5342 $as_echo_n "(cached) " >&6
5344 #assume ordinary cross tools, or native build.
5345 lt_cv_to_tool_file_cmd=func_convert_file_noop
5349 *-*-mingw* ) # actually msys
5350 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5358 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5360 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5367 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5368 if ${lt_cv_ld_reload_flag+:} false; then :
5369 $as_echo_n "(cached) " >&6
5371 lt_cv_ld_reload_flag='-r'
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5374 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5375 reload_flag=$lt_cv_ld_reload_flag
5376 case $reload_flag in
5378 *) reload_flag=" $reload_flag" ;;
5380 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5382 cygwin* | mingw* | pw32* | cegcc*)
5383 if test "$GCC" != yes; then
5388 if test "$GCC" = yes; then
5389 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5391 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5404 if test -n "$ac_tool_prefix"; then
5405 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5406 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5408 $as_echo_n "checking for $ac_word... " >&6; }
5409 if ${ac_cv_prog_OBJDUMP+:} false; then :
5410 $as_echo_n "(cached) " >&6
5412 if test -n "$OBJDUMP"; then
5413 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5419 test -z "$as_dir" && as_dir=.
5420 for ac_exec_ext in '' $ac_executable_extensions; do
5421 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5422 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5432 OBJDUMP=$ac_cv_prog_OBJDUMP
5433 if test -n "$OBJDUMP"; then
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5435 $as_echo "$OBJDUMP" >&6; }
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5438 $as_echo "no" >&6; }
5443 if test -z "$ac_cv_prog_OBJDUMP"; then
5444 ac_ct_OBJDUMP=$OBJDUMP
5445 # Extract the first word of "objdump", so it can be a program name with args.
5446 set dummy objdump; ac_word=$2
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5448 $as_echo_n "checking for $ac_word... " >&6; }
5449 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5450 $as_echo_n "(cached) " >&6
5452 if test -n "$ac_ct_OBJDUMP"; then
5453 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5459 test -z "$as_dir" && as_dir=.
5460 for ac_exec_ext in '' $ac_executable_extensions; do
5461 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5462 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5472 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5473 if test -n "$ac_ct_OBJDUMP"; then
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5475 $as_echo "$ac_ct_OBJDUMP" >&6; }
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5478 $as_echo "no" >&6; }
5481 if test "x$ac_ct_OBJDUMP" = x; then
5484 case $cross_compiling:$ac_tool_warned in
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5487 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5488 ac_tool_warned=yes ;;
5490 OBJDUMP=$ac_ct_OBJDUMP
5493 OBJDUMP="$ac_cv_prog_OBJDUMP"
5496 test -z "$OBJDUMP" && OBJDUMP=objdump
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5504 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5505 if ${lt_cv_deplibs_check_method+:} false; then :
5506 $as_echo_n "(cached) " >&6
5508 lt_cv_file_magic_cmd='$MAGIC_CMD'
5509 lt_cv_file_magic_test_file=
5510 lt_cv_deplibs_check_method='unknown'
5511 # Need to set the preceding variable on all platforms that support
5512 # interlibrary dependencies.
5513 # 'none' -- dependencies not supported.
5514 # `unknown' -- same as none, but documents that we really don't know.
5515 # 'pass_all' -- all dependencies passed with no checks.
5516 # 'test_compile' -- check by making test program.
5517 # 'file_magic [[regex]]' -- check by looking for files in library path
5518 # which responds to the $file_magic_cmd with a given extended regex.
5519 # If you have `file' or equivalent on your system and you're not sure
5520 # whether `pass_all' will *always* work, you probably want this one.
5524 lt_cv_deplibs_check_method=pass_all
5528 lt_cv_deplibs_check_method=pass_all
5532 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5533 lt_cv_file_magic_cmd='/usr/bin/file -L'
5534 lt_cv_file_magic_test_file=/shlib/libc.so
5538 # func_win32_libid is a shell function defined in ltmain.sh
5539 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5540 lt_cv_file_magic_cmd='func_win32_libid'
5544 # Base MSYS/MinGW do not provide the 'file' command needed by
5545 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5546 # unless we find 'file', for example because we are cross-compiling.
5547 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5548 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5549 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5550 lt_cv_file_magic_cmd='func_win32_libid'
5552 # Keep this pattern in sync with the one in func_win32_libid.
5553 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5554 lt_cv_file_magic_cmd='$OBJDUMP -f'
5559 # use the weaker test based on 'objdump'. See mingw*.
5560 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5561 lt_cv_file_magic_cmd='$OBJDUMP -f'
5564 darwin* | rhapsody*)
5565 lt_cv_deplibs_check_method=pass_all
5568 freebsd* | dragonfly*)
5569 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5572 # Not sure whether the presence of OpenBSD here was a mistake.
5573 # Let's accept both of them until this is cleared up.
5574 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5575 lt_cv_file_magic_cmd=/usr/bin/file
5576 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5580 lt_cv_deplibs_check_method=pass_all
5585 lt_cv_deplibs_check_method=pass_all
5589 lt_cv_deplibs_check_method=pass_all
5592 hpux10.20* | hpux11*)
5593 lt_cv_file_magic_cmd=/usr/bin/file
5596 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5597 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5600 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]'
5601 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5604 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5605 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5611 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5612 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5615 irix5* | irix6* | nonstopux*)
5617 *-32|*"-32 ") libmagic=32-bit;;
5618 *-n32|*"-n32 ") libmagic=N32;;
5619 *-64|*"-64 ") libmagic=64-bit;;
5620 *) libmagic=never-match;;
5622 lt_cv_deplibs_check_method=pass_all
5625 # This must be glibc/ELF.
5626 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5627 lt_cv_deplibs_check_method=pass_all
5631 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5632 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5634 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5639 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5640 lt_cv_file_magic_cmd=/usr/bin/file
5641 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5645 lt_cv_deplibs_check_method=pass_all
5649 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5650 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5652 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5656 osf3* | osf4* | osf5*)
5657 lt_cv_deplibs_check_method=pass_all
5661 lt_cv_deplibs_check_method=pass_all
5665 lt_cv_deplibs_check_method=pass_all
5668 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5669 lt_cv_deplibs_check_method=pass_all
5673 case $host_vendor in
5675 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]'
5676 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5679 lt_cv_deplibs_check_method=pass_all
5682 lt_cv_file_magic_cmd='/bin/file'
5683 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5686 lt_cv_file_magic_cmd='/bin/file'
5687 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5688 lt_cv_file_magic_test_file=/lib/libc.so
5691 lt_cv_deplibs_check_method=pass_all
5694 lt_cv_deplibs_check_method=pass_all
5700 lt_cv_deplibs_check_method=pass_all
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5706 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5710 if test "$build" = "$host"; then
5713 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5716 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5722 file_magic_cmd=$lt_cv_file_magic_cmd
5723 deplibs_check_method=$lt_cv_deplibs_check_method
5724 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5747 if test -n "$ac_tool_prefix"; then
5748 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5749 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5751 $as_echo_n "checking for $ac_word... " >&6; }
5752 if ${ac_cv_prog_DLLTOOL+:} false; then :
5753 $as_echo_n "(cached) " >&6
5755 if test -n "$DLLTOOL"; then
5756 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5762 test -z "$as_dir" && as_dir=.
5763 for ac_exec_ext in '' $ac_executable_extensions; do
5764 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5765 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5775 DLLTOOL=$ac_cv_prog_DLLTOOL
5776 if test -n "$DLLTOOL"; then
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5778 $as_echo "$DLLTOOL" >&6; }
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5781 $as_echo "no" >&6; }
5786 if test -z "$ac_cv_prog_DLLTOOL"; then
5787 ac_ct_DLLTOOL=$DLLTOOL
5788 # Extract the first word of "dlltool", so it can be a program name with args.
5789 set dummy dlltool; ac_word=$2
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5791 $as_echo_n "checking for $ac_word... " >&6; }
5792 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5793 $as_echo_n "(cached) " >&6
5795 if test -n "$ac_ct_DLLTOOL"; then
5796 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5802 test -z "$as_dir" && as_dir=.
5803 for ac_exec_ext in '' $ac_executable_extensions; do
5804 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5805 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5815 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5816 if test -n "$ac_ct_DLLTOOL"; then
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5818 $as_echo "$ac_ct_DLLTOOL" >&6; }
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5821 $as_echo "no" >&6; }
5824 if test "x$ac_ct_DLLTOOL" = x; then
5827 case $cross_compiling:$ac_tool_warned in
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5830 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5831 ac_tool_warned=yes ;;
5833 DLLTOOL=$ac_ct_DLLTOOL
5836 DLLTOOL="$ac_cv_prog_DLLTOOL"
5839 test -z "$DLLTOOL" && DLLTOOL=dlltool
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5848 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5849 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5850 $as_echo_n "(cached) " >&6
5852 lt_cv_sharedlib_from_linklib_cmd='unknown'
5855 cygwin* | mingw* | pw32* | cegcc*)
5856 # two different shell functions defined in ltmain.sh
5857 # decide which to use based on capabilities of $DLLTOOL
5858 case `$DLLTOOL --help 2>&1` in
5859 *--identify-strict*)
5860 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5863 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5868 # fallback: assume linklib IS sharedlib
5869 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5875 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5876 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5877 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5886 if test -n "$ac_tool_prefix"; then
5889 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5890 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5892 $as_echo_n "checking for $ac_word... " >&6; }
5893 if ${ac_cv_prog_AR+:} false; then :
5894 $as_echo_n "(cached) " >&6
5896 if test -n "$AR"; then
5897 ac_cv_prog_AR="$AR" # Let the user override the test.
5899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5903 test -z "$as_dir" && as_dir=.
5904 for ac_exec_ext in '' $ac_executable_extensions; do
5905 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5906 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5917 if test -n "$AR"; then
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5919 $as_echo "$AR" >&6; }
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5922 $as_echo "no" >&6; }
5926 test -n "$AR" && break
5929 if test -z "$AR"; then
5933 # Extract the first word of "$ac_prog", so it can be a program name with args.
5934 set dummy $ac_prog; ac_word=$2
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5936 $as_echo_n "checking for $ac_word... " >&6; }
5937 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5938 $as_echo_n "(cached) " >&6
5940 if test -n "$ac_ct_AR"; then
5941 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5947 test -z "$as_dir" && as_dir=.
5948 for ac_exec_ext in '' $ac_executable_extensions; do
5949 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5950 ac_cv_prog_ac_ct_AR="$ac_prog"
5951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5960 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5961 if test -n "$ac_ct_AR"; then
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5963 $as_echo "$ac_ct_AR" >&6; }
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5966 $as_echo "no" >&6; }
5970 test -n "$ac_ct_AR" && break
5973 if test "x$ac_ct_AR" = x; then
5976 case $cross_compiling:$ac_tool_warned in
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5979 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5980 ac_tool_warned=yes ;;
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6000 $as_echo_n "checking for archiver @FILE support... " >&6; }
6001 if ${lt_cv_ar_at_file+:} false; then :
6002 $as_echo_n "(cached) " >&6
6005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6006 /* end confdefs.h. */
6016 if ac_fn_c_try_compile "$LINENO"; then :
6017 echo conftest.$ac_objext > conftest.lst
6018 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6019 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6020 (eval $lt_ar_try) 2>&5
6022 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6023 test $ac_status = 0; }
6024 if test "$ac_status" -eq 0; then
6025 # Ensure the archiver fails upon bogus file names.
6026 rm -f conftest.$ac_objext libconftest.a
6027 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6028 (eval $lt_ar_try) 2>&5
6030 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6031 test $ac_status = 0; }
6032 if test "$ac_status" -ne 0; then
6036 rm -f conftest.* libconftest.a
6039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6043 $as_echo "$lt_cv_ar_at_file" >&6; }
6045 if test "x$lt_cv_ar_at_file" = xno; then
6048 archiver_list_spec=$lt_cv_ar_at_file
6057 if test -n "$ac_tool_prefix"; then
6058 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6059 set dummy ${ac_tool_prefix}strip; ac_word=$2
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6061 $as_echo_n "checking for $ac_word... " >&6; }
6062 if ${ac_cv_prog_STRIP+:} false; then :
6063 $as_echo_n "(cached) " >&6
6065 if test -n "$STRIP"; then
6066 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6072 test -z "$as_dir" && as_dir=.
6073 for ac_exec_ext in '' $ac_executable_extensions; do
6074 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6075 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6085 STRIP=$ac_cv_prog_STRIP
6086 if test -n "$STRIP"; then
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6088 $as_echo "$STRIP" >&6; }
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6091 $as_echo "no" >&6; }
6096 if test -z "$ac_cv_prog_STRIP"; then
6098 # Extract the first word of "strip", so it can be a program name with args.
6099 set dummy strip; ac_word=$2
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6101 $as_echo_n "checking for $ac_word... " >&6; }
6102 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6103 $as_echo_n "(cached) " >&6
6105 if test -n "$ac_ct_STRIP"; then
6106 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6112 test -z "$as_dir" && as_dir=.
6113 for ac_exec_ext in '' $ac_executable_extensions; do
6114 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6115 ac_cv_prog_ac_ct_STRIP="strip"
6116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6125 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6126 if test -n "$ac_ct_STRIP"; then
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6128 $as_echo "$ac_ct_STRIP" >&6; }
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6131 $as_echo "no" >&6; }
6134 if test "x$ac_ct_STRIP" = x; then
6137 case $cross_compiling:$ac_tool_warned in
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6140 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6141 ac_tool_warned=yes ;;
6146 STRIP="$ac_cv_prog_STRIP"
6149 test -z "$STRIP" && STRIP=:
6156 if test -n "$ac_tool_prefix"; then
6157 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6158 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6160 $as_echo_n "checking for $ac_word... " >&6; }
6161 if ${ac_cv_prog_RANLIB+:} false; then :
6162 $as_echo_n "(cached) " >&6
6164 if test -n "$RANLIB"; then
6165 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6171 test -z "$as_dir" && as_dir=.
6172 for ac_exec_ext in '' $ac_executable_extensions; do
6173 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6174 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6184 RANLIB=$ac_cv_prog_RANLIB
6185 if test -n "$RANLIB"; then
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6187 $as_echo "$RANLIB" >&6; }
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6190 $as_echo "no" >&6; }
6195 if test -z "$ac_cv_prog_RANLIB"; then
6196 ac_ct_RANLIB=$RANLIB
6197 # Extract the first word of "ranlib", so it can be a program name with args.
6198 set dummy ranlib; ac_word=$2
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6200 $as_echo_n "checking for $ac_word... " >&6; }
6201 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6202 $as_echo_n "(cached) " >&6
6204 if test -n "$ac_ct_RANLIB"; then
6205 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6211 test -z "$as_dir" && as_dir=.
6212 for ac_exec_ext in '' $ac_executable_extensions; do
6213 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6214 ac_cv_prog_ac_ct_RANLIB="ranlib"
6215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6224 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6225 if test -n "$ac_ct_RANLIB"; then
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6227 $as_echo "$ac_ct_RANLIB" >&6; }
6229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6230 $as_echo "no" >&6; }
6233 if test "x$ac_ct_RANLIB" = x; then
6236 case $cross_compiling:$ac_tool_warned in
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6239 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6240 ac_tool_warned=yes ;;
6242 RANLIB=$ac_ct_RANLIB
6245 RANLIB="$ac_cv_prog_RANLIB"
6248 test -z "$RANLIB" && RANLIB=:
6255 # Determine commands to create old-style static archives.
6256 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6257 old_postinstall_cmds='chmod 644 $oldlib'
6258 old_postuninstall_cmds=
6260 if test -n "$RANLIB"; then
6263 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6266 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6269 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6274 lock_old_archive_extraction=yes ;;
6276 lock_old_archive_extraction=no ;;
6317 # If no C compiler was specified, use CC.
6320 # If no C compiler flags were specified, use CFLAGS.
6321 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6323 # Allow CC to be a program name with arguments.
6327 # Check for command to grab the raw symbol name followed by C symbol from nm.
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6329 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6330 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6331 $as_echo_n "(cached) " >&6
6334 # These are sane defaults that work on at least a few old systems.
6335 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6337 # Character class describing NM global symbol codes.
6338 symcode='[BCDEGRST]'
6340 # Regexp to match symbols that can be accessed directly from C.
6341 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6343 # Define system-specific variables.
6348 cygwin* | mingw* | pw32* | cegcc*)
6349 symcode='[ABCDGISTW]'
6352 if test "$host_cpu" = ia64; then
6353 symcode='[ABCDEGRST]'
6357 symcode='[BCDEGRST]'
6360 symcode='[BCDEGQRST]'
6371 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6379 # If we're using GNU nm, then use its standard symbol codes.
6380 case `$NM -V 2>&1` in
6381 *GNU* | *'with BFD'*)
6382 symcode='[ABCDGIRSTW]' ;;
6385 # Transform an extracted symbol line into a proper C declaration.
6386 # Some systems (esp. on ia64) link data and code symbols differently,
6387 # so use this general approach.
6388 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6390 # Transform an extracted symbol line into symbol name and symbol address
6391 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6392 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'"
6394 # Handle CRLF in mingw tool chain
6398 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6402 # Try without a prefix underscore, then with it.
6403 for ac_symprfx in "" "_"; do
6405 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6406 symxfrm="\\1 $ac_symprfx\\2 \\2"
6408 # Write the raw and C identifiers.
6409 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6410 # Fake it for dumpbin and say T for any non-static function
6411 # and D for any global variable.
6412 # Also find C++ and __fastcall symbols from MSVC++,
6413 # which start with @ or ?.
6414 lt_cv_sys_global_symbol_pipe="$AWK '"\
6415 " {last_section=section; section=\$ 3};"\
6416 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6417 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6418 " \$ 0!~/External *\|/{next};"\
6419 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6420 " {if(hide[section]) next};"\
6421 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6422 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6423 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6424 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6425 " ' prfx=^$ac_symprfx"
6427 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6429 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6431 # Check to see that the pipe works correctly.
6435 cat > conftest.$ac_ext <<_LT_EOF
6440 void nm_test_func(void);
6441 void nm_test_func(void){}
6445 int main(){nm_test_var='a';nm_test_func();return(0);}
6448 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6449 (eval $ac_compile) 2>&5
6451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6452 test $ac_status = 0; }; then
6453 # Now try to grab the symbols.
6455 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6456 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6458 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6459 test $ac_status = 0; } && test -s "$nlist"; then
6460 # Try sorting and uniquifying the output.
6461 if sort "$nlist" | uniq > "$nlist"T; then
6462 mv -f "$nlist"T "$nlist"
6467 # Make sure that we snagged all the symbols we need.
6468 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6469 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6470 cat <<_LT_EOF > conftest.$ac_ext
6471 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6472 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6473 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6474 relocations are performed -- see ld's documentation on pseudo-relocs. */
6475 # define LT_DLSYM_CONST
6476 #elif defined(__osf__)
6477 /* This system does not cope well with relocations in const data. */
6478 # define LT_DLSYM_CONST
6480 # define LT_DLSYM_CONST const
6488 # Now generate the symbol file.
6489 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6491 cat <<_LT_EOF >> conftest.$ac_ext
6493 /* The mapping between symbol names and symbols. */
6494 LT_DLSYM_CONST struct {
6498 lt__PROGRAM__LTX_preloaded_symbols[] =
6500 { "@PROGRAM@", (void *) 0 },
6502 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6503 cat <<\_LT_EOF >> conftest.$ac_ext
6507 /* This works around a problem in FreeBSD linker */
6508 #ifdef FREEBSD_WORKAROUND
6509 static const void *lt_preloaded_setup() {
6510 return lt__PROGRAM__LTX_preloaded_symbols;
6518 # Now try linking the two files.
6519 mv conftest.$ac_objext conftstm.$ac_objext
6520 lt_globsym_save_LIBS=$LIBS
6521 lt_globsym_save_CFLAGS=$CFLAGS
6522 LIBS="conftstm.$ac_objext"
6523 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6524 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6525 (eval $ac_link) 2>&5
6527 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6528 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6531 LIBS=$lt_globsym_save_LIBS
6532 CFLAGS=$lt_globsym_save_CFLAGS
6534 echo "cannot find nm_test_func in $nlist" >&5
6537 echo "cannot find nm_test_var in $nlist" >&5
6540 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6543 echo "$progname: failed program was:" >&5
6544 cat conftest.$ac_ext >&5
6546 rm -rf conftest* conftst*
6548 # Do not use the global_symbol_pipe unless it works.
6549 if test "$pipe_works" = yes; then
6552 lt_cv_sys_global_symbol_pipe=
6558 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6559 lt_cv_sys_global_symbol_to_cdecl=
6561 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6563 $as_echo "failed" >&6; }
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6566 $as_echo "ok" >&6; }
6569 # Response file support.
6570 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6571 nm_file_list_spec='@'
6572 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6573 nm_file_list_spec='@'
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6603 $as_echo_n "checking for sysroot... " >&6; }
6605 # Check whether --with-sysroot was given.
6606 if test "${with_sysroot+set}" = set; then :
6607 withval=$with_sysroot;
6614 case ${with_sysroot} in #(
6616 if test "$GCC" = yes; then
6617 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6621 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6627 $as_echo "${with_sysroot}" >&6; }
6628 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6633 $as_echo "${lt_sysroot:-no}" >&6; }
6639 # Check whether --enable-libtool-lock was given.
6640 if test "${enable_libtool_lock+set}" = set; then :
6641 enableval=$enable_libtool_lock;
6644 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6646 # Some flags need to be propagated to the compiler or linker for good
6650 # Find out which ABI we are using.
6651 echo 'int i;' > conftest.$ac_ext
6652 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6653 (eval $ac_compile) 2>&5
6655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6656 test $ac_status = 0; }; then
6657 case `/usr/bin/file conftest.$ac_objext` in
6669 # Find out which ABI we are using.
6670 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6671 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6672 (eval $ac_compile) 2>&5
6674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6675 test $ac_status = 0; }; then
6676 if test "$lt_cv_prog_gnu_ld" = yes; then
6677 case `/usr/bin/file conftest.$ac_objext` in
6679 LD="${LD-ld} -melf32bsmip"
6682 LD="${LD-ld} -melf32bmipn32"
6685 LD="${LD-ld} -melf64bmip"
6689 case `/usr/bin/file conftest.$ac_objext` in
6705 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6706 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6707 # Find out which ABI we are using.
6708 echo 'int i;' > conftest.$ac_ext
6709 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6710 (eval $ac_compile) 2>&5
6712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6713 test $ac_status = 0; }; then
6714 case `/usr/bin/file conftest.o` in
6717 x86_64-*kfreebsd*-gnu)
6718 LD="${LD-ld} -m elf_i386_fbsd"
6721 LD="${LD-ld} -m elf_i386"
6723 ppc64-*linux*|powerpc64-*linux*)
6724 LD="${LD-ld} -m elf32ppclinux"
6727 LD="${LD-ld} -m elf_s390"
6730 LD="${LD-ld} -m elf32_sparc"
6736 x86_64-*kfreebsd*-gnu)
6737 LD="${LD-ld} -m elf_x86_64_fbsd"
6740 LD="${LD-ld} -m elf_x86_64"
6742 ppc*-*linux*|powerpc*-*linux*)
6743 LD="${LD-ld} -m elf64ppc"
6745 s390*-*linux*|s390*-*tpf*)
6746 LD="${LD-ld} -m elf64_s390"
6749 LD="${LD-ld} -m elf64_sparc"
6759 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6760 SAVE_CFLAGS="$CFLAGS"
6761 CFLAGS="$CFLAGS -belf"
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6763 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6764 if ${lt_cv_cc_needs_belf+:} false; then :
6765 $as_echo_n "(cached) " >&6
6768 ac_cpp='$CPP $CPPFLAGS'
6769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6774 /* end confdefs.h. */
6784 if ac_fn_c_try_link "$LINENO"; then :
6785 lt_cv_cc_needs_belf=yes
6787 lt_cv_cc_needs_belf=no
6789 rm -f core conftest.err conftest.$ac_objext \
6790 conftest$ac_exeext conftest.$ac_ext
6792 ac_cpp='$CPP $CPPFLAGS'
6793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6799 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6800 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6801 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6802 CFLAGS="$SAVE_CFLAGS"
6806 # Find out which ABI we are using.
6807 echo 'int i;' > conftest.$ac_ext
6808 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6809 (eval $ac_compile) 2>&5
6811 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6812 test $ac_status = 0; }; then
6813 case `/usr/bin/file conftest.o` in
6815 case $lt_cv_prog_gnu_ld in
6819 LD="${LD-ld} -m elf_x86_64"
6822 LD="${LD-ld} -m elf64_sparc"
6825 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6826 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6831 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6843 need_locks="$enable_libtool_lock"
6845 if test -n "$ac_tool_prefix"; then
6846 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6847 set dummy ${ac_tool_prefix}mt; ac_word=$2
6848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6849 $as_echo_n "checking for $ac_word... " >&6; }
6850 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6851 $as_echo_n "(cached) " >&6
6853 if test -n "$MANIFEST_TOOL"; then
6854 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6860 test -z "$as_dir" && as_dir=.
6861 for ac_exec_ext in '' $ac_executable_extensions; do
6862 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6863 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6873 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6874 if test -n "$MANIFEST_TOOL"; then
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6876 $as_echo "$MANIFEST_TOOL" >&6; }
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6879 $as_echo "no" >&6; }
6884 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6885 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6886 # Extract the first word of "mt", so it can be a program name with args.
6887 set dummy mt; ac_word=$2
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6889 $as_echo_n "checking for $ac_word... " >&6; }
6890 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6891 $as_echo_n "(cached) " >&6
6893 if test -n "$ac_ct_MANIFEST_TOOL"; then
6894 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6900 test -z "$as_dir" && as_dir=.
6901 for ac_exec_ext in '' $ac_executable_extensions; do
6902 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6903 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6913 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6914 if test -n "$ac_ct_MANIFEST_TOOL"; then
6915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6916 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6919 $as_echo "no" >&6; }
6922 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6925 case $cross_compiling:$ac_tool_warned in
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6928 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6929 ac_tool_warned=yes ;;
6931 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6934 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6937 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6939 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6940 if ${lt_cv_path_mainfest_tool+:} false; then :
6941 $as_echo_n "(cached) " >&6
6943 lt_cv_path_mainfest_tool=no
6944 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6945 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6946 cat conftest.err >&5
6947 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6948 lt_cv_path_mainfest_tool=yes
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6953 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6954 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6964 rhapsody* | darwin*)
6965 if test -n "$ac_tool_prefix"; then
6966 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6967 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6969 $as_echo_n "checking for $ac_word... " >&6; }
6970 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6971 $as_echo_n "(cached) " >&6
6973 if test -n "$DSYMUTIL"; then
6974 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6980 test -z "$as_dir" && as_dir=.
6981 for ac_exec_ext in '' $ac_executable_extensions; do
6982 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6983 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6993 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6994 if test -n "$DSYMUTIL"; then
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6996 $as_echo "$DSYMUTIL" >&6; }
6998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6999 $as_echo "no" >&6; }
7004 if test -z "$ac_cv_prog_DSYMUTIL"; then
7005 ac_ct_DSYMUTIL=$DSYMUTIL
7006 # Extract the first word of "dsymutil", so it can be a program name with args.
7007 set dummy dsymutil; ac_word=$2
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7009 $as_echo_n "checking for $ac_word... " >&6; }
7010 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7011 $as_echo_n "(cached) " >&6
7013 if test -n "$ac_ct_DSYMUTIL"; then
7014 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7020 test -z "$as_dir" && as_dir=.
7021 for ac_exec_ext in '' $ac_executable_extensions; do
7022 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7023 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7033 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7034 if test -n "$ac_ct_DSYMUTIL"; then
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7036 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7039 $as_echo "no" >&6; }
7042 if test "x$ac_ct_DSYMUTIL" = x; then
7045 case $cross_compiling:$ac_tool_warned in
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7048 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7049 ac_tool_warned=yes ;;
7051 DSYMUTIL=$ac_ct_DSYMUTIL
7054 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7057 if test -n "$ac_tool_prefix"; then
7058 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7059 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7061 $as_echo_n "checking for $ac_word... " >&6; }
7062 if ${ac_cv_prog_NMEDIT+:} false; then :
7063 $as_echo_n "(cached) " >&6
7065 if test -n "$NMEDIT"; then
7066 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7072 test -z "$as_dir" && as_dir=.
7073 for ac_exec_ext in '' $ac_executable_extensions; do
7074 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7075 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7085 NMEDIT=$ac_cv_prog_NMEDIT
7086 if test -n "$NMEDIT"; then
7087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7088 $as_echo "$NMEDIT" >&6; }
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7091 $as_echo "no" >&6; }
7096 if test -z "$ac_cv_prog_NMEDIT"; then
7097 ac_ct_NMEDIT=$NMEDIT
7098 # Extract the first word of "nmedit", so it can be a program name with args.
7099 set dummy nmedit; ac_word=$2
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7101 $as_echo_n "checking for $ac_word... " >&6; }
7102 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7103 $as_echo_n "(cached) " >&6
7105 if test -n "$ac_ct_NMEDIT"; then
7106 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7112 test -z "$as_dir" && as_dir=.
7113 for ac_exec_ext in '' $ac_executable_extensions; do
7114 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7115 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7125 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7126 if test -n "$ac_ct_NMEDIT"; then
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7128 $as_echo "$ac_ct_NMEDIT" >&6; }
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7131 $as_echo "no" >&6; }
7134 if test "x$ac_ct_NMEDIT" = x; then
7137 case $cross_compiling:$ac_tool_warned in
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7140 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7141 ac_tool_warned=yes ;;
7143 NMEDIT=$ac_ct_NMEDIT
7146 NMEDIT="$ac_cv_prog_NMEDIT"
7149 if test -n "$ac_tool_prefix"; then
7150 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7151 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7153 $as_echo_n "checking for $ac_word... " >&6; }
7154 if ${ac_cv_prog_LIPO+:} false; then :
7155 $as_echo_n "(cached) " >&6
7157 if test -n "$LIPO"; then
7158 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7164 test -z "$as_dir" && as_dir=.
7165 for ac_exec_ext in '' $ac_executable_extensions; do
7166 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7167 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7177 LIPO=$ac_cv_prog_LIPO
7178 if test -n "$LIPO"; then
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7180 $as_echo "$LIPO" >&6; }
7182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7183 $as_echo "no" >&6; }
7188 if test -z "$ac_cv_prog_LIPO"; then
7190 # Extract the first word of "lipo", so it can be a program name with args.
7191 set dummy lipo; ac_word=$2
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7193 $as_echo_n "checking for $ac_word... " >&6; }
7194 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7195 $as_echo_n "(cached) " >&6
7197 if test -n "$ac_ct_LIPO"; then
7198 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7204 test -z "$as_dir" && as_dir=.
7205 for ac_exec_ext in '' $ac_executable_extensions; do
7206 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7207 ac_cv_prog_ac_ct_LIPO="lipo"
7208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7217 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7218 if test -n "$ac_ct_LIPO"; then
7219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7220 $as_echo "$ac_ct_LIPO" >&6; }
7222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7223 $as_echo "no" >&6; }
7226 if test "x$ac_ct_LIPO" = x; then
7229 case $cross_compiling:$ac_tool_warned in
7231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7232 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7233 ac_tool_warned=yes ;;
7238 LIPO="$ac_cv_prog_LIPO"
7241 if test -n "$ac_tool_prefix"; then
7242 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7243 set dummy ${ac_tool_prefix}otool; ac_word=$2
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7245 $as_echo_n "checking for $ac_word... " >&6; }
7246 if ${ac_cv_prog_OTOOL+:} false; then :
7247 $as_echo_n "(cached) " >&6
7249 if test -n "$OTOOL"; then
7250 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7256 test -z "$as_dir" && as_dir=.
7257 for ac_exec_ext in '' $ac_executable_extensions; do
7258 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7259 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7269 OTOOL=$ac_cv_prog_OTOOL
7270 if test -n "$OTOOL"; then
7271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7272 $as_echo "$OTOOL" >&6; }
7274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7275 $as_echo "no" >&6; }
7280 if test -z "$ac_cv_prog_OTOOL"; then
7282 # Extract the first word of "otool", so it can be a program name with args.
7283 set dummy otool; ac_word=$2
7284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7285 $as_echo_n "checking for $ac_word... " >&6; }
7286 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7287 $as_echo_n "(cached) " >&6
7289 if test -n "$ac_ct_OTOOL"; then
7290 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7296 test -z "$as_dir" && as_dir=.
7297 for ac_exec_ext in '' $ac_executable_extensions; do
7298 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7299 ac_cv_prog_ac_ct_OTOOL="otool"
7300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7309 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7310 if test -n "$ac_ct_OTOOL"; then
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7312 $as_echo "$ac_ct_OTOOL" >&6; }
7314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7315 $as_echo "no" >&6; }
7318 if test "x$ac_ct_OTOOL" = x; then
7321 case $cross_compiling:$ac_tool_warned in
7323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7324 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7325 ac_tool_warned=yes ;;
7330 OTOOL="$ac_cv_prog_OTOOL"
7333 if test -n "$ac_tool_prefix"; then
7334 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7335 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7337 $as_echo_n "checking for $ac_word... " >&6; }
7338 if ${ac_cv_prog_OTOOL64+:} false; then :
7339 $as_echo_n "(cached) " >&6
7341 if test -n "$OTOOL64"; then
7342 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7348 test -z "$as_dir" && as_dir=.
7349 for ac_exec_ext in '' $ac_executable_extensions; do
7350 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7351 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7361 OTOOL64=$ac_cv_prog_OTOOL64
7362 if test -n "$OTOOL64"; then
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7364 $as_echo "$OTOOL64" >&6; }
7366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7367 $as_echo "no" >&6; }
7372 if test -z "$ac_cv_prog_OTOOL64"; then
7373 ac_ct_OTOOL64=$OTOOL64
7374 # Extract the first word of "otool64", so it can be a program name with args.
7375 set dummy otool64; ac_word=$2
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7377 $as_echo_n "checking for $ac_word... " >&6; }
7378 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7379 $as_echo_n "(cached) " >&6
7381 if test -n "$ac_ct_OTOOL64"; then
7382 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7388 test -z "$as_dir" && as_dir=.
7389 for ac_exec_ext in '' $ac_executable_extensions; do
7390 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7391 ac_cv_prog_ac_ct_OTOOL64="otool64"
7392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7401 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7402 if test -n "$ac_ct_OTOOL64"; then
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7404 $as_echo "$ac_ct_OTOOL64" >&6; }
7406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7407 $as_echo "no" >&6; }
7410 if test "x$ac_ct_OTOOL64" = x; then
7413 case $cross_compiling:$ac_tool_warned in
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7416 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7417 ac_tool_warned=yes ;;
7419 OTOOL64=$ac_ct_OTOOL64
7422 OTOOL64="$ac_cv_prog_OTOOL64"
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7452 $as_echo_n "checking for -single_module linker flag... " >&6; }
7453 if ${lt_cv_apple_cc_single_mod+:} false; then :
7454 $as_echo_n "(cached) " >&6
7456 lt_cv_apple_cc_single_mod=no
7457 if test -z "${LT_MULTI_MODULE}"; then
7458 # By default we will add the -single_module flag. You can override
7459 # by either setting the environment variable LT_MULTI_MODULE
7460 # non-empty at configure time, or by adding -multi_module to the
7462 rm -rf libconftest.dylib*
7463 echo "int foo(void){return 1;}" > conftest.c
7464 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7465 -dynamiclib -Wl,-single_module conftest.c" >&5
7466 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7467 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7469 # If there is a non-empty error log, and "single_module"
7470 # appears in it, assume the flag caused a linker warning
7471 if test -s conftest.err && $GREP single_module conftest.err; then
7472 cat conftest.err >&5
7473 # Otherwise, if the output was created with a 0 exit code from
7474 # the compiler, it worked.
7475 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7476 lt_cv_apple_cc_single_mod=yes
7478 cat conftest.err >&5
7480 rm -rf libconftest.dylib*
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7485 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7488 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7489 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7490 $as_echo_n "(cached) " >&6
7492 lt_cv_ld_exported_symbols_list=no
7493 save_LDFLAGS=$LDFLAGS
7494 echo "_main" > conftest.sym
7495 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7497 /* end confdefs.h. */
7507 if ac_fn_c_try_link "$LINENO"; then :
7508 lt_cv_ld_exported_symbols_list=yes
7510 lt_cv_ld_exported_symbols_list=no
7512 rm -f core conftest.err conftest.$ac_objext \
7513 conftest$ac_exeext conftest.$ac_ext
7514 LDFLAGS="$save_LDFLAGS"
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7518 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7521 $as_echo_n "checking for -force_load linker flag... " >&6; }
7522 if ${lt_cv_ld_force_load+:} false; then :
7523 $as_echo_n "(cached) " >&6
7525 lt_cv_ld_force_load=no
7526 cat > conftest.c << _LT_EOF
7527 int forced_loaded() { return 2;}
7529 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7530 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7531 echo "$AR cru libconftest.a conftest.o" >&5
7532 $AR cru libconftest.a conftest.o 2>&5
7533 echo "$RANLIB libconftest.a" >&5
7534 $RANLIB libconftest.a 2>&5
7535 cat > conftest.c << _LT_EOF
7536 int main() { return 0;}
7538 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7539 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7541 if test -s conftest.err && $GREP force_load conftest.err; then
7542 cat conftest.err >&5
7543 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7544 lt_cv_ld_force_load=yes
7546 cat conftest.err >&5
7548 rm -f conftest.err libconftest.a conftest conftest.c
7549 rm -rf conftest.dSYM
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7553 $as_echo "$lt_cv_ld_force_load" >&6; }
7555 rhapsody* | darwin1.[012])
7556 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7558 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7559 darwin*) # darwin 5.x on
7560 # if running on 10.5 or later, the deployment target defaults
7561 # to the OS version, if on x86, and 10.4, the deployment
7562 # target defaults to 10.4. Don't you love it?
7563 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7564 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7565 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7567 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7569 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7573 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7574 _lt_dar_single_mod='$single_module'
7576 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7577 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7579 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7581 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7582 _lt_dsymutil='~$DSYMUTIL $lib || :'
7590 ac_cpp='$CPP $CPPFLAGS'
7591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7595 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7596 # On Suns, sometimes $CPP names a directory.
7597 if test -n "$CPP" && test -d "$CPP"; then
7600 if test -z "$CPP"; then
7601 if ${ac_cv_prog_CPP+:} false; then :
7602 $as_echo_n "(cached) " >&6
7604 # Double quotes because CPP needs to be expanded
7605 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7608 for ac_c_preproc_warn_flag in '' yes
7610 # Use a header file that comes with gcc, so configuring glibc
7611 # with a fresh cross-compiler works.
7612 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7613 # <limits.h> exists even on freestanding compilers.
7614 # On the NeXT, cc -E runs the code through the compiler's parser,
7615 # not just through cpp. "Syntax error" is here to catch this case.
7616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7617 /* end confdefs.h. */
7619 # include <limits.h>
7621 # include <assert.h>
7625 if ac_fn_c_try_cpp "$LINENO"; then :
7628 # Broken: fails on valid input.
7631 rm -f conftest.err conftest.i conftest.$ac_ext
7633 # OK, works on sane cases. Now check whether nonexistent headers
7634 # can be detected and how.
7635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7636 /* end confdefs.h. */
7637 #include <ac_nonexistent.h>
7639 if ac_fn_c_try_cpp "$LINENO"; then :
7640 # Broken: success on invalid input.
7643 # Passes both tests.
7647 rm -f conftest.err conftest.i conftest.$ac_ext
7650 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7651 rm -f conftest.i conftest.err conftest.$ac_ext
7652 if $ac_preproc_ok; then :
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7665 $as_echo "$CPP" >&6; }
7667 for ac_c_preproc_warn_flag in '' yes
7669 # Use a header file that comes with gcc, so configuring glibc
7670 # with a fresh cross-compiler works.
7671 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7672 # <limits.h> exists even on freestanding compilers.
7673 # On the NeXT, cc -E runs the code through the compiler's parser,
7674 # not just through cpp. "Syntax error" is here to catch this case.
7675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7676 /* end confdefs.h. */
7678 # include <limits.h>
7680 # include <assert.h>
7684 if ac_fn_c_try_cpp "$LINENO"; then :
7687 # Broken: fails on valid input.
7690 rm -f conftest.err conftest.i conftest.$ac_ext
7692 # OK, works on sane cases. Now check whether nonexistent headers
7693 # can be detected and how.
7694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7695 /* end confdefs.h. */
7696 #include <ac_nonexistent.h>
7698 if ac_fn_c_try_cpp "$LINENO"; then :
7699 # Broken: success on invalid input.
7702 # Passes both tests.
7706 rm -f conftest.err conftest.i conftest.$ac_ext
7709 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7710 rm -f conftest.i conftest.err conftest.$ac_ext
7711 if $ac_preproc_ok; then :
7714 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7715 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7716 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7717 See \`config.log' for more details" "$LINENO" 5; }
7721 ac_cpp='$CPP $CPPFLAGS'
7722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7728 $as_echo_n "checking for ANSI C header files... " >&6; }
7729 if ${ac_cv_header_stdc+:} false; then :
7730 $as_echo_n "(cached) " >&6
7732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7733 /* end confdefs.h. */
7747 if ac_fn_c_try_compile "$LINENO"; then :
7748 ac_cv_header_stdc=yes
7750 ac_cv_header_stdc=no
7752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7754 if test $ac_cv_header_stdc = yes; then
7755 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7757 /* end confdefs.h. */
7761 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7762 $EGREP "memchr" >/dev/null 2>&1; then :
7765 ac_cv_header_stdc=no
7771 if test $ac_cv_header_stdc = yes; then
7772 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7774 /* end confdefs.h. */
7778 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7779 $EGREP "free" >/dev/null 2>&1; then :
7782 ac_cv_header_stdc=no
7788 if test $ac_cv_header_stdc = yes; then
7789 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7790 if test "$cross_compiling" = yes; then :
7793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7794 /* end confdefs.h. */
7797 #if ((' ' & 0x0FF) == 0x020)
7798 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7799 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7801 # define ISLOWER(c) \
7802 (('a' <= (c) && (c) <= 'i') \
7803 || ('j' <= (c) && (c) <= 'r') \
7804 || ('s' <= (c) && (c) <= 'z'))
7805 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7808 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7813 for (i = 0; i < 256; i++)
7814 if (XOR (islower (i), ISLOWER (i))
7815 || toupper (i) != TOUPPER (i))
7820 if ac_fn_c_try_run "$LINENO"; then :
7823 ac_cv_header_stdc=no
7825 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7826 conftest.$ac_objext conftest.beam conftest.$ac_ext
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7832 $as_echo "$ac_cv_header_stdc" >&6; }
7833 if test $ac_cv_header_stdc = yes; then
7835 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7839 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7840 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7841 inttypes.h stdint.h unistd.h
7843 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7844 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7846 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7847 cat >>confdefs.h <<_ACEOF
7848 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7856 for ac_header in dlfcn.h
7858 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7860 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7861 cat >>confdefs.h <<_ACEOF
7862 #define HAVE_DLFCN_H 1
7881 # Check whether --enable-shared was given.
7882 if test "${enable_shared+set}" = set; then :
7883 enableval=$enable_shared; p=${PACKAGE-default}
7885 yes) enable_shared=yes ;;
7886 no) enable_shared=no ;;
7889 # Look at the argument we got. We use all the common list separators.
7890 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7891 for pkg in $enableval; do
7893 if test "X$pkg" = "X$p"; then
7912 # Check whether --enable-static was given.
7913 if test "${enable_static+set}" = set; then :
7914 enableval=$enable_static; p=${PACKAGE-default}
7916 yes) enable_static=yes ;;
7917 no) enable_static=no ;;
7920 # Look at the argument we got. We use all the common list separators.
7921 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7922 for pkg in $enableval; do
7924 if test "X$pkg" = "X$p"; then
7944 # Check whether --with-pic was given.
7945 if test "${with_pic+set}" = set; then :
7946 withval=$with_pic; lt_p=${PACKAGE-default}
7948 yes|no) pic_mode=$withval ;;
7951 # Look at the argument we got. We use all the common list separators.
7952 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7953 for lt_pkg in $withval; do
7955 if test "X$lt_pkg" = "X$lt_p"; then
7967 test -z "$pic_mode" && pic_mode=default
7975 # Check whether --enable-fast-install was given.
7976 if test "${enable_fast_install+set}" = set; then :
7977 enableval=$enable_fast_install; p=${PACKAGE-default}
7979 yes) enable_fast_install=yes ;;
7980 no) enable_fast_install=no ;;
7982 enable_fast_install=no
7983 # Look at the argument we got. We use all the common list separators.
7984 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7985 for pkg in $enableval; do
7987 if test "X$pkg" = "X$p"; then
7988 enable_fast_install=yes
7995 enable_fast_install=yes
8008 # This can be used to rebuild libtool when needed
8009 LIBTOOL_DEPS="$ltmain"
8011 # Always use our own libtool.
8012 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8043 test -z "$LN_S" && LN_S="ln -s"
8058 if test -n "${ZSH_VERSION+set}" ; then
8059 setopt NO_GLOB_SUBST
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8063 $as_echo_n "checking for objdir... " >&6; }
8064 if ${lt_cv_objdir+:} false; then :
8065 $as_echo_n "(cached) " >&6
8067 rm -f .libs 2>/dev/null
8068 mkdir .libs 2>/dev/null
8069 if test -d .libs; then
8072 # MS-DOS does not allow filenames that begin with a dot.
8075 rmdir .libs 2>/dev/null
8077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8078 $as_echo "$lt_cv_objdir" >&6; }
8079 objdir=$lt_cv_objdir
8085 cat >>confdefs.h <<_ACEOF
8086 #define LT_OBJDIR "$lt_cv_objdir/"
8094 # AIX sometimes has problems with the GCC collect2 program. For some
8095 # reason, if we set the COLLECT_NAMES environment variable, the problems
8096 # vanish in a puff of smoke.
8097 if test "X${COLLECT_NAMES+set}" != Xset; then
8099 export COLLECT_NAMES
8106 can_build_shared=yes
8108 # All known linkers require a `.a' archive for static linking (except MSVC,
8109 # which needs '.lib').
8112 with_gnu_ld="$lt_cv_prog_gnu_ld"
8115 old_CFLAGS="$CFLAGS"
8117 # Set sane defaults for various variables
8118 test -z "$CC" && CC=cc
8119 test -z "$LTCC" && LTCC=$CC
8120 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8121 test -z "$LD" && LD=ld
8122 test -z "$ac_objext" && ac_objext=o
8124 for cc_temp in $compiler""; do
8126 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8127 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8132 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8135 # Only perform the check for file, if the check method requires it
8136 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8137 case $deplibs_check_method in
8139 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8141 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8142 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8143 $as_echo_n "(cached) " >&6
8147 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8150 lt_save_MAGIC_CMD="$MAGIC_CMD"
8151 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8152 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8153 for ac_dir in $ac_dummy; do
8155 test -z "$ac_dir" && ac_dir=.
8156 if test -f $ac_dir/${ac_tool_prefix}file; then
8157 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8158 if test -n "$file_magic_test_file"; then
8159 case $deplibs_check_method in
8161 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8162 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8163 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8164 $EGREP "$file_magic_regex" > /dev/null; then
8169 *** Warning: the command libtool uses to detect shared libraries,
8170 *** $file_magic_cmd, produces output that libtool cannot recognize.
8171 *** The result is that libtool may fail to recognize shared libraries
8172 *** as such. This will affect the creation of libtool libraries that
8173 *** depend on shared libraries, but programs linked with such libtool
8174 *** libraries will work regardless of this problem. Nevertheless, you
8175 *** may want to report the problem to your system manager and/or to
8176 *** bug-libtool@gnu.org
8186 MAGIC_CMD="$lt_save_MAGIC_CMD"
8191 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8192 if test -n "$MAGIC_CMD"; then
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8194 $as_echo "$MAGIC_CMD" >&6; }
8196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8197 $as_echo "no" >&6; }
8204 if test -z "$lt_cv_path_MAGIC_CMD"; then
8205 if test -n "$ac_tool_prefix"; then
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8207 $as_echo_n "checking for file... " >&6; }
8208 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8209 $as_echo_n "(cached) " >&6
8213 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8216 lt_save_MAGIC_CMD="$MAGIC_CMD"
8217 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8218 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8219 for ac_dir in $ac_dummy; do
8221 test -z "$ac_dir" && ac_dir=.
8222 if test -f $ac_dir/file; then
8223 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8224 if test -n "$file_magic_test_file"; then
8225 case $deplibs_check_method in
8227 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8228 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8229 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8230 $EGREP "$file_magic_regex" > /dev/null; then
8235 *** Warning: the command libtool uses to detect shared libraries,
8236 *** $file_magic_cmd, produces output that libtool cannot recognize.
8237 *** The result is that libtool may fail to recognize shared libraries
8238 *** as such. This will affect the creation of libtool libraries that
8239 *** depend on shared libraries, but programs linked with such libtool
8240 *** libraries will work regardless of this problem. Nevertheless, you
8241 *** may want to report the problem to your system manager and/or to
8242 *** bug-libtool@gnu.org
8252 MAGIC_CMD="$lt_save_MAGIC_CMD"
8257 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8258 if test -n "$MAGIC_CMD"; then
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8260 $as_echo "$MAGIC_CMD" >&6; }
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8263 $as_echo "no" >&6; }
8276 # Use C for the default configuration in the libtool script
8280 ac_cpp='$CPP $CPPFLAGS'
8281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8286 # Source file extension for C test sources.
8289 # Object file extension for compiled C test sources.
8293 # Code to be used in simple compile tests
8294 lt_simple_compile_test_code="int some_variable = 0;"
8296 # Code to be used in simple link tests
8297 lt_simple_link_test_code='int main(){return(0);}'
8305 # If no C compiler was specified, use CC.
8308 # If no C compiler flags were specified, use CFLAGS.
8309 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8311 # Allow CC to be a program name with arguments.
8314 # Save the default compiler, since it gets overwritten when the other
8315 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8316 compiler_DEFAULT=$CC
8318 # save warnings/boilerplate of simple test code
8319 ac_outfile=conftest.$ac_objext
8320 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8321 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8322 _lt_compiler_boilerplate=`cat conftest.err`
8325 ac_outfile=conftest.$ac_objext
8326 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8327 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8328 _lt_linker_boilerplate=`cat conftest.err`
8332 if test -n "$compiler"; then
8334 lt_prog_compiler_no_builtin_flag=
8336 if test "$GCC" = yes; then
8337 case $cc_basename in
8339 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8341 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8345 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8346 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8347 $as_echo_n "(cached) " >&6
8349 lt_cv_prog_compiler_rtti_exceptions=no
8350 ac_outfile=conftest.$ac_objext
8351 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8352 lt_compiler_flag="-fno-rtti -fno-exceptions"
8353 # Insert the option either (1) after the last *FLAGS variable, or
8354 # (2) before a word containing "conftest.", or (3) at the end.
8355 # Note that $ac_compile itself does not contain backslashes and begins
8356 # with a dollar sign (not a hyphen), so the echo should work correctly.
8357 # The option is referenced via a variable to avoid confusing sed.
8358 lt_compile=`echo "$ac_compile" | $SED \
8359 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8360 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8361 -e 's:$: $lt_compiler_flag:'`
8362 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8363 (eval "$lt_compile" 2>conftest.err)
8365 cat conftest.err >&5
8366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8367 if (exit $ac_status) && test -s "$ac_outfile"; then
8368 # The compiler can only warn and ignore the option if not recognized
8369 # So say no if there are warnings other than the usual output.
8370 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8371 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8372 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8373 lt_cv_prog_compiler_rtti_exceptions=yes
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8380 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8382 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8383 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8395 lt_prog_compiler_wl=
8396 lt_prog_compiler_pic=
8397 lt_prog_compiler_static=
8400 if test "$GCC" = yes; then
8401 lt_prog_compiler_wl='-Wl,'
8402 lt_prog_compiler_static='-static'
8406 # All AIX code is PIC.
8407 if test "$host_cpu" = ia64; then
8408 # AIX 5 now supports IA64 processor
8409 lt_prog_compiler_static='-Bstatic'
8416 # see comment about AmigaOS4 .so support
8417 lt_prog_compiler_pic='-fPIC'
8420 # FIXME: we need at least 68020 code to build shared libraries, but
8421 # adding the `-m68020' flag to GCC prevents building anything better,
8423 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8428 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8429 # PIC is the default for these OSes.
8432 mingw* | cygwin* | pw32* | os2* | cegcc*)
8433 # This hack is so that the source file can tell whether it is being
8434 # built for inclusion in a dll (and should export symbols for example).
8435 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8436 # (--disable-auto-import) libraries
8437 lt_prog_compiler_pic='-DDLL_EXPORT'
8440 darwin* | rhapsody*)
8441 # PIC is the default on this platform
8442 # Common symbols not allowed in MH_DYLIB files
8443 lt_prog_compiler_pic='-fno-common'
8447 # PIC is the default for Haiku.
8448 # The "-static" flag exists, but is broken.
8449 lt_prog_compiler_static=
8453 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8454 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8455 # sets the default TLS model and affects inlining.
8461 lt_prog_compiler_pic='-fPIC'
8467 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8468 # Instead, we relocate shared libraries at runtime.
8472 # Just because we use GCC doesn't mean we suddenly get shared libraries
8473 # on systems that don't support them.
8474 lt_prog_compiler_can_build_shared=no
8479 # QNX uses GNU C++, but need to define -shared option too, otherwise
8481 lt_prog_compiler_pic='-fPIC -shared'
8485 if test -d /usr/nec; then
8486 lt_prog_compiler_pic=-Kconform_pic
8491 lt_prog_compiler_pic='-fPIC'
8495 case $cc_basename in
8496 nvcc*) # Cuda Compiler Driver 2.2
8497 lt_prog_compiler_wl='-Xlinker '
8498 if test -n "$lt_prog_compiler_pic"; then
8499 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8504 # PORTME Check for flag to pass linker flags through the system compiler.
8507 lt_prog_compiler_wl='-Wl,'
8508 if test "$host_cpu" = ia64; then
8509 # AIX 5 now supports IA64 processor
8510 lt_prog_compiler_static='-Bstatic'
8512 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8516 mingw* | cygwin* | pw32* | os2* | cegcc*)
8517 # This hack is so that the source file can tell whether it is being
8518 # built for inclusion in a dll (and should export symbols for example).
8519 lt_prog_compiler_pic='-DDLL_EXPORT'
8522 hpux9* | hpux10* | hpux11*)
8523 lt_prog_compiler_wl='-Wl,'
8524 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8531 lt_prog_compiler_pic='+Z'
8534 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8535 lt_prog_compiler_static='${wl}-a ${wl}archive'
8538 irix5* | irix6* | nonstopux*)
8539 lt_prog_compiler_wl='-Wl,'
8540 # PIC (with -KPIC) is the default.
8541 lt_prog_compiler_static='-non_shared'
8544 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8545 case $cc_basename in
8546 # old Intel for x86_64 which still supported -KPIC.
8548 lt_prog_compiler_wl='-Wl,'
8549 lt_prog_compiler_pic='-KPIC'
8550 lt_prog_compiler_static='-static'
8552 # icc used to be incompatible with GCC.
8553 # ICC 10 doesn't accept -KPIC any more.
8555 lt_prog_compiler_wl='-Wl,'
8556 lt_prog_compiler_pic='-fPIC'
8557 lt_prog_compiler_static='-static'
8559 # Lahey Fortran 8.1.
8561 lt_prog_compiler_wl='-Wl,'
8562 lt_prog_compiler_pic='--shared'
8563 lt_prog_compiler_static='--static'
8566 # NAG Fortran compiler
8567 lt_prog_compiler_wl='-Wl,-Wl,,'
8568 lt_prog_compiler_pic='-PIC'
8569 lt_prog_compiler_static='-Bstatic'
8571 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8572 # Portland Group compilers (*not* the Pentium gcc compiler,
8573 # which looks to be a dead project)
8574 lt_prog_compiler_wl='-Wl,'
8575 lt_prog_compiler_pic='-fpic'
8576 lt_prog_compiler_static='-Bstatic'
8579 lt_prog_compiler_wl='-Wl,'
8580 # All Alpha code is PIC.
8581 lt_prog_compiler_static='-non_shared'
8583 xl* | bgxl* | bgf* | mpixl*)
8584 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8585 lt_prog_compiler_wl='-Wl,'
8586 lt_prog_compiler_pic='-qpic'
8587 lt_prog_compiler_static='-qstaticlink'
8590 case `$CC -V 2>&1 | sed 5q` in
8591 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8592 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8593 lt_prog_compiler_pic='-KPIC'
8594 lt_prog_compiler_static='-Bstatic'
8595 lt_prog_compiler_wl=''
8597 *Sun\ F* | *Sun*Fortran*)
8598 lt_prog_compiler_pic='-KPIC'
8599 lt_prog_compiler_static='-Bstatic'
8600 lt_prog_compiler_wl='-Qoption ld '
8604 lt_prog_compiler_pic='-KPIC'
8605 lt_prog_compiler_static='-Bstatic'
8606 lt_prog_compiler_wl='-Wl,'
8608 *Intel*\ [CF]*Compiler*)
8609 lt_prog_compiler_wl='-Wl,'
8610 lt_prog_compiler_pic='-fPIC'
8611 lt_prog_compiler_static='-static'
8614 lt_prog_compiler_wl='-Wl,'
8615 lt_prog_compiler_pic='-fpic'
8616 lt_prog_compiler_static='-Bstatic'
8624 lt_prog_compiler_pic='-KPIC'
8625 lt_prog_compiler_static='-Bstatic'
8629 # QNX uses GNU C++, but need to define -shared option too, otherwise
8631 lt_prog_compiler_pic='-fPIC -shared'
8634 osf3* | osf4* | osf5*)
8635 lt_prog_compiler_wl='-Wl,'
8636 # All OSF/1 code is PIC.
8637 lt_prog_compiler_static='-non_shared'
8641 lt_prog_compiler_static='-non_shared'
8645 lt_prog_compiler_pic='-KPIC'
8646 lt_prog_compiler_static='-Bstatic'
8647 case $cc_basename in
8648 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8649 lt_prog_compiler_wl='-Qoption ld ';;
8651 lt_prog_compiler_wl='-Wl,';;
8656 lt_prog_compiler_wl='-Qoption ld '
8657 lt_prog_compiler_pic='-PIC'
8658 lt_prog_compiler_static='-Bstatic'
8661 sysv4 | sysv4.2uw2* | sysv4.3*)
8662 lt_prog_compiler_wl='-Wl,'
8663 lt_prog_compiler_pic='-KPIC'
8664 lt_prog_compiler_static='-Bstatic'
8668 if test -d /usr/nec ;then
8669 lt_prog_compiler_pic='-Kconform_pic'
8670 lt_prog_compiler_static='-Bstatic'
8674 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8675 lt_prog_compiler_wl='-Wl,'
8676 lt_prog_compiler_pic='-KPIC'
8677 lt_prog_compiler_static='-Bstatic'
8681 lt_prog_compiler_wl='-Wl,'
8682 lt_prog_compiler_can_build_shared=no
8686 lt_prog_compiler_pic='-pic'
8687 lt_prog_compiler_static='-Bstatic'
8691 lt_prog_compiler_can_build_shared=no
8697 # For platforms which do not support PIC, -DPIC is meaningless:
8699 lt_prog_compiler_pic=
8702 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8707 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8708 if ${lt_cv_prog_compiler_pic+:} false; then :
8709 $as_echo_n "(cached) " >&6
8711 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8714 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8715 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8718 # Check to make sure the PIC flag actually works.
8720 if test -n "$lt_prog_compiler_pic"; then
8721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8722 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8723 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8724 $as_echo_n "(cached) " >&6
8726 lt_cv_prog_compiler_pic_works=no
8727 ac_outfile=conftest.$ac_objext
8728 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8729 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8730 # Insert the option either (1) after the last *FLAGS variable, or
8731 # (2) before a word containing "conftest.", or (3) at the end.
8732 # Note that $ac_compile itself does not contain backslashes and begins
8733 # with a dollar sign (not a hyphen), so the echo should work correctly.
8734 # The option is referenced via a variable to avoid confusing sed.
8735 lt_compile=`echo "$ac_compile" | $SED \
8736 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8737 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8738 -e 's:$: $lt_compiler_flag:'`
8739 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8740 (eval "$lt_compile" 2>conftest.err)
8742 cat conftest.err >&5
8743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8744 if (exit $ac_status) && test -s "$ac_outfile"; then
8745 # The compiler can only warn and ignore the option if not recognized
8746 # So say no if there are warnings other than the usual output.
8747 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8748 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8749 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8750 lt_cv_prog_compiler_pic_works=yes
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8757 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8759 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8760 case $lt_prog_compiler_pic in
8762 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8765 lt_prog_compiler_pic=
8766 lt_prog_compiler_can_build_shared=no
8782 # Check to make sure the static flag actually works.
8784 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8786 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8787 if ${lt_cv_prog_compiler_static_works+:} false; then :
8788 $as_echo_n "(cached) " >&6
8790 lt_cv_prog_compiler_static_works=no
8791 save_LDFLAGS="$LDFLAGS"
8792 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8793 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8794 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8795 # The linker can only warn and ignore the option if not recognized
8796 # So say no if there are warnings
8797 if test -s conftest.err; then
8798 # Append any errors to the config.log.
8799 cat conftest.err 1>&5
8800 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8801 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8802 if diff conftest.exp conftest.er2 >/dev/null; then
8803 lt_cv_prog_compiler_static_works=yes
8806 lt_cv_prog_compiler_static_works=yes
8810 LDFLAGS="$save_LDFLAGS"
8813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8814 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8816 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8819 lt_prog_compiler_static=
8828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8829 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8830 if ${lt_cv_prog_compiler_c_o+:} false; then :
8831 $as_echo_n "(cached) " >&6
8833 lt_cv_prog_compiler_c_o=no
8834 $RM -r conftest 2>/dev/null
8838 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8840 lt_compiler_flag="-o out/conftest2.$ac_objext"
8841 # Insert the option either (1) after the last *FLAGS variable, or
8842 # (2) before a word containing "conftest.", or (3) at the end.
8843 # Note that $ac_compile itself does not contain backslashes and begins
8844 # with a dollar sign (not a hyphen), so the echo should work correctly.
8845 lt_compile=`echo "$ac_compile" | $SED \
8846 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8847 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8848 -e 's:$: $lt_compiler_flag:'`
8849 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8850 (eval "$lt_compile" 2>out/conftest.err)
8852 cat out/conftest.err >&5
8853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8854 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8856 # The compiler can only warn and ignore the option if not recognized
8857 # So say no if there are warnings
8858 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8859 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8860 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8861 lt_cv_prog_compiler_c_o=yes
8866 # SGI C++ compiler will create directory out/ii_files/ for
8867 # template instantiation
8868 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8869 $RM out/* && rmdir out
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8876 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8884 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8885 if ${lt_cv_prog_compiler_c_o+:} false; then :
8886 $as_echo_n "(cached) " >&6
8888 lt_cv_prog_compiler_c_o=no
8889 $RM -r conftest 2>/dev/null
8893 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8895 lt_compiler_flag="-o out/conftest2.$ac_objext"
8896 # Insert the option either (1) after the last *FLAGS variable, or
8897 # (2) before a word containing "conftest.", or (3) at the end.
8898 # Note that $ac_compile itself does not contain backslashes and begins
8899 # with a dollar sign (not a hyphen), so the echo should work correctly.
8900 lt_compile=`echo "$ac_compile" | $SED \
8901 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8902 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8903 -e 's:$: $lt_compiler_flag:'`
8904 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8905 (eval "$lt_compile" 2>out/conftest.err)
8907 cat out/conftest.err >&5
8908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8909 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8911 # The compiler can only warn and ignore the option if not recognized
8912 # So say no if there are warnings
8913 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8914 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8915 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8916 lt_cv_prog_compiler_c_o=yes
8921 # SGI C++ compiler will create directory out/ii_files/ for
8922 # template instantiation
8923 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8924 $RM out/* && rmdir out
8930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8931 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8936 hard_links="nottested"
8937 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8938 # do not overwrite the value of need_locks provided by the user
8939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8940 $as_echo_n "checking if we can lock with hard links... " >&6; }
8943 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8945 ln conftest.a conftest.b 2>&5 || hard_links=no
8946 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8948 $as_echo "$hard_links" >&6; }
8949 if test "$hard_links" = no; then
8950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8951 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8964 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8967 allow_undefined_flag=
8968 always_export_symbols=no
8970 archive_expsym_cmds=
8971 compiler_needs_object=no
8972 enable_shared_with_static_runtimes=no
8973 export_dynamic_flag_spec=
8974 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8975 hardcode_automatic=no
8977 hardcode_direct_absolute=no
8978 hardcode_libdir_flag_spec=
8979 hardcode_libdir_separator=
8981 hardcode_shlibpath_var=unsupported
8983 link_all_deplibs=unknown
8986 old_archive_from_new_cmds=
8987 old_archive_from_expsyms_cmds=
8988 thread_safe_flag_spec=
8989 whole_archive_flag_spec=
8990 # include_expsyms should be a list of space-separated symbols to be *always*
8991 # included in the symbol list
8993 # exclude_expsyms can be an extended regexp of symbols to exclude
8994 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8995 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8996 # as well as any symbol that contains `d'.
8997 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8998 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8999 # platforms (ab)use it in PIC code, but their linkers get confused if
9000 # the symbol is explicitly referenced. Since portable code cannot
9001 # rely on this symbol name, it's probably fine to never include it in
9002 # preloaded symbol tables.
9003 # Exclude shared library initialization/finalization symbols.
9004 extract_expsyms_cmds=
9007 cygwin* | mingw* | pw32* | cegcc*)
9008 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9009 # When not using gcc, we currently assume that we are using
9010 # Microsoft Visual C++.
9011 if test "$GCC" != yes; then
9016 # we just hope/assume this is gcc and not c89 (= MSVC++)
9026 # On some targets, GNU ld is compatible enough with the native linker
9027 # that we're better off using the native interface for both.
9028 lt_use_gnu_ld_interface=no
9029 if test "$with_gnu_ld" = yes; then
9032 # The AIX port of GNU ld has always aspired to compatibility
9033 # with the native linker. However, as the warning in the GNU ld
9034 # block says, versions before 2.19.5* couldn't really create working
9035 # shared libraries, regardless of the interface used.
9036 case `$LD -v 2>&1` in
9037 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9038 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9039 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9041 lt_use_gnu_ld_interface=yes
9046 lt_use_gnu_ld_interface=yes
9051 if test "$lt_use_gnu_ld_interface" = yes; then
9052 # If archive_cmds runs LD, not CC, wlarc should be empty
9055 # Set some defaults for GNU ld with shared library support. These
9056 # are reset later if shared libraries are not supported. Putting them
9057 # here allows them to be overridden if necessary.
9058 runpath_var=LD_RUN_PATH
9059 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9060 export_dynamic_flag_spec='${wl}--export-dynamic'
9061 # ancient GNU ld didn't support --whole-archive et. al.
9062 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9063 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9065 whole_archive_flag_spec=
9067 supports_anon_versioning=no
9068 case `$LD -v 2>&1` in
9069 *GNU\ gold*) supports_anon_versioning=yes ;;
9070 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9071 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9072 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9073 *\ 2.11.*) ;; # other 2.11 versions
9074 *) supports_anon_versioning=yes ;;
9077 # See if GNU ld supports shared libraries.
9080 # On AIX/PPC, the GNU linker is very broken
9081 if test "$host_cpu" != ia64; then
9085 *** Warning: the GNU linker, at least up to release 2.19, is reported
9086 *** to be unable to reliably create shared libraries on AIX.
9087 *** Therefore, libtool is disabling shared libraries support. If you
9088 *** really care for shared libraries, you may want to install binutils
9089 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9090 *** You will then need to restart the configuration process.
9099 # see comment about AmigaOS4 .so support
9100 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9101 archive_expsym_cmds=''
9104 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)'
9105 hardcode_libdir_flag_spec='-L$libdir'
9106 hardcode_minus_L=yes
9112 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9113 allow_undefined_flag=unsupported
9114 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9115 # support --undefined. This deserves some investigation. FIXME
9116 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9122 cygwin* | mingw* | pw32* | cegcc*)
9123 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9124 # as there is no search path for DLLs.
9125 hardcode_libdir_flag_spec='-L$libdir'
9126 export_dynamic_flag_spec='${wl}--export-all-symbols'
9127 allow_undefined_flag=unsupported
9128 always_export_symbols=no
9129 enable_shared_with_static_runtimes=yes
9130 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'
9131 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9133 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9134 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9135 # If the export-symbols file already is a .def file (1st line
9136 # is EXPORTS), use it as is; otherwise, prepend...
9137 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9138 cp $export_symbols $output_objdir/$soname.def;
9140 echo EXPORTS > $output_objdir/$soname.def;
9141 cat $export_symbols >> $output_objdir/$soname.def;
9143 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9150 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9151 link_all_deplibs=yes
9156 hardcode_shlibpath_var=no
9157 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9158 export_dynamic_flag_spec='${wl}-E'
9159 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9160 # Instead, shared libraries are loaded at an image base (0x10000000 by
9161 # default) and relocated if they conflict, which is a slow very memory
9162 # consuming and fragmenting process. To avoid this, we pick a random,
9163 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9164 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9165 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9166 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'
9169 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9171 if test "$host_os" = linux-dietlibc; then
9172 case $cc_basename in
9173 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9176 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9177 && test "$tmp_diet" = no
9179 tmp_addflag=' $pic_flag'
9180 tmp_sharedflag='-shared'
9181 case $cc_basename,$host_cpu in
9182 pgcc*) # Portland Group C compiler
9183 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'
9184 tmp_addflag=' $pic_flag'
9186 pgf77* | pgf90* | pgf95* | pgfortran*)
9187 # Portland Group f77 and f90 compilers
9188 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'
9189 tmp_addflag=' $pic_flag -Mnomain' ;;
9190 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9191 tmp_addflag=' -i_dynamic' ;;
9192 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9193 tmp_addflag=' -i_dynamic -nofor_main' ;;
9194 ifc* | ifort*) # Intel Fortran compiler
9195 tmp_addflag=' -nofor_main' ;;
9196 lf95*) # Lahey Fortran 8.1
9197 whole_archive_flag_spec=
9198 tmp_sharedflag='--shared' ;;
9199 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9200 tmp_sharedflag='-qmkshrobj'
9202 nvcc*) # Cuda Compiler Driver 2.2
9203 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'
9204 compiler_needs_object=yes
9207 case `$CC -V 2>&1 | sed 5q` in
9208 *Sun\ C*) # Sun C 5.9
9209 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'
9210 compiler_needs_object=yes
9211 tmp_sharedflag='-G' ;;
9212 *Sun\ F*) # Sun Fortran 8.3
9213 tmp_sharedflag='-G' ;;
9215 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9217 if test "x$supports_anon_versioning" = xyes; then
9218 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9219 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9220 echo "local: *; };" >> $output_objdir/$libname.ver~
9221 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9224 case $cc_basename in
9225 xlf* | bgf* | bgxlf* | mpixlf*)
9226 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9227 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9228 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9229 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9230 if test "x$supports_anon_versioning" = xyes; then
9231 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9232 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9233 echo "local: *; };" >> $output_objdir/$libname.ver~
9234 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9244 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9245 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9248 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9249 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9254 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9258 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9259 *** create shared libraries on Solaris systems. Therefore, libtool
9260 *** is disabling shared libraries support. We urge you to upgrade GNU
9261 *** binutils to release 2.9.1 or newer. Another option is to modify
9262 *** your PATH or compiler configuration so that the native linker is
9263 *** used, and then restart.
9266 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9267 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9268 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9274 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9275 case `$LD -v 2>&1` in
9276 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9280 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9281 *** reliably create shared libraries on SCO systems. Therefore, libtool
9282 *** is disabling shared libraries support. We urge you to upgrade GNU
9283 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9284 *** your PATH or compiler configuration so that the native linker is
9285 *** used, and then restart.
9290 # For security reasons, it is highly recommended that you always
9291 # use absolute paths for naming shared libraries, and exclude the
9292 # DT_RUNPATH tag from executables and libraries. But doing so
9293 # requires that you compile everything twice, which is a pain.
9294 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9295 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9296 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9297 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9306 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9309 hardcode_shlibpath_var=no
9313 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9314 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9315 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9322 if test "$ld_shlibs" = no; then
9324 hardcode_libdir_flag_spec=
9325 export_dynamic_flag_spec=
9326 whole_archive_flag_spec=
9329 # PORTME fill in a description of your system's linker (not GNU ld)
9332 allow_undefined_flag=unsupported
9333 always_export_symbols=yes
9334 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'
9335 # Note: this linker hardcodes the directories in LIBPATH if there
9336 # are no directories specified by -L.
9337 hardcode_minus_L=yes
9338 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9339 # Neither direct hardcoding nor static linking is supported with a
9341 hardcode_direct=unsupported
9346 if test "$host_cpu" = ia64; then
9347 # On IA64, the linker does run time linking by default, so we don't
9348 # have to do anything special.
9349 aix_use_runtimelinking=no
9350 exp_sym_flag='-Bexport'
9353 # If we're using GNU nm, then we don't want the "-C" option.
9354 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9355 # Also, AIX nm treats weak defined symbols like other global
9356 # defined symbols, whereas GNU nm marks them as "W".
9357 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9358 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'
9360 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'
9362 aix_use_runtimelinking=no
9364 # Test if we are trying to use run time linking or normal
9365 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9366 # need to do runtime linking.
9367 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9368 for ld_flag in $LDFLAGS; do
9369 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9370 aix_use_runtimelinking=yes
9377 exp_sym_flag='-bexport'
9378 no_entry_flag='-bnoentry'
9381 # When large executables or shared objects are built, AIX ld can
9382 # have problems creating the table of contents. If linking a library
9383 # or program results in "error TOC overflow" add -mminimal-toc to
9384 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9385 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9389 hardcode_direct_absolute=yes
9390 hardcode_libdir_separator=':'
9391 link_all_deplibs=yes
9392 file_list_spec='${wl}-f,'
9394 if test "$GCC" = yes; then
9395 case $host_os in aix4.[012]|aix4.[012].*)
9396 # We only want to do this on AIX 4.2 and lower, the check
9397 # below for broken collect2 doesn't work under 4.3+
9398 collect2name=`${CC} -print-prog-name=collect2`
9399 if test -f "$collect2name" &&
9400 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9402 # We have reworked collect2
9405 # We have old collect2
9406 hardcode_direct=unsupported
9407 # It fails to find uninstalled libraries when the uninstalled
9408 # path is not listed in the libpath. Setting hardcode_minus_L
9409 # to unsupported forces relinking
9410 hardcode_minus_L=yes
9411 hardcode_libdir_flag_spec='-L$libdir'
9412 hardcode_libdir_separator=
9416 shared_flag='-shared'
9417 if test "$aix_use_runtimelinking" = yes; then
9418 shared_flag="$shared_flag "'${wl}-G'
9422 if test "$host_cpu" = ia64; then
9423 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9424 # chokes on -Wl,-G. The following line is correct:
9427 if test "$aix_use_runtimelinking" = yes; then
9428 shared_flag='${wl}-G'
9430 shared_flag='${wl}-bM:SRE'
9435 export_dynamic_flag_spec='${wl}-bexpall'
9436 # It seems that -bexpall does not export symbols beginning with
9437 # underscore (_), so it is better to generate a list of symbols to export.
9438 always_export_symbols=yes
9439 if test "$aix_use_runtimelinking" = yes; then
9440 # Warning - without using the other runtime loading flags (-brtl),
9441 # -berok will link without error, but may produce a broken library.
9442 allow_undefined_flag='-berok'
9443 # Determine the default libpath from the value encoded in an
9445 if test "${lt_cv_aix_libpath+set}" = set; then
9446 aix_libpath=$lt_cv_aix_libpath
9448 if ${lt_cv_aix_libpath_+:} false; then :
9449 $as_echo_n "(cached) " >&6
9451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9452 /* end confdefs.h. */
9462 if ac_fn_c_try_link "$LINENO"; then :
9464 lt_aix_libpath_sed='
9465 /Import File Strings/,/^$/ {
9467 s/^0 *\([^ ]*\) *$/\1/
9471 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9472 # Check for a 64-bit object if we didn't find anything.
9473 if test -z "$lt_cv_aix_libpath_"; then
9474 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9477 rm -f core conftest.err conftest.$ac_objext \
9478 conftest$ac_exeext conftest.$ac_ext
9479 if test -z "$lt_cv_aix_libpath_"; then
9480 lt_cv_aix_libpath_="/usr/lib:/lib"
9485 aix_libpath=$lt_cv_aix_libpath_
9488 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9489 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"
9491 if test "$host_cpu" = ia64; then
9492 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9493 allow_undefined_flag="-z nodefs"
9494 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"
9496 # Determine the default libpath from the value encoded in an
9498 if test "${lt_cv_aix_libpath+set}" = set; then
9499 aix_libpath=$lt_cv_aix_libpath
9501 if ${lt_cv_aix_libpath_+:} false; then :
9502 $as_echo_n "(cached) " >&6
9504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9505 /* end confdefs.h. */
9515 if ac_fn_c_try_link "$LINENO"; then :
9517 lt_aix_libpath_sed='
9518 /Import File Strings/,/^$/ {
9520 s/^0 *\([^ ]*\) *$/\1/
9524 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9525 # Check for a 64-bit object if we didn't find anything.
9526 if test -z "$lt_cv_aix_libpath_"; then
9527 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9530 rm -f core conftest.err conftest.$ac_objext \
9531 conftest$ac_exeext conftest.$ac_ext
9532 if test -z "$lt_cv_aix_libpath_"; then
9533 lt_cv_aix_libpath_="/usr/lib:/lib"
9538 aix_libpath=$lt_cv_aix_libpath_
9541 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9542 # Warning - without using the other run time loading flags,
9543 # -berok will link without error, but may produce a broken library.
9544 no_undefined_flag=' ${wl}-bernotok'
9545 allow_undefined_flag=' ${wl}-berok'
9546 if test "$with_gnu_ld" = yes; then
9547 # We only use this code for GNU lds that support --whole-archive.
9548 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9550 # Exported symbols can be pulled into shared objects from archives
9551 whole_archive_flag_spec='$convenience'
9553 archive_cmds_need_lc=yes
9554 # This is similar to how AIX traditionally builds its shared libraries.
9555 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'
9563 # see comment about AmigaOS4 .so support
9564 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9565 archive_expsym_cmds=''
9568 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)'
9569 hardcode_libdir_flag_spec='-L$libdir'
9570 hardcode_minus_L=yes
9576 export_dynamic_flag_spec=-rdynamic
9579 cygwin* | mingw* | pw32* | cegcc*)
9580 # When not using gcc, we currently assume that we are using
9581 # Microsoft Visual C++.
9582 # hardcode_libdir_flag_spec is actually meaningless, as there is
9583 # no search path for DLLs.
9584 case $cc_basename in
9587 hardcode_libdir_flag_spec=' '
9588 allow_undefined_flag=unsupported
9589 always_export_symbols=yes
9591 # Tell ltmain to make .lib files, not .a files.
9593 # Tell ltmain to make .dll files, not .so files.
9595 # FIXME: Setting linknames here is a bad hack.
9596 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9597 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9598 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9600 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9602 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9604 # The linker will not automatically build a static lib if we build a DLL.
9605 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9606 enable_shared_with_static_runtimes=yes
9607 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9608 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9610 old_postinstall_cmds='chmod 644 $oldlib'
9611 postlink_cmds='lt_outputfile="@OUTPUT@"~
9612 lt_tool_outputfile="@TOOL_OUTPUT@"~
9613 case $lt_outputfile in
9616 lt_outputfile="$lt_outputfile.exe"
9617 lt_tool_outputfile="$lt_tool_outputfile.exe"
9620 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9621 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9622 $RM "$lt_outputfile.manifest";
9626 # Assume MSVC wrapper
9627 hardcode_libdir_flag_spec=' '
9628 allow_undefined_flag=unsupported
9629 # Tell ltmain to make .lib files, not .a files.
9631 # Tell ltmain to make .dll files, not .so files.
9633 # FIXME: Setting linknames here is a bad hack.
9634 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9635 # The linker will automatically build a .lib file if we build a DLL.
9636 old_archive_from_new_cmds='true'
9637 # FIXME: Should let the user specify the lib program.
9638 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9639 enable_shared_with_static_runtimes=yes
9644 darwin* | rhapsody*)
9647 archive_cmds_need_lc=no
9649 hardcode_automatic=yes
9650 hardcode_shlibpath_var=unsupported
9651 if test "$lt_cv_ld_force_load" = "yes"; then
9652 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\"`'
9655 whole_archive_flag_spec=''
9657 link_all_deplibs=yes
9658 allow_undefined_flag="$_lt_dar_allow_undefined"
9659 case $cc_basename in
9660 ifort*) _lt_dar_can_shared=yes ;;
9661 *) _lt_dar_can_shared=$GCC ;;
9663 if test "$_lt_dar_can_shared" = "yes"; then
9664 output_verbose_link_cmd=func_echo_all
9665 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9666 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9667 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}"
9668 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}"
9677 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9678 hardcode_libdir_flag_spec='-L$libdir'
9679 hardcode_shlibpath_var=no
9682 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9683 # support. Future versions do this automatically, but an explicit c++rt0.o
9684 # does not break anything, and helps significantly (at the cost of a little
9687 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9688 hardcode_libdir_flag_spec='-R$libdir'
9690 hardcode_shlibpath_var=no
9693 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9695 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9697 hardcode_minus_L=yes
9698 hardcode_shlibpath_var=no
9701 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9702 freebsd* | dragonfly*)
9703 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9704 hardcode_libdir_flag_spec='-R$libdir'
9706 hardcode_shlibpath_var=no
9710 if test "$GCC" = yes; then
9711 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'
9713 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'
9715 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9716 hardcode_libdir_separator=:
9719 # hardcode_minus_L: Not really in the search PATH,
9720 # but as the default location of the library.
9721 hardcode_minus_L=yes
9722 export_dynamic_flag_spec='${wl}-E'
9726 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9727 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9729 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9731 if test "$with_gnu_ld" = no; then
9732 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9733 hardcode_libdir_separator=:
9735 hardcode_direct_absolute=yes
9736 export_dynamic_flag_spec='${wl}-E'
9737 # hardcode_minus_L: Not really in the search PATH,
9738 # but as the default location of the library.
9739 hardcode_minus_L=yes
9744 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9747 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9750 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9753 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9759 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9762 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9766 # Older versions of the 11.00 compiler do not understand -b yet
9767 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9769 $as_echo_n "checking if $CC understands -b... " >&6; }
9770 if ${lt_cv_prog_compiler__b+:} false; then :
9771 $as_echo_n "(cached) " >&6
9773 lt_cv_prog_compiler__b=no
9774 save_LDFLAGS="$LDFLAGS"
9775 LDFLAGS="$LDFLAGS -b"
9776 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9777 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9778 # The linker can only warn and ignore the option if not recognized
9779 # So say no if there are warnings
9780 if test -s conftest.err; then
9781 # Append any errors to the config.log.
9782 cat conftest.err 1>&5
9783 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9784 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9785 if diff conftest.exp conftest.er2 >/dev/null; then
9786 lt_cv_prog_compiler__b=yes
9789 lt_cv_prog_compiler__b=yes
9793 LDFLAGS="$save_LDFLAGS"
9796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9797 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9799 if test x"$lt_cv_prog_compiler__b" = xyes; then
9800 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9802 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9808 if test "$with_gnu_ld" = no; then
9809 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9810 hardcode_libdir_separator=:
9815 hardcode_shlibpath_var=no
9819 hardcode_direct_absolute=yes
9820 export_dynamic_flag_spec='${wl}-E'
9822 # hardcode_minus_L: Not really in the search PATH,
9823 # but as the default location of the library.
9824 hardcode_minus_L=yes
9830 irix5* | irix6* | nonstopux*)
9831 if test "$GCC" = yes; then
9832 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'
9833 # Try to use the -exported_symbol ld option, if it does not
9834 # work, assume that -exports_file does not work either and
9835 # implicitly export all symbols.
9836 # This should be the same for all languages, so no per-tag cache variable.
9837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9838 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9839 if ${lt_cv_irix_exported_symbol+:} false; then :
9840 $as_echo_n "(cached) " >&6
9842 save_LDFLAGS="$LDFLAGS"
9843 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9845 /* end confdefs.h. */
9846 int foo (void) { return 0; }
9848 if ac_fn_c_try_link "$LINENO"; then :
9849 lt_cv_irix_exported_symbol=yes
9851 lt_cv_irix_exported_symbol=no
9853 rm -f core conftest.err conftest.$ac_objext \
9854 conftest$ac_exeext conftest.$ac_ext
9855 LDFLAGS="$save_LDFLAGS"
9857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9858 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9859 if test "$lt_cv_irix_exported_symbol" = yes; then
9860 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'
9863 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'
9864 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'
9866 archive_cmds_need_lc='no'
9867 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9868 hardcode_libdir_separator=:
9870 link_all_deplibs=yes
9874 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9875 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9877 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9879 hardcode_libdir_flag_spec='-R$libdir'
9881 hardcode_shlibpath_var=no
9885 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9887 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9888 hardcode_libdir_separator=:
9889 hardcode_shlibpath_var=no
9896 if test -f /usr/libexec/ld.so; then
9898 hardcode_shlibpath_var=no
9899 hardcode_direct_absolute=yes
9900 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9901 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9902 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9903 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9904 export_dynamic_flag_spec='${wl}-E'
9907 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9908 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9909 hardcode_libdir_flag_spec='-R$libdir'
9912 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9913 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9923 hardcode_libdir_flag_spec='-L$libdir'
9924 hardcode_minus_L=yes
9925 allow_undefined_flag=unsupported
9926 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'
9927 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9931 if test "$GCC" = yes; then
9932 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9933 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'
9935 allow_undefined_flag=' -expect_unresolved \*'
9936 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'
9938 archive_cmds_need_lc='no'
9939 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9940 hardcode_libdir_separator=:
9943 osf4* | osf5*) # as osf3* with the addition of -msym flag
9944 if test "$GCC" = yes; then
9945 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9946 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'
9947 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9949 allow_undefined_flag=' -expect_unresolved \*'
9950 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'
9951 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~
9952 $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'
9954 # Both c and cxx compiler support -rpath directly
9955 hardcode_libdir_flag_spec='-rpath $libdir'
9957 archive_cmds_need_lc='no'
9958 hardcode_libdir_separator=:
9962 no_undefined_flag=' -z defs'
9963 if test "$GCC" = yes; then
9965 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9966 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9967 $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'
9969 case `$CC -V 2>&1` in
9972 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9973 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9974 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9978 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9979 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9980 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9984 hardcode_libdir_flag_spec='-R$libdir'
9985 hardcode_shlibpath_var=no
9987 solaris2.[0-5] | solaris2.[0-5].*) ;;
9989 # The compiler driver will combine and reorder linker options,
9990 # but understands `-z linker_flag'. GCC discards it without `$wl',
9991 # but is careful enough not to reorder.
9992 # Supported since Solaris 2.6 (maybe 2.5.1?)
9993 if test "$GCC" = yes; then
9994 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9996 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10000 link_all_deplibs=yes
10004 if test "x$host_vendor" = xsequent; then
10005 # Use $CC to link under sequent, because it throws in some extra .o
10006 # files that make .init and .fini sections work.
10007 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10009 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10011 hardcode_libdir_flag_spec='-L$libdir'
10012 hardcode_direct=yes
10013 hardcode_minus_L=yes
10014 hardcode_shlibpath_var=no
10018 case $host_vendor in
10020 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10021 hardcode_direct=yes # is this really true???
10024 ## LD is ld it makes a PLAMLIB
10025 ## CC just makes a GrossModule.
10026 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10027 reload_cmds='$CC -r -o $output$reload_objs'
10031 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10032 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10035 runpath_var='LD_RUN_PATH'
10036 hardcode_shlibpath_var=no
10040 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10041 hardcode_shlibpath_var=no
10042 export_dynamic_flag_spec='-Bexport'
10046 if test -d /usr/nec; then
10047 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10048 hardcode_shlibpath_var=no
10049 runpath_var=LD_RUN_PATH
10050 hardcode_runpath_var=yes
10055 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10056 no_undefined_flag='${wl}-z,text'
10057 archive_cmds_need_lc=no
10058 hardcode_shlibpath_var=no
10059 runpath_var='LD_RUN_PATH'
10061 if test "$GCC" = yes; then
10062 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10063 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10065 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10066 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10070 sysv5* | sco3.2v5* | sco5v6*)
10071 # Note: We can NOT use -z defs as we might desire, because we do not
10072 # link with -lc, and that would cause any symbols used from libc to
10073 # always be unresolved, which means just about no library would
10074 # ever link correctly. If we're not using GNU ld we use -z text
10075 # though, which does catch some bad symbols but isn't as heavy-handed
10077 no_undefined_flag='${wl}-z,text'
10078 allow_undefined_flag='${wl}-z,nodefs'
10079 archive_cmds_need_lc=no
10080 hardcode_shlibpath_var=no
10081 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10082 hardcode_libdir_separator=':'
10083 link_all_deplibs=yes
10084 export_dynamic_flag_spec='${wl}-Bexport'
10085 runpath_var='LD_RUN_PATH'
10087 if test "$GCC" = yes; then
10088 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10089 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10091 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10092 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10097 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10098 hardcode_libdir_flag_spec='-L$libdir'
10099 hardcode_shlibpath_var=no
10107 if test x$host_vendor = xsni; then
10109 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10110 export_dynamic_flag_spec='${wl}-Blargedynsym'
10116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10117 $as_echo "$ld_shlibs" >&6; }
10118 test "$ld_shlibs" = no && can_build_shared=no
10120 with_gnu_ld=$with_gnu_ld
10137 # Do we need to explicitly link libc?
10139 case "x$archive_cmds_need_lc" in
10141 # Assume -lc should be added
10142 archive_cmds_need_lc=yes
10144 if test "$enable_shared" = yes && test "$GCC" = yes; then
10145 case $archive_cmds in
10147 # FIXME: we may have to deal with multi-command sequences.
10150 # Test whether the compiler implicitly links with -lc since on some
10151 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10152 # to ld, don't add -lc before -lgcc.
10153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10154 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10155 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10156 $as_echo_n "(cached) " >&6
10159 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10161 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10162 (eval $ac_compile) 2>&5
10164 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10165 test $ac_status = 0; } 2>conftest.err; then
10168 libobjs=conftest.$ac_objext
10170 wl=$lt_prog_compiler_wl
10171 pic_flag=$lt_prog_compiler_pic
10177 lt_save_allow_undefined_flag=$allow_undefined_flag
10178 allow_undefined_flag=
10179 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10180 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10182 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10183 test $ac_status = 0; }
10185 lt_cv_archive_cmds_need_lc=no
10187 lt_cv_archive_cmds_need_lc=yes
10189 allow_undefined_flag=$lt_save_allow_undefined_flag
10191 cat conftest.err 1>&5
10196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10197 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10198 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10357 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10359 if test "$GCC" = yes; then
10361 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10362 *) lt_awk_arg="/^libraries:/" ;;
10365 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10366 *) lt_sed_strip_eq="s,=/,/,g" ;;
10368 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10369 case $lt_search_path_spec in
10371 # if the path contains ";" then we assume it to be the separator
10372 # otherwise default to the standard path separator (i.e. ":") - it is
10373 # assumed that no part of a normal pathname contains ";" but that should
10374 # okay in the real world where ";" in dirpaths is itself problematic.
10375 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10378 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10381 # Ok, now we have the path, separated by spaces, we can step through it
10382 # and add multilib dir if necessary.
10383 lt_tmp_lt_search_path_spec=
10384 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10385 for lt_sys_path in $lt_search_path_spec; do
10386 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10387 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10389 test -d "$lt_sys_path" && \
10390 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10393 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10394 BEGIN {RS=" "; FS="/|\n";} {
10397 for (lt_i = NF; lt_i > 0; lt_i--) {
10398 if ($lt_i != "" && $lt_i != ".") {
10399 if ($lt_i == "..") {
10402 if (lt_count == 0) {
10403 lt_foo="/" $lt_i lt_foo;
10410 if (lt_foo != "") { lt_freq[lt_foo]++; }
10411 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10413 # AWK program above erroneously prepends '/' to C:/dos/paths
10416 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10417 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10419 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10421 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10423 library_names_spec=
10424 libname_spec='lib$name'
10428 postuninstall_cmds=
10432 shlibpath_overrides_runpath=unknown
10434 dynamic_linker="$host_os ld.so"
10435 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10436 need_lib_prefix=unknown
10437 hardcode_into_libs=no
10439 # when you set need_version to no, make sure it does not cause -set_version
10440 # flags to be left without arguments
10441 need_version=unknown
10445 version_type=linux # correct to gnu/linux during the next big refactor
10446 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10447 shlibpath_var=LIBPATH
10449 # AIX 3 has no versioning support, so we append a major version to the name.
10450 soname_spec='${libname}${release}${shared_ext}$major'
10454 version_type=linux # correct to gnu/linux during the next big refactor
10457 hardcode_into_libs=yes
10458 if test "$host_cpu" = ia64; then
10459 # AIX 5 supports IA64
10460 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10461 shlibpath_var=LD_LIBRARY_PATH
10463 # With GCC up to 2.95.x, collect2 would create an import file
10464 # for dependence libraries. The import file would start with
10465 # the line `#! .'. This would cause the generated library to
10466 # depend on `.', always an invalid library. This was fixed in
10467 # development snapshots of GCC prior to 3.0.
10469 aix4 | aix4.[01] | aix4.[01].*)
10470 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10472 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10475 can_build_shared=no
10479 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10480 # soname into executable. Probably we can add versioning support to
10481 # collect2, so additional links can be useful in future.
10482 if test "$aix_use_runtimelinking" = yes; then
10483 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10484 # instead of lib<name>.a to let people know that these are not
10485 # typical AIX shared libraries.
10486 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10488 # We preserve .a as extension for shared libraries through AIX4.2
10489 # and later when we are not doing run time linking.
10490 library_names_spec='${libname}${release}.a $libname.a'
10491 soname_spec='${libname}${release}${shared_ext}$major'
10493 shlibpath_var=LIBPATH
10500 # Since July 2007 AmigaOS4 officially supports .so libraries.
10501 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10502 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10505 library_names_spec='$libname.ixlibrary $libname.a'
10506 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10507 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'
10513 library_names_spec='${libname}${shared_ext}'
10514 dynamic_linker="$host_os ld.so"
10515 shlibpath_var=LIBRARY_PATH
10519 version_type=linux # correct to gnu/linux during the next big refactor
10521 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10522 soname_spec='${libname}${release}${shared_ext}$major'
10523 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10524 shlibpath_var=LD_LIBRARY_PATH
10525 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10526 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10527 # the default ld.so.conf also contains /usr/contrib/lib and
10528 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10529 # libtool to hard-code these into programs
10532 cygwin* | mingw* | pw32* | cegcc*)
10533 version_type=windows
10538 case $GCC,$cc_basename in
10541 library_names_spec='$libname.dll.a'
10542 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10543 postinstall_cmds='base_file=`basename \${file}`~
10544 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10545 dldir=$destdir/`dirname \$dlpath`~
10546 test -d \$dldir || mkdir -p \$dldir~
10547 $install_prog $dir/$dlname \$dldir/$dlname~
10548 chmod a+x \$dldir/$dlname~
10549 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10550 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10552 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10553 dlpath=$dir/\$dldll~
10555 shlibpath_overrides_runpath=yes
10559 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10560 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10562 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10565 # MinGW DLLs use traditional 'lib' prefix
10566 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10569 # pw32 DLLs use 'pw' prefix rather than 'lib'
10570 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10573 dynamic_linker='Win32 ld.exe'
10578 libname_spec='$name'
10579 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10580 library_names_spec='${libname}.dll.lib'
10584 sys_lib_search_path_spec=
10587 for lt_path in $LIB
10590 # Let DOS variable expansion print the short 8.3 style file name.
10591 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10592 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10595 # Convert to MSYS style.
10596 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10599 # Convert to unix form, then to dos form, then back to unix form
10600 # but this time dos style (no spaces!) so that the unix form looks
10601 # like /cygdrive/c/PROGRA~1:/cygdr...
10602 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10603 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10604 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10607 sys_lib_search_path_spec="$LIB"
10608 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10609 # It is most probably a Windows format PATH.
10610 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10612 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10614 # FIXME: find the short name or the path components, as spaces are
10615 # common. (e.g. "Program Files" -> "PROGRA~1")
10619 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10620 postinstall_cmds='base_file=`basename \${file}`~
10621 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10622 dldir=$destdir/`dirname \$dlpath`~
10623 test -d \$dldir || mkdir -p \$dldir~
10624 $install_prog $dir/$dlname \$dldir/$dlname'
10625 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10626 dlpath=$dir/\$dldll~
10628 shlibpath_overrides_runpath=yes
10629 dynamic_linker='Win32 link.exe'
10633 # Assume MSVC wrapper
10634 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10635 dynamic_linker='Win32 ld.exe'
10638 # FIXME: first we should search . and the directory the executable is in
10642 darwin* | rhapsody*)
10643 dynamic_linker="$host_os dyld"
10644 version_type=darwin
10647 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10648 soname_spec='${libname}${release}${major}$shared_ext'
10649 shlibpath_overrides_runpath=yes
10650 shlibpath_var=DYLD_LIBRARY_PATH
10651 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10653 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10654 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10658 version_type=linux # correct to gnu/linux during the next big refactor
10661 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10662 soname_spec='${libname}${release}${shared_ext}$major'
10663 shlibpath_var=LD_LIBRARY_PATH
10666 freebsd* | dragonfly*)
10667 # DragonFly does not have aout. When/if they implement a new
10668 # versioning mechanism, adjust this.
10669 if test -x /usr/bin/objformat; then
10670 objformat=`/usr/bin/objformat`
10673 freebsd[23].*) objformat=aout ;;
10674 *) objformat=elf ;;
10677 version_type=freebsd-$objformat
10678 case $version_type in
10680 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10685 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10689 shlibpath_var=LD_LIBRARY_PATH
10692 shlibpath_overrides_runpath=yes
10694 freebsd3.[01]* | freebsdelf3.[01]*)
10695 shlibpath_overrides_runpath=yes
10696 hardcode_into_libs=yes
10698 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10699 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10700 shlibpath_overrides_runpath=no
10701 hardcode_into_libs=yes
10703 *) # from 4.6 on, and DragonFly
10704 shlibpath_overrides_runpath=yes
10705 hardcode_into_libs=yes
10711 version_type=linux # correct to gnu/linux during the next big refactor
10714 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10715 soname_spec='${libname}${release}${shared_ext}$major'
10716 shlibpath_var=LD_LIBRARY_PATH
10717 shlibpath_overrides_runpath=no
10718 hardcode_into_libs=yes
10722 version_type=linux # correct to gnu/linux during the next big refactor
10725 dynamic_linker="$host_os runtime_loader"
10726 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10727 soname_spec='${libname}${release}${shared_ext}$major'
10728 shlibpath_var=LIBRARY_PATH
10729 shlibpath_overrides_runpath=yes
10730 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10731 hardcode_into_libs=yes
10734 hpux9* | hpux10* | hpux11*)
10735 # Give a soname corresponding to the major version so that dld.sl refuses to
10736 # link against other versions.
10743 hardcode_into_libs=yes
10744 dynamic_linker="$host_os dld.so"
10745 shlibpath_var=LD_LIBRARY_PATH
10746 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10747 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10748 soname_spec='${libname}${release}${shared_ext}$major'
10749 if test "X$HPUX_IA64_MODE" = X32; then
10750 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10752 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10754 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10758 hardcode_into_libs=yes
10759 dynamic_linker="$host_os dld.sl"
10760 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10761 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10762 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10763 soname_spec='${libname}${release}${shared_ext}$major'
10764 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10765 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10769 dynamic_linker="$host_os dld.sl"
10770 shlibpath_var=SHLIB_PATH
10771 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10772 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10773 soname_spec='${libname}${release}${shared_ext}$major'
10776 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10777 postinstall_cmds='chmod 555 $lib'
10778 # or fails outright, so override atomically:
10779 install_override_mode=555
10783 version_type=linux # correct to gnu/linux during the next big refactor
10786 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10787 soname_spec='${libname}${release}${shared_ext}$major'
10788 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10789 shlibpath_var=LD_LIBRARY_PATH
10790 shlibpath_overrides_runpath=no
10791 hardcode_into_libs=yes
10794 irix5* | irix6* | nonstopux*)
10796 nonstopux*) version_type=nonstopux ;;
10798 if test "$lt_cv_prog_gnu_ld" = yes; then
10799 version_type=linux # correct to gnu/linux during the next big refactor
10806 soname_spec='${libname}${release}${shared_ext}$major'
10807 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10809 irix5* | nonstopux*)
10810 libsuff= shlibsuff=
10813 case $LD in # libtool.m4 will add one of these switches to LD
10814 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10815 libsuff= shlibsuff= libmagic=32-bit;;
10816 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10817 libsuff=32 shlibsuff=N32 libmagic=N32;;
10818 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10819 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10820 *) libsuff= shlibsuff= libmagic=never-match;;
10824 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10825 shlibpath_overrides_runpath=no
10826 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10827 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10828 hardcode_into_libs=yes
10831 # No shared lib support for Linux oldld, aout, or coff.
10832 linux*oldld* | linux*aout* | linux*coff*)
10836 # This must be glibc/ELF.
10837 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10838 version_type=linux # correct to gnu/linux during the next big refactor
10841 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10842 soname_spec='${libname}${release}${shared_ext}$major'
10843 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10844 shlibpath_var=LD_LIBRARY_PATH
10845 shlibpath_overrides_runpath=no
10847 # Some binutils ld are patched to set DT_RUNPATH
10848 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10849 $as_echo_n "(cached) " >&6
10851 lt_cv_shlibpath_overrides_runpath=no
10852 save_LDFLAGS=$LDFLAGS
10853 save_libdir=$libdir
10854 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10855 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10857 /* end confdefs.h. */
10867 if ac_fn_c_try_link "$LINENO"; then :
10868 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10869 lt_cv_shlibpath_overrides_runpath=yes
10872 rm -f core conftest.err conftest.$ac_objext \
10873 conftest$ac_exeext conftest.$ac_ext
10874 LDFLAGS=$save_LDFLAGS
10875 libdir=$save_libdir
10879 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10881 # This implies no fast_install, which is unacceptable.
10882 # Some rework will be needed to allow for fast_install
10883 # before this can be enabled.
10884 hardcode_into_libs=yes
10886 # Add ABI-specific directories to the system library path.
10887 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
10889 # Append ld.so.conf contents to the search path
10890 if test -f /etc/ld.so.conf; then
10891 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' ' '`
10892 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10896 # We used to test for /lib/ld.so.1 and disable shared libraries on
10897 # powerpc, because MkLinux only supported shared libraries with the
10898 # GNU dynamic linker. Since this was broken with cross compilers,
10899 # most powerpc-linux boxes support dynamic linking these days and
10900 # people can always --disable-shared, the test was removed, and we
10901 # assume the GNU/Linux dynamic linker is in use.
10902 dynamic_linker='GNU/Linux ld.so'
10909 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10910 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10911 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10912 dynamic_linker='NetBSD (a.out) ld.so'
10914 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10915 soname_spec='${libname}${release}${shared_ext}$major'
10916 dynamic_linker='NetBSD ld.elf_so'
10918 shlibpath_var=LD_LIBRARY_PATH
10919 shlibpath_overrides_runpath=yes
10920 hardcode_into_libs=yes
10924 version_type=linux # correct to gnu/linux during the next big refactor
10925 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10926 shlibpath_var=LD_LIBRARY_PATH
10927 shlibpath_overrides_runpath=yes
10934 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10935 soname_spec='${libname}${release}${shared_ext}$major'
10936 shlibpath_var=LD_LIBRARY_PATH
10937 shlibpath_overrides_runpath=no
10938 hardcode_into_libs=yes
10939 dynamic_linker='ldqnx.so'
10944 sys_lib_dlsearch_path_spec="/usr/lib"
10946 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10948 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10949 *) need_version=no ;;
10951 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10952 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10953 shlibpath_var=LD_LIBRARY_PATH
10954 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10956 openbsd2.[89] | openbsd2.[89].*)
10957 shlibpath_overrides_runpath=no
10960 shlibpath_overrides_runpath=yes
10964 shlibpath_overrides_runpath=yes
10969 libname_spec='$name'
10972 library_names_spec='$libname${shared_ext} $libname.a'
10973 dynamic_linker='OS/2 ld.exe'
10974 shlibpath_var=LIBPATH
10977 osf3* | osf4* | osf5*)
10981 soname_spec='${libname}${release}${shared_ext}$major'
10982 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10983 shlibpath_var=LD_LIBRARY_PATH
10984 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10985 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10993 version_type=linux # correct to gnu/linux during the next big refactor
10996 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10997 soname_spec='${libname}${release}${shared_ext}$major'
10998 shlibpath_var=LD_LIBRARY_PATH
10999 shlibpath_overrides_runpath=yes
11000 hardcode_into_libs=yes
11001 # ldd complains unless libraries are executable
11002 postinstall_cmds='chmod +x $lib'
11007 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11008 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11009 shlibpath_var=LD_LIBRARY_PATH
11010 shlibpath_overrides_runpath=yes
11011 if test "$with_gnu_ld" = yes; then
11018 version_type=linux # correct to gnu/linux during the next big refactor
11019 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11020 soname_spec='${libname}${release}${shared_ext}$major'
11021 shlibpath_var=LD_LIBRARY_PATH
11022 case $host_vendor in
11024 shlibpath_overrides_runpath=no
11026 runpath_var=LD_RUN_PATH
11034 shlibpath_overrides_runpath=no
11035 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11041 if test -d /usr/nec ;then
11042 version_type=linux # correct to gnu/linux during the next big refactor
11043 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11044 soname_spec='$libname${shared_ext}.$major'
11045 shlibpath_var=LD_LIBRARY_PATH
11049 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11050 version_type=freebsd-elf
11053 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11054 soname_spec='${libname}${release}${shared_ext}$major'
11055 shlibpath_var=LD_LIBRARY_PATH
11056 shlibpath_overrides_runpath=yes
11057 hardcode_into_libs=yes
11058 if test "$with_gnu_ld" = yes; then
11059 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11061 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11064 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11068 sys_lib_dlsearch_path_spec='/usr/lib'
11072 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11073 version_type=linux # correct to gnu/linux during the next big refactor
11076 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11077 shlibpath_var=LD_LIBRARY_PATH
11078 shlibpath_overrides_runpath=no
11079 hardcode_into_libs=yes
11083 version_type=linux # correct to gnu/linux during the next big refactor
11084 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11085 soname_spec='${libname}${release}${shared_ext}$major'
11086 shlibpath_var=LD_LIBRARY_PATH
11093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11094 $as_echo "$dynamic_linker" >&6; }
11095 test "$dynamic_linker" = no && can_build_shared=no
11097 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11098 if test "$GCC" = yes; then
11099 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11102 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11103 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11105 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11106 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11201 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11203 if test -n "$hardcode_libdir_flag_spec" ||
11204 test -n "$runpath_var" ||
11205 test "X$hardcode_automatic" = "Xyes" ; then
11207 # We can hardcode non-existent directories.
11208 if test "$hardcode_direct" != no &&
11209 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11210 # have to relink, otherwise we might link with an installed library
11211 # when we should be linking with a yet-to-be-installed one
11212 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11213 test "$hardcode_minus_L" != no; then
11214 # Linking always hardcodes the temporary library directory.
11215 hardcode_action=relink
11217 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11218 hardcode_action=immediate
11221 # We cannot hardcode anything, or else we can only hardcode existing
11223 hardcode_action=unsupported
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11226 $as_echo "$hardcode_action" >&6; }
11228 if test "$hardcode_action" = relink ||
11229 test "$inherit_rpath" = yes; then
11230 # Fast installation is not supported
11231 enable_fast_install=no
11232 elif test "$shlibpath_overrides_runpath" = yes ||
11233 test "$enable_shared" = no; then
11234 # Fast installation is not necessary
11235 enable_fast_install=needless
11243 if test "x$enable_dlopen" != xyes; then
11244 enable_dlopen=unknown
11245 enable_dlopen_self=unknown
11246 enable_dlopen_self_static=unknown
11253 lt_cv_dlopen="load_add_on"
11255 lt_cv_dlopen_self=yes
11258 mingw* | pw32* | cegcc*)
11259 lt_cv_dlopen="LoadLibrary"
11264 lt_cv_dlopen="dlopen"
11269 # if libdl is installed we need to link against it
11270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11271 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11272 if ${ac_cv_lib_dl_dlopen+:} false; then :
11273 $as_echo_n "(cached) " >&6
11275 ac_check_lib_save_LIBS=$LIBS
11277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11278 /* end confdefs.h. */
11280 /* Override any GCC internal prototype to avoid an error.
11281 Use char because int might match the return type of a GCC
11282 builtin and then its argument prototype would still apply. */
11295 if ac_fn_c_try_link "$LINENO"; then :
11296 ac_cv_lib_dl_dlopen=yes
11298 ac_cv_lib_dl_dlopen=no
11300 rm -f core conftest.err conftest.$ac_objext \
11301 conftest$ac_exeext conftest.$ac_ext
11302 LIBS=$ac_check_lib_save_LIBS
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11305 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11306 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11307 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11310 lt_cv_dlopen="dyld"
11312 lt_cv_dlopen_self=yes
11319 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11320 if test "x$ac_cv_func_shl_load" = xyes; then :
11321 lt_cv_dlopen="shl_load"
11323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11324 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11325 if ${ac_cv_lib_dld_shl_load+:} false; then :
11326 $as_echo_n "(cached) " >&6
11328 ac_check_lib_save_LIBS=$LIBS
11330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11331 /* end confdefs.h. */
11333 /* Override any GCC internal prototype to avoid an error.
11334 Use char because int might match the return type of a GCC
11335 builtin and then its argument prototype would still apply. */
11343 return shl_load ();
11348 if ac_fn_c_try_link "$LINENO"; then :
11349 ac_cv_lib_dld_shl_load=yes
11351 ac_cv_lib_dld_shl_load=no
11353 rm -f core conftest.err conftest.$ac_objext \
11354 conftest$ac_exeext conftest.$ac_ext
11355 LIBS=$ac_check_lib_save_LIBS
11357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11358 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11359 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11360 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11362 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11363 if test "x$ac_cv_func_dlopen" = xyes; then :
11364 lt_cv_dlopen="dlopen"
11366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11367 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11368 if ${ac_cv_lib_dl_dlopen+:} false; then :
11369 $as_echo_n "(cached) " >&6
11371 ac_check_lib_save_LIBS=$LIBS
11373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11374 /* end confdefs.h. */
11376 /* Override any GCC internal prototype to avoid an error.
11377 Use char because int might match the return type of a GCC
11378 builtin and then its argument prototype would still apply. */
11391 if ac_fn_c_try_link "$LINENO"; then :
11392 ac_cv_lib_dl_dlopen=yes
11394 ac_cv_lib_dl_dlopen=no
11396 rm -f core conftest.err conftest.$ac_objext \
11397 conftest$ac_exeext conftest.$ac_ext
11398 LIBS=$ac_check_lib_save_LIBS
11400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11401 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11402 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11403 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11406 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11407 if ${ac_cv_lib_svld_dlopen+:} false; then :
11408 $as_echo_n "(cached) " >&6
11410 ac_check_lib_save_LIBS=$LIBS
11411 LIBS="-lsvld $LIBS"
11412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11413 /* end confdefs.h. */
11415 /* Override any GCC internal prototype to avoid an error.
11416 Use char because int might match the return type of a GCC
11417 builtin and then its argument prototype would still apply. */
11430 if ac_fn_c_try_link "$LINENO"; then :
11431 ac_cv_lib_svld_dlopen=yes
11433 ac_cv_lib_svld_dlopen=no
11435 rm -f core conftest.err conftest.$ac_objext \
11436 conftest$ac_exeext conftest.$ac_ext
11437 LIBS=$ac_check_lib_save_LIBS
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11440 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11441 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11442 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11445 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11446 if ${ac_cv_lib_dld_dld_link+:} false; then :
11447 $as_echo_n "(cached) " >&6
11449 ac_check_lib_save_LIBS=$LIBS
11451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11452 /* end confdefs.h. */
11454 /* Override any GCC internal prototype to avoid an error.
11455 Use char because int might match the return type of a GCC
11456 builtin and then its argument prototype would still apply. */
11464 return dld_link ();
11469 if ac_fn_c_try_link "$LINENO"; then :
11470 ac_cv_lib_dld_dld_link=yes
11472 ac_cv_lib_dld_dld_link=no
11474 rm -f core conftest.err conftest.$ac_objext \
11475 conftest$ac_exeext conftest.$ac_ext
11476 LIBS=$ac_check_lib_save_LIBS
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11479 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11480 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11481 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11502 if test "x$lt_cv_dlopen" != xno; then
11508 case $lt_cv_dlopen in
11510 save_CPPFLAGS="$CPPFLAGS"
11511 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11513 save_LDFLAGS="$LDFLAGS"
11514 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11517 LIBS="$lt_cv_dlopen_libs $LIBS"
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11520 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11521 if ${lt_cv_dlopen_self+:} false; then :
11522 $as_echo_n "(cached) " >&6
11524 if test "$cross_compiling" = yes; then :
11525 lt_cv_dlopen_self=cross
11527 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11528 lt_status=$lt_dlunknown
11529 cat > conftest.$ac_ext <<_LT_EOF
11530 #line $LINENO "configure"
11531 #include "confdefs.h"
11540 # define LT_DLGLOBAL RTLD_GLOBAL
11543 # define LT_DLGLOBAL DL_GLOBAL
11545 # define LT_DLGLOBAL 0
11549 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11550 find out it does not work in some platform. */
11551 #ifndef LT_DLLAZY_OR_NOW
11553 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11556 # define LT_DLLAZY_OR_NOW DL_LAZY
11559 # define LT_DLLAZY_OR_NOW RTLD_NOW
11562 # define LT_DLLAZY_OR_NOW DL_NOW
11564 # define LT_DLLAZY_OR_NOW 0
11571 /* When -fvisbility=hidden is used, assume the code has been annotated
11572 correspondingly for the symbols needed. */
11573 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11574 int fnord () __attribute__((visibility("default")));
11577 int fnord () { return 42; }
11580 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11581 int status = $lt_dlunknown;
11585 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11588 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11589 else puts (dlerror ());
11591 /* dlclose (self); */
11599 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11600 (eval $ac_link) 2>&5
11602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11603 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11604 (./conftest; exit; ) >&5 2>/dev/null
11606 case x$lt_status in
11607 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11608 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11609 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11612 # compilation failed
11613 lt_cv_dlopen_self=no
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11621 $as_echo "$lt_cv_dlopen_self" >&6; }
11623 if test "x$lt_cv_dlopen_self" = xyes; then
11624 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11626 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11627 if ${lt_cv_dlopen_self_static+:} false; then :
11628 $as_echo_n "(cached) " >&6
11630 if test "$cross_compiling" = yes; then :
11631 lt_cv_dlopen_self_static=cross
11633 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11634 lt_status=$lt_dlunknown
11635 cat > conftest.$ac_ext <<_LT_EOF
11636 #line $LINENO "configure"
11637 #include "confdefs.h"
11646 # define LT_DLGLOBAL RTLD_GLOBAL
11649 # define LT_DLGLOBAL DL_GLOBAL
11651 # define LT_DLGLOBAL 0
11655 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11656 find out it does not work in some platform. */
11657 #ifndef LT_DLLAZY_OR_NOW
11659 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11662 # define LT_DLLAZY_OR_NOW DL_LAZY
11665 # define LT_DLLAZY_OR_NOW RTLD_NOW
11668 # define LT_DLLAZY_OR_NOW DL_NOW
11670 # define LT_DLLAZY_OR_NOW 0
11677 /* When -fvisbility=hidden is used, assume the code has been annotated
11678 correspondingly for the symbols needed. */
11679 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11680 int fnord () __attribute__((visibility("default")));
11683 int fnord () { return 42; }
11686 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11687 int status = $lt_dlunknown;
11691 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11694 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11695 else puts (dlerror ());
11697 /* dlclose (self); */
11705 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11706 (eval $ac_link) 2>&5
11708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11709 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11710 (./conftest; exit; ) >&5 2>/dev/null
11712 case x$lt_status in
11713 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11714 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11715 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11718 # compilation failed
11719 lt_cv_dlopen_self_static=no
11726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11727 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11730 CPPFLAGS="$save_CPPFLAGS"
11731 LDFLAGS="$save_LDFLAGS"
11736 case $lt_cv_dlopen_self in
11737 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11738 *) enable_dlopen_self=unknown ;;
11741 case $lt_cv_dlopen_self_static in
11742 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11743 *) enable_dlopen_self_static=unknown ;;
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11766 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11767 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11768 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11769 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11771 $as_echo "yes" >&6; }
11773 # FIXME - insert some real tests, host_os isn't really good enough
11776 if test -n "$STRIP" ; then
11777 striplib="$STRIP -x"
11778 old_striplib="$STRIP -S"
11779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11780 $as_echo "yes" >&6; }
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11783 $as_echo "no" >&6; }
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11788 $as_echo "no" >&6; }
11804 # Report which library types will actually be built
11805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11806 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11808 $as_echo "$can_build_shared" >&6; }
11810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11811 $as_echo_n "checking whether to build shared libraries... " >&6; }
11812 test "$can_build_shared" = "no" && enable_shared=no
11814 # On AIX, shared libraries and static libraries use the same namespace, and
11815 # are all built from PIC.
11818 test "$enable_shared" = yes && enable_static=no
11819 if test -n "$RANLIB"; then
11820 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11821 postinstall_cmds='$RANLIB $lib'
11826 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11827 test "$enable_shared" = yes && enable_static=no
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11832 $as_echo "$enable_shared" >&6; }
11834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11835 $as_echo_n "checking whether to build static libraries... " >&6; }
11836 # Make sure either enable_shared or enable_static is yes.
11837 test "$enable_shared" = yes || enable_static=yes
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11839 $as_echo "$enable_static" >&6; }
11846 ac_cpp='$CPP $CPPFLAGS'
11847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11867 ac_config_commands="$ac_config_commands libtool"
11872 # Only expand once:
11876 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11877 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11881 cat >>confdefs.h <<_ACEOF
11886 cat >>confdefs.h <<_ACEOF
11891 cat >>confdefs.h <<_ACEOF
11896 cat >>confdefs.h <<_ACEOF
11900 version_info="8:8:7"
11904 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11905 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11909 ### Needed information
11915 want_econnman0_7x="yes"
11924 want_econnman0_7x="no"
11932 requirement_ebluez="edbus >= 1.7.8"
11933 requirement_econnman0_7x="edbus >= 1.7.8"
11934 requirement_edbus="ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62"
11935 requirement_ehal="edbus >= 1.7.8"
11936 requirement_enotify="edbus >= 1.7.8"
11937 requirement_eofono="edbus >= 1.7.8"
11938 requirement_eukit="edbus >= 1.7.8"
11940 ### Additional options to configure
11943 # Check whether --enable-ebluez was given.
11944 if test "${enable_ebluez+set}" = set; then :
11945 enableval=$enable_ebluez; enable_ebluez=$enableval
11947 enable_ebluez="${want_ebluez}"
11951 # Check whether --enable-econnman0_7x was given.
11952 if test "${enable_econnman0_7x+set}" = set; then :
11953 enableval=$enable_econnman0_7x; enable_econnman0_7x=$enableval
11955 enable_econnman0_7x="${want_econnman0_7x}"
11959 # Check whether --enable-ehal was given.
11960 if test "${enable_ehal+set}" = set; then :
11961 enableval=$enable_ehal; enable_ehal=$enableval
11963 enable_ehal="${want_ehal}"
11967 # Check whether --enable-enotify was given.
11968 if test "${enable_enotify+set}" = set; then :
11969 enableval=$enable_enotify; enable_enotify=$enableval
11971 enable_enotify="${want_enotify}"
11975 # Check whether --enable-eofono was given.
11976 if test "${enable_eofono+set}" = set; then :
11977 enableval=$enable_eofono; enable_eofono=$enableval
11979 enable_eofono="${want_eofono}"
11983 # Check whether --enable-eukit was given.
11984 if test "${enable_eukit+set}" = set; then :
11985 enableval=$enable_eukit; enable_eukit=$enableval
11987 enable_eukit="${want_eukit}"
11991 ### Checks for programs
11994 ac_cpp='$CPP $CPPFLAGS'
11995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11998 if test -n "$ac_tool_prefix"; then
11999 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12000 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12002 $as_echo_n "checking for $ac_word... " >&6; }
12003 if ${ac_cv_prog_CC+:} false; then :
12004 $as_echo_n "(cached) " >&6
12006 if test -n "$CC"; then
12007 ac_cv_prog_CC="$CC" # Let the user override the test.
12009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12010 for as_dir in $PATH
12013 test -z "$as_dir" && as_dir=.
12014 for ac_exec_ext in '' $ac_executable_extensions; do
12015 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12016 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12027 if test -n "$CC"; then
12028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12029 $as_echo "$CC" >&6; }
12031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12032 $as_echo "no" >&6; }
12037 if test -z "$ac_cv_prog_CC"; then
12039 # Extract the first word of "gcc", so it can be a program name with args.
12040 set dummy gcc; ac_word=$2
12041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12042 $as_echo_n "checking for $ac_word... " >&6; }
12043 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12044 $as_echo_n "(cached) " >&6
12046 if test -n "$ac_ct_CC"; then
12047 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12050 for as_dir in $PATH
12053 test -z "$as_dir" && as_dir=.
12054 for ac_exec_ext in '' $ac_executable_extensions; do
12055 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12056 ac_cv_prog_ac_ct_CC="gcc"
12057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12066 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12067 if test -n "$ac_ct_CC"; then
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12069 $as_echo "$ac_ct_CC" >&6; }
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12072 $as_echo "no" >&6; }
12075 if test "x$ac_ct_CC" = x; then
12078 case $cross_compiling:$ac_tool_warned in
12080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12081 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12082 ac_tool_warned=yes ;;
12087 CC="$ac_cv_prog_CC"
12090 if test -z "$CC"; then
12091 if test -n "$ac_tool_prefix"; then
12092 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12093 set dummy ${ac_tool_prefix}cc; ac_word=$2
12094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12095 $as_echo_n "checking for $ac_word... " >&6; }
12096 if ${ac_cv_prog_CC+:} false; then :
12097 $as_echo_n "(cached) " >&6
12099 if test -n "$CC"; then
12100 ac_cv_prog_CC="$CC" # Let the user override the test.
12102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12103 for as_dir in $PATH
12106 test -z "$as_dir" && as_dir=.
12107 for ac_exec_ext in '' $ac_executable_extensions; do
12108 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12109 ac_cv_prog_CC="${ac_tool_prefix}cc"
12110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12120 if test -n "$CC"; then
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12122 $as_echo "$CC" >&6; }
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12125 $as_echo "no" >&6; }
12131 if test -z "$CC"; then
12132 # Extract the first word of "cc", so it can be a program name with args.
12133 set dummy cc; ac_word=$2
12134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12135 $as_echo_n "checking for $ac_word... " >&6; }
12136 if ${ac_cv_prog_CC+:} false; then :
12137 $as_echo_n "(cached) " >&6
12139 if test -n "$CC"; then
12140 ac_cv_prog_CC="$CC" # Let the user override the test.
12142 ac_prog_rejected=no
12143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12144 for as_dir in $PATH
12147 test -z "$as_dir" && as_dir=.
12148 for ac_exec_ext in '' $ac_executable_extensions; do
12149 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12150 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12151 ac_prog_rejected=yes
12155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12162 if test $ac_prog_rejected = yes; then
12163 # We found a bogon in the path, so make sure we never use it.
12164 set dummy $ac_cv_prog_CC
12166 if test $# != 0; then
12167 # We chose a different compiler from the bogus one.
12168 # However, it has the same basename, so the bogon will be chosen
12169 # first if we set CC to just the basename; use the full file name.
12171 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12177 if test -n "$CC"; then
12178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12179 $as_echo "$CC" >&6; }
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12182 $as_echo "no" >&6; }
12187 if test -z "$CC"; then
12188 if test -n "$ac_tool_prefix"; then
12189 for ac_prog in cl.exe
12191 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12192 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12194 $as_echo_n "checking for $ac_word... " >&6; }
12195 if ${ac_cv_prog_CC+:} false; then :
12196 $as_echo_n "(cached) " >&6
12198 if test -n "$CC"; then
12199 ac_cv_prog_CC="$CC" # Let the user override the test.
12201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12202 for as_dir in $PATH
12205 test -z "$as_dir" && as_dir=.
12206 for ac_exec_ext in '' $ac_executable_extensions; do
12207 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12208 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12219 if test -n "$CC"; then
12220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12221 $as_echo "$CC" >&6; }
12223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12224 $as_echo "no" >&6; }
12228 test -n "$CC" && break
12231 if test -z "$CC"; then
12233 for ac_prog in cl.exe
12235 # Extract the first word of "$ac_prog", so it can be a program name with args.
12236 set dummy $ac_prog; ac_word=$2
12237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12238 $as_echo_n "checking for $ac_word... " >&6; }
12239 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12240 $as_echo_n "(cached) " >&6
12242 if test -n "$ac_ct_CC"; then
12243 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12246 for as_dir in $PATH
12249 test -z "$as_dir" && as_dir=.
12250 for ac_exec_ext in '' $ac_executable_extensions; do
12251 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12252 ac_cv_prog_ac_ct_CC="$ac_prog"
12253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12262 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12263 if test -n "$ac_ct_CC"; then
12264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12265 $as_echo "$ac_ct_CC" >&6; }
12267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12268 $as_echo "no" >&6; }
12272 test -n "$ac_ct_CC" && break
12275 if test "x$ac_ct_CC" = x; then
12278 case $cross_compiling:$ac_tool_warned in
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12281 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12282 ac_tool_warned=yes ;;
12291 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12292 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12293 as_fn_error $? "no acceptable C compiler found in \$PATH
12294 See \`config.log' for more details" "$LINENO" 5; }
12296 # Provide some information about the compiler.
12297 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12300 for ac_option in --version -v -V -qversion; do
12301 { { ac_try="$ac_compiler $ac_option >&5"
12302 case "(($ac_try" in
12303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12304 *) ac_try_echo=$ac_try;;
12306 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12307 $as_echo "$ac_try_echo"; } >&5
12308 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12310 if test -s conftest.err; then
12312 ... rest of stderr output deleted ...
12313 10q' conftest.err >conftest.er1
12314 cat conftest.er1 >&5
12316 rm -f conftest.er1 conftest.err
12317 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12318 test $ac_status = 0; }
12321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12322 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12323 if ${ac_cv_c_compiler_gnu+:} false; then :
12324 $as_echo_n "(cached) " >&6
12326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12327 /* end confdefs.h. */
12340 if ac_fn_c_try_compile "$LINENO"; then :
12341 ac_compiler_gnu=yes
12345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12346 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12350 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12351 if test $ac_compiler_gnu = yes; then
12356 ac_test_CFLAGS=${CFLAGS+set}
12357 ac_save_CFLAGS=$CFLAGS
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12359 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12360 if ${ac_cv_prog_cc_g+:} false; then :
12361 $as_echo_n "(cached) " >&6
12363 ac_save_c_werror_flag=$ac_c_werror_flag
12364 ac_c_werror_flag=yes
12367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12368 /* end confdefs.h. */
12378 if ac_fn_c_try_compile "$LINENO"; then :
12379 ac_cv_prog_cc_g=yes
12382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12383 /* end confdefs.h. */
12393 if ac_fn_c_try_compile "$LINENO"; then :
12396 ac_c_werror_flag=$ac_save_c_werror_flag
12398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12399 /* end confdefs.h. */
12409 if ac_fn_c_try_compile "$LINENO"; then :
12410 ac_cv_prog_cc_g=yes
12412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12417 ac_c_werror_flag=$ac_save_c_werror_flag
12419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12420 $as_echo "$ac_cv_prog_cc_g" >&6; }
12421 if test "$ac_test_CFLAGS" = set; then
12422 CFLAGS=$ac_save_CFLAGS
12423 elif test $ac_cv_prog_cc_g = yes; then
12424 if test "$GCC" = yes; then
12430 if test "$GCC" = yes; then
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12437 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12438 if ${ac_cv_prog_cc_c89+:} false; then :
12439 $as_echo_n "(cached) " >&6
12441 ac_cv_prog_cc_c89=no
12443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12444 /* end confdefs.h. */
12445 #include <stdarg.h>
12448 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12449 struct buf { int x; };
12450 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12451 static char *e (p, i)
12457 static char *f (char * (*g) (char **, int), char **p, ...)
12462 s = g (p, va_arg (v,int));
12467 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12468 function prototypes and stuff, but not '\xHH' hex character constants.
12469 These don't provoke an error unfortunately, instead are silently treated
12470 as 'x'. The following induces an error, until -std is added to get
12471 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12472 array size at least. It's necessary to write '\x00'==0 to get something
12473 that's true only with -std. */
12474 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12476 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12477 inside strings and character constants. */
12479 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12481 int test (int i, double x);
12482 struct s1 {int (*f) (int a);};
12483 struct s2 {int (*f) (double a);};
12484 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12490 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12495 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12496 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12498 CC="$ac_save_CC $ac_arg"
12499 if ac_fn_c_try_compile "$LINENO"; then :
12500 ac_cv_prog_cc_c89=$ac_arg
12502 rm -f core conftest.err conftest.$ac_objext
12503 test "x$ac_cv_prog_cc_c89" != "xno" && break
12505 rm -f conftest.$ac_ext
12510 case "x$ac_cv_prog_cc_c89" in
12512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12513 $as_echo "none needed" >&6; } ;;
12515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12516 $as_echo "unsupported" >&6; } ;;
12518 CC="$CC $ac_cv_prog_cc_c89"
12519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12520 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12522 if test "x$ac_cv_prog_cc_c89" != xno; then :
12527 ac_cpp='$CPP $CPPFLAGS'
12528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12532 depcc="$CC" am_compiler_list=
12534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12535 $as_echo_n "checking dependency style of $depcc... " >&6; }
12536 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12537 $as_echo_n "(cached) " >&6
12539 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12540 # We make a subdir and do the tests there. Otherwise we can end up
12541 # making bogus files that we don't know about and never remove. For
12542 # instance it was reported that on HP-UX the gcc test will end up
12543 # making a dummy file named 'D' -- because '-MD' means "put the output
12545 rm -rf conftest.dir
12547 # Copy depcomp to subdir because otherwise we won't find it if we're
12548 # using a relative directory.
12549 cp "$am_depcomp" conftest.dir
12551 # We will build objects and dependencies in a subdirectory because
12552 # it helps to detect inapplicable dependency modes. For instance
12553 # both Tru64's cc and ICC support -MD to output dependencies as a
12554 # side effect of compilation, but ICC will put the dependencies in
12555 # the current directory while Tru64 will put them in the object
12559 am_cv_CC_dependencies_compiler_type=none
12560 if test "$am_compiler_list" = ""; then
12561 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12563 am__universal=false
12564 case " $depcc " in #(
12565 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12568 for depmode in $am_compiler_list; do
12569 # Setup a source with many dependencies, because some compilers
12570 # like to wrap large dependency lists on column 80 (with \), and
12571 # we should not choose a depcomp mode which is confused by this.
12573 # We need to recreate these files for each test, as the compiler may
12574 # overwrite some of them when testing with obscure command lines.
12575 # This happens at least with the AIX C compiler.
12577 for i in 1 2 3 4 5 6; do
12578 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12579 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
12580 # Solaris 10 /bin/sh.
12581 echo '/* dummy */' > sub/conftst$i.h
12583 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12585 # We check with '-c' and '-o' for the sake of the "dashmstdout"
12586 # mode. It turns out that the SunPro C++ compiler does not properly
12587 # handle '-M -o', and we need to detect this. Also, some Intel
12588 # versions had trouble with output in subdirs.
12589 am__obj=sub/conftest.${OBJEXT-o}
12590 am__minus_obj="-o $am__obj"
12593 # This depmode causes a compiler race in universal mode.
12594 test "$am__universal" = false || continue
12597 # After this tag, mechanisms are not by side-effect, so they'll
12598 # only be used when explicitly requested.
12599 if test "x$enable_dependency_tracking" = xyes; then
12605 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12606 # This compiler won't grok '-c -o', but also, the minuso test has
12607 # not run yet. These depmodes are late enough in the game, and
12608 # so weak that their functioning should not be impacted.
12609 am__obj=conftest.${OBJEXT-o}
12614 if depmode=$depmode \
12615 source=sub/conftest.c object=$am__obj \
12616 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12617 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12618 >/dev/null 2>conftest.err &&
12619 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12620 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12621 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12622 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12623 # icc doesn't choke on unknown options, it will just issue warnings
12624 # or remarks (even with -Werror). So we grep stderr for any message
12625 # that says an option was ignored or not supported.
12626 # When given -MP, icc 7.0 and 7.1 complain thusly:
12627 # icc: Command line warning: ignoring option '-M'; no argument required
12628 # The diagnosis changed in icc 8.0:
12629 # icc: Command line remark: option '-MP' not supported
12630 if (grep 'ignoring option' conftest.err ||
12631 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12632 am_cv_CC_dependencies_compiler_type=$depmode
12639 rm -rf conftest.dir
12641 am_cv_CC_dependencies_compiler_type=none
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12646 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12647 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12650 test "x$enable_dependency_tracking" != xno \
12651 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12652 am__fastdepCC_TRUE=
12653 am__fastdepCC_FALSE='#'
12655 am__fastdepCC_TRUE='#'
12656 am__fastdepCC_FALSE=
12660 if test "x$CC" != xcc; then
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
12662 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
12664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
12665 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
12667 set dummy $CC; ac_cc=`$as_echo "$2" |
12668 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12669 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
12670 $as_echo_n "(cached) " >&6
12672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12673 /* end confdefs.h. */
12683 # Make sure it works both with $CC and with simple cc.
12684 # We do the test twice because some compilers refuse to overwrite an
12685 # existing .o file with -o, though they will create one.
12686 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12688 if { { case "(($ac_try" in
12689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12690 *) ac_try_echo=$ac_try;;
12692 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12693 $as_echo "$ac_try_echo"; } >&5
12694 (eval "$ac_try") 2>&5
12696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12697 test $ac_status = 0; } &&
12698 test -f conftest2.$ac_objext && { { case "(($ac_try" in
12699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12700 *) ac_try_echo=$ac_try;;
12702 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12703 $as_echo "$ac_try_echo"; } >&5
12704 (eval "$ac_try") 2>&5
12706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12707 test $ac_status = 0; };
12709 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
12710 if test "x$CC" != xcc; then
12711 # Test first that cc exists at all.
12712 if { ac_try='cc -c conftest.$ac_ext >&5'
12713 { { case "(($ac_try" in
12714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12715 *) ac_try_echo=$ac_try;;
12717 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12718 $as_echo "$ac_try_echo"; } >&5
12719 (eval "$ac_try") 2>&5
12721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12722 test $ac_status = 0; }; }; then
12723 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12725 if { { case "(($ac_try" in
12726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12727 *) ac_try_echo=$ac_try;;
12729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12730 $as_echo "$ac_try_echo"; } >&5
12731 (eval "$ac_try") 2>&5
12733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12734 test $ac_status = 0; } &&
12735 test -f conftest2.$ac_objext && { { case "(($ac_try" in
12736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12737 *) ac_try_echo=$ac_try;;
12739 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12740 $as_echo "$ac_try_echo"; } >&5
12741 (eval "$ac_try") 2>&5
12743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12744 test $ac_status = 0; };
12749 # cc exists but doesn't like -o.
12750 eval ac_cv_prog_cc_${ac_cc}_c_o=no
12755 eval ac_cv_prog_cc_${ac_cc}_c_o=no
12757 rm -f core conftest*
12760 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
12761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12762 $as_echo "yes" >&6; }
12764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12765 $as_echo "no" >&6; }
12767 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
12771 # FIXME: we rely on the cache variable name because
12772 # there is no other way.
12774 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12775 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
12776 if test "$am_t" != yes; then
12777 # Losing compiler, so override with the script.
12778 # FIXME: It is wrong to rewrite CC.
12779 # But if we don't then we get into trouble of one sort or another.
12780 # A longer-term fix would be to have automake use am__CC in this case,
12781 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12782 CC="$am_aux_dir/compile $CC"
12795 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12796 if test -n "$ac_tool_prefix"; then
12797 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12798 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12800 $as_echo_n "checking for $ac_word... " >&6; }
12801 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12802 $as_echo_n "(cached) " >&6
12804 case $PKG_CONFIG in
12806 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12810 for as_dir in $PATH
12813 test -z "$as_dir" && as_dir=.
12814 for ac_exec_ext in '' $ac_executable_extensions; do
12815 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12816 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12827 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12828 if test -n "$PKG_CONFIG"; then
12829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12830 $as_echo "$PKG_CONFIG" >&6; }
12832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12833 $as_echo "no" >&6; }
12838 if test -z "$ac_cv_path_PKG_CONFIG"; then
12839 ac_pt_PKG_CONFIG=$PKG_CONFIG
12840 # Extract the first word of "pkg-config", so it can be a program name with args.
12841 set dummy pkg-config; ac_word=$2
12842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12843 $as_echo_n "checking for $ac_word... " >&6; }
12844 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12845 $as_echo_n "(cached) " >&6
12847 case $ac_pt_PKG_CONFIG in
12849 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12853 for as_dir in $PATH
12856 test -z "$as_dir" && as_dir=.
12857 for ac_exec_ext in '' $ac_executable_extensions; do
12858 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12859 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12870 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12871 if test -n "$ac_pt_PKG_CONFIG"; then
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12873 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12876 $as_echo "no" >&6; }
12879 if test "x$ac_pt_PKG_CONFIG" = x; then
12882 case $cross_compiling:$ac_tool_warned in
12884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12885 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12886 ac_tool_warned=yes ;;
12888 PKG_CONFIG=$ac_pt_PKG_CONFIG
12891 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12895 if test -n "$PKG_CONFIG"; then
12896 _pkg_min_version=0.9.0
12897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12898 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12899 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12901 $as_echo "yes" >&6; }
12903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12904 $as_echo "no" >&6; }
12909 # Check whether pkg-config supports Requires.private
12910 if $PKG_CONFIG --atleast-pkgconfig-version 0.22 ; then
12911 pkgconfig_requires_private="Requires.private"
12913 pkgconfig_requires_private="Requires"
12917 # doxygen program for documentation building
12920 # Check whether --enable-doc was given.
12921 if test "${enable_doc+set}" = set; then :
12922 enableval=$enable_doc;
12923 if test "x${enableval}" = "xyes" ; then
12924 efl_enable_doc="yes"
12926 efl_enable_doc="no"
12930 efl_enable_doc="yes"
12934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
12935 $as_echo_n "checking whether to build documentation... " >&6; }
12936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
12937 $as_echo "${efl_enable_doc}" >&6; }
12939 if test "x${efl_enable_doc}" = "xyes" ; then
12942 efl_doxygen="doxygen"
12945 # Check whether --with-doxygen was given.
12946 if test "${with_doxygen+set}" = set; then :
12947 withval=$with_doxygen;
12948 efl_doxygen=${withval}
12949 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
12950 set dummy ${efl_doxygen}; ac_word=$2
12951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12952 $as_echo_n "checking for $ac_word... " >&6; }
12953 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
12954 $as_echo_n "(cached) " >&6
12956 if test -n "$efl_have_doxygen"; then
12957 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
12959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12960 for as_dir in $PATH
12963 test -z "$as_dir" && as_dir=.
12964 for ac_exec_ext in '' $ac_executable_extensions; do
12965 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12966 ac_cv_prog_efl_have_doxygen="yes"
12967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12974 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
12977 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
12978 if test -n "$efl_have_doxygen"; then
12979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
12980 $as_echo "$efl_have_doxygen" >&6; }
12982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12983 $as_echo "no" >&6; }
12987 if test "x${efl_have_doxygen}" = "xno" ; then
12989 echo "The doxygen program you specified:"
12990 echo "${efl_doxygen}"
12991 echo "was not found. Please check the path and make sure "
12992 echo "the program exists and is executable."
12993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
12994 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
12998 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
12999 set dummy ${efl_doxygen}; ac_word=$2
13000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13001 $as_echo_n "checking for $ac_word... " >&6; }
13002 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
13003 $as_echo_n "(cached) " >&6
13005 if test -n "$efl_have_doxygen"; then
13006 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
13008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13009 for as_dir in $PATH
13012 test -z "$as_dir" && as_dir=.
13013 for ac_exec_ext in '' $ac_executable_extensions; do
13014 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13015 ac_cv_prog_efl_have_doxygen="yes"
13016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13023 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
13026 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
13027 if test -n "$efl_have_doxygen"; then
13028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
13029 $as_echo "$efl_have_doxygen" >&6; }
13031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13032 $as_echo "no" >&6; }
13036 if test "x${efl_have_doxygen}" = "xno" ; then
13038 echo "The doxygen program was not found in your execute path."
13039 echo "You may have doxygen installed somewhere not covered by your path."
13041 echo "If this is the case make sure you have the packages installed, AND"
13042 echo "that the doxygen program is in your execute path (see your"
13043 echo "shell manual page on setting the \$PATH environment variable), OR"
13044 echo "alternatively, specify the program to use with --with-doxygen."
13045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
13046 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
13052 efl_have_doxygen="no"
13057 if ! test "x${efl_have_doxygen}" = "xyes" ; then
13058 efl_enable_doc="no"
13061 if test "x${efl_have_doxygen}" = "xyes"; then
13062 EFL_BUILD_DOC_TRUE=
13063 EFL_BUILD_DOC_FALSE='#'
13065 EFL_BUILD_DOC_TRUE='#'
13066 EFL_BUILD_DOC_FALSE=
13070 if test "x$efl_have_doxygen" = "xyes"; then :
13078 ### Checks for libraries
13080 # Evil library for compilation on Windows
13084 if test -n "$PKG_CONFIG" && \
13085 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.7.8\""; } >&5
13086 ($PKG_CONFIG --exists --print-errors "evil >= 1.7.8") 2>&5
13088 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13089 test $ac_status = 0; }; then
13093 $as_echo "#define HAVE_EVIL 1" >>confdefs.h
13095 requirement_edbus="${requirement_edbus} evil >= 1.7.8"
13101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
13102 $as_echo_n "checking for DBUS... " >&6; }
13104 if test -n "$DBUS_CFLAGS"; then
13105 pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
13106 elif test -n "$PKG_CONFIG"; then
13107 if test -n "$PKG_CONFIG" && \
13108 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 0.62\""; } >&5
13109 ($PKG_CONFIG --exists --print-errors "dbus-1 >= 0.62") 2>&5
13111 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13112 test $ac_status = 0; }; then
13113 pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 0.62" 2>/dev/null`
13114 test "x$?" != "x0" && pkg_failed=yes
13121 if test -n "$DBUS_LIBS"; then
13122 pkg_cv_DBUS_LIBS="$DBUS_LIBS"
13123 elif test -n "$PKG_CONFIG"; then
13124 if test -n "$PKG_CONFIG" && \
13125 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 0.62\""; } >&5
13126 ($PKG_CONFIG --exists --print-errors "dbus-1 >= 0.62") 2>&5
13128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13129 test $ac_status = 0; }; then
13130 pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 0.62" 2>/dev/null`
13131 test "x$?" != "x0" && pkg_failed=yes
13141 if test $pkg_failed = yes; then
13142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13143 $as_echo "no" >&6; }
13145 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13146 _pkg_short_errors_supported=yes
13148 _pkg_short_errors_supported=no
13150 if test $_pkg_short_errors_supported = yes; then
13151 DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-1 >= 0.62" 2>&1`
13153 DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-1 >= 0.62" 2>&1`
13155 # Put the nasty error message in config.log where it belongs
13156 echo "$DBUS_PKG_ERRORS" >&5
13158 as_fn_error $? "Package requirements (dbus-1 >= 0.62) were not met:
13162 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13163 installed software in a non-standard prefix.
13165 Alternatively, you may set the environment variables DBUS_CFLAGS
13166 and DBUS_LIBS to avoid the need to call pkg-config.
13167 See the pkg-config man page for more details." "$LINENO" 5
13168 elif test $pkg_failed = untried; then
13169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13170 $as_echo "no" >&6; }
13171 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13172 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13173 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13174 is in your PATH or set the PKG_CONFIG environment variable to the full
13175 path to pkg-config.
13177 Alternatively, you may set the environment variables DBUS_CFLAGS
13178 and DBUS_LIBS to avoid the need to call pkg-config.
13179 See the pkg-config man page for more details.
13181 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13182 See \`config.log' for more details" "$LINENO" 5; }
13184 DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
13185 DBUS_LIBS=$pkg_cv_DBUS_LIBS
13186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13187 $as_echo "yes" >&6; }
13193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS" >&5
13194 $as_echo_n "checking for EDBUS... " >&6; }
13196 if test -n "$EDBUS_CFLAGS"; then
13197 pkg_cv_EDBUS_CFLAGS="$EDBUS_CFLAGS"
13198 elif test -n "$PKG_CONFIG"; then
13199 if test -n "$PKG_CONFIG" && \
13200 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${requirement_edbus}\""; } >&5
13201 ($PKG_CONFIG --exists --print-errors "${requirement_edbus}") 2>&5
13203 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13204 test $ac_status = 0; }; then
13205 pkg_cv_EDBUS_CFLAGS=`$PKG_CONFIG --cflags "${requirement_edbus}" 2>/dev/null`
13206 test "x$?" != "x0" && pkg_failed=yes
13213 if test -n "$EDBUS_LIBS"; then
13214 pkg_cv_EDBUS_LIBS="$EDBUS_LIBS"
13215 elif test -n "$PKG_CONFIG"; then
13216 if test -n "$PKG_CONFIG" && \
13217 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${requirement_edbus}\""; } >&5
13218 ($PKG_CONFIG --exists --print-errors "${requirement_edbus}") 2>&5
13220 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13221 test $ac_status = 0; }; then
13222 pkg_cv_EDBUS_LIBS=`$PKG_CONFIG --libs "${requirement_edbus}" 2>/dev/null`
13223 test "x$?" != "x0" && pkg_failed=yes
13233 if test $pkg_failed = yes; then
13234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13235 $as_echo "no" >&6; }
13237 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13238 _pkg_short_errors_supported=yes
13240 _pkg_short_errors_supported=no
13242 if test $_pkg_short_errors_supported = yes; then
13243 EDBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "${requirement_edbus}" 2>&1`
13245 EDBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "${requirement_edbus}" 2>&1`
13247 # Put the nasty error message in config.log where it belongs
13248 echo "$EDBUS_PKG_ERRORS" >&5
13250 as_fn_error $? "Package requirements (${requirement_edbus}) were not met:
13254 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13255 installed software in a non-standard prefix.
13257 Alternatively, you may set the environment variables EDBUS_CFLAGS
13258 and EDBUS_LIBS to avoid the need to call pkg-config.
13259 See the pkg-config man page for more details." "$LINENO" 5
13260 elif test $pkg_failed = untried; then
13261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13262 $as_echo "no" >&6; }
13263 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13264 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13265 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13266 is in your PATH or set the PKG_CONFIG environment variable to the full
13267 path to pkg-config.
13269 Alternatively, you may set the environment variables EDBUS_CFLAGS
13270 and EDBUS_LIBS to avoid the need to call pkg-config.
13271 See the pkg-config man page for more details.
13273 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13274 See \`config.log' for more details" "$LINENO" 5; }
13276 EDBUS_CFLAGS=$pkg_cv_EDBUS_CFLAGS
13277 EDBUS_LIBS=$pkg_cv_EDBUS_LIBS
13278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13279 $as_echo "yes" >&6; }
13283 # Find out the version of DBUS we're using
13284 dbus_version=`pkg-config --modversion dbus-1`
13285 DBUS_VERSION_MAJOR=`echo $dbus_version | awk -F. '{print $1}'`
13286 DBUS_VERSION_MINOR=`echo $dbus_version | awk -F. '{print $2}'`
13287 DBUS_VERSION_MICRO=`echo $dbus_version | awk -F. '{print $3}'`
13289 if test "z$DBUS_VERSION_MAJOR" = "z" ; then
13290 DBUS_VERSION_MAJOR="0"
13293 if test "z$DBUS_VERSION_MINOR" = "z" ; then
13294 DBUS_VERSION_MINOR="0"
13297 if test "z$DBUS_VERSION_MICRO" = "z" ; then
13298 DBUS_VERSION_MICRO="0"
13301 DBUS_VERSION_CFLAGS="$DBUS_VERSION_CFLAGS -DDBUS_VERSION_MAJOR=$DBUS_VERSION_MAJOR"
13302 DBUS_VERSION_CFLAGS="$DBUS_VERSION_CFLAGS -DDBUS_VERSION_MINOR=$DBUS_VERSION_MINOR"
13303 DBUS_VERSION_CFLAGS="$DBUS_VERSION_CFLAGS -DDBUS_VERSION_MICRO=$DBUS_VERSION_MICRO"
13306 # Dependencies for the libraries
13307 if test "x${enable_enotify}" = "xyes" ; then
13310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVAS" >&5
13311 $as_echo_n "checking for EVAS... " >&6; }
13313 if test -n "$EVAS_CFLAGS"; then
13314 pkg_cv_EVAS_CFLAGS="$EVAS_CFLAGS"
13315 elif test -n "$PKG_CONFIG"; then
13316 if test -n "$PKG_CONFIG" && \
13317 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas >= 1.7.8\""; } >&5
13318 ($PKG_CONFIG --exists --print-errors "evas >= 1.7.8") 2>&5
13320 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13321 test $ac_status = 0; }; then
13322 pkg_cv_EVAS_CFLAGS=`$PKG_CONFIG --cflags "evas >= 1.7.8" 2>/dev/null`
13323 test "x$?" != "x0" && pkg_failed=yes
13330 if test -n "$EVAS_LIBS"; then
13331 pkg_cv_EVAS_LIBS="$EVAS_LIBS"
13332 elif test -n "$PKG_CONFIG"; then
13333 if test -n "$PKG_CONFIG" && \
13334 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas >= 1.7.8\""; } >&5
13335 ($PKG_CONFIG --exists --print-errors "evas >= 1.7.8") 2>&5
13337 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13338 test $ac_status = 0; }; then
13339 pkg_cv_EVAS_LIBS=`$PKG_CONFIG --libs "evas >= 1.7.8" 2>/dev/null`
13340 test "x$?" != "x0" && pkg_failed=yes
13350 if test $pkg_failed = yes; then
13351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13352 $as_echo "no" >&6; }
13354 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13355 _pkg_short_errors_supported=yes
13357 _pkg_short_errors_supported=no
13359 if test $_pkg_short_errors_supported = yes; then
13360 EVAS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "evas >= 1.7.8" 2>&1`
13362 EVAS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "evas >= 1.7.8" 2>&1`
13364 # Put the nasty error message in config.log where it belongs
13365 echo "$EVAS_PKG_ERRORS" >&5
13367 enable_enotify="no"
13368 elif test $pkg_failed = untried; then
13369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13370 $as_echo "no" >&6; }
13371 enable_enotify="no"
13373 EVAS_CFLAGS=$pkg_cv_EVAS_CFLAGS
13374 EVAS_LIBS=$pkg_cv_EVAS_LIBS
13375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13376 $as_echo "yes" >&6; }
13377 requirement_enotify="evas >= 1.7.8 ${requirement_enotify}"
13381 if test "x${enable_ebluez}" = "xyes"; then
13383 BUILD_EBLUEZ_FALSE='#'
13385 BUILD_EBLUEZ_TRUE='#'
13386 BUILD_EBLUEZ_FALSE=
13389 if test "x${enable_econnman0_7x}" = "xyes"; then
13390 BUILD_ECONNMAN0_7X_TRUE=
13391 BUILD_ECONNMAN0_7X_FALSE='#'
13393 BUILD_ECONNMAN0_7X_TRUE='#'
13394 BUILD_ECONNMAN0_7X_FALSE=
13397 if test "x${enable_ehal}" = "xyes"; then
13399 BUILD_EHAL_FALSE='#'
13401 BUILD_EHAL_TRUE='#'
13405 if test "x${enable_enotify}" = "xyes"; then
13406 BUILD_ENOTIFY_TRUE=
13407 BUILD_ENOTIFY_FALSE='#'
13409 BUILD_ENOTIFY_TRUE='#'
13410 BUILD_ENOTIFY_FALSE=
13413 if test "x${enable_eofono}" = "xyes"; then
13415 BUILD_EOFONO_FALSE='#'
13417 BUILD_EOFONO_TRUE='#'
13418 BUILD_EOFONO_FALSE=
13421 if test "x${enable_eukit}" = "xyes"; then
13423 BUILD_EUKIT_FALSE='#'
13425 BUILD_EUKIT_TRUE='#'
13430 # Dependencies for the binaries
13436 # Check whether --enable-edbus-test was given.
13437 if test "${enable_edbus_test+set}" = set; then :
13438 enableval=$enable_edbus_test;
13439 if test "x${enableval}" = "xyes" ; then
13440 have_edbus_test="yes"
13442 have_edbus_test="no"
13446 have_edbus_test="yes"
13450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_test binary" >&5
13451 $as_echo_n "checking whether to build edbus_test binary... " >&6; }
13452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_test" >&5
13453 $as_echo "$have_edbus_test" >&6; }
13455 if test "x$have_edbus_test" = "xyes"; then
13456 EDBUS_TEST_PRG=edbus_test${EXEEXT}
13461 if test "x$have_edbus_test" = "xyes"; then
13462 BUILD_EDBUS_TEST_TRUE=
13463 BUILD_EDBUS_TEST_FALSE='#'
13465 BUILD_EDBUS_TEST_TRUE='#'
13466 BUILD_EDBUS_TEST_FALSE=
13470 if test "x$have_edbus_test" = "xyes"; then :
13479 # Check whether --enable-edbus-test-client was given.
13480 if test "${enable_edbus_test_client+set}" = set; then :
13481 enableval=$enable_edbus_test_client;
13482 if test "x${enableval}" = "xyes" ; then
13483 have_edbus_test_client="yes"
13485 have_edbus_test_client="no"
13489 have_edbus_test_client="yes"
13493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_test_client binary" >&5
13494 $as_echo_n "checking whether to build edbus_test_client binary... " >&6; }
13495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_test_client" >&5
13496 $as_echo "$have_edbus_test_client" >&6; }
13498 if test "x$have_edbus_test_client" = "xyes"; then
13499 EDBUS_TEST_CLIENT_PRG=edbus_test_client${EXEEXT}
13504 if test "x$have_edbus_test_client" = "xyes"; then
13505 BUILD_EDBUS_TEST_CLIENT_TRUE=
13506 BUILD_EDBUS_TEST_CLIENT_FALSE='#'
13508 BUILD_EDBUS_TEST_CLIENT_TRUE='#'
13509 BUILD_EDBUS_TEST_CLIENT_FALSE=
13513 if test "x$have_edbus_test_client" = "xyes"; then :
13522 # Check whether --enable-edbus-bluez-test was given.
13523 if test "${enable_edbus_bluez_test+set}" = set; then :
13524 enableval=$enable_edbus_bluez_test;
13525 if test "x${enableval}" = "xyes" ; then
13526 have_edbus_bluez_test="yes"
13528 have_edbus_bluez_test="no"
13532 have_edbus_bluez_test=${enable_ebluez}
13536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_bluez_test binary" >&5
13537 $as_echo_n "checking whether to build edbus_bluez_test binary... " >&6; }
13538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_bluez_test" >&5
13539 $as_echo "$have_edbus_bluez_test" >&6; }
13541 if test "x$have_edbus_bluez_test" = "xyes"; then
13542 EDBUS_BLUEZ_TEST_PRG=edbus_bluez_test${EXEEXT}
13547 if test "x$have_edbus_bluez_test" = "xyes"; then
13548 BUILD_EDBUS_BLUEZ_TEST_TRUE=
13549 BUILD_EDBUS_BLUEZ_TEST_FALSE='#'
13551 BUILD_EDBUS_BLUEZ_TEST_TRUE='#'
13552 BUILD_EDBUS_BLUEZ_TEST_FALSE=
13556 if test "x$have_edbus_bluez_test" = "xyes"; then :
13565 # Check whether --enable-edbus-connman0_7x-test was given.
13566 if test "${enable_edbus_connman0_7x_test+set}" = set; then :
13567 enableval=$enable_edbus_connman0_7x_test;
13568 if test "x${enableval}" = "xyes" ; then
13569 have_edbus_connman0_7x_test="yes"
13571 have_edbus_connman0_7x_test="no"
13575 have_edbus_connman0_7x_test=${enable_econnman0_7x}
13579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_connman0_7x_test binary" >&5
13580 $as_echo_n "checking whether to build edbus_connman0_7x_test binary... " >&6; }
13581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_connman0_7x_test" >&5
13582 $as_echo "$have_edbus_connman0_7x_test" >&6; }
13584 if test "x$have_edbus_connman0_7x_test" = "xyes"; then
13585 EDBUS_CONNMAN0_7X_TEST_PRG=edbus_connman0_7x_test${EXEEXT}
13590 if test "x$have_edbus_connman0_7x_test" = "xyes"; then
13591 BUILD_EDBUS_CONNMAN0_7X_TEST_TRUE=
13592 BUILD_EDBUS_CONNMAN0_7X_TEST_FALSE='#'
13594 BUILD_EDBUS_CONNMAN0_7X_TEST_TRUE='#'
13595 BUILD_EDBUS_CONNMAN0_7X_TEST_FALSE=
13599 if test "x$have_edbus_connman0_7x_test" = "xyes"; then :
13608 # Check whether --enable-edbus-notification-daemon-test was given.
13609 if test "${enable_edbus_notification_daemon_test+set}" = set; then :
13610 enableval=$enable_edbus_notification_daemon_test;
13611 if test "x${enableval}" = "xyes" ; then
13612 have_edbus_notification_daemon_test="yes"
13614 have_edbus_notification_daemon_test="no"
13618 have_edbus_notification_daemon_test=${enable_enotify}
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_notification_daemon_test binary" >&5
13623 $as_echo_n "checking whether to build edbus_notification_daemon_test binary... " >&6; }
13624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_notification_daemon_test" >&5
13625 $as_echo "$have_edbus_notification_daemon_test" >&6; }
13627 if test "x$have_edbus_notification_daemon_test" = "xyes"; then
13628 EDBUS_NOTIFICATION_DAEMON_TEST_PRG=edbus_notification_daemon_test${EXEEXT}
13633 if test "x$have_edbus_notification_daemon_test" = "xyes"; then
13634 BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_TRUE=
13635 BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_FALSE='#'
13637 BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_TRUE='#'
13638 BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_FALSE=
13642 if test "x$have_edbus_notification_daemon_test" = "xyes"; then :
13651 # Check whether --enable-edbus-notify-send was given.
13652 if test "${enable_edbus_notify_send+set}" = set; then :
13653 enableval=$enable_edbus_notify_send;
13654 if test "x${enableval}" = "xyes" ; then
13655 have_edbus_notify_send="yes"
13657 have_edbus_notify_send="no"
13661 have_edbus_notify_send=${enable_enotify}
13665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_notify_send binary" >&5
13666 $as_echo_n "checking whether to build edbus_notify_send binary... " >&6; }
13667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_notify_send" >&5
13668 $as_echo "$have_edbus_notify_send" >&6; }
13670 if test "x$have_edbus_notify_send" = "xyes"; then
13671 EDBUS_NOTIFY_SEND_PRG=edbus_notify_send${EXEEXT}
13676 if test "x$have_edbus_notify_send" = "xyes"; then
13677 BUILD_EDBUS_NOTIFY_SEND_TRUE=
13678 BUILD_EDBUS_NOTIFY_SEND_FALSE='#'
13680 BUILD_EDBUS_NOTIFY_SEND_TRUE='#'
13681 BUILD_EDBUS_NOTIFY_SEND_FALSE=
13685 if test "x$have_edbus_notify_send" = "xyes"; then :
13694 # Check whether --enable-edbus-notify-test was given.
13695 if test "${enable_edbus_notify_test+set}" = set; then :
13696 enableval=$enable_edbus_notify_test;
13697 if test "x${enableval}" = "xyes" ; then
13698 have_edbus_notify_test="yes"
13700 have_edbus_notify_test="no"
13704 have_edbus_notify_test=${enable_enotify}
13708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_notify_test binary" >&5
13709 $as_echo_n "checking whether to build edbus_notify_test binary... " >&6; }
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_notify_test" >&5
13711 $as_echo "$have_edbus_notify_test" >&6; }
13713 if test "x$have_edbus_notify_test" = "xyes"; then
13714 EDBUS_NOTIFY_TEST_PRG=edbus_notify_test${EXEEXT}
13719 if test "x$have_edbus_notify_test" = "xyes"; then
13720 BUILD_EDBUS_NOTIFY_TEST_TRUE=
13721 BUILD_EDBUS_NOTIFY_TEST_FALSE='#'
13723 BUILD_EDBUS_NOTIFY_TEST_TRUE='#'
13724 BUILD_EDBUS_NOTIFY_TEST_FALSE=
13728 if test "x$have_edbus_notify_test" = "xyes"; then :
13737 # Check whether --enable-edbus-ofono-test was given.
13738 if test "${enable_edbus_ofono_test+set}" = set; then :
13739 enableval=$enable_edbus_ofono_test;
13740 if test "x${enableval}" = "xyes" ; then
13741 have_edbus_ofono_test="yes"
13743 have_edbus_ofono_test="no"
13747 have_edbus_ofono_test=${enable_eofono}
13751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_ofono_test binary" >&5
13752 $as_echo_n "checking whether to build edbus_ofono_test binary... " >&6; }
13753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_ofono_test" >&5
13754 $as_echo "$have_edbus_ofono_test" >&6; }
13756 if test "x$have_edbus_ofono_test" = "xyes"; then
13757 EDBUS_OFONO_TEST_PRG=edbus_ofono_test${EXEEXT}
13762 if test "x$have_edbus_ofono_test" = "xyes"; then
13763 BUILD_EDBUS_OFONO_TEST_TRUE=
13764 BUILD_EDBUS_OFONO_TEST_FALSE='#'
13766 BUILD_EDBUS_OFONO_TEST_TRUE='#'
13767 BUILD_EDBUS_OFONO_TEST_FALSE=
13771 if test "x$have_edbus_ofono_test" = "xyes"; then :
13780 # Check whether --enable-edbus-ukit-test was given.
13781 if test "${enable_edbus_ukit_test+set}" = set; then :
13782 enableval=$enable_edbus_ukit_test;
13783 if test "x${enableval}" = "xyes" ; then
13784 have_edbus_ukit_test="yes"
13786 have_edbus_ukit_test="no"
13790 have_edbus_ukit_test=${enable_eukit}
13794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_ukit_test binary" >&5
13795 $as_echo_n "checking whether to build edbus_ukit_test binary... " >&6; }
13796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_ukit_test" >&5
13797 $as_echo "$have_edbus_ukit_test" >&6; }
13799 if test "x$have_edbus_ukit_test" = "xyes"; then
13800 EDBUS_UKIT_TEST_PRG=edbus_ukit_test${EXEEXT}
13805 if test "x$have_edbus_ukit_test" = "xyes"; then
13806 BUILD_EDBUS_UKIT_TEST_TRUE=
13807 BUILD_EDBUS_UKIT_TEST_FALSE='#'
13809 BUILD_EDBUS_UKIT_TEST_TRUE='#'
13810 BUILD_EDBUS_UKIT_TEST_FALSE=
13814 if test "x$have_edbus_ukit_test" = "xyes"; then :
13823 # Check whether --enable-edbus-performance-test was given.
13824 if test "${enable_edbus_performance_test+set}" = set; then :
13825 enableval=$enable_edbus_performance_test;
13826 if test "x${enableval}" = "xyes" ; then
13827 have_edbus_performance_test="yes"
13829 have_edbus_performance_test="no"
13833 have_edbus_performance_test="no"
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_performance_test binary" >&5
13838 $as_echo_n "checking whether to build edbus_performance_test binary... " >&6; }
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_performance_test" >&5
13840 $as_echo "$have_edbus_performance_test" >&6; }
13842 if test "x$have_edbus_performance_test" = "xyes"; then
13843 EDBUS_PERFORMANCE_TEST_PRG=edbus_performance_test${EXEEXT}
13848 if test "x$have_edbus_performance_test" = "xyes"; then
13849 BUILD_EDBUS_PERFORMANCE_TEST_TRUE=
13850 BUILD_EDBUS_PERFORMANCE_TEST_FALSE='#'
13852 BUILD_EDBUS_PERFORMANCE_TEST_TRUE='#'
13853 BUILD_EDBUS_PERFORMANCE_TEST_FALSE=
13857 if test "x$have_edbus_performance_test" = "xyes"; then :
13866 # Check whether --enable-edbus-async-test was given.
13867 if test "${enable_edbus_async_test+set}" = set; then :
13868 enableval=$enable_edbus_async_test;
13869 if test "x${enableval}" = "xyes" ; then
13870 have_edbus_async_test="yes"
13872 have_edbus_async_test="no"
13876 have_edbus_async_test="yes"
13880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_async_test binary" >&5
13881 $as_echo_n "checking whether to build edbus_async_test binary... " >&6; }
13882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_async_test" >&5
13883 $as_echo "$have_edbus_async_test" >&6; }
13885 if test "x$have_edbus_async_test" = "xyes"; then
13886 EDBUS_ASYNC_TEST_PRG=edbus_async_test${EXEEXT}
13891 if test "x$have_edbus_async_test" = "xyes"; then
13892 BUILD_EDBUS_ASYNC_TEST_TRUE=
13893 BUILD_EDBUS_ASYNC_TEST_FALSE='#'
13895 BUILD_EDBUS_ASYNC_TEST_TRUE='#'
13896 BUILD_EDBUS_ASYNC_TEST_FALSE=
13900 if test "x$have_edbus_async_test" = "xyes"; then :
13906 if test "x${have_edbus_test}" = "xyes" ; then
13909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_TEST" >&5
13910 $as_echo_n "checking for EDBUS_TEST... " >&6; }
13912 if test -n "$EDBUS_TEST_CFLAGS"; then
13913 pkg_cv_EDBUS_TEST_CFLAGS="$EDBUS_TEST_CFLAGS"
13914 elif test -n "$PKG_CONFIG"; then
13915 if test -n "$PKG_CONFIG" && \
13916 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.8 dbus-1 >= 0.62\""; } >&5
13917 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.8 dbus-1 >= 0.62") 2>&5
13919 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13920 test $ac_status = 0; }; then
13921 pkg_cv_EDBUS_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.8 dbus-1 >= 0.62" 2>/dev/null`
13922 test "x$?" != "x0" && pkg_failed=yes
13929 if test -n "$EDBUS_TEST_LIBS"; then
13930 pkg_cv_EDBUS_TEST_LIBS="$EDBUS_TEST_LIBS"
13931 elif test -n "$PKG_CONFIG"; then
13932 if test -n "$PKG_CONFIG" && \
13933 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.8 dbus-1 >= 0.62\""; } >&5
13934 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.8 dbus-1 >= 0.62") 2>&5
13936 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13937 test $ac_status = 0; }; then
13938 pkg_cv_EDBUS_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.8 dbus-1 >= 0.62" 2>/dev/null`
13939 test "x$?" != "x0" && pkg_failed=yes
13949 if test $pkg_failed = yes; then
13950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13951 $as_echo "no" >&6; }
13953 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13954 _pkg_short_errors_supported=yes
13956 _pkg_short_errors_supported=no
13958 if test $_pkg_short_errors_supported = yes; then
13959 EDBUS_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.8 dbus-1 >= 0.62" 2>&1`
13961 EDBUS_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.8 dbus-1 >= 0.62" 2>&1`
13963 # Put the nasty error message in config.log where it belongs
13964 echo "$EDBUS_TEST_PKG_ERRORS" >&5
13966 have_edbus_test="no"
13967 elif test $pkg_failed = untried; then
13968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13969 $as_echo "no" >&6; }
13970 have_edbus_test="no"
13972 EDBUS_TEST_CFLAGS=$pkg_cv_EDBUS_TEST_CFLAGS
13973 EDBUS_TEST_LIBS=$pkg_cv_EDBUS_TEST_LIBS
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13975 $as_echo "yes" >&6; }
13976 have_edbus_test="yes"
13980 if test "x${have_edbus_test_client}" = "xyes" ; then
13983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_TEST_CLIENT" >&5
13984 $as_echo_n "checking for EDBUS_TEST_CLIENT... " >&6; }
13986 if test -n "$EDBUS_TEST_CLIENT_CFLAGS"; then
13987 pkg_cv_EDBUS_TEST_CLIENT_CFLAGS="$EDBUS_TEST_CLIENT_CFLAGS"
13988 elif test -n "$PKG_CONFIG"; then
13989 if test -n "$PKG_CONFIG" && \
13990 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.8 dbus-1 >= 0.62\""; } >&5
13991 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.8 dbus-1 >= 0.62") 2>&5
13993 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13994 test $ac_status = 0; }; then
13995 pkg_cv_EDBUS_TEST_CLIENT_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.8 dbus-1 >= 0.62" 2>/dev/null`
13996 test "x$?" != "x0" && pkg_failed=yes
14003 if test -n "$EDBUS_TEST_CLIENT_LIBS"; then
14004 pkg_cv_EDBUS_TEST_CLIENT_LIBS="$EDBUS_TEST_CLIENT_LIBS"
14005 elif test -n "$PKG_CONFIG"; then
14006 if test -n "$PKG_CONFIG" && \
14007 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.8 dbus-1 >= 0.62\""; } >&5
14008 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.8 dbus-1 >= 0.62") 2>&5
14010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14011 test $ac_status = 0; }; then
14012 pkg_cv_EDBUS_TEST_CLIENT_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.8 dbus-1 >= 0.62" 2>/dev/null`
14013 test "x$?" != "x0" && pkg_failed=yes
14023 if test $pkg_failed = yes; then
14024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14025 $as_echo "no" >&6; }
14027 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14028 _pkg_short_errors_supported=yes
14030 _pkg_short_errors_supported=no
14032 if test $_pkg_short_errors_supported = yes; then
14033 EDBUS_TEST_CLIENT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.8 dbus-1 >= 0.62" 2>&1`
14035 EDBUS_TEST_CLIENT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.8 dbus-1 >= 0.62" 2>&1`
14037 # Put the nasty error message in config.log where it belongs
14038 echo "$EDBUS_TEST_CLIENT_PKG_ERRORS" >&5
14040 have_edbus_test_client="no"
14041 elif test $pkg_failed = untried; then
14042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14043 $as_echo "no" >&6; }
14044 have_edbus_test_client="no"
14046 EDBUS_TEST_CLIENT_CFLAGS=$pkg_cv_EDBUS_TEST_CLIENT_CFLAGS
14047 EDBUS_TEST_CLIENT_LIBS=$pkg_cv_EDBUS_TEST_CLIENT_LIBS
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14049 $as_echo "yes" >&6; }
14050 have_edbus_test_client="yes"
14054 if test "x${have_edbus_bluez_test}" = "xyes" ; then
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_BLUEZ_TEST" >&5
14058 $as_echo_n "checking for EDBUS_BLUEZ_TEST... " >&6; }
14060 if test -n "$EDBUS_BLUEZ_TEST_CFLAGS"; then
14061 pkg_cv_EDBUS_BLUEZ_TEST_CFLAGS="$EDBUS_BLUEZ_TEST_CFLAGS"
14062 elif test -n "$PKG_CONFIG"; then
14063 if test -n "$PKG_CONFIG" && \
14064 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62\""; } >&5
14065 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62") 2>&5
14067 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14068 test $ac_status = 0; }; then
14069 pkg_cv_EDBUS_BLUEZ_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62" 2>/dev/null`
14070 test "x$?" != "x0" && pkg_failed=yes
14077 if test -n "$EDBUS_BLUEZ_TEST_LIBS"; then
14078 pkg_cv_EDBUS_BLUEZ_TEST_LIBS="$EDBUS_BLUEZ_TEST_LIBS"
14079 elif test -n "$PKG_CONFIG"; then
14080 if test -n "$PKG_CONFIG" && \
14081 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62\""; } >&5
14082 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62") 2>&5
14084 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14085 test $ac_status = 0; }; then
14086 pkg_cv_EDBUS_BLUEZ_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62" 2>/dev/null`
14087 test "x$?" != "x0" && pkg_failed=yes
14097 if test $pkg_failed = yes; then
14098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14099 $as_echo "no" >&6; }
14101 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14102 _pkg_short_errors_supported=yes
14104 _pkg_short_errors_supported=no
14106 if test $_pkg_short_errors_supported = yes; then
14107 EDBUS_BLUEZ_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62" 2>&1`
14109 EDBUS_BLUEZ_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62" 2>&1`
14111 # Put the nasty error message in config.log where it belongs
14112 echo "$EDBUS_BLUEZ_TEST_PKG_ERRORS" >&5
14114 have_edbus_bluez_test="no"
14115 elif test $pkg_failed = untried; then
14116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14117 $as_echo "no" >&6; }
14118 have_edbus_bluez_test="no"
14120 EDBUS_BLUEZ_TEST_CFLAGS=$pkg_cv_EDBUS_BLUEZ_TEST_CFLAGS
14121 EDBUS_BLUEZ_TEST_LIBS=$pkg_cv_EDBUS_BLUEZ_TEST_LIBS
14122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14123 $as_echo "yes" >&6; }
14124 have_edbus_bluez_test="yes"
14128 if test "x${have_edbus_connman0_7x_test}" = "xyes" ; then
14131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_CONNMAN0_7X_TEST" >&5
14132 $as_echo_n "checking for EDBUS_CONNMAN0_7X_TEST... " >&6; }
14134 if test -n "$EDBUS_CONNMAN0_7X_TEST_CFLAGS"; then
14135 pkg_cv_EDBUS_CONNMAN0_7X_TEST_CFLAGS="$EDBUS_CONNMAN0_7X_TEST_CFLAGS"
14136 elif test -n "$PKG_CONFIG"; then
14137 if test -n "$PKG_CONFIG" && \
14138 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62\""; } >&5
14139 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62") 2>&5
14141 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14142 test $ac_status = 0; }; then
14143 pkg_cv_EDBUS_CONNMAN0_7X_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62" 2>/dev/null`
14144 test "x$?" != "x0" && pkg_failed=yes
14151 if test -n "$EDBUS_CONNMAN0_7X_TEST_LIBS"; then
14152 pkg_cv_EDBUS_CONNMAN0_7X_TEST_LIBS="$EDBUS_CONNMAN0_7X_TEST_LIBS"
14153 elif test -n "$PKG_CONFIG"; then
14154 if test -n "$PKG_CONFIG" && \
14155 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62\""; } >&5
14156 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62") 2>&5
14158 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14159 test $ac_status = 0; }; then
14160 pkg_cv_EDBUS_CONNMAN0_7X_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62" 2>/dev/null`
14161 test "x$?" != "x0" && pkg_failed=yes
14171 if test $pkg_failed = yes; then
14172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14173 $as_echo "no" >&6; }
14175 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14176 _pkg_short_errors_supported=yes
14178 _pkg_short_errors_supported=no
14180 if test $_pkg_short_errors_supported = yes; then
14181 EDBUS_CONNMAN0_7X_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62" 2>&1`
14183 EDBUS_CONNMAN0_7X_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62" 2>&1`
14185 # Put the nasty error message in config.log where it belongs
14186 echo "$EDBUS_CONNMAN0_7X_TEST_PKG_ERRORS" >&5
14188 have_edbus_connman0_7x_test="no"
14189 elif test $pkg_failed = untried; then
14190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14191 $as_echo "no" >&6; }
14192 have_edbus_connman0_7x_test="no"
14194 EDBUS_CONNMAN0_7X_TEST_CFLAGS=$pkg_cv_EDBUS_CONNMAN0_7X_TEST_CFLAGS
14195 EDBUS_CONNMAN0_7X_TEST_LIBS=$pkg_cv_EDBUS_CONNMAN0_7X_TEST_LIBS
14196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14197 $as_echo "yes" >&6; }
14198 have_edbus_connman0_7x_test="yes"
14202 if test "x${have_edbus_notification_daemon_test}" = "xyes" ; then
14205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_NOTIFICATION_DAEMON_TEST" >&5
14206 $as_echo_n "checking for EDBUS_NOTIFICATION_DAEMON_TEST... " >&6; }
14208 if test -n "$EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS"; then
14209 pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS="$EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS"
14210 elif test -n "$PKG_CONFIG"; then
14211 if test -n "$PKG_CONFIG" && \
14212 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62\""; } >&5
14213 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62") 2>&5
14215 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14216 test $ac_status = 0; }; then
14217 pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62" 2>/dev/null`
14218 test "x$?" != "x0" && pkg_failed=yes
14225 if test -n "$EDBUS_NOTIFICATION_DAEMON_TEST_LIBS"; then
14226 pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_LIBS="$EDBUS_NOTIFICATION_DAEMON_TEST_LIBS"
14227 elif test -n "$PKG_CONFIG"; then
14228 if test -n "$PKG_CONFIG" && \
14229 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62\""; } >&5
14230 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62") 2>&5
14232 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14233 test $ac_status = 0; }; then
14234 pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62" 2>/dev/null`
14235 test "x$?" != "x0" && pkg_failed=yes
14245 if test $pkg_failed = yes; then
14246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14247 $as_echo "no" >&6; }
14249 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14250 _pkg_short_errors_supported=yes
14252 _pkg_short_errors_supported=no
14254 if test $_pkg_short_errors_supported = yes; then
14255 EDBUS_NOTIFICATION_DAEMON_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62" 2>&1`
14257 EDBUS_NOTIFICATION_DAEMON_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62" 2>&1`
14259 # Put the nasty error message in config.log where it belongs
14260 echo "$EDBUS_NOTIFICATION_DAEMON_TEST_PKG_ERRORS" >&5
14262 have_edbus_notification_daemon_test="no"
14263 elif test $pkg_failed = untried; then
14264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14265 $as_echo "no" >&6; }
14266 have_edbus_notification_daemon_test="no"
14268 EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS=$pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS
14269 EDBUS_NOTIFICATION_DAEMON_TEST_LIBS=$pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_LIBS
14270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14271 $as_echo "yes" >&6; }
14272 have_edbus_notification_daemon_test="yes"
14276 if test "x${have_edbus_notify_send}" = "xyes" ; then
14279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_NOTIFY_SEND" >&5
14280 $as_echo_n "checking for EDBUS_NOTIFY_SEND... " >&6; }
14282 if test -n "$EDBUS_NOTIFY_SEND_CFLAGS"; then
14283 pkg_cv_EDBUS_NOTIFY_SEND_CFLAGS="$EDBUS_NOTIFY_SEND_CFLAGS"
14284 elif test -n "$PKG_CONFIG"; then
14285 if test -n "$PKG_CONFIG" && \
14286 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62\""; } >&5
14287 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62") 2>&5
14289 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14290 test $ac_status = 0; }; then
14291 pkg_cv_EDBUS_NOTIFY_SEND_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62" 2>/dev/null`
14292 test "x$?" != "x0" && pkg_failed=yes
14299 if test -n "$EDBUS_NOTIFY_SEND_LIBS"; then
14300 pkg_cv_EDBUS_NOTIFY_SEND_LIBS="$EDBUS_NOTIFY_SEND_LIBS"
14301 elif test -n "$PKG_CONFIG"; then
14302 if test -n "$PKG_CONFIG" && \
14303 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62\""; } >&5
14304 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62") 2>&5
14306 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14307 test $ac_status = 0; }; then
14308 pkg_cv_EDBUS_NOTIFY_SEND_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62" 2>/dev/null`
14309 test "x$?" != "x0" && pkg_failed=yes
14319 if test $pkg_failed = yes; then
14320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14321 $as_echo "no" >&6; }
14323 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14324 _pkg_short_errors_supported=yes
14326 _pkg_short_errors_supported=no
14328 if test $_pkg_short_errors_supported = yes; then
14329 EDBUS_NOTIFY_SEND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62" 2>&1`
14331 EDBUS_NOTIFY_SEND_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62" 2>&1`
14333 # Put the nasty error message in config.log where it belongs
14334 echo "$EDBUS_NOTIFY_SEND_PKG_ERRORS" >&5
14336 have_edbus_notify_send="no"
14337 elif test $pkg_failed = untried; then
14338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14339 $as_echo "no" >&6; }
14340 have_edbus_notify_send="no"
14342 EDBUS_NOTIFY_SEND_CFLAGS=$pkg_cv_EDBUS_NOTIFY_SEND_CFLAGS
14343 EDBUS_NOTIFY_SEND_LIBS=$pkg_cv_EDBUS_NOTIFY_SEND_LIBS
14344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14345 $as_echo "yes" >&6; }
14346 have_edbus_notify_send="yes"
14350 if test "x${have_edbus_notify_test}" = "xyes" ; then
14353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_NOTIFY_TEST" >&5
14354 $as_echo_n "checking for EDBUS_NOTIFY_TEST... " >&6; }
14356 if test -n "$EDBUS_NOTIFY_TEST_CFLAGS"; then
14357 pkg_cv_EDBUS_NOTIFY_TEST_CFLAGS="$EDBUS_NOTIFY_TEST_CFLAGS"
14358 elif test -n "$PKG_CONFIG"; then
14359 if test -n "$PKG_CONFIG" && \
14360 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.8 ecore-evas >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62\""; } >&5
14361 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.8 ecore-evas >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62") 2>&5
14363 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14364 test $ac_status = 0; }; then
14365 pkg_cv_EDBUS_NOTIFY_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.8 ecore-evas >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62" 2>/dev/null`
14366 test "x$?" != "x0" && pkg_failed=yes
14373 if test -n "$EDBUS_NOTIFY_TEST_LIBS"; then
14374 pkg_cv_EDBUS_NOTIFY_TEST_LIBS="$EDBUS_NOTIFY_TEST_LIBS"
14375 elif test -n "$PKG_CONFIG"; then
14376 if test -n "$PKG_CONFIG" && \
14377 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.8 ecore-evas >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62\""; } >&5
14378 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.8 ecore-evas >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62") 2>&5
14380 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14381 test $ac_status = 0; }; then
14382 pkg_cv_EDBUS_NOTIFY_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.8 ecore-evas >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62" 2>/dev/null`
14383 test "x$?" != "x0" && pkg_failed=yes
14393 if test $pkg_failed = yes; then
14394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14395 $as_echo "no" >&6; }
14397 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14398 _pkg_short_errors_supported=yes
14400 _pkg_short_errors_supported=no
14402 if test $_pkg_short_errors_supported = yes; then
14403 EDBUS_NOTIFY_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.8 ecore-evas >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62" 2>&1`
14405 EDBUS_NOTIFY_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.8 ecore-evas >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62" 2>&1`
14407 # Put the nasty error message in config.log where it belongs
14408 echo "$EDBUS_NOTIFY_TEST_PKG_ERRORS" >&5
14410 have_edbus_notify_test="no"
14411 elif test $pkg_failed = untried; then
14412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14413 $as_echo "no" >&6; }
14414 have_edbus_notify_test="no"
14416 EDBUS_NOTIFY_TEST_CFLAGS=$pkg_cv_EDBUS_NOTIFY_TEST_CFLAGS
14417 EDBUS_NOTIFY_TEST_LIBS=$pkg_cv_EDBUS_NOTIFY_TEST_LIBS
14418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14419 $as_echo "yes" >&6; }
14420 have_edbus_notify_test="yes"
14424 if test "x${have_edbus_ofono_test}" = "xyes" ; then
14427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_OFONO_TEST" >&5
14428 $as_echo_n "checking for EDBUS_OFONO_TEST... " >&6; }
14430 if test -n "$EDBUS_OFONO_TEST_CFLAGS"; then
14431 pkg_cv_EDBUS_OFONO_TEST_CFLAGS="$EDBUS_OFONO_TEST_CFLAGS"
14432 elif test -n "$PKG_CONFIG"; then
14433 if test -n "$PKG_CONFIG" && \
14434 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62\""; } >&5
14435 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62") 2>&5
14437 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14438 test $ac_status = 0; }; then
14439 pkg_cv_EDBUS_OFONO_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62" 2>/dev/null`
14440 test "x$?" != "x0" && pkg_failed=yes
14447 if test -n "$EDBUS_OFONO_TEST_LIBS"; then
14448 pkg_cv_EDBUS_OFONO_TEST_LIBS="$EDBUS_OFONO_TEST_LIBS"
14449 elif test -n "$PKG_CONFIG"; then
14450 if test -n "$PKG_CONFIG" && \
14451 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62\""; } >&5
14452 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62") 2>&5
14454 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14455 test $ac_status = 0; }; then
14456 pkg_cv_EDBUS_OFONO_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62" 2>/dev/null`
14457 test "x$?" != "x0" && pkg_failed=yes
14467 if test $pkg_failed = yes; then
14468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14469 $as_echo "no" >&6; }
14471 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14472 _pkg_short_errors_supported=yes
14474 _pkg_short_errors_supported=no
14476 if test $_pkg_short_errors_supported = yes; then
14477 EDBUS_OFONO_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62" 2>&1`
14479 EDBUS_OFONO_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62" 2>&1`
14481 # Put the nasty error message in config.log where it belongs
14482 echo "$EDBUS_OFONO_TEST_PKG_ERRORS" >&5
14484 have_edbus_ofono_test="no"
14485 elif test $pkg_failed = untried; then
14486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14487 $as_echo "no" >&6; }
14488 have_edbus_ofono_test="no"
14490 EDBUS_OFONO_TEST_CFLAGS=$pkg_cv_EDBUS_OFONO_TEST_CFLAGS
14491 EDBUS_OFONO_TEST_LIBS=$pkg_cv_EDBUS_OFONO_TEST_LIBS
14492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14493 $as_echo "yes" >&6; }
14494 have_edbus_ofono_test="yes"
14498 if test "x${have_edbus_ukit_test}" = "xyes" ; then
14501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_UKIT_TEST" >&5
14502 $as_echo_n "checking for EDBUS_UKIT_TEST... " >&6; }
14504 if test -n "$EDBUS_UKIT_TEST_CFLAGS"; then
14505 pkg_cv_EDBUS_UKIT_TEST_CFLAGS="$EDBUS_UKIT_TEST_CFLAGS"
14506 elif test -n "$PKG_CONFIG"; then
14507 if test -n "$PKG_CONFIG" && \
14508 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62\""; } >&5
14509 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62") 2>&5
14511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14512 test $ac_status = 0; }; then
14513 pkg_cv_EDBUS_UKIT_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62" 2>/dev/null`
14514 test "x$?" != "x0" && pkg_failed=yes
14521 if test -n "$EDBUS_UKIT_TEST_LIBS"; then
14522 pkg_cv_EDBUS_UKIT_TEST_LIBS="$EDBUS_UKIT_TEST_LIBS"
14523 elif test -n "$PKG_CONFIG"; then
14524 if test -n "$PKG_CONFIG" && \
14525 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62\""; } >&5
14526 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62") 2>&5
14528 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14529 test $ac_status = 0; }; then
14530 pkg_cv_EDBUS_UKIT_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62" 2>/dev/null`
14531 test "x$?" != "x0" && pkg_failed=yes
14541 if test $pkg_failed = yes; then
14542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14543 $as_echo "no" >&6; }
14545 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14546 _pkg_short_errors_supported=yes
14548 _pkg_short_errors_supported=no
14550 if test $_pkg_short_errors_supported = yes; then
14551 EDBUS_UKIT_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62" 2>&1`
14553 EDBUS_UKIT_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62" 2>&1`
14555 # Put the nasty error message in config.log where it belongs
14556 echo "$EDBUS_UKIT_TEST_PKG_ERRORS" >&5
14558 have_edbus_ukit_test="no"
14559 elif test $pkg_failed = untried; then
14560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14561 $as_echo "no" >&6; }
14562 have_edbus_ukit_test="no"
14564 EDBUS_UKIT_TEST_CFLAGS=$pkg_cv_EDBUS_UKIT_TEST_CFLAGS
14565 EDBUS_UKIT_TEST_LIBS=$pkg_cv_EDBUS_UKIT_TEST_LIBS
14566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14567 $as_echo "yes" >&6; }
14568 have_edbus_ukit_test="yes"
14572 if test "x${have_edbus_performance_test}" = "xyes" ; then
14575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_PERFORMANCE_TEST" >&5
14576 $as_echo_n "checking for EDBUS_PERFORMANCE_TEST... " >&6; }
14578 if test -n "$EDBUS_PERFORMANCE_TEST_CFLAGS"; then
14579 pkg_cv_EDBUS_PERFORMANCE_TEST_CFLAGS="$EDBUS_PERFORMANCE_TEST_CFLAGS"
14580 elif test -n "$PKG_CONFIG"; then
14581 if test -n "$PKG_CONFIG" && \
14582 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62 ecore-evas >= 1.7.8 elementary >= 1.7.8 evas >= 1.7.8\""; } >&5
14583 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62 ecore-evas >= 1.7.8 elementary >= 1.7.8 evas >= 1.7.8") 2>&5
14585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14586 test $ac_status = 0; }; then
14587 pkg_cv_EDBUS_PERFORMANCE_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62 ecore-evas >= 1.7.8 elementary >= 1.7.8 evas >= 1.7.8" 2>/dev/null`
14588 test "x$?" != "x0" && pkg_failed=yes
14595 if test -n "$EDBUS_PERFORMANCE_TEST_LIBS"; then
14596 pkg_cv_EDBUS_PERFORMANCE_TEST_LIBS="$EDBUS_PERFORMANCE_TEST_LIBS"
14597 elif test -n "$PKG_CONFIG"; then
14598 if test -n "$PKG_CONFIG" && \
14599 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62 ecore-evas >= 1.7.8 elementary >= 1.7.8 evas >= 1.7.8\""; } >&5
14600 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62 ecore-evas >= 1.7.8 elementary >= 1.7.8 evas >= 1.7.8") 2>&5
14602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14603 test $ac_status = 0; }; then
14604 pkg_cv_EDBUS_PERFORMANCE_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62 ecore-evas >= 1.7.8 elementary >= 1.7.8 evas >= 1.7.8" 2>/dev/null`
14605 test "x$?" != "x0" && pkg_failed=yes
14615 if test $pkg_failed = yes; then
14616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14617 $as_echo "no" >&6; }
14619 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14620 _pkg_short_errors_supported=yes
14622 _pkg_short_errors_supported=no
14624 if test $_pkg_short_errors_supported = yes; then
14625 EDBUS_PERFORMANCE_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62 ecore-evas >= 1.7.8 elementary >= 1.7.8 evas >= 1.7.8" 2>&1`
14627 EDBUS_PERFORMANCE_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.8 eina >= 1.7.8 dbus-1 >= 0.62 ecore-evas >= 1.7.8 elementary >= 1.7.8 evas >= 1.7.8" 2>&1`
14629 # Put the nasty error message in config.log where it belongs
14630 echo "$EDBUS_PERFORMANCE_TEST_PKG_ERRORS" >&5
14632 have_edbus_performance_test="no"
14633 elif test $pkg_failed = untried; then
14634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14635 $as_echo "no" >&6; }
14636 have_edbus_performance_test="no"
14638 EDBUS_PERFORMANCE_TEST_CFLAGS=$pkg_cv_EDBUS_PERFORMANCE_TEST_CFLAGS
14639 EDBUS_PERFORMANCE_TEST_LIBS=$pkg_cv_EDBUS_PERFORMANCE_TEST_LIBS
14640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14641 $as_echo "yes" >&6; }
14642 have_edbus_performance_test="yes"
14646 if test "x${have_edbus_performance_test}" = "xyes"; then
14647 BUILD_EDBUS_PERFORMANCE_TEST_TRUE=
14648 BUILD_EDBUS_PERFORMANCE_TEST_FALSE='#'
14650 BUILD_EDBUS_PERFORMANCE_TEST_TRUE='#'
14651 BUILD_EDBUS_PERFORMANCE_TEST_FALSE=
14655 if test "x${have_edbus_async_test}" = "xyes" ; then
14658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_ASYNC_TEST" >&5
14659 $as_echo_n "checking for EDBUS_ASYNC_TEST... " >&6; }
14661 if test -n "$EDBUS_ASYNC_TEST_CFLAGS"; then
14662 pkg_cv_EDBUS_ASYNC_TEST_CFLAGS="$EDBUS_ASYNC_TEST_CFLAGS"
14663 elif test -n "$PKG_CONFIG"; then
14664 if test -n "$PKG_CONFIG" && \
14665 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.8 dbus-1 >= 0.62\""; } >&5
14666 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.8 dbus-1 >= 0.62") 2>&5
14668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14669 test $ac_status = 0; }; then
14670 pkg_cv_EDBUS_ASYNC_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.8 dbus-1 >= 0.62" 2>/dev/null`
14671 test "x$?" != "x0" && pkg_failed=yes
14678 if test -n "$EDBUS_ASYNC_TEST_LIBS"; then
14679 pkg_cv_EDBUS_ASYNC_TEST_LIBS="$EDBUS_ASYNC_TEST_LIBS"
14680 elif test -n "$PKG_CONFIG"; then
14681 if test -n "$PKG_CONFIG" && \
14682 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.8 dbus-1 >= 0.62\""; } >&5
14683 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.8 dbus-1 >= 0.62") 2>&5
14685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14686 test $ac_status = 0; }; then
14687 pkg_cv_EDBUS_ASYNC_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.8 dbus-1 >= 0.62" 2>/dev/null`
14688 test "x$?" != "x0" && pkg_failed=yes
14698 if test $pkg_failed = yes; then
14699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14700 $as_echo "no" >&6; }
14702 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14703 _pkg_short_errors_supported=yes
14705 _pkg_short_errors_supported=no
14707 if test $_pkg_short_errors_supported = yes; then
14708 EDBUS_ASYNC_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.8 dbus-1 >= 0.62" 2>&1`
14710 EDBUS_ASYNC_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.8 dbus-1 >= 0.62" 2>&1`
14712 # Put the nasty error message in config.log where it belongs
14713 echo "$EDBUS_ASYNC_TEST_PKG_ERRORS" >&5
14715 have_edbus_async_test="no"
14716 elif test $pkg_failed = untried; then
14717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14718 $as_echo "no" >&6; }
14719 have_edbus_async_test="no"
14721 EDBUS_ASYNC_TEST_CFLAGS=$pkg_cv_EDBUS_ASYNC_TEST_CFLAGS
14722 EDBUS_ASYNC_TEST_LIBS=$pkg_cv_EDBUS_ASYNC_TEST_LIBS
14723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14724 $as_echo "yes" >&6; }
14725 have_edbus_async_test="yes"
14729 ### Checks for header files
14732 ### Checks for types
14735 ### Checks for structures
14738 ### Checks for compiler characteristics
14743 EFL_EDBUS_BUILD="-DEFL_EDBUS_BUILD"
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14749 $as_echo_n "checking for ANSI C header files... " >&6; }
14750 if ${ac_cv_header_stdc+:} false; then :
14751 $as_echo_n "(cached) " >&6
14753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14754 /* end confdefs.h. */
14755 #include <stdlib.h>
14756 #include <stdarg.h>
14757 #include <string.h>
14768 if ac_fn_c_try_compile "$LINENO"; then :
14769 ac_cv_header_stdc=yes
14771 ac_cv_header_stdc=no
14773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14775 if test $ac_cv_header_stdc = yes; then
14776 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14778 /* end confdefs.h. */
14779 #include <string.h>
14782 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14783 $EGREP "memchr" >/dev/null 2>&1; then :
14786 ac_cv_header_stdc=no
14792 if test $ac_cv_header_stdc = yes; then
14793 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14795 /* end confdefs.h. */
14796 #include <stdlib.h>
14799 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14800 $EGREP "free" >/dev/null 2>&1; then :
14803 ac_cv_header_stdc=no
14809 if test $ac_cv_header_stdc = yes; then
14810 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14811 if test "$cross_compiling" = yes; then :
14814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14815 /* end confdefs.h. */
14817 #include <stdlib.h>
14818 #if ((' ' & 0x0FF) == 0x020)
14819 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14820 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14822 # define ISLOWER(c) \
14823 (('a' <= (c) && (c) <= 'i') \
14824 || ('j' <= (c) && (c) <= 'r') \
14825 || ('s' <= (c) && (c) <= 'z'))
14826 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14829 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14834 for (i = 0; i < 256; i++)
14835 if (XOR (islower (i), ISLOWER (i))
14836 || toupper (i) != TOUPPER (i))
14841 if ac_fn_c_try_run "$LINENO"; then :
14844 ac_cv_header_stdc=no
14846 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14847 conftest.$ac_objext conftest.beam conftest.$ac_ext
14852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
14853 $as_echo "$ac_cv_header_stdc" >&6; }
14854 if test $ac_cv_header_stdc = yes; then
14856 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
14862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
14863 $as_echo_n "checking for __attribute__... " >&6; }
14865 if ${ac_cv___attribute__+:} false; then :
14866 $as_echo_n "(cached) " >&6
14868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14869 /* end confdefs.h. */
14871 #include <stdlib.h>
14874 int foo(int x __attribute__ ((unused)))
14887 if ac_fn_c_try_compile "$LINENO"; then :
14888 ac_cv___attribute__="yes"
14890 ac_cv___attribute__="no"
14893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
14898 $as_echo "$ac_cv___attribute__" >&6; }
14900 if test "x${ac_cv___attribute__}" = "xyes" ; then
14902 $as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
14905 $as_echo "#define __UNUSED__ __attribute__((unused))" >>confdefs.h
14909 $as_echo "#define __UNUSED__ /**/" >>confdefs.h
14915 if ! test "x${VMIC}" = "x" ; then
14918 CFLAGS_save="${CFLAGS}"
14919 CFLAGS="${CFLAGS} -Wall"
14922 ac_cpp='$CPP $CPPFLAGS'
14923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wall" >&5
14928 $as_echo_n "checking whether the compiler supports -Wall... " >&6; }
14930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14931 /* end confdefs.h. */
14941 if ac_fn_c_try_compile "$LINENO"; then :
14946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
14948 $as_echo "${have_flag}" >&6; }
14950 if test "x${have_flag}" = "xno" ; then
14951 CFLAGS="${CFLAGS_save}"
14954 ac_cpp='$CPP $CPPFLAGS'
14955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14963 CFLAGS_save="${CFLAGS}"
14964 CFLAGS="${CFLAGS} -W"
14967 ac_cpp='$CPP $CPPFLAGS'
14968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -W" >&5
14973 $as_echo_n "checking whether the compiler supports -W... " >&6; }
14975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14976 /* end confdefs.h. */
14986 if ac_fn_c_try_compile "$LINENO"; then :
14991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
14993 $as_echo "${have_flag}" >&6; }
14995 if test "x${have_flag}" = "xno" ; then
14996 CFLAGS="${CFLAGS_save}"
14999 ac_cpp='$CPP $CPPFLAGS'
15000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15010 CFLAGS_save="${CFLAGS}"
15011 CFLAGS="${CFLAGS} -Wshadow"
15014 ac_cpp='$CPP $CPPFLAGS'
15015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshadow" >&5
15020 $as_echo_n "checking whether the compiler supports -Wshadow... " >&6; }
15022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15023 /* end confdefs.h. */
15033 if ac_fn_c_try_compile "$LINENO"; then :
15038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
15040 $as_echo "${have_flag}" >&6; }
15042 if test "x${have_flag}" = "xno" ; then
15043 CFLAGS="${CFLAGS_save}"
15046 ac_cpp='$CPP $CPPFLAGS'
15047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15055 ### Checks for linker characteristics
15057 lt_enable_auto_import=""
15060 lt_enable_auto_import="-Wl,--enable-auto-import"
15066 ### Checks for library functions
15068 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15069 if test "x$ac_cv_type_size_t" = xyes; then :
15073 cat >>confdefs.h <<_ACEOF
15074 #define size_t unsigned int
15079 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
15080 # for constant arguments. Useless!
15081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
15082 $as_echo_n "checking for working alloca.h... " >&6; }
15083 if ${ac_cv_working_alloca_h+:} false; then :
15084 $as_echo_n "(cached) " >&6
15086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15087 /* end confdefs.h. */
15088 #include <alloca.h>
15092 char *p = (char *) alloca (2 * sizeof (int));
15098 if ac_fn_c_try_link "$LINENO"; then :
15099 ac_cv_working_alloca_h=yes
15101 ac_cv_working_alloca_h=no
15103 rm -f core conftest.err conftest.$ac_objext \
15104 conftest$ac_exeext conftest.$ac_ext
15106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
15107 $as_echo "$ac_cv_working_alloca_h" >&6; }
15108 if test $ac_cv_working_alloca_h = yes; then
15110 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
15114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
15115 $as_echo_n "checking for alloca... " >&6; }
15116 if ${ac_cv_func_alloca_works+:} false; then :
15117 $as_echo_n "(cached) " >&6
15119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15120 /* end confdefs.h. */
15122 # define alloca __builtin_alloca
15125 # include <malloc.h>
15126 # define alloca _alloca
15128 # ifdef HAVE_ALLOCA_H
15129 # include <alloca.h>
15134 # ifndef alloca /* predefined by HP cc +Olibcalls */
15135 void *alloca (size_t);
15145 char *p = (char *) alloca (1);
15151 if ac_fn_c_try_link "$LINENO"; then :
15152 ac_cv_func_alloca_works=yes
15154 ac_cv_func_alloca_works=no
15156 rm -f core conftest.err conftest.$ac_objext \
15157 conftest$ac_exeext conftest.$ac_ext
15159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
15160 $as_echo "$ac_cv_func_alloca_works" >&6; }
15162 if test $ac_cv_func_alloca_works = yes; then
15164 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
15167 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
15168 # that cause trouble. Some versions do not even contain alloca or
15169 # contain a buggy version. If you still want to use their alloca,
15170 # use ar to extract alloca.o from them instead of compiling alloca.c.
15172 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
15174 $as_echo "#define C_ALLOCA 1" >>confdefs.h
15177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
15178 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
15179 if ${ac_cv_os_cray+:} false; then :
15180 $as_echo_n "(cached) " >&6
15182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15183 /* end confdefs.h. */
15184 #if defined CRAY && ! defined CRAY2
15191 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15192 $EGREP "webecray" >/dev/null 2>&1; then :
15200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
15201 $as_echo "$ac_cv_os_cray" >&6; }
15202 if test $ac_cv_os_cray = yes; then
15203 for ac_func in _getb67 GETB67 getb67; do
15204 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15205 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15206 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15208 cat >>confdefs.h <<_ACEOF
15209 #define CRAY_STACKSEG_END $ac_func
15218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
15219 $as_echo_n "checking stack direction for C alloca... " >&6; }
15220 if ${ac_cv_c_stack_direction+:} false; then :
15221 $as_echo_n "(cached) " >&6
15223 if test "$cross_compiling" = yes; then :
15224 ac_cv_c_stack_direction=0
15226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15227 /* end confdefs.h. */
15228 $ac_includes_default
15230 find_stack_direction (int *addr, int depth)
15232 int dir, dummy = 0;
15235 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
15236 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
15237 return dir + dummy;
15241 main (int argc, char **argv)
15243 return find_stack_direction (0, argc + !argv + 20) < 0;
15246 if ac_fn_c_try_run "$LINENO"; then :
15247 ac_cv_c_stack_direction=1
15249 ac_cv_c_stack_direction=-1
15251 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15252 conftest.$ac_objext conftest.beam conftest.$ac_ext
15256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
15257 $as_echo "$ac_cv_c_stack_direction" >&6; }
15258 cat >>confdefs.h <<_ACEOF
15259 #define STACK_DIRECTION $ac_cv_c_stack_direction
15275 ac_config_files="$ac_config_files e_dbus.spec Makefile doc/Makefile doc/Doxyfile src/Makefile src/lib/Makefile src/lib/bluez/Makefile src/lib/connman0_7x/Makefile src/lib/dbus/Makefile src/lib/hal/Makefile src/lib/notification/Makefile src/lib/ofono/Makefile src/lib/ukit/Makefile src/bin/Makefile ebluez.pc econnman-0.7x.pc edbus.pc ehal.pc enotify.pc eofono.pc eukit.pc"
15277 cat >confcache <<\_ACEOF
15278 # This file is a shell script that caches the results of configure
15279 # tests run on this system so they can be shared between configure
15280 # scripts and configure runs, see configure's option --config-cache.
15281 # It is not useful on other systems. If it contains results you don't
15282 # want to keep, you may remove or edit it.
15284 # config.status only pays attention to the cache file if you give it
15285 # the --recheck option to rerun configure.
15287 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15288 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15289 # following values.
15293 # The following way of writing the cache mishandles newlines in values,
15294 # but we know of no workaround that is simple, portable, and efficient.
15295 # So, we kill variables containing newlines.
15296 # Ultrix sh set writes to stderr and can't be redirected directly,
15297 # and sets the high bit in the cache file unless we assign to the vars.
15299 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15300 eval ac_val=\$$ac_var
15304 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15305 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15308 _ | IFS | as_nl) ;; #(
15309 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15310 *) { eval $ac_var=; unset $ac_var;} ;;
15316 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15317 *${as_nl}ac_space=\ *)
15318 # `set' does not quote correctly, so add quotes: double-quote
15319 # substitution turns \\\\ into \\, and sed turns \\ into \.
15322 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15325 # `set' quotes correctly as required by POSIX, so do not add quotes.
15326 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15335 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15337 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15339 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15340 if test -w "$cache_file"; then
15341 if test "x$cache_file" != "x/dev/null"; then
15342 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15343 $as_echo "$as_me: updating cache $cache_file" >&6;}
15344 if test ! -f "$cache_file" || test -h "$cache_file"; then
15345 cat confcache >"$cache_file"
15347 case $cache_file in #(
15349 mv -f confcache "$cache_file"$$ &&
15350 mv -f "$cache_file"$$ "$cache_file" ;; #(
15352 mv -f confcache "$cache_file" ;;
15357 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15358 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15363 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15364 # Let make expand exec_prefix.
15365 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15367 DEFS=-DHAVE_CONFIG_H
15372 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15373 # 1. Remove the extension, and $U if already installed.
15374 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15375 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15376 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15377 # will be set to the directory where LIBOBJS objects are built.
15378 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15379 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15381 LIBOBJS=$ac_libobjs
15383 LTLIBOBJS=$ac_ltlibobjs
15386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15387 $as_echo_n "checking that generated files are newer than configure... " >&6; }
15388 if test -n "$am_sleep_pid"; then
15389 # Hide warnings about reused PIDs.
15390 wait $am_sleep_pid 2>/dev/null
15392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15393 $as_echo "done" >&6; }
15394 if test -n "$EXEEXT"; then
15396 am__EXEEXT_FALSE='#'
15398 am__EXEEXT_TRUE='#'
15402 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15403 as_fn_error $? "conditional \"AMDEP\" was never defined.
15404 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15406 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15407 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15408 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15410 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15411 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15412 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15414 if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
15415 as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
15416 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15418 if test -z "${BUILD_EBLUEZ_TRUE}" && test -z "${BUILD_EBLUEZ_FALSE}"; then
15419 as_fn_error $? "conditional \"BUILD_EBLUEZ\" was never defined.
15420 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15422 if test -z "${BUILD_ECONNMAN0_7X_TRUE}" && test -z "${BUILD_ECONNMAN0_7X_FALSE}"; then
15423 as_fn_error $? "conditional \"BUILD_ECONNMAN0_7X\" was never defined.
15424 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15426 if test -z "${BUILD_EHAL_TRUE}" && test -z "${BUILD_EHAL_FALSE}"; then
15427 as_fn_error $? "conditional \"BUILD_EHAL\" was never defined.
15428 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15430 if test -z "${BUILD_ENOTIFY_TRUE}" && test -z "${BUILD_ENOTIFY_FALSE}"; then
15431 as_fn_error $? "conditional \"BUILD_ENOTIFY\" was never defined.
15432 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15434 if test -z "${BUILD_EOFONO_TRUE}" && test -z "${BUILD_EOFONO_FALSE}"; then
15435 as_fn_error $? "conditional \"BUILD_EOFONO\" was never defined.
15436 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15438 if test -z "${BUILD_EUKIT_TRUE}" && test -z "${BUILD_EUKIT_FALSE}"; then
15439 as_fn_error $? "conditional \"BUILD_EUKIT\" was never defined.
15440 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15442 if test -z "${BUILD_EDBUS_TEST_TRUE}" && test -z "${BUILD_EDBUS_TEST_FALSE}"; then
15443 as_fn_error $? "conditional \"BUILD_EDBUS_TEST\" was never defined.
15444 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15446 if test -z "${BUILD_EDBUS_TEST_CLIENT_TRUE}" && test -z "${BUILD_EDBUS_TEST_CLIENT_FALSE}"; then
15447 as_fn_error $? "conditional \"BUILD_EDBUS_TEST_CLIENT\" was never defined.
15448 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15450 if test -z "${BUILD_EDBUS_BLUEZ_TEST_TRUE}" && test -z "${BUILD_EDBUS_BLUEZ_TEST_FALSE}"; then
15451 as_fn_error $? "conditional \"BUILD_EDBUS_BLUEZ_TEST\" was never defined.
15452 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15454 if test -z "${BUILD_EDBUS_CONNMAN0_7X_TEST_TRUE}" && test -z "${BUILD_EDBUS_CONNMAN0_7X_TEST_FALSE}"; then
15455 as_fn_error $? "conditional \"BUILD_EDBUS_CONNMAN0_7X_TEST\" was never defined.
15456 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15458 if test -z "${BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_TRUE}" && test -z "${BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_FALSE}"; then
15459 as_fn_error $? "conditional \"BUILD_EDBUS_NOTIFICATION_DAEMON_TEST\" was never defined.
15460 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15462 if test -z "${BUILD_EDBUS_NOTIFY_SEND_TRUE}" && test -z "${BUILD_EDBUS_NOTIFY_SEND_FALSE}"; then
15463 as_fn_error $? "conditional \"BUILD_EDBUS_NOTIFY_SEND\" was never defined.
15464 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15466 if test -z "${BUILD_EDBUS_NOTIFY_TEST_TRUE}" && test -z "${BUILD_EDBUS_NOTIFY_TEST_FALSE}"; then
15467 as_fn_error $? "conditional \"BUILD_EDBUS_NOTIFY_TEST\" was never defined.
15468 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15470 if test -z "${BUILD_EDBUS_OFONO_TEST_TRUE}" && test -z "${BUILD_EDBUS_OFONO_TEST_FALSE}"; then
15471 as_fn_error $? "conditional \"BUILD_EDBUS_OFONO_TEST\" was never defined.
15472 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15474 if test -z "${BUILD_EDBUS_UKIT_TEST_TRUE}" && test -z "${BUILD_EDBUS_UKIT_TEST_FALSE}"; then
15475 as_fn_error $? "conditional \"BUILD_EDBUS_UKIT_TEST\" was never defined.
15476 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15478 if test -z "${BUILD_EDBUS_PERFORMANCE_TEST_TRUE}" && test -z "${BUILD_EDBUS_PERFORMANCE_TEST_FALSE}"; then
15479 as_fn_error $? "conditional \"BUILD_EDBUS_PERFORMANCE_TEST\" was never defined.
15480 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15482 if test -z "${BUILD_EDBUS_ASYNC_TEST_TRUE}" && test -z "${BUILD_EDBUS_ASYNC_TEST_FALSE}"; then
15483 as_fn_error $? "conditional \"BUILD_EDBUS_ASYNC_TEST\" was never defined.
15484 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15486 if test -z "${BUILD_EDBUS_PERFORMANCE_TEST_TRUE}" && test -z "${BUILD_EDBUS_PERFORMANCE_TEST_FALSE}"; then
15487 as_fn_error $? "conditional \"BUILD_EDBUS_PERFORMANCE_TEST\" was never defined.
15488 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15491 : "${CONFIG_STATUS=./config.status}"
15493 ac_clean_files_save=$ac_clean_files
15494 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15495 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15496 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15498 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15500 # Generated by $as_me.
15501 # Run this file to recreate the current configuration.
15502 # Compiler output produced by configure, useful for debugging
15503 # configure, is in config.log if it exists.
15506 ac_cs_recheck=false
15509 SHELL=\${CONFIG_SHELL-$SHELL}
15512 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15513 ## -------------------- ##
15514 ## M4sh Initialization. ##
15515 ## -------------------- ##
15517 # Be more Bourne compatible
15518 DUALCASE=1; export DUALCASE # for MKS sh
15519 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15522 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15523 # is contrary to our usage. Disable this feature.
15524 alias -g '${1+"$@"}'='"$@"'
15525 setopt NO_GLOB_SUBST
15527 case `(set -o) 2>/dev/null` in #(
15539 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15540 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15541 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15542 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15543 # Prefer a ksh shell builtin over an external printf program on Solaris,
15544 # but without wasting forks for bash or zsh.
15545 if test -z "$BASH_VERSION$ZSH_VERSION" \
15546 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15547 as_echo='print -r --'
15548 as_echo_n='print -rn --'
15549 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15550 as_echo='printf %s\n'
15551 as_echo_n='printf %s'
15553 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15554 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15555 as_echo_n='/usr/ucb/echo -n'
15557 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15558 as_echo_n_body='eval
15562 expr "X$arg" : "X\\(.*\\)$as_nl";
15563 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15565 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15567 export as_echo_n_body
15568 as_echo_n='sh -c $as_echo_n_body as_echo'
15570 export as_echo_body
15571 as_echo='sh -c $as_echo_body as_echo'
15574 # The user is always right.
15575 if test "${PATH_SEPARATOR+set}" != set; then
15577 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15578 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15585 # We need space, tab and new line, in precisely that order. Quoting is
15586 # there to prevent editors from complaining about space-tab.
15587 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15588 # splitting by setting IFS to empty value.)
15591 # Find who we are. Look in the path if we contain no directory separator.
15594 *[\\/]* ) as_myself=$0 ;;
15595 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15596 for as_dir in $PATH
15599 test -z "$as_dir" && as_dir=.
15600 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15606 # We did not find ourselves, most probably we were run as `sh COMMAND'
15607 # in which case we are not to be found in the path.
15608 if test "x$as_myself" = x; then
15611 if test ! -f "$as_myself"; then
15612 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15616 # Unset variables that we do not need and which cause bugs (e.g. in
15617 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15618 # suppresses any "Segmentation fault" message there. '((' could
15619 # trigger a bug in pdksh 5.2.14.
15620 for as_var in BASH_ENV ENV MAIL MAILPATH
15621 do eval test x\${$as_var+set} = xset \
15622 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15635 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15638 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15639 # ----------------------------------------
15640 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15641 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15642 # script with STATUS, using 1 if that was 0.
15645 as_status=$1; test $as_status -eq 0 && as_status=1
15647 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15648 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15650 $as_echo "$as_me: error: $2" >&2
15651 as_fn_exit $as_status
15655 # as_fn_set_status STATUS
15656 # -----------------------
15657 # Set $? to STATUS, without forking.
15658 as_fn_set_status ()
15661 } # as_fn_set_status
15663 # as_fn_exit STATUS
15664 # -----------------
15665 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15669 as_fn_set_status $1
15675 # Portably unset VAR.
15678 { eval $1=; unset $1;}
15680 as_unset=as_fn_unset
15681 # as_fn_append VAR VALUE
15682 # ----------------------
15683 # Append the text in VALUE to the end of the definition contained in VAR. Take
15684 # advantage of any shell optimizations that allow amortized linear growth over
15685 # repeated appends, instead of the typical quadratic growth present in naive
15687 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15688 eval 'as_fn_append ()
15699 # as_fn_arith ARG...
15700 # ------------------
15701 # Perform arithmetic evaluation on the ARGs, and store the result in the
15702 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15703 # must be portable across $(()) and expr.
15704 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15705 eval 'as_fn_arith ()
15712 as_val=`expr "$@" || test $? -eq 1`
15717 if expr a : '\(a\)' >/dev/null 2>&1 &&
15718 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15724 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15725 as_basename=basename
15730 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15736 as_me=`$as_basename -- "$0" ||
15737 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15738 X"$0" : 'X\(//\)$' \| \
15739 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15741 sed '/^.*\/\([^/][^/]*\)\/*$/{
15755 # Avoid depending upon Character Ranges.
15756 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15757 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15758 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15759 as_cr_digits='0123456789'
15760 as_cr_alnum=$as_cr_Letters$as_cr_digits
15762 ECHO_C= ECHO_N= ECHO_T=
15763 case `echo -n x` in #(((((
15765 case `echo 'xy\c'` in
15766 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15768 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15775 rm -f conf$$ conf$$.exe conf$$.file
15776 if test -d conf$$.dir; then
15777 rm -f conf$$.dir/conf$$.file
15780 mkdir conf$$.dir 2>/dev/null
15782 if (echo >conf$$.file) 2>/dev/null; then
15783 if ln -s conf$$.file conf$$ 2>/dev/null; then
15785 # ... but there are two gotchas:
15786 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15787 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15788 # In both cases, we have to default to `cp -pR'.
15789 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15791 elif ln conf$$.file conf$$ 2>/dev/null; then
15799 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15800 rmdir conf$$.dir 2>/dev/null
15805 # Create "$as_dir" as a directory, including parents if necessary.
15810 -*) as_dir=./$as_dir;;
15812 test -d "$as_dir" || eval $as_mkdir_p || {
15816 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15817 *) as_qdir=$as_dir;;
15819 as_dirs="'$as_qdir' $as_dirs"
15820 as_dir=`$as_dirname -- "$as_dir" ||
15821 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15822 X"$as_dir" : 'X\(//\)[^/]' \| \
15823 X"$as_dir" : 'X\(//\)$' \| \
15824 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15825 $as_echo X"$as_dir" |
15826 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15830 /^X\(\/\/\)[^/].*/{
15843 test -d "$as_dir" && break
15845 test -z "$as_dirs" || eval "mkdir $as_dirs"
15846 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15850 if mkdir -p . 2>/dev/null; then
15851 as_mkdir_p='mkdir -p "$as_dir"'
15853 test -d ./-p && rmdir ./-p
15858 # as_fn_executable_p FILE
15859 # -----------------------
15860 # Test if FILE is an executable regular file.
15861 as_fn_executable_p ()
15863 test -f "$1" && test -x "$1"
15864 } # as_fn_executable_p
15865 as_test_x='test -x'
15866 as_executable_p=as_fn_executable_p
15868 # Sed expression to map a string onto a valid CPP name.
15869 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15871 # Sed expression to map a string onto a valid variable name.
15872 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15876 ## ----------------------------------- ##
15877 ## Main body of $CONFIG_STATUS script. ##
15878 ## ----------------------------------- ##
15880 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15882 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15883 # Save the log message, to keep $0 and so on meaningful, and to
15884 # report actual input values of CONFIG_FILES etc. instead of their
15885 # values after options handling.
15887 This file was extended by e_dbus $as_me 1.7.8, which was
15888 generated by GNU Autoconf 2.69. Invocation command line was
15890 CONFIG_FILES = $CONFIG_FILES
15891 CONFIG_HEADERS = $CONFIG_HEADERS
15892 CONFIG_LINKS = $CONFIG_LINKS
15893 CONFIG_COMMANDS = $CONFIG_COMMANDS
15896 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15901 case $ac_config_files in *"
15902 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15905 case $ac_config_headers in *"
15906 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15910 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15911 # Files that config.status was made for.
15912 config_files="$ac_config_files"
15913 config_headers="$ac_config_headers"
15914 config_commands="$ac_config_commands"
15918 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15920 \`$as_me' instantiates files and other configuration actions
15921 from templates according to the current configuration. Unless the files
15922 and actions are specified as TAGs, all are instantiated by default.
15924 Usage: $0 [OPTION]... [TAG]...
15926 -h, --help print this help, then exit
15927 -V, --version print version number and configuration settings, then exit
15928 --config print configuration, then exit
15929 -q, --quiet, --silent
15930 do not print progress messages
15931 -d, --debug don't remove temporary files
15932 --recheck update $as_me by reconfiguring in the same conditions
15933 --file=FILE[:TEMPLATE]
15934 instantiate the configuration file FILE
15935 --header=FILE[:TEMPLATE]
15936 instantiate the configuration header FILE
15938 Configuration files:
15941 Configuration headers:
15944 Configuration commands:
15947 Report bugs to <enlightenment-devel@lists.sourceforge.net>."
15950 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15951 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15953 e_dbus config.status 1.7.8
15954 configured by $0, generated by GNU Autoconf 2.69,
15955 with options \\"\$ac_cs_config\\"
15957 Copyright (C) 2012 Free Software Foundation, Inc.
15958 This config.status script is free software; the Free Software Foundation
15959 gives unlimited permission to copy, distribute and modify it."
15966 test -n "\$AWK" || AWK=awk
15969 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15970 # The default lists apply if the user does not specify any file.
15976 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15977 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15981 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15993 # Handling of the options.
15994 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15996 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15997 $as_echo "$ac_cs_version"; exit ;;
15998 --config | --confi | --conf | --con | --co | --c )
15999 $as_echo "$ac_cs_config"; exit ;;
16000 --debug | --debu | --deb | --de | --d | -d )
16002 --file | --fil | --fi | --f )
16005 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16006 '') as_fn_error $? "missing file argument" ;;
16008 as_fn_append CONFIG_FILES " '$ac_optarg'"
16009 ac_need_defaults=false;;
16010 --header | --heade | --head | --hea )
16013 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16015 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16016 ac_need_defaults=false;;
16018 # Conflict between --help and --header
16019 as_fn_error $? "ambiguous option: \`$1'
16020 Try \`$0 --help' for more information.";;
16021 --help | --hel | -h )
16022 $as_echo "$ac_cs_usage"; exit ;;
16023 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16024 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16027 # This is an error.
16028 -*) as_fn_error $? "unrecognized option: \`$1'
16029 Try \`$0 --help' for more information." ;;
16031 *) as_fn_append ac_config_targets " $1"
16032 ac_need_defaults=false ;;
16038 ac_configure_extra_args=
16040 if $ac_cs_silent; then
16042 ac_configure_extra_args="$ac_configure_extra_args --silent"
16046 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16047 if \$ac_cs_recheck; then
16048 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16050 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16051 CONFIG_SHELL='$SHELL'
16052 export CONFIG_SHELL
16057 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16061 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16062 ## Running $as_me. ##
16068 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16072 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16075 # The HP-UX ksh and POSIX shell print the target directory to stdout
16076 # if CDPATH is set.
16077 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16079 sed_quote_subst='$sed_quote_subst'
16080 double_quote_subst='$double_quote_subst'
16081 delay_variable_subst='$delay_variable_subst'
16082 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
16083 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16084 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16085 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16086 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16087 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16088 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16089 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16090 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16091 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16092 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16093 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16094 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16095 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16096 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16097 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16098 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16099 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16100 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16101 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16102 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16103 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16104 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16105 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16106 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16107 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16108 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16109 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16110 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16111 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16112 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16113 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16114 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16115 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16116 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16117 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16118 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16119 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16120 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16121 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16122 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16123 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16124 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16125 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16126 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16127 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16128 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16129 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16130 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16131 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16132 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16133 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16134 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16135 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16136 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16137 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16138 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16139 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"`'
16140 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16141 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16142 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16143 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16144 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16145 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16146 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16147 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16148 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16149 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16150 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16151 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16152 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16153 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16154 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16155 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16156 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16157 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16158 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16159 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16160 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16161 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16162 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16163 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16164 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16165 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16166 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16167 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16168 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16169 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16170 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16171 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16172 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16173 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16174 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16175 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16176 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16177 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16178 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16179 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16180 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16181 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16182 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16183 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16184 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16185 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16186 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16187 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16188 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16189 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16190 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16191 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16192 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16193 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16194 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16195 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16196 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16197 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16198 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16199 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16200 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16201 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16202 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16203 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16204 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16205 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16206 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16207 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16208 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16209 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16210 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16211 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16212 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16215 LTCFLAGS='$LTCFLAGS'
16216 compiler='$compiler_DEFAULT'
16218 # A function that is used when there is no print builtin or printf.
16219 func_fallback_echo ()
16221 eval 'cat <<_LTECHO_EOF
16226 # Quote evaled strings.
16243 deplibs_check_method \
16247 sharedlib_from_linklib_cmd \
16250 archiver_list_spec \
16256 lt_cv_sys_global_symbol_pipe \
16257 lt_cv_sys_global_symbol_to_cdecl \
16258 lt_cv_sys_global_symbol_to_c_name_address \
16259 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16260 nm_file_list_spec \
16261 lt_prog_compiler_no_builtin_flag \
16262 lt_prog_compiler_pic \
16263 lt_prog_compiler_wl \
16264 lt_prog_compiler_static \
16265 lt_cv_prog_compiler_c_o \
16274 export_dynamic_flag_spec \
16275 whole_archive_flag_spec \
16276 compiler_needs_object \
16278 allow_undefined_flag \
16279 no_undefined_flag \
16280 hardcode_libdir_flag_spec \
16281 hardcode_libdir_separator \
16285 variables_saved_for_relink \
16287 library_names_spec \
16289 install_override_mode \
16293 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16294 *[\\\\\\\`\\"\\\$]*)
16295 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16298 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16303 # Double-quote double-evaled strings.
16304 for var in reload_cmds \
16305 old_postinstall_cmds \
16306 old_postuninstall_cmds \
16308 extract_expsyms_cmds \
16309 old_archive_from_new_cmds \
16310 old_archive_from_expsyms_cmds \
16312 archive_expsym_cmds \
16314 module_expsym_cmds \
16315 export_symbols_cmds \
16319 postuninstall_cmds \
16321 sys_lib_search_path_spec \
16322 sys_lib_dlsearch_path_spec; do
16323 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16324 *[\\\\\\\`\\"\\\$]*)
16325 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16328 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16333 ac_aux_dir='$ac_aux_dir'
16334 xsi_shell='$xsi_shell'
16335 lt_shell_append='$lt_shell_append'
16337 # See if we are running on zsh, and set the options which allow our
16338 # commands through without removal of \ escapes INIT.
16339 if test -n "\${ZSH_VERSION+set}" ; then
16340 setopt NO_GLOB_SUBST
16346 TIMESTAMP='$TIMESTAMP'
16355 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16357 # Handling of arguments.
16358 for ac_config_target in $ac_config_targets
16360 case $ac_config_target in
16361 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16362 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16363 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16364 "e_dbus.spec") CONFIG_FILES="$CONFIG_FILES e_dbus.spec" ;;
16365 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16366 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16367 "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
16368 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16369 "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
16370 "src/lib/bluez/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/bluez/Makefile" ;;
16371 "src/lib/connman0_7x/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/connman0_7x/Makefile" ;;
16372 "src/lib/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/dbus/Makefile" ;;
16373 "src/lib/hal/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/hal/Makefile" ;;
16374 "src/lib/notification/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/notification/Makefile" ;;
16375 "src/lib/ofono/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ofono/Makefile" ;;
16376 "src/lib/ukit/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ukit/Makefile" ;;
16377 "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
16378 "ebluez.pc") CONFIG_FILES="$CONFIG_FILES ebluez.pc" ;;
16379 "econnman-0.7x.pc") CONFIG_FILES="$CONFIG_FILES econnman-0.7x.pc" ;;
16380 "edbus.pc") CONFIG_FILES="$CONFIG_FILES edbus.pc" ;;
16381 "ehal.pc") CONFIG_FILES="$CONFIG_FILES ehal.pc" ;;
16382 "enotify.pc") CONFIG_FILES="$CONFIG_FILES enotify.pc" ;;
16383 "eofono.pc") CONFIG_FILES="$CONFIG_FILES eofono.pc" ;;
16384 "eukit.pc") CONFIG_FILES="$CONFIG_FILES eukit.pc" ;;
16386 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16391 # If the user did not use the arguments to specify the items to instantiate,
16392 # then the envvar interface is used. Set only those that are not.
16393 # We use the long form for the default assignment because of an extremely
16394 # bizarre bug on SunOS 4.1.3.
16395 if $ac_need_defaults; then
16396 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16397 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16398 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16401 # Have a temporary directory for convenience. Make it in the build tree
16402 # simply because there is no reason against having it here, and in addition,
16403 # creating and moving files from /tmp can sometimes cause problems.
16404 # Hook for its removal unless debugging.
16405 # Note that there is a small window in which the directory will not be cleaned:
16406 # after its creation but before its name has been assigned to `$tmp'.
16410 trap 'exit_status=$?
16411 : "${ac_tmp:=$tmp}"
16412 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16414 trap 'as_fn_exit 1' 1 2 13 15
16416 # Create a (secure) tmp directory for tmp files.
16419 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16423 tmp=./conf$$-$RANDOM
16424 (umask 077 && mkdir "$tmp")
16425 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16428 # Set up the scripts for CONFIG_FILES section.
16429 # No need to generate them if there are no CONFIG_FILES.
16430 # This happens for instance with `./config.status config.h'.
16431 if test -n "$CONFIG_FILES"; then
16434 ac_cr=`echo X | tr X '\015'`
16435 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16436 # But we know of no other shell where ac_cr would be empty at this
16437 # point, so we can use a bashism as a fallback.
16438 if test "x$ac_cr" = x; then
16439 eval ac_cr=\$\'\\r\'
16441 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16442 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16445 ac_cs_awk_cr=$ac_cr
16448 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16453 echo "cat >conf$$subs.awk <<_ACEOF" &&
16454 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16456 } >conf$$subs.sh ||
16457 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16458 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16460 for ac_last_try in false false false false false :; do
16461 . ./conf$$subs.sh ||
16462 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16464 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16465 if test $ac_delim_n = $ac_delim_num; then
16467 elif $ac_last_try; then
16468 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16470 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16473 rm -f conf$$subs.sh
16475 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16476 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16480 s/^/S["/; s/!.*/"]=/
16490 s/\(.\{148\}\)..*/\1/
16492 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16497 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16504 s/\(.\{148\}\)..*/\1/
16506 s/["\\]/\\&/g; s/^/"/; s/$/"/
16510 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16515 ' <conf$$subs.awk | sed '
16520 ' >>$CONFIG_STATUS || ac_write_fail=1
16521 rm -f conf$$subs.awk
16522 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16524 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16525 for (key in S) S_is_set[key] = 1
16531 nfields = split(line, field, "@")
16533 len = length(field[1])
16534 for (i = 2; i < nfields; i++) {
16536 keylen = length(key)
16537 if (S_is_set[key]) {
16539 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16540 len += length(value) + length(field[++i])
16551 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16552 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16553 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16556 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16557 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16560 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16561 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16562 # trailing colons and then remove the whole line if VPATH becomes empty
16563 # (actually we leave an empty line to preserve line numbers).
16564 if test "x$srcdir" = x.; then
16565 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16583 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16584 fi # test -n "$CONFIG_FILES"
16586 # Set up the scripts for CONFIG_HEADERS section.
16587 # No need to generate them if there are no CONFIG_HEADERS.
16588 # This happens for instance with `./config.status Makefile'.
16589 if test -n "$CONFIG_HEADERS"; then
16590 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16594 # Transform confdefs.h into an awk script `defines.awk', embedded as
16595 # here-document in config.status, that substitutes the proper values into
16596 # config.h.in to produce config.h.
16598 # Create a delimiter string that does not exist in confdefs.h, to ease
16599 # handling of long lines.
16601 for ac_last_try in false false :; do
16602 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16603 if test -z "$ac_tt"; then
16605 elif $ac_last_try; then
16606 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16608 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16612 # For the awk script, D is an array of macro values keyed by name,
16613 # likewise P contains macro parameters if any. Preserve backslash
16614 # newline sequences.
16616 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16618 s/.\{148\}/&'"$ac_delim"'/g
16621 s/^[ ]*#[ ]*define[ ][ ]*/ /
16628 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16630 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16634 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16635 D["\1"]=" \3\\\\\\n"\\/p
16637 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16642 s/.\{148\}/&'"$ac_delim"'/g
16647 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16650 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16652 ' <confdefs.h | sed '
16653 s/'"$ac_delim"'/"\\\
16654 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16656 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16657 for (key in D) D_is_set[key] = 1
16660 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16662 split(line, arg, " ")
16663 if (arg[1] == "#") {
16667 defundef = substr(arg[1], 2)
16670 split(mac1, mac2, "(") #)
16672 prefix = substr(line, 1, index(line, defundef) - 1)
16673 if (D_is_set[macro]) {
16674 # Preserve the white space surrounding the "#".
16675 print prefix "define", macro P[macro] D[macro]
16678 # Replace #undef with comments. This is necessary, for example,
16679 # in the case of _POSIX_SOURCE, which is predefined and required
16680 # on some systems where configure will not decide to define it.
16681 if (defundef == "undef") {
16682 print "/*", prefix defundef, macro, "*/"
16690 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16691 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16692 fi # test -n "$CONFIG_HEADERS"
16695 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16700 :[FHLC]) ac_mode=$ac_tag; continue;;
16702 case $ac_mode$ac_tag in
16704 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16705 :[FH]-) ac_tag=-:-;;
16706 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16723 -) ac_f="$ac_tmp/stdin";;
16724 *) # Look for the file first in the build tree, then in the source tree
16725 # (if the path is not absolute). The absolute path cannot be DOS-style,
16726 # because $ac_f cannot contain `:'.
16730 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16732 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16734 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16735 as_fn_append ac_file_inputs " '$ac_f'"
16738 # Let's still pretend it is `configure' which instantiates (i.e., don't
16739 # use $as_me), people would be surprised to read:
16740 # /* config.h. Generated by config.status. */
16741 configure_input='Generated from '`
16742 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16744 if test x"$ac_file" != x-; then
16745 configure_input="$ac_file. $configure_input"
16746 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16747 $as_echo "$as_me: creating $ac_file" >&6;}
16749 # Neutralize special characters interpreted by sed in replacement strings.
16750 case $configure_input in #(
16751 *\&* | *\|* | *\\* )
16752 ac_sed_conf_input=`$as_echo "$configure_input" |
16753 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16754 *) ac_sed_conf_input=$configure_input;;
16758 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16759 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16764 ac_dir=`$as_dirname -- "$ac_file" ||
16765 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16766 X"$ac_file" : 'X\(//\)[^/]' \| \
16767 X"$ac_file" : 'X\(//\)$' \| \
16768 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16769 $as_echo X"$ac_file" |
16770 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16774 /^X\(\/\/\)[^/].*/{
16787 as_dir="$ac_dir"; as_fn_mkdir_p
16791 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16793 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16794 # A ".." for each directory in $ac_dir_suffix.
16795 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16796 case $ac_top_builddir_sub in
16797 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16798 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16801 ac_abs_top_builddir=$ac_pwd
16802 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16803 # for backward compatibility:
16804 ac_top_builddir=$ac_top_build_prefix
16807 .) # We are building in place.
16809 ac_top_srcdir=$ac_top_builddir_sub
16810 ac_abs_top_srcdir=$ac_pwd ;;
16811 [\\/]* | ?:[\\/]* ) # Absolute name.
16812 ac_srcdir=$srcdir$ac_dir_suffix;
16813 ac_top_srcdir=$srcdir
16814 ac_abs_top_srcdir=$srcdir ;;
16815 *) # Relative name.
16816 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16817 ac_top_srcdir=$ac_top_build_prefix$srcdir
16818 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16820 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16830 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16831 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16833 ac_MKDIR_P=$MKDIR_P
16835 [\\/$]* | ?:[\\/]* ) ;;
16836 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16840 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16841 # If the template does not know about datarootdir, expand it.
16842 # FIXME: This hack should be removed a few years after 2.60.
16843 ac_datarootdir_hack=; ac_datarootdir_seen=
16854 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16855 *datarootdir*) ac_datarootdir_seen=yes;;
16856 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16858 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16860 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16861 ac_datarootdir_hack='
16862 s&@datadir@&$datadir&g
16863 s&@docdir@&$docdir&g
16864 s&@infodir@&$infodir&g
16865 s&@localedir@&$localedir&g
16866 s&@mandir@&$mandir&g
16867 s&\\\${datarootdir}&$datarootdir&g' ;;
16871 # Neutralize VPATH when `$srcdir' = `.'.
16872 # Shell code in configure.ac might set extrasub.
16873 # FIXME: do we really want to maintain this feature?
16874 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16875 ac_sed_extra="$ac_vpsub
16878 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16880 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16881 s|@configure_input@|$ac_sed_conf_input|;t t
16882 s&@top_builddir@&$ac_top_builddir_sub&;t t
16883 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16884 s&@srcdir@&$ac_srcdir&;t t
16885 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16886 s&@top_srcdir@&$ac_top_srcdir&;t t
16887 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16888 s&@builddir@&$ac_builddir&;t t
16889 s&@abs_builddir@&$ac_abs_builddir&;t t
16890 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16891 s&@INSTALL@&$ac_INSTALL&;t t
16892 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16893 $ac_datarootdir_hack
16895 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16896 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16898 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16899 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16900 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16901 "$ac_tmp/out"`; test -z "$ac_out"; } &&
16902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16903 which seems to be undefined. Please make sure it is defined" >&5
16904 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16905 which seems to be undefined. Please make sure it is defined" >&2;}
16907 rm -f "$ac_tmp/stdin"
16909 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16910 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16912 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16918 if test x"$ac_file" != x-; then
16920 $as_echo "/* $configure_input */" \
16921 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16922 } >"$ac_tmp/config.h" \
16923 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16924 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16925 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16926 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16929 mv "$ac_tmp/config.h" "$ac_file" \
16930 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16933 $as_echo "/* $configure_input */" \
16934 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16935 || as_fn_error $? "could not create -" "$LINENO" 5
16937 # Compute "$ac_file"'s index in $config_headers.
16940 for _am_header in $config_headers :; do
16941 case $_am_header in
16942 $_am_arg | $_am_arg:* )
16945 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16948 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16949 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16950 X"$_am_arg" : 'X\(//\)[^/]' \| \
16951 X"$_am_arg" : 'X\(//\)$' \| \
16952 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16953 $as_echo X"$_am_arg" |
16954 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16958 /^X\(\/\/\)[^/].*/{
16970 s/.*/./; q'`/stamp-h$_am_stamp_count
16973 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16974 $as_echo "$as_me: executing $ac_file commands" >&6;}
16979 case $ac_file$ac_mode in
16980 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16981 # Older Autoconf quotes --file arguments for eval, but not when files
16982 # are listed without --file. Let's play safe and only enable the eval
16983 # if we detect the quoting.
16984 case $CONFIG_FILES in
16985 *\'*) eval set x "$CONFIG_FILES" ;;
16986 *) set x $CONFIG_FILES ;;
16991 # Strip MF so we end up with the name of the file.
16992 mf=`echo "$mf" | sed -e 's/:.*$//'`
16993 # Check whether this is an Automake generated Makefile or not.
16994 # We used to match only the files named 'Makefile.in', but
16995 # some people rename them; so instead we look at the file content.
16996 # Grep'ing the first line is not enough: some people post-process
16997 # each Makefile.in and add a new line on top of each file to say so.
16998 # Grep'ing the whole file is not good either: AIX grep has a line
16999 # limit of 2048, but all sed's we know have understand at least 4000.
17000 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17001 dirpart=`$as_dirname -- "$mf" ||
17002 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17003 X"$mf" : 'X\(//\)[^/]' \| \
17004 X"$mf" : 'X\(//\)$' \| \
17005 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17007 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17011 /^X\(\/\/\)[^/].*/{
17027 # Extract the definition of DEPDIR, am__include, and am__quote
17028 # from the Makefile without running 'make'.
17029 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17030 test -z "$DEPDIR" && continue
17031 am__include=`sed -n 's/^am__include = //p' < "$mf"`
17032 test -z "$am__include" && continue
17033 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17034 # Find all dependency output files, they are included files with
17035 # $(DEPDIR) in their names. We invoke sed twice because it is the
17036 # simplest approach to changing $(DEPDIR) to its actual value in the
17038 for file in `sed -n "
17039 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17040 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17041 # Make sure the directory exists.
17042 test -f "$dirpart/$file" && continue
17043 fdir=`$as_dirname -- "$file" ||
17044 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17045 X"$file" : 'X\(//\)[^/]' \| \
17046 X"$file" : 'X\(//\)$' \| \
17047 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17048 $as_echo X"$file" |
17049 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17053 /^X\(\/\/\)[^/].*/{
17066 as_dir=$dirpart/$fdir; as_fn_mkdir_p
17067 # echo "creating $dirpart/$file"
17068 echo '# dummy' > "$dirpart/$file"
17075 # See if we are running on zsh, and set the options which allow our
17076 # commands through without removal of \ escapes.
17077 if test -n "${ZSH_VERSION+set}" ; then
17078 setopt NO_GLOB_SUBST
17081 cfgfile="${ofile}T"
17082 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17085 cat <<_LT_EOF >> "$cfgfile"
17088 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17089 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17090 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17091 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17093 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17094 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17096 # Written by Gordon Matzigkeit, 1996
17098 # This file is part of GNU Libtool.
17100 # GNU Libtool is free software; you can redistribute it and/or
17101 # modify it under the terms of the GNU General Public License as
17102 # published by the Free Software Foundation; either version 2 of
17103 # the License, or (at your option) any later version.
17105 # As a special exception to the GNU General Public License,
17106 # if you distribute this file as part of a program or library that
17107 # is built using GNU Libtool, you may include this file under the
17108 # same distribution terms that you use for the rest of that program.
17110 # GNU Libtool is distributed in the hope that it will be useful,
17111 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17112 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17113 # GNU General Public License for more details.
17115 # You should have received a copy of the GNU General Public License
17116 # along with GNU Libtool; see the file COPYING. If not, a copy
17117 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17118 # obtained by writing to the Free Software Foundation, Inc.,
17119 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17122 # The names of the tagged configurations supported by this script.
17125 # ### BEGIN LIBTOOL CONFIG
17127 # Assembler program.
17130 # DLL creation program.
17131 DLLTOOL=$lt_DLLTOOL
17133 # Object dumper program.
17134 OBJDUMP=$lt_OBJDUMP
17136 # Which release of libtool.m4 was used?
17137 macro_version=$macro_version
17138 macro_revision=$macro_revision
17140 # Whether or not to build shared libraries.
17141 build_libtool_libs=$enable_shared
17143 # Whether or not to build static libraries.
17144 build_old_libs=$enable_static
17146 # What type of objects to build.
17149 # Whether or not to optimize for fast installation.
17150 fast_install=$enable_fast_install
17152 # Shell to use when invoking shell scripts.
17155 # An echo program that protects backslashes.
17158 # The PATH separator for the build system.
17159 PATH_SEPARATOR=$lt_PATH_SEPARATOR
17162 host_alias=$host_alias
17166 # The build system.
17167 build_alias=$build_alias
17171 # A sed program that does not truncate output.
17174 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17175 Xsed="\$SED -e 1s/^X//"
17177 # A grep program that handles long lines.
17183 # A literal string matcher.
17186 # A BSD- or MS-compatible name lister.
17189 # Whether we need soft or hard links.
17192 # What is the maximum length of a command?
17193 max_cmd_len=$max_cmd_len
17195 # Object file suffix (normally "o").
17198 # Executable file suffix (normally "").
17201 # whether the shell understands "unset".
17204 # turn spaces into newlines.
17207 # turn newlines into spaces.
17210 # convert \$build file names to \$host format.
17211 to_host_file_cmd=$lt_cv_to_host_file_cmd
17213 # convert \$build files to toolchain format.
17214 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17216 # Method to check whether dependent libraries are shared objects.
17217 deplibs_check_method=$lt_deplibs_check_method
17219 # Command to use when deplibs_check_method = "file_magic".
17220 file_magic_cmd=$lt_file_magic_cmd
17222 # How to find potential files when deplibs_check_method = "file_magic".
17223 file_magic_glob=$lt_file_magic_glob
17225 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17226 want_nocaseglob=$lt_want_nocaseglob
17228 # Command to associate shared and link libraries.
17229 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17234 # Flags to create an archive.
17235 AR_FLAGS=$lt_AR_FLAGS
17237 # How to feed a file listing to the archiver.
17238 archiver_list_spec=$lt_archiver_list_spec
17240 # A symbol stripping program.
17243 # Commands used to install an old-style archive.
17245 old_postinstall_cmds=$lt_old_postinstall_cmds
17246 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17248 # Whether to use a lock for old archive extraction.
17249 lock_old_archive_extraction=$lock_old_archive_extraction
17254 # LTCC compiler flags.
17255 LTCFLAGS=$lt_CFLAGS
17257 # Take the output of nm and produce a listing of raw symbols and C names.
17258 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17260 # Transform the output of nm in a proper C declaration.
17261 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17263 # Transform the output of nm in a C name address pair.
17264 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17266 # Transform the output of nm in a C name address pair when lib prefix is needed.
17267 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17269 # Specify filename containing input files for \$NM.
17270 nm_file_list_spec=$lt_nm_file_list_spec
17272 # The root where to search for dependent libraries,and in which our libraries should be installed.
17273 lt_sysroot=$lt_sysroot
17275 # The name of the directory that contains temporary libtool files.
17278 # Used to examine libraries when file_magic_cmd begins with "file".
17279 MAGIC_CMD=$MAGIC_CMD
17281 # Must we lock files when doing compilation?
17282 need_locks=$lt_need_locks
17285 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17287 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17288 DSYMUTIL=$lt_DSYMUTIL
17290 # Tool to change global to local symbols on Mac OS X.
17293 # Tool to manipulate fat objects and archives on Mac OS X.
17296 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17299 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17300 OTOOL64=$lt_OTOOL64
17302 # Old archive suffix (normally "a").
17305 # Shared library suffix (normally ".so").
17306 shrext_cmds=$lt_shrext_cmds
17308 # The commands to extract the exported symbol list from a shared archive.
17309 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17311 # Variables whose values should be saved in libtool wrapper scripts and
17312 # restored at link time.
17313 variables_saved_for_relink=$lt_variables_saved_for_relink
17315 # Do we need the "lib" prefix for modules?
17316 need_lib_prefix=$need_lib_prefix
17318 # Do we need a version for libraries?
17319 need_version=$need_version
17321 # Library versioning type.
17322 version_type=$version_type
17324 # Shared library runtime path variable.
17325 runpath_var=$runpath_var
17327 # Shared library path variable.
17328 shlibpath_var=$shlibpath_var
17330 # Is shlibpath searched before the hard-coded library search path?
17331 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17333 # Format of library name prefix.
17334 libname_spec=$lt_libname_spec
17336 # List of archive names. First name is the real one, the rest are links.
17337 # The last name is the one that the linker finds with -lNAME
17338 library_names_spec=$lt_library_names_spec
17340 # The coded name of the library, if different from the real name.
17341 soname_spec=$lt_soname_spec
17343 # Permission mode override for installation of shared libraries.
17344 install_override_mode=$lt_install_override_mode
17346 # Command to use after installation of a shared archive.
17347 postinstall_cmds=$lt_postinstall_cmds
17349 # Command to use after uninstallation of a shared archive.
17350 postuninstall_cmds=$lt_postuninstall_cmds
17352 # Commands used to finish a libtool library installation in a directory.
17353 finish_cmds=$lt_finish_cmds
17355 # As "finish_cmds", except a single script fragment to be evaled but
17357 finish_eval=$lt_finish_eval
17359 # Whether we should hardcode library paths into libraries.
17360 hardcode_into_libs=$hardcode_into_libs
17362 # Compile-time system search path for libraries.
17363 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17365 # Run-time system search path for libraries.
17366 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17368 # Whether dlopen is supported.
17369 dlopen_support=$enable_dlopen
17371 # Whether dlopen of programs is supported.
17372 dlopen_self=$enable_dlopen_self
17374 # Whether dlopen of statically linked programs is supported.
17375 dlopen_self_static=$enable_dlopen_self_static
17377 # Commands to strip libraries.
17378 old_striplib=$lt_old_striplib
17379 striplib=$lt_striplib
17382 # The linker used to build libraries.
17385 # How to create reloadable object files.
17386 reload_flag=$lt_reload_flag
17387 reload_cmds=$lt_reload_cmds
17389 # Commands used to build an old-style archive.
17390 old_archive_cmds=$lt_old_archive_cmds
17392 # A language specific compiler.
17395 # Is the compiler the GNU compiler?
17398 # Compiler flag to turn off builtin functions.
17399 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17401 # Additional compiler flags for building library objects.
17402 pic_flag=$lt_lt_prog_compiler_pic
17404 # How to pass a linker flag through the compiler.
17405 wl=$lt_lt_prog_compiler_wl
17407 # Compiler flag to prevent dynamic linking.
17408 link_static_flag=$lt_lt_prog_compiler_static
17410 # Does compiler simultaneously support -c and -o options?
17411 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17413 # Whether or not to add -lc for building shared libraries.
17414 build_libtool_need_lc=$archive_cmds_need_lc
17416 # Whether or not to disallow shared libs when runtime libs are static.
17417 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17419 # Compiler flag to allow reflexive dlopens.
17420 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17422 # Compiler flag to generate shared objects directly from archives.
17423 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17425 # Whether the compiler copes with passing no objects directly.
17426 compiler_needs_object=$lt_compiler_needs_object
17428 # Create an old-style archive from a shared archive.
17429 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17431 # Create a temporary old-style archive to link instead of a shared archive.
17432 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17434 # Commands used to build a shared archive.
17435 archive_cmds=$lt_archive_cmds
17436 archive_expsym_cmds=$lt_archive_expsym_cmds
17438 # Commands used to build a loadable module if different from building
17439 # a shared archive.
17440 module_cmds=$lt_module_cmds
17441 module_expsym_cmds=$lt_module_expsym_cmds
17443 # Whether we are building with GNU ld or not.
17444 with_gnu_ld=$lt_with_gnu_ld
17446 # Flag that allows shared libraries with undefined symbols to be built.
17447 allow_undefined_flag=$lt_allow_undefined_flag
17449 # Flag that enforces no undefined symbols.
17450 no_undefined_flag=$lt_no_undefined_flag
17452 # Flag to hardcode \$libdir into a binary during linking.
17453 # This must work even if \$libdir does not exist
17454 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17456 # Whether we need a single "-rpath" flag with a separated argument.
17457 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17459 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17460 # DIR into the resulting binary.
17461 hardcode_direct=$hardcode_direct
17463 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17464 # DIR into the resulting binary and the resulting library dependency is
17465 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17466 # library is relocated.
17467 hardcode_direct_absolute=$hardcode_direct_absolute
17469 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17470 # into the resulting binary.
17471 hardcode_minus_L=$hardcode_minus_L
17473 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17474 # into the resulting binary.
17475 hardcode_shlibpath_var=$hardcode_shlibpath_var
17477 # Set to "yes" if building a shared library automatically hardcodes DIR
17478 # into the library and all subsequent libraries and executables linked
17480 hardcode_automatic=$hardcode_automatic
17482 # Set to yes if linker adds runtime paths of dependent libraries
17483 # to runtime path list.
17484 inherit_rpath=$inherit_rpath
17486 # Whether libtool must link a program against all its dependency libraries.
17487 link_all_deplibs=$link_all_deplibs
17489 # Set to "yes" if exported symbols are required.
17490 always_export_symbols=$always_export_symbols
17492 # The commands to list exported symbols.
17493 export_symbols_cmds=$lt_export_symbols_cmds
17495 # Symbols that should not be listed in the preloaded symbols.
17496 exclude_expsyms=$lt_exclude_expsyms
17498 # Symbols that must always be exported.
17499 include_expsyms=$lt_include_expsyms
17501 # Commands necessary for linking programs (against libraries) with templates.
17502 prelink_cmds=$lt_prelink_cmds
17504 # Commands necessary for finishing linking programs.
17505 postlink_cmds=$lt_postlink_cmds
17507 # Specify filename containing input files.
17508 file_list_spec=$lt_file_list_spec
17510 # How to hardcode a shared library path into an executable.
17511 hardcode_action=$hardcode_action
17513 # ### END LIBTOOL CONFIG
17519 cat <<\_LT_EOF >> "$cfgfile"
17520 # AIX sometimes has problems with the GCC collect2 program. For some
17521 # reason, if we set the COLLECT_NAMES environment variable, the problems
17522 # vanish in a puff of smoke.
17523 if test "X${COLLECT_NAMES+set}" != Xset; then
17525 export COLLECT_NAMES
17532 ltmain="$ac_aux_dir/ltmain.sh"
17535 # We use sed instead of cat because bash on DJGPP gets confused if
17536 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17537 # text mode, it properly converts lines to CR/LF. This bash problem
17538 # is reportedly fixed, but why not run on old versions too?
17539 sed '$q' "$ltmain" >> "$cfgfile" \
17540 || (rm -f "$cfgfile"; exit 1)
17542 if test x"$xsi_shell" = xyes; then
17543 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17547 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17548 \ * ) func_dirname_result="${3}" ;;\
17550 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17551 && mv -f "$cfgfile.tmp" "$cfgfile" \
17552 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17553 test 0 -eq $? || _lt_function_replace_fail=:
17556 sed -e '/^func_basename ()$/,/^} # func_basename /c\
17559 \ func_basename_result="${1##*/}"\
17560 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17561 && mv -f "$cfgfile.tmp" "$cfgfile" \
17562 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17563 test 0 -eq $? || _lt_function_replace_fail=:
17566 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17567 func_dirname_and_basename ()\
17570 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17571 \ * ) func_dirname_result="${3}" ;;\
17573 \ func_basename_result="${1##*/}"\
17574 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17575 && mv -f "$cfgfile.tmp" "$cfgfile" \
17576 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17577 test 0 -eq $? || _lt_function_replace_fail=:
17580 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17583 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17584 \ # positional parameters, so assign one to ordinary parameter first.\
17585 \ func_stripname_result=${3}\
17586 \ func_stripname_result=${func_stripname_result#"${1}"}\
17587 \ func_stripname_result=${func_stripname_result%"${2}"}\
17588 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17589 && mv -f "$cfgfile.tmp" "$cfgfile" \
17590 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17591 test 0 -eq $? || _lt_function_replace_fail=:
17594 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17595 func_split_long_opt ()\
17597 \ func_split_long_opt_name=${1%%=*}\
17598 \ func_split_long_opt_arg=${1#*=}\
17599 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17600 && mv -f "$cfgfile.tmp" "$cfgfile" \
17601 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17602 test 0 -eq $? || _lt_function_replace_fail=:
17605 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17606 func_split_short_opt ()\
17608 \ func_split_short_opt_arg=${1#??}\
17609 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17610 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17611 && mv -f "$cfgfile.tmp" "$cfgfile" \
17612 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17613 test 0 -eq $? || _lt_function_replace_fail=:
17616 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17620 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17621 \ *) func_lo2o_result=${1} ;;\
17623 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17624 && mv -f "$cfgfile.tmp" "$cfgfile" \
17625 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17626 test 0 -eq $? || _lt_function_replace_fail=:
17629 sed -e '/^func_xform ()$/,/^} # func_xform /c\
17632 func_xform_result=${1%.*}.lo\
17633 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17634 && mv -f "$cfgfile.tmp" "$cfgfile" \
17635 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17636 test 0 -eq $? || _lt_function_replace_fail=:
17639 sed -e '/^func_arith ()$/,/^} # func_arith /c\
17642 func_arith_result=$(( $* ))\
17643 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17644 && mv -f "$cfgfile.tmp" "$cfgfile" \
17645 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17646 test 0 -eq $? || _lt_function_replace_fail=:
17649 sed -e '/^func_len ()$/,/^} # func_len /c\
17652 func_len_result=${#1}\
17653 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17654 && mv -f "$cfgfile.tmp" "$cfgfile" \
17655 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17656 test 0 -eq $? || _lt_function_replace_fail=:
17660 if test x"$lt_shell_append" = xyes; then
17661 sed -e '/^func_append ()$/,/^} # func_append /c\
17664 eval "${1}+=\\${2}"\
17665 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17666 && mv -f "$cfgfile.tmp" "$cfgfile" \
17667 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17668 test 0 -eq $? || _lt_function_replace_fail=:
17671 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17672 func_append_quoted ()\
17674 \ func_quote_for_eval "${2}"\
17675 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17676 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17677 && mv -f "$cfgfile.tmp" "$cfgfile" \
17678 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17679 test 0 -eq $? || _lt_function_replace_fail=:
17682 # Save a `func_append' function call where possible by direct use of '+='
17683 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17684 && mv -f "$cfgfile.tmp" "$cfgfile" \
17685 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17686 test 0 -eq $? || _lt_function_replace_fail=:
17688 # Save a `func_append' function call even when '+=' is not available
17689 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17690 && mv -f "$cfgfile.tmp" "$cfgfile" \
17691 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17692 test 0 -eq $? || _lt_function_replace_fail=:
17695 if test x"$_lt_function_replace_fail" = x":"; then
17696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17697 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17701 mv -f "$cfgfile" "$ofile" ||
17702 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17713 ac_clean_files=$ac_clean_files_save
17715 test $ac_write_fail = 0 ||
17716 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17719 # configure is writing to config.log, and then calls config.status.
17720 # config.status does its own redirection, appending to config.log.
17721 # Unfortunately, on DOS this fails, as config.log is still kept open
17722 # by configure, so config.status won't be able to write to it; its
17723 # output is simply discarded. So we exec the FD to /dev/null,
17724 # effectively closing config.log, so it can be properly (re)opened and
17725 # appended to by config.status. When coming back to configure, we
17726 # need to make the FD available again.
17727 if test "$no_create" != yes; then
17729 ac_config_status_args=
17730 test "$silent" = yes &&
17731 ac_config_status_args="$ac_config_status_args --quiet"
17733 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17735 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17736 # would make configure fail if this is the last instruction.
17737 $ac_cs_success || as_fn_exit 1
17739 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17741 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17746 #####################################################################
17752 echo "------------------------------------------------------------------------"
17753 echo "$PACKAGE $VERSION"
17754 echo "------------------------------------------------------------------------"
17756 echo "Configuration Options Summary:"
17760 echo " EBluez.............: $enable_ebluez"
17761 echo " EConnman (0.7x)....: $enable_econnman0_7x"
17762 echo " EHal...............: $enable_ehal"
17763 echo " ENotify............: $enable_enotify"
17764 echo " EOfono.............: $enable_eofono"
17765 echo " EUkit..............: $enable_eukit"
17769 echo " EDbus test.........: $have_edbus_test"
17770 echo " EDbus client test..: $have_edbus_test_client"
17771 echo " EDbus async test...: $have_edbus_async_test"
17772 echo " EDbus performance..: $have_edbus_performance_test"
17773 echo " EBluez test........: $have_edbus_bluez_test"
17774 echo " EConnman (0.7x)test: $have_edbus_connman0_7x_test"
17775 echo " ENotify Daemon test: $have_edbus_notification_daemon_test"
17776 echo " ENotify send.......: $have_edbus_notify_send"
17777 echo " ENotify test.......: $have_edbus_notify_test"
17778 echo " EOfono test........: $have_edbus_ofono_test"
17779 echo " EUkit test.........: $have_edbus_ukit_test"
17781 echo "Documentation..........: ${build_doc}"
17782 if test "x${build_doc}" = "xyes" ; then
17783 echo " Installation.......: make install-doc"
17786 echo "Compilation............: make (or gmake)"
17787 echo " CPPFLAGS.............: $CPPFLAGS"
17788 echo " CFLAGS...............: $CFLAGS"
17789 echo " LDFLAGS..............: $LDFLAGS"
17791 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
17792 echo " prefix...............: $prefix"