2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for e_dbus 1.7.9.
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.9'
594 PACKAGE_STRING='e_dbus 1.7.9'
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.9 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.9:";;
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.9
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.9, 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*|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"
6724 LD="${LD-ld} -m elf32lppclinux"
6727 LD="${LD-ld} -m elf32ppclinux"
6730 LD="${LD-ld} -m elf_s390"
6733 LD="${LD-ld} -m elf32_sparc"
6739 x86_64-*kfreebsd*-gnu)
6740 LD="${LD-ld} -m elf_x86_64_fbsd"
6743 LD="${LD-ld} -m elf_x86_64"
6746 LD="${LD-ld} -m elf64lppc"
6749 LD="${LD-ld} -m elf64ppc"
6751 s390*-*linux*|s390*-*tpf*)
6752 LD="${LD-ld} -m elf64_s390"
6755 LD="${LD-ld} -m elf64_sparc"
6765 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6766 SAVE_CFLAGS="$CFLAGS"
6767 CFLAGS="$CFLAGS -belf"
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6769 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6770 if ${lt_cv_cc_needs_belf+:} false; then :
6771 $as_echo_n "(cached) " >&6
6774 ac_cpp='$CPP $CPPFLAGS'
6775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6780 /* end confdefs.h. */
6790 if ac_fn_c_try_link "$LINENO"; then :
6791 lt_cv_cc_needs_belf=yes
6793 lt_cv_cc_needs_belf=no
6795 rm -f core conftest.err conftest.$ac_objext \
6796 conftest$ac_exeext conftest.$ac_ext
6798 ac_cpp='$CPP $CPPFLAGS'
6799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6805 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6806 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6807 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6808 CFLAGS="$SAVE_CFLAGS"
6812 # Find out which ABI we are using.
6813 echo 'int i;' > conftest.$ac_ext
6814 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6815 (eval $ac_compile) 2>&5
6817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6818 test $ac_status = 0; }; then
6819 case `/usr/bin/file conftest.o` in
6821 case $lt_cv_prog_gnu_ld in
6825 LD="${LD-ld} -m elf_x86_64"
6828 LD="${LD-ld} -m elf64_sparc"
6831 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6832 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6837 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6849 need_locks="$enable_libtool_lock"
6851 if test -n "$ac_tool_prefix"; then
6852 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6853 set dummy ${ac_tool_prefix}mt; ac_word=$2
6854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6855 $as_echo_n "checking for $ac_word... " >&6; }
6856 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6857 $as_echo_n "(cached) " >&6
6859 if test -n "$MANIFEST_TOOL"; then
6860 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6866 test -z "$as_dir" && as_dir=.
6867 for ac_exec_ext in '' $ac_executable_extensions; do
6868 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6869 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6879 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6880 if test -n "$MANIFEST_TOOL"; then
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6882 $as_echo "$MANIFEST_TOOL" >&6; }
6884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6885 $as_echo "no" >&6; }
6890 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6891 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6892 # Extract the first word of "mt", so it can be a program name with args.
6893 set dummy mt; ac_word=$2
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6895 $as_echo_n "checking for $ac_word... " >&6; }
6896 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6897 $as_echo_n "(cached) " >&6
6899 if test -n "$ac_ct_MANIFEST_TOOL"; then
6900 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6906 test -z "$as_dir" && as_dir=.
6907 for ac_exec_ext in '' $ac_executable_extensions; do
6908 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6909 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6919 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6920 if test -n "$ac_ct_MANIFEST_TOOL"; then
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6922 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6925 $as_echo "no" >&6; }
6928 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6931 case $cross_compiling:$ac_tool_warned in
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6934 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6935 ac_tool_warned=yes ;;
6937 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6940 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6943 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6945 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6946 if ${lt_cv_path_mainfest_tool+:} false; then :
6947 $as_echo_n "(cached) " >&6
6949 lt_cv_path_mainfest_tool=no
6950 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6951 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6952 cat conftest.err >&5
6953 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6954 lt_cv_path_mainfest_tool=yes
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6959 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6960 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6970 rhapsody* | darwin*)
6971 if test -n "$ac_tool_prefix"; then
6972 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6973 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6975 $as_echo_n "checking for $ac_word... " >&6; }
6976 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6977 $as_echo_n "(cached) " >&6
6979 if test -n "$DSYMUTIL"; then
6980 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6986 test -z "$as_dir" && as_dir=.
6987 for ac_exec_ext in '' $ac_executable_extensions; do
6988 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6989 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6999 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7000 if test -n "$DSYMUTIL"; then
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7002 $as_echo "$DSYMUTIL" >&6; }
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7005 $as_echo "no" >&6; }
7010 if test -z "$ac_cv_prog_DSYMUTIL"; then
7011 ac_ct_DSYMUTIL=$DSYMUTIL
7012 # Extract the first word of "dsymutil", so it can be a program name with args.
7013 set dummy dsymutil; ac_word=$2
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7015 $as_echo_n "checking for $ac_word... " >&6; }
7016 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7017 $as_echo_n "(cached) " >&6
7019 if test -n "$ac_ct_DSYMUTIL"; then
7020 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7026 test -z "$as_dir" && as_dir=.
7027 for ac_exec_ext in '' $ac_executable_extensions; do
7028 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7029 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7039 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7040 if test -n "$ac_ct_DSYMUTIL"; then
7041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7042 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7045 $as_echo "no" >&6; }
7048 if test "x$ac_ct_DSYMUTIL" = x; then
7051 case $cross_compiling:$ac_tool_warned in
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7054 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7055 ac_tool_warned=yes ;;
7057 DSYMUTIL=$ac_ct_DSYMUTIL
7060 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7063 if test -n "$ac_tool_prefix"; then
7064 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7065 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7067 $as_echo_n "checking for $ac_word... " >&6; }
7068 if ${ac_cv_prog_NMEDIT+:} false; then :
7069 $as_echo_n "(cached) " >&6
7071 if test -n "$NMEDIT"; then
7072 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7078 test -z "$as_dir" && as_dir=.
7079 for ac_exec_ext in '' $ac_executable_extensions; do
7080 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7081 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7091 NMEDIT=$ac_cv_prog_NMEDIT
7092 if test -n "$NMEDIT"; then
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7094 $as_echo "$NMEDIT" >&6; }
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7097 $as_echo "no" >&6; }
7102 if test -z "$ac_cv_prog_NMEDIT"; then
7103 ac_ct_NMEDIT=$NMEDIT
7104 # Extract the first word of "nmedit", so it can be a program name with args.
7105 set dummy nmedit; ac_word=$2
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7107 $as_echo_n "checking for $ac_word... " >&6; }
7108 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7109 $as_echo_n "(cached) " >&6
7111 if test -n "$ac_ct_NMEDIT"; then
7112 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7118 test -z "$as_dir" && as_dir=.
7119 for ac_exec_ext in '' $ac_executable_extensions; do
7120 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7121 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7131 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7132 if test -n "$ac_ct_NMEDIT"; then
7133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7134 $as_echo "$ac_ct_NMEDIT" >&6; }
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7137 $as_echo "no" >&6; }
7140 if test "x$ac_ct_NMEDIT" = x; then
7143 case $cross_compiling:$ac_tool_warned in
7145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7146 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7147 ac_tool_warned=yes ;;
7149 NMEDIT=$ac_ct_NMEDIT
7152 NMEDIT="$ac_cv_prog_NMEDIT"
7155 if test -n "$ac_tool_prefix"; then
7156 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7157 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7159 $as_echo_n "checking for $ac_word... " >&6; }
7160 if ${ac_cv_prog_LIPO+:} false; then :
7161 $as_echo_n "(cached) " >&6
7163 if test -n "$LIPO"; then
7164 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7170 test -z "$as_dir" && as_dir=.
7171 for ac_exec_ext in '' $ac_executable_extensions; do
7172 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7173 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7183 LIPO=$ac_cv_prog_LIPO
7184 if test -n "$LIPO"; then
7185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7186 $as_echo "$LIPO" >&6; }
7188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7189 $as_echo "no" >&6; }
7194 if test -z "$ac_cv_prog_LIPO"; then
7196 # Extract the first word of "lipo", so it can be a program name with args.
7197 set dummy lipo; ac_word=$2
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7199 $as_echo_n "checking for $ac_word... " >&6; }
7200 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7201 $as_echo_n "(cached) " >&6
7203 if test -n "$ac_ct_LIPO"; then
7204 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7210 test -z "$as_dir" && as_dir=.
7211 for ac_exec_ext in '' $ac_executable_extensions; do
7212 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7213 ac_cv_prog_ac_ct_LIPO="lipo"
7214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7223 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7224 if test -n "$ac_ct_LIPO"; then
7225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7226 $as_echo "$ac_ct_LIPO" >&6; }
7228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7229 $as_echo "no" >&6; }
7232 if test "x$ac_ct_LIPO" = x; then
7235 case $cross_compiling:$ac_tool_warned in
7237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7238 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7239 ac_tool_warned=yes ;;
7244 LIPO="$ac_cv_prog_LIPO"
7247 if test -n "$ac_tool_prefix"; then
7248 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7249 set dummy ${ac_tool_prefix}otool; ac_word=$2
7250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7251 $as_echo_n "checking for $ac_word... " >&6; }
7252 if ${ac_cv_prog_OTOOL+:} false; then :
7253 $as_echo_n "(cached) " >&6
7255 if test -n "$OTOOL"; then
7256 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7262 test -z "$as_dir" && as_dir=.
7263 for ac_exec_ext in '' $ac_executable_extensions; do
7264 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7265 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7275 OTOOL=$ac_cv_prog_OTOOL
7276 if test -n "$OTOOL"; then
7277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7278 $as_echo "$OTOOL" >&6; }
7280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7281 $as_echo "no" >&6; }
7286 if test -z "$ac_cv_prog_OTOOL"; then
7288 # Extract the first word of "otool", so it can be a program name with args.
7289 set dummy otool; ac_word=$2
7290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7291 $as_echo_n "checking for $ac_word... " >&6; }
7292 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7293 $as_echo_n "(cached) " >&6
7295 if test -n "$ac_ct_OTOOL"; then
7296 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7302 test -z "$as_dir" && as_dir=.
7303 for ac_exec_ext in '' $ac_executable_extensions; do
7304 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7305 ac_cv_prog_ac_ct_OTOOL="otool"
7306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7315 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7316 if test -n "$ac_ct_OTOOL"; then
7317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7318 $as_echo "$ac_ct_OTOOL" >&6; }
7320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7321 $as_echo "no" >&6; }
7324 if test "x$ac_ct_OTOOL" = x; then
7327 case $cross_compiling:$ac_tool_warned in
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7330 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7331 ac_tool_warned=yes ;;
7336 OTOOL="$ac_cv_prog_OTOOL"
7339 if test -n "$ac_tool_prefix"; then
7340 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7341 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7343 $as_echo_n "checking for $ac_word... " >&6; }
7344 if ${ac_cv_prog_OTOOL64+:} false; then :
7345 $as_echo_n "(cached) " >&6
7347 if test -n "$OTOOL64"; then
7348 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7354 test -z "$as_dir" && as_dir=.
7355 for ac_exec_ext in '' $ac_executable_extensions; do
7356 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7357 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7367 OTOOL64=$ac_cv_prog_OTOOL64
7368 if test -n "$OTOOL64"; then
7369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7370 $as_echo "$OTOOL64" >&6; }
7372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7373 $as_echo "no" >&6; }
7378 if test -z "$ac_cv_prog_OTOOL64"; then
7379 ac_ct_OTOOL64=$OTOOL64
7380 # Extract the first word of "otool64", so it can be a program name with args.
7381 set dummy otool64; ac_word=$2
7382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7383 $as_echo_n "checking for $ac_word... " >&6; }
7384 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7385 $as_echo_n "(cached) " >&6
7387 if test -n "$ac_ct_OTOOL64"; then
7388 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7394 test -z "$as_dir" && as_dir=.
7395 for ac_exec_ext in '' $ac_executable_extensions; do
7396 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7397 ac_cv_prog_ac_ct_OTOOL64="otool64"
7398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7407 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7408 if test -n "$ac_ct_OTOOL64"; then
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7410 $as_echo "$ac_ct_OTOOL64" >&6; }
7412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7413 $as_echo "no" >&6; }
7416 if test "x$ac_ct_OTOOL64" = x; then
7419 case $cross_compiling:$ac_tool_warned in
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7422 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7423 ac_tool_warned=yes ;;
7425 OTOOL64=$ac_ct_OTOOL64
7428 OTOOL64="$ac_cv_prog_OTOOL64"
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7458 $as_echo_n "checking for -single_module linker flag... " >&6; }
7459 if ${lt_cv_apple_cc_single_mod+:} false; then :
7460 $as_echo_n "(cached) " >&6
7462 lt_cv_apple_cc_single_mod=no
7463 if test -z "${LT_MULTI_MODULE}"; then
7464 # By default we will add the -single_module flag. You can override
7465 # by either setting the environment variable LT_MULTI_MODULE
7466 # non-empty at configure time, or by adding -multi_module to the
7468 rm -rf libconftest.dylib*
7469 echo "int foo(void){return 1;}" > conftest.c
7470 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7471 -dynamiclib -Wl,-single_module conftest.c" >&5
7472 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7473 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7475 # If there is a non-empty error log, and "single_module"
7476 # appears in it, assume the flag caused a linker warning
7477 if test -s conftest.err && $GREP single_module conftest.err; then
7478 cat conftest.err >&5
7479 # Otherwise, if the output was created with a 0 exit code from
7480 # the compiler, it worked.
7481 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7482 lt_cv_apple_cc_single_mod=yes
7484 cat conftest.err >&5
7486 rm -rf libconftest.dylib*
7490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7491 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7494 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7495 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7496 $as_echo_n "(cached) " >&6
7498 lt_cv_ld_exported_symbols_list=no
7499 save_LDFLAGS=$LDFLAGS
7500 echo "_main" > conftest.sym
7501 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7503 /* end confdefs.h. */
7513 if ac_fn_c_try_link "$LINENO"; then :
7514 lt_cv_ld_exported_symbols_list=yes
7516 lt_cv_ld_exported_symbols_list=no
7518 rm -f core conftest.err conftest.$ac_objext \
7519 conftest$ac_exeext conftest.$ac_ext
7520 LDFLAGS="$save_LDFLAGS"
7523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7524 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7527 $as_echo_n "checking for -force_load linker flag... " >&6; }
7528 if ${lt_cv_ld_force_load+:} false; then :
7529 $as_echo_n "(cached) " >&6
7531 lt_cv_ld_force_load=no
7532 cat > conftest.c << _LT_EOF
7533 int forced_loaded() { return 2;}
7535 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7536 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7537 echo "$AR cru libconftest.a conftest.o" >&5
7538 $AR cru libconftest.a conftest.o 2>&5
7539 echo "$RANLIB libconftest.a" >&5
7540 $RANLIB libconftest.a 2>&5
7541 cat > conftest.c << _LT_EOF
7542 int main() { return 0;}
7544 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7545 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7547 if test -s conftest.err && $GREP force_load conftest.err; then
7548 cat conftest.err >&5
7549 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7550 lt_cv_ld_force_load=yes
7552 cat conftest.err >&5
7554 rm -f conftest.err libconftest.a conftest conftest.c
7555 rm -rf conftest.dSYM
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7559 $as_echo "$lt_cv_ld_force_load" >&6; }
7561 rhapsody* | darwin1.[012])
7562 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7564 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7565 darwin*) # darwin 5.x on
7566 # if running on 10.5 or later, the deployment target defaults
7567 # to the OS version, if on x86, and 10.4, the deployment
7568 # target defaults to 10.4. Don't you love it?
7569 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7570 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7571 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7573 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7575 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7579 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7580 _lt_dar_single_mod='$single_module'
7582 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7583 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7585 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7587 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7588 _lt_dsymutil='~$DSYMUTIL $lib || :'
7596 ac_cpp='$CPP $CPPFLAGS'
7597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7601 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7602 # On Suns, sometimes $CPP names a directory.
7603 if test -n "$CPP" && test -d "$CPP"; then
7606 if test -z "$CPP"; then
7607 if ${ac_cv_prog_CPP+:} false; then :
7608 $as_echo_n "(cached) " >&6
7610 # Double quotes because CPP needs to be expanded
7611 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7614 for ac_c_preproc_warn_flag in '' yes
7616 # Use a header file that comes with gcc, so configuring glibc
7617 # with a fresh cross-compiler works.
7618 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7619 # <limits.h> exists even on freestanding compilers.
7620 # On the NeXT, cc -E runs the code through the compiler's parser,
7621 # not just through cpp. "Syntax error" is here to catch this case.
7622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7623 /* end confdefs.h. */
7625 # include <limits.h>
7627 # include <assert.h>
7631 if ac_fn_c_try_cpp "$LINENO"; then :
7634 # Broken: fails on valid input.
7637 rm -f conftest.err conftest.i conftest.$ac_ext
7639 # OK, works on sane cases. Now check whether nonexistent headers
7640 # can be detected and how.
7641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7642 /* end confdefs.h. */
7643 #include <ac_nonexistent.h>
7645 if ac_fn_c_try_cpp "$LINENO"; then :
7646 # Broken: success on invalid input.
7649 # Passes both tests.
7653 rm -f conftest.err conftest.i conftest.$ac_ext
7656 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7657 rm -f conftest.i conftest.err conftest.$ac_ext
7658 if $ac_preproc_ok; then :
7670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7671 $as_echo "$CPP" >&6; }
7673 for ac_c_preproc_warn_flag in '' yes
7675 # Use a header file that comes with gcc, so configuring glibc
7676 # with a fresh cross-compiler works.
7677 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7678 # <limits.h> exists even on freestanding compilers.
7679 # On the NeXT, cc -E runs the code through the compiler's parser,
7680 # not just through cpp. "Syntax error" is here to catch this case.
7681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7682 /* end confdefs.h. */
7684 # include <limits.h>
7686 # include <assert.h>
7690 if ac_fn_c_try_cpp "$LINENO"; then :
7693 # Broken: fails on valid input.
7696 rm -f conftest.err conftest.i conftest.$ac_ext
7698 # OK, works on sane cases. Now check whether nonexistent headers
7699 # can be detected and how.
7700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7701 /* end confdefs.h. */
7702 #include <ac_nonexistent.h>
7704 if ac_fn_c_try_cpp "$LINENO"; then :
7705 # Broken: success on invalid input.
7708 # Passes both tests.
7712 rm -f conftest.err conftest.i conftest.$ac_ext
7715 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7716 rm -f conftest.i conftest.err conftest.$ac_ext
7717 if $ac_preproc_ok; then :
7720 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7721 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7722 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7723 See \`config.log' for more details" "$LINENO" 5; }
7727 ac_cpp='$CPP $CPPFLAGS'
7728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7734 $as_echo_n "checking for ANSI C header files... " >&6; }
7735 if ${ac_cv_header_stdc+:} false; then :
7736 $as_echo_n "(cached) " >&6
7738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7739 /* end confdefs.h. */
7753 if ac_fn_c_try_compile "$LINENO"; then :
7754 ac_cv_header_stdc=yes
7756 ac_cv_header_stdc=no
7758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7760 if test $ac_cv_header_stdc = yes; then
7761 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7763 /* end confdefs.h. */
7767 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7768 $EGREP "memchr" >/dev/null 2>&1; then :
7771 ac_cv_header_stdc=no
7777 if test $ac_cv_header_stdc = yes; then
7778 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7780 /* end confdefs.h. */
7784 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7785 $EGREP "free" >/dev/null 2>&1; then :
7788 ac_cv_header_stdc=no
7794 if test $ac_cv_header_stdc = yes; then
7795 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7796 if test "$cross_compiling" = yes; then :
7799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7800 /* end confdefs.h. */
7803 #if ((' ' & 0x0FF) == 0x020)
7804 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7805 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7807 # define ISLOWER(c) \
7808 (('a' <= (c) && (c) <= 'i') \
7809 || ('j' <= (c) && (c) <= 'r') \
7810 || ('s' <= (c) && (c) <= 'z'))
7811 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7814 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7819 for (i = 0; i < 256; i++)
7820 if (XOR (islower (i), ISLOWER (i))
7821 || toupper (i) != TOUPPER (i))
7826 if ac_fn_c_try_run "$LINENO"; then :
7829 ac_cv_header_stdc=no
7831 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7832 conftest.$ac_objext conftest.beam conftest.$ac_ext
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7838 $as_echo "$ac_cv_header_stdc" >&6; }
7839 if test $ac_cv_header_stdc = yes; then
7841 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7845 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7846 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7847 inttypes.h stdint.h unistd.h
7849 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7850 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7852 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7853 cat >>confdefs.h <<_ACEOF
7854 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7862 for ac_header in dlfcn.h
7864 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7866 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7867 cat >>confdefs.h <<_ACEOF
7868 #define HAVE_DLFCN_H 1
7887 # Check whether --enable-shared was given.
7888 if test "${enable_shared+set}" = set; then :
7889 enableval=$enable_shared; p=${PACKAGE-default}
7891 yes) enable_shared=yes ;;
7892 no) enable_shared=no ;;
7895 # Look at the argument we got. We use all the common list separators.
7896 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7897 for pkg in $enableval; do
7899 if test "X$pkg" = "X$p"; then
7918 # Check whether --enable-static was given.
7919 if test "${enable_static+set}" = set; then :
7920 enableval=$enable_static; p=${PACKAGE-default}
7922 yes) enable_static=yes ;;
7923 no) enable_static=no ;;
7926 # Look at the argument we got. We use all the common list separators.
7927 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7928 for pkg in $enableval; do
7930 if test "X$pkg" = "X$p"; then
7950 # Check whether --with-pic was given.
7951 if test "${with_pic+set}" = set; then :
7952 withval=$with_pic; lt_p=${PACKAGE-default}
7954 yes|no) pic_mode=$withval ;;
7957 # Look at the argument we got. We use all the common list separators.
7958 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7959 for lt_pkg in $withval; do
7961 if test "X$lt_pkg" = "X$lt_p"; then
7973 test -z "$pic_mode" && pic_mode=default
7981 # Check whether --enable-fast-install was given.
7982 if test "${enable_fast_install+set}" = set; then :
7983 enableval=$enable_fast_install; p=${PACKAGE-default}
7985 yes) enable_fast_install=yes ;;
7986 no) enable_fast_install=no ;;
7988 enable_fast_install=no
7989 # Look at the argument we got. We use all the common list separators.
7990 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7991 for pkg in $enableval; do
7993 if test "X$pkg" = "X$p"; then
7994 enable_fast_install=yes
8001 enable_fast_install=yes
8014 # This can be used to rebuild libtool when needed
8015 LIBTOOL_DEPS="$ltmain"
8017 # Always use our own libtool.
8018 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8049 test -z "$LN_S" && LN_S="ln -s"
8064 if test -n "${ZSH_VERSION+set}" ; then
8065 setopt NO_GLOB_SUBST
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8069 $as_echo_n "checking for objdir... " >&6; }
8070 if ${lt_cv_objdir+:} false; then :
8071 $as_echo_n "(cached) " >&6
8073 rm -f .libs 2>/dev/null
8074 mkdir .libs 2>/dev/null
8075 if test -d .libs; then
8078 # MS-DOS does not allow filenames that begin with a dot.
8081 rmdir .libs 2>/dev/null
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8084 $as_echo "$lt_cv_objdir" >&6; }
8085 objdir=$lt_cv_objdir
8091 cat >>confdefs.h <<_ACEOF
8092 #define LT_OBJDIR "$lt_cv_objdir/"
8100 # AIX sometimes has problems with the GCC collect2 program. For some
8101 # reason, if we set the COLLECT_NAMES environment variable, the problems
8102 # vanish in a puff of smoke.
8103 if test "X${COLLECT_NAMES+set}" != Xset; then
8105 export COLLECT_NAMES
8112 can_build_shared=yes
8114 # All known linkers require a `.a' archive for static linking (except MSVC,
8115 # which needs '.lib').
8118 with_gnu_ld="$lt_cv_prog_gnu_ld"
8121 old_CFLAGS="$CFLAGS"
8123 # Set sane defaults for various variables
8124 test -z "$CC" && CC=cc
8125 test -z "$LTCC" && LTCC=$CC
8126 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8127 test -z "$LD" && LD=ld
8128 test -z "$ac_objext" && ac_objext=o
8130 for cc_temp in $compiler""; do
8132 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8133 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8138 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8141 # Only perform the check for file, if the check method requires it
8142 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8143 case $deplibs_check_method in
8145 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8147 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8148 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8149 $as_echo_n "(cached) " >&6
8153 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8156 lt_save_MAGIC_CMD="$MAGIC_CMD"
8157 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8158 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8159 for ac_dir in $ac_dummy; do
8161 test -z "$ac_dir" && ac_dir=.
8162 if test -f $ac_dir/${ac_tool_prefix}file; then
8163 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8164 if test -n "$file_magic_test_file"; then
8165 case $deplibs_check_method in
8167 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8168 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8169 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8170 $EGREP "$file_magic_regex" > /dev/null; then
8175 *** Warning: the command libtool uses to detect shared libraries,
8176 *** $file_magic_cmd, produces output that libtool cannot recognize.
8177 *** The result is that libtool may fail to recognize shared libraries
8178 *** as such. This will affect the creation of libtool libraries that
8179 *** depend on shared libraries, but programs linked with such libtool
8180 *** libraries will work regardless of this problem. Nevertheless, you
8181 *** may want to report the problem to your system manager and/or to
8182 *** bug-libtool@gnu.org
8192 MAGIC_CMD="$lt_save_MAGIC_CMD"
8197 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8198 if test -n "$MAGIC_CMD"; then
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8200 $as_echo "$MAGIC_CMD" >&6; }
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8203 $as_echo "no" >&6; }
8210 if test -z "$lt_cv_path_MAGIC_CMD"; then
8211 if test -n "$ac_tool_prefix"; then
8212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8213 $as_echo_n "checking for file... " >&6; }
8214 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8215 $as_echo_n "(cached) " >&6
8219 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8222 lt_save_MAGIC_CMD="$MAGIC_CMD"
8223 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8224 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8225 for ac_dir in $ac_dummy; do
8227 test -z "$ac_dir" && ac_dir=.
8228 if test -f $ac_dir/file; then
8229 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8230 if test -n "$file_magic_test_file"; then
8231 case $deplibs_check_method in
8233 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8234 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8235 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8236 $EGREP "$file_magic_regex" > /dev/null; then
8241 *** Warning: the command libtool uses to detect shared libraries,
8242 *** $file_magic_cmd, produces output that libtool cannot recognize.
8243 *** The result is that libtool may fail to recognize shared libraries
8244 *** as such. This will affect the creation of libtool libraries that
8245 *** depend on shared libraries, but programs linked with such libtool
8246 *** libraries will work regardless of this problem. Nevertheless, you
8247 *** may want to report the problem to your system manager and/or to
8248 *** bug-libtool@gnu.org
8258 MAGIC_CMD="$lt_save_MAGIC_CMD"
8263 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8264 if test -n "$MAGIC_CMD"; then
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8266 $as_echo "$MAGIC_CMD" >&6; }
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8269 $as_echo "no" >&6; }
8282 # Use C for the default configuration in the libtool script
8286 ac_cpp='$CPP $CPPFLAGS'
8287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8292 # Source file extension for C test sources.
8295 # Object file extension for compiled C test sources.
8299 # Code to be used in simple compile tests
8300 lt_simple_compile_test_code="int some_variable = 0;"
8302 # Code to be used in simple link tests
8303 lt_simple_link_test_code='int main(){return(0);}'
8311 # If no C compiler was specified, use CC.
8314 # If no C compiler flags were specified, use CFLAGS.
8315 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8317 # Allow CC to be a program name with arguments.
8320 # Save the default compiler, since it gets overwritten when the other
8321 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8322 compiler_DEFAULT=$CC
8324 # save warnings/boilerplate of simple test code
8325 ac_outfile=conftest.$ac_objext
8326 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8327 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8328 _lt_compiler_boilerplate=`cat conftest.err`
8331 ac_outfile=conftest.$ac_objext
8332 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8333 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8334 _lt_linker_boilerplate=`cat conftest.err`
8338 if test -n "$compiler"; then
8340 lt_prog_compiler_no_builtin_flag=
8342 if test "$GCC" = yes; then
8343 case $cc_basename in
8345 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8347 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8351 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8352 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8353 $as_echo_n "(cached) " >&6
8355 lt_cv_prog_compiler_rtti_exceptions=no
8356 ac_outfile=conftest.$ac_objext
8357 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8358 lt_compiler_flag="-fno-rtti -fno-exceptions"
8359 # Insert the option either (1) after the last *FLAGS variable, or
8360 # (2) before a word containing "conftest.", or (3) at the end.
8361 # Note that $ac_compile itself does not contain backslashes and begins
8362 # with a dollar sign (not a hyphen), so the echo should work correctly.
8363 # The option is referenced via a variable to avoid confusing sed.
8364 lt_compile=`echo "$ac_compile" | $SED \
8365 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8366 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8367 -e 's:$: $lt_compiler_flag:'`
8368 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8369 (eval "$lt_compile" 2>conftest.err)
8371 cat conftest.err >&5
8372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8373 if (exit $ac_status) && test -s "$ac_outfile"; then
8374 # The compiler can only warn and ignore the option if not recognized
8375 # So say no if there are warnings other than the usual output.
8376 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8377 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8378 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8379 lt_cv_prog_compiler_rtti_exceptions=yes
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8386 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8388 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8389 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8401 lt_prog_compiler_wl=
8402 lt_prog_compiler_pic=
8403 lt_prog_compiler_static=
8406 if test "$GCC" = yes; then
8407 lt_prog_compiler_wl='-Wl,'
8408 lt_prog_compiler_static='-static'
8412 # All AIX code is PIC.
8413 if test "$host_cpu" = ia64; then
8414 # AIX 5 now supports IA64 processor
8415 lt_prog_compiler_static='-Bstatic'
8422 # see comment about AmigaOS4 .so support
8423 lt_prog_compiler_pic='-fPIC'
8426 # FIXME: we need at least 68020 code to build shared libraries, but
8427 # adding the `-m68020' flag to GCC prevents building anything better,
8429 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8434 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8435 # PIC is the default for these OSes.
8438 mingw* | cygwin* | pw32* | os2* | cegcc*)
8439 # This hack is so that the source file can tell whether it is being
8440 # built for inclusion in a dll (and should export symbols for example).
8441 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8442 # (--disable-auto-import) libraries
8443 lt_prog_compiler_pic='-DDLL_EXPORT'
8446 darwin* | rhapsody*)
8447 # PIC is the default on this platform
8448 # Common symbols not allowed in MH_DYLIB files
8449 lt_prog_compiler_pic='-fno-common'
8453 # PIC is the default for Haiku.
8454 # The "-static" flag exists, but is broken.
8455 lt_prog_compiler_static=
8459 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8460 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8461 # sets the default TLS model and affects inlining.
8467 lt_prog_compiler_pic='-fPIC'
8473 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8474 # Instead, we relocate shared libraries at runtime.
8478 # Just because we use GCC doesn't mean we suddenly get shared libraries
8479 # on systems that don't support them.
8480 lt_prog_compiler_can_build_shared=no
8485 # QNX uses GNU C++, but need to define -shared option too, otherwise
8487 lt_prog_compiler_pic='-fPIC -shared'
8491 if test -d /usr/nec; then
8492 lt_prog_compiler_pic=-Kconform_pic
8497 lt_prog_compiler_pic='-fPIC'
8501 case $cc_basename in
8502 nvcc*) # Cuda Compiler Driver 2.2
8503 lt_prog_compiler_wl='-Xlinker '
8504 if test -n "$lt_prog_compiler_pic"; then
8505 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8510 # PORTME Check for flag to pass linker flags through the system compiler.
8513 lt_prog_compiler_wl='-Wl,'
8514 if test "$host_cpu" = ia64; then
8515 # AIX 5 now supports IA64 processor
8516 lt_prog_compiler_static='-Bstatic'
8518 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8522 mingw* | cygwin* | pw32* | os2* | cegcc*)
8523 # This hack is so that the source file can tell whether it is being
8524 # built for inclusion in a dll (and should export symbols for example).
8525 lt_prog_compiler_pic='-DDLL_EXPORT'
8528 hpux9* | hpux10* | hpux11*)
8529 lt_prog_compiler_wl='-Wl,'
8530 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8537 lt_prog_compiler_pic='+Z'
8540 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8541 lt_prog_compiler_static='${wl}-a ${wl}archive'
8544 irix5* | irix6* | nonstopux*)
8545 lt_prog_compiler_wl='-Wl,'
8546 # PIC (with -KPIC) is the default.
8547 lt_prog_compiler_static='-non_shared'
8550 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8551 case $cc_basename in
8552 # old Intel for x86_64 which still supported -KPIC.
8554 lt_prog_compiler_wl='-Wl,'
8555 lt_prog_compiler_pic='-KPIC'
8556 lt_prog_compiler_static='-static'
8558 # icc used to be incompatible with GCC.
8559 # ICC 10 doesn't accept -KPIC any more.
8561 lt_prog_compiler_wl='-Wl,'
8562 lt_prog_compiler_pic='-fPIC'
8563 lt_prog_compiler_static='-static'
8565 # Lahey Fortran 8.1.
8567 lt_prog_compiler_wl='-Wl,'
8568 lt_prog_compiler_pic='--shared'
8569 lt_prog_compiler_static='--static'
8572 # NAG Fortran compiler
8573 lt_prog_compiler_wl='-Wl,-Wl,,'
8574 lt_prog_compiler_pic='-PIC'
8575 lt_prog_compiler_static='-Bstatic'
8577 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8578 # Portland Group compilers (*not* the Pentium gcc compiler,
8579 # which looks to be a dead project)
8580 lt_prog_compiler_wl='-Wl,'
8581 lt_prog_compiler_pic='-fpic'
8582 lt_prog_compiler_static='-Bstatic'
8585 lt_prog_compiler_wl='-Wl,'
8586 # All Alpha code is PIC.
8587 lt_prog_compiler_static='-non_shared'
8589 xl* | bgxl* | bgf* | mpixl*)
8590 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8591 lt_prog_compiler_wl='-Wl,'
8592 lt_prog_compiler_pic='-qpic'
8593 lt_prog_compiler_static='-qstaticlink'
8596 case `$CC -V 2>&1 | sed 5q` in
8597 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8598 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8599 lt_prog_compiler_pic='-KPIC'
8600 lt_prog_compiler_static='-Bstatic'
8601 lt_prog_compiler_wl=''
8603 *Sun\ F* | *Sun*Fortran*)
8604 lt_prog_compiler_pic='-KPIC'
8605 lt_prog_compiler_static='-Bstatic'
8606 lt_prog_compiler_wl='-Qoption ld '
8610 lt_prog_compiler_pic='-KPIC'
8611 lt_prog_compiler_static='-Bstatic'
8612 lt_prog_compiler_wl='-Wl,'
8614 *Intel*\ [CF]*Compiler*)
8615 lt_prog_compiler_wl='-Wl,'
8616 lt_prog_compiler_pic='-fPIC'
8617 lt_prog_compiler_static='-static'
8620 lt_prog_compiler_wl='-Wl,'
8621 lt_prog_compiler_pic='-fpic'
8622 lt_prog_compiler_static='-Bstatic'
8630 lt_prog_compiler_pic='-KPIC'
8631 lt_prog_compiler_static='-Bstatic'
8635 # QNX uses GNU C++, but need to define -shared option too, otherwise
8637 lt_prog_compiler_pic='-fPIC -shared'
8640 osf3* | osf4* | osf5*)
8641 lt_prog_compiler_wl='-Wl,'
8642 # All OSF/1 code is PIC.
8643 lt_prog_compiler_static='-non_shared'
8647 lt_prog_compiler_static='-non_shared'
8651 lt_prog_compiler_pic='-KPIC'
8652 lt_prog_compiler_static='-Bstatic'
8653 case $cc_basename in
8654 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8655 lt_prog_compiler_wl='-Qoption ld ';;
8657 lt_prog_compiler_wl='-Wl,';;
8662 lt_prog_compiler_wl='-Qoption ld '
8663 lt_prog_compiler_pic='-PIC'
8664 lt_prog_compiler_static='-Bstatic'
8667 sysv4 | sysv4.2uw2* | sysv4.3*)
8668 lt_prog_compiler_wl='-Wl,'
8669 lt_prog_compiler_pic='-KPIC'
8670 lt_prog_compiler_static='-Bstatic'
8674 if test -d /usr/nec ;then
8675 lt_prog_compiler_pic='-Kconform_pic'
8676 lt_prog_compiler_static='-Bstatic'
8680 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8681 lt_prog_compiler_wl='-Wl,'
8682 lt_prog_compiler_pic='-KPIC'
8683 lt_prog_compiler_static='-Bstatic'
8687 lt_prog_compiler_wl='-Wl,'
8688 lt_prog_compiler_can_build_shared=no
8692 lt_prog_compiler_pic='-pic'
8693 lt_prog_compiler_static='-Bstatic'
8697 lt_prog_compiler_can_build_shared=no
8703 # For platforms which do not support PIC, -DPIC is meaningless:
8705 lt_prog_compiler_pic=
8708 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8713 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8714 if ${lt_cv_prog_compiler_pic+:} false; then :
8715 $as_echo_n "(cached) " >&6
8717 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8720 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8721 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8724 # Check to make sure the PIC flag actually works.
8726 if test -n "$lt_prog_compiler_pic"; then
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8728 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8729 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8730 $as_echo_n "(cached) " >&6
8732 lt_cv_prog_compiler_pic_works=no
8733 ac_outfile=conftest.$ac_objext
8734 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8735 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8736 # Insert the option either (1) after the last *FLAGS variable, or
8737 # (2) before a word containing "conftest.", or (3) at the end.
8738 # Note that $ac_compile itself does not contain backslashes and begins
8739 # with a dollar sign (not a hyphen), so the echo should work correctly.
8740 # The option is referenced via a variable to avoid confusing sed.
8741 lt_compile=`echo "$ac_compile" | $SED \
8742 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8743 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8744 -e 's:$: $lt_compiler_flag:'`
8745 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8746 (eval "$lt_compile" 2>conftest.err)
8748 cat conftest.err >&5
8749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8750 if (exit $ac_status) && test -s "$ac_outfile"; then
8751 # The compiler can only warn and ignore the option if not recognized
8752 # So say no if there are warnings other than the usual output.
8753 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8754 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8755 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8756 lt_cv_prog_compiler_pic_works=yes
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8763 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8765 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8766 case $lt_prog_compiler_pic in
8768 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8771 lt_prog_compiler_pic=
8772 lt_prog_compiler_can_build_shared=no
8788 # Check to make sure the static flag actually works.
8790 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8792 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8793 if ${lt_cv_prog_compiler_static_works+:} false; then :
8794 $as_echo_n "(cached) " >&6
8796 lt_cv_prog_compiler_static_works=no
8797 save_LDFLAGS="$LDFLAGS"
8798 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8799 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8800 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8801 # The linker can only warn and ignore the option if not recognized
8802 # So say no if there are warnings
8803 if test -s conftest.err; then
8804 # Append any errors to the config.log.
8805 cat conftest.err 1>&5
8806 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8807 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8808 if diff conftest.exp conftest.er2 >/dev/null; then
8809 lt_cv_prog_compiler_static_works=yes
8812 lt_cv_prog_compiler_static_works=yes
8816 LDFLAGS="$save_LDFLAGS"
8819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8820 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8822 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8825 lt_prog_compiler_static=
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8835 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8836 if ${lt_cv_prog_compiler_c_o+:} false; then :
8837 $as_echo_n "(cached) " >&6
8839 lt_cv_prog_compiler_c_o=no
8840 $RM -r conftest 2>/dev/null
8844 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8846 lt_compiler_flag="-o out/conftest2.$ac_objext"
8847 # Insert the option either (1) after the last *FLAGS variable, or
8848 # (2) before a word containing "conftest.", or (3) at the end.
8849 # Note that $ac_compile itself does not contain backslashes and begins
8850 # with a dollar sign (not a hyphen), so the echo should work correctly.
8851 lt_compile=`echo "$ac_compile" | $SED \
8852 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8853 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8854 -e 's:$: $lt_compiler_flag:'`
8855 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8856 (eval "$lt_compile" 2>out/conftest.err)
8858 cat out/conftest.err >&5
8859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8860 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8862 # The compiler can only warn and ignore the option if not recognized
8863 # So say no if there are warnings
8864 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8865 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8866 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8867 lt_cv_prog_compiler_c_o=yes
8872 # SGI C++ compiler will create directory out/ii_files/ for
8873 # template instantiation
8874 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8875 $RM out/* && rmdir out
8881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8882 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8890 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8891 if ${lt_cv_prog_compiler_c_o+:} false; then :
8892 $as_echo_n "(cached) " >&6
8894 lt_cv_prog_compiler_c_o=no
8895 $RM -r conftest 2>/dev/null
8899 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8901 lt_compiler_flag="-o out/conftest2.$ac_objext"
8902 # Insert the option either (1) after the last *FLAGS variable, or
8903 # (2) before a word containing "conftest.", or (3) at the end.
8904 # Note that $ac_compile itself does not contain backslashes and begins
8905 # with a dollar sign (not a hyphen), so the echo should work correctly.
8906 lt_compile=`echo "$ac_compile" | $SED \
8907 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8908 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8909 -e 's:$: $lt_compiler_flag:'`
8910 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8911 (eval "$lt_compile" 2>out/conftest.err)
8913 cat out/conftest.err >&5
8914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8915 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8917 # The compiler can only warn and ignore the option if not recognized
8918 # So say no if there are warnings
8919 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8920 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8921 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8922 lt_cv_prog_compiler_c_o=yes
8927 # SGI C++ compiler will create directory out/ii_files/ for
8928 # template instantiation
8929 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8930 $RM out/* && rmdir out
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8937 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8942 hard_links="nottested"
8943 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8944 # do not overwrite the value of need_locks provided by the user
8945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8946 $as_echo_n "checking if we can lock with hard links... " >&6; }
8949 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8951 ln conftest.a conftest.b 2>&5 || hard_links=no
8952 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8954 $as_echo "$hard_links" >&6; }
8955 if test "$hard_links" = no; then
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8957 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8970 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8973 allow_undefined_flag=
8974 always_export_symbols=no
8976 archive_expsym_cmds=
8977 compiler_needs_object=no
8978 enable_shared_with_static_runtimes=no
8979 export_dynamic_flag_spec=
8980 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8981 hardcode_automatic=no
8983 hardcode_direct_absolute=no
8984 hardcode_libdir_flag_spec=
8985 hardcode_libdir_separator=
8987 hardcode_shlibpath_var=unsupported
8989 link_all_deplibs=unknown
8992 old_archive_from_new_cmds=
8993 old_archive_from_expsyms_cmds=
8994 thread_safe_flag_spec=
8995 whole_archive_flag_spec=
8996 # include_expsyms should be a list of space-separated symbols to be *always*
8997 # included in the symbol list
8999 # exclude_expsyms can be an extended regexp of symbols to exclude
9000 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9001 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9002 # as well as any symbol that contains `d'.
9003 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9004 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9005 # platforms (ab)use it in PIC code, but their linkers get confused if
9006 # the symbol is explicitly referenced. Since portable code cannot
9007 # rely on this symbol name, it's probably fine to never include it in
9008 # preloaded symbol tables.
9009 # Exclude shared library initialization/finalization symbols.
9010 extract_expsyms_cmds=
9013 cygwin* | mingw* | pw32* | cegcc*)
9014 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9015 # When not using gcc, we currently assume that we are using
9016 # Microsoft Visual C++.
9017 if test "$GCC" != yes; then
9022 # we just hope/assume this is gcc and not c89 (= MSVC++)
9032 # On some targets, GNU ld is compatible enough with the native linker
9033 # that we're better off using the native interface for both.
9034 lt_use_gnu_ld_interface=no
9035 if test "$with_gnu_ld" = yes; then
9038 # The AIX port of GNU ld has always aspired to compatibility
9039 # with the native linker. However, as the warning in the GNU ld
9040 # block says, versions before 2.19.5* couldn't really create working
9041 # shared libraries, regardless of the interface used.
9042 case `$LD -v 2>&1` in
9043 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9044 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9045 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9047 lt_use_gnu_ld_interface=yes
9052 lt_use_gnu_ld_interface=yes
9057 if test "$lt_use_gnu_ld_interface" = yes; then
9058 # If archive_cmds runs LD, not CC, wlarc should be empty
9061 # Set some defaults for GNU ld with shared library support. These
9062 # are reset later if shared libraries are not supported. Putting them
9063 # here allows them to be overridden if necessary.
9064 runpath_var=LD_RUN_PATH
9065 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9066 export_dynamic_flag_spec='${wl}--export-dynamic'
9067 # ancient GNU ld didn't support --whole-archive et. al.
9068 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9069 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9071 whole_archive_flag_spec=
9073 supports_anon_versioning=no
9074 case `$LD -v 2>&1` in
9075 *GNU\ gold*) supports_anon_versioning=yes ;;
9076 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9077 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9078 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9079 *\ 2.11.*) ;; # other 2.11 versions
9080 *) supports_anon_versioning=yes ;;
9083 # See if GNU ld supports shared libraries.
9086 # On AIX/PPC, the GNU linker is very broken
9087 if test "$host_cpu" != ia64; then
9091 *** Warning: the GNU linker, at least up to release 2.19, is reported
9092 *** to be unable to reliably create shared libraries on AIX.
9093 *** Therefore, libtool is disabling shared libraries support. If you
9094 *** really care for shared libraries, you may want to install binutils
9095 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9096 *** You will then need to restart the configuration process.
9105 # see comment about AmigaOS4 .so support
9106 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9107 archive_expsym_cmds=''
9110 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)'
9111 hardcode_libdir_flag_spec='-L$libdir'
9112 hardcode_minus_L=yes
9118 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9119 allow_undefined_flag=unsupported
9120 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9121 # support --undefined. This deserves some investigation. FIXME
9122 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9128 cygwin* | mingw* | pw32* | cegcc*)
9129 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9130 # as there is no search path for DLLs.
9131 hardcode_libdir_flag_spec='-L$libdir'
9132 export_dynamic_flag_spec='${wl}--export-all-symbols'
9133 allow_undefined_flag=unsupported
9134 always_export_symbols=no
9135 enable_shared_with_static_runtimes=yes
9136 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'
9137 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9139 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9140 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9141 # If the export-symbols file already is a .def file (1st line
9142 # is EXPORTS), use it as is; otherwise, prepend...
9143 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9144 cp $export_symbols $output_objdir/$soname.def;
9146 echo EXPORTS > $output_objdir/$soname.def;
9147 cat $export_symbols >> $output_objdir/$soname.def;
9149 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9156 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9157 link_all_deplibs=yes
9162 hardcode_shlibpath_var=no
9163 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9164 export_dynamic_flag_spec='${wl}-E'
9165 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9166 # Instead, shared libraries are loaded at an image base (0x10000000 by
9167 # default) and relocated if they conflict, which is a slow very memory
9168 # consuming and fragmenting process. To avoid this, we pick a random,
9169 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9170 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9171 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9172 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'
9175 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9177 if test "$host_os" = linux-dietlibc; then
9178 case $cc_basename in
9179 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9182 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9183 && test "$tmp_diet" = no
9185 tmp_addflag=' $pic_flag'
9186 tmp_sharedflag='-shared'
9187 case $cc_basename,$host_cpu in
9188 pgcc*) # Portland Group C compiler
9189 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'
9190 tmp_addflag=' $pic_flag'
9192 pgf77* | pgf90* | pgf95* | pgfortran*)
9193 # Portland Group f77 and f90 compilers
9194 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'
9195 tmp_addflag=' $pic_flag -Mnomain' ;;
9196 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9197 tmp_addflag=' -i_dynamic' ;;
9198 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9199 tmp_addflag=' -i_dynamic -nofor_main' ;;
9200 ifc* | ifort*) # Intel Fortran compiler
9201 tmp_addflag=' -nofor_main' ;;
9202 lf95*) # Lahey Fortran 8.1
9203 whole_archive_flag_spec=
9204 tmp_sharedflag='--shared' ;;
9205 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9206 tmp_sharedflag='-qmkshrobj'
9208 nvcc*) # Cuda Compiler Driver 2.2
9209 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'
9210 compiler_needs_object=yes
9213 case `$CC -V 2>&1 | sed 5q` in
9214 *Sun\ C*) # Sun C 5.9
9215 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'
9216 compiler_needs_object=yes
9217 tmp_sharedflag='-G' ;;
9218 *Sun\ F*) # Sun Fortran 8.3
9219 tmp_sharedflag='-G' ;;
9221 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9223 if test "x$supports_anon_versioning" = xyes; then
9224 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9225 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9226 echo "local: *; };" >> $output_objdir/$libname.ver~
9227 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9230 case $cc_basename in
9231 xlf* | bgf* | bgxlf* | mpixlf*)
9232 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9233 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9234 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9235 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9236 if test "x$supports_anon_versioning" = xyes; then
9237 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9238 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9239 echo "local: *; };" >> $output_objdir/$libname.ver~
9240 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9250 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9251 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9254 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9255 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9260 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9264 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9265 *** create shared libraries on Solaris systems. Therefore, libtool
9266 *** is disabling shared libraries support. We urge you to upgrade GNU
9267 *** binutils to release 2.9.1 or newer. Another option is to modify
9268 *** your PATH or compiler configuration so that the native linker is
9269 *** used, and then restart.
9272 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9273 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9274 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9280 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9281 case `$LD -v 2>&1` in
9282 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9286 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9287 *** reliably create shared libraries on SCO systems. Therefore, libtool
9288 *** is disabling shared libraries support. We urge you to upgrade GNU
9289 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9290 *** your PATH or compiler configuration so that the native linker is
9291 *** used, and then restart.
9296 # For security reasons, it is highly recommended that you always
9297 # use absolute paths for naming shared libraries, and exclude the
9298 # DT_RUNPATH tag from executables and libraries. But doing so
9299 # requires that you compile everything twice, which is a pain.
9300 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9301 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9302 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9303 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9312 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9315 hardcode_shlibpath_var=no
9319 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9320 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9321 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9328 if test "$ld_shlibs" = no; then
9330 hardcode_libdir_flag_spec=
9331 export_dynamic_flag_spec=
9332 whole_archive_flag_spec=
9335 # PORTME fill in a description of your system's linker (not GNU ld)
9338 allow_undefined_flag=unsupported
9339 always_export_symbols=yes
9340 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'
9341 # Note: this linker hardcodes the directories in LIBPATH if there
9342 # are no directories specified by -L.
9343 hardcode_minus_L=yes
9344 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9345 # Neither direct hardcoding nor static linking is supported with a
9347 hardcode_direct=unsupported
9352 if test "$host_cpu" = ia64; then
9353 # On IA64, the linker does run time linking by default, so we don't
9354 # have to do anything special.
9355 aix_use_runtimelinking=no
9356 exp_sym_flag='-Bexport'
9359 # If we're using GNU nm, then we don't want the "-C" option.
9360 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9361 # Also, AIX nm treats weak defined symbols like other global
9362 # defined symbols, whereas GNU nm marks them as "W".
9363 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9364 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'
9366 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'
9368 aix_use_runtimelinking=no
9370 # Test if we are trying to use run time linking or normal
9371 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9372 # need to do runtime linking.
9373 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9374 for ld_flag in $LDFLAGS; do
9375 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9376 aix_use_runtimelinking=yes
9383 exp_sym_flag='-bexport'
9384 no_entry_flag='-bnoentry'
9387 # When large executables or shared objects are built, AIX ld can
9388 # have problems creating the table of contents. If linking a library
9389 # or program results in "error TOC overflow" add -mminimal-toc to
9390 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9391 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9395 hardcode_direct_absolute=yes
9396 hardcode_libdir_separator=':'
9397 link_all_deplibs=yes
9398 file_list_spec='${wl}-f,'
9400 if test "$GCC" = yes; then
9401 case $host_os in aix4.[012]|aix4.[012].*)
9402 # We only want to do this on AIX 4.2 and lower, the check
9403 # below for broken collect2 doesn't work under 4.3+
9404 collect2name=`${CC} -print-prog-name=collect2`
9405 if test -f "$collect2name" &&
9406 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9408 # We have reworked collect2
9411 # We have old collect2
9412 hardcode_direct=unsupported
9413 # It fails to find uninstalled libraries when the uninstalled
9414 # path is not listed in the libpath. Setting hardcode_minus_L
9415 # to unsupported forces relinking
9416 hardcode_minus_L=yes
9417 hardcode_libdir_flag_spec='-L$libdir'
9418 hardcode_libdir_separator=
9422 shared_flag='-shared'
9423 if test "$aix_use_runtimelinking" = yes; then
9424 shared_flag="$shared_flag "'${wl}-G'
9428 if test "$host_cpu" = ia64; then
9429 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9430 # chokes on -Wl,-G. The following line is correct:
9433 if test "$aix_use_runtimelinking" = yes; then
9434 shared_flag='${wl}-G'
9436 shared_flag='${wl}-bM:SRE'
9441 export_dynamic_flag_spec='${wl}-bexpall'
9442 # It seems that -bexpall does not export symbols beginning with
9443 # underscore (_), so it is better to generate a list of symbols to export.
9444 always_export_symbols=yes
9445 if test "$aix_use_runtimelinking" = yes; then
9446 # Warning - without using the other runtime loading flags (-brtl),
9447 # -berok will link without error, but may produce a broken library.
9448 allow_undefined_flag='-berok'
9449 # Determine the default libpath from the value encoded in an
9451 if test "${lt_cv_aix_libpath+set}" = set; then
9452 aix_libpath=$lt_cv_aix_libpath
9454 if ${lt_cv_aix_libpath_+:} false; then :
9455 $as_echo_n "(cached) " >&6
9457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9458 /* end confdefs.h. */
9468 if ac_fn_c_try_link "$LINENO"; then :
9470 lt_aix_libpath_sed='
9471 /Import File Strings/,/^$/ {
9473 s/^0 *\([^ ]*\) *$/\1/
9477 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9478 # Check for a 64-bit object if we didn't find anything.
9479 if test -z "$lt_cv_aix_libpath_"; then
9480 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9483 rm -f core conftest.err conftest.$ac_objext \
9484 conftest$ac_exeext conftest.$ac_ext
9485 if test -z "$lt_cv_aix_libpath_"; then
9486 lt_cv_aix_libpath_="/usr/lib:/lib"
9491 aix_libpath=$lt_cv_aix_libpath_
9494 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9495 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"
9497 if test "$host_cpu" = ia64; then
9498 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9499 allow_undefined_flag="-z nodefs"
9500 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"
9502 # Determine the default libpath from the value encoded in an
9504 if test "${lt_cv_aix_libpath+set}" = set; then
9505 aix_libpath=$lt_cv_aix_libpath
9507 if ${lt_cv_aix_libpath_+:} false; then :
9508 $as_echo_n "(cached) " >&6
9510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9511 /* end confdefs.h. */
9521 if ac_fn_c_try_link "$LINENO"; then :
9523 lt_aix_libpath_sed='
9524 /Import File Strings/,/^$/ {
9526 s/^0 *\([^ ]*\) *$/\1/
9530 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9531 # Check for a 64-bit object if we didn't find anything.
9532 if test -z "$lt_cv_aix_libpath_"; then
9533 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9536 rm -f core conftest.err conftest.$ac_objext \
9537 conftest$ac_exeext conftest.$ac_ext
9538 if test -z "$lt_cv_aix_libpath_"; then
9539 lt_cv_aix_libpath_="/usr/lib:/lib"
9544 aix_libpath=$lt_cv_aix_libpath_
9547 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9548 # Warning - without using the other run time loading flags,
9549 # -berok will link without error, but may produce a broken library.
9550 no_undefined_flag=' ${wl}-bernotok'
9551 allow_undefined_flag=' ${wl}-berok'
9552 if test "$with_gnu_ld" = yes; then
9553 # We only use this code for GNU lds that support --whole-archive.
9554 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9556 # Exported symbols can be pulled into shared objects from archives
9557 whole_archive_flag_spec='$convenience'
9559 archive_cmds_need_lc=yes
9560 # This is similar to how AIX traditionally builds its shared libraries.
9561 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'
9569 # see comment about AmigaOS4 .so support
9570 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9571 archive_expsym_cmds=''
9574 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)'
9575 hardcode_libdir_flag_spec='-L$libdir'
9576 hardcode_minus_L=yes
9582 export_dynamic_flag_spec=-rdynamic
9585 cygwin* | mingw* | pw32* | cegcc*)
9586 # When not using gcc, we currently assume that we are using
9587 # Microsoft Visual C++.
9588 # hardcode_libdir_flag_spec is actually meaningless, as there is
9589 # no search path for DLLs.
9590 case $cc_basename in
9593 hardcode_libdir_flag_spec=' '
9594 allow_undefined_flag=unsupported
9595 always_export_symbols=yes
9597 # Tell ltmain to make .lib files, not .a files.
9599 # Tell ltmain to make .dll files, not .so files.
9601 # FIXME: Setting linknames here is a bad hack.
9602 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9603 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9604 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9606 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9608 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9610 # The linker will not automatically build a static lib if we build a DLL.
9611 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9612 enable_shared_with_static_runtimes=yes
9613 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9614 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9616 old_postinstall_cmds='chmod 644 $oldlib'
9617 postlink_cmds='lt_outputfile="@OUTPUT@"~
9618 lt_tool_outputfile="@TOOL_OUTPUT@"~
9619 case $lt_outputfile in
9622 lt_outputfile="$lt_outputfile.exe"
9623 lt_tool_outputfile="$lt_tool_outputfile.exe"
9626 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9627 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9628 $RM "$lt_outputfile.manifest";
9632 # Assume MSVC wrapper
9633 hardcode_libdir_flag_spec=' '
9634 allow_undefined_flag=unsupported
9635 # Tell ltmain to make .lib files, not .a files.
9637 # Tell ltmain to make .dll files, not .so files.
9639 # FIXME: Setting linknames here is a bad hack.
9640 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9641 # The linker will automatically build a .lib file if we build a DLL.
9642 old_archive_from_new_cmds='true'
9643 # FIXME: Should let the user specify the lib program.
9644 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9645 enable_shared_with_static_runtimes=yes
9650 darwin* | rhapsody*)
9653 archive_cmds_need_lc=no
9655 hardcode_automatic=yes
9656 hardcode_shlibpath_var=unsupported
9657 if test "$lt_cv_ld_force_load" = "yes"; then
9658 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\"`'
9661 whole_archive_flag_spec=''
9663 link_all_deplibs=yes
9664 allow_undefined_flag="$_lt_dar_allow_undefined"
9665 case $cc_basename in
9666 ifort*) _lt_dar_can_shared=yes ;;
9667 *) _lt_dar_can_shared=$GCC ;;
9669 if test "$_lt_dar_can_shared" = "yes"; then
9670 output_verbose_link_cmd=func_echo_all
9671 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9672 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9673 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}"
9674 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}"
9683 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9684 hardcode_libdir_flag_spec='-L$libdir'
9685 hardcode_shlibpath_var=no
9688 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9689 # support. Future versions do this automatically, but an explicit c++rt0.o
9690 # does not break anything, and helps significantly (at the cost of a little
9693 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9694 hardcode_libdir_flag_spec='-R$libdir'
9696 hardcode_shlibpath_var=no
9699 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9701 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9703 hardcode_minus_L=yes
9704 hardcode_shlibpath_var=no
9707 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9708 freebsd* | dragonfly*)
9709 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9710 hardcode_libdir_flag_spec='-R$libdir'
9712 hardcode_shlibpath_var=no
9716 if test "$GCC" = yes; then
9717 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'
9719 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'
9721 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9722 hardcode_libdir_separator=:
9725 # hardcode_minus_L: Not really in the search PATH,
9726 # but as the default location of the library.
9727 hardcode_minus_L=yes
9728 export_dynamic_flag_spec='${wl}-E'
9732 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9733 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9735 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9737 if test "$with_gnu_ld" = no; then
9738 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9739 hardcode_libdir_separator=:
9741 hardcode_direct_absolute=yes
9742 export_dynamic_flag_spec='${wl}-E'
9743 # hardcode_minus_L: Not really in the search PATH,
9744 # but as the default location of the library.
9745 hardcode_minus_L=yes
9750 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9753 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9756 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9759 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9765 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9768 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9772 # Older versions of the 11.00 compiler do not understand -b yet
9773 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9775 $as_echo_n "checking if $CC understands -b... " >&6; }
9776 if ${lt_cv_prog_compiler__b+:} false; then :
9777 $as_echo_n "(cached) " >&6
9779 lt_cv_prog_compiler__b=no
9780 save_LDFLAGS="$LDFLAGS"
9781 LDFLAGS="$LDFLAGS -b"
9782 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9783 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9784 # The linker can only warn and ignore the option if not recognized
9785 # So say no if there are warnings
9786 if test -s conftest.err; then
9787 # Append any errors to the config.log.
9788 cat conftest.err 1>&5
9789 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9790 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9791 if diff conftest.exp conftest.er2 >/dev/null; then
9792 lt_cv_prog_compiler__b=yes
9795 lt_cv_prog_compiler__b=yes
9799 LDFLAGS="$save_LDFLAGS"
9802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9803 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9805 if test x"$lt_cv_prog_compiler__b" = xyes; then
9806 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9808 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9814 if test "$with_gnu_ld" = no; then
9815 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9816 hardcode_libdir_separator=:
9821 hardcode_shlibpath_var=no
9825 hardcode_direct_absolute=yes
9826 export_dynamic_flag_spec='${wl}-E'
9828 # hardcode_minus_L: Not really in the search PATH,
9829 # but as the default location of the library.
9830 hardcode_minus_L=yes
9836 irix5* | irix6* | nonstopux*)
9837 if test "$GCC" = yes; then
9838 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'
9839 # Try to use the -exported_symbol ld option, if it does not
9840 # work, assume that -exports_file does not work either and
9841 # implicitly export all symbols.
9842 # This should be the same for all languages, so no per-tag cache variable.
9843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9844 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9845 if ${lt_cv_irix_exported_symbol+:} false; then :
9846 $as_echo_n "(cached) " >&6
9848 save_LDFLAGS="$LDFLAGS"
9849 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9851 /* end confdefs.h. */
9852 int foo (void) { return 0; }
9854 if ac_fn_c_try_link "$LINENO"; then :
9855 lt_cv_irix_exported_symbol=yes
9857 lt_cv_irix_exported_symbol=no
9859 rm -f core conftest.err conftest.$ac_objext \
9860 conftest$ac_exeext conftest.$ac_ext
9861 LDFLAGS="$save_LDFLAGS"
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9864 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9865 if test "$lt_cv_irix_exported_symbol" = yes; then
9866 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'
9869 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'
9870 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'
9872 archive_cmds_need_lc='no'
9873 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9874 hardcode_libdir_separator=:
9876 link_all_deplibs=yes
9880 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9881 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9883 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9885 hardcode_libdir_flag_spec='-R$libdir'
9887 hardcode_shlibpath_var=no
9891 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9893 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9894 hardcode_libdir_separator=:
9895 hardcode_shlibpath_var=no
9902 if test -f /usr/libexec/ld.so; then
9904 hardcode_shlibpath_var=no
9905 hardcode_direct_absolute=yes
9906 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9907 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9908 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9909 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9910 export_dynamic_flag_spec='${wl}-E'
9913 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9914 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9915 hardcode_libdir_flag_spec='-R$libdir'
9918 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9919 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9929 hardcode_libdir_flag_spec='-L$libdir'
9930 hardcode_minus_L=yes
9931 allow_undefined_flag=unsupported
9932 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'
9933 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9937 if test "$GCC" = yes; then
9938 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9939 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'
9941 allow_undefined_flag=' -expect_unresolved \*'
9942 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'
9944 archive_cmds_need_lc='no'
9945 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9946 hardcode_libdir_separator=:
9949 osf4* | osf5*) # as osf3* with the addition of -msym flag
9950 if test "$GCC" = yes; then
9951 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9952 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'
9953 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9955 allow_undefined_flag=' -expect_unresolved \*'
9956 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'
9957 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~
9958 $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'
9960 # Both c and cxx compiler support -rpath directly
9961 hardcode_libdir_flag_spec='-rpath $libdir'
9963 archive_cmds_need_lc='no'
9964 hardcode_libdir_separator=:
9968 no_undefined_flag=' -z defs'
9969 if test "$GCC" = yes; then
9971 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9972 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9973 $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'
9975 case `$CC -V 2>&1` in
9978 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9979 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9980 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9984 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9985 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9986 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9990 hardcode_libdir_flag_spec='-R$libdir'
9991 hardcode_shlibpath_var=no
9993 solaris2.[0-5] | solaris2.[0-5].*) ;;
9995 # The compiler driver will combine and reorder linker options,
9996 # but understands `-z linker_flag'. GCC discards it without `$wl',
9997 # but is careful enough not to reorder.
9998 # Supported since Solaris 2.6 (maybe 2.5.1?)
9999 if test "$GCC" = yes; then
10000 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10002 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10006 link_all_deplibs=yes
10010 if test "x$host_vendor" = xsequent; then
10011 # Use $CC to link under sequent, because it throws in some extra .o
10012 # files that make .init and .fini sections work.
10013 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10015 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10017 hardcode_libdir_flag_spec='-L$libdir'
10018 hardcode_direct=yes
10019 hardcode_minus_L=yes
10020 hardcode_shlibpath_var=no
10024 case $host_vendor in
10026 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10027 hardcode_direct=yes # is this really true???
10030 ## LD is ld it makes a PLAMLIB
10031 ## CC just makes a GrossModule.
10032 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10033 reload_cmds='$CC -r -o $output$reload_objs'
10037 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10038 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10041 runpath_var='LD_RUN_PATH'
10042 hardcode_shlibpath_var=no
10046 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10047 hardcode_shlibpath_var=no
10048 export_dynamic_flag_spec='-Bexport'
10052 if test -d /usr/nec; then
10053 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10054 hardcode_shlibpath_var=no
10055 runpath_var=LD_RUN_PATH
10056 hardcode_runpath_var=yes
10061 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10062 no_undefined_flag='${wl}-z,text'
10063 archive_cmds_need_lc=no
10064 hardcode_shlibpath_var=no
10065 runpath_var='LD_RUN_PATH'
10067 if test "$GCC" = yes; then
10068 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10069 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10071 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10072 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10076 sysv5* | sco3.2v5* | sco5v6*)
10077 # Note: We can NOT use -z defs as we might desire, because we do not
10078 # link with -lc, and that would cause any symbols used from libc to
10079 # always be unresolved, which means just about no library would
10080 # ever link correctly. If we're not using GNU ld we use -z text
10081 # though, which does catch some bad symbols but isn't as heavy-handed
10083 no_undefined_flag='${wl}-z,text'
10084 allow_undefined_flag='${wl}-z,nodefs'
10085 archive_cmds_need_lc=no
10086 hardcode_shlibpath_var=no
10087 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10088 hardcode_libdir_separator=':'
10089 link_all_deplibs=yes
10090 export_dynamic_flag_spec='${wl}-Bexport'
10091 runpath_var='LD_RUN_PATH'
10093 if test "$GCC" = yes; then
10094 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10095 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10097 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10098 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10103 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10104 hardcode_libdir_flag_spec='-L$libdir'
10105 hardcode_shlibpath_var=no
10113 if test x$host_vendor = xsni; then
10115 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10116 export_dynamic_flag_spec='${wl}-Blargedynsym'
10122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10123 $as_echo "$ld_shlibs" >&6; }
10124 test "$ld_shlibs" = no && can_build_shared=no
10126 with_gnu_ld=$with_gnu_ld
10143 # Do we need to explicitly link libc?
10145 case "x$archive_cmds_need_lc" in
10147 # Assume -lc should be added
10148 archive_cmds_need_lc=yes
10150 if test "$enable_shared" = yes && test "$GCC" = yes; then
10151 case $archive_cmds in
10153 # FIXME: we may have to deal with multi-command sequences.
10156 # Test whether the compiler implicitly links with -lc since on some
10157 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10158 # to ld, don't add -lc before -lgcc.
10159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10160 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10161 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10162 $as_echo_n "(cached) " >&6
10165 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10167 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10168 (eval $ac_compile) 2>&5
10170 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10171 test $ac_status = 0; } 2>conftest.err; then
10174 libobjs=conftest.$ac_objext
10176 wl=$lt_prog_compiler_wl
10177 pic_flag=$lt_prog_compiler_pic
10183 lt_save_allow_undefined_flag=$allow_undefined_flag
10184 allow_undefined_flag=
10185 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10186 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10188 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10189 test $ac_status = 0; }
10191 lt_cv_archive_cmds_need_lc=no
10193 lt_cv_archive_cmds_need_lc=yes
10195 allow_undefined_flag=$lt_save_allow_undefined_flag
10197 cat conftest.err 1>&5
10202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10203 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10204 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10363 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10365 if test "$GCC" = yes; then
10367 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10368 *) lt_awk_arg="/^libraries:/" ;;
10371 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10372 *) lt_sed_strip_eq="s,=/,/,g" ;;
10374 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10375 case $lt_search_path_spec in
10377 # if the path contains ";" then we assume it to be the separator
10378 # otherwise default to the standard path separator (i.e. ":") - it is
10379 # assumed that no part of a normal pathname contains ";" but that should
10380 # okay in the real world where ";" in dirpaths is itself problematic.
10381 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10384 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10387 # Ok, now we have the path, separated by spaces, we can step through it
10388 # and add multilib dir if necessary.
10389 lt_tmp_lt_search_path_spec=
10390 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10391 for lt_sys_path in $lt_search_path_spec; do
10392 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10393 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10395 test -d "$lt_sys_path" && \
10396 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10399 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10400 BEGIN {RS=" "; FS="/|\n";} {
10403 for (lt_i = NF; lt_i > 0; lt_i--) {
10404 if ($lt_i != "" && $lt_i != ".") {
10405 if ($lt_i == "..") {
10408 if (lt_count == 0) {
10409 lt_foo="/" $lt_i lt_foo;
10416 if (lt_foo != "") { lt_freq[lt_foo]++; }
10417 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10419 # AWK program above erroneously prepends '/' to C:/dos/paths
10422 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10423 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10425 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10427 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10429 library_names_spec=
10430 libname_spec='lib$name'
10434 postuninstall_cmds=
10438 shlibpath_overrides_runpath=unknown
10440 dynamic_linker="$host_os ld.so"
10441 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10442 need_lib_prefix=unknown
10443 hardcode_into_libs=no
10445 # when you set need_version to no, make sure it does not cause -set_version
10446 # flags to be left without arguments
10447 need_version=unknown
10451 version_type=linux # correct to gnu/linux during the next big refactor
10452 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10453 shlibpath_var=LIBPATH
10455 # AIX 3 has no versioning support, so we append a major version to the name.
10456 soname_spec='${libname}${release}${shared_ext}$major'
10460 version_type=linux # correct to gnu/linux during the next big refactor
10463 hardcode_into_libs=yes
10464 if test "$host_cpu" = ia64; then
10465 # AIX 5 supports IA64
10466 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10467 shlibpath_var=LD_LIBRARY_PATH
10469 # With GCC up to 2.95.x, collect2 would create an import file
10470 # for dependence libraries. The import file would start with
10471 # the line `#! .'. This would cause the generated library to
10472 # depend on `.', always an invalid library. This was fixed in
10473 # development snapshots of GCC prior to 3.0.
10475 aix4 | aix4.[01] | aix4.[01].*)
10476 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10478 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10481 can_build_shared=no
10485 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10486 # soname into executable. Probably we can add versioning support to
10487 # collect2, so additional links can be useful in future.
10488 if test "$aix_use_runtimelinking" = yes; then
10489 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10490 # instead of lib<name>.a to let people know that these are not
10491 # typical AIX shared libraries.
10492 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10494 # We preserve .a as extension for shared libraries through AIX4.2
10495 # and later when we are not doing run time linking.
10496 library_names_spec='${libname}${release}.a $libname.a'
10497 soname_spec='${libname}${release}${shared_ext}$major'
10499 shlibpath_var=LIBPATH
10506 # Since July 2007 AmigaOS4 officially supports .so libraries.
10507 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10508 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10511 library_names_spec='$libname.ixlibrary $libname.a'
10512 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10513 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'
10519 library_names_spec='${libname}${shared_ext}'
10520 dynamic_linker="$host_os ld.so"
10521 shlibpath_var=LIBRARY_PATH
10525 version_type=linux # correct to gnu/linux during the next big refactor
10527 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10528 soname_spec='${libname}${release}${shared_ext}$major'
10529 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10530 shlibpath_var=LD_LIBRARY_PATH
10531 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10532 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10533 # the default ld.so.conf also contains /usr/contrib/lib and
10534 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10535 # libtool to hard-code these into programs
10538 cygwin* | mingw* | pw32* | cegcc*)
10539 version_type=windows
10544 case $GCC,$cc_basename in
10547 library_names_spec='$libname.dll.a'
10548 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10549 postinstall_cmds='base_file=`basename \${file}`~
10550 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10551 dldir=$destdir/`dirname \$dlpath`~
10552 test -d \$dldir || mkdir -p \$dldir~
10553 $install_prog $dir/$dlname \$dldir/$dlname~
10554 chmod a+x \$dldir/$dlname~
10555 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10556 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10558 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10559 dlpath=$dir/\$dldll~
10561 shlibpath_overrides_runpath=yes
10565 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10566 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10568 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10571 # MinGW DLLs use traditional 'lib' prefix
10572 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10575 # pw32 DLLs use 'pw' prefix rather than 'lib'
10576 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10579 dynamic_linker='Win32 ld.exe'
10584 libname_spec='$name'
10585 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10586 library_names_spec='${libname}.dll.lib'
10590 sys_lib_search_path_spec=
10593 for lt_path in $LIB
10596 # Let DOS variable expansion print the short 8.3 style file name.
10597 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10598 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10601 # Convert to MSYS style.
10602 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10605 # Convert to unix form, then to dos form, then back to unix form
10606 # but this time dos style (no spaces!) so that the unix form looks
10607 # like /cygdrive/c/PROGRA~1:/cygdr...
10608 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10609 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10610 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10613 sys_lib_search_path_spec="$LIB"
10614 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10615 # It is most probably a Windows format PATH.
10616 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10618 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10620 # FIXME: find the short name or the path components, as spaces are
10621 # common. (e.g. "Program Files" -> "PROGRA~1")
10625 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10626 postinstall_cmds='base_file=`basename \${file}`~
10627 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10628 dldir=$destdir/`dirname \$dlpath`~
10629 test -d \$dldir || mkdir -p \$dldir~
10630 $install_prog $dir/$dlname \$dldir/$dlname'
10631 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10632 dlpath=$dir/\$dldll~
10634 shlibpath_overrides_runpath=yes
10635 dynamic_linker='Win32 link.exe'
10639 # Assume MSVC wrapper
10640 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10641 dynamic_linker='Win32 ld.exe'
10644 # FIXME: first we should search . and the directory the executable is in
10648 darwin* | rhapsody*)
10649 dynamic_linker="$host_os dyld"
10650 version_type=darwin
10653 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10654 soname_spec='${libname}${release}${major}$shared_ext'
10655 shlibpath_overrides_runpath=yes
10656 shlibpath_var=DYLD_LIBRARY_PATH
10657 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10659 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10660 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10664 version_type=linux # correct to gnu/linux during the next big refactor
10667 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10668 soname_spec='${libname}${release}${shared_ext}$major'
10669 shlibpath_var=LD_LIBRARY_PATH
10672 freebsd* | dragonfly*)
10673 # DragonFly does not have aout. When/if they implement a new
10674 # versioning mechanism, adjust this.
10675 if test -x /usr/bin/objformat; then
10676 objformat=`/usr/bin/objformat`
10679 freebsd[23].*) objformat=aout ;;
10680 *) objformat=elf ;;
10683 version_type=freebsd-$objformat
10684 case $version_type in
10686 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10691 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10695 shlibpath_var=LD_LIBRARY_PATH
10698 shlibpath_overrides_runpath=yes
10700 freebsd3.[01]* | freebsdelf3.[01]*)
10701 shlibpath_overrides_runpath=yes
10702 hardcode_into_libs=yes
10704 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10705 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10706 shlibpath_overrides_runpath=no
10707 hardcode_into_libs=yes
10709 *) # from 4.6 on, and DragonFly
10710 shlibpath_overrides_runpath=yes
10711 hardcode_into_libs=yes
10717 version_type=linux # correct to gnu/linux during the next big refactor
10720 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10721 soname_spec='${libname}${release}${shared_ext}$major'
10722 shlibpath_var=LD_LIBRARY_PATH
10723 shlibpath_overrides_runpath=no
10724 hardcode_into_libs=yes
10728 version_type=linux # correct to gnu/linux during the next big refactor
10731 dynamic_linker="$host_os runtime_loader"
10732 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10733 soname_spec='${libname}${release}${shared_ext}$major'
10734 shlibpath_var=LIBRARY_PATH
10735 shlibpath_overrides_runpath=yes
10736 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10737 hardcode_into_libs=yes
10740 hpux9* | hpux10* | hpux11*)
10741 # Give a soname corresponding to the major version so that dld.sl refuses to
10742 # link against other versions.
10749 hardcode_into_libs=yes
10750 dynamic_linker="$host_os dld.so"
10751 shlibpath_var=LD_LIBRARY_PATH
10752 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10753 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10754 soname_spec='${libname}${release}${shared_ext}$major'
10755 if test "X$HPUX_IA64_MODE" = X32; then
10756 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10758 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10760 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10764 hardcode_into_libs=yes
10765 dynamic_linker="$host_os dld.sl"
10766 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10767 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10768 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10769 soname_spec='${libname}${release}${shared_ext}$major'
10770 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10771 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10775 dynamic_linker="$host_os dld.sl"
10776 shlibpath_var=SHLIB_PATH
10777 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10778 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10779 soname_spec='${libname}${release}${shared_ext}$major'
10782 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10783 postinstall_cmds='chmod 555 $lib'
10784 # or fails outright, so override atomically:
10785 install_override_mode=555
10789 version_type=linux # correct to gnu/linux during the next big refactor
10792 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10793 soname_spec='${libname}${release}${shared_ext}$major'
10794 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10795 shlibpath_var=LD_LIBRARY_PATH
10796 shlibpath_overrides_runpath=no
10797 hardcode_into_libs=yes
10800 irix5* | irix6* | nonstopux*)
10802 nonstopux*) version_type=nonstopux ;;
10804 if test "$lt_cv_prog_gnu_ld" = yes; then
10805 version_type=linux # correct to gnu/linux during the next big refactor
10812 soname_spec='${libname}${release}${shared_ext}$major'
10813 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10815 irix5* | nonstopux*)
10816 libsuff= shlibsuff=
10819 case $LD in # libtool.m4 will add one of these switches to LD
10820 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10821 libsuff= shlibsuff= libmagic=32-bit;;
10822 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10823 libsuff=32 shlibsuff=N32 libmagic=N32;;
10824 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10825 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10826 *) libsuff= shlibsuff= libmagic=never-match;;
10830 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10831 shlibpath_overrides_runpath=no
10832 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10833 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10834 hardcode_into_libs=yes
10837 # No shared lib support for Linux oldld, aout, or coff.
10838 linux*oldld* | linux*aout* | linux*coff*)
10842 # This must be glibc/ELF.
10843 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10844 version_type=linux # correct to gnu/linux during the next big refactor
10847 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10848 soname_spec='${libname}${release}${shared_ext}$major'
10849 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10850 shlibpath_var=LD_LIBRARY_PATH
10851 shlibpath_overrides_runpath=no
10853 # Some binutils ld are patched to set DT_RUNPATH
10854 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10855 $as_echo_n "(cached) " >&6
10857 lt_cv_shlibpath_overrides_runpath=no
10858 save_LDFLAGS=$LDFLAGS
10859 save_libdir=$libdir
10860 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10861 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10863 /* end confdefs.h. */
10873 if ac_fn_c_try_link "$LINENO"; then :
10874 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10875 lt_cv_shlibpath_overrides_runpath=yes
10878 rm -f core conftest.err conftest.$ac_objext \
10879 conftest$ac_exeext conftest.$ac_ext
10880 LDFLAGS=$save_LDFLAGS
10881 libdir=$save_libdir
10885 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10887 # This implies no fast_install, which is unacceptable.
10888 # Some rework will be needed to allow for fast_install
10889 # before this can be enabled.
10890 hardcode_into_libs=yes
10892 # Add ABI-specific directories to the system library path.
10893 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
10895 # Append ld.so.conf contents to the search path
10896 if test -f /etc/ld.so.conf; then
10897 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' ' '`
10898 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10902 # We used to test for /lib/ld.so.1 and disable shared libraries on
10903 # powerpc, because MkLinux only supported shared libraries with the
10904 # GNU dynamic linker. Since this was broken with cross compilers,
10905 # most powerpc-linux boxes support dynamic linking these days and
10906 # people can always --disable-shared, the test was removed, and we
10907 # assume the GNU/Linux dynamic linker is in use.
10908 dynamic_linker='GNU/Linux ld.so'
10915 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10916 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10917 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10918 dynamic_linker='NetBSD (a.out) ld.so'
10920 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10921 soname_spec='${libname}${release}${shared_ext}$major'
10922 dynamic_linker='NetBSD ld.elf_so'
10924 shlibpath_var=LD_LIBRARY_PATH
10925 shlibpath_overrides_runpath=yes
10926 hardcode_into_libs=yes
10930 version_type=linux # correct to gnu/linux during the next big refactor
10931 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10932 shlibpath_var=LD_LIBRARY_PATH
10933 shlibpath_overrides_runpath=yes
10940 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10941 soname_spec='${libname}${release}${shared_ext}$major'
10942 shlibpath_var=LD_LIBRARY_PATH
10943 shlibpath_overrides_runpath=no
10944 hardcode_into_libs=yes
10945 dynamic_linker='ldqnx.so'
10950 sys_lib_dlsearch_path_spec="/usr/lib"
10952 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10954 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10955 *) need_version=no ;;
10957 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10958 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10959 shlibpath_var=LD_LIBRARY_PATH
10960 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10962 openbsd2.[89] | openbsd2.[89].*)
10963 shlibpath_overrides_runpath=no
10966 shlibpath_overrides_runpath=yes
10970 shlibpath_overrides_runpath=yes
10975 libname_spec='$name'
10978 library_names_spec='$libname${shared_ext} $libname.a'
10979 dynamic_linker='OS/2 ld.exe'
10980 shlibpath_var=LIBPATH
10983 osf3* | osf4* | osf5*)
10987 soname_spec='${libname}${release}${shared_ext}$major'
10988 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10989 shlibpath_var=LD_LIBRARY_PATH
10990 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10991 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10999 version_type=linux # correct to gnu/linux during the next big refactor
11002 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11003 soname_spec='${libname}${release}${shared_ext}$major'
11004 shlibpath_var=LD_LIBRARY_PATH
11005 shlibpath_overrides_runpath=yes
11006 hardcode_into_libs=yes
11007 # ldd complains unless libraries are executable
11008 postinstall_cmds='chmod +x $lib'
11013 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11014 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11015 shlibpath_var=LD_LIBRARY_PATH
11016 shlibpath_overrides_runpath=yes
11017 if test "$with_gnu_ld" = yes; then
11024 version_type=linux # correct to gnu/linux during the next big refactor
11025 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11026 soname_spec='${libname}${release}${shared_ext}$major'
11027 shlibpath_var=LD_LIBRARY_PATH
11028 case $host_vendor in
11030 shlibpath_overrides_runpath=no
11032 runpath_var=LD_RUN_PATH
11040 shlibpath_overrides_runpath=no
11041 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11047 if test -d /usr/nec ;then
11048 version_type=linux # correct to gnu/linux during the next big refactor
11049 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11050 soname_spec='$libname${shared_ext}.$major'
11051 shlibpath_var=LD_LIBRARY_PATH
11055 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11056 version_type=freebsd-elf
11059 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11060 soname_spec='${libname}${release}${shared_ext}$major'
11061 shlibpath_var=LD_LIBRARY_PATH
11062 shlibpath_overrides_runpath=yes
11063 hardcode_into_libs=yes
11064 if test "$with_gnu_ld" = yes; then
11065 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11067 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11070 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11074 sys_lib_dlsearch_path_spec='/usr/lib'
11078 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11079 version_type=linux # correct to gnu/linux during the next big refactor
11082 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11083 shlibpath_var=LD_LIBRARY_PATH
11084 shlibpath_overrides_runpath=no
11085 hardcode_into_libs=yes
11089 version_type=linux # correct to gnu/linux during the next big refactor
11090 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11091 soname_spec='${libname}${release}${shared_ext}$major'
11092 shlibpath_var=LD_LIBRARY_PATH
11099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11100 $as_echo "$dynamic_linker" >&6; }
11101 test "$dynamic_linker" = no && can_build_shared=no
11103 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11104 if test "$GCC" = yes; then
11105 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11108 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11109 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11111 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11112 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11207 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11209 if test -n "$hardcode_libdir_flag_spec" ||
11210 test -n "$runpath_var" ||
11211 test "X$hardcode_automatic" = "Xyes" ; then
11213 # We can hardcode non-existent directories.
11214 if test "$hardcode_direct" != no &&
11215 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11216 # have to relink, otherwise we might link with an installed library
11217 # when we should be linking with a yet-to-be-installed one
11218 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11219 test "$hardcode_minus_L" != no; then
11220 # Linking always hardcodes the temporary library directory.
11221 hardcode_action=relink
11223 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11224 hardcode_action=immediate
11227 # We cannot hardcode anything, or else we can only hardcode existing
11229 hardcode_action=unsupported
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11232 $as_echo "$hardcode_action" >&6; }
11234 if test "$hardcode_action" = relink ||
11235 test "$inherit_rpath" = yes; then
11236 # Fast installation is not supported
11237 enable_fast_install=no
11238 elif test "$shlibpath_overrides_runpath" = yes ||
11239 test "$enable_shared" = no; then
11240 # Fast installation is not necessary
11241 enable_fast_install=needless
11249 if test "x$enable_dlopen" != xyes; then
11250 enable_dlopen=unknown
11251 enable_dlopen_self=unknown
11252 enable_dlopen_self_static=unknown
11259 lt_cv_dlopen="load_add_on"
11261 lt_cv_dlopen_self=yes
11264 mingw* | pw32* | cegcc*)
11265 lt_cv_dlopen="LoadLibrary"
11270 lt_cv_dlopen="dlopen"
11275 # if libdl is installed we need to link against it
11276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11277 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11278 if ${ac_cv_lib_dl_dlopen+:} false; then :
11279 $as_echo_n "(cached) " >&6
11281 ac_check_lib_save_LIBS=$LIBS
11283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11284 /* end confdefs.h. */
11286 /* Override any GCC internal prototype to avoid an error.
11287 Use char because int might match the return type of a GCC
11288 builtin and then its argument prototype would still apply. */
11301 if ac_fn_c_try_link "$LINENO"; then :
11302 ac_cv_lib_dl_dlopen=yes
11304 ac_cv_lib_dl_dlopen=no
11306 rm -f core conftest.err conftest.$ac_objext \
11307 conftest$ac_exeext conftest.$ac_ext
11308 LIBS=$ac_check_lib_save_LIBS
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11311 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11312 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11313 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11316 lt_cv_dlopen="dyld"
11318 lt_cv_dlopen_self=yes
11325 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11326 if test "x$ac_cv_func_shl_load" = xyes; then :
11327 lt_cv_dlopen="shl_load"
11329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11330 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11331 if ${ac_cv_lib_dld_shl_load+:} false; then :
11332 $as_echo_n "(cached) " >&6
11334 ac_check_lib_save_LIBS=$LIBS
11336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11337 /* end confdefs.h. */
11339 /* Override any GCC internal prototype to avoid an error.
11340 Use char because int might match the return type of a GCC
11341 builtin and then its argument prototype would still apply. */
11349 return shl_load ();
11354 if ac_fn_c_try_link "$LINENO"; then :
11355 ac_cv_lib_dld_shl_load=yes
11357 ac_cv_lib_dld_shl_load=no
11359 rm -f core conftest.err conftest.$ac_objext \
11360 conftest$ac_exeext conftest.$ac_ext
11361 LIBS=$ac_check_lib_save_LIBS
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11364 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11365 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11366 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11368 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11369 if test "x$ac_cv_func_dlopen" = xyes; then :
11370 lt_cv_dlopen="dlopen"
11372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11373 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11374 if ${ac_cv_lib_dl_dlopen+:} false; then :
11375 $as_echo_n "(cached) " >&6
11377 ac_check_lib_save_LIBS=$LIBS
11379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11380 /* end confdefs.h. */
11382 /* Override any GCC internal prototype to avoid an error.
11383 Use char because int might match the return type of a GCC
11384 builtin and then its argument prototype would still apply. */
11397 if ac_fn_c_try_link "$LINENO"; then :
11398 ac_cv_lib_dl_dlopen=yes
11400 ac_cv_lib_dl_dlopen=no
11402 rm -f core conftest.err conftest.$ac_objext \
11403 conftest$ac_exeext conftest.$ac_ext
11404 LIBS=$ac_check_lib_save_LIBS
11406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11407 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11408 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11409 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11412 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11413 if ${ac_cv_lib_svld_dlopen+:} false; then :
11414 $as_echo_n "(cached) " >&6
11416 ac_check_lib_save_LIBS=$LIBS
11417 LIBS="-lsvld $LIBS"
11418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11419 /* end confdefs.h. */
11421 /* Override any GCC internal prototype to avoid an error.
11422 Use char because int might match the return type of a GCC
11423 builtin and then its argument prototype would still apply. */
11436 if ac_fn_c_try_link "$LINENO"; then :
11437 ac_cv_lib_svld_dlopen=yes
11439 ac_cv_lib_svld_dlopen=no
11441 rm -f core conftest.err conftest.$ac_objext \
11442 conftest$ac_exeext conftest.$ac_ext
11443 LIBS=$ac_check_lib_save_LIBS
11445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11446 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11447 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11448 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11451 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11452 if ${ac_cv_lib_dld_dld_link+:} false; then :
11453 $as_echo_n "(cached) " >&6
11455 ac_check_lib_save_LIBS=$LIBS
11457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11458 /* end confdefs.h. */
11460 /* Override any GCC internal prototype to avoid an error.
11461 Use char because int might match the return type of a GCC
11462 builtin and then its argument prototype would still apply. */
11470 return dld_link ();
11475 if ac_fn_c_try_link "$LINENO"; then :
11476 ac_cv_lib_dld_dld_link=yes
11478 ac_cv_lib_dld_dld_link=no
11480 rm -f core conftest.err conftest.$ac_objext \
11481 conftest$ac_exeext conftest.$ac_ext
11482 LIBS=$ac_check_lib_save_LIBS
11484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11485 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11486 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11487 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11508 if test "x$lt_cv_dlopen" != xno; then
11514 case $lt_cv_dlopen in
11516 save_CPPFLAGS="$CPPFLAGS"
11517 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11519 save_LDFLAGS="$LDFLAGS"
11520 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11523 LIBS="$lt_cv_dlopen_libs $LIBS"
11525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11526 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11527 if ${lt_cv_dlopen_self+:} false; then :
11528 $as_echo_n "(cached) " >&6
11530 if test "$cross_compiling" = yes; then :
11531 lt_cv_dlopen_self=cross
11533 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11534 lt_status=$lt_dlunknown
11535 cat > conftest.$ac_ext <<_LT_EOF
11536 #line $LINENO "configure"
11537 #include "confdefs.h"
11546 # define LT_DLGLOBAL RTLD_GLOBAL
11549 # define LT_DLGLOBAL DL_GLOBAL
11551 # define LT_DLGLOBAL 0
11555 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11556 find out it does not work in some platform. */
11557 #ifndef LT_DLLAZY_OR_NOW
11559 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11562 # define LT_DLLAZY_OR_NOW DL_LAZY
11565 # define LT_DLLAZY_OR_NOW RTLD_NOW
11568 # define LT_DLLAZY_OR_NOW DL_NOW
11570 # define LT_DLLAZY_OR_NOW 0
11577 /* When -fvisbility=hidden is used, assume the code has been annotated
11578 correspondingly for the symbols needed. */
11579 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11580 int fnord () __attribute__((visibility("default")));
11583 int fnord () { return 42; }
11586 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11587 int status = $lt_dlunknown;
11591 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11594 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11595 else puts (dlerror ());
11597 /* dlclose (self); */
11605 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11606 (eval $ac_link) 2>&5
11608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11609 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11610 (./conftest; exit; ) >&5 2>/dev/null
11612 case x$lt_status in
11613 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11614 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11615 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11618 # compilation failed
11619 lt_cv_dlopen_self=no
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11627 $as_echo "$lt_cv_dlopen_self" >&6; }
11629 if test "x$lt_cv_dlopen_self" = xyes; then
11630 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11632 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11633 if ${lt_cv_dlopen_self_static+:} false; then :
11634 $as_echo_n "(cached) " >&6
11636 if test "$cross_compiling" = yes; then :
11637 lt_cv_dlopen_self_static=cross
11639 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11640 lt_status=$lt_dlunknown
11641 cat > conftest.$ac_ext <<_LT_EOF
11642 #line $LINENO "configure"
11643 #include "confdefs.h"
11652 # define LT_DLGLOBAL RTLD_GLOBAL
11655 # define LT_DLGLOBAL DL_GLOBAL
11657 # define LT_DLGLOBAL 0
11661 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11662 find out it does not work in some platform. */
11663 #ifndef LT_DLLAZY_OR_NOW
11665 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11668 # define LT_DLLAZY_OR_NOW DL_LAZY
11671 # define LT_DLLAZY_OR_NOW RTLD_NOW
11674 # define LT_DLLAZY_OR_NOW DL_NOW
11676 # define LT_DLLAZY_OR_NOW 0
11683 /* When -fvisbility=hidden is used, assume the code has been annotated
11684 correspondingly for the symbols needed. */
11685 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11686 int fnord () __attribute__((visibility("default")));
11689 int fnord () { return 42; }
11692 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11693 int status = $lt_dlunknown;
11697 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11700 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11701 else puts (dlerror ());
11703 /* dlclose (self); */
11711 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11712 (eval $ac_link) 2>&5
11714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11715 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11716 (./conftest; exit; ) >&5 2>/dev/null
11718 case x$lt_status in
11719 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11720 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11721 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11724 # compilation failed
11725 lt_cv_dlopen_self_static=no
11732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11733 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11736 CPPFLAGS="$save_CPPFLAGS"
11737 LDFLAGS="$save_LDFLAGS"
11742 case $lt_cv_dlopen_self in
11743 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11744 *) enable_dlopen_self=unknown ;;
11747 case $lt_cv_dlopen_self_static in
11748 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11749 *) enable_dlopen_self_static=unknown ;;
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11772 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11773 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11774 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11775 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11777 $as_echo "yes" >&6; }
11779 # FIXME - insert some real tests, host_os isn't really good enough
11782 if test -n "$STRIP" ; then
11783 striplib="$STRIP -x"
11784 old_striplib="$STRIP -S"
11785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11786 $as_echo "yes" >&6; }
11788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11789 $as_echo "no" >&6; }
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11794 $as_echo "no" >&6; }
11810 # Report which library types will actually be built
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11812 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11814 $as_echo "$can_build_shared" >&6; }
11816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11817 $as_echo_n "checking whether to build shared libraries... " >&6; }
11818 test "$can_build_shared" = "no" && enable_shared=no
11820 # On AIX, shared libraries and static libraries use the same namespace, and
11821 # are all built from PIC.
11824 test "$enable_shared" = yes && enable_static=no
11825 if test -n "$RANLIB"; then
11826 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11827 postinstall_cmds='$RANLIB $lib'
11832 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11833 test "$enable_shared" = yes && enable_static=no
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11838 $as_echo "$enable_shared" >&6; }
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11841 $as_echo_n "checking whether to build static libraries... " >&6; }
11842 # Make sure either enable_shared or enable_static is yes.
11843 test "$enable_shared" = yes || enable_static=yes
11844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11845 $as_echo "$enable_static" >&6; }
11852 ac_cpp='$CPP $CPPFLAGS'
11853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11873 ac_config_commands="$ac_config_commands libtool"
11878 # Only expand once:
11882 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11883 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11887 cat >>confdefs.h <<_ACEOF
11892 cat >>confdefs.h <<_ACEOF
11897 cat >>confdefs.h <<_ACEOF
11902 cat >>confdefs.h <<_ACEOF
11906 version_info="8:9:7"
11910 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11911 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11915 ### Needed information
11921 want_econnman0_7x="yes"
11930 want_econnman0_7x="no"
11938 requirement_ebluez="edbus >= 1.7.9"
11939 requirement_econnman0_7x="edbus >= 1.7.9"
11940 requirement_edbus="ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62"
11941 requirement_ehal="edbus >= 1.7.9"
11942 requirement_enotify="edbus >= 1.7.9"
11943 requirement_eofono="edbus >= 1.7.9"
11944 requirement_eukit="edbus >= 1.7.9"
11946 ### Additional options to configure
11949 # Check whether --enable-ebluez was given.
11950 if test "${enable_ebluez+set}" = set; then :
11951 enableval=$enable_ebluez; enable_ebluez=$enableval
11953 enable_ebluez="${want_ebluez}"
11957 # Check whether --enable-econnman0_7x was given.
11958 if test "${enable_econnman0_7x+set}" = set; then :
11959 enableval=$enable_econnman0_7x; enable_econnman0_7x=$enableval
11961 enable_econnman0_7x="${want_econnman0_7x}"
11965 # Check whether --enable-ehal was given.
11966 if test "${enable_ehal+set}" = set; then :
11967 enableval=$enable_ehal; enable_ehal=$enableval
11969 enable_ehal="${want_ehal}"
11973 # Check whether --enable-enotify was given.
11974 if test "${enable_enotify+set}" = set; then :
11975 enableval=$enable_enotify; enable_enotify=$enableval
11977 enable_enotify="${want_enotify}"
11981 # Check whether --enable-eofono was given.
11982 if test "${enable_eofono+set}" = set; then :
11983 enableval=$enable_eofono; enable_eofono=$enableval
11985 enable_eofono="${want_eofono}"
11989 # Check whether --enable-eukit was given.
11990 if test "${enable_eukit+set}" = set; then :
11991 enableval=$enable_eukit; enable_eukit=$enableval
11993 enable_eukit="${want_eukit}"
11997 ### Checks for programs
12000 ac_cpp='$CPP $CPPFLAGS'
12001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12004 if test -n "$ac_tool_prefix"; then
12005 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12006 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12008 $as_echo_n "checking for $ac_word... " >&6; }
12009 if ${ac_cv_prog_CC+:} false; then :
12010 $as_echo_n "(cached) " >&6
12012 if test -n "$CC"; then
12013 ac_cv_prog_CC="$CC" # Let the user override the test.
12015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12016 for as_dir in $PATH
12019 test -z "$as_dir" && as_dir=.
12020 for ac_exec_ext in '' $ac_executable_extensions; do
12021 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12022 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12033 if test -n "$CC"; then
12034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12035 $as_echo "$CC" >&6; }
12037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12038 $as_echo "no" >&6; }
12043 if test -z "$ac_cv_prog_CC"; then
12045 # Extract the first word of "gcc", so it can be a program name with args.
12046 set dummy gcc; ac_word=$2
12047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12048 $as_echo_n "checking for $ac_word... " >&6; }
12049 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12050 $as_echo_n "(cached) " >&6
12052 if test -n "$ac_ct_CC"; then
12053 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12056 for as_dir in $PATH
12059 test -z "$as_dir" && as_dir=.
12060 for ac_exec_ext in '' $ac_executable_extensions; do
12061 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12062 ac_cv_prog_ac_ct_CC="gcc"
12063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12072 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12073 if test -n "$ac_ct_CC"; then
12074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12075 $as_echo "$ac_ct_CC" >&6; }
12077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12078 $as_echo "no" >&6; }
12081 if test "x$ac_ct_CC" = x; then
12084 case $cross_compiling:$ac_tool_warned in
12086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12087 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12088 ac_tool_warned=yes ;;
12093 CC="$ac_cv_prog_CC"
12096 if test -z "$CC"; then
12097 if test -n "$ac_tool_prefix"; then
12098 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12099 set dummy ${ac_tool_prefix}cc; ac_word=$2
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12101 $as_echo_n "checking for $ac_word... " >&6; }
12102 if ${ac_cv_prog_CC+:} false; then :
12103 $as_echo_n "(cached) " >&6
12105 if test -n "$CC"; then
12106 ac_cv_prog_CC="$CC" # Let the user override the test.
12108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12109 for as_dir in $PATH
12112 test -z "$as_dir" && as_dir=.
12113 for ac_exec_ext in '' $ac_executable_extensions; do
12114 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12115 ac_cv_prog_CC="${ac_tool_prefix}cc"
12116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12126 if test -n "$CC"; then
12127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12128 $as_echo "$CC" >&6; }
12130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12131 $as_echo "no" >&6; }
12137 if test -z "$CC"; then
12138 # Extract the first word of "cc", so it can be a program name with args.
12139 set dummy cc; ac_word=$2
12140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12141 $as_echo_n "checking for $ac_word... " >&6; }
12142 if ${ac_cv_prog_CC+:} false; then :
12143 $as_echo_n "(cached) " >&6
12145 if test -n "$CC"; then
12146 ac_cv_prog_CC="$CC" # Let the user override the test.
12148 ac_prog_rejected=no
12149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12150 for as_dir in $PATH
12153 test -z "$as_dir" && as_dir=.
12154 for ac_exec_ext in '' $ac_executable_extensions; do
12155 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12156 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12157 ac_prog_rejected=yes
12161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12168 if test $ac_prog_rejected = yes; then
12169 # We found a bogon in the path, so make sure we never use it.
12170 set dummy $ac_cv_prog_CC
12172 if test $# != 0; then
12173 # We chose a different compiler from the bogus one.
12174 # However, it has the same basename, so the bogon will be chosen
12175 # first if we set CC to just the basename; use the full file name.
12177 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12183 if test -n "$CC"; then
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12185 $as_echo "$CC" >&6; }
12187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12188 $as_echo "no" >&6; }
12193 if test -z "$CC"; then
12194 if test -n "$ac_tool_prefix"; then
12195 for ac_prog in cl.exe
12197 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12198 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12200 $as_echo_n "checking for $ac_word... " >&6; }
12201 if ${ac_cv_prog_CC+:} false; then :
12202 $as_echo_n "(cached) " >&6
12204 if test -n "$CC"; then
12205 ac_cv_prog_CC="$CC" # Let the user override the test.
12207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12208 for as_dir in $PATH
12211 test -z "$as_dir" && as_dir=.
12212 for ac_exec_ext in '' $ac_executable_extensions; do
12213 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12214 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12225 if test -n "$CC"; then
12226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12227 $as_echo "$CC" >&6; }
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12230 $as_echo "no" >&6; }
12234 test -n "$CC" && break
12237 if test -z "$CC"; then
12239 for ac_prog in cl.exe
12241 # Extract the first word of "$ac_prog", so it can be a program name with args.
12242 set dummy $ac_prog; ac_word=$2
12243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12244 $as_echo_n "checking for $ac_word... " >&6; }
12245 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12246 $as_echo_n "(cached) " >&6
12248 if test -n "$ac_ct_CC"; then
12249 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12252 for as_dir in $PATH
12255 test -z "$as_dir" && as_dir=.
12256 for ac_exec_ext in '' $ac_executable_extensions; do
12257 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12258 ac_cv_prog_ac_ct_CC="$ac_prog"
12259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12268 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12269 if test -n "$ac_ct_CC"; then
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12271 $as_echo "$ac_ct_CC" >&6; }
12273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12274 $as_echo "no" >&6; }
12278 test -n "$ac_ct_CC" && break
12281 if test "x$ac_ct_CC" = x; then
12284 case $cross_compiling:$ac_tool_warned in
12286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12287 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12288 ac_tool_warned=yes ;;
12297 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12298 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12299 as_fn_error $? "no acceptable C compiler found in \$PATH
12300 See \`config.log' for more details" "$LINENO" 5; }
12302 # Provide some information about the compiler.
12303 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12306 for ac_option in --version -v -V -qversion; do
12307 { { ac_try="$ac_compiler $ac_option >&5"
12308 case "(($ac_try" in
12309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12310 *) ac_try_echo=$ac_try;;
12312 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12313 $as_echo "$ac_try_echo"; } >&5
12314 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12316 if test -s conftest.err; then
12318 ... rest of stderr output deleted ...
12319 10q' conftest.err >conftest.er1
12320 cat conftest.er1 >&5
12322 rm -f conftest.er1 conftest.err
12323 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12324 test $ac_status = 0; }
12327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12328 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12329 if ${ac_cv_c_compiler_gnu+:} false; then :
12330 $as_echo_n "(cached) " >&6
12332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12333 /* end confdefs.h. */
12346 if ac_fn_c_try_compile "$LINENO"; then :
12347 ac_compiler_gnu=yes
12351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12352 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12356 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12357 if test $ac_compiler_gnu = yes; then
12362 ac_test_CFLAGS=${CFLAGS+set}
12363 ac_save_CFLAGS=$CFLAGS
12364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12365 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12366 if ${ac_cv_prog_cc_g+:} false; then :
12367 $as_echo_n "(cached) " >&6
12369 ac_save_c_werror_flag=$ac_c_werror_flag
12370 ac_c_werror_flag=yes
12373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12374 /* end confdefs.h. */
12384 if ac_fn_c_try_compile "$LINENO"; then :
12385 ac_cv_prog_cc_g=yes
12388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12389 /* end confdefs.h. */
12399 if ac_fn_c_try_compile "$LINENO"; then :
12402 ac_c_werror_flag=$ac_save_c_werror_flag
12404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12405 /* end confdefs.h. */
12415 if ac_fn_c_try_compile "$LINENO"; then :
12416 ac_cv_prog_cc_g=yes
12418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12423 ac_c_werror_flag=$ac_save_c_werror_flag
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12426 $as_echo "$ac_cv_prog_cc_g" >&6; }
12427 if test "$ac_test_CFLAGS" = set; then
12428 CFLAGS=$ac_save_CFLAGS
12429 elif test $ac_cv_prog_cc_g = yes; then
12430 if test "$GCC" = yes; then
12436 if test "$GCC" = yes; then
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12443 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12444 if ${ac_cv_prog_cc_c89+:} false; then :
12445 $as_echo_n "(cached) " >&6
12447 ac_cv_prog_cc_c89=no
12449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12450 /* end confdefs.h. */
12451 #include <stdarg.h>
12454 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12455 struct buf { int x; };
12456 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12457 static char *e (p, i)
12463 static char *f (char * (*g) (char **, int), char **p, ...)
12468 s = g (p, va_arg (v,int));
12473 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12474 function prototypes and stuff, but not '\xHH' hex character constants.
12475 These don't provoke an error unfortunately, instead are silently treated
12476 as 'x'. The following induces an error, until -std is added to get
12477 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12478 array size at least. It's necessary to write '\x00'==0 to get something
12479 that's true only with -std. */
12480 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12482 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12483 inside strings and character constants. */
12485 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12487 int test (int i, double x);
12488 struct s1 {int (*f) (int a);};
12489 struct s2 {int (*f) (double a);};
12490 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12496 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12501 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12502 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12504 CC="$ac_save_CC $ac_arg"
12505 if ac_fn_c_try_compile "$LINENO"; then :
12506 ac_cv_prog_cc_c89=$ac_arg
12508 rm -f core conftest.err conftest.$ac_objext
12509 test "x$ac_cv_prog_cc_c89" != "xno" && break
12511 rm -f conftest.$ac_ext
12516 case "x$ac_cv_prog_cc_c89" in
12518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12519 $as_echo "none needed" >&6; } ;;
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12522 $as_echo "unsupported" >&6; } ;;
12524 CC="$CC $ac_cv_prog_cc_c89"
12525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12526 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12528 if test "x$ac_cv_prog_cc_c89" != xno; then :
12533 ac_cpp='$CPP $CPPFLAGS'
12534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12538 depcc="$CC" am_compiler_list=
12540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12541 $as_echo_n "checking dependency style of $depcc... " >&6; }
12542 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12543 $as_echo_n "(cached) " >&6
12545 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12546 # We make a subdir and do the tests there. Otherwise we can end up
12547 # making bogus files that we don't know about and never remove. For
12548 # instance it was reported that on HP-UX the gcc test will end up
12549 # making a dummy file named 'D' -- because '-MD' means "put the output
12551 rm -rf conftest.dir
12553 # Copy depcomp to subdir because otherwise we won't find it if we're
12554 # using a relative directory.
12555 cp "$am_depcomp" conftest.dir
12557 # We will build objects and dependencies in a subdirectory because
12558 # it helps to detect inapplicable dependency modes. For instance
12559 # both Tru64's cc and ICC support -MD to output dependencies as a
12560 # side effect of compilation, but ICC will put the dependencies in
12561 # the current directory while Tru64 will put them in the object
12565 am_cv_CC_dependencies_compiler_type=none
12566 if test "$am_compiler_list" = ""; then
12567 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12569 am__universal=false
12570 case " $depcc " in #(
12571 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12574 for depmode in $am_compiler_list; do
12575 # Setup a source with many dependencies, because some compilers
12576 # like to wrap large dependency lists on column 80 (with \), and
12577 # we should not choose a depcomp mode which is confused by this.
12579 # We need to recreate these files for each test, as the compiler may
12580 # overwrite some of them when testing with obscure command lines.
12581 # This happens at least with the AIX C compiler.
12583 for i in 1 2 3 4 5 6; do
12584 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12585 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
12586 # Solaris 10 /bin/sh.
12587 echo '/* dummy */' > sub/conftst$i.h
12589 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12591 # We check with '-c' and '-o' for the sake of the "dashmstdout"
12592 # mode. It turns out that the SunPro C++ compiler does not properly
12593 # handle '-M -o', and we need to detect this. Also, some Intel
12594 # versions had trouble with output in subdirs.
12595 am__obj=sub/conftest.${OBJEXT-o}
12596 am__minus_obj="-o $am__obj"
12599 # This depmode causes a compiler race in universal mode.
12600 test "$am__universal" = false || continue
12603 # After this tag, mechanisms are not by side-effect, so they'll
12604 # only be used when explicitly requested.
12605 if test "x$enable_dependency_tracking" = xyes; then
12611 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12612 # This compiler won't grok '-c -o', but also, the minuso test has
12613 # not run yet. These depmodes are late enough in the game, and
12614 # so weak that their functioning should not be impacted.
12615 am__obj=conftest.${OBJEXT-o}
12620 if depmode=$depmode \
12621 source=sub/conftest.c object=$am__obj \
12622 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12623 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12624 >/dev/null 2>conftest.err &&
12625 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12626 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12627 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12628 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12629 # icc doesn't choke on unknown options, it will just issue warnings
12630 # or remarks (even with -Werror). So we grep stderr for any message
12631 # that says an option was ignored or not supported.
12632 # When given -MP, icc 7.0 and 7.1 complain thusly:
12633 # icc: Command line warning: ignoring option '-M'; no argument required
12634 # The diagnosis changed in icc 8.0:
12635 # icc: Command line remark: option '-MP' not supported
12636 if (grep 'ignoring option' conftest.err ||
12637 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12638 am_cv_CC_dependencies_compiler_type=$depmode
12645 rm -rf conftest.dir
12647 am_cv_CC_dependencies_compiler_type=none
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12652 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12653 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12656 test "x$enable_dependency_tracking" != xno \
12657 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12658 am__fastdepCC_TRUE=
12659 am__fastdepCC_FALSE='#'
12661 am__fastdepCC_TRUE='#'
12662 am__fastdepCC_FALSE=
12666 if test "x$CC" != xcc; then
12667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
12668 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
12670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
12671 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
12673 set dummy $CC; ac_cc=`$as_echo "$2" |
12674 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12675 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
12676 $as_echo_n "(cached) " >&6
12678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12679 /* end confdefs.h. */
12689 # Make sure it works both with $CC and with simple cc.
12690 # We do the test twice because some compilers refuse to overwrite an
12691 # existing .o file with -o, though they will create one.
12692 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12694 if { { case "(($ac_try" in
12695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12696 *) ac_try_echo=$ac_try;;
12698 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12699 $as_echo "$ac_try_echo"; } >&5
12700 (eval "$ac_try") 2>&5
12702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12703 test $ac_status = 0; } &&
12704 test -f conftest2.$ac_objext && { { case "(($ac_try" in
12705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12706 *) ac_try_echo=$ac_try;;
12708 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12709 $as_echo "$ac_try_echo"; } >&5
12710 (eval "$ac_try") 2>&5
12712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12713 test $ac_status = 0; };
12715 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
12716 if test "x$CC" != xcc; then
12717 # Test first that cc exists at all.
12718 if { ac_try='cc -c conftest.$ac_ext >&5'
12719 { { case "(($ac_try" in
12720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12721 *) ac_try_echo=$ac_try;;
12723 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12724 $as_echo "$ac_try_echo"; } >&5
12725 (eval "$ac_try") 2>&5
12727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12728 test $ac_status = 0; }; }; then
12729 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12731 if { { case "(($ac_try" in
12732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12733 *) ac_try_echo=$ac_try;;
12735 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12736 $as_echo "$ac_try_echo"; } >&5
12737 (eval "$ac_try") 2>&5
12739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12740 test $ac_status = 0; } &&
12741 test -f conftest2.$ac_objext && { { case "(($ac_try" in
12742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12743 *) ac_try_echo=$ac_try;;
12745 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12746 $as_echo "$ac_try_echo"; } >&5
12747 (eval "$ac_try") 2>&5
12749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12750 test $ac_status = 0; };
12755 # cc exists but doesn't like -o.
12756 eval ac_cv_prog_cc_${ac_cc}_c_o=no
12761 eval ac_cv_prog_cc_${ac_cc}_c_o=no
12763 rm -f core conftest*
12766 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
12767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12768 $as_echo "yes" >&6; }
12770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12771 $as_echo "no" >&6; }
12773 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
12777 # FIXME: we rely on the cache variable name because
12778 # there is no other way.
12780 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12781 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
12782 if test "$am_t" != yes; then
12783 # Losing compiler, so override with the script.
12784 # FIXME: It is wrong to rewrite CC.
12785 # But if we don't then we get into trouble of one sort or another.
12786 # A longer-term fix would be to have automake use am__CC in this case,
12787 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12788 CC="$am_aux_dir/compile $CC"
12801 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12802 if test -n "$ac_tool_prefix"; then
12803 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12804 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12806 $as_echo_n "checking for $ac_word... " >&6; }
12807 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12808 $as_echo_n "(cached) " >&6
12810 case $PKG_CONFIG in
12812 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12816 for as_dir in $PATH
12819 test -z "$as_dir" && as_dir=.
12820 for ac_exec_ext in '' $ac_executable_extensions; do
12821 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12822 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12833 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12834 if test -n "$PKG_CONFIG"; then
12835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12836 $as_echo "$PKG_CONFIG" >&6; }
12838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12839 $as_echo "no" >&6; }
12844 if test -z "$ac_cv_path_PKG_CONFIG"; then
12845 ac_pt_PKG_CONFIG=$PKG_CONFIG
12846 # Extract the first word of "pkg-config", so it can be a program name with args.
12847 set dummy pkg-config; ac_word=$2
12848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12849 $as_echo_n "checking for $ac_word... " >&6; }
12850 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12851 $as_echo_n "(cached) " >&6
12853 case $ac_pt_PKG_CONFIG in
12855 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12859 for as_dir in $PATH
12862 test -z "$as_dir" && as_dir=.
12863 for ac_exec_ext in '' $ac_executable_extensions; do
12864 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12865 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12876 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12877 if test -n "$ac_pt_PKG_CONFIG"; then
12878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12879 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12882 $as_echo "no" >&6; }
12885 if test "x$ac_pt_PKG_CONFIG" = x; then
12888 case $cross_compiling:$ac_tool_warned in
12890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12891 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12892 ac_tool_warned=yes ;;
12894 PKG_CONFIG=$ac_pt_PKG_CONFIG
12897 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12901 if test -n "$PKG_CONFIG"; then
12902 _pkg_min_version=0.9.0
12903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12904 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12905 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12907 $as_echo "yes" >&6; }
12909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12910 $as_echo "no" >&6; }
12915 # Check whether pkg-config supports Requires.private
12916 if $PKG_CONFIG --atleast-pkgconfig-version 0.22 ; then
12917 pkgconfig_requires_private="Requires.private"
12919 pkgconfig_requires_private="Requires"
12923 # doxygen program for documentation building
12926 # Check whether --enable-doc was given.
12927 if test "${enable_doc+set}" = set; then :
12928 enableval=$enable_doc;
12929 if test "x${enableval}" = "xyes" ; then
12930 efl_enable_doc="yes"
12932 efl_enable_doc="no"
12936 efl_enable_doc="yes"
12940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
12941 $as_echo_n "checking whether to build documentation... " >&6; }
12942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
12943 $as_echo "${efl_enable_doc}" >&6; }
12945 if test "x${efl_enable_doc}" = "xyes" ; then
12948 efl_doxygen="doxygen"
12951 # Check whether --with-doxygen was given.
12952 if test "${with_doxygen+set}" = set; then :
12953 withval=$with_doxygen;
12954 efl_doxygen=${withval}
12955 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
12956 set dummy ${efl_doxygen}; ac_word=$2
12957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12958 $as_echo_n "checking for $ac_word... " >&6; }
12959 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
12960 $as_echo_n "(cached) " >&6
12962 if test -n "$efl_have_doxygen"; then
12963 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
12965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12966 for as_dir in $PATH
12969 test -z "$as_dir" && as_dir=.
12970 for ac_exec_ext in '' $ac_executable_extensions; do
12971 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12972 ac_cv_prog_efl_have_doxygen="yes"
12973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12980 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
12983 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
12984 if test -n "$efl_have_doxygen"; then
12985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
12986 $as_echo "$efl_have_doxygen" >&6; }
12988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12989 $as_echo "no" >&6; }
12993 if test "x${efl_have_doxygen}" = "xno" ; then
12995 echo "The doxygen program you specified:"
12996 echo "${efl_doxygen}"
12997 echo "was not found. Please check the path and make sure "
12998 echo "the program exists and is executable."
12999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
13000 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
13004 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
13005 set dummy ${efl_doxygen}; ac_word=$2
13006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13007 $as_echo_n "checking for $ac_word... " >&6; }
13008 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
13009 $as_echo_n "(cached) " >&6
13011 if test -n "$efl_have_doxygen"; then
13012 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
13014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13015 for as_dir in $PATH
13018 test -z "$as_dir" && as_dir=.
13019 for ac_exec_ext in '' $ac_executable_extensions; do
13020 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13021 ac_cv_prog_efl_have_doxygen="yes"
13022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13029 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
13032 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
13033 if test -n "$efl_have_doxygen"; then
13034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
13035 $as_echo "$efl_have_doxygen" >&6; }
13037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13038 $as_echo "no" >&6; }
13042 if test "x${efl_have_doxygen}" = "xno" ; then
13044 echo "The doxygen program was not found in your execute path."
13045 echo "You may have doxygen installed somewhere not covered by your path."
13047 echo "If this is the case make sure you have the packages installed, AND"
13048 echo "that the doxygen program is in your execute path (see your"
13049 echo "shell manual page on setting the \$PATH environment variable), OR"
13050 echo "alternatively, specify the program to use with --with-doxygen."
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
13052 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
13058 efl_have_doxygen="no"
13063 if ! test "x${efl_have_doxygen}" = "xyes" ; then
13064 efl_enable_doc="no"
13067 if test "x${efl_have_doxygen}" = "xyes"; then
13068 EFL_BUILD_DOC_TRUE=
13069 EFL_BUILD_DOC_FALSE='#'
13071 EFL_BUILD_DOC_TRUE='#'
13072 EFL_BUILD_DOC_FALSE=
13076 if test "x$efl_have_doxygen" = "xyes"; then :
13084 ### Checks for libraries
13086 # Evil library for compilation on Windows
13090 if test -n "$PKG_CONFIG" && \
13091 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.7.9\""; } >&5
13092 ($PKG_CONFIG --exists --print-errors "evil >= 1.7.9") 2>&5
13094 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13095 test $ac_status = 0; }; then
13099 $as_echo "#define HAVE_EVIL 1" >>confdefs.h
13101 requirement_edbus="${requirement_edbus} evil >= 1.7.9"
13107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
13108 $as_echo_n "checking for DBUS... " >&6; }
13110 if test -n "$DBUS_CFLAGS"; then
13111 pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
13112 elif test -n "$PKG_CONFIG"; then
13113 if test -n "$PKG_CONFIG" && \
13114 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 0.62\""; } >&5
13115 ($PKG_CONFIG --exists --print-errors "dbus-1 >= 0.62") 2>&5
13117 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13118 test $ac_status = 0; }; then
13119 pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 0.62" 2>/dev/null`
13120 test "x$?" != "x0" && pkg_failed=yes
13127 if test -n "$DBUS_LIBS"; then
13128 pkg_cv_DBUS_LIBS="$DBUS_LIBS"
13129 elif test -n "$PKG_CONFIG"; then
13130 if test -n "$PKG_CONFIG" && \
13131 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 0.62\""; } >&5
13132 ($PKG_CONFIG --exists --print-errors "dbus-1 >= 0.62") 2>&5
13134 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13135 test $ac_status = 0; }; then
13136 pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 0.62" 2>/dev/null`
13137 test "x$?" != "x0" && pkg_failed=yes
13147 if test $pkg_failed = yes; then
13148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13149 $as_echo "no" >&6; }
13151 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13152 _pkg_short_errors_supported=yes
13154 _pkg_short_errors_supported=no
13156 if test $_pkg_short_errors_supported = yes; then
13157 DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-1 >= 0.62" 2>&1`
13159 DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-1 >= 0.62" 2>&1`
13161 # Put the nasty error message in config.log where it belongs
13162 echo "$DBUS_PKG_ERRORS" >&5
13164 as_fn_error $? "Package requirements (dbus-1 >= 0.62) were not met:
13168 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13169 installed software in a non-standard prefix.
13171 Alternatively, you may set the environment variables DBUS_CFLAGS
13172 and DBUS_LIBS to avoid the need to call pkg-config.
13173 See the pkg-config man page for more details." "$LINENO" 5
13174 elif test $pkg_failed = untried; then
13175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13176 $as_echo "no" >&6; }
13177 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13178 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13179 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13180 is in your PATH or set the PKG_CONFIG environment variable to the full
13181 path to pkg-config.
13183 Alternatively, you may set the environment variables DBUS_CFLAGS
13184 and DBUS_LIBS to avoid the need to call pkg-config.
13185 See the pkg-config man page for more details.
13187 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13188 See \`config.log' for more details" "$LINENO" 5; }
13190 DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
13191 DBUS_LIBS=$pkg_cv_DBUS_LIBS
13192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13193 $as_echo "yes" >&6; }
13199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS" >&5
13200 $as_echo_n "checking for EDBUS... " >&6; }
13202 if test -n "$EDBUS_CFLAGS"; then
13203 pkg_cv_EDBUS_CFLAGS="$EDBUS_CFLAGS"
13204 elif test -n "$PKG_CONFIG"; then
13205 if test -n "$PKG_CONFIG" && \
13206 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${requirement_edbus}\""; } >&5
13207 ($PKG_CONFIG --exists --print-errors "${requirement_edbus}") 2>&5
13209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13210 test $ac_status = 0; }; then
13211 pkg_cv_EDBUS_CFLAGS=`$PKG_CONFIG --cflags "${requirement_edbus}" 2>/dev/null`
13212 test "x$?" != "x0" && pkg_failed=yes
13219 if test -n "$EDBUS_LIBS"; then
13220 pkg_cv_EDBUS_LIBS="$EDBUS_LIBS"
13221 elif test -n "$PKG_CONFIG"; then
13222 if test -n "$PKG_CONFIG" && \
13223 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${requirement_edbus}\""; } >&5
13224 ($PKG_CONFIG --exists --print-errors "${requirement_edbus}") 2>&5
13226 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13227 test $ac_status = 0; }; then
13228 pkg_cv_EDBUS_LIBS=`$PKG_CONFIG --libs "${requirement_edbus}" 2>/dev/null`
13229 test "x$?" != "x0" && pkg_failed=yes
13239 if test $pkg_failed = yes; then
13240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13241 $as_echo "no" >&6; }
13243 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13244 _pkg_short_errors_supported=yes
13246 _pkg_short_errors_supported=no
13248 if test $_pkg_short_errors_supported = yes; then
13249 EDBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "${requirement_edbus}" 2>&1`
13251 EDBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "${requirement_edbus}" 2>&1`
13253 # Put the nasty error message in config.log where it belongs
13254 echo "$EDBUS_PKG_ERRORS" >&5
13256 as_fn_error $? "Package requirements (${requirement_edbus}) were not met:
13260 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13261 installed software in a non-standard prefix.
13263 Alternatively, you may set the environment variables EDBUS_CFLAGS
13264 and EDBUS_LIBS to avoid the need to call pkg-config.
13265 See the pkg-config man page for more details." "$LINENO" 5
13266 elif test $pkg_failed = untried; then
13267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13268 $as_echo "no" >&6; }
13269 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13270 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13271 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13272 is in your PATH or set the PKG_CONFIG environment variable to the full
13273 path to pkg-config.
13275 Alternatively, you may set the environment variables EDBUS_CFLAGS
13276 and EDBUS_LIBS to avoid the need to call pkg-config.
13277 See the pkg-config man page for more details.
13279 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13280 See \`config.log' for more details" "$LINENO" 5; }
13282 EDBUS_CFLAGS=$pkg_cv_EDBUS_CFLAGS
13283 EDBUS_LIBS=$pkg_cv_EDBUS_LIBS
13284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13285 $as_echo "yes" >&6; }
13289 # Find out the version of DBUS we're using
13290 dbus_version=`pkg-config --modversion dbus-1`
13291 DBUS_VERSION_MAJOR=`echo $dbus_version | awk -F. '{print $1}'`
13292 DBUS_VERSION_MINOR=`echo $dbus_version | awk -F. '{print $2}'`
13293 DBUS_VERSION_MICRO=`echo $dbus_version | awk -F. '{print $3}'`
13295 if test "z$DBUS_VERSION_MAJOR" = "z" ; then
13296 DBUS_VERSION_MAJOR="0"
13299 if test "z$DBUS_VERSION_MINOR" = "z" ; then
13300 DBUS_VERSION_MINOR="0"
13303 if test "z$DBUS_VERSION_MICRO" = "z" ; then
13304 DBUS_VERSION_MICRO="0"
13307 DBUS_VERSION_CFLAGS="$DBUS_VERSION_CFLAGS -DDBUS_VERSION_MAJOR=$DBUS_VERSION_MAJOR"
13308 DBUS_VERSION_CFLAGS="$DBUS_VERSION_CFLAGS -DDBUS_VERSION_MINOR=$DBUS_VERSION_MINOR"
13309 DBUS_VERSION_CFLAGS="$DBUS_VERSION_CFLAGS -DDBUS_VERSION_MICRO=$DBUS_VERSION_MICRO"
13312 # Dependencies for the libraries
13313 if test "x${enable_enotify}" = "xyes" ; then
13316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVAS" >&5
13317 $as_echo_n "checking for EVAS... " >&6; }
13319 if test -n "$EVAS_CFLAGS"; then
13320 pkg_cv_EVAS_CFLAGS="$EVAS_CFLAGS"
13321 elif test -n "$PKG_CONFIG"; then
13322 if test -n "$PKG_CONFIG" && \
13323 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas >= 1.7.9\""; } >&5
13324 ($PKG_CONFIG --exists --print-errors "evas >= 1.7.9") 2>&5
13326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13327 test $ac_status = 0; }; then
13328 pkg_cv_EVAS_CFLAGS=`$PKG_CONFIG --cflags "evas >= 1.7.9" 2>/dev/null`
13329 test "x$?" != "x0" && pkg_failed=yes
13336 if test -n "$EVAS_LIBS"; then
13337 pkg_cv_EVAS_LIBS="$EVAS_LIBS"
13338 elif test -n "$PKG_CONFIG"; then
13339 if test -n "$PKG_CONFIG" && \
13340 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas >= 1.7.9\""; } >&5
13341 ($PKG_CONFIG --exists --print-errors "evas >= 1.7.9") 2>&5
13343 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13344 test $ac_status = 0; }; then
13345 pkg_cv_EVAS_LIBS=`$PKG_CONFIG --libs "evas >= 1.7.9" 2>/dev/null`
13346 test "x$?" != "x0" && pkg_failed=yes
13356 if test $pkg_failed = yes; then
13357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13358 $as_echo "no" >&6; }
13360 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13361 _pkg_short_errors_supported=yes
13363 _pkg_short_errors_supported=no
13365 if test $_pkg_short_errors_supported = yes; then
13366 EVAS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "evas >= 1.7.9" 2>&1`
13368 EVAS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "evas >= 1.7.9" 2>&1`
13370 # Put the nasty error message in config.log where it belongs
13371 echo "$EVAS_PKG_ERRORS" >&5
13373 enable_enotify="no"
13374 elif test $pkg_failed = untried; then
13375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13376 $as_echo "no" >&6; }
13377 enable_enotify="no"
13379 EVAS_CFLAGS=$pkg_cv_EVAS_CFLAGS
13380 EVAS_LIBS=$pkg_cv_EVAS_LIBS
13381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13382 $as_echo "yes" >&6; }
13383 requirement_enotify="evas >= 1.7.9 ${requirement_enotify}"
13387 if test "x${enable_ebluez}" = "xyes"; then
13389 BUILD_EBLUEZ_FALSE='#'
13391 BUILD_EBLUEZ_TRUE='#'
13392 BUILD_EBLUEZ_FALSE=
13395 if test "x${enable_econnman0_7x}" = "xyes"; then
13396 BUILD_ECONNMAN0_7X_TRUE=
13397 BUILD_ECONNMAN0_7X_FALSE='#'
13399 BUILD_ECONNMAN0_7X_TRUE='#'
13400 BUILD_ECONNMAN0_7X_FALSE=
13403 if test "x${enable_ehal}" = "xyes"; then
13405 BUILD_EHAL_FALSE='#'
13407 BUILD_EHAL_TRUE='#'
13411 if test "x${enable_enotify}" = "xyes"; then
13412 BUILD_ENOTIFY_TRUE=
13413 BUILD_ENOTIFY_FALSE='#'
13415 BUILD_ENOTIFY_TRUE='#'
13416 BUILD_ENOTIFY_FALSE=
13419 if test "x${enable_eofono}" = "xyes"; then
13421 BUILD_EOFONO_FALSE='#'
13423 BUILD_EOFONO_TRUE='#'
13424 BUILD_EOFONO_FALSE=
13427 if test "x${enable_eukit}" = "xyes"; then
13429 BUILD_EUKIT_FALSE='#'
13431 BUILD_EUKIT_TRUE='#'
13436 # Dependencies for the binaries
13442 # Check whether --enable-edbus-test was given.
13443 if test "${enable_edbus_test+set}" = set; then :
13444 enableval=$enable_edbus_test;
13445 if test "x${enableval}" = "xyes" ; then
13446 have_edbus_test="yes"
13448 have_edbus_test="no"
13452 have_edbus_test="yes"
13456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_test binary" >&5
13457 $as_echo_n "checking whether to build edbus_test binary... " >&6; }
13458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_test" >&5
13459 $as_echo "$have_edbus_test" >&6; }
13461 if test "x$have_edbus_test" = "xyes"; then
13462 EDBUS_TEST_PRG=edbus_test${EXEEXT}
13467 if test "x$have_edbus_test" = "xyes"; then
13468 BUILD_EDBUS_TEST_TRUE=
13469 BUILD_EDBUS_TEST_FALSE='#'
13471 BUILD_EDBUS_TEST_TRUE='#'
13472 BUILD_EDBUS_TEST_FALSE=
13476 if test "x$have_edbus_test" = "xyes"; then :
13485 # Check whether --enable-edbus-test-client was given.
13486 if test "${enable_edbus_test_client+set}" = set; then :
13487 enableval=$enable_edbus_test_client;
13488 if test "x${enableval}" = "xyes" ; then
13489 have_edbus_test_client="yes"
13491 have_edbus_test_client="no"
13495 have_edbus_test_client="yes"
13499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_test_client binary" >&5
13500 $as_echo_n "checking whether to build edbus_test_client binary... " >&6; }
13501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_test_client" >&5
13502 $as_echo "$have_edbus_test_client" >&6; }
13504 if test "x$have_edbus_test_client" = "xyes"; then
13505 EDBUS_TEST_CLIENT_PRG=edbus_test_client${EXEEXT}
13510 if test "x$have_edbus_test_client" = "xyes"; then
13511 BUILD_EDBUS_TEST_CLIENT_TRUE=
13512 BUILD_EDBUS_TEST_CLIENT_FALSE='#'
13514 BUILD_EDBUS_TEST_CLIENT_TRUE='#'
13515 BUILD_EDBUS_TEST_CLIENT_FALSE=
13519 if test "x$have_edbus_test_client" = "xyes"; then :
13528 # Check whether --enable-edbus-bluez-test was given.
13529 if test "${enable_edbus_bluez_test+set}" = set; then :
13530 enableval=$enable_edbus_bluez_test;
13531 if test "x${enableval}" = "xyes" ; then
13532 have_edbus_bluez_test="yes"
13534 have_edbus_bluez_test="no"
13538 have_edbus_bluez_test=${enable_ebluez}
13542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_bluez_test binary" >&5
13543 $as_echo_n "checking whether to build edbus_bluez_test binary... " >&6; }
13544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_bluez_test" >&5
13545 $as_echo "$have_edbus_bluez_test" >&6; }
13547 if test "x$have_edbus_bluez_test" = "xyes"; then
13548 EDBUS_BLUEZ_TEST_PRG=edbus_bluez_test${EXEEXT}
13553 if test "x$have_edbus_bluez_test" = "xyes"; then
13554 BUILD_EDBUS_BLUEZ_TEST_TRUE=
13555 BUILD_EDBUS_BLUEZ_TEST_FALSE='#'
13557 BUILD_EDBUS_BLUEZ_TEST_TRUE='#'
13558 BUILD_EDBUS_BLUEZ_TEST_FALSE=
13562 if test "x$have_edbus_bluez_test" = "xyes"; then :
13571 # Check whether --enable-edbus-connman0_7x-test was given.
13572 if test "${enable_edbus_connman0_7x_test+set}" = set; then :
13573 enableval=$enable_edbus_connman0_7x_test;
13574 if test "x${enableval}" = "xyes" ; then
13575 have_edbus_connman0_7x_test="yes"
13577 have_edbus_connman0_7x_test="no"
13581 have_edbus_connman0_7x_test=${enable_econnman0_7x}
13585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_connman0_7x_test binary" >&5
13586 $as_echo_n "checking whether to build edbus_connman0_7x_test binary... " >&6; }
13587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_connman0_7x_test" >&5
13588 $as_echo "$have_edbus_connman0_7x_test" >&6; }
13590 if test "x$have_edbus_connman0_7x_test" = "xyes"; then
13591 EDBUS_CONNMAN0_7X_TEST_PRG=edbus_connman0_7x_test${EXEEXT}
13596 if test "x$have_edbus_connman0_7x_test" = "xyes"; then
13597 BUILD_EDBUS_CONNMAN0_7X_TEST_TRUE=
13598 BUILD_EDBUS_CONNMAN0_7X_TEST_FALSE='#'
13600 BUILD_EDBUS_CONNMAN0_7X_TEST_TRUE='#'
13601 BUILD_EDBUS_CONNMAN0_7X_TEST_FALSE=
13605 if test "x$have_edbus_connman0_7x_test" = "xyes"; then :
13614 # Check whether --enable-edbus-notification-daemon-test was given.
13615 if test "${enable_edbus_notification_daemon_test+set}" = set; then :
13616 enableval=$enable_edbus_notification_daemon_test;
13617 if test "x${enableval}" = "xyes" ; then
13618 have_edbus_notification_daemon_test="yes"
13620 have_edbus_notification_daemon_test="no"
13624 have_edbus_notification_daemon_test=${enable_enotify}
13628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_notification_daemon_test binary" >&5
13629 $as_echo_n "checking whether to build edbus_notification_daemon_test binary... " >&6; }
13630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_notification_daemon_test" >&5
13631 $as_echo "$have_edbus_notification_daemon_test" >&6; }
13633 if test "x$have_edbus_notification_daemon_test" = "xyes"; then
13634 EDBUS_NOTIFICATION_DAEMON_TEST_PRG=edbus_notification_daemon_test${EXEEXT}
13639 if test "x$have_edbus_notification_daemon_test" = "xyes"; then
13640 BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_TRUE=
13641 BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_FALSE='#'
13643 BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_TRUE='#'
13644 BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_FALSE=
13648 if test "x$have_edbus_notification_daemon_test" = "xyes"; then :
13657 # Check whether --enable-edbus-notify-send was given.
13658 if test "${enable_edbus_notify_send+set}" = set; then :
13659 enableval=$enable_edbus_notify_send;
13660 if test "x${enableval}" = "xyes" ; then
13661 have_edbus_notify_send="yes"
13663 have_edbus_notify_send="no"
13667 have_edbus_notify_send=${enable_enotify}
13671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_notify_send binary" >&5
13672 $as_echo_n "checking whether to build edbus_notify_send binary... " >&6; }
13673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_notify_send" >&5
13674 $as_echo "$have_edbus_notify_send" >&6; }
13676 if test "x$have_edbus_notify_send" = "xyes"; then
13677 EDBUS_NOTIFY_SEND_PRG=edbus_notify_send${EXEEXT}
13682 if test "x$have_edbus_notify_send" = "xyes"; then
13683 BUILD_EDBUS_NOTIFY_SEND_TRUE=
13684 BUILD_EDBUS_NOTIFY_SEND_FALSE='#'
13686 BUILD_EDBUS_NOTIFY_SEND_TRUE='#'
13687 BUILD_EDBUS_NOTIFY_SEND_FALSE=
13691 if test "x$have_edbus_notify_send" = "xyes"; then :
13700 # Check whether --enable-edbus-notify-test was given.
13701 if test "${enable_edbus_notify_test+set}" = set; then :
13702 enableval=$enable_edbus_notify_test;
13703 if test "x${enableval}" = "xyes" ; then
13704 have_edbus_notify_test="yes"
13706 have_edbus_notify_test="no"
13710 have_edbus_notify_test=${enable_enotify}
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_notify_test binary" >&5
13715 $as_echo_n "checking whether to build edbus_notify_test binary... " >&6; }
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_notify_test" >&5
13717 $as_echo "$have_edbus_notify_test" >&6; }
13719 if test "x$have_edbus_notify_test" = "xyes"; then
13720 EDBUS_NOTIFY_TEST_PRG=edbus_notify_test${EXEEXT}
13725 if test "x$have_edbus_notify_test" = "xyes"; then
13726 BUILD_EDBUS_NOTIFY_TEST_TRUE=
13727 BUILD_EDBUS_NOTIFY_TEST_FALSE='#'
13729 BUILD_EDBUS_NOTIFY_TEST_TRUE='#'
13730 BUILD_EDBUS_NOTIFY_TEST_FALSE=
13734 if test "x$have_edbus_notify_test" = "xyes"; then :
13743 # Check whether --enable-edbus-ofono-test was given.
13744 if test "${enable_edbus_ofono_test+set}" = set; then :
13745 enableval=$enable_edbus_ofono_test;
13746 if test "x${enableval}" = "xyes" ; then
13747 have_edbus_ofono_test="yes"
13749 have_edbus_ofono_test="no"
13753 have_edbus_ofono_test=${enable_eofono}
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_ofono_test binary" >&5
13758 $as_echo_n "checking whether to build edbus_ofono_test binary... " >&6; }
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_ofono_test" >&5
13760 $as_echo "$have_edbus_ofono_test" >&6; }
13762 if test "x$have_edbus_ofono_test" = "xyes"; then
13763 EDBUS_OFONO_TEST_PRG=edbus_ofono_test${EXEEXT}
13768 if test "x$have_edbus_ofono_test" = "xyes"; then
13769 BUILD_EDBUS_OFONO_TEST_TRUE=
13770 BUILD_EDBUS_OFONO_TEST_FALSE='#'
13772 BUILD_EDBUS_OFONO_TEST_TRUE='#'
13773 BUILD_EDBUS_OFONO_TEST_FALSE=
13777 if test "x$have_edbus_ofono_test" = "xyes"; then :
13786 # Check whether --enable-edbus-ukit-test was given.
13787 if test "${enable_edbus_ukit_test+set}" = set; then :
13788 enableval=$enable_edbus_ukit_test;
13789 if test "x${enableval}" = "xyes" ; then
13790 have_edbus_ukit_test="yes"
13792 have_edbus_ukit_test="no"
13796 have_edbus_ukit_test=${enable_eukit}
13800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_ukit_test binary" >&5
13801 $as_echo_n "checking whether to build edbus_ukit_test binary... " >&6; }
13802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_ukit_test" >&5
13803 $as_echo "$have_edbus_ukit_test" >&6; }
13805 if test "x$have_edbus_ukit_test" = "xyes"; then
13806 EDBUS_UKIT_TEST_PRG=edbus_ukit_test${EXEEXT}
13811 if test "x$have_edbus_ukit_test" = "xyes"; then
13812 BUILD_EDBUS_UKIT_TEST_TRUE=
13813 BUILD_EDBUS_UKIT_TEST_FALSE='#'
13815 BUILD_EDBUS_UKIT_TEST_TRUE='#'
13816 BUILD_EDBUS_UKIT_TEST_FALSE=
13820 if test "x$have_edbus_ukit_test" = "xyes"; then :
13829 # Check whether --enable-edbus-performance-test was given.
13830 if test "${enable_edbus_performance_test+set}" = set; then :
13831 enableval=$enable_edbus_performance_test;
13832 if test "x${enableval}" = "xyes" ; then
13833 have_edbus_performance_test="yes"
13835 have_edbus_performance_test="no"
13839 have_edbus_performance_test="no"
13843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_performance_test binary" >&5
13844 $as_echo_n "checking whether to build edbus_performance_test binary... " >&6; }
13845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_performance_test" >&5
13846 $as_echo "$have_edbus_performance_test" >&6; }
13848 if test "x$have_edbus_performance_test" = "xyes"; then
13849 EDBUS_PERFORMANCE_TEST_PRG=edbus_performance_test${EXEEXT}
13854 if test "x$have_edbus_performance_test" = "xyes"; then
13855 BUILD_EDBUS_PERFORMANCE_TEST_TRUE=
13856 BUILD_EDBUS_PERFORMANCE_TEST_FALSE='#'
13858 BUILD_EDBUS_PERFORMANCE_TEST_TRUE='#'
13859 BUILD_EDBUS_PERFORMANCE_TEST_FALSE=
13863 if test "x$have_edbus_performance_test" = "xyes"; then :
13872 # Check whether --enable-edbus-async-test was given.
13873 if test "${enable_edbus_async_test+set}" = set; then :
13874 enableval=$enable_edbus_async_test;
13875 if test "x${enableval}" = "xyes" ; then
13876 have_edbus_async_test="yes"
13878 have_edbus_async_test="no"
13882 have_edbus_async_test="yes"
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_async_test binary" >&5
13887 $as_echo_n "checking whether to build edbus_async_test binary... " >&6; }
13888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_async_test" >&5
13889 $as_echo "$have_edbus_async_test" >&6; }
13891 if test "x$have_edbus_async_test" = "xyes"; then
13892 EDBUS_ASYNC_TEST_PRG=edbus_async_test${EXEEXT}
13897 if test "x$have_edbus_async_test" = "xyes"; then
13898 BUILD_EDBUS_ASYNC_TEST_TRUE=
13899 BUILD_EDBUS_ASYNC_TEST_FALSE='#'
13901 BUILD_EDBUS_ASYNC_TEST_TRUE='#'
13902 BUILD_EDBUS_ASYNC_TEST_FALSE=
13906 if test "x$have_edbus_async_test" = "xyes"; then :
13912 if test "x${have_edbus_test}" = "xyes" ; then
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_TEST" >&5
13916 $as_echo_n "checking for EDBUS_TEST... " >&6; }
13918 if test -n "$EDBUS_TEST_CFLAGS"; then
13919 pkg_cv_EDBUS_TEST_CFLAGS="$EDBUS_TEST_CFLAGS"
13920 elif test -n "$PKG_CONFIG"; then
13921 if test -n "$PKG_CONFIG" && \
13922 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.9 dbus-1 >= 0.62\""; } >&5
13923 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.9 dbus-1 >= 0.62") 2>&5
13925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13926 test $ac_status = 0; }; then
13927 pkg_cv_EDBUS_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.9 dbus-1 >= 0.62" 2>/dev/null`
13928 test "x$?" != "x0" && pkg_failed=yes
13935 if test -n "$EDBUS_TEST_LIBS"; then
13936 pkg_cv_EDBUS_TEST_LIBS="$EDBUS_TEST_LIBS"
13937 elif test -n "$PKG_CONFIG"; then
13938 if test -n "$PKG_CONFIG" && \
13939 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.9 dbus-1 >= 0.62\""; } >&5
13940 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.9 dbus-1 >= 0.62") 2>&5
13942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13943 test $ac_status = 0; }; then
13944 pkg_cv_EDBUS_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.9 dbus-1 >= 0.62" 2>/dev/null`
13945 test "x$?" != "x0" && pkg_failed=yes
13955 if test $pkg_failed = yes; then
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13957 $as_echo "no" >&6; }
13959 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13960 _pkg_short_errors_supported=yes
13962 _pkg_short_errors_supported=no
13964 if test $_pkg_short_errors_supported = yes; then
13965 EDBUS_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.9 dbus-1 >= 0.62" 2>&1`
13967 EDBUS_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.9 dbus-1 >= 0.62" 2>&1`
13969 # Put the nasty error message in config.log where it belongs
13970 echo "$EDBUS_TEST_PKG_ERRORS" >&5
13972 have_edbus_test="no"
13973 elif test $pkg_failed = untried; then
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13975 $as_echo "no" >&6; }
13976 have_edbus_test="no"
13978 EDBUS_TEST_CFLAGS=$pkg_cv_EDBUS_TEST_CFLAGS
13979 EDBUS_TEST_LIBS=$pkg_cv_EDBUS_TEST_LIBS
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13981 $as_echo "yes" >&6; }
13982 have_edbus_test="yes"
13986 if test "x${have_edbus_test_client}" = "xyes" ; then
13989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_TEST_CLIENT" >&5
13990 $as_echo_n "checking for EDBUS_TEST_CLIENT... " >&6; }
13992 if test -n "$EDBUS_TEST_CLIENT_CFLAGS"; then
13993 pkg_cv_EDBUS_TEST_CLIENT_CFLAGS="$EDBUS_TEST_CLIENT_CFLAGS"
13994 elif test -n "$PKG_CONFIG"; then
13995 if test -n "$PKG_CONFIG" && \
13996 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.9 dbus-1 >= 0.62\""; } >&5
13997 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.9 dbus-1 >= 0.62") 2>&5
13999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14000 test $ac_status = 0; }; then
14001 pkg_cv_EDBUS_TEST_CLIENT_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.9 dbus-1 >= 0.62" 2>/dev/null`
14002 test "x$?" != "x0" && pkg_failed=yes
14009 if test -n "$EDBUS_TEST_CLIENT_LIBS"; then
14010 pkg_cv_EDBUS_TEST_CLIENT_LIBS="$EDBUS_TEST_CLIENT_LIBS"
14011 elif test -n "$PKG_CONFIG"; then
14012 if test -n "$PKG_CONFIG" && \
14013 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.9 dbus-1 >= 0.62\""; } >&5
14014 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.9 dbus-1 >= 0.62") 2>&5
14016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14017 test $ac_status = 0; }; then
14018 pkg_cv_EDBUS_TEST_CLIENT_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.9 dbus-1 >= 0.62" 2>/dev/null`
14019 test "x$?" != "x0" && pkg_failed=yes
14029 if test $pkg_failed = yes; then
14030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14031 $as_echo "no" >&6; }
14033 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14034 _pkg_short_errors_supported=yes
14036 _pkg_short_errors_supported=no
14038 if test $_pkg_short_errors_supported = yes; then
14039 EDBUS_TEST_CLIENT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.9 dbus-1 >= 0.62" 2>&1`
14041 EDBUS_TEST_CLIENT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.9 dbus-1 >= 0.62" 2>&1`
14043 # Put the nasty error message in config.log where it belongs
14044 echo "$EDBUS_TEST_CLIENT_PKG_ERRORS" >&5
14046 have_edbus_test_client="no"
14047 elif test $pkg_failed = untried; then
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14049 $as_echo "no" >&6; }
14050 have_edbus_test_client="no"
14052 EDBUS_TEST_CLIENT_CFLAGS=$pkg_cv_EDBUS_TEST_CLIENT_CFLAGS
14053 EDBUS_TEST_CLIENT_LIBS=$pkg_cv_EDBUS_TEST_CLIENT_LIBS
14054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14055 $as_echo "yes" >&6; }
14056 have_edbus_test_client="yes"
14060 if test "x${have_edbus_bluez_test}" = "xyes" ; then
14063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_BLUEZ_TEST" >&5
14064 $as_echo_n "checking for EDBUS_BLUEZ_TEST... " >&6; }
14066 if test -n "$EDBUS_BLUEZ_TEST_CFLAGS"; then
14067 pkg_cv_EDBUS_BLUEZ_TEST_CFLAGS="$EDBUS_BLUEZ_TEST_CFLAGS"
14068 elif test -n "$PKG_CONFIG"; then
14069 if test -n "$PKG_CONFIG" && \
14070 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62\""; } >&5
14071 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62") 2>&5
14073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14074 test $ac_status = 0; }; then
14075 pkg_cv_EDBUS_BLUEZ_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62" 2>/dev/null`
14076 test "x$?" != "x0" && pkg_failed=yes
14083 if test -n "$EDBUS_BLUEZ_TEST_LIBS"; then
14084 pkg_cv_EDBUS_BLUEZ_TEST_LIBS="$EDBUS_BLUEZ_TEST_LIBS"
14085 elif test -n "$PKG_CONFIG"; then
14086 if test -n "$PKG_CONFIG" && \
14087 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62\""; } >&5
14088 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62") 2>&5
14090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14091 test $ac_status = 0; }; then
14092 pkg_cv_EDBUS_BLUEZ_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62" 2>/dev/null`
14093 test "x$?" != "x0" && pkg_failed=yes
14103 if test $pkg_failed = yes; then
14104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14105 $as_echo "no" >&6; }
14107 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14108 _pkg_short_errors_supported=yes
14110 _pkg_short_errors_supported=no
14112 if test $_pkg_short_errors_supported = yes; then
14113 EDBUS_BLUEZ_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62" 2>&1`
14115 EDBUS_BLUEZ_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62" 2>&1`
14117 # Put the nasty error message in config.log where it belongs
14118 echo "$EDBUS_BLUEZ_TEST_PKG_ERRORS" >&5
14120 have_edbus_bluez_test="no"
14121 elif test $pkg_failed = untried; then
14122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14123 $as_echo "no" >&6; }
14124 have_edbus_bluez_test="no"
14126 EDBUS_BLUEZ_TEST_CFLAGS=$pkg_cv_EDBUS_BLUEZ_TEST_CFLAGS
14127 EDBUS_BLUEZ_TEST_LIBS=$pkg_cv_EDBUS_BLUEZ_TEST_LIBS
14128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14129 $as_echo "yes" >&6; }
14130 have_edbus_bluez_test="yes"
14134 if test "x${have_edbus_connman0_7x_test}" = "xyes" ; then
14137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_CONNMAN0_7X_TEST" >&5
14138 $as_echo_n "checking for EDBUS_CONNMAN0_7X_TEST... " >&6; }
14140 if test -n "$EDBUS_CONNMAN0_7X_TEST_CFLAGS"; then
14141 pkg_cv_EDBUS_CONNMAN0_7X_TEST_CFLAGS="$EDBUS_CONNMAN0_7X_TEST_CFLAGS"
14142 elif test -n "$PKG_CONFIG"; then
14143 if test -n "$PKG_CONFIG" && \
14144 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62\""; } >&5
14145 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62") 2>&5
14147 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14148 test $ac_status = 0; }; then
14149 pkg_cv_EDBUS_CONNMAN0_7X_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62" 2>/dev/null`
14150 test "x$?" != "x0" && pkg_failed=yes
14157 if test -n "$EDBUS_CONNMAN0_7X_TEST_LIBS"; then
14158 pkg_cv_EDBUS_CONNMAN0_7X_TEST_LIBS="$EDBUS_CONNMAN0_7X_TEST_LIBS"
14159 elif test -n "$PKG_CONFIG"; then
14160 if test -n "$PKG_CONFIG" && \
14161 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62\""; } >&5
14162 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62") 2>&5
14164 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14165 test $ac_status = 0; }; then
14166 pkg_cv_EDBUS_CONNMAN0_7X_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62" 2>/dev/null`
14167 test "x$?" != "x0" && pkg_failed=yes
14177 if test $pkg_failed = yes; then
14178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14179 $as_echo "no" >&6; }
14181 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14182 _pkg_short_errors_supported=yes
14184 _pkg_short_errors_supported=no
14186 if test $_pkg_short_errors_supported = yes; then
14187 EDBUS_CONNMAN0_7X_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62" 2>&1`
14189 EDBUS_CONNMAN0_7X_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62" 2>&1`
14191 # Put the nasty error message in config.log where it belongs
14192 echo "$EDBUS_CONNMAN0_7X_TEST_PKG_ERRORS" >&5
14194 have_edbus_connman0_7x_test="no"
14195 elif test $pkg_failed = untried; then
14196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14197 $as_echo "no" >&6; }
14198 have_edbus_connman0_7x_test="no"
14200 EDBUS_CONNMAN0_7X_TEST_CFLAGS=$pkg_cv_EDBUS_CONNMAN0_7X_TEST_CFLAGS
14201 EDBUS_CONNMAN0_7X_TEST_LIBS=$pkg_cv_EDBUS_CONNMAN0_7X_TEST_LIBS
14202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14203 $as_echo "yes" >&6; }
14204 have_edbus_connman0_7x_test="yes"
14208 if test "x${have_edbus_notification_daemon_test}" = "xyes" ; then
14211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_NOTIFICATION_DAEMON_TEST" >&5
14212 $as_echo_n "checking for EDBUS_NOTIFICATION_DAEMON_TEST... " >&6; }
14214 if test -n "$EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS"; then
14215 pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS="$EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS"
14216 elif test -n "$PKG_CONFIG"; then
14217 if test -n "$PKG_CONFIG" && \
14218 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.9 evas >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62\""; } >&5
14219 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.9 evas >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62") 2>&5
14221 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14222 test $ac_status = 0; }; then
14223 pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.9 evas >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62" 2>/dev/null`
14224 test "x$?" != "x0" && pkg_failed=yes
14231 if test -n "$EDBUS_NOTIFICATION_DAEMON_TEST_LIBS"; then
14232 pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_LIBS="$EDBUS_NOTIFICATION_DAEMON_TEST_LIBS"
14233 elif test -n "$PKG_CONFIG"; then
14234 if test -n "$PKG_CONFIG" && \
14235 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.9 evas >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62\""; } >&5
14236 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.9 evas >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62") 2>&5
14238 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14239 test $ac_status = 0; }; then
14240 pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.9 evas >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62" 2>/dev/null`
14241 test "x$?" != "x0" && pkg_failed=yes
14251 if test $pkg_failed = yes; then
14252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14253 $as_echo "no" >&6; }
14255 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14256 _pkg_short_errors_supported=yes
14258 _pkg_short_errors_supported=no
14260 if test $_pkg_short_errors_supported = yes; then
14261 EDBUS_NOTIFICATION_DAEMON_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.9 evas >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62" 2>&1`
14263 EDBUS_NOTIFICATION_DAEMON_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.9 evas >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62" 2>&1`
14265 # Put the nasty error message in config.log where it belongs
14266 echo "$EDBUS_NOTIFICATION_DAEMON_TEST_PKG_ERRORS" >&5
14268 have_edbus_notification_daemon_test="no"
14269 elif test $pkg_failed = untried; then
14270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14271 $as_echo "no" >&6; }
14272 have_edbus_notification_daemon_test="no"
14274 EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS=$pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS
14275 EDBUS_NOTIFICATION_DAEMON_TEST_LIBS=$pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_LIBS
14276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14277 $as_echo "yes" >&6; }
14278 have_edbus_notification_daemon_test="yes"
14282 if test "x${have_edbus_notify_send}" = "xyes" ; then
14285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_NOTIFY_SEND" >&5
14286 $as_echo_n "checking for EDBUS_NOTIFY_SEND... " >&6; }
14288 if test -n "$EDBUS_NOTIFY_SEND_CFLAGS"; then
14289 pkg_cv_EDBUS_NOTIFY_SEND_CFLAGS="$EDBUS_NOTIFY_SEND_CFLAGS"
14290 elif test -n "$PKG_CONFIG"; then
14291 if test -n "$PKG_CONFIG" && \
14292 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.9 evas >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62\""; } >&5
14293 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.9 evas >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62") 2>&5
14295 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14296 test $ac_status = 0; }; then
14297 pkg_cv_EDBUS_NOTIFY_SEND_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.9 evas >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62" 2>/dev/null`
14298 test "x$?" != "x0" && pkg_failed=yes
14305 if test -n "$EDBUS_NOTIFY_SEND_LIBS"; then
14306 pkg_cv_EDBUS_NOTIFY_SEND_LIBS="$EDBUS_NOTIFY_SEND_LIBS"
14307 elif test -n "$PKG_CONFIG"; then
14308 if test -n "$PKG_CONFIG" && \
14309 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.9 evas >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62\""; } >&5
14310 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.9 evas >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62") 2>&5
14312 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14313 test $ac_status = 0; }; then
14314 pkg_cv_EDBUS_NOTIFY_SEND_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.9 evas >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62" 2>/dev/null`
14315 test "x$?" != "x0" && pkg_failed=yes
14325 if test $pkg_failed = yes; then
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14327 $as_echo "no" >&6; }
14329 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14330 _pkg_short_errors_supported=yes
14332 _pkg_short_errors_supported=no
14334 if test $_pkg_short_errors_supported = yes; then
14335 EDBUS_NOTIFY_SEND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.9 evas >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62" 2>&1`
14337 EDBUS_NOTIFY_SEND_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.9 evas >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62" 2>&1`
14339 # Put the nasty error message in config.log where it belongs
14340 echo "$EDBUS_NOTIFY_SEND_PKG_ERRORS" >&5
14342 have_edbus_notify_send="no"
14343 elif test $pkg_failed = untried; then
14344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14345 $as_echo "no" >&6; }
14346 have_edbus_notify_send="no"
14348 EDBUS_NOTIFY_SEND_CFLAGS=$pkg_cv_EDBUS_NOTIFY_SEND_CFLAGS
14349 EDBUS_NOTIFY_SEND_LIBS=$pkg_cv_EDBUS_NOTIFY_SEND_LIBS
14350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14351 $as_echo "yes" >&6; }
14352 have_edbus_notify_send="yes"
14356 if test "x${have_edbus_notify_test}" = "xyes" ; then
14359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_NOTIFY_TEST" >&5
14360 $as_echo_n "checking for EDBUS_NOTIFY_TEST... " >&6; }
14362 if test -n "$EDBUS_NOTIFY_TEST_CFLAGS"; then
14363 pkg_cv_EDBUS_NOTIFY_TEST_CFLAGS="$EDBUS_NOTIFY_TEST_CFLAGS"
14364 elif test -n "$PKG_CONFIG"; then
14365 if test -n "$PKG_CONFIG" && \
14366 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.9 ecore-evas >= 1.7.9 evas >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62\""; } >&5
14367 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.9 ecore-evas >= 1.7.9 evas >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62") 2>&5
14369 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14370 test $ac_status = 0; }; then
14371 pkg_cv_EDBUS_NOTIFY_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.9 ecore-evas >= 1.7.9 evas >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62" 2>/dev/null`
14372 test "x$?" != "x0" && pkg_failed=yes
14379 if test -n "$EDBUS_NOTIFY_TEST_LIBS"; then
14380 pkg_cv_EDBUS_NOTIFY_TEST_LIBS="$EDBUS_NOTIFY_TEST_LIBS"
14381 elif test -n "$PKG_CONFIG"; then
14382 if test -n "$PKG_CONFIG" && \
14383 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.9 ecore-evas >= 1.7.9 evas >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62\""; } >&5
14384 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.9 ecore-evas >= 1.7.9 evas >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62") 2>&5
14386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14387 test $ac_status = 0; }; then
14388 pkg_cv_EDBUS_NOTIFY_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.9 ecore-evas >= 1.7.9 evas >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62" 2>/dev/null`
14389 test "x$?" != "x0" && pkg_failed=yes
14399 if test $pkg_failed = yes; then
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14401 $as_echo "no" >&6; }
14403 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14404 _pkg_short_errors_supported=yes
14406 _pkg_short_errors_supported=no
14408 if test $_pkg_short_errors_supported = yes; then
14409 EDBUS_NOTIFY_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.9 ecore-evas >= 1.7.9 evas >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62" 2>&1`
14411 EDBUS_NOTIFY_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.9 ecore-evas >= 1.7.9 evas >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62" 2>&1`
14413 # Put the nasty error message in config.log where it belongs
14414 echo "$EDBUS_NOTIFY_TEST_PKG_ERRORS" >&5
14416 have_edbus_notify_test="no"
14417 elif test $pkg_failed = untried; then
14418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14419 $as_echo "no" >&6; }
14420 have_edbus_notify_test="no"
14422 EDBUS_NOTIFY_TEST_CFLAGS=$pkg_cv_EDBUS_NOTIFY_TEST_CFLAGS
14423 EDBUS_NOTIFY_TEST_LIBS=$pkg_cv_EDBUS_NOTIFY_TEST_LIBS
14424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14425 $as_echo "yes" >&6; }
14426 have_edbus_notify_test="yes"
14430 if test "x${have_edbus_ofono_test}" = "xyes" ; then
14433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_OFONO_TEST" >&5
14434 $as_echo_n "checking for EDBUS_OFONO_TEST... " >&6; }
14436 if test -n "$EDBUS_OFONO_TEST_CFLAGS"; then
14437 pkg_cv_EDBUS_OFONO_TEST_CFLAGS="$EDBUS_OFONO_TEST_CFLAGS"
14438 elif test -n "$PKG_CONFIG"; then
14439 if test -n "$PKG_CONFIG" && \
14440 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62\""; } >&5
14441 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62") 2>&5
14443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14444 test $ac_status = 0; }; then
14445 pkg_cv_EDBUS_OFONO_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62" 2>/dev/null`
14446 test "x$?" != "x0" && pkg_failed=yes
14453 if test -n "$EDBUS_OFONO_TEST_LIBS"; then
14454 pkg_cv_EDBUS_OFONO_TEST_LIBS="$EDBUS_OFONO_TEST_LIBS"
14455 elif test -n "$PKG_CONFIG"; then
14456 if test -n "$PKG_CONFIG" && \
14457 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62\""; } >&5
14458 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62") 2>&5
14460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14461 test $ac_status = 0; }; then
14462 pkg_cv_EDBUS_OFONO_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62" 2>/dev/null`
14463 test "x$?" != "x0" && pkg_failed=yes
14473 if test $pkg_failed = yes; then
14474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14475 $as_echo "no" >&6; }
14477 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14478 _pkg_short_errors_supported=yes
14480 _pkg_short_errors_supported=no
14482 if test $_pkg_short_errors_supported = yes; then
14483 EDBUS_OFONO_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62" 2>&1`
14485 EDBUS_OFONO_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62" 2>&1`
14487 # Put the nasty error message in config.log where it belongs
14488 echo "$EDBUS_OFONO_TEST_PKG_ERRORS" >&5
14490 have_edbus_ofono_test="no"
14491 elif test $pkg_failed = untried; then
14492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14493 $as_echo "no" >&6; }
14494 have_edbus_ofono_test="no"
14496 EDBUS_OFONO_TEST_CFLAGS=$pkg_cv_EDBUS_OFONO_TEST_CFLAGS
14497 EDBUS_OFONO_TEST_LIBS=$pkg_cv_EDBUS_OFONO_TEST_LIBS
14498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14499 $as_echo "yes" >&6; }
14500 have_edbus_ofono_test="yes"
14504 if test "x${have_edbus_ukit_test}" = "xyes" ; then
14507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_UKIT_TEST" >&5
14508 $as_echo_n "checking for EDBUS_UKIT_TEST... " >&6; }
14510 if test -n "$EDBUS_UKIT_TEST_CFLAGS"; then
14511 pkg_cv_EDBUS_UKIT_TEST_CFLAGS="$EDBUS_UKIT_TEST_CFLAGS"
14512 elif test -n "$PKG_CONFIG"; then
14513 if test -n "$PKG_CONFIG" && \
14514 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62\""; } >&5
14515 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62") 2>&5
14517 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14518 test $ac_status = 0; }; then
14519 pkg_cv_EDBUS_UKIT_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62" 2>/dev/null`
14520 test "x$?" != "x0" && pkg_failed=yes
14527 if test -n "$EDBUS_UKIT_TEST_LIBS"; then
14528 pkg_cv_EDBUS_UKIT_TEST_LIBS="$EDBUS_UKIT_TEST_LIBS"
14529 elif test -n "$PKG_CONFIG"; then
14530 if test -n "$PKG_CONFIG" && \
14531 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62\""; } >&5
14532 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62") 2>&5
14534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14535 test $ac_status = 0; }; then
14536 pkg_cv_EDBUS_UKIT_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62" 2>/dev/null`
14537 test "x$?" != "x0" && pkg_failed=yes
14547 if test $pkg_failed = yes; then
14548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14549 $as_echo "no" >&6; }
14551 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14552 _pkg_short_errors_supported=yes
14554 _pkg_short_errors_supported=no
14556 if test $_pkg_short_errors_supported = yes; then
14557 EDBUS_UKIT_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62" 2>&1`
14559 EDBUS_UKIT_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62" 2>&1`
14561 # Put the nasty error message in config.log where it belongs
14562 echo "$EDBUS_UKIT_TEST_PKG_ERRORS" >&5
14564 have_edbus_ukit_test="no"
14565 elif test $pkg_failed = untried; then
14566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14567 $as_echo "no" >&6; }
14568 have_edbus_ukit_test="no"
14570 EDBUS_UKIT_TEST_CFLAGS=$pkg_cv_EDBUS_UKIT_TEST_CFLAGS
14571 EDBUS_UKIT_TEST_LIBS=$pkg_cv_EDBUS_UKIT_TEST_LIBS
14572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14573 $as_echo "yes" >&6; }
14574 have_edbus_ukit_test="yes"
14578 if test "x${have_edbus_performance_test}" = "xyes" ; then
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_PERFORMANCE_TEST" >&5
14582 $as_echo_n "checking for EDBUS_PERFORMANCE_TEST... " >&6; }
14584 if test -n "$EDBUS_PERFORMANCE_TEST_CFLAGS"; then
14585 pkg_cv_EDBUS_PERFORMANCE_TEST_CFLAGS="$EDBUS_PERFORMANCE_TEST_CFLAGS"
14586 elif test -n "$PKG_CONFIG"; then
14587 if test -n "$PKG_CONFIG" && \
14588 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62 ecore-evas >= 1.7.9 elementary >= 1.7.9 evas >= 1.7.9\""; } >&5
14589 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62 ecore-evas >= 1.7.9 elementary >= 1.7.9 evas >= 1.7.9") 2>&5
14591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14592 test $ac_status = 0; }; then
14593 pkg_cv_EDBUS_PERFORMANCE_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62 ecore-evas >= 1.7.9 elementary >= 1.7.9 evas >= 1.7.9" 2>/dev/null`
14594 test "x$?" != "x0" && pkg_failed=yes
14601 if test -n "$EDBUS_PERFORMANCE_TEST_LIBS"; then
14602 pkg_cv_EDBUS_PERFORMANCE_TEST_LIBS="$EDBUS_PERFORMANCE_TEST_LIBS"
14603 elif test -n "$PKG_CONFIG"; then
14604 if test -n "$PKG_CONFIG" && \
14605 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62 ecore-evas >= 1.7.9 elementary >= 1.7.9 evas >= 1.7.9\""; } >&5
14606 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62 ecore-evas >= 1.7.9 elementary >= 1.7.9 evas >= 1.7.9") 2>&5
14608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14609 test $ac_status = 0; }; then
14610 pkg_cv_EDBUS_PERFORMANCE_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62 ecore-evas >= 1.7.9 elementary >= 1.7.9 evas >= 1.7.9" 2>/dev/null`
14611 test "x$?" != "x0" && pkg_failed=yes
14621 if test $pkg_failed = yes; then
14622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14623 $as_echo "no" >&6; }
14625 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14626 _pkg_short_errors_supported=yes
14628 _pkg_short_errors_supported=no
14630 if test $_pkg_short_errors_supported = yes; then
14631 EDBUS_PERFORMANCE_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62 ecore-evas >= 1.7.9 elementary >= 1.7.9 evas >= 1.7.9" 2>&1`
14633 EDBUS_PERFORMANCE_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.9 eina >= 1.7.9 dbus-1 >= 0.62 ecore-evas >= 1.7.9 elementary >= 1.7.9 evas >= 1.7.9" 2>&1`
14635 # Put the nasty error message in config.log where it belongs
14636 echo "$EDBUS_PERFORMANCE_TEST_PKG_ERRORS" >&5
14638 have_edbus_performance_test="no"
14639 elif test $pkg_failed = untried; then
14640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14641 $as_echo "no" >&6; }
14642 have_edbus_performance_test="no"
14644 EDBUS_PERFORMANCE_TEST_CFLAGS=$pkg_cv_EDBUS_PERFORMANCE_TEST_CFLAGS
14645 EDBUS_PERFORMANCE_TEST_LIBS=$pkg_cv_EDBUS_PERFORMANCE_TEST_LIBS
14646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14647 $as_echo "yes" >&6; }
14648 have_edbus_performance_test="yes"
14652 if test "x${have_edbus_performance_test}" = "xyes"; then
14653 BUILD_EDBUS_PERFORMANCE_TEST_TRUE=
14654 BUILD_EDBUS_PERFORMANCE_TEST_FALSE='#'
14656 BUILD_EDBUS_PERFORMANCE_TEST_TRUE='#'
14657 BUILD_EDBUS_PERFORMANCE_TEST_FALSE=
14661 if test "x${have_edbus_async_test}" = "xyes" ; then
14664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_ASYNC_TEST" >&5
14665 $as_echo_n "checking for EDBUS_ASYNC_TEST... " >&6; }
14667 if test -n "$EDBUS_ASYNC_TEST_CFLAGS"; then
14668 pkg_cv_EDBUS_ASYNC_TEST_CFLAGS="$EDBUS_ASYNC_TEST_CFLAGS"
14669 elif test -n "$PKG_CONFIG"; then
14670 if test -n "$PKG_CONFIG" && \
14671 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.9 dbus-1 >= 0.62\""; } >&5
14672 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.9 dbus-1 >= 0.62") 2>&5
14674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14675 test $ac_status = 0; }; then
14676 pkg_cv_EDBUS_ASYNC_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.9 dbus-1 >= 0.62" 2>/dev/null`
14677 test "x$?" != "x0" && pkg_failed=yes
14684 if test -n "$EDBUS_ASYNC_TEST_LIBS"; then
14685 pkg_cv_EDBUS_ASYNC_TEST_LIBS="$EDBUS_ASYNC_TEST_LIBS"
14686 elif test -n "$PKG_CONFIG"; then
14687 if test -n "$PKG_CONFIG" && \
14688 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.9 dbus-1 >= 0.62\""; } >&5
14689 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.9 dbus-1 >= 0.62") 2>&5
14691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14692 test $ac_status = 0; }; then
14693 pkg_cv_EDBUS_ASYNC_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.9 dbus-1 >= 0.62" 2>/dev/null`
14694 test "x$?" != "x0" && pkg_failed=yes
14704 if test $pkg_failed = yes; then
14705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14706 $as_echo "no" >&6; }
14708 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14709 _pkg_short_errors_supported=yes
14711 _pkg_short_errors_supported=no
14713 if test $_pkg_short_errors_supported = yes; then
14714 EDBUS_ASYNC_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.9 dbus-1 >= 0.62" 2>&1`
14716 EDBUS_ASYNC_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.9 dbus-1 >= 0.62" 2>&1`
14718 # Put the nasty error message in config.log where it belongs
14719 echo "$EDBUS_ASYNC_TEST_PKG_ERRORS" >&5
14721 have_edbus_async_test="no"
14722 elif test $pkg_failed = untried; then
14723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14724 $as_echo "no" >&6; }
14725 have_edbus_async_test="no"
14727 EDBUS_ASYNC_TEST_CFLAGS=$pkg_cv_EDBUS_ASYNC_TEST_CFLAGS
14728 EDBUS_ASYNC_TEST_LIBS=$pkg_cv_EDBUS_ASYNC_TEST_LIBS
14729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14730 $as_echo "yes" >&6; }
14731 have_edbus_async_test="yes"
14735 ### Checks for header files
14738 ### Checks for types
14741 ### Checks for structures
14744 ### Checks for compiler characteristics
14749 EFL_EDBUS_BUILD="-DEFL_EDBUS_BUILD"
14754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14755 $as_echo_n "checking for ANSI C header files... " >&6; }
14756 if ${ac_cv_header_stdc+:} false; then :
14757 $as_echo_n "(cached) " >&6
14759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14760 /* end confdefs.h. */
14761 #include <stdlib.h>
14762 #include <stdarg.h>
14763 #include <string.h>
14774 if ac_fn_c_try_compile "$LINENO"; then :
14775 ac_cv_header_stdc=yes
14777 ac_cv_header_stdc=no
14779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14781 if test $ac_cv_header_stdc = yes; then
14782 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14784 /* end confdefs.h. */
14785 #include <string.h>
14788 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14789 $EGREP "memchr" >/dev/null 2>&1; then :
14792 ac_cv_header_stdc=no
14798 if test $ac_cv_header_stdc = yes; then
14799 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14801 /* end confdefs.h. */
14802 #include <stdlib.h>
14805 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14806 $EGREP "free" >/dev/null 2>&1; then :
14809 ac_cv_header_stdc=no
14815 if test $ac_cv_header_stdc = yes; then
14816 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14817 if test "$cross_compiling" = yes; then :
14820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14821 /* end confdefs.h. */
14823 #include <stdlib.h>
14824 #if ((' ' & 0x0FF) == 0x020)
14825 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14826 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14828 # define ISLOWER(c) \
14829 (('a' <= (c) && (c) <= 'i') \
14830 || ('j' <= (c) && (c) <= 'r') \
14831 || ('s' <= (c) && (c) <= 'z'))
14832 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14835 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14840 for (i = 0; i < 256; i++)
14841 if (XOR (islower (i), ISLOWER (i))
14842 || toupper (i) != TOUPPER (i))
14847 if ac_fn_c_try_run "$LINENO"; then :
14850 ac_cv_header_stdc=no
14852 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14853 conftest.$ac_objext conftest.beam conftest.$ac_ext
14858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
14859 $as_echo "$ac_cv_header_stdc" >&6; }
14860 if test $ac_cv_header_stdc = yes; then
14862 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
14868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
14869 $as_echo_n "checking for __attribute__... " >&6; }
14871 if ${ac_cv___attribute__+:} false; then :
14872 $as_echo_n "(cached) " >&6
14874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14875 /* end confdefs.h. */
14877 #include <stdlib.h>
14880 int foo(int x __attribute__ ((unused)))
14893 if ac_fn_c_try_compile "$LINENO"; then :
14894 ac_cv___attribute__="yes"
14896 ac_cv___attribute__="no"
14899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
14904 $as_echo "$ac_cv___attribute__" >&6; }
14906 if test "x${ac_cv___attribute__}" = "xyes" ; then
14908 $as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
14911 $as_echo "#define __UNUSED__ __attribute__((unused))" >>confdefs.h
14915 $as_echo "#define __UNUSED__ /**/" >>confdefs.h
14921 if ! test "x${VMIC}" = "x" ; then
14924 CFLAGS_save="${CFLAGS}"
14925 CFLAGS="${CFLAGS} -Wall"
14928 ac_cpp='$CPP $CPPFLAGS'
14929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wall" >&5
14934 $as_echo_n "checking whether the compiler supports -Wall... " >&6; }
14936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14937 /* end confdefs.h. */
14947 if ac_fn_c_try_compile "$LINENO"; then :
14952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
14954 $as_echo "${have_flag}" >&6; }
14956 if test "x${have_flag}" = "xno" ; then
14957 CFLAGS="${CFLAGS_save}"
14960 ac_cpp='$CPP $CPPFLAGS'
14961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14969 CFLAGS_save="${CFLAGS}"
14970 CFLAGS="${CFLAGS} -W"
14973 ac_cpp='$CPP $CPPFLAGS'
14974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -W" >&5
14979 $as_echo_n "checking whether the compiler supports -W... " >&6; }
14981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14982 /* end confdefs.h. */
14992 if ac_fn_c_try_compile "$LINENO"; then :
14997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
14999 $as_echo "${have_flag}" >&6; }
15001 if test "x${have_flag}" = "xno" ; then
15002 CFLAGS="${CFLAGS_save}"
15005 ac_cpp='$CPP $CPPFLAGS'
15006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15016 CFLAGS_save="${CFLAGS}"
15017 CFLAGS="${CFLAGS} -Wshadow"
15020 ac_cpp='$CPP $CPPFLAGS'
15021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshadow" >&5
15026 $as_echo_n "checking whether the compiler supports -Wshadow... " >&6; }
15028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15029 /* end confdefs.h. */
15039 if ac_fn_c_try_compile "$LINENO"; then :
15044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
15046 $as_echo "${have_flag}" >&6; }
15048 if test "x${have_flag}" = "xno" ; then
15049 CFLAGS="${CFLAGS_save}"
15052 ac_cpp='$CPP $CPPFLAGS'
15053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15061 ### Checks for linker characteristics
15063 lt_enable_auto_import=""
15066 lt_enable_auto_import="-Wl,--enable-auto-import"
15072 ### Checks for library functions
15074 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15075 if test "x$ac_cv_type_size_t" = xyes; then :
15079 cat >>confdefs.h <<_ACEOF
15080 #define size_t unsigned int
15085 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
15086 # for constant arguments. Useless!
15087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
15088 $as_echo_n "checking for working alloca.h... " >&6; }
15089 if ${ac_cv_working_alloca_h+:} false; then :
15090 $as_echo_n "(cached) " >&6
15092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15093 /* end confdefs.h. */
15094 #include <alloca.h>
15098 char *p = (char *) alloca (2 * sizeof (int));
15104 if ac_fn_c_try_link "$LINENO"; then :
15105 ac_cv_working_alloca_h=yes
15107 ac_cv_working_alloca_h=no
15109 rm -f core conftest.err conftest.$ac_objext \
15110 conftest$ac_exeext conftest.$ac_ext
15112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
15113 $as_echo "$ac_cv_working_alloca_h" >&6; }
15114 if test $ac_cv_working_alloca_h = yes; then
15116 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
15120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
15121 $as_echo_n "checking for alloca... " >&6; }
15122 if ${ac_cv_func_alloca_works+:} false; then :
15123 $as_echo_n "(cached) " >&6
15125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15126 /* end confdefs.h. */
15128 # define alloca __builtin_alloca
15131 # include <malloc.h>
15132 # define alloca _alloca
15134 # ifdef HAVE_ALLOCA_H
15135 # include <alloca.h>
15140 # ifndef alloca /* predefined by HP cc +Olibcalls */
15141 void *alloca (size_t);
15151 char *p = (char *) alloca (1);
15157 if ac_fn_c_try_link "$LINENO"; then :
15158 ac_cv_func_alloca_works=yes
15160 ac_cv_func_alloca_works=no
15162 rm -f core conftest.err conftest.$ac_objext \
15163 conftest$ac_exeext conftest.$ac_ext
15165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
15166 $as_echo "$ac_cv_func_alloca_works" >&6; }
15168 if test $ac_cv_func_alloca_works = yes; then
15170 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
15173 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
15174 # that cause trouble. Some versions do not even contain alloca or
15175 # contain a buggy version. If you still want to use their alloca,
15176 # use ar to extract alloca.o from them instead of compiling alloca.c.
15178 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
15180 $as_echo "#define C_ALLOCA 1" >>confdefs.h
15183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
15184 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
15185 if ${ac_cv_os_cray+:} false; then :
15186 $as_echo_n "(cached) " >&6
15188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15189 /* end confdefs.h. */
15190 #if defined CRAY && ! defined CRAY2
15197 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15198 $EGREP "webecray" >/dev/null 2>&1; then :
15206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
15207 $as_echo "$ac_cv_os_cray" >&6; }
15208 if test $ac_cv_os_cray = yes; then
15209 for ac_func in _getb67 GETB67 getb67; do
15210 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15211 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15212 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15214 cat >>confdefs.h <<_ACEOF
15215 #define CRAY_STACKSEG_END $ac_func
15224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
15225 $as_echo_n "checking stack direction for C alloca... " >&6; }
15226 if ${ac_cv_c_stack_direction+:} false; then :
15227 $as_echo_n "(cached) " >&6
15229 if test "$cross_compiling" = yes; then :
15230 ac_cv_c_stack_direction=0
15232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15233 /* end confdefs.h. */
15234 $ac_includes_default
15236 find_stack_direction (int *addr, int depth)
15238 int dir, dummy = 0;
15241 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
15242 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
15243 return dir + dummy;
15247 main (int argc, char **argv)
15249 return find_stack_direction (0, argc + !argv + 20) < 0;
15252 if ac_fn_c_try_run "$LINENO"; then :
15253 ac_cv_c_stack_direction=1
15255 ac_cv_c_stack_direction=-1
15257 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15258 conftest.$ac_objext conftest.beam conftest.$ac_ext
15262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
15263 $as_echo "$ac_cv_c_stack_direction" >&6; }
15264 cat >>confdefs.h <<_ACEOF
15265 #define STACK_DIRECTION $ac_cv_c_stack_direction
15281 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"
15283 cat >confcache <<\_ACEOF
15284 # This file is a shell script that caches the results of configure
15285 # tests run on this system so they can be shared between configure
15286 # scripts and configure runs, see configure's option --config-cache.
15287 # It is not useful on other systems. If it contains results you don't
15288 # want to keep, you may remove or edit it.
15290 # config.status only pays attention to the cache file if you give it
15291 # the --recheck option to rerun configure.
15293 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15294 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15295 # following values.
15299 # The following way of writing the cache mishandles newlines in values,
15300 # but we know of no workaround that is simple, portable, and efficient.
15301 # So, we kill variables containing newlines.
15302 # Ultrix sh set writes to stderr and can't be redirected directly,
15303 # and sets the high bit in the cache file unless we assign to the vars.
15305 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15306 eval ac_val=\$$ac_var
15310 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15311 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15314 _ | IFS | as_nl) ;; #(
15315 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15316 *) { eval $ac_var=; unset $ac_var;} ;;
15322 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15323 *${as_nl}ac_space=\ *)
15324 # `set' does not quote correctly, so add quotes: double-quote
15325 # substitution turns \\\\ into \\, and sed turns \\ into \.
15328 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15331 # `set' quotes correctly as required by POSIX, so do not add quotes.
15332 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15341 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15343 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15345 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15346 if test -w "$cache_file"; then
15347 if test "x$cache_file" != "x/dev/null"; then
15348 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15349 $as_echo "$as_me: updating cache $cache_file" >&6;}
15350 if test ! -f "$cache_file" || test -h "$cache_file"; then
15351 cat confcache >"$cache_file"
15353 case $cache_file in #(
15355 mv -f confcache "$cache_file"$$ &&
15356 mv -f "$cache_file"$$ "$cache_file" ;; #(
15358 mv -f confcache "$cache_file" ;;
15363 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15364 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15369 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15370 # Let make expand exec_prefix.
15371 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15373 DEFS=-DHAVE_CONFIG_H
15378 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15379 # 1. Remove the extension, and $U if already installed.
15380 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15381 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15382 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15383 # will be set to the directory where LIBOBJS objects are built.
15384 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15385 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15387 LIBOBJS=$ac_libobjs
15389 LTLIBOBJS=$ac_ltlibobjs
15392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15393 $as_echo_n "checking that generated files are newer than configure... " >&6; }
15394 if test -n "$am_sleep_pid"; then
15395 # Hide warnings about reused PIDs.
15396 wait $am_sleep_pid 2>/dev/null
15398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15399 $as_echo "done" >&6; }
15400 if test -n "$EXEEXT"; then
15402 am__EXEEXT_FALSE='#'
15404 am__EXEEXT_TRUE='#'
15408 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15409 as_fn_error $? "conditional \"AMDEP\" was never defined.
15410 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15412 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15413 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15414 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15416 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15417 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15418 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15420 if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
15421 as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
15422 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15424 if test -z "${BUILD_EBLUEZ_TRUE}" && test -z "${BUILD_EBLUEZ_FALSE}"; then
15425 as_fn_error $? "conditional \"BUILD_EBLUEZ\" was never defined.
15426 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15428 if test -z "${BUILD_ECONNMAN0_7X_TRUE}" && test -z "${BUILD_ECONNMAN0_7X_FALSE}"; then
15429 as_fn_error $? "conditional \"BUILD_ECONNMAN0_7X\" was never defined.
15430 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15432 if test -z "${BUILD_EHAL_TRUE}" && test -z "${BUILD_EHAL_FALSE}"; then
15433 as_fn_error $? "conditional \"BUILD_EHAL\" was never defined.
15434 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15436 if test -z "${BUILD_ENOTIFY_TRUE}" && test -z "${BUILD_ENOTIFY_FALSE}"; then
15437 as_fn_error $? "conditional \"BUILD_ENOTIFY\" was never defined.
15438 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15440 if test -z "${BUILD_EOFONO_TRUE}" && test -z "${BUILD_EOFONO_FALSE}"; then
15441 as_fn_error $? "conditional \"BUILD_EOFONO\" was never defined.
15442 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15444 if test -z "${BUILD_EUKIT_TRUE}" && test -z "${BUILD_EUKIT_FALSE}"; then
15445 as_fn_error $? "conditional \"BUILD_EUKIT\" was never defined.
15446 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15448 if test -z "${BUILD_EDBUS_TEST_TRUE}" && test -z "${BUILD_EDBUS_TEST_FALSE}"; then
15449 as_fn_error $? "conditional \"BUILD_EDBUS_TEST\" was never defined.
15450 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15452 if test -z "${BUILD_EDBUS_TEST_CLIENT_TRUE}" && test -z "${BUILD_EDBUS_TEST_CLIENT_FALSE}"; then
15453 as_fn_error $? "conditional \"BUILD_EDBUS_TEST_CLIENT\" was never defined.
15454 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15456 if test -z "${BUILD_EDBUS_BLUEZ_TEST_TRUE}" && test -z "${BUILD_EDBUS_BLUEZ_TEST_FALSE}"; then
15457 as_fn_error $? "conditional \"BUILD_EDBUS_BLUEZ_TEST\" was never defined.
15458 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15460 if test -z "${BUILD_EDBUS_CONNMAN0_7X_TEST_TRUE}" && test -z "${BUILD_EDBUS_CONNMAN0_7X_TEST_FALSE}"; then
15461 as_fn_error $? "conditional \"BUILD_EDBUS_CONNMAN0_7X_TEST\" was never defined.
15462 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15464 if test -z "${BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_TRUE}" && test -z "${BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_FALSE}"; then
15465 as_fn_error $? "conditional \"BUILD_EDBUS_NOTIFICATION_DAEMON_TEST\" was never defined.
15466 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15468 if test -z "${BUILD_EDBUS_NOTIFY_SEND_TRUE}" && test -z "${BUILD_EDBUS_NOTIFY_SEND_FALSE}"; then
15469 as_fn_error $? "conditional \"BUILD_EDBUS_NOTIFY_SEND\" was never defined.
15470 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15472 if test -z "${BUILD_EDBUS_NOTIFY_TEST_TRUE}" && test -z "${BUILD_EDBUS_NOTIFY_TEST_FALSE}"; then
15473 as_fn_error $? "conditional \"BUILD_EDBUS_NOTIFY_TEST\" was never defined.
15474 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15476 if test -z "${BUILD_EDBUS_OFONO_TEST_TRUE}" && test -z "${BUILD_EDBUS_OFONO_TEST_FALSE}"; then
15477 as_fn_error $? "conditional \"BUILD_EDBUS_OFONO_TEST\" was never defined.
15478 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15480 if test -z "${BUILD_EDBUS_UKIT_TEST_TRUE}" && test -z "${BUILD_EDBUS_UKIT_TEST_FALSE}"; then
15481 as_fn_error $? "conditional \"BUILD_EDBUS_UKIT_TEST\" was never defined.
15482 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15484 if test -z "${BUILD_EDBUS_PERFORMANCE_TEST_TRUE}" && test -z "${BUILD_EDBUS_PERFORMANCE_TEST_FALSE}"; then
15485 as_fn_error $? "conditional \"BUILD_EDBUS_PERFORMANCE_TEST\" was never defined.
15486 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15488 if test -z "${BUILD_EDBUS_ASYNC_TEST_TRUE}" && test -z "${BUILD_EDBUS_ASYNC_TEST_FALSE}"; then
15489 as_fn_error $? "conditional \"BUILD_EDBUS_ASYNC_TEST\" was never defined.
15490 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15492 if test -z "${BUILD_EDBUS_PERFORMANCE_TEST_TRUE}" && test -z "${BUILD_EDBUS_PERFORMANCE_TEST_FALSE}"; then
15493 as_fn_error $? "conditional \"BUILD_EDBUS_PERFORMANCE_TEST\" was never defined.
15494 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15497 : "${CONFIG_STATUS=./config.status}"
15499 ac_clean_files_save=$ac_clean_files
15500 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15501 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15502 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15504 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15506 # Generated by $as_me.
15507 # Run this file to recreate the current configuration.
15508 # Compiler output produced by configure, useful for debugging
15509 # configure, is in config.log if it exists.
15512 ac_cs_recheck=false
15515 SHELL=\${CONFIG_SHELL-$SHELL}
15518 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15519 ## -------------------- ##
15520 ## M4sh Initialization. ##
15521 ## -------------------- ##
15523 # Be more Bourne compatible
15524 DUALCASE=1; export DUALCASE # for MKS sh
15525 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15528 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15529 # is contrary to our usage. Disable this feature.
15530 alias -g '${1+"$@"}'='"$@"'
15531 setopt NO_GLOB_SUBST
15533 case `(set -o) 2>/dev/null` in #(
15545 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15546 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15547 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15548 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15549 # Prefer a ksh shell builtin over an external printf program on Solaris,
15550 # but without wasting forks for bash or zsh.
15551 if test -z "$BASH_VERSION$ZSH_VERSION" \
15552 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15553 as_echo='print -r --'
15554 as_echo_n='print -rn --'
15555 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15556 as_echo='printf %s\n'
15557 as_echo_n='printf %s'
15559 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15560 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15561 as_echo_n='/usr/ucb/echo -n'
15563 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15564 as_echo_n_body='eval
15568 expr "X$arg" : "X\\(.*\\)$as_nl";
15569 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15571 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15573 export as_echo_n_body
15574 as_echo_n='sh -c $as_echo_n_body as_echo'
15576 export as_echo_body
15577 as_echo='sh -c $as_echo_body as_echo'
15580 # The user is always right.
15581 if test "${PATH_SEPARATOR+set}" != set; then
15583 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15584 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15591 # We need space, tab and new line, in precisely that order. Quoting is
15592 # there to prevent editors from complaining about space-tab.
15593 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15594 # splitting by setting IFS to empty value.)
15597 # Find who we are. Look in the path if we contain no directory separator.
15600 *[\\/]* ) as_myself=$0 ;;
15601 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15602 for as_dir in $PATH
15605 test -z "$as_dir" && as_dir=.
15606 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15612 # We did not find ourselves, most probably we were run as `sh COMMAND'
15613 # in which case we are not to be found in the path.
15614 if test "x$as_myself" = x; then
15617 if test ! -f "$as_myself"; then
15618 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15622 # Unset variables that we do not need and which cause bugs (e.g. in
15623 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15624 # suppresses any "Segmentation fault" message there. '((' could
15625 # trigger a bug in pdksh 5.2.14.
15626 for as_var in BASH_ENV ENV MAIL MAILPATH
15627 do eval test x\${$as_var+set} = xset \
15628 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15641 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15644 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15645 # ----------------------------------------
15646 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15647 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15648 # script with STATUS, using 1 if that was 0.
15651 as_status=$1; test $as_status -eq 0 && as_status=1
15653 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15654 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15656 $as_echo "$as_me: error: $2" >&2
15657 as_fn_exit $as_status
15661 # as_fn_set_status STATUS
15662 # -----------------------
15663 # Set $? to STATUS, without forking.
15664 as_fn_set_status ()
15667 } # as_fn_set_status
15669 # as_fn_exit STATUS
15670 # -----------------
15671 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15675 as_fn_set_status $1
15681 # Portably unset VAR.
15684 { eval $1=; unset $1;}
15686 as_unset=as_fn_unset
15687 # as_fn_append VAR VALUE
15688 # ----------------------
15689 # Append the text in VALUE to the end of the definition contained in VAR. Take
15690 # advantage of any shell optimizations that allow amortized linear growth over
15691 # repeated appends, instead of the typical quadratic growth present in naive
15693 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15694 eval 'as_fn_append ()
15705 # as_fn_arith ARG...
15706 # ------------------
15707 # Perform arithmetic evaluation on the ARGs, and store the result in the
15708 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15709 # must be portable across $(()) and expr.
15710 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15711 eval 'as_fn_arith ()
15718 as_val=`expr "$@" || test $? -eq 1`
15723 if expr a : '\(a\)' >/dev/null 2>&1 &&
15724 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15730 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15731 as_basename=basename
15736 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15742 as_me=`$as_basename -- "$0" ||
15743 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15744 X"$0" : 'X\(//\)$' \| \
15745 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15747 sed '/^.*\/\([^/][^/]*\)\/*$/{
15761 # Avoid depending upon Character Ranges.
15762 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15763 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15764 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15765 as_cr_digits='0123456789'
15766 as_cr_alnum=$as_cr_Letters$as_cr_digits
15768 ECHO_C= ECHO_N= ECHO_T=
15769 case `echo -n x` in #(((((
15771 case `echo 'xy\c'` in
15772 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15774 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15781 rm -f conf$$ conf$$.exe conf$$.file
15782 if test -d conf$$.dir; then
15783 rm -f conf$$.dir/conf$$.file
15786 mkdir conf$$.dir 2>/dev/null
15788 if (echo >conf$$.file) 2>/dev/null; then
15789 if ln -s conf$$.file conf$$ 2>/dev/null; then
15791 # ... but there are two gotchas:
15792 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15793 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15794 # In both cases, we have to default to `cp -pR'.
15795 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15797 elif ln conf$$.file conf$$ 2>/dev/null; then
15805 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15806 rmdir conf$$.dir 2>/dev/null
15811 # Create "$as_dir" as a directory, including parents if necessary.
15816 -*) as_dir=./$as_dir;;
15818 test -d "$as_dir" || eval $as_mkdir_p || {
15822 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15823 *) as_qdir=$as_dir;;
15825 as_dirs="'$as_qdir' $as_dirs"
15826 as_dir=`$as_dirname -- "$as_dir" ||
15827 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15828 X"$as_dir" : 'X\(//\)[^/]' \| \
15829 X"$as_dir" : 'X\(//\)$' \| \
15830 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15831 $as_echo X"$as_dir" |
15832 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15836 /^X\(\/\/\)[^/].*/{
15849 test -d "$as_dir" && break
15851 test -z "$as_dirs" || eval "mkdir $as_dirs"
15852 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15856 if mkdir -p . 2>/dev/null; then
15857 as_mkdir_p='mkdir -p "$as_dir"'
15859 test -d ./-p && rmdir ./-p
15864 # as_fn_executable_p FILE
15865 # -----------------------
15866 # Test if FILE is an executable regular file.
15867 as_fn_executable_p ()
15869 test -f "$1" && test -x "$1"
15870 } # as_fn_executable_p
15871 as_test_x='test -x'
15872 as_executable_p=as_fn_executable_p
15874 # Sed expression to map a string onto a valid CPP name.
15875 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15877 # Sed expression to map a string onto a valid variable name.
15878 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15882 ## ----------------------------------- ##
15883 ## Main body of $CONFIG_STATUS script. ##
15884 ## ----------------------------------- ##
15886 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15888 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15889 # Save the log message, to keep $0 and so on meaningful, and to
15890 # report actual input values of CONFIG_FILES etc. instead of their
15891 # values after options handling.
15893 This file was extended by e_dbus $as_me 1.7.9, which was
15894 generated by GNU Autoconf 2.69. Invocation command line was
15896 CONFIG_FILES = $CONFIG_FILES
15897 CONFIG_HEADERS = $CONFIG_HEADERS
15898 CONFIG_LINKS = $CONFIG_LINKS
15899 CONFIG_COMMANDS = $CONFIG_COMMANDS
15902 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15907 case $ac_config_files in *"
15908 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15911 case $ac_config_headers in *"
15912 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15916 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15917 # Files that config.status was made for.
15918 config_files="$ac_config_files"
15919 config_headers="$ac_config_headers"
15920 config_commands="$ac_config_commands"
15924 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15926 \`$as_me' instantiates files and other configuration actions
15927 from templates according to the current configuration. Unless the files
15928 and actions are specified as TAGs, all are instantiated by default.
15930 Usage: $0 [OPTION]... [TAG]...
15932 -h, --help print this help, then exit
15933 -V, --version print version number and configuration settings, then exit
15934 --config print configuration, then exit
15935 -q, --quiet, --silent
15936 do not print progress messages
15937 -d, --debug don't remove temporary files
15938 --recheck update $as_me by reconfiguring in the same conditions
15939 --file=FILE[:TEMPLATE]
15940 instantiate the configuration file FILE
15941 --header=FILE[:TEMPLATE]
15942 instantiate the configuration header FILE
15944 Configuration files:
15947 Configuration headers:
15950 Configuration commands:
15953 Report bugs to <enlightenment-devel@lists.sourceforge.net>."
15956 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15957 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15959 e_dbus config.status 1.7.9
15960 configured by $0, generated by GNU Autoconf 2.69,
15961 with options \\"\$ac_cs_config\\"
15963 Copyright (C) 2012 Free Software Foundation, Inc.
15964 This config.status script is free software; the Free Software Foundation
15965 gives unlimited permission to copy, distribute and modify it."
15972 test -n "\$AWK" || AWK=awk
15975 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15976 # The default lists apply if the user does not specify any file.
15982 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15983 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15987 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15999 # Handling of the options.
16000 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16002 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16003 $as_echo "$ac_cs_version"; exit ;;
16004 --config | --confi | --conf | --con | --co | --c )
16005 $as_echo "$ac_cs_config"; exit ;;
16006 --debug | --debu | --deb | --de | --d | -d )
16008 --file | --fil | --fi | --f )
16011 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16012 '') as_fn_error $? "missing file argument" ;;
16014 as_fn_append CONFIG_FILES " '$ac_optarg'"
16015 ac_need_defaults=false;;
16016 --header | --heade | --head | --hea )
16019 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16021 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16022 ac_need_defaults=false;;
16024 # Conflict between --help and --header
16025 as_fn_error $? "ambiguous option: \`$1'
16026 Try \`$0 --help' for more information.";;
16027 --help | --hel | -h )
16028 $as_echo "$ac_cs_usage"; exit ;;
16029 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16030 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16033 # This is an error.
16034 -*) as_fn_error $? "unrecognized option: \`$1'
16035 Try \`$0 --help' for more information." ;;
16037 *) as_fn_append ac_config_targets " $1"
16038 ac_need_defaults=false ;;
16044 ac_configure_extra_args=
16046 if $ac_cs_silent; then
16048 ac_configure_extra_args="$ac_configure_extra_args --silent"
16052 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16053 if \$ac_cs_recheck; then
16054 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16056 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16057 CONFIG_SHELL='$SHELL'
16058 export CONFIG_SHELL
16063 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16067 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16068 ## Running $as_me. ##
16074 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16078 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16081 # The HP-UX ksh and POSIX shell print the target directory to stdout
16082 # if CDPATH is set.
16083 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16085 sed_quote_subst='$sed_quote_subst'
16086 double_quote_subst='$double_quote_subst'
16087 delay_variable_subst='$delay_variable_subst'
16088 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
16089 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16090 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16091 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16092 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16093 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16094 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16095 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16096 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16097 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16098 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16099 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16100 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16101 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16102 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16103 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16104 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16105 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16106 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16107 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16108 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16109 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16110 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16111 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16112 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16113 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16114 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16115 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16116 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16117 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16118 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16119 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16120 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16121 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16122 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16123 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16124 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16125 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16126 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16127 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16128 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16129 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16130 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16131 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16132 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16133 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16134 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16135 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16136 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16137 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16138 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16139 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16140 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16141 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16142 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16143 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16144 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16145 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"`'
16146 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16147 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16148 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16149 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16150 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16151 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16152 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16153 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16154 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16155 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16156 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16157 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16158 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16159 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16160 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16161 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16162 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16163 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16164 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16165 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16166 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16167 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16168 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16169 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16170 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16171 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16172 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16173 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16174 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16175 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16176 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16177 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16178 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16179 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16180 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16181 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16182 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16183 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16184 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16185 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16186 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16187 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16188 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16189 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16190 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16191 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16192 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16193 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16194 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16195 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16196 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16197 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16198 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16199 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16200 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16201 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16202 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16203 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16204 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16205 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16206 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16207 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16208 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16209 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16210 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16211 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16212 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16213 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16214 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16215 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16216 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16217 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16218 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16221 LTCFLAGS='$LTCFLAGS'
16222 compiler='$compiler_DEFAULT'
16224 # A function that is used when there is no print builtin or printf.
16225 func_fallback_echo ()
16227 eval 'cat <<_LTECHO_EOF
16232 # Quote evaled strings.
16249 deplibs_check_method \
16253 sharedlib_from_linklib_cmd \
16256 archiver_list_spec \
16262 lt_cv_sys_global_symbol_pipe \
16263 lt_cv_sys_global_symbol_to_cdecl \
16264 lt_cv_sys_global_symbol_to_c_name_address \
16265 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16266 nm_file_list_spec \
16267 lt_prog_compiler_no_builtin_flag \
16268 lt_prog_compiler_pic \
16269 lt_prog_compiler_wl \
16270 lt_prog_compiler_static \
16271 lt_cv_prog_compiler_c_o \
16280 export_dynamic_flag_spec \
16281 whole_archive_flag_spec \
16282 compiler_needs_object \
16284 allow_undefined_flag \
16285 no_undefined_flag \
16286 hardcode_libdir_flag_spec \
16287 hardcode_libdir_separator \
16291 variables_saved_for_relink \
16293 library_names_spec \
16295 install_override_mode \
16299 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16300 *[\\\\\\\`\\"\\\$]*)
16301 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16304 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16309 # Double-quote double-evaled strings.
16310 for var in reload_cmds \
16311 old_postinstall_cmds \
16312 old_postuninstall_cmds \
16314 extract_expsyms_cmds \
16315 old_archive_from_new_cmds \
16316 old_archive_from_expsyms_cmds \
16318 archive_expsym_cmds \
16320 module_expsym_cmds \
16321 export_symbols_cmds \
16325 postuninstall_cmds \
16327 sys_lib_search_path_spec \
16328 sys_lib_dlsearch_path_spec; do
16329 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16330 *[\\\\\\\`\\"\\\$]*)
16331 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16334 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16339 ac_aux_dir='$ac_aux_dir'
16340 xsi_shell='$xsi_shell'
16341 lt_shell_append='$lt_shell_append'
16343 # See if we are running on zsh, and set the options which allow our
16344 # commands through without removal of \ escapes INIT.
16345 if test -n "\${ZSH_VERSION+set}" ; then
16346 setopt NO_GLOB_SUBST
16352 TIMESTAMP='$TIMESTAMP'
16361 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16363 # Handling of arguments.
16364 for ac_config_target in $ac_config_targets
16366 case $ac_config_target in
16367 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16368 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16369 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16370 "e_dbus.spec") CONFIG_FILES="$CONFIG_FILES e_dbus.spec" ;;
16371 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16372 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16373 "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
16374 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16375 "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
16376 "src/lib/bluez/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/bluez/Makefile" ;;
16377 "src/lib/connman0_7x/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/connman0_7x/Makefile" ;;
16378 "src/lib/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/dbus/Makefile" ;;
16379 "src/lib/hal/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/hal/Makefile" ;;
16380 "src/lib/notification/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/notification/Makefile" ;;
16381 "src/lib/ofono/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ofono/Makefile" ;;
16382 "src/lib/ukit/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ukit/Makefile" ;;
16383 "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
16384 "ebluez.pc") CONFIG_FILES="$CONFIG_FILES ebluez.pc" ;;
16385 "econnman-0.7x.pc") CONFIG_FILES="$CONFIG_FILES econnman-0.7x.pc" ;;
16386 "edbus.pc") CONFIG_FILES="$CONFIG_FILES edbus.pc" ;;
16387 "ehal.pc") CONFIG_FILES="$CONFIG_FILES ehal.pc" ;;
16388 "enotify.pc") CONFIG_FILES="$CONFIG_FILES enotify.pc" ;;
16389 "eofono.pc") CONFIG_FILES="$CONFIG_FILES eofono.pc" ;;
16390 "eukit.pc") CONFIG_FILES="$CONFIG_FILES eukit.pc" ;;
16392 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16397 # If the user did not use the arguments to specify the items to instantiate,
16398 # then the envvar interface is used. Set only those that are not.
16399 # We use the long form for the default assignment because of an extremely
16400 # bizarre bug on SunOS 4.1.3.
16401 if $ac_need_defaults; then
16402 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16403 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16404 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16407 # Have a temporary directory for convenience. Make it in the build tree
16408 # simply because there is no reason against having it here, and in addition,
16409 # creating and moving files from /tmp can sometimes cause problems.
16410 # Hook for its removal unless debugging.
16411 # Note that there is a small window in which the directory will not be cleaned:
16412 # after its creation but before its name has been assigned to `$tmp'.
16416 trap 'exit_status=$?
16417 : "${ac_tmp:=$tmp}"
16418 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16420 trap 'as_fn_exit 1' 1 2 13 15
16422 # Create a (secure) tmp directory for tmp files.
16425 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16429 tmp=./conf$$-$RANDOM
16430 (umask 077 && mkdir "$tmp")
16431 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16434 # Set up the scripts for CONFIG_FILES section.
16435 # No need to generate them if there are no CONFIG_FILES.
16436 # This happens for instance with `./config.status config.h'.
16437 if test -n "$CONFIG_FILES"; then
16440 ac_cr=`echo X | tr X '\015'`
16441 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16442 # But we know of no other shell where ac_cr would be empty at this
16443 # point, so we can use a bashism as a fallback.
16444 if test "x$ac_cr" = x; then
16445 eval ac_cr=\$\'\\r\'
16447 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16448 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16451 ac_cs_awk_cr=$ac_cr
16454 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16459 echo "cat >conf$$subs.awk <<_ACEOF" &&
16460 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16462 } >conf$$subs.sh ||
16463 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16464 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16466 for ac_last_try in false false false false false :; do
16467 . ./conf$$subs.sh ||
16468 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16470 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16471 if test $ac_delim_n = $ac_delim_num; then
16473 elif $ac_last_try; then
16474 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16476 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16479 rm -f conf$$subs.sh
16481 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16482 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16486 s/^/S["/; s/!.*/"]=/
16496 s/\(.\{148\}\)..*/\1/
16498 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16503 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16510 s/\(.\{148\}\)..*/\1/
16512 s/["\\]/\\&/g; s/^/"/; s/$/"/
16516 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16521 ' <conf$$subs.awk | sed '
16526 ' >>$CONFIG_STATUS || ac_write_fail=1
16527 rm -f conf$$subs.awk
16528 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16530 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16531 for (key in S) S_is_set[key] = 1
16537 nfields = split(line, field, "@")
16539 len = length(field[1])
16540 for (i = 2; i < nfields; i++) {
16542 keylen = length(key)
16543 if (S_is_set[key]) {
16545 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16546 len += length(value) + length(field[++i])
16557 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16558 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16559 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16562 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16563 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16566 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16567 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16568 # trailing colons and then remove the whole line if VPATH becomes empty
16569 # (actually we leave an empty line to preserve line numbers).
16570 if test "x$srcdir" = x.; then
16571 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16589 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16590 fi # test -n "$CONFIG_FILES"
16592 # Set up the scripts for CONFIG_HEADERS section.
16593 # No need to generate them if there are no CONFIG_HEADERS.
16594 # This happens for instance with `./config.status Makefile'.
16595 if test -n "$CONFIG_HEADERS"; then
16596 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16600 # Transform confdefs.h into an awk script `defines.awk', embedded as
16601 # here-document in config.status, that substitutes the proper values into
16602 # config.h.in to produce config.h.
16604 # Create a delimiter string that does not exist in confdefs.h, to ease
16605 # handling of long lines.
16607 for ac_last_try in false false :; do
16608 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16609 if test -z "$ac_tt"; then
16611 elif $ac_last_try; then
16612 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16614 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16618 # For the awk script, D is an array of macro values keyed by name,
16619 # likewise P contains macro parameters if any. Preserve backslash
16620 # newline sequences.
16622 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16624 s/.\{148\}/&'"$ac_delim"'/g
16627 s/^[ ]*#[ ]*define[ ][ ]*/ /
16634 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16636 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16640 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16641 D["\1"]=" \3\\\\\\n"\\/p
16643 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16648 s/.\{148\}/&'"$ac_delim"'/g
16653 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16656 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16658 ' <confdefs.h | sed '
16659 s/'"$ac_delim"'/"\\\
16660 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16662 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16663 for (key in D) D_is_set[key] = 1
16666 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16668 split(line, arg, " ")
16669 if (arg[1] == "#") {
16673 defundef = substr(arg[1], 2)
16676 split(mac1, mac2, "(") #)
16678 prefix = substr(line, 1, index(line, defundef) - 1)
16679 if (D_is_set[macro]) {
16680 # Preserve the white space surrounding the "#".
16681 print prefix "define", macro P[macro] D[macro]
16684 # Replace #undef with comments. This is necessary, for example,
16685 # in the case of _POSIX_SOURCE, which is predefined and required
16686 # on some systems where configure will not decide to define it.
16687 if (defundef == "undef") {
16688 print "/*", prefix defundef, macro, "*/"
16696 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16697 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16698 fi # test -n "$CONFIG_HEADERS"
16701 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16706 :[FHLC]) ac_mode=$ac_tag; continue;;
16708 case $ac_mode$ac_tag in
16710 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16711 :[FH]-) ac_tag=-:-;;
16712 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16729 -) ac_f="$ac_tmp/stdin";;
16730 *) # Look for the file first in the build tree, then in the source tree
16731 # (if the path is not absolute). The absolute path cannot be DOS-style,
16732 # because $ac_f cannot contain `:'.
16736 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16738 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16740 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16741 as_fn_append ac_file_inputs " '$ac_f'"
16744 # Let's still pretend it is `configure' which instantiates (i.e., don't
16745 # use $as_me), people would be surprised to read:
16746 # /* config.h. Generated by config.status. */
16747 configure_input='Generated from '`
16748 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16750 if test x"$ac_file" != x-; then
16751 configure_input="$ac_file. $configure_input"
16752 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16753 $as_echo "$as_me: creating $ac_file" >&6;}
16755 # Neutralize special characters interpreted by sed in replacement strings.
16756 case $configure_input in #(
16757 *\&* | *\|* | *\\* )
16758 ac_sed_conf_input=`$as_echo "$configure_input" |
16759 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16760 *) ac_sed_conf_input=$configure_input;;
16764 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16765 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16770 ac_dir=`$as_dirname -- "$ac_file" ||
16771 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16772 X"$ac_file" : 'X\(//\)[^/]' \| \
16773 X"$ac_file" : 'X\(//\)$' \| \
16774 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16775 $as_echo X"$ac_file" |
16776 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16780 /^X\(\/\/\)[^/].*/{
16793 as_dir="$ac_dir"; as_fn_mkdir_p
16797 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16799 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16800 # A ".." for each directory in $ac_dir_suffix.
16801 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16802 case $ac_top_builddir_sub in
16803 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16804 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16807 ac_abs_top_builddir=$ac_pwd
16808 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16809 # for backward compatibility:
16810 ac_top_builddir=$ac_top_build_prefix
16813 .) # We are building in place.
16815 ac_top_srcdir=$ac_top_builddir_sub
16816 ac_abs_top_srcdir=$ac_pwd ;;
16817 [\\/]* | ?:[\\/]* ) # Absolute name.
16818 ac_srcdir=$srcdir$ac_dir_suffix;
16819 ac_top_srcdir=$srcdir
16820 ac_abs_top_srcdir=$srcdir ;;
16821 *) # Relative name.
16822 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16823 ac_top_srcdir=$ac_top_build_prefix$srcdir
16824 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16826 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16836 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16837 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16839 ac_MKDIR_P=$MKDIR_P
16841 [\\/$]* | ?:[\\/]* ) ;;
16842 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16846 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16847 # If the template does not know about datarootdir, expand it.
16848 # FIXME: This hack should be removed a few years after 2.60.
16849 ac_datarootdir_hack=; ac_datarootdir_seen=
16860 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16861 *datarootdir*) ac_datarootdir_seen=yes;;
16862 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16864 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16866 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16867 ac_datarootdir_hack='
16868 s&@datadir@&$datadir&g
16869 s&@docdir@&$docdir&g
16870 s&@infodir@&$infodir&g
16871 s&@localedir@&$localedir&g
16872 s&@mandir@&$mandir&g
16873 s&\\\${datarootdir}&$datarootdir&g' ;;
16877 # Neutralize VPATH when `$srcdir' = `.'.
16878 # Shell code in configure.ac might set extrasub.
16879 # FIXME: do we really want to maintain this feature?
16880 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16881 ac_sed_extra="$ac_vpsub
16884 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16886 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16887 s|@configure_input@|$ac_sed_conf_input|;t t
16888 s&@top_builddir@&$ac_top_builddir_sub&;t t
16889 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16890 s&@srcdir@&$ac_srcdir&;t t
16891 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16892 s&@top_srcdir@&$ac_top_srcdir&;t t
16893 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16894 s&@builddir@&$ac_builddir&;t t
16895 s&@abs_builddir@&$ac_abs_builddir&;t t
16896 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16897 s&@INSTALL@&$ac_INSTALL&;t t
16898 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16899 $ac_datarootdir_hack
16901 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16902 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16904 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16905 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16906 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16907 "$ac_tmp/out"`; test -z "$ac_out"; } &&
16908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16909 which seems to be undefined. Please make sure it is defined" >&5
16910 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16911 which seems to be undefined. Please make sure it is defined" >&2;}
16913 rm -f "$ac_tmp/stdin"
16915 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16916 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16918 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16924 if test x"$ac_file" != x-; then
16926 $as_echo "/* $configure_input */" \
16927 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16928 } >"$ac_tmp/config.h" \
16929 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16930 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16931 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16932 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16935 mv "$ac_tmp/config.h" "$ac_file" \
16936 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16939 $as_echo "/* $configure_input */" \
16940 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16941 || as_fn_error $? "could not create -" "$LINENO" 5
16943 # Compute "$ac_file"'s index in $config_headers.
16946 for _am_header in $config_headers :; do
16947 case $_am_header in
16948 $_am_arg | $_am_arg:* )
16951 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16954 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16955 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16956 X"$_am_arg" : 'X\(//\)[^/]' \| \
16957 X"$_am_arg" : 'X\(//\)$' \| \
16958 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16959 $as_echo X"$_am_arg" |
16960 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16964 /^X\(\/\/\)[^/].*/{
16976 s/.*/./; q'`/stamp-h$_am_stamp_count
16979 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16980 $as_echo "$as_me: executing $ac_file commands" >&6;}
16985 case $ac_file$ac_mode in
16986 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16987 # Older Autoconf quotes --file arguments for eval, but not when files
16988 # are listed without --file. Let's play safe and only enable the eval
16989 # if we detect the quoting.
16990 case $CONFIG_FILES in
16991 *\'*) eval set x "$CONFIG_FILES" ;;
16992 *) set x $CONFIG_FILES ;;
16997 # Strip MF so we end up with the name of the file.
16998 mf=`echo "$mf" | sed -e 's/:.*$//'`
16999 # Check whether this is an Automake generated Makefile or not.
17000 # We used to match only the files named 'Makefile.in', but
17001 # some people rename them; so instead we look at the file content.
17002 # Grep'ing the first line is not enough: some people post-process
17003 # each Makefile.in and add a new line on top of each file to say so.
17004 # Grep'ing the whole file is not good either: AIX grep has a line
17005 # limit of 2048, but all sed's we know have understand at least 4000.
17006 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17007 dirpart=`$as_dirname -- "$mf" ||
17008 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17009 X"$mf" : 'X\(//\)[^/]' \| \
17010 X"$mf" : 'X\(//\)$' \| \
17011 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17013 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17017 /^X\(\/\/\)[^/].*/{
17033 # Extract the definition of DEPDIR, am__include, and am__quote
17034 # from the Makefile without running 'make'.
17035 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17036 test -z "$DEPDIR" && continue
17037 am__include=`sed -n 's/^am__include = //p' < "$mf"`
17038 test -z "$am__include" && continue
17039 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17040 # Find all dependency output files, they are included files with
17041 # $(DEPDIR) in their names. We invoke sed twice because it is the
17042 # simplest approach to changing $(DEPDIR) to its actual value in the
17044 for file in `sed -n "
17045 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17046 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17047 # Make sure the directory exists.
17048 test -f "$dirpart/$file" && continue
17049 fdir=`$as_dirname -- "$file" ||
17050 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17051 X"$file" : 'X\(//\)[^/]' \| \
17052 X"$file" : 'X\(//\)$' \| \
17053 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17054 $as_echo X"$file" |
17055 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17059 /^X\(\/\/\)[^/].*/{
17072 as_dir=$dirpart/$fdir; as_fn_mkdir_p
17073 # echo "creating $dirpart/$file"
17074 echo '# dummy' > "$dirpart/$file"
17081 # See if we are running on zsh, and set the options which allow our
17082 # commands through without removal of \ escapes.
17083 if test -n "${ZSH_VERSION+set}" ; then
17084 setopt NO_GLOB_SUBST
17087 cfgfile="${ofile}T"
17088 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17091 cat <<_LT_EOF >> "$cfgfile"
17094 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17095 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17096 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17097 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17099 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17100 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17102 # Written by Gordon Matzigkeit, 1996
17104 # This file is part of GNU Libtool.
17106 # GNU Libtool is free software; you can redistribute it and/or
17107 # modify it under the terms of the GNU General Public License as
17108 # published by the Free Software Foundation; either version 2 of
17109 # the License, or (at your option) any later version.
17111 # As a special exception to the GNU General Public License,
17112 # if you distribute this file as part of a program or library that
17113 # is built using GNU Libtool, you may include this file under the
17114 # same distribution terms that you use for the rest of that program.
17116 # GNU Libtool is distributed in the hope that it will be useful,
17117 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17118 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17119 # GNU General Public License for more details.
17121 # You should have received a copy of the GNU General Public License
17122 # along with GNU Libtool; see the file COPYING. If not, a copy
17123 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17124 # obtained by writing to the Free Software Foundation, Inc.,
17125 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17128 # The names of the tagged configurations supported by this script.
17131 # ### BEGIN LIBTOOL CONFIG
17133 # Assembler program.
17136 # DLL creation program.
17137 DLLTOOL=$lt_DLLTOOL
17139 # Object dumper program.
17140 OBJDUMP=$lt_OBJDUMP
17142 # Which release of libtool.m4 was used?
17143 macro_version=$macro_version
17144 macro_revision=$macro_revision
17146 # Whether or not to build shared libraries.
17147 build_libtool_libs=$enable_shared
17149 # Whether or not to build static libraries.
17150 build_old_libs=$enable_static
17152 # What type of objects to build.
17155 # Whether or not to optimize for fast installation.
17156 fast_install=$enable_fast_install
17158 # Shell to use when invoking shell scripts.
17161 # An echo program that protects backslashes.
17164 # The PATH separator for the build system.
17165 PATH_SEPARATOR=$lt_PATH_SEPARATOR
17168 host_alias=$host_alias
17172 # The build system.
17173 build_alias=$build_alias
17177 # A sed program that does not truncate output.
17180 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17181 Xsed="\$SED -e 1s/^X//"
17183 # A grep program that handles long lines.
17189 # A literal string matcher.
17192 # A BSD- or MS-compatible name lister.
17195 # Whether we need soft or hard links.
17198 # What is the maximum length of a command?
17199 max_cmd_len=$max_cmd_len
17201 # Object file suffix (normally "o").
17204 # Executable file suffix (normally "").
17207 # whether the shell understands "unset".
17210 # turn spaces into newlines.
17213 # turn newlines into spaces.
17216 # convert \$build file names to \$host format.
17217 to_host_file_cmd=$lt_cv_to_host_file_cmd
17219 # convert \$build files to toolchain format.
17220 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17222 # Method to check whether dependent libraries are shared objects.
17223 deplibs_check_method=$lt_deplibs_check_method
17225 # Command to use when deplibs_check_method = "file_magic".
17226 file_magic_cmd=$lt_file_magic_cmd
17228 # How to find potential files when deplibs_check_method = "file_magic".
17229 file_magic_glob=$lt_file_magic_glob
17231 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17232 want_nocaseglob=$lt_want_nocaseglob
17234 # Command to associate shared and link libraries.
17235 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17240 # Flags to create an archive.
17241 AR_FLAGS=$lt_AR_FLAGS
17243 # How to feed a file listing to the archiver.
17244 archiver_list_spec=$lt_archiver_list_spec
17246 # A symbol stripping program.
17249 # Commands used to install an old-style archive.
17251 old_postinstall_cmds=$lt_old_postinstall_cmds
17252 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17254 # Whether to use a lock for old archive extraction.
17255 lock_old_archive_extraction=$lock_old_archive_extraction
17260 # LTCC compiler flags.
17261 LTCFLAGS=$lt_CFLAGS
17263 # Take the output of nm and produce a listing of raw symbols and C names.
17264 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17266 # Transform the output of nm in a proper C declaration.
17267 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17269 # Transform the output of nm in a C name address pair.
17270 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17272 # Transform the output of nm in a C name address pair when lib prefix is needed.
17273 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17275 # Specify filename containing input files for \$NM.
17276 nm_file_list_spec=$lt_nm_file_list_spec
17278 # The root where to search for dependent libraries,and in which our libraries should be installed.
17279 lt_sysroot=$lt_sysroot
17281 # The name of the directory that contains temporary libtool files.
17284 # Used to examine libraries when file_magic_cmd begins with "file".
17285 MAGIC_CMD=$MAGIC_CMD
17287 # Must we lock files when doing compilation?
17288 need_locks=$lt_need_locks
17291 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17293 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17294 DSYMUTIL=$lt_DSYMUTIL
17296 # Tool to change global to local symbols on Mac OS X.
17299 # Tool to manipulate fat objects and archives on Mac OS X.
17302 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17305 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17306 OTOOL64=$lt_OTOOL64
17308 # Old archive suffix (normally "a").
17311 # Shared library suffix (normally ".so").
17312 shrext_cmds=$lt_shrext_cmds
17314 # The commands to extract the exported symbol list from a shared archive.
17315 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17317 # Variables whose values should be saved in libtool wrapper scripts and
17318 # restored at link time.
17319 variables_saved_for_relink=$lt_variables_saved_for_relink
17321 # Do we need the "lib" prefix for modules?
17322 need_lib_prefix=$need_lib_prefix
17324 # Do we need a version for libraries?
17325 need_version=$need_version
17327 # Library versioning type.
17328 version_type=$version_type
17330 # Shared library runtime path variable.
17331 runpath_var=$runpath_var
17333 # Shared library path variable.
17334 shlibpath_var=$shlibpath_var
17336 # Is shlibpath searched before the hard-coded library search path?
17337 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17339 # Format of library name prefix.
17340 libname_spec=$lt_libname_spec
17342 # List of archive names. First name is the real one, the rest are links.
17343 # The last name is the one that the linker finds with -lNAME
17344 library_names_spec=$lt_library_names_spec
17346 # The coded name of the library, if different from the real name.
17347 soname_spec=$lt_soname_spec
17349 # Permission mode override for installation of shared libraries.
17350 install_override_mode=$lt_install_override_mode
17352 # Command to use after installation of a shared archive.
17353 postinstall_cmds=$lt_postinstall_cmds
17355 # Command to use after uninstallation of a shared archive.
17356 postuninstall_cmds=$lt_postuninstall_cmds
17358 # Commands used to finish a libtool library installation in a directory.
17359 finish_cmds=$lt_finish_cmds
17361 # As "finish_cmds", except a single script fragment to be evaled but
17363 finish_eval=$lt_finish_eval
17365 # Whether we should hardcode library paths into libraries.
17366 hardcode_into_libs=$hardcode_into_libs
17368 # Compile-time system search path for libraries.
17369 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17371 # Run-time system search path for libraries.
17372 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17374 # Whether dlopen is supported.
17375 dlopen_support=$enable_dlopen
17377 # Whether dlopen of programs is supported.
17378 dlopen_self=$enable_dlopen_self
17380 # Whether dlopen of statically linked programs is supported.
17381 dlopen_self_static=$enable_dlopen_self_static
17383 # Commands to strip libraries.
17384 old_striplib=$lt_old_striplib
17385 striplib=$lt_striplib
17388 # The linker used to build libraries.
17391 # How to create reloadable object files.
17392 reload_flag=$lt_reload_flag
17393 reload_cmds=$lt_reload_cmds
17395 # Commands used to build an old-style archive.
17396 old_archive_cmds=$lt_old_archive_cmds
17398 # A language specific compiler.
17401 # Is the compiler the GNU compiler?
17404 # Compiler flag to turn off builtin functions.
17405 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17407 # Additional compiler flags for building library objects.
17408 pic_flag=$lt_lt_prog_compiler_pic
17410 # How to pass a linker flag through the compiler.
17411 wl=$lt_lt_prog_compiler_wl
17413 # Compiler flag to prevent dynamic linking.
17414 link_static_flag=$lt_lt_prog_compiler_static
17416 # Does compiler simultaneously support -c and -o options?
17417 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17419 # Whether or not to add -lc for building shared libraries.
17420 build_libtool_need_lc=$archive_cmds_need_lc
17422 # Whether or not to disallow shared libs when runtime libs are static.
17423 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17425 # Compiler flag to allow reflexive dlopens.
17426 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17428 # Compiler flag to generate shared objects directly from archives.
17429 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17431 # Whether the compiler copes with passing no objects directly.
17432 compiler_needs_object=$lt_compiler_needs_object
17434 # Create an old-style archive from a shared archive.
17435 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17437 # Create a temporary old-style archive to link instead of a shared archive.
17438 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17440 # Commands used to build a shared archive.
17441 archive_cmds=$lt_archive_cmds
17442 archive_expsym_cmds=$lt_archive_expsym_cmds
17444 # Commands used to build a loadable module if different from building
17445 # a shared archive.
17446 module_cmds=$lt_module_cmds
17447 module_expsym_cmds=$lt_module_expsym_cmds
17449 # Whether we are building with GNU ld or not.
17450 with_gnu_ld=$lt_with_gnu_ld
17452 # Flag that allows shared libraries with undefined symbols to be built.
17453 allow_undefined_flag=$lt_allow_undefined_flag
17455 # Flag that enforces no undefined symbols.
17456 no_undefined_flag=$lt_no_undefined_flag
17458 # Flag to hardcode \$libdir into a binary during linking.
17459 # This must work even if \$libdir does not exist
17460 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17462 # Whether we need a single "-rpath" flag with a separated argument.
17463 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17465 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17466 # DIR into the resulting binary.
17467 hardcode_direct=$hardcode_direct
17469 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17470 # DIR into the resulting binary and the resulting library dependency is
17471 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17472 # library is relocated.
17473 hardcode_direct_absolute=$hardcode_direct_absolute
17475 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17476 # into the resulting binary.
17477 hardcode_minus_L=$hardcode_minus_L
17479 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17480 # into the resulting binary.
17481 hardcode_shlibpath_var=$hardcode_shlibpath_var
17483 # Set to "yes" if building a shared library automatically hardcodes DIR
17484 # into the library and all subsequent libraries and executables linked
17486 hardcode_automatic=$hardcode_automatic
17488 # Set to yes if linker adds runtime paths of dependent libraries
17489 # to runtime path list.
17490 inherit_rpath=$inherit_rpath
17492 # Whether libtool must link a program against all its dependency libraries.
17493 link_all_deplibs=$link_all_deplibs
17495 # Set to "yes" if exported symbols are required.
17496 always_export_symbols=$always_export_symbols
17498 # The commands to list exported symbols.
17499 export_symbols_cmds=$lt_export_symbols_cmds
17501 # Symbols that should not be listed in the preloaded symbols.
17502 exclude_expsyms=$lt_exclude_expsyms
17504 # Symbols that must always be exported.
17505 include_expsyms=$lt_include_expsyms
17507 # Commands necessary for linking programs (against libraries) with templates.
17508 prelink_cmds=$lt_prelink_cmds
17510 # Commands necessary for finishing linking programs.
17511 postlink_cmds=$lt_postlink_cmds
17513 # Specify filename containing input files.
17514 file_list_spec=$lt_file_list_spec
17516 # How to hardcode a shared library path into an executable.
17517 hardcode_action=$hardcode_action
17519 # ### END LIBTOOL CONFIG
17525 cat <<\_LT_EOF >> "$cfgfile"
17526 # AIX sometimes has problems with the GCC collect2 program. For some
17527 # reason, if we set the COLLECT_NAMES environment variable, the problems
17528 # vanish in a puff of smoke.
17529 if test "X${COLLECT_NAMES+set}" != Xset; then
17531 export COLLECT_NAMES
17538 ltmain="$ac_aux_dir/ltmain.sh"
17541 # We use sed instead of cat because bash on DJGPP gets confused if
17542 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17543 # text mode, it properly converts lines to CR/LF. This bash problem
17544 # is reportedly fixed, but why not run on old versions too?
17545 sed '$q' "$ltmain" >> "$cfgfile" \
17546 || (rm -f "$cfgfile"; exit 1)
17548 if test x"$xsi_shell" = xyes; then
17549 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17553 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17554 \ * ) func_dirname_result="${3}" ;;\
17556 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17557 && mv -f "$cfgfile.tmp" "$cfgfile" \
17558 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17559 test 0 -eq $? || _lt_function_replace_fail=:
17562 sed -e '/^func_basename ()$/,/^} # func_basename /c\
17565 \ func_basename_result="${1##*/}"\
17566 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17567 && mv -f "$cfgfile.tmp" "$cfgfile" \
17568 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17569 test 0 -eq $? || _lt_function_replace_fail=:
17572 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17573 func_dirname_and_basename ()\
17576 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17577 \ * ) func_dirname_result="${3}" ;;\
17579 \ func_basename_result="${1##*/}"\
17580 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17581 && mv -f "$cfgfile.tmp" "$cfgfile" \
17582 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17583 test 0 -eq $? || _lt_function_replace_fail=:
17586 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17589 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17590 \ # positional parameters, so assign one to ordinary parameter first.\
17591 \ func_stripname_result=${3}\
17592 \ func_stripname_result=${func_stripname_result#"${1}"}\
17593 \ func_stripname_result=${func_stripname_result%"${2}"}\
17594 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17595 && mv -f "$cfgfile.tmp" "$cfgfile" \
17596 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17597 test 0 -eq $? || _lt_function_replace_fail=:
17600 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17601 func_split_long_opt ()\
17603 \ func_split_long_opt_name=${1%%=*}\
17604 \ func_split_long_opt_arg=${1#*=}\
17605 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17606 && mv -f "$cfgfile.tmp" "$cfgfile" \
17607 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17608 test 0 -eq $? || _lt_function_replace_fail=:
17611 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17612 func_split_short_opt ()\
17614 \ func_split_short_opt_arg=${1#??}\
17615 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17616 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17617 && mv -f "$cfgfile.tmp" "$cfgfile" \
17618 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17619 test 0 -eq $? || _lt_function_replace_fail=:
17622 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17626 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17627 \ *) func_lo2o_result=${1} ;;\
17629 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17630 && mv -f "$cfgfile.tmp" "$cfgfile" \
17631 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17632 test 0 -eq $? || _lt_function_replace_fail=:
17635 sed -e '/^func_xform ()$/,/^} # func_xform /c\
17638 func_xform_result=${1%.*}.lo\
17639 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17640 && mv -f "$cfgfile.tmp" "$cfgfile" \
17641 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17642 test 0 -eq $? || _lt_function_replace_fail=:
17645 sed -e '/^func_arith ()$/,/^} # func_arith /c\
17648 func_arith_result=$(( $* ))\
17649 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17650 && mv -f "$cfgfile.tmp" "$cfgfile" \
17651 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17652 test 0 -eq $? || _lt_function_replace_fail=:
17655 sed -e '/^func_len ()$/,/^} # func_len /c\
17658 func_len_result=${#1}\
17659 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17660 && mv -f "$cfgfile.tmp" "$cfgfile" \
17661 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17662 test 0 -eq $? || _lt_function_replace_fail=:
17666 if test x"$lt_shell_append" = xyes; then
17667 sed -e '/^func_append ()$/,/^} # func_append /c\
17670 eval "${1}+=\\${2}"\
17671 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17672 && mv -f "$cfgfile.tmp" "$cfgfile" \
17673 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17674 test 0 -eq $? || _lt_function_replace_fail=:
17677 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17678 func_append_quoted ()\
17680 \ func_quote_for_eval "${2}"\
17681 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17682 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17683 && mv -f "$cfgfile.tmp" "$cfgfile" \
17684 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17685 test 0 -eq $? || _lt_function_replace_fail=:
17688 # Save a `func_append' function call where possible by direct use of '+='
17689 sed -e 's%func_append \([a-zA-Z_]\{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=:
17694 # Save a `func_append' function call even when '+=' is not available
17695 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17696 && mv -f "$cfgfile.tmp" "$cfgfile" \
17697 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17698 test 0 -eq $? || _lt_function_replace_fail=:
17701 if test x"$_lt_function_replace_fail" = x":"; then
17702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17703 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17707 mv -f "$cfgfile" "$ofile" ||
17708 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17719 ac_clean_files=$ac_clean_files_save
17721 test $ac_write_fail = 0 ||
17722 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17725 # configure is writing to config.log, and then calls config.status.
17726 # config.status does its own redirection, appending to config.log.
17727 # Unfortunately, on DOS this fails, as config.log is still kept open
17728 # by configure, so config.status won't be able to write to it; its
17729 # output is simply discarded. So we exec the FD to /dev/null,
17730 # effectively closing config.log, so it can be properly (re)opened and
17731 # appended to by config.status. When coming back to configure, we
17732 # need to make the FD available again.
17733 if test "$no_create" != yes; then
17735 ac_config_status_args=
17736 test "$silent" = yes &&
17737 ac_config_status_args="$ac_config_status_args --quiet"
17739 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17741 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17742 # would make configure fail if this is the last instruction.
17743 $ac_cs_success || as_fn_exit 1
17745 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17747 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17752 #####################################################################
17758 echo "------------------------------------------------------------------------"
17759 echo "$PACKAGE $VERSION"
17760 echo "------------------------------------------------------------------------"
17762 echo "Configuration Options Summary:"
17766 echo " EBluez.............: $enable_ebluez"
17767 echo " EConnman (0.7x)....: $enable_econnman0_7x"
17768 echo " EHal...............: $enable_ehal"
17769 echo " ENotify............: $enable_enotify"
17770 echo " EOfono.............: $enable_eofono"
17771 echo " EUkit..............: $enable_eukit"
17775 echo " EDbus test.........: $have_edbus_test"
17776 echo " EDbus client test..: $have_edbus_test_client"
17777 echo " EDbus async test...: $have_edbus_async_test"
17778 echo " EDbus performance..: $have_edbus_performance_test"
17779 echo " EBluez test........: $have_edbus_bluez_test"
17780 echo " EConnman (0.7x)test: $have_edbus_connman0_7x_test"
17781 echo " ENotify Daemon test: $have_edbus_notification_daemon_test"
17782 echo " ENotify send.......: $have_edbus_notify_send"
17783 echo " ENotify test.......: $have_edbus_notify_test"
17784 echo " EOfono test........: $have_edbus_ofono_test"
17785 echo " EUkit test.........: $have_edbus_ukit_test"
17787 echo "Documentation..........: ${build_doc}"
17788 if test "x${build_doc}" = "xyes" ; then
17789 echo " Installation.......: make install-doc"
17792 echo "Compilation............: make (or gmake)"
17793 echo " CPPFLAGS.............: $CPPFLAGS"
17794 echo " CFLAGS...............: $CFLAGS"
17795 echo " LDFLAGS..............: $LDFLAGS"
17797 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
17798 echo " prefix...............: $prefix"