2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for e_dbus 1.7.7.
5 # Report bugs to <enlightenment-devel@lists.sourceforge.net>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 PATH=/empty FPATH=/empty; export PATH FPATH
183 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186 if (eval "$as_required") 2>/dev/null; then :
191 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
199 test -z "$as_dir" && as_dir=.
203 for as_base in sh bash ksh sh5; do
204 # Try only shells that exist, to save several forks.
205 as_shell=$as_dir/$as_base
206 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 CONFIG_SHELL=$as_shell as_have_required=yes
209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219 CONFIG_SHELL=$SHELL as_have_required=yes
224 if test "x$CONFIG_SHELL" != x; then :
225 # We cannot yet assume a decent shell, so we have to provide a
226 # neutralization value for shells without unset; and this also
227 # works around shells that cannot unset nonexistent variables.
228 # Preserve -v and -x to the replacement shell.
231 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
234 *v*x* | *x*v* ) as_opts=-vx ;;
239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242 if test x$as_have_required = xno; then :
243 $as_echo "$0: This script requires a shell more modern than all"
244 $as_echo "$0: the shells that I found on your system."
245 if test x${ZSH_VERSION+set} = xset ; then
246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
249 $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: enlightenment-devel@lists.sourceforge.net about your
251 $0: system, including any error possibly output before this
252 $0: message. Then install a modern shell, or manually run
253 $0: the script under such a shell if you do have one."
259 SHELL=${CONFIG_SHELL-/bin/sh}
261 # Unset more variables known to interfere with behavior of common tools.
262 CLICOLOR_FORCE= GREP_OPTIONS=
263 unset CLICOLOR_FORCE GREP_OPTIONS
265 ## --------------------- ##
266 ## M4sh Shell Functions. ##
267 ## --------------------- ##
270 # Portably unset VAR.
273 { eval $1=; unset $1;}
277 # as_fn_set_status STATUS
278 # -----------------------
279 # Set $? to STATUS, without forking.
287 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
297 # Create "$as_dir" as a directory, including parents if necessary.
302 -*) as_dir=./$as_dir;;
304 test -d "$as_dir" || eval $as_mkdir_p || {
308 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
311 as_dirs="'$as_qdir' $as_dirs"
312 as_dir=`$as_dirname -- "$as_dir" ||
313 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314 X"$as_dir" : 'X\(//\)[^/]' \| \
315 X"$as_dir" : 'X\(//\)$' \| \
316 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317 $as_echo X"$as_dir" |
318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 test -d "$as_dir" && break
337 test -z "$as_dirs" || eval "mkdir $as_dirs"
338 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
342 # as_fn_append VAR VALUE
343 # ----------------------
344 # Append the text in VALUE to the end of the definition contained in VAR. Take
345 # advantage of any shell optimizations that allow amortized linear growth over
346 # repeated appends, instead of the typical quadratic growth present in naive
348 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349 eval 'as_fn_append ()
362 # Perform arithmetic evaluation on the ARGs, and store the result in the
363 # global $as_val. Take advantage of shells that can avoid forks. The arguments
364 # must be portable across $(()) and expr.
365 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
373 as_val=`expr "$@" || test $? -eq 1`
378 # as_fn_error STATUS ERROR [LINENO LOG_FD]
379 # ----------------------------------------
380 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382 # script with STATUS, using 1 if that was 0.
385 as_status=$1; test $as_status -eq 0 && as_status=1
387 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
388 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390 $as_echo "$as_me: error: $2" >&2
391 as_fn_exit $as_status
394 if expr a : '\(a\)' >/dev/null 2>&1 &&
395 test "X`expr 00001 : '.*\(...\)'`" = X001; then
401 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
407 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
413 as_me=`$as_basename -- "$0" ||
414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415 X"$0" : 'X\(//\)$' \| \
416 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
418 sed '/^.*\/\([^/][^/]*\)\/*$/{
432 # Avoid depending upon Character Ranges.
433 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
434 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
436 as_cr_digits='0123456789'
437 as_cr_alnum=$as_cr_Letters$as_cr_digits
440 as_lineno_1=$LINENO as_lineno_1a=$LINENO
441 as_lineno_2=$LINENO as_lineno_2a=$LINENO
442 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
456 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
460 chmod +x "$as_me.lineno" ||
461 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
463 # Don't try to exec as it changes $[0], causing all sort of problems
464 # (the dirname of $[0] is not the place where we might find the
465 # original and so on. Autoconf is especially sensitive to this).
467 # Exit status is that of the last command.
471 ECHO_C= ECHO_N= ECHO_T=
472 case `echo -n x` in #(((((
474 case `echo 'xy\c'` in
475 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
484 rm -f conf$$ conf$$.exe conf$$.file
485 if test -d conf$$.dir; then
486 rm -f conf$$.dir/conf$$.file
489 mkdir conf$$.dir 2>/dev/null
491 if (echo >conf$$.file) 2>/dev/null; then
492 if ln -s conf$$.file conf$$ 2>/dev/null; then
494 # ... but there are two gotchas:
495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497 # In both cases, we have to default to `cp -p'.
498 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500 elif ln conf$$.file conf$$ 2>/dev/null; then
508 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509 rmdir conf$$.dir 2>/dev/null
511 if mkdir -p . 2>/dev/null; then
512 as_mkdir_p='mkdir -p "$as_dir"'
514 test -d ./-p && rmdir ./-p
518 if test -x / >/dev/null 2>&1; then
521 if ls -dL / >/dev/null 2>&1; then
528 if test -d "$1"; then
534 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535 ???[sx]*):;;*)false;;esac;fi
539 as_executable_p=$as_test_x
541 # Sed expression to map a string onto a valid CPP name.
542 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
544 # Sed expression to map a string onto a valid variable name.
545 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547 SHELL=${CONFIG_SHELL-/bin/sh}
550 test -n "$DJDIR" || exec 7<&0 </dev/null
554 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555 # so uname gets run too.
556 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561 ac_default_prefix=/usr/local
563 ac_config_libobj_dir=.
570 # Identity of this package.
571 PACKAGE_NAME='e_dbus'
572 PACKAGE_TARNAME='e_dbus'
573 PACKAGE_VERSION='1.7.7'
574 PACKAGE_STRING='e_dbus 1.7.7'
575 PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net'
578 ac_unique_file="configure.ac"
579 # Factoring default headers for most tests.
580 ac_includes_default="\
582 #ifdef HAVE_SYS_TYPES_H
583 # include <sys/types.h>
585 #ifdef HAVE_SYS_STAT_H
586 # include <sys/stat.h>
592 # ifdef HAVE_STDLIB_H
597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 #ifdef HAVE_STRINGS_H
603 # include <strings.h>
605 #ifdef HAVE_INTTYPES_H
606 # include <inttypes.h>
615 ac_subst_vars='am__EXEEXT_FALSE
624 requirement_econnman0_7x
627 lt_enable_auto_import
629 EDBUS_ASYNC_TEST_LIBS
630 EDBUS_ASYNC_TEST_CFLAGS
631 EDBUS_PERFORMANCE_TEST_LIBS
632 EDBUS_PERFORMANCE_TEST_CFLAGS
634 EDBUS_UKIT_TEST_CFLAGS
635 EDBUS_OFONO_TEST_LIBS
636 EDBUS_OFONO_TEST_CFLAGS
637 EDBUS_NOTIFY_TEST_LIBS
638 EDBUS_NOTIFY_TEST_CFLAGS
639 EDBUS_NOTIFY_SEND_LIBS
640 EDBUS_NOTIFY_SEND_CFLAGS
641 EDBUS_NOTIFICATION_DAEMON_TEST_LIBS
642 EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS
643 EDBUS_CONNMAN0_7X_TEST_LIBS
644 EDBUS_CONNMAN0_7X_TEST_CFLAGS
645 EDBUS_BLUEZ_TEST_LIBS
646 EDBUS_BLUEZ_TEST_CFLAGS
647 EDBUS_TEST_CLIENT_LIBS
648 EDBUS_TEST_CLIENT_CFLAGS
651 BUILD_EDBUS_ASYNC_TEST_FALSE
652 BUILD_EDBUS_ASYNC_TEST_TRUE
654 BUILD_EDBUS_PERFORMANCE_TEST_FALSE
655 BUILD_EDBUS_PERFORMANCE_TEST_TRUE
656 EDBUS_PERFORMANCE_TEST_PRG
657 BUILD_EDBUS_UKIT_TEST_FALSE
658 BUILD_EDBUS_UKIT_TEST_TRUE
660 BUILD_EDBUS_OFONO_TEST_FALSE
661 BUILD_EDBUS_OFONO_TEST_TRUE
663 BUILD_EDBUS_NOTIFY_TEST_FALSE
664 BUILD_EDBUS_NOTIFY_TEST_TRUE
665 EDBUS_NOTIFY_TEST_PRG
666 BUILD_EDBUS_NOTIFY_SEND_FALSE
667 BUILD_EDBUS_NOTIFY_SEND_TRUE
668 EDBUS_NOTIFY_SEND_PRG
669 BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_FALSE
670 BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_TRUE
671 EDBUS_NOTIFICATION_DAEMON_TEST_PRG
672 BUILD_EDBUS_CONNMAN0_7X_TEST_FALSE
673 BUILD_EDBUS_CONNMAN0_7X_TEST_TRUE
674 EDBUS_CONNMAN0_7X_TEST_PRG
675 BUILD_EDBUS_BLUEZ_TEST_FALSE
676 BUILD_EDBUS_BLUEZ_TEST_TRUE
678 BUILD_EDBUS_TEST_CLIENT_FALSE
679 BUILD_EDBUS_TEST_CLIENT_TRUE
680 EDBUS_TEST_CLIENT_PRG
681 BUILD_EDBUS_TEST_FALSE
682 BUILD_EDBUS_TEST_TRUE
692 BUILD_ECONNMAN0_7X_FALSE
693 BUILD_ECONNMAN0_7X_TRUE
707 pkgconfig_requires_private
774 INSTALL_STRIP_PROGRAM
816 program_transform_name
829 enable_option_checking
835 enable_dependency_tracking
848 enable_edbus_test_client
849 enable_edbus_bluez_test
850 enable_edbus_connman0_7x_test
851 enable_edbus_notification_daemon_test
852 enable_edbus_notify_send
853 enable_edbus_notify_test
854 enable_edbus_ofono_test
855 enable_edbus_ukit_test
856 enable_edbus_performance_test
857 enable_edbus_async_test
859 ac_precious_vars='build_alias
879 EDBUS_TEST_CLIENT_CFLAGS
880 EDBUS_TEST_CLIENT_LIBS
881 EDBUS_BLUEZ_TEST_CFLAGS
882 EDBUS_BLUEZ_TEST_LIBS
883 EDBUS_CONNMAN0_7X_TEST_CFLAGS
884 EDBUS_CONNMAN0_7X_TEST_LIBS
885 EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS
886 EDBUS_NOTIFICATION_DAEMON_TEST_LIBS
887 EDBUS_NOTIFY_SEND_CFLAGS
888 EDBUS_NOTIFY_SEND_LIBS
889 EDBUS_NOTIFY_TEST_CFLAGS
890 EDBUS_NOTIFY_TEST_LIBS
891 EDBUS_OFONO_TEST_CFLAGS
892 EDBUS_OFONO_TEST_LIBS
893 EDBUS_UKIT_TEST_CFLAGS
895 EDBUS_PERFORMANCE_TEST_CFLAGS
896 EDBUS_PERFORMANCE_TEST_LIBS
897 EDBUS_ASYNC_TEST_CFLAGS
898 EDBUS_ASYNC_TEST_LIBS'
901 # Initialize some variables set by options.
903 ac_init_version=false
904 ac_unrecognized_opts=
906 # The variables have the same names as the options, with
907 # dashes changed to underlines.
915 program_transform_name=s,x,x,
923 # Installation directory options.
924 # These are left unexpanded so users can "make install exec_prefix=/foo"
925 # and all the variables that are supposed to be based on exec_prefix
926 # by default will actually change.
927 # Use braces instead of parens because sh, perl, etc. also accept them.
928 # (The list follows the same order as the GNU Coding Standards.)
929 bindir='${exec_prefix}/bin'
930 sbindir='${exec_prefix}/sbin'
931 libexecdir='${exec_prefix}/libexec'
932 datarootdir='${prefix}/share'
933 datadir='${datarootdir}'
934 sysconfdir='${prefix}/etc'
935 sharedstatedir='${prefix}/com'
936 localstatedir='${prefix}/var'
937 includedir='${prefix}/include'
938 oldincludedir='/usr/include'
939 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
940 infodir='${datarootdir}/info'
945 libdir='${exec_prefix}/lib'
946 localedir='${datarootdir}/locale'
947 mandir='${datarootdir}/man'
953 # If the previous option needs an argument, assign it.
954 if test -n "$ac_prev"; then
955 eval $ac_prev=\$ac_option
961 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
966 # Accept the important Cygnus configure options, so we can diagnose typos.
968 case $ac_dashdash$ac_option in
972 -bindir | --bindir | --bindi | --bind | --bin | --bi)
974 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
977 -build | --build | --buil | --bui | --bu)
978 ac_prev=build_alias ;;
979 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
980 build_alias=$ac_optarg ;;
982 -cache-file | --cache-file | --cache-fil | --cache-fi \
983 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
984 ac_prev=cache_file ;;
985 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
986 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
987 cache_file=$ac_optarg ;;
990 cache_file=config.cache ;;
992 -datadir | --datadir | --datadi | --datad)
994 -datadir=* | --datadir=* | --datadi=* | --datad=*)
995 datadir=$ac_optarg ;;
997 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
998 | --dataroo | --dataro | --datar)
999 ac_prev=datarootdir ;;
1000 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1001 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1002 datarootdir=$ac_optarg ;;
1004 -disable-* | --disable-*)
1005 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1006 # Reject names that are not valid shell variable names.
1007 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1008 as_fn_error $? "invalid feature name: $ac_useropt"
1009 ac_useropt_orig=$ac_useropt
1010 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1011 case $ac_user_opts in
1013 "enable_$ac_useropt"
1015 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1016 ac_unrecognized_sep=', ';;
1018 eval enable_$ac_useropt=no ;;
1020 -docdir | --docdir | --docdi | --doc | --do)
1022 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1023 docdir=$ac_optarg ;;
1025 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1027 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1028 dvidir=$ac_optarg ;;
1030 -enable-* | --enable-*)
1031 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1032 # Reject names that are not valid shell variable names.
1033 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1034 as_fn_error $? "invalid feature name: $ac_useropt"
1035 ac_useropt_orig=$ac_useropt
1036 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1037 case $ac_user_opts in
1039 "enable_$ac_useropt"
1041 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1042 ac_unrecognized_sep=', ';;
1044 eval enable_$ac_useropt=\$ac_optarg ;;
1046 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1047 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1048 | --exec | --exe | --ex)
1049 ac_prev=exec_prefix ;;
1050 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1051 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1052 | --exec=* | --exe=* | --ex=*)
1053 exec_prefix=$ac_optarg ;;
1055 -gas | --gas | --ga | --g)
1056 # Obsolete; use --with-gas.
1059 -help | --help | --hel | --he | -h)
1060 ac_init_help=long ;;
1061 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1062 ac_init_help=recursive ;;
1063 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1064 ac_init_help=short ;;
1066 -host | --host | --hos | --ho)
1067 ac_prev=host_alias ;;
1068 -host=* | --host=* | --hos=* | --ho=*)
1069 host_alias=$ac_optarg ;;
1071 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1073 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1075 htmldir=$ac_optarg ;;
1077 -includedir | --includedir | --includedi | --included | --include \
1078 | --includ | --inclu | --incl | --inc)
1079 ac_prev=includedir ;;
1080 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1081 | --includ=* | --inclu=* | --incl=* | --inc=*)
1082 includedir=$ac_optarg ;;
1084 -infodir | --infodir | --infodi | --infod | --info | --inf)
1086 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1087 infodir=$ac_optarg ;;
1089 -libdir | --libdir | --libdi | --libd)
1091 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1092 libdir=$ac_optarg ;;
1094 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1095 | --libexe | --libex | --libe)
1096 ac_prev=libexecdir ;;
1097 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1098 | --libexe=* | --libex=* | --libe=*)
1099 libexecdir=$ac_optarg ;;
1101 -localedir | --localedir | --localedi | --localed | --locale)
1102 ac_prev=localedir ;;
1103 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1104 localedir=$ac_optarg ;;
1106 -localstatedir | --localstatedir | --localstatedi | --localstated \
1107 | --localstate | --localstat | --localsta | --localst | --locals)
1108 ac_prev=localstatedir ;;
1109 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1110 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1111 localstatedir=$ac_optarg ;;
1113 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1115 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1116 mandir=$ac_optarg ;;
1118 -nfp | --nfp | --nf)
1119 # Obsolete; use --without-fp.
1122 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1123 | --no-cr | --no-c | -n)
1126 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1127 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1130 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1131 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1132 | --oldin | --oldi | --old | --ol | --o)
1133 ac_prev=oldincludedir ;;
1134 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1135 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1136 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1137 oldincludedir=$ac_optarg ;;
1139 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1141 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1142 prefix=$ac_optarg ;;
1144 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1145 | --program-pre | --program-pr | --program-p)
1146 ac_prev=program_prefix ;;
1147 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1148 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1149 program_prefix=$ac_optarg ;;
1151 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1152 | --program-suf | --program-su | --program-s)
1153 ac_prev=program_suffix ;;
1154 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1155 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1156 program_suffix=$ac_optarg ;;
1158 -program-transform-name | --program-transform-name \
1159 | --program-transform-nam | --program-transform-na \
1160 | --program-transform-n | --program-transform- \
1161 | --program-transform | --program-transfor \
1162 | --program-transfo | --program-transf \
1163 | --program-trans | --program-tran \
1164 | --progr-tra | --program-tr | --program-t)
1165 ac_prev=program_transform_name ;;
1166 -program-transform-name=* | --program-transform-name=* \
1167 | --program-transform-nam=* | --program-transform-na=* \
1168 | --program-transform-n=* | --program-transform-=* \
1169 | --program-transform=* | --program-transfor=* \
1170 | --program-transfo=* | --program-transf=* \
1171 | --program-trans=* | --program-tran=* \
1172 | --progr-tra=* | --program-tr=* | --program-t=*)
1173 program_transform_name=$ac_optarg ;;
1175 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1177 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1178 pdfdir=$ac_optarg ;;
1180 -psdir | --psdir | --psdi | --psd | --ps)
1182 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1185 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1186 | -silent | --silent | --silen | --sile | --sil)
1189 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1191 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1193 sbindir=$ac_optarg ;;
1195 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1196 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1197 | --sharedst | --shareds | --shared | --share | --shar \
1199 ac_prev=sharedstatedir ;;
1200 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1201 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1202 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1204 sharedstatedir=$ac_optarg ;;
1206 -site | --site | --sit)
1208 -site=* | --site=* | --sit=*)
1211 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1213 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1214 srcdir=$ac_optarg ;;
1216 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1217 | --syscon | --sysco | --sysc | --sys | --sy)
1218 ac_prev=sysconfdir ;;
1219 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1220 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1221 sysconfdir=$ac_optarg ;;
1223 -target | --target | --targe | --targ | --tar | --ta | --t)
1224 ac_prev=target_alias ;;
1225 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1226 target_alias=$ac_optarg ;;
1228 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1231 -version | --version | --versio | --versi | --vers | -V)
1232 ac_init_version=: ;;
1235 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1236 # Reject names that are not valid shell variable names.
1237 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1238 as_fn_error $? "invalid package name: $ac_useropt"
1239 ac_useropt_orig=$ac_useropt
1240 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1241 case $ac_user_opts in
1245 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1246 ac_unrecognized_sep=', ';;
1248 eval with_$ac_useropt=\$ac_optarg ;;
1250 -without-* | --without-*)
1251 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1252 # Reject names that are not valid shell variable names.
1253 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1254 as_fn_error $? "invalid package name: $ac_useropt"
1255 ac_useropt_orig=$ac_useropt
1256 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1257 case $ac_user_opts in
1261 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1262 ac_unrecognized_sep=', ';;
1264 eval with_$ac_useropt=no ;;
1267 # Obsolete; use --with-x.
1270 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1271 | --x-incl | --x-inc | --x-in | --x-i)
1272 ac_prev=x_includes ;;
1273 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1274 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1275 x_includes=$ac_optarg ;;
1277 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1278 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1279 ac_prev=x_libraries ;;
1280 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1281 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1282 x_libraries=$ac_optarg ;;
1284 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1285 Try \`$0 --help' for more information"
1289 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1290 # Reject names that are not valid shell variable names.
1291 case $ac_envvar in #(
1292 '' | [0-9]* | *[!_$as_cr_alnum]* )
1293 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1295 eval $ac_envvar=\$ac_optarg
1296 export $ac_envvar ;;
1299 # FIXME: should be removed in autoconf 3.0.
1300 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1301 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1302 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1303 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1309 if test -n "$ac_prev"; then
1310 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1311 as_fn_error $? "missing argument to $ac_option"
1314 if test -n "$ac_unrecognized_opts"; then
1315 case $enable_option_checking in
1317 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1318 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1322 # Check all directory arguments for consistency.
1323 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1324 datadir sysconfdir sharedstatedir localstatedir includedir \
1325 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1326 libdir localedir mandir
1328 eval ac_val=\$$ac_var
1329 # Remove trailing slashes.
1332 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1333 eval $ac_var=\$ac_val;;
1335 # Be sure to have absolute directory names.
1337 [\\/$]* | ?:[\\/]* ) continue;;
1338 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1340 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1343 # There might be people who depend on the old broken behavior: `$host'
1344 # used to hold the argument of --host etc.
1345 # FIXME: To remove some day.
1348 target=$target_alias
1350 # FIXME: To remove some day.
1351 if test "x$host_alias" != x; then
1352 if test "x$build_alias" = x; then
1353 cross_compiling=maybe
1354 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1355 If a cross compiler is detected then cross compile mode will be used" >&2
1356 elif test "x$build_alias" != "x$host_alias"; then
1362 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1364 test "$silent" = yes && exec 6>/dev/null
1367 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1368 ac_ls_di=`ls -di .` &&
1369 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1370 as_fn_error $? "working directory cannot be determined"
1371 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1372 as_fn_error $? "pwd does not report name of working directory"
1375 # Find the source files, if location was not specified.
1376 if test -z "$srcdir"; then
1377 ac_srcdir_defaulted=yes
1378 # Try the directory containing this script, then the parent directory.
1379 ac_confdir=`$as_dirname -- "$as_myself" ||
1380 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1381 X"$as_myself" : 'X\(//\)[^/]' \| \
1382 X"$as_myself" : 'X\(//\)$' \| \
1383 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1384 $as_echo X"$as_myself" |
1385 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1403 if test ! -r "$srcdir/$ac_unique_file"; then
1407 ac_srcdir_defaulted=no
1409 if test ! -r "$srcdir/$ac_unique_file"; then
1410 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1411 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1413 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1415 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1417 # When building in place, set srcdir=.
1418 if test "$ac_abs_confdir" = "$ac_pwd"; then
1421 # Remove unnecessary trailing slashes from srcdir.
1422 # Double slashes in file names in object file debugging info
1423 # mess up M-x gdb in Emacs.
1425 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1427 for ac_var in $ac_precious_vars; do
1428 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1429 eval ac_env_${ac_var}_value=\$${ac_var}
1430 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1431 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1435 # Report the --help message.
1437 if test "$ac_init_help" = "long"; then
1438 # Omit some internal or obsolete options to make the list less imposing.
1439 # This message is too long to be a string in the A/UX 3.1 sh.
1441 \`configure' configures e_dbus 1.7.7 to adapt to many kinds of systems.
1443 Usage: $0 [OPTION]... [VAR=VALUE]...
1445 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1446 VAR=VALUE. See below for descriptions of some of the useful variables.
1448 Defaults for the options are specified in brackets.
1451 -h, --help display this help and exit
1452 --help=short display options specific to this package
1453 --help=recursive display the short help of all the included packages
1454 -V, --version display version information and exit
1455 -q, --quiet, --silent do not print \`checking ...' messages
1456 --cache-file=FILE cache test results in FILE [disabled]
1457 -C, --config-cache alias for \`--cache-file=config.cache'
1458 -n, --no-create do not create output files
1459 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1461 Installation directories:
1462 --prefix=PREFIX install architecture-independent files in PREFIX
1463 [$ac_default_prefix]
1464 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1467 By default, \`make install' will install all the files in
1468 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1469 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1470 for instance \`--prefix=\$HOME'.
1472 For better control, use the options below.
1474 Fine tuning of the installation directories:
1475 --bindir=DIR user executables [EPREFIX/bin]
1476 --sbindir=DIR system admin executables [EPREFIX/sbin]
1477 --libexecdir=DIR program executables [EPREFIX/libexec]
1478 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1479 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1480 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1481 --libdir=DIR object code libraries [EPREFIX/lib]
1482 --includedir=DIR C header files [PREFIX/include]
1483 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1484 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1485 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1486 --infodir=DIR info documentation [DATAROOTDIR/info]
1487 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1488 --mandir=DIR man documentation [DATAROOTDIR/man]
1489 --docdir=DIR documentation root [DATAROOTDIR/doc/e_dbus]
1490 --htmldir=DIR html documentation [DOCDIR]
1491 --dvidir=DIR dvi documentation [DOCDIR]
1492 --pdfdir=DIR pdf documentation [DOCDIR]
1493 --psdir=DIR ps documentation [DOCDIR]
1499 --program-prefix=PREFIX prepend PREFIX to installed program names
1500 --program-suffix=SUFFIX append SUFFIX to installed program names
1501 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1504 --build=BUILD configure for building on BUILD [guessed]
1505 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1509 if test -n "$ac_init_help"; then
1510 case $ac_init_help in
1511 short | recursive ) echo "Configuration of e_dbus 1.7.7:";;
1516 --disable-option-checking ignore unrecognized --enable/--with options
1517 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1518 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1519 --enable-silent-rules less verbose build output (undo: `make V=1')
1520 --disable-silent-rules verbose build output (undo: `make V=0')
1521 --enable-shared[=PKGS] build shared libraries [default=yes]
1522 --enable-static[=PKGS] build static libraries [default=yes]
1523 --enable-fast-install[=PKGS]
1524 optimize for fast installation [default=yes]
1525 --disable-dependency-tracking speeds up one-time build
1526 --enable-dependency-tracking do not reject slow dependency extractors
1527 --disable-libtool-lock avoid locking (might break parallel builds)
1528 --enable-ebluez Enable ebluez build
1529 --enable-econnman0_7x Enable econnman 0.7x build
1530 --disable-ehal Disable ehal build
1531 --disable-enotify Disable enotify build
1532 --enable-eofono Enable eofono build
1533 --disable-eukit Disable eukit build
1534 --disable-doc Disable documentation build [default=enabled]
1535 --disable-edbus-test disable building of edbus_test
1536 --disable-edbus-test-client
1537 disable building of edbus_test_client
1538 --disable-edbus-bluez-test
1539 disable building of edbus_bluez_test
1540 --disable-edbus-connman0_7x-test
1541 disable building of edbus_connman0_7x_test
1542 --disable-edbus-notification-daemon-test
1543 disable building of edbus_notification_daemon_test
1544 --disable-edbus-notify-send
1545 disable building of edbus_notify_send
1546 --disable-edbus-notify-test
1547 disable building of edbus_notify_test
1548 --disable-edbus-ofono-test
1549 disable building of edbus_ofono_test
1550 --disable-edbus-ukit-test
1551 disable building of edbus_ukit_test
1552 --disable-edbus-performance-test
1553 disable building of edbus_performance_test
1554 --disable-edbus-async-test
1555 disable building of edbus_async_test
1558 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1559 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1560 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1562 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1563 --with-sysroot=DIR Search for dependent libraries within DIR
1564 (or the compiler's sysroot if not specified).
1565 --with-doxygen=FILE doxygen program to use [default=doxygen]
1567 Some influential environment variables:
1568 CC C compiler command
1569 CFLAGS C compiler flags
1570 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1571 nonstandard directory <lib dir>
1572 LIBS libraries to pass to the linker, e.g. -l<library>
1573 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1574 you have headers in a nonstandard directory <include dir>
1576 PKG_CONFIG path to pkg-config utility
1578 directories to add to pkg-config's search path
1580 path overriding pkg-config's built-in search path
1581 DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1582 DBUS_LIBS linker flags for DBUS, overriding pkg-config
1584 C compiler flags for EDBUS, overriding pkg-config
1585 EDBUS_LIBS linker flags for EDBUS, overriding pkg-config
1586 EVAS_CFLAGS C compiler flags for EVAS, overriding pkg-config
1587 EVAS_LIBS linker flags for EVAS, overriding pkg-config
1589 C compiler flags for EDBUS_TEST, overriding pkg-config
1591 linker flags for EDBUS_TEST, overriding pkg-config
1592 EDBUS_TEST_CLIENT_CFLAGS
1593 C compiler flags for EDBUS_TEST_CLIENT, overriding pkg-config
1594 EDBUS_TEST_CLIENT_LIBS
1595 linker flags for EDBUS_TEST_CLIENT, overriding pkg-config
1596 EDBUS_BLUEZ_TEST_CFLAGS
1597 C compiler flags for EDBUS_BLUEZ_TEST, overriding pkg-config
1598 EDBUS_BLUEZ_TEST_LIBS
1599 linker flags for EDBUS_BLUEZ_TEST, overriding pkg-config
1600 EDBUS_CONNMAN0_7X_TEST_CFLAGS
1601 C compiler flags for EDBUS_CONNMAN0_7X_TEST, overriding
1603 EDBUS_CONNMAN0_7X_TEST_LIBS
1604 linker flags for EDBUS_CONNMAN0_7X_TEST, overriding pkg-config
1605 EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS
1606 C compiler flags for EDBUS_NOTIFICATION_DAEMON_TEST, overriding
1608 EDBUS_NOTIFICATION_DAEMON_TEST_LIBS
1609 linker flags for EDBUS_NOTIFICATION_DAEMON_TEST, overriding
1611 EDBUS_NOTIFY_SEND_CFLAGS
1612 C compiler flags for EDBUS_NOTIFY_SEND, overriding pkg-config
1613 EDBUS_NOTIFY_SEND_LIBS
1614 linker flags for EDBUS_NOTIFY_SEND, overriding pkg-config
1615 EDBUS_NOTIFY_TEST_CFLAGS
1616 C compiler flags for EDBUS_NOTIFY_TEST, overriding pkg-config
1617 EDBUS_NOTIFY_TEST_LIBS
1618 linker flags for EDBUS_NOTIFY_TEST, overriding pkg-config
1619 EDBUS_OFONO_TEST_CFLAGS
1620 C compiler flags for EDBUS_OFONO_TEST, overriding pkg-config
1621 EDBUS_OFONO_TEST_LIBS
1622 linker flags for EDBUS_OFONO_TEST, overriding pkg-config
1623 EDBUS_UKIT_TEST_CFLAGS
1624 C compiler flags for EDBUS_UKIT_TEST, overriding pkg-config
1625 EDBUS_UKIT_TEST_LIBS
1626 linker flags for EDBUS_UKIT_TEST, overriding pkg-config
1627 EDBUS_PERFORMANCE_TEST_CFLAGS
1628 C compiler flags for EDBUS_PERFORMANCE_TEST, overriding
1630 EDBUS_PERFORMANCE_TEST_LIBS
1631 linker flags for EDBUS_PERFORMANCE_TEST, overriding pkg-config
1632 EDBUS_ASYNC_TEST_CFLAGS
1633 C compiler flags for EDBUS_ASYNC_TEST, overriding pkg-config
1634 EDBUS_ASYNC_TEST_LIBS
1635 linker flags for EDBUS_ASYNC_TEST, overriding pkg-config
1637 Use these variables to override the choices made by `configure' or to help
1638 it to find libraries and programs with nonstandard names/locations.
1640 Report bugs to <enlightenment-devel@lists.sourceforge.net>.
1645 if test "$ac_init_help" = "recursive"; then
1646 # If there are subdirs, report their specific --help.
1647 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1648 test -d "$ac_dir" ||
1649 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1654 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1656 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1657 # A ".." for each directory in $ac_dir_suffix.
1658 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1659 case $ac_top_builddir_sub in
1660 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1661 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1664 ac_abs_top_builddir=$ac_pwd
1665 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1666 # for backward compatibility:
1667 ac_top_builddir=$ac_top_build_prefix
1670 .) # We are building in place.
1672 ac_top_srcdir=$ac_top_builddir_sub
1673 ac_abs_top_srcdir=$ac_pwd ;;
1674 [\\/]* | ?:[\\/]* ) # Absolute name.
1675 ac_srcdir=$srcdir$ac_dir_suffix;
1676 ac_top_srcdir=$srcdir
1677 ac_abs_top_srcdir=$srcdir ;;
1679 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1680 ac_top_srcdir=$ac_top_build_prefix$srcdir
1681 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1683 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1685 cd "$ac_dir" || { ac_status=$?; continue; }
1686 # Check for guested configure.
1687 if test -f "$ac_srcdir/configure.gnu"; then
1689 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1690 elif test -f "$ac_srcdir/configure"; then
1692 $SHELL "$ac_srcdir/configure" --help=recursive
1694 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1696 cd "$ac_pwd" || { ac_status=$?; break; }
1700 test -n "$ac_init_help" && exit $ac_status
1701 if $ac_init_version; then
1703 e_dbus configure 1.7.7
1704 generated by GNU Autoconf 2.68
1706 Copyright (C) 2010 Free Software Foundation, Inc.
1707 This configure script is free software; the Free Software Foundation
1708 gives unlimited permission to copy, distribute and modify it.
1713 ## ------------------------ ##
1714 ## Autoconf initialization. ##
1715 ## ------------------------ ##
1717 # ac_fn_c_try_compile LINENO
1718 # --------------------------
1719 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1720 ac_fn_c_try_compile ()
1722 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1723 rm -f conftest.$ac_objext
1724 if { { ac_try="$ac_compile"
1726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1727 *) ac_try_echo=$ac_try;;
1729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1730 $as_echo "$ac_try_echo"; } >&5
1731 (eval "$ac_compile") 2>conftest.err
1733 if test -s conftest.err; then
1734 grep -v '^ *+' conftest.err >conftest.er1
1735 cat conftest.er1 >&5
1736 mv -f conftest.er1 conftest.err
1738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1739 test $ac_status = 0; } && {
1740 test -z "$ac_c_werror_flag" ||
1741 test ! -s conftest.err
1742 } && test -s conftest.$ac_objext; then :
1745 $as_echo "$as_me: failed program was:" >&5
1746 sed 's/^/| /' conftest.$ac_ext >&5
1750 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1751 as_fn_set_status $ac_retval
1753 } # ac_fn_c_try_compile
1755 # ac_fn_c_try_link LINENO
1756 # -----------------------
1757 # Try to link conftest.$ac_ext, and return whether this succeeded.
1760 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1761 rm -f conftest.$ac_objext conftest$ac_exeext
1762 if { { ac_try="$ac_link"
1764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1765 *) ac_try_echo=$ac_try;;
1767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1768 $as_echo "$ac_try_echo"; } >&5
1769 (eval "$ac_link") 2>conftest.err
1771 if test -s conftest.err; then
1772 grep -v '^ *+' conftest.err >conftest.er1
1773 cat conftest.er1 >&5
1774 mv -f conftest.er1 conftest.err
1776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1777 test $ac_status = 0; } && {
1778 test -z "$ac_c_werror_flag" ||
1779 test ! -s conftest.err
1780 } && test -s conftest$ac_exeext && {
1781 test "$cross_compiling" = yes ||
1782 $as_test_x conftest$ac_exeext
1786 $as_echo "$as_me: failed program was:" >&5
1787 sed 's/^/| /' conftest.$ac_ext >&5
1791 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1792 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1793 # interfere with the next link command; also delete a directory that is
1794 # left behind by Apple's compiler. We do this before executing the actions.
1795 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1796 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1797 as_fn_set_status $ac_retval
1799 } # ac_fn_c_try_link
1801 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1802 # -------------------------------------------------------
1803 # Tests whether HEADER exists and can be compiled using the include files in
1804 # INCLUDES, setting the cache variable VAR accordingly.
1805 ac_fn_c_check_header_compile ()
1807 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1809 $as_echo_n "checking for $2... " >&6; }
1810 if eval \${$3+:} false; then :
1811 $as_echo_n "(cached) " >&6
1813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1814 /* end confdefs.h. */
1818 if ac_fn_c_try_compile "$LINENO"; then :
1823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1827 $as_echo "$ac_res" >&6; }
1828 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1830 } # ac_fn_c_check_header_compile
1832 # ac_fn_c_try_cpp LINENO
1833 # ----------------------
1834 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1837 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1838 if { { ac_try="$ac_cpp conftest.$ac_ext"
1840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1841 *) ac_try_echo=$ac_try;;
1843 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1844 $as_echo "$ac_try_echo"; } >&5
1845 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1847 if test -s conftest.err; then
1848 grep -v '^ *+' conftest.err >conftest.er1
1849 cat conftest.er1 >&5
1850 mv -f conftest.er1 conftest.err
1852 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1853 test $ac_status = 0; } > conftest.i && {
1854 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1855 test ! -s conftest.err
1859 $as_echo "$as_me: failed program was:" >&5
1860 sed 's/^/| /' conftest.$ac_ext >&5
1864 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1865 as_fn_set_status $ac_retval
1869 # ac_fn_c_try_run LINENO
1870 # ----------------------
1871 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1872 # that executables *can* be run.
1875 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1876 if { { ac_try="$ac_link"
1878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1879 *) ac_try_echo=$ac_try;;
1881 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1882 $as_echo "$ac_try_echo"; } >&5
1883 (eval "$ac_link") 2>&5
1885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1886 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1887 { { case "(($ac_try" in
1888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1889 *) ac_try_echo=$ac_try;;
1891 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1892 $as_echo "$ac_try_echo"; } >&5
1893 (eval "$ac_try") 2>&5
1895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1896 test $ac_status = 0; }; }; then :
1899 $as_echo "$as_me: program exited with status $ac_status" >&5
1900 $as_echo "$as_me: failed program was:" >&5
1901 sed 's/^/| /' conftest.$ac_ext >&5
1903 ac_retval=$ac_status
1905 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1906 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1907 as_fn_set_status $ac_retval
1911 # ac_fn_c_check_func LINENO FUNC VAR
1912 # ----------------------------------
1913 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1914 ac_fn_c_check_func ()
1916 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1918 $as_echo_n "checking for $2... " >&6; }
1919 if eval \${$3+:} false; then :
1920 $as_echo_n "(cached) " >&6
1922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1923 /* end confdefs.h. */
1924 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1925 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1926 #define $2 innocuous_$2
1928 /* System header to define __stub macros and hopefully few prototypes,
1929 which can conflict with char $2 (); below.
1930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1931 <limits.h> exists even on freestanding compilers. */
1934 # include <limits.h>
1936 # include <assert.h>
1941 /* Override any GCC internal prototype to avoid an error.
1942 Use char because int might match the return type of a GCC
1943 builtin and then its argument prototype would still apply. */
1948 /* The GNU C library defines this for functions which it implements
1949 to always fail with ENOSYS. Some functions are actually named
1950 something starting with __ and the normal name is an alias. */
1951 #if defined __stub_$2 || defined __stub___$2
1963 if ac_fn_c_try_link "$LINENO"; then :
1968 rm -f core conftest.err conftest.$ac_objext \
1969 conftest$ac_exeext conftest.$ac_ext
1972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1973 $as_echo "$ac_res" >&6; }
1974 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1976 } # ac_fn_c_check_func
1978 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1979 # -------------------------------------------
1980 # Tests whether TYPE exists after having included INCLUDES, setting cache
1981 # variable VAR accordingly.
1982 ac_fn_c_check_type ()
1984 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1986 $as_echo_n "checking for $2... " >&6; }
1987 if eval \${$3+:} false; then :
1988 $as_echo_n "(cached) " >&6
1991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1992 /* end confdefs.h. */
2003 if ac_fn_c_try_compile "$LINENO"; then :
2004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2005 /* end confdefs.h. */
2016 if ac_fn_c_try_compile "$LINENO"; then :
2021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2027 $as_echo "$ac_res" >&6; }
2028 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2030 } # ac_fn_c_check_type
2031 cat >config.log <<_ACEOF
2032 This file contains any messages produced by compilers while
2033 running configure, to aid debugging if configure makes a mistake.
2035 It was created by e_dbus $as_me 1.7.7, which was
2036 generated by GNU Autoconf 2.68. Invocation command line was
2048 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2049 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2050 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2051 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2052 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2054 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2055 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2057 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2058 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2059 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2060 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2061 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2062 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2063 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2071 test -z "$as_dir" && as_dir=.
2072 $as_echo "PATH: $as_dir"
2088 # Keep a trace of the command line.
2089 # Strip out --no-create and --no-recursion so they do not pile up.
2090 # Strip out --silent because we don't want to record it for future runs.
2091 # Also quote any args containing shell meta-characters.
2092 # Make two passes to allow for proper duplicate-argument suppression.
2096 ac_must_keep_next=false
2102 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2103 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2104 | -silent | --silent | --silen | --sile | --sil)
2107 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2110 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2112 as_fn_append ac_configure_args1 " '$ac_arg'"
2113 if test $ac_must_keep_next = true; then
2114 ac_must_keep_next=false # Got value, back to normal.
2117 *=* | --config-cache | -C | -disable-* | --disable-* \
2118 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2119 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2120 | -with-* | --with-* | -without-* | --without-* | --x)
2121 case "$ac_configure_args0 " in
2122 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2125 -* ) ac_must_keep_next=true ;;
2128 as_fn_append ac_configure_args " '$ac_arg'"
2133 { ac_configure_args0=; unset ac_configure_args0;}
2134 { ac_configure_args1=; unset ac_configure_args1;}
2136 # When interrupted or exit'd, cleanup temporary files, and complete
2137 # config.log. We remove comments because anyway the quotes in there
2138 # would cause problems or look ugly.
2139 # WARNING: Use '\'' to represent an apostrophe within the trap.
2140 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2141 trap 'exit_status=$?
2142 # Save into config.log some information that might help in debugging.
2146 $as_echo "## ---------------- ##
2147 ## Cache variables. ##
2148 ## ---------------- ##"
2150 # The following way of writing the cache mishandles newlines in values,
2152 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2153 eval ac_val=\$$ac_var
2157 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2158 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2161 _ | IFS | as_nl) ;; #(
2162 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2163 *) { eval $ac_var=; unset $ac_var;} ;;
2168 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2169 *${as_nl}ac_space=\ *)
2171 "s/'\''/'\''\\\\'\'''\''/g;
2172 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2175 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2182 $as_echo "## ----------------- ##
2183 ## Output variables. ##
2184 ## ----------------- ##"
2186 for ac_var in $ac_subst_vars
2188 eval ac_val=\$$ac_var
2190 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2192 $as_echo "$ac_var='\''$ac_val'\''"
2196 if test -n "$ac_subst_files"; then
2197 $as_echo "## ------------------- ##
2198 ## File substitutions. ##
2199 ## ------------------- ##"
2201 for ac_var in $ac_subst_files
2203 eval ac_val=\$$ac_var
2205 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2207 $as_echo "$ac_var='\''$ac_val'\''"
2212 if test -s confdefs.h; then
2213 $as_echo "## ----------- ##
2220 test "$ac_signal" != 0 &&
2221 $as_echo "$as_me: caught signal $ac_signal"
2222 $as_echo "$as_me: exit $exit_status"
2224 rm -f core *.core core.conftest.* &&
2225 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2228 for ac_signal in 1 2 13 15; do
2229 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2233 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2234 rm -f -r conftest* confdefs.h
2236 $as_echo "/* confdefs.h */" > confdefs.h
2238 # Predefined preprocessor variables.
2240 cat >>confdefs.h <<_ACEOF
2241 #define PACKAGE_NAME "$PACKAGE_NAME"
2244 cat >>confdefs.h <<_ACEOF
2245 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2248 cat >>confdefs.h <<_ACEOF
2249 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2252 cat >>confdefs.h <<_ACEOF
2253 #define PACKAGE_STRING "$PACKAGE_STRING"
2256 cat >>confdefs.h <<_ACEOF
2257 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2260 cat >>confdefs.h <<_ACEOF
2261 #define PACKAGE_URL "$PACKAGE_URL"
2265 # Let the site file select an alternate cache file if it wants to.
2266 # Prefer an explicitly selected file to automatically selected ones.
2269 if test -n "$CONFIG_SITE"; then
2270 # We do not want a PATH search for config.site.
2271 case $CONFIG_SITE in #((
2272 -*) ac_site_file1=./$CONFIG_SITE;;
2273 */*) ac_site_file1=$CONFIG_SITE;;
2274 *) ac_site_file1=./$CONFIG_SITE;;
2276 elif test "x$prefix" != xNONE; then
2277 ac_site_file1=$prefix/share/config.site
2278 ac_site_file2=$prefix/etc/config.site
2280 ac_site_file1=$ac_default_prefix/share/config.site
2281 ac_site_file2=$ac_default_prefix/etc/config.site
2283 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2285 test "x$ac_site_file" = xNONE && continue
2286 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2288 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2289 sed 's/^/| /' "$ac_site_file" >&5
2291 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2292 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2293 as_fn_error $? "failed to load site script $ac_site_file
2294 See \`config.log' for more details" "$LINENO" 5; }
2298 if test -r "$cache_file"; then
2299 # Some versions of bash will fail to source /dev/null (special files
2300 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2301 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2303 $as_echo "$as_me: loading cache $cache_file" >&6;}
2305 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2306 *) . "./$cache_file";;
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2311 $as_echo "$as_me: creating cache $cache_file" >&6;}
2315 # Check that the precious variables saved in the cache have kept the same
2317 ac_cache_corrupted=false
2318 for ac_var in $ac_precious_vars; do
2319 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2320 eval ac_new_set=\$ac_env_${ac_var}_set
2321 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2322 eval ac_new_val=\$ac_env_${ac_var}_value
2323 case $ac_old_set,$ac_new_set in
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2326 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2327 ac_cache_corrupted=: ;;
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2330 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2331 ac_cache_corrupted=: ;;
2334 if test "x$ac_old_val" != "x$ac_new_val"; then
2335 # differences in whitespace do not lead to failure.
2336 ac_old_val_w=`echo x $ac_old_val`
2337 ac_new_val_w=`echo x $ac_new_val`
2338 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2340 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2341 ac_cache_corrupted=:
2343 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2344 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2345 eval $ac_var=\$ac_old_val
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2348 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2350 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2353 # Pass precious variables to config.status.
2354 if test "$ac_new_set" = set; then
2356 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2357 *) ac_arg=$ac_var=$ac_new_val ;;
2359 case " $ac_configure_args " in
2360 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2361 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2365 if $ac_cache_corrupted; then
2366 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2367 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2368 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2369 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2370 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2372 ## -------------------- ##
2373 ## Main body of script. ##
2374 ## -------------------- ##
2377 ac_cpp='$CPP $CPPFLAGS'
2378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2387 ac_config_headers="$ac_config_headers config.h"
2392 am__api_version='1.11'
2395 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2396 if test -f "$ac_dir/install-sh"; then
2398 ac_install_sh="$ac_aux_dir/install-sh -c"
2400 elif test -f "$ac_dir/install.sh"; then
2402 ac_install_sh="$ac_aux_dir/install.sh -c"
2404 elif test -f "$ac_dir/shtool"; then
2406 ac_install_sh="$ac_aux_dir/shtool install -c"
2410 if test -z "$ac_aux_dir"; then
2411 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2414 # These three variables are undocumented and unsupported,
2415 # and are intended to be withdrawn in a future Autoconf release.
2416 # They can cause serious problems if a builder's source tree is in a directory
2417 # whose full name contains unusual characters.
2418 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2419 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2420 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2423 # Find a good install program. We prefer a C program (faster),
2424 # so one script is as good as another. But avoid the broken or
2425 # incompatible versions:
2426 # SysV /etc/install, /usr/sbin/install
2427 # SunOS /usr/etc/install
2428 # IRIX /sbin/install
2430 # AmigaOS /C/install, which installs bootblocks on floppy discs
2431 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2432 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2433 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2434 # OS/2's system install, which has a completely different semantic
2435 # ./install, which can be erroneously created by make from ./install.sh.
2436 # Reject install programs that cannot install multiple files.
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2438 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2439 if test -z "$INSTALL"; then
2440 if ${ac_cv_path_install+:} false; then :
2441 $as_echo_n "(cached) " >&6
2443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2447 test -z "$as_dir" && as_dir=.
2448 # Account for people who put trailing slashes in PATH elements.
2449 case $as_dir/ in #((
2450 ./ | .// | /[cC]/* | \
2451 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2452 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2455 # OSF1 and SCO ODT 3.0 have their own names for install.
2456 # Don't use installbsd from OSF since it installs stuff as root
2458 for ac_prog in ginstall scoinst install; do
2459 for ac_exec_ext in '' $ac_executable_extensions; do
2460 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2461 if test $ac_prog = install &&
2462 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2463 # AIX install. It has an incompatible calling convention.
2465 elif test $ac_prog = install &&
2466 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2467 # program-specific install script used by HP pwplus--don't use.
2470 rm -rf conftest.one conftest.two conftest.dir
2471 echo one > conftest.one
2472 echo two > conftest.two
2474 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2475 test -s conftest.one && test -s conftest.two &&
2476 test -s conftest.dir/conftest.one &&
2477 test -s conftest.dir/conftest.two
2479 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2492 rm -rf conftest.one conftest.two conftest.dir
2495 if test "${ac_cv_path_install+set}" = set; then
2496 INSTALL=$ac_cv_path_install
2498 # As a last resort, use the slow shell script. Don't cache a
2499 # value for INSTALL within a source directory, because that will
2500 # break other packages using the cache if that directory is
2501 # removed, or if the value is a relative name.
2502 INSTALL=$ac_install_sh
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2506 $as_echo "$INSTALL" >&6; }
2508 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2509 # It thinks the first close brace ends the variable substitution.
2510 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2512 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2514 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2517 $as_echo_n "checking whether build environment is sane... " >&6; }
2520 echo timestamp > conftest.file
2521 # Reject unsafe characters in $srcdir or the absolute working directory
2522 # name. Accept space and tab only in the latter.
2526 *[\\\"\#\$\&\'\`$am_lf]*)
2527 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2530 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2531 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2534 # Do `set' in a subshell so we don't clobber the current shell's
2535 # arguments. Must try -L first in case configure is actually a
2536 # symlink; some systems play weird games with the mod time of symlinks
2537 # (eg FreeBSD returns the mod time of the symlink's containing
2540 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2541 if test "$*" = "X"; then
2543 set X `ls -t "$srcdir/configure" conftest.file`
2546 if test "$*" != "X $srcdir/configure conftest.file" \
2547 && test "$*" != "X conftest.file $srcdir/configure"; then
2549 # If neither matched, then we have a broken ls. This can happen
2550 # if, for instance, CONFIG_SHELL is bash and it inherits a
2551 # broken ls alias from the environment. This has actually
2552 # happened. Such a system could not be considered "sane".
2553 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2554 alias in your environment" "$LINENO" 5
2557 test "$2" = conftest.file
2563 as_fn_error $? "newly created file is older than distributed files!
2564 Check your system clock" "$LINENO" 5
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2567 $as_echo "yes" >&6; }
2568 test "$program_prefix" != NONE &&
2569 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2570 # Use a double $ so make ignores it.
2571 test "$program_suffix" != NONE &&
2572 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2573 # Double any \ or $.
2574 # By default was `s,x,x', remove it if useless.
2575 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2576 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2578 # expand $ac_aux_dir to an absolute path
2579 am_aux_dir=`cd $ac_aux_dir && pwd`
2581 if test x"${MISSING+set}" != xset; then
2584 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2586 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2589 # Use eval to expand $SHELL
2590 if eval "$MISSING --run true"; then
2591 am_missing_run="$MISSING --run "
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2595 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2598 if test x"${install_sh}" != xset; then
2601 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2603 install_sh="\${SHELL} $am_aux_dir/install-sh"
2607 # Installed binaries are usually stripped using `strip' when the user
2608 # run `make install-strip'. However `strip' might not be the right
2609 # tool to use in cross-compilation environments, therefore Automake
2610 # will honor the `STRIP' environment variable to overrule this program.
2611 if test "$cross_compiling" != no; then
2612 if test -n "$ac_tool_prefix"; then
2613 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2614 set dummy ${ac_tool_prefix}strip; ac_word=$2
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2616 $as_echo_n "checking for $ac_word... " >&6; }
2617 if ${ac_cv_prog_STRIP+:} false; then :
2618 $as_echo_n "(cached) " >&6
2620 if test -n "$STRIP"; then
2621 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2627 test -z "$as_dir" && as_dir=.
2628 for ac_exec_ext in '' $ac_executable_extensions; do
2629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2630 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2640 STRIP=$ac_cv_prog_STRIP
2641 if test -n "$STRIP"; then
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2643 $as_echo "$STRIP" >&6; }
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2646 $as_echo "no" >&6; }
2651 if test -z "$ac_cv_prog_STRIP"; then
2653 # Extract the first word of "strip", so it can be a program name with args.
2654 set dummy strip; ac_word=$2
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2656 $as_echo_n "checking for $ac_word... " >&6; }
2657 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2658 $as_echo_n "(cached) " >&6
2660 if test -n "$ac_ct_STRIP"; then
2661 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2667 test -z "$as_dir" && as_dir=.
2668 for ac_exec_ext in '' $ac_executable_extensions; do
2669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2670 ac_cv_prog_ac_ct_STRIP="strip"
2671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2680 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2681 if test -n "$ac_ct_STRIP"; then
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2683 $as_echo "$ac_ct_STRIP" >&6; }
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2686 $as_echo "no" >&6; }
2689 if test "x$ac_ct_STRIP" = x; then
2692 case $cross_compiling:$ac_tool_warned in
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2695 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2696 ac_tool_warned=yes ;;
2701 STRIP="$ac_cv_prog_STRIP"
2705 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2708 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2709 if test -z "$MKDIR_P"; then
2710 if ${ac_cv_path_mkdir+:} false; then :
2711 $as_echo_n "(cached) " >&6
2713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2714 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2717 test -z "$as_dir" && as_dir=.
2718 for ac_prog in mkdir gmkdir; do
2719 for ac_exec_ext in '' $ac_executable_extensions; do
2720 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2721 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2722 'mkdir (GNU coreutils) '* | \
2723 'mkdir (coreutils) '* | \
2724 'mkdir (fileutils) '4.1*)
2725 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2735 test -d ./--version && rmdir ./--version
2736 if test "${ac_cv_path_mkdir+set}" = set; then
2737 MKDIR_P="$ac_cv_path_mkdir -p"
2739 # As a last resort, use the slow shell script. Don't cache a
2740 # value for MKDIR_P within a source directory, because that will
2741 # break other packages using the cache if that directory is
2742 # removed, or if the value is a relative name.
2743 MKDIR_P="$ac_install_sh -d"
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2747 $as_echo "$MKDIR_P" >&6; }
2751 [\\/$]* | ?:[\\/]*) ;;
2752 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2755 for ac_prog in gawk mawk nawk awk
2757 # Extract the first word of "$ac_prog", so it can be a program name with args.
2758 set dummy $ac_prog; ac_word=$2
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2760 $as_echo_n "checking for $ac_word... " >&6; }
2761 if ${ac_cv_prog_AWK+:} false; then :
2762 $as_echo_n "(cached) " >&6
2764 if test -n "$AWK"; then
2765 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2771 test -z "$as_dir" && as_dir=.
2772 for ac_exec_ext in '' $ac_executable_extensions; do
2773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2774 ac_cv_prog_AWK="$ac_prog"
2775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2785 if test -n "$AWK"; then
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2787 $as_echo "$AWK" >&6; }
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2790 $as_echo "no" >&6; }
2794 test -n "$AWK" && break
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2798 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2800 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2801 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2802 $as_echo_n "(cached) " >&6
2804 cat >conftest.make <<\_ACEOF
2807 @echo '@@@%%%=$(MAKE)=@@@%%%'
2809 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2810 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2812 eval ac_cv_prog_make_${ac_make}_set=yes;;
2814 eval ac_cv_prog_make_${ac_make}_set=no;;
2818 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2820 $as_echo "yes" >&6; }
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2824 $as_echo "no" >&6; }
2825 SET_MAKE="MAKE=${MAKE-make}"
2828 rm -rf .tst 2>/dev/null
2829 mkdir .tst 2>/dev/null
2830 if test -d .tst; then
2835 rmdir .tst 2>/dev/null
2837 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2838 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2839 # is not polluted with repeated "-I."
2840 am__isrc=' -I$(srcdir)'
2841 # test to see if srcdir already configured
2842 if test -f $srcdir/config.status; then
2843 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2847 # test whether we have cygpath
2848 if test -z "$CYGPATH_W"; then
2849 if (cygpath --version) >/dev/null 2>/dev/null; then
2850 CYGPATH_W='cygpath -w'
2857 # Define the identity of the package.
2862 cat >>confdefs.h <<_ACEOF
2863 #define PACKAGE "$PACKAGE"
2867 cat >>confdefs.h <<_ACEOF
2868 #define VERSION "$VERSION"
2871 # Some tools Automake needs.
2873 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2876 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2879 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2882 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2885 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2887 # We need awk for the "check" target. The system "awk" is bad on
2889 # Always define AMTAR for backward compatibility. Yes, it's still used
2890 # in the wild :-( We should find a proper way to deprecate it ...
2893 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2899 # Check whether --enable-silent-rules was given.
2900 if test "${enable_silent_rules+set}" = set; then :
2901 enableval=$enable_silent_rules;
2904 case $enable_silent_rules in
2905 yes) AM_DEFAULT_VERBOSITY=0;;
2906 no) AM_DEFAULT_VERBOSITY=1;;
2907 *) AM_DEFAULT_VERBOSITY=0;;
2909 am_make=${MAKE-make}
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2911 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2912 if ${am_cv_make_support_nested_variables+:} false; then :
2913 $as_echo_n "(cached) " >&6
2915 if $as_echo 'TRUE=$(BAR$(V))
2921 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2922 am_cv_make_support_nested_variables=yes
2924 am_cv_make_support_nested_variables=no
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2928 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2929 if test $am_cv_make_support_nested_variables = yes; then
2931 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2933 AM_V=$AM_DEFAULT_VERBOSITY
2934 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2939 # Make sure we can run config.sub.
2940 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2941 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2944 $as_echo_n "checking build system type... " >&6; }
2945 if ${ac_cv_build+:} false; then :
2946 $as_echo_n "(cached) " >&6
2948 ac_build_alias=$build_alias
2949 test "x$ac_build_alias" = x &&
2950 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2951 test "x$ac_build_alias" = x &&
2952 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2953 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2954 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2958 $as_echo "$ac_cv_build" >&6; }
2959 case $ac_cv_build in
2961 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2964 ac_save_IFS=$IFS; IFS='-'
2970 # Remember, the first character of IFS is used to create $*,
2971 # except with old shells:
2974 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2978 $as_echo_n "checking host system type... " >&6; }
2979 if ${ac_cv_host+:} false; then :
2980 $as_echo_n "(cached) " >&6
2982 if test "x$host_alias" = x; then
2983 ac_cv_host=$ac_cv_build
2985 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2986 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2991 $as_echo "$ac_cv_host" >&6; }
2994 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2997 ac_save_IFS=$IFS; IFS='-'
3003 # Remember, the first character of IFS is used to create $*,
3004 # except with old shells:
3007 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3010 enable_win32_dll=yes
3013 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
3014 if test -n "$ac_tool_prefix"; then
3015 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3016 set dummy ${ac_tool_prefix}as; ac_word=$2
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3018 $as_echo_n "checking for $ac_word... " >&6; }
3019 if ${ac_cv_prog_AS+:} false; then :
3020 $as_echo_n "(cached) " >&6
3022 if test -n "$AS"; then
3023 ac_cv_prog_AS="$AS" # Let the user override the test.
3025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3029 test -z "$as_dir" && as_dir=.
3030 for ac_exec_ext in '' $ac_executable_extensions; do
3031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3032 ac_cv_prog_AS="${ac_tool_prefix}as"
3033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3043 if test -n "$AS"; then
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
3045 $as_echo "$AS" >&6; }
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3048 $as_echo "no" >&6; }
3053 if test -z "$ac_cv_prog_AS"; then
3055 # Extract the first word of "as", so it can be a program name with args.
3056 set dummy as; ac_word=$2
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3058 $as_echo_n "checking for $ac_word... " >&6; }
3059 if ${ac_cv_prog_ac_ct_AS+:} false; then :
3060 $as_echo_n "(cached) " >&6
3062 if test -n "$ac_ct_AS"; then
3063 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3069 test -z "$as_dir" && as_dir=.
3070 for ac_exec_ext in '' $ac_executable_extensions; do
3071 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3072 ac_cv_prog_ac_ct_AS="as"
3073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3082 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3083 if test -n "$ac_ct_AS"; then
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
3085 $as_echo "$ac_ct_AS" >&6; }
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3088 $as_echo "no" >&6; }
3091 if test "x$ac_ct_AS" = x; then
3094 case $cross_compiling:$ac_tool_warned in
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3097 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3098 ac_tool_warned=yes ;;
3106 if test -n "$ac_tool_prefix"; then
3107 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3108 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3110 $as_echo_n "checking for $ac_word... " >&6; }
3111 if ${ac_cv_prog_DLLTOOL+:} false; then :
3112 $as_echo_n "(cached) " >&6
3114 if test -n "$DLLTOOL"; then
3115 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3121 test -z "$as_dir" && as_dir=.
3122 for ac_exec_ext in '' $ac_executable_extensions; do
3123 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3124 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3134 DLLTOOL=$ac_cv_prog_DLLTOOL
3135 if test -n "$DLLTOOL"; then
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
3137 $as_echo "$DLLTOOL" >&6; }
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3140 $as_echo "no" >&6; }
3145 if test -z "$ac_cv_prog_DLLTOOL"; then
3146 ac_ct_DLLTOOL=$DLLTOOL
3147 # Extract the first word of "dlltool", so it can be a program name with args.
3148 set dummy dlltool; ac_word=$2
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3150 $as_echo_n "checking for $ac_word... " >&6; }
3151 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
3152 $as_echo_n "(cached) " >&6
3154 if test -n "$ac_ct_DLLTOOL"; then
3155 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3161 test -z "$as_dir" && as_dir=.
3162 for ac_exec_ext in '' $ac_executable_extensions; do
3163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3164 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3174 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3175 if test -n "$ac_ct_DLLTOOL"; then
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
3177 $as_echo "$ac_ct_DLLTOOL" >&6; }
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3180 $as_echo "no" >&6; }
3183 if test "x$ac_ct_DLLTOOL" = x; then
3186 case $cross_compiling:$ac_tool_warned in
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3189 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3190 ac_tool_warned=yes ;;
3192 DLLTOOL=$ac_ct_DLLTOOL
3195 DLLTOOL="$ac_cv_prog_DLLTOOL"
3198 if test -n "$ac_tool_prefix"; then
3199 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
3200 set dummy ${ac_tool_prefix}objdump; ac_word=$2
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3202 $as_echo_n "checking for $ac_word... " >&6; }
3203 if ${ac_cv_prog_OBJDUMP+:} false; then :
3204 $as_echo_n "(cached) " >&6
3206 if test -n "$OBJDUMP"; then
3207 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
3209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3213 test -z "$as_dir" && as_dir=.
3214 for ac_exec_ext in '' $ac_executable_extensions; do
3215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3216 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
3217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3226 OBJDUMP=$ac_cv_prog_OBJDUMP
3227 if test -n "$OBJDUMP"; then
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
3229 $as_echo "$OBJDUMP" >&6; }
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3232 $as_echo "no" >&6; }
3237 if test -z "$ac_cv_prog_OBJDUMP"; then
3238 ac_ct_OBJDUMP=$OBJDUMP
3239 # Extract the first word of "objdump", so it can be a program name with args.
3240 set dummy objdump; ac_word=$2
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3242 $as_echo_n "checking for $ac_word... " >&6; }
3243 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
3244 $as_echo_n "(cached) " >&6
3246 if test -n "$ac_ct_OBJDUMP"; then
3247 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
3249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3253 test -z "$as_dir" && as_dir=.
3254 for ac_exec_ext in '' $ac_executable_extensions; do
3255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3256 ac_cv_prog_ac_ct_OBJDUMP="objdump"
3257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3266 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
3267 if test -n "$ac_ct_OBJDUMP"; then
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
3269 $as_echo "$ac_ct_OBJDUMP" >&6; }
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3272 $as_echo "no" >&6; }
3275 if test "x$ac_ct_OBJDUMP" = x; then
3278 case $cross_compiling:$ac_tool_warned in
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3281 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3282 ac_tool_warned=yes ;;
3284 OBJDUMP=$ac_ct_OBJDUMP
3287 OBJDUMP="$ac_cv_prog_OBJDUMP"
3293 test -z "$AS" && AS=as
3299 test -z "$DLLTOOL" && DLLTOOL=dlltool
3305 test -z "$OBJDUMP" && OBJDUMP=objdump
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3316 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3321 macro_version='2.4.2'
3322 macro_revision='1.3337'
3336 ltmain="$ac_aux_dir/ltmain.sh"
3338 # Backslashify metacharacters that are still active within
3339 # double-quoted strings.
3340 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3342 # Same as above, but do not quote variable references.
3343 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3345 # Sed substitution to delay expansion of an escaped shell variable in a
3346 # double_quote_subst'ed string.
3347 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3349 # Sed substitution to delay expansion of an escaped single quote.
3350 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3352 # Sed substitution to avoid accidental globbing in evaled expressions
3353 no_glob_subst='s/\*/\\\*/g'
3355 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3356 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3357 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3360 $as_echo_n "checking how to print strings... " >&6; }
3361 # Test print first, because it will be a builtin if present.
3362 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3363 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3365 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3368 # Use this function as a fallback that always works.
3369 func_fallback_echo ()
3371 eval 'cat <<_LTECHO_EOF
3375 ECHO='func_fallback_echo'
3378 # func_echo_all arg...
3379 # Invoke $ECHO with all args, space-separated.
3386 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3387 $as_echo "printf" >&6; } ;;
3388 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3389 $as_echo "print -r" >&6; } ;;
3390 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3391 $as_echo "cat" >&6; } ;;
3407 DEPDIR="${am__leading_dot}deps"
3409 ac_config_commands="$ac_config_commands depfiles"
3412 am_make=${MAKE-make}
3413 cat > confinc << 'END'
3415 @echo this is the am__doit target
3418 # If we don't find an include directive, just comment out the code.
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3420 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3424 # First try GNU make style include.
3425 echo "include confinc" > confmf
3426 # Ignore all kinds of additional output from `make'.
3427 case `$am_make -s -f confmf 2> /dev/null` in #(
3428 *the\ am__doit\ target*)
3434 # Now try BSD make style include.
3435 if test "$am__include" = "#"; then
3436 echo '.include "confinc"' > confmf
3437 case `$am_make -s -f confmf 2> /dev/null` in #(
3438 *the\ am__doit\ target*)
3439 am__include=.include
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3448 $as_echo "$_am_result" >&6; }
3449 rm -f confinc confmf
3451 # Check whether --enable-dependency-tracking was given.
3452 if test "${enable_dependency_tracking+set}" = set; then :
3453 enableval=$enable_dependency_tracking;
3456 if test "x$enable_dependency_tracking" != xno; then
3457 am_depcomp="$ac_aux_dir/depcomp"
3461 if test "x$enable_dependency_tracking" != xno; then
3471 ac_cpp='$CPP $CPPFLAGS'
3472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3475 if test -n "$ac_tool_prefix"; then
3476 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3477 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3479 $as_echo_n "checking for $ac_word... " >&6; }
3480 if ${ac_cv_prog_CC+:} false; then :
3481 $as_echo_n "(cached) " >&6
3483 if test -n "$CC"; then
3484 ac_cv_prog_CC="$CC" # Let the user override the test.
3486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3490 test -z "$as_dir" && as_dir=.
3491 for ac_exec_ext in '' $ac_executable_extensions; do
3492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3493 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3504 if test -n "$CC"; then
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3506 $as_echo "$CC" >&6; }
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3509 $as_echo "no" >&6; }
3514 if test -z "$ac_cv_prog_CC"; then
3516 # Extract the first word of "gcc", so it can be a program name with args.
3517 set dummy gcc; ac_word=$2
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3519 $as_echo_n "checking for $ac_word... " >&6; }
3520 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3521 $as_echo_n "(cached) " >&6
3523 if test -n "$ac_ct_CC"; then
3524 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3530 test -z "$as_dir" && as_dir=.
3531 for ac_exec_ext in '' $ac_executable_extensions; do
3532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3533 ac_cv_prog_ac_ct_CC="gcc"
3534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3543 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3544 if test -n "$ac_ct_CC"; then
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3546 $as_echo "$ac_ct_CC" >&6; }
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3549 $as_echo "no" >&6; }
3552 if test "x$ac_ct_CC" = x; then
3555 case $cross_compiling:$ac_tool_warned in
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3558 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3559 ac_tool_warned=yes ;;
3567 if test -z "$CC"; then
3568 if test -n "$ac_tool_prefix"; then
3569 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3570 set dummy ${ac_tool_prefix}cc; ac_word=$2
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3572 $as_echo_n "checking for $ac_word... " >&6; }
3573 if ${ac_cv_prog_CC+:} false; then :
3574 $as_echo_n "(cached) " >&6
3576 if test -n "$CC"; then
3577 ac_cv_prog_CC="$CC" # Let the user override the test.
3579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3583 test -z "$as_dir" && as_dir=.
3584 for ac_exec_ext in '' $ac_executable_extensions; do
3585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3586 ac_cv_prog_CC="${ac_tool_prefix}cc"
3587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3597 if test -n "$CC"; then
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3599 $as_echo "$CC" >&6; }
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3602 $as_echo "no" >&6; }
3608 if test -z "$CC"; then
3609 # Extract the first word of "cc", so it can be a program name with args.
3610 set dummy cc; ac_word=$2
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3612 $as_echo_n "checking for $ac_word... " >&6; }
3613 if ${ac_cv_prog_CC+:} false; then :
3614 $as_echo_n "(cached) " >&6
3616 if test -n "$CC"; then
3617 ac_cv_prog_CC="$CC" # Let the user override the test.
3620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3624 test -z "$as_dir" && as_dir=.
3625 for ac_exec_ext in '' $ac_executable_extensions; do
3626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3627 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3628 ac_prog_rejected=yes
3632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3639 if test $ac_prog_rejected = yes; then
3640 # We found a bogon in the path, so make sure we never use it.
3641 set dummy $ac_cv_prog_CC
3643 if test $# != 0; then
3644 # We chose a different compiler from the bogus one.
3645 # However, it has the same basename, so the bogon will be chosen
3646 # first if we set CC to just the basename; use the full file name.
3648 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3654 if test -n "$CC"; then
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3656 $as_echo "$CC" >&6; }
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3659 $as_echo "no" >&6; }
3664 if test -z "$CC"; then
3665 if test -n "$ac_tool_prefix"; then
3666 for ac_prog in cl.exe
3668 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3669 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3671 $as_echo_n "checking for $ac_word... " >&6; }
3672 if ${ac_cv_prog_CC+:} false; then :
3673 $as_echo_n "(cached) " >&6
3675 if test -n "$CC"; then
3676 ac_cv_prog_CC="$CC" # Let the user override the test.
3678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3682 test -z "$as_dir" && as_dir=.
3683 for ac_exec_ext in '' $ac_executable_extensions; do
3684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3685 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3696 if test -n "$CC"; then
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3698 $as_echo "$CC" >&6; }
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3701 $as_echo "no" >&6; }
3705 test -n "$CC" && break
3708 if test -z "$CC"; then
3710 for ac_prog in cl.exe
3712 # Extract the first word of "$ac_prog", so it can be a program name with args.
3713 set dummy $ac_prog; ac_word=$2
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3715 $as_echo_n "checking for $ac_word... " >&6; }
3716 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3717 $as_echo_n "(cached) " >&6
3719 if test -n "$ac_ct_CC"; then
3720 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3726 test -z "$as_dir" && as_dir=.
3727 for ac_exec_ext in '' $ac_executable_extensions; do
3728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3729 ac_cv_prog_ac_ct_CC="$ac_prog"
3730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3739 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3740 if test -n "$ac_ct_CC"; then
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3742 $as_echo "$ac_ct_CC" >&6; }
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3745 $as_echo "no" >&6; }
3749 test -n "$ac_ct_CC" && break
3752 if test "x$ac_ct_CC" = x; then
3755 case $cross_compiling:$ac_tool_warned in
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3758 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3759 ac_tool_warned=yes ;;
3768 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3769 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3770 as_fn_error $? "no acceptable C compiler found in \$PATH
3771 See \`config.log' for more details" "$LINENO" 5; }
3773 # Provide some information about the compiler.
3774 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3777 for ac_option in --version -v -V -qversion; do
3778 { { ac_try="$ac_compiler $ac_option >&5"
3780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3781 *) ac_try_echo=$ac_try;;
3783 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3784 $as_echo "$ac_try_echo"; } >&5
3785 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3787 if test -s conftest.err; then
3789 ... rest of stderr output deleted ...
3790 10q' conftest.err >conftest.er1
3791 cat conftest.er1 >&5
3793 rm -f conftest.er1 conftest.err
3794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3795 test $ac_status = 0; }
3798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3799 /* end confdefs.h. */
3809 ac_clean_files_save=$ac_clean_files
3810 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3811 # Try to create an executable without -o first, disregard a.out.
3812 # It will help us diagnose broken compilers, and finding out an intuition
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3815 $as_echo_n "checking whether the C compiler works... " >&6; }
3816 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3818 # The possible output files:
3819 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3822 for ac_file in $ac_files
3825 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3826 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3831 if { { ac_try="$ac_link_default"
3833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3834 *) ac_try_echo=$ac_try;;
3836 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3837 $as_echo "$ac_try_echo"; } >&5
3838 (eval "$ac_link_default") 2>&5
3840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3841 test $ac_status = 0; }; then :
3842 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3843 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3844 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3845 # so that the user can short-circuit this test for compilers unknown to
3847 for ac_file in $ac_files ''
3849 test -f "$ac_file" || continue
3851 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3854 # We found the default executable, but exeext='' is most
3858 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3860 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3862 # We set ac_cv_exeext here because the later test for it is not
3863 # safe: cross compilers may not add the suffix if given an `-o'
3864 # argument, so we may need to know it at that point already.
3865 # Even if this section looks crufty: it has the advantage of
3872 test "$ac_cv_exeext" = no && ac_cv_exeext=
3877 if test -z "$ac_file"; then :
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3879 $as_echo "no" >&6; }
3880 $as_echo "$as_me: failed program was:" >&5
3881 sed 's/^/| /' conftest.$ac_ext >&5
3883 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3884 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3885 as_fn_error 77 "C compiler cannot create executables
3886 See \`config.log' for more details" "$LINENO" 5; }
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3889 $as_echo "yes" >&6; }
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3892 $as_echo_n "checking for C compiler default output file name... " >&6; }
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3894 $as_echo "$ac_file" >&6; }
3895 ac_exeext=$ac_cv_exeext
3897 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3898 ac_clean_files=$ac_clean_files_save
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3900 $as_echo_n "checking for suffix of executables... " >&6; }
3901 if { { ac_try="$ac_link"
3903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3904 *) ac_try_echo=$ac_try;;
3906 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3907 $as_echo "$ac_try_echo"; } >&5
3908 (eval "$ac_link") 2>&5
3910 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3911 test $ac_status = 0; }; then :
3912 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3913 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3914 # work properly (i.e., refer to `conftest.exe'), while it won't with
3916 for ac_file in conftest.exe conftest conftest.*; do
3917 test -f "$ac_file" || continue
3919 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3920 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3926 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3927 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3928 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3929 See \`config.log' for more details" "$LINENO" 5; }
3931 rm -f conftest conftest$ac_cv_exeext
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3933 $as_echo "$ac_cv_exeext" >&6; }
3935 rm -f conftest.$ac_ext
3936 EXEEXT=$ac_cv_exeext
3938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3939 /* end confdefs.h. */
3944 FILE *f = fopen ("conftest.out", "w");
3945 return ferror (f) || fclose (f) != 0;
3951 ac_clean_files="$ac_clean_files conftest.out"
3952 # Check that the compiler produces executables we can run. If not, either
3953 # the compiler is broken, or we cross compile.
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3955 $as_echo_n "checking whether we are cross compiling... " >&6; }
3956 if test "$cross_compiling" != yes; then
3957 { { ac_try="$ac_link"
3959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3960 *) ac_try_echo=$ac_try;;
3962 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3963 $as_echo "$ac_try_echo"; } >&5
3964 (eval "$ac_link") 2>&5
3966 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3967 test $ac_status = 0; }
3968 if { ac_try='./conftest$ac_cv_exeext'
3969 { { case "(($ac_try" in
3970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3971 *) ac_try_echo=$ac_try;;
3973 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3974 $as_echo "$ac_try_echo"; } >&5
3975 (eval "$ac_try") 2>&5
3977 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3978 test $ac_status = 0; }; }; then
3981 if test "$cross_compiling" = maybe; then
3984 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3985 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3986 as_fn_error $? "cannot run C compiled programs.
3987 If you meant to cross compile, use \`--host'.
3988 See \`config.log' for more details" "$LINENO" 5; }
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3993 $as_echo "$cross_compiling" >&6; }
3995 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3996 ac_clean_files=$ac_clean_files_save
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3998 $as_echo_n "checking for suffix of object files... " >&6; }
3999 if ${ac_cv_objext+:} false; then :
4000 $as_echo_n "(cached) " >&6
4002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4003 /* end confdefs.h. */
4013 rm -f conftest.o conftest.obj
4014 if { { ac_try="$ac_compile"
4016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4017 *) ac_try_echo=$ac_try;;
4019 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4020 $as_echo "$ac_try_echo"; } >&5
4021 (eval "$ac_compile") 2>&5
4023 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4024 test $ac_status = 0; }; then :
4025 for ac_file in conftest.o conftest.obj conftest.*; do
4026 test -f "$ac_file" || continue;
4028 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4029 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4034 $as_echo "$as_me: failed program was:" >&5
4035 sed 's/^/| /' conftest.$ac_ext >&5
4037 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4038 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4039 as_fn_error $? "cannot compute suffix of object files: cannot compile
4040 See \`config.log' for more details" "$LINENO" 5; }
4042 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4045 $as_echo "$ac_cv_objext" >&6; }
4046 OBJEXT=$ac_cv_objext
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4049 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4050 if ${ac_cv_c_compiler_gnu+:} false; then :
4051 $as_echo_n "(cached) " >&6
4053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4054 /* end confdefs.h. */
4067 if ac_fn_c_try_compile "$LINENO"; then :
4072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4073 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4077 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4078 if test $ac_compiler_gnu = yes; then
4083 ac_test_CFLAGS=${CFLAGS+set}
4084 ac_save_CFLAGS=$CFLAGS
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4086 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4087 if ${ac_cv_prog_cc_g+:} false; then :
4088 $as_echo_n "(cached) " >&6
4090 ac_save_c_werror_flag=$ac_c_werror_flag
4091 ac_c_werror_flag=yes
4094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4095 /* end confdefs.h. */
4105 if ac_fn_c_try_compile "$LINENO"; then :
4109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4110 /* end confdefs.h. */
4120 if ac_fn_c_try_compile "$LINENO"; then :
4123 ac_c_werror_flag=$ac_save_c_werror_flag
4125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4126 /* end confdefs.h. */
4136 if ac_fn_c_try_compile "$LINENO"; then :
4139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4144 ac_c_werror_flag=$ac_save_c_werror_flag
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4147 $as_echo "$ac_cv_prog_cc_g" >&6; }
4148 if test "$ac_test_CFLAGS" = set; then
4149 CFLAGS=$ac_save_CFLAGS
4150 elif test $ac_cv_prog_cc_g = yes; then
4151 if test "$GCC" = yes; then
4157 if test "$GCC" = yes; then
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4164 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4165 if ${ac_cv_prog_cc_c89+:} false; then :
4166 $as_echo_n "(cached) " >&6
4168 ac_cv_prog_cc_c89=no
4170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4171 /* end confdefs.h. */
4174 #include <sys/types.h>
4175 #include <sys/stat.h>
4176 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4177 struct buf { int x; };
4178 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4179 static char *e (p, i)
4185 static char *f (char * (*g) (char **, int), char **p, ...)
4190 s = g (p, va_arg (v,int));
4195 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4196 function prototypes and stuff, but not '\xHH' hex character constants.
4197 These don't provoke an error unfortunately, instead are silently treated
4198 as 'x'. The following induces an error, until -std is added to get
4199 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4200 array size at least. It's necessary to write '\x00'==0 to get something
4201 that's true only with -std. */
4202 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4204 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4205 inside strings and character constants. */
4207 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4209 int test (int i, double x);
4210 struct s1 {int (*f) (int a);};
4211 struct s2 {int (*f) (double a);};
4212 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4218 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4223 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4224 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4226 CC="$ac_save_CC $ac_arg"
4227 if ac_fn_c_try_compile "$LINENO"; then :
4228 ac_cv_prog_cc_c89=$ac_arg
4230 rm -f core conftest.err conftest.$ac_objext
4231 test "x$ac_cv_prog_cc_c89" != "xno" && break
4233 rm -f conftest.$ac_ext
4238 case "x$ac_cv_prog_cc_c89" in
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4241 $as_echo "none needed" >&6; } ;;
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4244 $as_echo "unsupported" >&6; } ;;
4246 CC="$CC $ac_cv_prog_cc_c89"
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4248 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4250 if test "x$ac_cv_prog_cc_c89" != xno; then :
4255 ac_cpp='$CPP $CPPFLAGS'
4256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4260 depcc="$CC" am_compiler_list=
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4263 $as_echo_n "checking dependency style of $depcc... " >&6; }
4264 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4265 $as_echo_n "(cached) " >&6
4267 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4268 # We make a subdir and do the tests there. Otherwise we can end up
4269 # making bogus files that we don't know about and never remove. For
4270 # instance it was reported that on HP-UX the gcc test will end up
4271 # making a dummy file named `D' -- because `-MD' means `put the output
4275 # Copy depcomp to subdir because otherwise we won't find it if we're
4276 # using a relative directory.
4277 cp "$am_depcomp" conftest.dir
4279 # We will build objects and dependencies in a subdirectory because
4280 # it helps to detect inapplicable dependency modes. For instance
4281 # both Tru64's cc and ICC support -MD to output dependencies as a
4282 # side effect of compilation, but ICC will put the dependencies in
4283 # the current directory while Tru64 will put them in the object
4287 am_cv_CC_dependencies_compiler_type=none
4288 if test "$am_compiler_list" = ""; then
4289 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4292 case " $depcc " in #(
4293 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4296 for depmode in $am_compiler_list; do
4297 # Setup a source with many dependencies, because some compilers
4298 # like to wrap large dependency lists on column 80 (with \), and
4299 # we should not choose a depcomp mode which is confused by this.
4301 # We need to recreate these files for each test, as the compiler may
4302 # overwrite some of them when testing with obscure command lines.
4303 # This happens at least with the AIX C compiler.
4305 for i in 1 2 3 4 5 6; do
4306 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4307 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4308 # Solaris 8's {/usr,}/bin/sh.
4309 touch sub/conftst$i.h
4311 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4313 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4314 # mode. It turns out that the SunPro C++ compiler does not properly
4315 # handle `-M -o', and we need to detect this. Also, some Intel
4316 # versions had trouble with output in subdirs
4317 am__obj=sub/conftest.${OBJEXT-o}
4318 am__minus_obj="-o $am__obj"
4321 # This depmode causes a compiler race in universal mode.
4322 test "$am__universal" = false || continue
4325 # after this tag, mechanisms are not by side-effect, so they'll
4326 # only be used when explicitly requested
4327 if test "x$enable_dependency_tracking" = xyes; then
4333 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4334 # This compiler won't grok `-c -o', but also, the minuso test has
4335 # not run yet. These depmodes are late enough in the game, and
4336 # so weak that their functioning should not be impacted.
4337 am__obj=conftest.${OBJEXT-o}
4342 if depmode=$depmode \
4343 source=sub/conftest.c object=$am__obj \
4344 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4345 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4346 >/dev/null 2>conftest.err &&
4347 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4348 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4349 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4350 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4351 # icc doesn't choke on unknown options, it will just issue warnings
4352 # or remarks (even with -Werror). So we grep stderr for any message
4353 # that says an option was ignored or not supported.
4354 # When given -MP, icc 7.0 and 7.1 complain thusly:
4355 # icc: Command line warning: ignoring option '-M'; no argument required
4356 # The diagnosis changed in icc 8.0:
4357 # icc: Command line remark: option '-MP' not supported
4358 if (grep 'ignoring option' conftest.err ||
4359 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4360 am_cv_CC_dependencies_compiler_type=$depmode
4369 am_cv_CC_dependencies_compiler_type=none
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4374 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4375 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4378 test "x$enable_dependency_tracking" != xno \
4379 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4381 am__fastdepCC_FALSE='#'
4383 am__fastdepCC_TRUE='#'
4384 am__fastdepCC_FALSE=
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4389 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4390 if ${ac_cv_path_SED+:} false; then :
4391 $as_echo_n "(cached) " >&6
4393 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4394 for ac_i in 1 2 3 4 5 6 7; do
4395 ac_script="$ac_script$as_nl$ac_script"
4397 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4398 { ac_script=; unset ac_script;}
4399 if test -z "$SED"; then
4400 ac_path_SED_found=false
4401 # Loop through the user's path and test for each of PROGNAME-LIST
4402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4406 test -z "$as_dir" && as_dir=.
4407 for ac_prog in sed gsed; do
4408 for ac_exec_ext in '' $ac_executable_extensions; do
4409 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4410 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4411 # Check for GNU ac_path_SED and select it if it is found.
4412 # Check for GNU $ac_path_SED
4413 case `"$ac_path_SED" --version 2>&1` in
4415 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4418 $as_echo_n 0123456789 >"conftest.in"
4421 cat "conftest.in" "conftest.in" >"conftest.tmp"
4422 mv "conftest.tmp" "conftest.in"
4423 cp "conftest.in" "conftest.nl"
4424 $as_echo '' >> "conftest.nl"
4425 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4426 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4427 as_fn_arith $ac_count + 1 && ac_count=$as_val
4428 if test $ac_count -gt ${ac_path_SED_max-0}; then
4429 # Best one so far, save it but keep looking for a better one
4430 ac_cv_path_SED="$ac_path_SED"
4431 ac_path_SED_max=$ac_count
4433 # 10*(2^10) chars as input seems more than enough
4434 test $ac_count -gt 10 && break
4436 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4439 $ac_path_SED_found && break 3
4444 if test -z "$ac_cv_path_SED"; then
4445 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4453 $as_echo "$ac_cv_path_SED" >&6; }
4454 SED="$ac_cv_path_SED"
4457 test -z "$SED" && SED=sed
4458 Xsed="$SED -e 1s/^X//"
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4471 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4472 if ${ac_cv_path_GREP+:} false; then :
4473 $as_echo_n "(cached) " >&6
4475 if test -z "$GREP"; then
4476 ac_path_GREP_found=false
4477 # Loop through the user's path and test for each of PROGNAME-LIST
4478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4479 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4482 test -z "$as_dir" && as_dir=.
4483 for ac_prog in grep ggrep; do
4484 for ac_exec_ext in '' $ac_executable_extensions; do
4485 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4486 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4487 # Check for GNU ac_path_GREP and select it if it is found.
4488 # Check for GNU $ac_path_GREP
4489 case `"$ac_path_GREP" --version 2>&1` in
4491 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4494 $as_echo_n 0123456789 >"conftest.in"
4497 cat "conftest.in" "conftest.in" >"conftest.tmp"
4498 mv "conftest.tmp" "conftest.in"
4499 cp "conftest.in" "conftest.nl"
4500 $as_echo 'GREP' >> "conftest.nl"
4501 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4502 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4503 as_fn_arith $ac_count + 1 && ac_count=$as_val
4504 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4505 # Best one so far, save it but keep looking for a better one
4506 ac_cv_path_GREP="$ac_path_GREP"
4507 ac_path_GREP_max=$ac_count
4509 # 10*(2^10) chars as input seems more than enough
4510 test $ac_count -gt 10 && break
4512 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4515 $ac_path_GREP_found && break 3
4520 if test -z "$ac_cv_path_GREP"; then
4521 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4524 ac_cv_path_GREP=$GREP
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4529 $as_echo "$ac_cv_path_GREP" >&6; }
4530 GREP="$ac_cv_path_GREP"
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4534 $as_echo_n "checking for egrep... " >&6; }
4535 if ${ac_cv_path_EGREP+:} false; then :
4536 $as_echo_n "(cached) " >&6
4538 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4539 then ac_cv_path_EGREP="$GREP -E"
4541 if test -z "$EGREP"; then
4542 ac_path_EGREP_found=false
4543 # Loop through the user's path and test for each of PROGNAME-LIST
4544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4545 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4548 test -z "$as_dir" && as_dir=.
4549 for ac_prog in egrep; do
4550 for ac_exec_ext in '' $ac_executable_extensions; do
4551 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4552 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4553 # Check for GNU ac_path_EGREP and select it if it is found.
4554 # Check for GNU $ac_path_EGREP
4555 case `"$ac_path_EGREP" --version 2>&1` in
4557 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4560 $as_echo_n 0123456789 >"conftest.in"
4563 cat "conftest.in" "conftest.in" >"conftest.tmp"
4564 mv "conftest.tmp" "conftest.in"
4565 cp "conftest.in" "conftest.nl"
4566 $as_echo 'EGREP' >> "conftest.nl"
4567 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4568 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4569 as_fn_arith $ac_count + 1 && ac_count=$as_val
4570 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4571 # Best one so far, save it but keep looking for a better one
4572 ac_cv_path_EGREP="$ac_path_EGREP"
4573 ac_path_EGREP_max=$ac_count
4575 # 10*(2^10) chars as input seems more than enough
4576 test $ac_count -gt 10 && break
4578 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4581 $ac_path_EGREP_found && break 3
4586 if test -z "$ac_cv_path_EGREP"; then
4587 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4590 ac_cv_path_EGREP=$EGREP
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4596 $as_echo "$ac_cv_path_EGREP" >&6; }
4597 EGREP="$ac_cv_path_EGREP"
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4601 $as_echo_n "checking for fgrep... " >&6; }
4602 if ${ac_cv_path_FGREP+:} false; then :
4603 $as_echo_n "(cached) " >&6
4605 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4606 then ac_cv_path_FGREP="$GREP -F"
4608 if test -z "$FGREP"; then
4609 ac_path_FGREP_found=false
4610 # Loop through the user's path and test for each of PROGNAME-LIST
4611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4612 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4615 test -z "$as_dir" && as_dir=.
4616 for ac_prog in fgrep; do
4617 for ac_exec_ext in '' $ac_executable_extensions; do
4618 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4619 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4620 # Check for GNU ac_path_FGREP and select it if it is found.
4621 # Check for GNU $ac_path_FGREP
4622 case `"$ac_path_FGREP" --version 2>&1` in
4624 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4627 $as_echo_n 0123456789 >"conftest.in"
4630 cat "conftest.in" "conftest.in" >"conftest.tmp"
4631 mv "conftest.tmp" "conftest.in"
4632 cp "conftest.in" "conftest.nl"
4633 $as_echo 'FGREP' >> "conftest.nl"
4634 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4635 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4636 as_fn_arith $ac_count + 1 && ac_count=$as_val
4637 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4638 # Best one so far, save it but keep looking for a better one
4639 ac_cv_path_FGREP="$ac_path_FGREP"
4640 ac_path_FGREP_max=$ac_count
4642 # 10*(2^10) chars as input seems more than enough
4643 test $ac_count -gt 10 && break
4645 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4648 $ac_path_FGREP_found && break 3
4653 if test -z "$ac_cv_path_FGREP"; then
4654 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4657 ac_cv_path_FGREP=$FGREP
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4663 $as_echo "$ac_cv_path_FGREP" >&6; }
4664 FGREP="$ac_cv_path_FGREP"
4667 test -z "$GREP" && GREP=grep
4687 # Check whether --with-gnu-ld was given.
4688 if test "${with_gnu_ld+set}" = set; then :
4689 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4695 if test "$GCC" = yes; then
4696 # Check if gcc -print-prog-name=ld gives a path.
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4698 $as_echo_n "checking for ld used by $CC... " >&6; }
4701 # gcc leaves a trailing carriage return which upsets mingw
4702 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4704 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4707 # Accept absolute paths.
4709 re_direlt='/[^/][^/]*/\.\./'
4710 # Canonicalize the pathname of ld
4711 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4712 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4713 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4715 test -z "$LD" && LD="$ac_prog"
4718 # If it fails, then pretend we aren't using GCC.
4722 # If it is relative, then search for the first ld in PATH.
4726 elif test "$with_gnu_ld" = yes; then
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4728 $as_echo_n "checking for GNU ld... " >&6; }
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4731 $as_echo_n "checking for non-GNU ld... " >&6; }
4733 if ${lt_cv_path_LD+:} false; then :
4734 $as_echo_n "(cached) " >&6
4736 if test -z "$LD"; then
4737 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4738 for ac_dir in $PATH; do
4740 test -z "$ac_dir" && ac_dir=.
4741 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4742 lt_cv_path_LD="$ac_dir/$ac_prog"
4743 # Check to see if the program is GNU ld. I'd rather use --version,
4744 # but apparently some variants of GNU ld only accept -v.
4745 # Break only if it was the GNU/non-GNU ld that we prefer.
4746 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4747 *GNU* | *'with BFD'*)
4748 test "$with_gnu_ld" != no && break
4751 test "$with_gnu_ld" != yes && break
4758 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4763 if test -n "$LD"; then
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4765 $as_echo "$LD" >&6; }
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4768 $as_echo "no" >&6; }
4770 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4772 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4773 if ${lt_cv_prog_gnu_ld+:} false; then :
4774 $as_echo_n "(cached) " >&6
4776 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4777 case `$LD -v 2>&1 </dev/null` in
4778 *GNU* | *'with BFD'*)
4779 lt_cv_prog_gnu_ld=yes
4782 lt_cv_prog_gnu_ld=no
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4787 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4788 with_gnu_ld=$lt_cv_prog_gnu_ld
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4799 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4800 if ${lt_cv_path_NM+:} false; then :
4801 $as_echo_n "(cached) " >&6
4803 if test -n "$NM"; then
4804 # Let the user override the test.
4807 lt_nm_to_check="${ac_tool_prefix}nm"
4808 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4809 lt_nm_to_check="$lt_nm_to_check nm"
4811 for lt_tmp_nm in $lt_nm_to_check; do
4812 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4813 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4815 test -z "$ac_dir" && ac_dir=.
4816 tmp_nm="$ac_dir/$lt_tmp_nm"
4817 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4818 # Check to see if the nm accepts a BSD-compat flag.
4819 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4820 # nm: unknown option "B" ignored
4821 # Tru64's nm complains that /dev/null is an invalid object file
4822 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4823 */dev/null* | *'Invalid file or object type'*)
4824 lt_cv_path_NM="$tmp_nm -B"
4828 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4830 lt_cv_path_NM="$tmp_nm -p"
4834 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4835 continue # so that we can try to find one that supports BSD flags
4844 : ${lt_cv_path_NM=no}
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4848 $as_echo "$lt_cv_path_NM" >&6; }
4849 if test "$lt_cv_path_NM" != "no"; then
4852 # Didn't find any BSD compatible name lister, look for dumpbin.
4853 if test -n "$DUMPBIN"; then :
4854 # Let the user override the test.
4856 if test -n "$ac_tool_prefix"; then
4857 for ac_prog in dumpbin "link -dump"
4859 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4860 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4862 $as_echo_n "checking for $ac_word... " >&6; }
4863 if ${ac_cv_prog_DUMPBIN+:} false; then :
4864 $as_echo_n "(cached) " >&6
4866 if test -n "$DUMPBIN"; then
4867 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4873 test -z "$as_dir" && as_dir=.
4874 for ac_exec_ext in '' $ac_executable_extensions; do
4875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4876 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4886 DUMPBIN=$ac_cv_prog_DUMPBIN
4887 if test -n "$DUMPBIN"; then
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4889 $as_echo "$DUMPBIN" >&6; }
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4892 $as_echo "no" >&6; }
4896 test -n "$DUMPBIN" && break
4899 if test -z "$DUMPBIN"; then
4900 ac_ct_DUMPBIN=$DUMPBIN
4901 for ac_prog in dumpbin "link -dump"
4903 # Extract the first word of "$ac_prog", so it can be a program name with args.
4904 set dummy $ac_prog; ac_word=$2
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4906 $as_echo_n "checking for $ac_word... " >&6; }
4907 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4908 $as_echo_n "(cached) " >&6
4910 if test -n "$ac_ct_DUMPBIN"; then
4911 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4917 test -z "$as_dir" && as_dir=.
4918 for ac_exec_ext in '' $ac_executable_extensions; do
4919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4920 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4930 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4931 if test -n "$ac_ct_DUMPBIN"; then
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4933 $as_echo "$ac_ct_DUMPBIN" >&6; }
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4936 $as_echo "no" >&6; }
4940 test -n "$ac_ct_DUMPBIN" && break
4943 if test "x$ac_ct_DUMPBIN" = x; then
4946 case $cross_compiling:$ac_tool_warned in
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4949 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4950 ac_tool_warned=yes ;;
4952 DUMPBIN=$ac_ct_DUMPBIN
4956 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4958 DUMPBIN="$DUMPBIN -symbols"
4966 if test "$DUMPBIN" != ":"; then
4970 test -z "$NM" && NM=nm
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4978 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4979 if ${lt_cv_nm_interface+:} false; then :
4980 $as_echo_n "(cached) " >&6
4982 lt_cv_nm_interface="BSD nm"
4983 echo "int some_variable = 0;" > conftest.$ac_ext
4984 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4985 (eval "$ac_compile" 2>conftest.err)
4986 cat conftest.err >&5
4987 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4988 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4989 cat conftest.err >&5
4990 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4991 cat conftest.out >&5
4992 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4993 lt_cv_nm_interface="MS dumpbin"
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4998 $as_echo "$lt_cv_nm_interface" >&6; }
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5001 $as_echo_n "checking whether ln -s works... " >&6; }
5003 if test "$LN_S" = "ln -s"; then
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5005 $as_echo "yes" >&6; }
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5008 $as_echo "no, using $LN_S" >&6; }
5011 # find the maximum length of command line arguments
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5013 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5014 if ${lt_cv_sys_max_cmd_len+:} false; then :
5015 $as_echo_n "(cached) " >&6
5022 # On DJGPP, this test can blow up pretty badly due to problems in libc
5023 # (any single argument exceeding 2000 bytes causes a buffer overrun
5024 # during glob expansion). Even if it were fixed, the result of this
5025 # check would be larger than it should be.
5026 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5030 # Under GNU Hurd, this test is not required because there is
5031 # no limit to the length of command line arguments.
5032 # Libtool will interpret -1 as no limit whatsoever
5033 lt_cv_sys_max_cmd_len=-1;
5036 cygwin* | mingw* | cegcc*)
5037 # On Win9x/ME, this test blows up -- it succeeds, but takes
5038 # about 5 minutes as the teststring grows exponentially.
5039 # Worse, since 9x/ME are not pre-emptively multitasking,
5040 # you end up with a "frozen" computer, even though with patience
5041 # the test eventually succeeds (with a max line length of 256k).
5042 # Instead, let's just punt: use the minimum linelength reported by
5043 # all of the supported platforms: 8192 (on NT/2K/XP).
5044 lt_cv_sys_max_cmd_len=8192;
5048 # On MiNT this can take a long time and run out of memory.
5049 lt_cv_sys_max_cmd_len=8192;
5053 # On AmigaOS with pdksh, this test takes hours, literally.
5054 # So we just punt and use a minimum line length of 8192.
5055 lt_cv_sys_max_cmd_len=8192;
5058 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5059 # This has been around since 386BSD, at least. Likely further.
5060 if test -x /sbin/sysctl; then
5061 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5062 elif test -x /usr/sbin/sysctl; then
5063 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5065 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5067 # And add a safety zone
5068 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5069 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5073 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5074 lt_cv_sys_max_cmd_len=196608
5078 # The test takes a long time on OS/2.
5079 lt_cv_sys_max_cmd_len=8192
5083 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5084 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5085 # nice to cause kernel panics so lets avoid the loop below.
5086 # First set a reasonable default.
5087 lt_cv_sys_max_cmd_len=16384
5089 if test -x /sbin/sysconfig; then
5090 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5091 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5096 lt_cv_sys_max_cmd_len=102400
5098 sysv5* | sco5v6* | sysv4.2uw2*)
5099 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5100 if test -n "$kargmax"; then
5101 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5103 lt_cv_sys_max_cmd_len=32768
5107 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5108 if test -n "$lt_cv_sys_max_cmd_len"; then
5109 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5110 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5112 # Make teststring a little bigger before we do anything with it.
5113 # a 1K string should be a reasonable start.
5114 for i in 1 2 3 4 5 6 7 8 ; do
5115 teststring=$teststring$teststring
5117 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5118 # If test is not a shell built-in, we'll probably end up computing a
5119 # maximum length that is only half of the actual maximum length, but
5121 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5122 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5123 test $i != 17 # 1/2 MB should be enough
5126 teststring=$teststring$teststring
5128 # Only check the string length outside the loop.
5129 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5131 # Add a significant safety factor because C++ compilers can tack on
5132 # massive amounts of additional arguments before passing them to the
5133 # linker. It appears as though 1/2 is a usable value.
5134 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5141 if test -n $lt_cv_sys_max_cmd_len ; then
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5143 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5146 $as_echo "none" >&6; }
5148 max_cmd_len=$lt_cv_sys_max_cmd_len
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5160 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5161 # Try some XSI features
5164 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5166 && eval 'test $(( 1 + 1 )) -eq 2 \
5167 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5170 $as_echo "$xsi_shell" >&6; }
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5174 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5176 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5178 && lt_shell_append=yes
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5180 $as_echo "$lt_shell_append" >&6; }
5183 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5193 # test EBCDIC or ASCII
5194 case `echo X|tr X '\101'` in
5195 A) # ASCII based system
5196 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5197 lt_SP2NL='tr \040 \012'
5198 lt_NL2SP='tr \015\012 \040\040'
5200 *) # EBCDIC based system
5201 lt_SP2NL='tr \100 \n'
5202 lt_NL2SP='tr \r\n \100\100'
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5215 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5216 if ${lt_cv_to_host_file_cmd+:} false; then :
5217 $as_echo_n "(cached) " >&6
5222 *-*-mingw* ) # actually msys
5223 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5226 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5228 * ) # otherwise, assume *nix
5229 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5235 *-*-mingw* ) # actually msys
5236 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5239 lt_cv_to_host_file_cmd=func_convert_file_noop
5241 * ) # otherwise, assume *nix
5242 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5246 * ) # unhandled hosts (and "normal" native builds)
5247 lt_cv_to_host_file_cmd=func_convert_file_noop
5253 to_host_file_cmd=$lt_cv_to_host_file_cmd
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5255 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5262 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5263 if ${lt_cv_to_tool_file_cmd+:} false; then :
5264 $as_echo_n "(cached) " >&6
5266 #assume ordinary cross tools, or native build.
5267 lt_cv_to_tool_file_cmd=func_convert_file_noop
5271 *-*-mingw* ) # actually msys
5272 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5280 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5282 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5289 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5290 if ${lt_cv_ld_reload_flag+:} false; then :
5291 $as_echo_n "(cached) " >&6
5293 lt_cv_ld_reload_flag='-r'
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5296 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5297 reload_flag=$lt_cv_ld_reload_flag
5298 case $reload_flag in
5300 *) reload_flag=" $reload_flag" ;;
5302 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5304 cygwin* | mingw* | pw32* | cegcc*)
5305 if test "$GCC" != yes; then
5310 if test "$GCC" = yes; then
5311 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5313 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5326 if test -n "$ac_tool_prefix"; then
5327 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5328 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5330 $as_echo_n "checking for $ac_word... " >&6; }
5331 if ${ac_cv_prog_OBJDUMP+:} false; then :
5332 $as_echo_n "(cached) " >&6
5334 if test -n "$OBJDUMP"; then
5335 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5341 test -z "$as_dir" && as_dir=.
5342 for ac_exec_ext in '' $ac_executable_extensions; do
5343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5344 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5354 OBJDUMP=$ac_cv_prog_OBJDUMP
5355 if test -n "$OBJDUMP"; then
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5357 $as_echo "$OBJDUMP" >&6; }
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5360 $as_echo "no" >&6; }
5365 if test -z "$ac_cv_prog_OBJDUMP"; then
5366 ac_ct_OBJDUMP=$OBJDUMP
5367 # Extract the first word of "objdump", so it can be a program name with args.
5368 set dummy objdump; ac_word=$2
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5370 $as_echo_n "checking for $ac_word... " >&6; }
5371 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5372 $as_echo_n "(cached) " >&6
5374 if test -n "$ac_ct_OBJDUMP"; then
5375 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5381 test -z "$as_dir" && as_dir=.
5382 for ac_exec_ext in '' $ac_executable_extensions; do
5383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5384 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5394 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5395 if test -n "$ac_ct_OBJDUMP"; then
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5397 $as_echo "$ac_ct_OBJDUMP" >&6; }
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5400 $as_echo "no" >&6; }
5403 if test "x$ac_ct_OBJDUMP" = x; then
5406 case $cross_compiling:$ac_tool_warned in
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5409 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5410 ac_tool_warned=yes ;;
5412 OBJDUMP=$ac_ct_OBJDUMP
5415 OBJDUMP="$ac_cv_prog_OBJDUMP"
5418 test -z "$OBJDUMP" && OBJDUMP=objdump
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5426 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5427 if ${lt_cv_deplibs_check_method+:} false; then :
5428 $as_echo_n "(cached) " >&6
5430 lt_cv_file_magic_cmd='$MAGIC_CMD'
5431 lt_cv_file_magic_test_file=
5432 lt_cv_deplibs_check_method='unknown'
5433 # Need to set the preceding variable on all platforms that support
5434 # interlibrary dependencies.
5435 # 'none' -- dependencies not supported.
5436 # `unknown' -- same as none, but documents that we really don't know.
5437 # 'pass_all' -- all dependencies passed with no checks.
5438 # 'test_compile' -- check by making test program.
5439 # 'file_magic [[regex]]' -- check by looking for files in library path
5440 # which responds to the $file_magic_cmd with a given extended regex.
5441 # If you have `file' or equivalent on your system and you're not sure
5442 # whether `pass_all' will *always* work, you probably want this one.
5446 lt_cv_deplibs_check_method=pass_all
5450 lt_cv_deplibs_check_method=pass_all
5454 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5455 lt_cv_file_magic_cmd='/usr/bin/file -L'
5456 lt_cv_file_magic_test_file=/shlib/libc.so
5460 # func_win32_libid is a shell function defined in ltmain.sh
5461 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5462 lt_cv_file_magic_cmd='func_win32_libid'
5466 # Base MSYS/MinGW do not provide the 'file' command needed by
5467 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5468 # unless we find 'file', for example because we are cross-compiling.
5469 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5470 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5471 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5472 lt_cv_file_magic_cmd='func_win32_libid'
5474 # Keep this pattern in sync with the one in func_win32_libid.
5475 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5476 lt_cv_file_magic_cmd='$OBJDUMP -f'
5481 # use the weaker test based on 'objdump'. See mingw*.
5482 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5483 lt_cv_file_magic_cmd='$OBJDUMP -f'
5486 darwin* | rhapsody*)
5487 lt_cv_deplibs_check_method=pass_all
5490 freebsd* | dragonfly*)
5491 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5494 # Not sure whether the presence of OpenBSD here was a mistake.
5495 # Let's accept both of them until this is cleared up.
5496 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5497 lt_cv_file_magic_cmd=/usr/bin/file
5498 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5502 lt_cv_deplibs_check_method=pass_all
5507 lt_cv_deplibs_check_method=pass_all
5511 lt_cv_deplibs_check_method=pass_all
5514 hpux10.20* | hpux11*)
5515 lt_cv_file_magic_cmd=/usr/bin/file
5518 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5519 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5522 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]'
5523 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5526 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5527 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5533 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5534 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5537 irix5* | irix6* | nonstopux*)
5539 *-32|*"-32 ") libmagic=32-bit;;
5540 *-n32|*"-n32 ") libmagic=N32;;
5541 *-64|*"-64 ") libmagic=64-bit;;
5542 *) libmagic=never-match;;
5544 lt_cv_deplibs_check_method=pass_all
5547 # This must be glibc/ELF.
5548 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5549 lt_cv_deplibs_check_method=pass_all
5553 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5554 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5556 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5561 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5562 lt_cv_file_magic_cmd=/usr/bin/file
5563 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5567 lt_cv_deplibs_check_method=pass_all
5571 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5572 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5574 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5578 osf3* | osf4* | osf5*)
5579 lt_cv_deplibs_check_method=pass_all
5583 lt_cv_deplibs_check_method=pass_all
5587 lt_cv_deplibs_check_method=pass_all
5590 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5591 lt_cv_deplibs_check_method=pass_all
5595 case $host_vendor in
5597 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]'
5598 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5601 lt_cv_deplibs_check_method=pass_all
5604 lt_cv_file_magic_cmd='/bin/file'
5605 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5608 lt_cv_file_magic_cmd='/bin/file'
5609 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5610 lt_cv_file_magic_test_file=/lib/libc.so
5613 lt_cv_deplibs_check_method=pass_all
5616 lt_cv_deplibs_check_method=pass_all
5622 lt_cv_deplibs_check_method=pass_all
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5628 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5632 if test "$build" = "$host"; then
5635 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5638 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5644 file_magic_cmd=$lt_cv_file_magic_cmd
5645 deplibs_check_method=$lt_cv_deplibs_check_method
5646 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5669 if test -n "$ac_tool_prefix"; then
5670 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5671 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5673 $as_echo_n "checking for $ac_word... " >&6; }
5674 if ${ac_cv_prog_DLLTOOL+:} false; then :
5675 $as_echo_n "(cached) " >&6
5677 if test -n "$DLLTOOL"; then
5678 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5684 test -z "$as_dir" && as_dir=.
5685 for ac_exec_ext in '' $ac_executable_extensions; do
5686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5687 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5697 DLLTOOL=$ac_cv_prog_DLLTOOL
5698 if test -n "$DLLTOOL"; then
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5700 $as_echo "$DLLTOOL" >&6; }
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5703 $as_echo "no" >&6; }
5708 if test -z "$ac_cv_prog_DLLTOOL"; then
5709 ac_ct_DLLTOOL=$DLLTOOL
5710 # Extract the first word of "dlltool", so it can be a program name with args.
5711 set dummy dlltool; ac_word=$2
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5713 $as_echo_n "checking for $ac_word... " >&6; }
5714 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5715 $as_echo_n "(cached) " >&6
5717 if test -n "$ac_ct_DLLTOOL"; then
5718 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5724 test -z "$as_dir" && as_dir=.
5725 for ac_exec_ext in '' $ac_executable_extensions; do
5726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5727 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5737 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5738 if test -n "$ac_ct_DLLTOOL"; then
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5740 $as_echo "$ac_ct_DLLTOOL" >&6; }
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5743 $as_echo "no" >&6; }
5746 if test "x$ac_ct_DLLTOOL" = x; then
5749 case $cross_compiling:$ac_tool_warned in
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5752 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5753 ac_tool_warned=yes ;;
5755 DLLTOOL=$ac_ct_DLLTOOL
5758 DLLTOOL="$ac_cv_prog_DLLTOOL"
5761 test -z "$DLLTOOL" && DLLTOOL=dlltool
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5770 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5771 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5772 $as_echo_n "(cached) " >&6
5774 lt_cv_sharedlib_from_linklib_cmd='unknown'
5777 cygwin* | mingw* | pw32* | cegcc*)
5778 # two different shell functions defined in ltmain.sh
5779 # decide which to use based on capabilities of $DLLTOOL
5780 case `$DLLTOOL --help 2>&1` in
5781 *--identify-strict*)
5782 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5785 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5790 # fallback: assume linklib IS sharedlib
5791 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5797 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5798 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5799 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5808 if test -n "$ac_tool_prefix"; then
5811 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5812 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5814 $as_echo_n "checking for $ac_word... " >&6; }
5815 if ${ac_cv_prog_AR+:} false; then :
5816 $as_echo_n "(cached) " >&6
5818 if test -n "$AR"; then
5819 ac_cv_prog_AR="$AR" # Let the user override the test.
5821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5825 test -z "$as_dir" && as_dir=.
5826 for ac_exec_ext in '' $ac_executable_extensions; do
5827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5828 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5839 if test -n "$AR"; then
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5841 $as_echo "$AR" >&6; }
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5844 $as_echo "no" >&6; }
5848 test -n "$AR" && break
5851 if test -z "$AR"; then
5855 # Extract the first word of "$ac_prog", so it can be a program name with args.
5856 set dummy $ac_prog; ac_word=$2
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5858 $as_echo_n "checking for $ac_word... " >&6; }
5859 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5860 $as_echo_n "(cached) " >&6
5862 if test -n "$ac_ct_AR"; then
5863 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5869 test -z "$as_dir" && as_dir=.
5870 for ac_exec_ext in '' $ac_executable_extensions; do
5871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5872 ac_cv_prog_ac_ct_AR="$ac_prog"
5873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5882 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5883 if test -n "$ac_ct_AR"; then
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5885 $as_echo "$ac_ct_AR" >&6; }
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5888 $as_echo "no" >&6; }
5892 test -n "$ac_ct_AR" && break
5895 if test "x$ac_ct_AR" = x; then
5898 case $cross_compiling:$ac_tool_warned in
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5901 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5902 ac_tool_warned=yes ;;
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5922 $as_echo_n "checking for archiver @FILE support... " >&6; }
5923 if ${lt_cv_ar_at_file+:} false; then :
5924 $as_echo_n "(cached) " >&6
5927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5928 /* end confdefs.h. */
5938 if ac_fn_c_try_compile "$LINENO"; then :
5939 echo conftest.$ac_objext > conftest.lst
5940 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5941 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5942 (eval $lt_ar_try) 2>&5
5944 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5945 test $ac_status = 0; }
5946 if test "$ac_status" -eq 0; then
5947 # Ensure the archiver fails upon bogus file names.
5948 rm -f conftest.$ac_objext libconftest.a
5949 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5950 (eval $lt_ar_try) 2>&5
5952 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5953 test $ac_status = 0; }
5954 if test "$ac_status" -ne 0; then
5958 rm -f conftest.* libconftest.a
5961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5965 $as_echo "$lt_cv_ar_at_file" >&6; }
5967 if test "x$lt_cv_ar_at_file" = xno; then
5970 archiver_list_spec=$lt_cv_ar_at_file
5979 if test -n "$ac_tool_prefix"; then
5980 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5981 set dummy ${ac_tool_prefix}strip; ac_word=$2
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5983 $as_echo_n "checking for $ac_word... " >&6; }
5984 if ${ac_cv_prog_STRIP+:} false; then :
5985 $as_echo_n "(cached) " >&6
5987 if test -n "$STRIP"; then
5988 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5994 test -z "$as_dir" && as_dir=.
5995 for ac_exec_ext in '' $ac_executable_extensions; do
5996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5997 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6007 STRIP=$ac_cv_prog_STRIP
6008 if test -n "$STRIP"; then
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6010 $as_echo "$STRIP" >&6; }
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6013 $as_echo "no" >&6; }
6018 if test -z "$ac_cv_prog_STRIP"; then
6020 # Extract the first word of "strip", so it can be a program name with args.
6021 set dummy strip; ac_word=$2
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6023 $as_echo_n "checking for $ac_word... " >&6; }
6024 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6025 $as_echo_n "(cached) " >&6
6027 if test -n "$ac_ct_STRIP"; then
6028 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6034 test -z "$as_dir" && as_dir=.
6035 for ac_exec_ext in '' $ac_executable_extensions; do
6036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6037 ac_cv_prog_ac_ct_STRIP="strip"
6038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6047 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6048 if test -n "$ac_ct_STRIP"; then
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6050 $as_echo "$ac_ct_STRIP" >&6; }
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6053 $as_echo "no" >&6; }
6056 if test "x$ac_ct_STRIP" = x; then
6059 case $cross_compiling:$ac_tool_warned in
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6062 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6063 ac_tool_warned=yes ;;
6068 STRIP="$ac_cv_prog_STRIP"
6071 test -z "$STRIP" && STRIP=:
6078 if test -n "$ac_tool_prefix"; then
6079 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6080 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6082 $as_echo_n "checking for $ac_word... " >&6; }
6083 if ${ac_cv_prog_RANLIB+:} false; then :
6084 $as_echo_n "(cached) " >&6
6086 if test -n "$RANLIB"; then
6087 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6093 test -z "$as_dir" && as_dir=.
6094 for ac_exec_ext in '' $ac_executable_extensions; do
6095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6096 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6106 RANLIB=$ac_cv_prog_RANLIB
6107 if test -n "$RANLIB"; then
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6109 $as_echo "$RANLIB" >&6; }
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6112 $as_echo "no" >&6; }
6117 if test -z "$ac_cv_prog_RANLIB"; then
6118 ac_ct_RANLIB=$RANLIB
6119 # Extract the first word of "ranlib", so it can be a program name with args.
6120 set dummy ranlib; ac_word=$2
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6122 $as_echo_n "checking for $ac_word... " >&6; }
6123 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6124 $as_echo_n "(cached) " >&6
6126 if test -n "$ac_ct_RANLIB"; then
6127 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6133 test -z "$as_dir" && as_dir=.
6134 for ac_exec_ext in '' $ac_executable_extensions; do
6135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6136 ac_cv_prog_ac_ct_RANLIB="ranlib"
6137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6146 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6147 if test -n "$ac_ct_RANLIB"; then
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6149 $as_echo "$ac_ct_RANLIB" >&6; }
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6152 $as_echo "no" >&6; }
6155 if test "x$ac_ct_RANLIB" = x; then
6158 case $cross_compiling:$ac_tool_warned in
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6161 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6162 ac_tool_warned=yes ;;
6164 RANLIB=$ac_ct_RANLIB
6167 RANLIB="$ac_cv_prog_RANLIB"
6170 test -z "$RANLIB" && RANLIB=:
6177 # Determine commands to create old-style static archives.
6178 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6179 old_postinstall_cmds='chmod 644 $oldlib'
6180 old_postuninstall_cmds=
6182 if test -n "$RANLIB"; then
6185 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6188 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6191 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6196 lock_old_archive_extraction=yes ;;
6198 lock_old_archive_extraction=no ;;
6239 # If no C compiler was specified, use CC.
6242 # If no C compiler flags were specified, use CFLAGS.
6243 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6245 # Allow CC to be a program name with arguments.
6249 # Check for command to grab the raw symbol name followed by C symbol from nm.
6250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6251 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6252 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6253 $as_echo_n "(cached) " >&6
6256 # These are sane defaults that work on at least a few old systems.
6257 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6259 # Character class describing NM global symbol codes.
6260 symcode='[BCDEGRST]'
6262 # Regexp to match symbols that can be accessed directly from C.
6263 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6265 # Define system-specific variables.
6270 cygwin* | mingw* | pw32* | cegcc*)
6271 symcode='[ABCDGISTW]'
6274 if test "$host_cpu" = ia64; then
6275 symcode='[ABCDEGRST]'
6279 symcode='[BCDEGRST]'
6282 symcode='[BCDEGQRST]'
6293 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6301 # If we're using GNU nm, then use its standard symbol codes.
6302 case `$NM -V 2>&1` in
6303 *GNU* | *'with BFD'*)
6304 symcode='[ABCDGIRSTW]' ;;
6307 # Transform an extracted symbol line into a proper C declaration.
6308 # Some systems (esp. on ia64) link data and code symbols differently,
6309 # so use this general approach.
6310 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6312 # Transform an extracted symbol line into symbol name and symbol address
6313 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6314 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'"
6316 # Handle CRLF in mingw tool chain
6320 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6324 # Try without a prefix underscore, then with it.
6325 for ac_symprfx in "" "_"; do
6327 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6328 symxfrm="\\1 $ac_symprfx\\2 \\2"
6330 # Write the raw and C identifiers.
6331 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6332 # Fake it for dumpbin and say T for any non-static function
6333 # and D for any global variable.
6334 # Also find C++ and __fastcall symbols from MSVC++,
6335 # which start with @ or ?.
6336 lt_cv_sys_global_symbol_pipe="$AWK '"\
6337 " {last_section=section; section=\$ 3};"\
6338 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6339 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6340 " \$ 0!~/External *\|/{next};"\
6341 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6342 " {if(hide[section]) next};"\
6343 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6344 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6345 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6346 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6347 " ' prfx=^$ac_symprfx"
6349 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6351 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6353 # Check to see that the pipe works correctly.
6357 cat > conftest.$ac_ext <<_LT_EOF
6362 void nm_test_func(void);
6363 void nm_test_func(void){}
6367 int main(){nm_test_var='a';nm_test_func();return(0);}
6370 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6371 (eval $ac_compile) 2>&5
6373 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6374 test $ac_status = 0; }; then
6375 # Now try to grab the symbols.
6377 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6378 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6380 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6381 test $ac_status = 0; } && test -s "$nlist"; then
6382 # Try sorting and uniquifying the output.
6383 if sort "$nlist" | uniq > "$nlist"T; then
6384 mv -f "$nlist"T "$nlist"
6389 # Make sure that we snagged all the symbols we need.
6390 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6391 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6392 cat <<_LT_EOF > conftest.$ac_ext
6393 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6394 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6395 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6396 relocations are performed -- see ld's documentation on pseudo-relocs. */
6397 # define LT_DLSYM_CONST
6398 #elif defined(__osf__)
6399 /* This system does not cope well with relocations in const data. */
6400 # define LT_DLSYM_CONST
6402 # define LT_DLSYM_CONST const
6410 # Now generate the symbol file.
6411 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6413 cat <<_LT_EOF >> conftest.$ac_ext
6415 /* The mapping between symbol names and symbols. */
6416 LT_DLSYM_CONST struct {
6420 lt__PROGRAM__LTX_preloaded_symbols[] =
6422 { "@PROGRAM@", (void *) 0 },
6424 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6425 cat <<\_LT_EOF >> conftest.$ac_ext
6429 /* This works around a problem in FreeBSD linker */
6430 #ifdef FREEBSD_WORKAROUND
6431 static const void *lt_preloaded_setup() {
6432 return lt__PROGRAM__LTX_preloaded_symbols;
6440 # Now try linking the two files.
6441 mv conftest.$ac_objext conftstm.$ac_objext
6442 lt_globsym_save_LIBS=$LIBS
6443 lt_globsym_save_CFLAGS=$CFLAGS
6444 LIBS="conftstm.$ac_objext"
6445 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6446 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6447 (eval $ac_link) 2>&5
6449 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6450 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6453 LIBS=$lt_globsym_save_LIBS
6454 CFLAGS=$lt_globsym_save_CFLAGS
6456 echo "cannot find nm_test_func in $nlist" >&5
6459 echo "cannot find nm_test_var in $nlist" >&5
6462 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6465 echo "$progname: failed program was:" >&5
6466 cat conftest.$ac_ext >&5
6468 rm -rf conftest* conftst*
6470 # Do not use the global_symbol_pipe unless it works.
6471 if test "$pipe_works" = yes; then
6474 lt_cv_sys_global_symbol_pipe=
6480 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6481 lt_cv_sys_global_symbol_to_cdecl=
6483 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6485 $as_echo "failed" >&6; }
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6488 $as_echo "ok" >&6; }
6491 # Response file support.
6492 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6493 nm_file_list_spec='@'
6494 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6495 nm_file_list_spec='@'
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6525 $as_echo_n "checking for sysroot... " >&6; }
6527 # Check whether --with-sysroot was given.
6528 if test "${with_sysroot+set}" = set; then :
6529 withval=$with_sysroot;
6536 case ${with_sysroot} in #(
6538 if test "$GCC" = yes; then
6539 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6543 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6549 $as_echo "${with_sysroot}" >&6; }
6550 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6555 $as_echo "${lt_sysroot:-no}" >&6; }
6561 # Check whether --enable-libtool-lock was given.
6562 if test "${enable_libtool_lock+set}" = set; then :
6563 enableval=$enable_libtool_lock;
6566 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6568 # Some flags need to be propagated to the compiler or linker for good
6572 # Find out which ABI we are using.
6573 echo 'int i;' > conftest.$ac_ext
6574 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6575 (eval $ac_compile) 2>&5
6577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6578 test $ac_status = 0; }; then
6579 case `/usr/bin/file conftest.$ac_objext` in
6591 # Find out which ABI we are using.
6592 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6593 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6594 (eval $ac_compile) 2>&5
6596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6597 test $ac_status = 0; }; then
6598 if test "$lt_cv_prog_gnu_ld" = yes; then
6599 case `/usr/bin/file conftest.$ac_objext` in
6601 LD="${LD-ld} -melf32bsmip"
6604 LD="${LD-ld} -melf32bmipn32"
6607 LD="${LD-ld} -melf64bmip"
6611 case `/usr/bin/file conftest.$ac_objext` in
6627 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6628 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6629 # Find out which ABI we are using.
6630 echo 'int i;' > conftest.$ac_ext
6631 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6632 (eval $ac_compile) 2>&5
6634 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6635 test $ac_status = 0; }; then
6636 case `/usr/bin/file conftest.o` in
6639 x86_64-*kfreebsd*-gnu)
6640 LD="${LD-ld} -m elf_i386_fbsd"
6643 LD="${LD-ld} -m elf_i386"
6645 ppc64-*linux*|powerpc64-*linux*)
6646 LD="${LD-ld} -m elf32ppclinux"
6649 LD="${LD-ld} -m elf_s390"
6652 LD="${LD-ld} -m elf32_sparc"
6658 x86_64-*kfreebsd*-gnu)
6659 LD="${LD-ld} -m elf_x86_64_fbsd"
6662 LD="${LD-ld} -m elf_x86_64"
6664 ppc*-*linux*|powerpc*-*linux*)
6665 LD="${LD-ld} -m elf64ppc"
6667 s390*-*linux*|s390*-*tpf*)
6668 LD="${LD-ld} -m elf64_s390"
6671 LD="${LD-ld} -m elf64_sparc"
6681 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6682 SAVE_CFLAGS="$CFLAGS"
6683 CFLAGS="$CFLAGS -belf"
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6685 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6686 if ${lt_cv_cc_needs_belf+:} false; then :
6687 $as_echo_n "(cached) " >&6
6690 ac_cpp='$CPP $CPPFLAGS'
6691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6696 /* end confdefs.h. */
6706 if ac_fn_c_try_link "$LINENO"; then :
6707 lt_cv_cc_needs_belf=yes
6709 lt_cv_cc_needs_belf=no
6711 rm -f core conftest.err conftest.$ac_objext \
6712 conftest$ac_exeext conftest.$ac_ext
6714 ac_cpp='$CPP $CPPFLAGS'
6715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6721 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6722 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6723 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6724 CFLAGS="$SAVE_CFLAGS"
6728 # Find out which ABI we are using.
6729 echo 'int i;' > conftest.$ac_ext
6730 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6731 (eval $ac_compile) 2>&5
6733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6734 test $ac_status = 0; }; then
6735 case `/usr/bin/file conftest.o` in
6737 case $lt_cv_prog_gnu_ld in
6741 LD="${LD-ld} -m elf_x86_64"
6744 LD="${LD-ld} -m elf64_sparc"
6747 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6748 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6753 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6765 need_locks="$enable_libtool_lock"
6767 if test -n "$ac_tool_prefix"; then
6768 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6769 set dummy ${ac_tool_prefix}mt; ac_word=$2
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6771 $as_echo_n "checking for $ac_word... " >&6; }
6772 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6773 $as_echo_n "(cached) " >&6
6775 if test -n "$MANIFEST_TOOL"; then
6776 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6782 test -z "$as_dir" && as_dir=.
6783 for ac_exec_ext in '' $ac_executable_extensions; do
6784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6785 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6795 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6796 if test -n "$MANIFEST_TOOL"; then
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6798 $as_echo "$MANIFEST_TOOL" >&6; }
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6801 $as_echo "no" >&6; }
6806 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6807 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6808 # Extract the first word of "mt", so it can be a program name with args.
6809 set dummy mt; ac_word=$2
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6811 $as_echo_n "checking for $ac_word... " >&6; }
6812 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6813 $as_echo_n "(cached) " >&6
6815 if test -n "$ac_ct_MANIFEST_TOOL"; then
6816 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6822 test -z "$as_dir" && as_dir=.
6823 for ac_exec_ext in '' $ac_executable_extensions; do
6824 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6825 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6835 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6836 if test -n "$ac_ct_MANIFEST_TOOL"; then
6837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6838 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6841 $as_echo "no" >&6; }
6844 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6847 case $cross_compiling:$ac_tool_warned in
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6850 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6851 ac_tool_warned=yes ;;
6853 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6856 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6859 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6861 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6862 if ${lt_cv_path_mainfest_tool+:} false; then :
6863 $as_echo_n "(cached) " >&6
6865 lt_cv_path_mainfest_tool=no
6866 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6867 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6868 cat conftest.err >&5
6869 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6870 lt_cv_path_mainfest_tool=yes
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6875 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6876 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6886 rhapsody* | darwin*)
6887 if test -n "$ac_tool_prefix"; then
6888 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6889 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6891 $as_echo_n "checking for $ac_word... " >&6; }
6892 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6893 $as_echo_n "(cached) " >&6
6895 if test -n "$DSYMUTIL"; then
6896 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6902 test -z "$as_dir" && as_dir=.
6903 for ac_exec_ext in '' $ac_executable_extensions; do
6904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6905 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6915 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6916 if test -n "$DSYMUTIL"; then
6917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6918 $as_echo "$DSYMUTIL" >&6; }
6920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6921 $as_echo "no" >&6; }
6926 if test -z "$ac_cv_prog_DSYMUTIL"; then
6927 ac_ct_DSYMUTIL=$DSYMUTIL
6928 # Extract the first word of "dsymutil", so it can be a program name with args.
6929 set dummy dsymutil; ac_word=$2
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6931 $as_echo_n "checking for $ac_word... " >&6; }
6932 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6933 $as_echo_n "(cached) " >&6
6935 if test -n "$ac_ct_DSYMUTIL"; then
6936 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6942 test -z "$as_dir" && as_dir=.
6943 for ac_exec_ext in '' $ac_executable_extensions; do
6944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6945 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6955 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6956 if test -n "$ac_ct_DSYMUTIL"; then
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6958 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6961 $as_echo "no" >&6; }
6964 if test "x$ac_ct_DSYMUTIL" = x; then
6967 case $cross_compiling:$ac_tool_warned in
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6970 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6971 ac_tool_warned=yes ;;
6973 DSYMUTIL=$ac_ct_DSYMUTIL
6976 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6979 if test -n "$ac_tool_prefix"; then
6980 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6981 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6983 $as_echo_n "checking for $ac_word... " >&6; }
6984 if ${ac_cv_prog_NMEDIT+:} false; then :
6985 $as_echo_n "(cached) " >&6
6987 if test -n "$NMEDIT"; then
6988 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6994 test -z "$as_dir" && as_dir=.
6995 for ac_exec_ext in '' $ac_executable_extensions; do
6996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6997 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7007 NMEDIT=$ac_cv_prog_NMEDIT
7008 if test -n "$NMEDIT"; then
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7010 $as_echo "$NMEDIT" >&6; }
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7013 $as_echo "no" >&6; }
7018 if test -z "$ac_cv_prog_NMEDIT"; then
7019 ac_ct_NMEDIT=$NMEDIT
7020 # Extract the first word of "nmedit", so it can be a program name with args.
7021 set dummy nmedit; ac_word=$2
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7023 $as_echo_n "checking for $ac_word... " >&6; }
7024 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7025 $as_echo_n "(cached) " >&6
7027 if test -n "$ac_ct_NMEDIT"; then
7028 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7034 test -z "$as_dir" && as_dir=.
7035 for ac_exec_ext in '' $ac_executable_extensions; do
7036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7037 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7047 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7048 if test -n "$ac_ct_NMEDIT"; then
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7050 $as_echo "$ac_ct_NMEDIT" >&6; }
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7053 $as_echo "no" >&6; }
7056 if test "x$ac_ct_NMEDIT" = x; then
7059 case $cross_compiling:$ac_tool_warned in
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7062 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7063 ac_tool_warned=yes ;;
7065 NMEDIT=$ac_ct_NMEDIT
7068 NMEDIT="$ac_cv_prog_NMEDIT"
7071 if test -n "$ac_tool_prefix"; then
7072 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7073 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7075 $as_echo_n "checking for $ac_word... " >&6; }
7076 if ${ac_cv_prog_LIPO+:} false; then :
7077 $as_echo_n "(cached) " >&6
7079 if test -n "$LIPO"; then
7080 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7086 test -z "$as_dir" && as_dir=.
7087 for ac_exec_ext in '' $ac_executable_extensions; do
7088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7089 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7099 LIPO=$ac_cv_prog_LIPO
7100 if test -n "$LIPO"; then
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7102 $as_echo "$LIPO" >&6; }
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7105 $as_echo "no" >&6; }
7110 if test -z "$ac_cv_prog_LIPO"; then
7112 # Extract the first word of "lipo", so it can be a program name with args.
7113 set dummy lipo; ac_word=$2
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7115 $as_echo_n "checking for $ac_word... " >&6; }
7116 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7117 $as_echo_n "(cached) " >&6
7119 if test -n "$ac_ct_LIPO"; then
7120 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7126 test -z "$as_dir" && as_dir=.
7127 for ac_exec_ext in '' $ac_executable_extensions; do
7128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7129 ac_cv_prog_ac_ct_LIPO="lipo"
7130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7139 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7140 if test -n "$ac_ct_LIPO"; then
7141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7142 $as_echo "$ac_ct_LIPO" >&6; }
7144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7145 $as_echo "no" >&6; }
7148 if test "x$ac_ct_LIPO" = x; then
7151 case $cross_compiling:$ac_tool_warned in
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7154 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7155 ac_tool_warned=yes ;;
7160 LIPO="$ac_cv_prog_LIPO"
7163 if test -n "$ac_tool_prefix"; then
7164 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7165 set dummy ${ac_tool_prefix}otool; ac_word=$2
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7167 $as_echo_n "checking for $ac_word... " >&6; }
7168 if ${ac_cv_prog_OTOOL+:} false; then :
7169 $as_echo_n "(cached) " >&6
7171 if test -n "$OTOOL"; then
7172 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7178 test -z "$as_dir" && as_dir=.
7179 for ac_exec_ext in '' $ac_executable_extensions; do
7180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7181 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7191 OTOOL=$ac_cv_prog_OTOOL
7192 if test -n "$OTOOL"; then
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7194 $as_echo "$OTOOL" >&6; }
7196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7197 $as_echo "no" >&6; }
7202 if test -z "$ac_cv_prog_OTOOL"; then
7204 # Extract the first word of "otool", so it can be a program name with args.
7205 set dummy otool; ac_word=$2
7206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7207 $as_echo_n "checking for $ac_word... " >&6; }
7208 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7209 $as_echo_n "(cached) " >&6
7211 if test -n "$ac_ct_OTOOL"; then
7212 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7218 test -z "$as_dir" && as_dir=.
7219 for ac_exec_ext in '' $ac_executable_extensions; do
7220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7221 ac_cv_prog_ac_ct_OTOOL="otool"
7222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7231 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7232 if test -n "$ac_ct_OTOOL"; then
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7234 $as_echo "$ac_ct_OTOOL" >&6; }
7236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7237 $as_echo "no" >&6; }
7240 if test "x$ac_ct_OTOOL" = x; then
7243 case $cross_compiling:$ac_tool_warned in
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7246 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7247 ac_tool_warned=yes ;;
7252 OTOOL="$ac_cv_prog_OTOOL"
7255 if test -n "$ac_tool_prefix"; then
7256 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7257 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7259 $as_echo_n "checking for $ac_word... " >&6; }
7260 if ${ac_cv_prog_OTOOL64+:} false; then :
7261 $as_echo_n "(cached) " >&6
7263 if test -n "$OTOOL64"; then
7264 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7270 test -z "$as_dir" && as_dir=.
7271 for ac_exec_ext in '' $ac_executable_extensions; do
7272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7273 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7283 OTOOL64=$ac_cv_prog_OTOOL64
7284 if test -n "$OTOOL64"; then
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7286 $as_echo "$OTOOL64" >&6; }
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7289 $as_echo "no" >&6; }
7294 if test -z "$ac_cv_prog_OTOOL64"; then
7295 ac_ct_OTOOL64=$OTOOL64
7296 # Extract the first word of "otool64", so it can be a program name with args.
7297 set dummy otool64; ac_word=$2
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7299 $as_echo_n "checking for $ac_word... " >&6; }
7300 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7301 $as_echo_n "(cached) " >&6
7303 if test -n "$ac_ct_OTOOL64"; then
7304 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7310 test -z "$as_dir" && as_dir=.
7311 for ac_exec_ext in '' $ac_executable_extensions; do
7312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7313 ac_cv_prog_ac_ct_OTOOL64="otool64"
7314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7323 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7324 if test -n "$ac_ct_OTOOL64"; then
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7326 $as_echo "$ac_ct_OTOOL64" >&6; }
7328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7329 $as_echo "no" >&6; }
7332 if test "x$ac_ct_OTOOL64" = x; then
7335 case $cross_compiling:$ac_tool_warned in
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7338 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7339 ac_tool_warned=yes ;;
7341 OTOOL64=$ac_ct_OTOOL64
7344 OTOOL64="$ac_cv_prog_OTOOL64"
7373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7374 $as_echo_n "checking for -single_module linker flag... " >&6; }
7375 if ${lt_cv_apple_cc_single_mod+:} false; then :
7376 $as_echo_n "(cached) " >&6
7378 lt_cv_apple_cc_single_mod=no
7379 if test -z "${LT_MULTI_MODULE}"; then
7380 # By default we will add the -single_module flag. You can override
7381 # by either setting the environment variable LT_MULTI_MODULE
7382 # non-empty at configure time, or by adding -multi_module to the
7384 rm -rf libconftest.dylib*
7385 echo "int foo(void){return 1;}" > conftest.c
7386 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7387 -dynamiclib -Wl,-single_module conftest.c" >&5
7388 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7389 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7391 # If there is a non-empty error log, and "single_module"
7392 # appears in it, assume the flag caused a linker warning
7393 if test -s conftest.err && $GREP single_module conftest.err; then
7394 cat conftest.err >&5
7395 # Otherwise, if the output was created with a 0 exit code from
7396 # the compiler, it worked.
7397 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7398 lt_cv_apple_cc_single_mod=yes
7400 cat conftest.err >&5
7402 rm -rf libconftest.dylib*
7406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7407 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7410 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7411 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7412 $as_echo_n "(cached) " >&6
7414 lt_cv_ld_exported_symbols_list=no
7415 save_LDFLAGS=$LDFLAGS
7416 echo "_main" > conftest.sym
7417 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7419 /* end confdefs.h. */
7429 if ac_fn_c_try_link "$LINENO"; then :
7430 lt_cv_ld_exported_symbols_list=yes
7432 lt_cv_ld_exported_symbols_list=no
7434 rm -f core conftest.err conftest.$ac_objext \
7435 conftest$ac_exeext conftest.$ac_ext
7436 LDFLAGS="$save_LDFLAGS"
7439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7440 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7443 $as_echo_n "checking for -force_load linker flag... " >&6; }
7444 if ${lt_cv_ld_force_load+:} false; then :
7445 $as_echo_n "(cached) " >&6
7447 lt_cv_ld_force_load=no
7448 cat > conftest.c << _LT_EOF
7449 int forced_loaded() { return 2;}
7451 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7452 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7453 echo "$AR cru libconftest.a conftest.o" >&5
7454 $AR cru libconftest.a conftest.o 2>&5
7455 echo "$RANLIB libconftest.a" >&5
7456 $RANLIB libconftest.a 2>&5
7457 cat > conftest.c << _LT_EOF
7458 int main() { return 0;}
7460 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7461 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7463 if test -s conftest.err && $GREP force_load conftest.err; then
7464 cat conftest.err >&5
7465 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7466 lt_cv_ld_force_load=yes
7468 cat conftest.err >&5
7470 rm -f conftest.err libconftest.a conftest conftest.c
7471 rm -rf conftest.dSYM
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7475 $as_echo "$lt_cv_ld_force_load" >&6; }
7477 rhapsody* | darwin1.[012])
7478 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7480 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7481 darwin*) # darwin 5.x on
7482 # if running on 10.5 or later, the deployment target defaults
7483 # to the OS version, if on x86, and 10.4, the deployment
7484 # target defaults to 10.4. Don't you love it?
7485 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7486 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7487 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7489 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7491 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7495 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7496 _lt_dar_single_mod='$single_module'
7498 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7499 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7501 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7503 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7504 _lt_dsymutil='~$DSYMUTIL $lib || :'
7512 ac_cpp='$CPP $CPPFLAGS'
7513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7517 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7518 # On Suns, sometimes $CPP names a directory.
7519 if test -n "$CPP" && test -d "$CPP"; then
7522 if test -z "$CPP"; then
7523 if ${ac_cv_prog_CPP+:} false; then :
7524 $as_echo_n "(cached) " >&6
7526 # Double quotes because CPP needs to be expanded
7527 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7530 for ac_c_preproc_warn_flag in '' yes
7532 # Use a header file that comes with gcc, so configuring glibc
7533 # with a fresh cross-compiler works.
7534 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7535 # <limits.h> exists even on freestanding compilers.
7536 # On the NeXT, cc -E runs the code through the compiler's parser,
7537 # not just through cpp. "Syntax error" is here to catch this case.
7538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7539 /* end confdefs.h. */
7541 # include <limits.h>
7543 # include <assert.h>
7547 if ac_fn_c_try_cpp "$LINENO"; then :
7550 # Broken: fails on valid input.
7553 rm -f conftest.err conftest.i conftest.$ac_ext
7555 # OK, works on sane cases. Now check whether nonexistent headers
7556 # can be detected and how.
7557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7558 /* end confdefs.h. */
7559 #include <ac_nonexistent.h>
7561 if ac_fn_c_try_cpp "$LINENO"; then :
7562 # Broken: success on invalid input.
7565 # Passes both tests.
7569 rm -f conftest.err conftest.i conftest.$ac_ext
7572 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7573 rm -f conftest.i conftest.err conftest.$ac_ext
7574 if $ac_preproc_ok; then :
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7587 $as_echo "$CPP" >&6; }
7589 for ac_c_preproc_warn_flag in '' yes
7591 # Use a header file that comes with gcc, so configuring glibc
7592 # with a fresh cross-compiler works.
7593 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7594 # <limits.h> exists even on freestanding compilers.
7595 # On the NeXT, cc -E runs the code through the compiler's parser,
7596 # not just through cpp. "Syntax error" is here to catch this case.
7597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7598 /* end confdefs.h. */
7600 # include <limits.h>
7602 # include <assert.h>
7606 if ac_fn_c_try_cpp "$LINENO"; then :
7609 # Broken: fails on valid input.
7612 rm -f conftest.err conftest.i conftest.$ac_ext
7614 # OK, works on sane cases. Now check whether nonexistent headers
7615 # can be detected and how.
7616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7617 /* end confdefs.h. */
7618 #include <ac_nonexistent.h>
7620 if ac_fn_c_try_cpp "$LINENO"; then :
7621 # Broken: success on invalid input.
7624 # Passes both tests.
7628 rm -f conftest.err conftest.i conftest.$ac_ext
7631 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7632 rm -f conftest.i conftest.err conftest.$ac_ext
7633 if $ac_preproc_ok; then :
7636 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7637 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7638 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7639 See \`config.log' for more details" "$LINENO" 5; }
7643 ac_cpp='$CPP $CPPFLAGS'
7644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7650 $as_echo_n "checking for ANSI C header files... " >&6; }
7651 if ${ac_cv_header_stdc+:} false; then :
7652 $as_echo_n "(cached) " >&6
7654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7655 /* end confdefs.h. */
7669 if ac_fn_c_try_compile "$LINENO"; then :
7670 ac_cv_header_stdc=yes
7672 ac_cv_header_stdc=no
7674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7676 if test $ac_cv_header_stdc = yes; then
7677 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7679 /* end confdefs.h. */
7683 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7684 $EGREP "memchr" >/dev/null 2>&1; then :
7687 ac_cv_header_stdc=no
7693 if test $ac_cv_header_stdc = yes; then
7694 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7696 /* end confdefs.h. */
7700 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7701 $EGREP "free" >/dev/null 2>&1; then :
7704 ac_cv_header_stdc=no
7710 if test $ac_cv_header_stdc = yes; then
7711 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7712 if test "$cross_compiling" = yes; then :
7715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7716 /* end confdefs.h. */
7719 #if ((' ' & 0x0FF) == 0x020)
7720 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7721 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7723 # define ISLOWER(c) \
7724 (('a' <= (c) && (c) <= 'i') \
7725 || ('j' <= (c) && (c) <= 'r') \
7726 || ('s' <= (c) && (c) <= 'z'))
7727 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7730 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7735 for (i = 0; i < 256; i++)
7736 if (XOR (islower (i), ISLOWER (i))
7737 || toupper (i) != TOUPPER (i))
7742 if ac_fn_c_try_run "$LINENO"; then :
7745 ac_cv_header_stdc=no
7747 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7748 conftest.$ac_objext conftest.beam conftest.$ac_ext
7753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7754 $as_echo "$ac_cv_header_stdc" >&6; }
7755 if test $ac_cv_header_stdc = yes; then
7757 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7761 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7762 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7763 inttypes.h stdint.h unistd.h
7765 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7766 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7768 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7769 cat >>confdefs.h <<_ACEOF
7770 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7778 for ac_header in dlfcn.h
7780 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7782 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7783 cat >>confdefs.h <<_ACEOF
7784 #define HAVE_DLFCN_H 1
7803 # Check whether --enable-shared was given.
7804 if test "${enable_shared+set}" = set; then :
7805 enableval=$enable_shared; p=${PACKAGE-default}
7807 yes) enable_shared=yes ;;
7808 no) enable_shared=no ;;
7811 # Look at the argument we got. We use all the common list separators.
7812 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7813 for pkg in $enableval; do
7815 if test "X$pkg" = "X$p"; then
7834 # Check whether --enable-static was given.
7835 if test "${enable_static+set}" = set; then :
7836 enableval=$enable_static; p=${PACKAGE-default}
7838 yes) enable_static=yes ;;
7839 no) enable_static=no ;;
7842 # Look at the argument we got. We use all the common list separators.
7843 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7844 for pkg in $enableval; do
7846 if test "X$pkg" = "X$p"; then
7866 # Check whether --with-pic was given.
7867 if test "${with_pic+set}" = set; then :
7868 withval=$with_pic; lt_p=${PACKAGE-default}
7870 yes|no) pic_mode=$withval ;;
7873 # Look at the argument we got. We use all the common list separators.
7874 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7875 for lt_pkg in $withval; do
7877 if test "X$lt_pkg" = "X$lt_p"; then
7889 test -z "$pic_mode" && pic_mode=default
7897 # Check whether --enable-fast-install was given.
7898 if test "${enable_fast_install+set}" = set; then :
7899 enableval=$enable_fast_install; p=${PACKAGE-default}
7901 yes) enable_fast_install=yes ;;
7902 no) enable_fast_install=no ;;
7904 enable_fast_install=no
7905 # Look at the argument we got. We use all the common list separators.
7906 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7907 for pkg in $enableval; do
7909 if test "X$pkg" = "X$p"; then
7910 enable_fast_install=yes
7917 enable_fast_install=yes
7930 # This can be used to rebuild libtool when needed
7931 LIBTOOL_DEPS="$ltmain"
7933 # Always use our own libtool.
7934 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7965 test -z "$LN_S" && LN_S="ln -s"
7980 if test -n "${ZSH_VERSION+set}" ; then
7981 setopt NO_GLOB_SUBST
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7985 $as_echo_n "checking for objdir... " >&6; }
7986 if ${lt_cv_objdir+:} false; then :
7987 $as_echo_n "(cached) " >&6
7989 rm -f .libs 2>/dev/null
7990 mkdir .libs 2>/dev/null
7991 if test -d .libs; then
7994 # MS-DOS does not allow filenames that begin with a dot.
7997 rmdir .libs 2>/dev/null
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8000 $as_echo "$lt_cv_objdir" >&6; }
8001 objdir=$lt_cv_objdir
8007 cat >>confdefs.h <<_ACEOF
8008 #define LT_OBJDIR "$lt_cv_objdir/"
8016 # AIX sometimes has problems with the GCC collect2 program. For some
8017 # reason, if we set the COLLECT_NAMES environment variable, the problems
8018 # vanish in a puff of smoke.
8019 if test "X${COLLECT_NAMES+set}" != Xset; then
8021 export COLLECT_NAMES
8028 can_build_shared=yes
8030 # All known linkers require a `.a' archive for static linking (except MSVC,
8031 # which needs '.lib').
8034 with_gnu_ld="$lt_cv_prog_gnu_ld"
8037 old_CFLAGS="$CFLAGS"
8039 # Set sane defaults for various variables
8040 test -z "$CC" && CC=cc
8041 test -z "$LTCC" && LTCC=$CC
8042 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8043 test -z "$LD" && LD=ld
8044 test -z "$ac_objext" && ac_objext=o
8046 for cc_temp in $compiler""; do
8048 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8049 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8054 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8057 # Only perform the check for file, if the check method requires it
8058 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8059 case $deplibs_check_method in
8061 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8063 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8064 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8065 $as_echo_n "(cached) " >&6
8069 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8072 lt_save_MAGIC_CMD="$MAGIC_CMD"
8073 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8074 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8075 for ac_dir in $ac_dummy; do
8077 test -z "$ac_dir" && ac_dir=.
8078 if test -f $ac_dir/${ac_tool_prefix}file; then
8079 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8080 if test -n "$file_magic_test_file"; then
8081 case $deplibs_check_method in
8083 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8084 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8085 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8086 $EGREP "$file_magic_regex" > /dev/null; then
8091 *** Warning: the command libtool uses to detect shared libraries,
8092 *** $file_magic_cmd, produces output that libtool cannot recognize.
8093 *** The result is that libtool may fail to recognize shared libraries
8094 *** as such. This will affect the creation of libtool libraries that
8095 *** depend on shared libraries, but programs linked with such libtool
8096 *** libraries will work regardless of this problem. Nevertheless, you
8097 *** may want to report the problem to your system manager and/or to
8098 *** bug-libtool@gnu.org
8108 MAGIC_CMD="$lt_save_MAGIC_CMD"
8113 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8114 if test -n "$MAGIC_CMD"; then
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8116 $as_echo "$MAGIC_CMD" >&6; }
8118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8119 $as_echo "no" >&6; }
8126 if test -z "$lt_cv_path_MAGIC_CMD"; then
8127 if test -n "$ac_tool_prefix"; then
8128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8129 $as_echo_n "checking for file... " >&6; }
8130 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8131 $as_echo_n "(cached) " >&6
8135 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8138 lt_save_MAGIC_CMD="$MAGIC_CMD"
8139 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8140 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8141 for ac_dir in $ac_dummy; do
8143 test -z "$ac_dir" && ac_dir=.
8144 if test -f $ac_dir/file; then
8145 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8146 if test -n "$file_magic_test_file"; then
8147 case $deplibs_check_method in
8149 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8150 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8151 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8152 $EGREP "$file_magic_regex" > /dev/null; then
8157 *** Warning: the command libtool uses to detect shared libraries,
8158 *** $file_magic_cmd, produces output that libtool cannot recognize.
8159 *** The result is that libtool may fail to recognize shared libraries
8160 *** as such. This will affect the creation of libtool libraries that
8161 *** depend on shared libraries, but programs linked with such libtool
8162 *** libraries will work regardless of this problem. Nevertheless, you
8163 *** may want to report the problem to your system manager and/or to
8164 *** bug-libtool@gnu.org
8174 MAGIC_CMD="$lt_save_MAGIC_CMD"
8179 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8180 if test -n "$MAGIC_CMD"; then
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8182 $as_echo "$MAGIC_CMD" >&6; }
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8185 $as_echo "no" >&6; }
8198 # Use C for the default configuration in the libtool script
8202 ac_cpp='$CPP $CPPFLAGS'
8203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8208 # Source file extension for C test sources.
8211 # Object file extension for compiled C test sources.
8215 # Code to be used in simple compile tests
8216 lt_simple_compile_test_code="int some_variable = 0;"
8218 # Code to be used in simple link tests
8219 lt_simple_link_test_code='int main(){return(0);}'
8227 # If no C compiler was specified, use CC.
8230 # If no C compiler flags were specified, use CFLAGS.
8231 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8233 # Allow CC to be a program name with arguments.
8236 # Save the default compiler, since it gets overwritten when the other
8237 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8238 compiler_DEFAULT=$CC
8240 # save warnings/boilerplate of simple test code
8241 ac_outfile=conftest.$ac_objext
8242 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8243 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8244 _lt_compiler_boilerplate=`cat conftest.err`
8247 ac_outfile=conftest.$ac_objext
8248 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8249 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8250 _lt_linker_boilerplate=`cat conftest.err`
8255 ## There is no encapsulation within the following macros, do not change
8256 ## the running order or otherwise move them around unless you know exactly
8257 ## what you are doing...
8258 if test -n "$compiler"; then
8260 lt_prog_compiler_no_builtin_flag=
8262 if test "$GCC" = yes; then
8263 case $cc_basename in
8265 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8267 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8271 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8272 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8273 $as_echo_n "(cached) " >&6
8275 lt_cv_prog_compiler_rtti_exceptions=no
8276 ac_outfile=conftest.$ac_objext
8277 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8278 lt_compiler_flag="-fno-rtti -fno-exceptions"
8279 # Insert the option either (1) after the last *FLAGS variable, or
8280 # (2) before a word containing "conftest.", or (3) at the end.
8281 # Note that $ac_compile itself does not contain backslashes and begins
8282 # with a dollar sign (not a hyphen), so the echo should work correctly.
8283 # The option is referenced via a variable to avoid confusing sed.
8284 lt_compile=`echo "$ac_compile" | $SED \
8285 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8286 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8287 -e 's:$: $lt_compiler_flag:'`
8288 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8289 (eval "$lt_compile" 2>conftest.err)
8291 cat conftest.err >&5
8292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8293 if (exit $ac_status) && test -s "$ac_outfile"; then
8294 # The compiler can only warn and ignore the option if not recognized
8295 # So say no if there are warnings other than the usual output.
8296 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8297 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8298 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8299 lt_cv_prog_compiler_rtti_exceptions=yes
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8306 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8308 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8309 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8321 lt_prog_compiler_wl=
8322 lt_prog_compiler_pic=
8323 lt_prog_compiler_static=
8326 if test "$GCC" = yes; then
8327 lt_prog_compiler_wl='-Wl,'
8328 lt_prog_compiler_static='-static'
8332 # All AIX code is PIC.
8333 if test "$host_cpu" = ia64; then
8334 # AIX 5 now supports IA64 processor
8335 lt_prog_compiler_static='-Bstatic'
8342 # see comment about AmigaOS4 .so support
8343 lt_prog_compiler_pic='-fPIC'
8346 # FIXME: we need at least 68020 code to build shared libraries, but
8347 # adding the `-m68020' flag to GCC prevents building anything better,
8349 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8354 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8355 # PIC is the default for these OSes.
8358 mingw* | cygwin* | pw32* | os2* | cegcc*)
8359 # This hack is so that the source file can tell whether it is being
8360 # built for inclusion in a dll (and should export symbols for example).
8361 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8362 # (--disable-auto-import) libraries
8363 lt_prog_compiler_pic='-DDLL_EXPORT'
8366 darwin* | rhapsody*)
8367 # PIC is the default on this platform
8368 # Common symbols not allowed in MH_DYLIB files
8369 lt_prog_compiler_pic='-fno-common'
8373 # PIC is the default for Haiku.
8374 # The "-static" flag exists, but is broken.
8375 lt_prog_compiler_static=
8379 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8380 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8381 # sets the default TLS model and affects inlining.
8387 lt_prog_compiler_pic='-fPIC'
8393 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8394 # Instead, we relocate shared libraries at runtime.
8398 # Just because we use GCC doesn't mean we suddenly get shared libraries
8399 # on systems that don't support them.
8400 lt_prog_compiler_can_build_shared=no
8405 # QNX uses GNU C++, but need to define -shared option too, otherwise
8407 lt_prog_compiler_pic='-fPIC -shared'
8411 if test -d /usr/nec; then
8412 lt_prog_compiler_pic=-Kconform_pic
8417 lt_prog_compiler_pic='-fPIC'
8421 case $cc_basename in
8422 nvcc*) # Cuda Compiler Driver 2.2
8423 lt_prog_compiler_wl='-Xlinker '
8424 if test -n "$lt_prog_compiler_pic"; then
8425 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8430 # PORTME Check for flag to pass linker flags through the system compiler.
8433 lt_prog_compiler_wl='-Wl,'
8434 if test "$host_cpu" = ia64; then
8435 # AIX 5 now supports IA64 processor
8436 lt_prog_compiler_static='-Bstatic'
8438 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8442 mingw* | cygwin* | pw32* | os2* | cegcc*)
8443 # This hack is so that the source file can tell whether it is being
8444 # built for inclusion in a dll (and should export symbols for example).
8445 lt_prog_compiler_pic='-DDLL_EXPORT'
8448 hpux9* | hpux10* | hpux11*)
8449 lt_prog_compiler_wl='-Wl,'
8450 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8457 lt_prog_compiler_pic='+Z'
8460 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8461 lt_prog_compiler_static='${wl}-a ${wl}archive'
8464 irix5* | irix6* | nonstopux*)
8465 lt_prog_compiler_wl='-Wl,'
8466 # PIC (with -KPIC) is the default.
8467 lt_prog_compiler_static='-non_shared'
8470 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8471 case $cc_basename in
8472 # old Intel for x86_64 which still supported -KPIC.
8474 lt_prog_compiler_wl='-Wl,'
8475 lt_prog_compiler_pic='-KPIC'
8476 lt_prog_compiler_static='-static'
8478 # icc used to be incompatible with GCC.
8479 # ICC 10 doesn't accept -KPIC any more.
8481 lt_prog_compiler_wl='-Wl,'
8482 lt_prog_compiler_pic='-fPIC'
8483 lt_prog_compiler_static='-static'
8485 # Lahey Fortran 8.1.
8487 lt_prog_compiler_wl='-Wl,'
8488 lt_prog_compiler_pic='--shared'
8489 lt_prog_compiler_static='--static'
8492 # NAG Fortran compiler
8493 lt_prog_compiler_wl='-Wl,-Wl,,'
8494 lt_prog_compiler_pic='-PIC'
8495 lt_prog_compiler_static='-Bstatic'
8497 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8498 # Portland Group compilers (*not* the Pentium gcc compiler,
8499 # which looks to be a dead project)
8500 lt_prog_compiler_wl='-Wl,'
8501 lt_prog_compiler_pic='-fpic'
8502 lt_prog_compiler_static='-Bstatic'
8505 lt_prog_compiler_wl='-Wl,'
8506 # All Alpha code is PIC.
8507 lt_prog_compiler_static='-non_shared'
8509 xl* | bgxl* | bgf* | mpixl*)
8510 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8511 lt_prog_compiler_wl='-Wl,'
8512 lt_prog_compiler_pic='-qpic'
8513 lt_prog_compiler_static='-qstaticlink'
8516 case `$CC -V 2>&1 | sed 5q` in
8517 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8518 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8519 lt_prog_compiler_pic='-KPIC'
8520 lt_prog_compiler_static='-Bstatic'
8521 lt_prog_compiler_wl=''
8523 *Sun\ F* | *Sun*Fortran*)
8524 lt_prog_compiler_pic='-KPIC'
8525 lt_prog_compiler_static='-Bstatic'
8526 lt_prog_compiler_wl='-Qoption ld '
8530 lt_prog_compiler_pic='-KPIC'
8531 lt_prog_compiler_static='-Bstatic'
8532 lt_prog_compiler_wl='-Wl,'
8534 *Intel*\ [CF]*Compiler*)
8535 lt_prog_compiler_wl='-Wl,'
8536 lt_prog_compiler_pic='-fPIC'
8537 lt_prog_compiler_static='-static'
8540 lt_prog_compiler_wl='-Wl,'
8541 lt_prog_compiler_pic='-fpic'
8542 lt_prog_compiler_static='-Bstatic'
8550 lt_prog_compiler_pic='-KPIC'
8551 lt_prog_compiler_static='-Bstatic'
8555 # QNX uses GNU C++, but need to define -shared option too, otherwise
8557 lt_prog_compiler_pic='-fPIC -shared'
8560 osf3* | osf4* | osf5*)
8561 lt_prog_compiler_wl='-Wl,'
8562 # All OSF/1 code is PIC.
8563 lt_prog_compiler_static='-non_shared'
8567 lt_prog_compiler_static='-non_shared'
8571 lt_prog_compiler_pic='-KPIC'
8572 lt_prog_compiler_static='-Bstatic'
8573 case $cc_basename in
8574 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8575 lt_prog_compiler_wl='-Qoption ld ';;
8577 lt_prog_compiler_wl='-Wl,';;
8582 lt_prog_compiler_wl='-Qoption ld '
8583 lt_prog_compiler_pic='-PIC'
8584 lt_prog_compiler_static='-Bstatic'
8587 sysv4 | sysv4.2uw2* | sysv4.3*)
8588 lt_prog_compiler_wl='-Wl,'
8589 lt_prog_compiler_pic='-KPIC'
8590 lt_prog_compiler_static='-Bstatic'
8594 if test -d /usr/nec ;then
8595 lt_prog_compiler_pic='-Kconform_pic'
8596 lt_prog_compiler_static='-Bstatic'
8600 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8601 lt_prog_compiler_wl='-Wl,'
8602 lt_prog_compiler_pic='-KPIC'
8603 lt_prog_compiler_static='-Bstatic'
8607 lt_prog_compiler_wl='-Wl,'
8608 lt_prog_compiler_can_build_shared=no
8612 lt_prog_compiler_pic='-pic'
8613 lt_prog_compiler_static='-Bstatic'
8617 lt_prog_compiler_can_build_shared=no
8623 # For platforms which do not support PIC, -DPIC is meaningless:
8625 lt_prog_compiler_pic=
8628 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8633 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8634 if ${lt_cv_prog_compiler_pic+:} false; then :
8635 $as_echo_n "(cached) " >&6
8637 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8640 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8641 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8644 # Check to make sure the PIC flag actually works.
8646 if test -n "$lt_prog_compiler_pic"; then
8647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8648 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8649 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8650 $as_echo_n "(cached) " >&6
8652 lt_cv_prog_compiler_pic_works=no
8653 ac_outfile=conftest.$ac_objext
8654 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8655 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8656 # Insert the option either (1) after the last *FLAGS variable, or
8657 # (2) before a word containing "conftest.", or (3) at the end.
8658 # Note that $ac_compile itself does not contain backslashes and begins
8659 # with a dollar sign (not a hyphen), so the echo should work correctly.
8660 # The option is referenced via a variable to avoid confusing sed.
8661 lt_compile=`echo "$ac_compile" | $SED \
8662 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8663 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8664 -e 's:$: $lt_compiler_flag:'`
8665 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8666 (eval "$lt_compile" 2>conftest.err)
8668 cat conftest.err >&5
8669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8670 if (exit $ac_status) && test -s "$ac_outfile"; then
8671 # The compiler can only warn and ignore the option if not recognized
8672 # So say no if there are warnings other than the usual output.
8673 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8674 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8675 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8676 lt_cv_prog_compiler_pic_works=yes
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8683 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8685 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8686 case $lt_prog_compiler_pic in
8688 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8691 lt_prog_compiler_pic=
8692 lt_prog_compiler_can_build_shared=no
8708 # Check to make sure the static flag actually works.
8710 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8712 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8713 if ${lt_cv_prog_compiler_static_works+:} false; then :
8714 $as_echo_n "(cached) " >&6
8716 lt_cv_prog_compiler_static_works=no
8717 save_LDFLAGS="$LDFLAGS"
8718 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8719 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8720 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8721 # The linker can only warn and ignore the option if not recognized
8722 # So say no if there are warnings
8723 if test -s conftest.err; then
8724 # Append any errors to the config.log.
8725 cat conftest.err 1>&5
8726 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8727 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8728 if diff conftest.exp conftest.er2 >/dev/null; then
8729 lt_cv_prog_compiler_static_works=yes
8732 lt_cv_prog_compiler_static_works=yes
8736 LDFLAGS="$save_LDFLAGS"
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8740 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8742 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8745 lt_prog_compiler_static=
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8755 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8756 if ${lt_cv_prog_compiler_c_o+:} false; then :
8757 $as_echo_n "(cached) " >&6
8759 lt_cv_prog_compiler_c_o=no
8760 $RM -r conftest 2>/dev/null
8764 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8766 lt_compiler_flag="-o out/conftest2.$ac_objext"
8767 # Insert the option either (1) after the last *FLAGS variable, or
8768 # (2) before a word containing "conftest.", or (3) at the end.
8769 # Note that $ac_compile itself does not contain backslashes and begins
8770 # with a dollar sign (not a hyphen), so the echo should work correctly.
8771 lt_compile=`echo "$ac_compile" | $SED \
8772 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8773 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8774 -e 's:$: $lt_compiler_flag:'`
8775 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8776 (eval "$lt_compile" 2>out/conftest.err)
8778 cat out/conftest.err >&5
8779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8780 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8782 # The compiler can only warn and ignore the option if not recognized
8783 # So say no if there are warnings
8784 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8785 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8786 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8787 lt_cv_prog_compiler_c_o=yes
8792 # SGI C++ compiler will create directory out/ii_files/ for
8793 # template instantiation
8794 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8795 $RM out/* && rmdir out
8801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8802 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8810 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8811 if ${lt_cv_prog_compiler_c_o+:} false; then :
8812 $as_echo_n "(cached) " >&6
8814 lt_cv_prog_compiler_c_o=no
8815 $RM -r conftest 2>/dev/null
8819 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8821 lt_compiler_flag="-o out/conftest2.$ac_objext"
8822 # Insert the option either (1) after the last *FLAGS variable, or
8823 # (2) before a word containing "conftest.", or (3) at the end.
8824 # Note that $ac_compile itself does not contain backslashes and begins
8825 # with a dollar sign (not a hyphen), so the echo should work correctly.
8826 lt_compile=`echo "$ac_compile" | $SED \
8827 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8828 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8829 -e 's:$: $lt_compiler_flag:'`
8830 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8831 (eval "$lt_compile" 2>out/conftest.err)
8833 cat out/conftest.err >&5
8834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8835 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8837 # The compiler can only warn and ignore the option if not recognized
8838 # So say no if there are warnings
8839 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8840 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8841 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8842 lt_cv_prog_compiler_c_o=yes
8847 # SGI C++ compiler will create directory out/ii_files/ for
8848 # template instantiation
8849 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8850 $RM out/* && rmdir out
8856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8857 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8862 hard_links="nottested"
8863 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8864 # do not overwrite the value of need_locks provided by the user
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8866 $as_echo_n "checking if we can lock with hard links... " >&6; }
8869 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8871 ln conftest.a conftest.b 2>&5 || hard_links=no
8872 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8874 $as_echo "$hard_links" >&6; }
8875 if test "$hard_links" = no; then
8876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8877 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8890 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8893 allow_undefined_flag=
8894 always_export_symbols=no
8896 archive_expsym_cmds=
8897 compiler_needs_object=no
8898 enable_shared_with_static_runtimes=no
8899 export_dynamic_flag_spec=
8900 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8901 hardcode_automatic=no
8903 hardcode_direct_absolute=no
8904 hardcode_libdir_flag_spec=
8905 hardcode_libdir_separator=
8907 hardcode_shlibpath_var=unsupported
8909 link_all_deplibs=unknown
8912 old_archive_from_new_cmds=
8913 old_archive_from_expsyms_cmds=
8914 thread_safe_flag_spec=
8915 whole_archive_flag_spec=
8916 # include_expsyms should be a list of space-separated symbols to be *always*
8917 # included in the symbol list
8919 # exclude_expsyms can be an extended regexp of symbols to exclude
8920 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8921 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8922 # as well as any symbol that contains `d'.
8923 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8924 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8925 # platforms (ab)use it in PIC code, but their linkers get confused if
8926 # the symbol is explicitly referenced. Since portable code cannot
8927 # rely on this symbol name, it's probably fine to never include it in
8928 # preloaded symbol tables.
8929 # Exclude shared library initialization/finalization symbols.
8930 extract_expsyms_cmds=
8933 cygwin* | mingw* | pw32* | cegcc*)
8934 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8935 # When not using gcc, we currently assume that we are using
8936 # Microsoft Visual C++.
8937 if test "$GCC" != yes; then
8942 # we just hope/assume this is gcc and not c89 (= MSVC++)
8952 # On some targets, GNU ld is compatible enough with the native linker
8953 # that we're better off using the native interface for both.
8954 lt_use_gnu_ld_interface=no
8955 if test "$with_gnu_ld" = yes; then
8958 # The AIX port of GNU ld has always aspired to compatibility
8959 # with the native linker. However, as the warning in the GNU ld
8960 # block says, versions before 2.19.5* couldn't really create working
8961 # shared libraries, regardless of the interface used.
8962 case `$LD -v 2>&1` in
8963 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8964 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8965 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8967 lt_use_gnu_ld_interface=yes
8972 lt_use_gnu_ld_interface=yes
8977 if test "$lt_use_gnu_ld_interface" = yes; then
8978 # If archive_cmds runs LD, not CC, wlarc should be empty
8981 # Set some defaults for GNU ld with shared library support. These
8982 # are reset later if shared libraries are not supported. Putting them
8983 # here allows them to be overridden if necessary.
8984 runpath_var=LD_RUN_PATH
8985 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8986 export_dynamic_flag_spec='${wl}--export-dynamic'
8987 # ancient GNU ld didn't support --whole-archive et. al.
8988 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8989 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8991 whole_archive_flag_spec=
8993 supports_anon_versioning=no
8994 case `$LD -v 2>&1` in
8995 *GNU\ gold*) supports_anon_versioning=yes ;;
8996 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8997 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8998 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8999 *\ 2.11.*) ;; # other 2.11 versions
9000 *) supports_anon_versioning=yes ;;
9003 # See if GNU ld supports shared libraries.
9006 # On AIX/PPC, the GNU linker is very broken
9007 if test "$host_cpu" != ia64; then
9011 *** Warning: the GNU linker, at least up to release 2.19, is reported
9012 *** to be unable to reliably create shared libraries on AIX.
9013 *** Therefore, libtool is disabling shared libraries support. If you
9014 *** really care for shared libraries, you may want to install binutils
9015 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9016 *** You will then need to restart the configuration process.
9025 # see comment about AmigaOS4 .so support
9026 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9027 archive_expsym_cmds=''
9030 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)'
9031 hardcode_libdir_flag_spec='-L$libdir'
9032 hardcode_minus_L=yes
9038 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9039 allow_undefined_flag=unsupported
9040 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9041 # support --undefined. This deserves some investigation. FIXME
9042 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9048 cygwin* | mingw* | pw32* | cegcc*)
9049 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9050 # as there is no search path for DLLs.
9051 hardcode_libdir_flag_spec='-L$libdir'
9052 export_dynamic_flag_spec='${wl}--export-all-symbols'
9053 allow_undefined_flag=unsupported
9054 always_export_symbols=no
9055 enable_shared_with_static_runtimes=yes
9056 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'
9057 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9059 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9060 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9061 # If the export-symbols file already is a .def file (1st line
9062 # is EXPORTS), use it as is; otherwise, prepend...
9063 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9064 cp $export_symbols $output_objdir/$soname.def;
9066 echo EXPORTS > $output_objdir/$soname.def;
9067 cat $export_symbols >> $output_objdir/$soname.def;
9069 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9076 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9077 link_all_deplibs=yes
9082 hardcode_shlibpath_var=no
9083 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9084 export_dynamic_flag_spec='${wl}-E'
9085 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9086 # Instead, shared libraries are loaded at an image base (0x10000000 by
9087 # default) and relocated if they conflict, which is a slow very memory
9088 # consuming and fragmenting process. To avoid this, we pick a random,
9089 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9090 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9091 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9092 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'
9095 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9097 if test "$host_os" = linux-dietlibc; then
9098 case $cc_basename in
9099 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9102 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9103 && test "$tmp_diet" = no
9105 tmp_addflag=' $pic_flag'
9106 tmp_sharedflag='-shared'
9107 case $cc_basename,$host_cpu in
9108 pgcc*) # Portland Group C compiler
9109 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'
9110 tmp_addflag=' $pic_flag'
9112 pgf77* | pgf90* | pgf95* | pgfortran*)
9113 # Portland Group f77 and f90 compilers
9114 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'
9115 tmp_addflag=' $pic_flag -Mnomain' ;;
9116 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9117 tmp_addflag=' -i_dynamic' ;;
9118 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9119 tmp_addflag=' -i_dynamic -nofor_main' ;;
9120 ifc* | ifort*) # Intel Fortran compiler
9121 tmp_addflag=' -nofor_main' ;;
9122 lf95*) # Lahey Fortran 8.1
9123 whole_archive_flag_spec=
9124 tmp_sharedflag='--shared' ;;
9125 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9126 tmp_sharedflag='-qmkshrobj'
9128 nvcc*) # Cuda Compiler Driver 2.2
9129 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'
9130 compiler_needs_object=yes
9133 case `$CC -V 2>&1 | sed 5q` in
9134 *Sun\ C*) # Sun C 5.9
9135 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'
9136 compiler_needs_object=yes
9137 tmp_sharedflag='-G' ;;
9138 *Sun\ F*) # Sun Fortran 8.3
9139 tmp_sharedflag='-G' ;;
9141 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9143 if test "x$supports_anon_versioning" = xyes; then
9144 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9145 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9146 echo "local: *; };" >> $output_objdir/$libname.ver~
9147 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9150 case $cc_basename in
9151 xlf* | bgf* | bgxlf* | mpixlf*)
9152 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9153 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9154 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9155 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9156 if test "x$supports_anon_versioning" = xyes; then
9157 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9158 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9159 echo "local: *; };" >> $output_objdir/$libname.ver~
9160 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9170 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9171 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9174 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9175 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9180 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9184 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9185 *** create shared libraries on Solaris systems. Therefore, libtool
9186 *** is disabling shared libraries support. We urge you to upgrade GNU
9187 *** binutils to release 2.9.1 or newer. Another option is to modify
9188 *** your PATH or compiler configuration so that the native linker is
9189 *** used, and then restart.
9192 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9193 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9194 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9200 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9201 case `$LD -v 2>&1` in
9202 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9206 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9207 *** reliably create shared libraries on SCO systems. Therefore, libtool
9208 *** is disabling shared libraries support. We urge you to upgrade GNU
9209 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9210 *** your PATH or compiler configuration so that the native linker is
9211 *** used, and then restart.
9216 # For security reasons, it is highly recommended that you always
9217 # use absolute paths for naming shared libraries, and exclude the
9218 # DT_RUNPATH tag from executables and libraries. But doing so
9219 # requires that you compile everything twice, which is a pain.
9220 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9221 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9222 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9223 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9232 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9235 hardcode_shlibpath_var=no
9239 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9240 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9241 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9248 if test "$ld_shlibs" = no; then
9250 hardcode_libdir_flag_spec=
9251 export_dynamic_flag_spec=
9252 whole_archive_flag_spec=
9255 # PORTME fill in a description of your system's linker (not GNU ld)
9258 allow_undefined_flag=unsupported
9259 always_export_symbols=yes
9260 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'
9261 # Note: this linker hardcodes the directories in LIBPATH if there
9262 # are no directories specified by -L.
9263 hardcode_minus_L=yes
9264 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9265 # Neither direct hardcoding nor static linking is supported with a
9267 hardcode_direct=unsupported
9272 if test "$host_cpu" = ia64; then
9273 # On IA64, the linker does run time linking by default, so we don't
9274 # have to do anything special.
9275 aix_use_runtimelinking=no
9276 exp_sym_flag='-Bexport'
9279 # If we're using GNU nm, then we don't want the "-C" option.
9280 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9281 # Also, AIX nm treats weak defined symbols like other global
9282 # defined symbols, whereas GNU nm marks them as "W".
9283 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9284 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'
9286 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'
9288 aix_use_runtimelinking=no
9290 # Test if we are trying to use run time linking or normal
9291 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9292 # need to do runtime linking.
9293 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9294 for ld_flag in $LDFLAGS; do
9295 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9296 aix_use_runtimelinking=yes
9303 exp_sym_flag='-bexport'
9304 no_entry_flag='-bnoentry'
9307 # When large executables or shared objects are built, AIX ld can
9308 # have problems creating the table of contents. If linking a library
9309 # or program results in "error TOC overflow" add -mminimal-toc to
9310 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9311 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9315 hardcode_direct_absolute=yes
9316 hardcode_libdir_separator=':'
9317 link_all_deplibs=yes
9318 file_list_spec='${wl}-f,'
9320 if test "$GCC" = yes; then
9321 case $host_os in aix4.[012]|aix4.[012].*)
9322 # We only want to do this on AIX 4.2 and lower, the check
9323 # below for broken collect2 doesn't work under 4.3+
9324 collect2name=`${CC} -print-prog-name=collect2`
9325 if test -f "$collect2name" &&
9326 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9328 # We have reworked collect2
9331 # We have old collect2
9332 hardcode_direct=unsupported
9333 # It fails to find uninstalled libraries when the uninstalled
9334 # path is not listed in the libpath. Setting hardcode_minus_L
9335 # to unsupported forces relinking
9336 hardcode_minus_L=yes
9337 hardcode_libdir_flag_spec='-L$libdir'
9338 hardcode_libdir_separator=
9342 shared_flag='-shared'
9343 if test "$aix_use_runtimelinking" = yes; then
9344 shared_flag="$shared_flag "'${wl}-G'
9348 if test "$host_cpu" = ia64; then
9349 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9350 # chokes on -Wl,-G. The following line is correct:
9353 if test "$aix_use_runtimelinking" = yes; then
9354 shared_flag='${wl}-G'
9356 shared_flag='${wl}-bM:SRE'
9361 export_dynamic_flag_spec='${wl}-bexpall'
9362 # It seems that -bexpall does not export symbols beginning with
9363 # underscore (_), so it is better to generate a list of symbols to export.
9364 always_export_symbols=yes
9365 if test "$aix_use_runtimelinking" = yes; then
9366 # Warning - without using the other runtime loading flags (-brtl),
9367 # -berok will link without error, but may produce a broken library.
9368 allow_undefined_flag='-berok'
9369 # Determine the default libpath from the value encoded in an
9371 if test "${lt_cv_aix_libpath+set}" = set; then
9372 aix_libpath=$lt_cv_aix_libpath
9374 if ${lt_cv_aix_libpath_+:} false; then :
9375 $as_echo_n "(cached) " >&6
9377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9378 /* end confdefs.h. */
9388 if ac_fn_c_try_link "$LINENO"; then :
9390 lt_aix_libpath_sed='
9391 /Import File Strings/,/^$/ {
9393 s/^0 *\([^ ]*\) *$/\1/
9397 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9398 # Check for a 64-bit object if we didn't find anything.
9399 if test -z "$lt_cv_aix_libpath_"; then
9400 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9403 rm -f core conftest.err conftest.$ac_objext \
9404 conftest$ac_exeext conftest.$ac_ext
9405 if test -z "$lt_cv_aix_libpath_"; then
9406 lt_cv_aix_libpath_="/usr/lib:/lib"
9411 aix_libpath=$lt_cv_aix_libpath_
9414 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9415 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"
9417 if test "$host_cpu" = ia64; then
9418 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9419 allow_undefined_flag="-z nodefs"
9420 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"
9422 # Determine the default libpath from the value encoded in an
9424 if test "${lt_cv_aix_libpath+set}" = set; then
9425 aix_libpath=$lt_cv_aix_libpath
9427 if ${lt_cv_aix_libpath_+:} false; then :
9428 $as_echo_n "(cached) " >&6
9430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9431 /* end confdefs.h. */
9441 if ac_fn_c_try_link "$LINENO"; then :
9443 lt_aix_libpath_sed='
9444 /Import File Strings/,/^$/ {
9446 s/^0 *\([^ ]*\) *$/\1/
9450 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9451 # Check for a 64-bit object if we didn't find anything.
9452 if test -z "$lt_cv_aix_libpath_"; then
9453 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9456 rm -f core conftest.err conftest.$ac_objext \
9457 conftest$ac_exeext conftest.$ac_ext
9458 if test -z "$lt_cv_aix_libpath_"; then
9459 lt_cv_aix_libpath_="/usr/lib:/lib"
9464 aix_libpath=$lt_cv_aix_libpath_
9467 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9468 # Warning - without using the other run time loading flags,
9469 # -berok will link without error, but may produce a broken library.
9470 no_undefined_flag=' ${wl}-bernotok'
9471 allow_undefined_flag=' ${wl}-berok'
9472 if test "$with_gnu_ld" = yes; then
9473 # We only use this code for GNU lds that support --whole-archive.
9474 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9476 # Exported symbols can be pulled into shared objects from archives
9477 whole_archive_flag_spec='$convenience'
9479 archive_cmds_need_lc=yes
9480 # This is similar to how AIX traditionally builds its shared libraries.
9481 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'
9489 # see comment about AmigaOS4 .so support
9490 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9491 archive_expsym_cmds=''
9494 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)'
9495 hardcode_libdir_flag_spec='-L$libdir'
9496 hardcode_minus_L=yes
9502 export_dynamic_flag_spec=-rdynamic
9505 cygwin* | mingw* | pw32* | cegcc*)
9506 # When not using gcc, we currently assume that we are using
9507 # Microsoft Visual C++.
9508 # hardcode_libdir_flag_spec is actually meaningless, as there is
9509 # no search path for DLLs.
9510 case $cc_basename in
9513 hardcode_libdir_flag_spec=' '
9514 allow_undefined_flag=unsupported
9515 always_export_symbols=yes
9517 # Tell ltmain to make .lib files, not .a files.
9519 # Tell ltmain to make .dll files, not .so files.
9521 # FIXME: Setting linknames here is a bad hack.
9522 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9523 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9524 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9526 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9528 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9530 # The linker will not automatically build a static lib if we build a DLL.
9531 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9532 enable_shared_with_static_runtimes=yes
9533 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9534 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9536 old_postinstall_cmds='chmod 644 $oldlib'
9537 postlink_cmds='lt_outputfile="@OUTPUT@"~
9538 lt_tool_outputfile="@TOOL_OUTPUT@"~
9539 case $lt_outputfile in
9542 lt_outputfile="$lt_outputfile.exe"
9543 lt_tool_outputfile="$lt_tool_outputfile.exe"
9546 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9547 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9548 $RM "$lt_outputfile.manifest";
9552 # Assume MSVC wrapper
9553 hardcode_libdir_flag_spec=' '
9554 allow_undefined_flag=unsupported
9555 # Tell ltmain to make .lib files, not .a files.
9557 # Tell ltmain to make .dll files, not .so files.
9559 # FIXME: Setting linknames here is a bad hack.
9560 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9561 # The linker will automatically build a .lib file if we build a DLL.
9562 old_archive_from_new_cmds='true'
9563 # FIXME: Should let the user specify the lib program.
9564 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9565 enable_shared_with_static_runtimes=yes
9570 darwin* | rhapsody*)
9573 archive_cmds_need_lc=no
9575 hardcode_automatic=yes
9576 hardcode_shlibpath_var=unsupported
9577 if test "$lt_cv_ld_force_load" = "yes"; then
9578 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\"`'
9581 whole_archive_flag_spec=''
9583 link_all_deplibs=yes
9584 allow_undefined_flag="$_lt_dar_allow_undefined"
9585 case $cc_basename in
9586 ifort*) _lt_dar_can_shared=yes ;;
9587 *) _lt_dar_can_shared=$GCC ;;
9589 if test "$_lt_dar_can_shared" = "yes"; then
9590 output_verbose_link_cmd=func_echo_all
9591 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9592 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9593 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}"
9594 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}"
9603 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9604 hardcode_libdir_flag_spec='-L$libdir'
9605 hardcode_shlibpath_var=no
9608 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9609 # support. Future versions do this automatically, but an explicit c++rt0.o
9610 # does not break anything, and helps significantly (at the cost of a little
9613 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9614 hardcode_libdir_flag_spec='-R$libdir'
9616 hardcode_shlibpath_var=no
9619 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9621 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9623 hardcode_minus_L=yes
9624 hardcode_shlibpath_var=no
9627 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9628 freebsd* | dragonfly*)
9629 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9630 hardcode_libdir_flag_spec='-R$libdir'
9632 hardcode_shlibpath_var=no
9636 if test "$GCC" = yes; then
9637 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'
9639 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'
9641 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9642 hardcode_libdir_separator=:
9645 # hardcode_minus_L: Not really in the search PATH,
9646 # but as the default location of the library.
9647 hardcode_minus_L=yes
9648 export_dynamic_flag_spec='${wl}-E'
9652 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9653 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9655 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9657 if test "$with_gnu_ld" = no; then
9658 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9659 hardcode_libdir_separator=:
9661 hardcode_direct_absolute=yes
9662 export_dynamic_flag_spec='${wl}-E'
9663 # hardcode_minus_L: Not really in the search PATH,
9664 # but as the default location of the library.
9665 hardcode_minus_L=yes
9670 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9673 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9676 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9679 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9685 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9688 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9692 # Older versions of the 11.00 compiler do not understand -b yet
9693 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9695 $as_echo_n "checking if $CC understands -b... " >&6; }
9696 if ${lt_cv_prog_compiler__b+:} false; then :
9697 $as_echo_n "(cached) " >&6
9699 lt_cv_prog_compiler__b=no
9700 save_LDFLAGS="$LDFLAGS"
9701 LDFLAGS="$LDFLAGS -b"
9702 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9703 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9704 # The linker can only warn and ignore the option if not recognized
9705 # So say no if there are warnings
9706 if test -s conftest.err; then
9707 # Append any errors to the config.log.
9708 cat conftest.err 1>&5
9709 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9710 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9711 if diff conftest.exp conftest.er2 >/dev/null; then
9712 lt_cv_prog_compiler__b=yes
9715 lt_cv_prog_compiler__b=yes
9719 LDFLAGS="$save_LDFLAGS"
9722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9723 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9725 if test x"$lt_cv_prog_compiler__b" = xyes; then
9726 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9728 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9734 if test "$with_gnu_ld" = no; then
9735 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9736 hardcode_libdir_separator=:
9741 hardcode_shlibpath_var=no
9745 hardcode_direct_absolute=yes
9746 export_dynamic_flag_spec='${wl}-E'
9748 # hardcode_minus_L: Not really in the search PATH,
9749 # but as the default location of the library.
9750 hardcode_minus_L=yes
9756 irix5* | irix6* | nonstopux*)
9757 if test "$GCC" = yes; then
9758 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'
9759 # Try to use the -exported_symbol ld option, if it does not
9760 # work, assume that -exports_file does not work either and
9761 # implicitly export all symbols.
9762 # This should be the same for all languages, so no per-tag cache variable.
9763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9764 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9765 if ${lt_cv_irix_exported_symbol+:} false; then :
9766 $as_echo_n "(cached) " >&6
9768 save_LDFLAGS="$LDFLAGS"
9769 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9771 /* end confdefs.h. */
9772 int foo (void) { return 0; }
9774 if ac_fn_c_try_link "$LINENO"; then :
9775 lt_cv_irix_exported_symbol=yes
9777 lt_cv_irix_exported_symbol=no
9779 rm -f core conftest.err conftest.$ac_objext \
9780 conftest$ac_exeext conftest.$ac_ext
9781 LDFLAGS="$save_LDFLAGS"
9783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9784 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9785 if test "$lt_cv_irix_exported_symbol" = yes; then
9786 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'
9789 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'
9790 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'
9792 archive_cmds_need_lc='no'
9793 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9794 hardcode_libdir_separator=:
9796 link_all_deplibs=yes
9800 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9801 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9803 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9805 hardcode_libdir_flag_spec='-R$libdir'
9807 hardcode_shlibpath_var=no
9811 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9813 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9814 hardcode_libdir_separator=:
9815 hardcode_shlibpath_var=no
9822 if test -f /usr/libexec/ld.so; then
9824 hardcode_shlibpath_var=no
9825 hardcode_direct_absolute=yes
9826 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9827 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9828 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9829 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9830 export_dynamic_flag_spec='${wl}-E'
9833 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9834 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9835 hardcode_libdir_flag_spec='-R$libdir'
9838 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9839 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9849 hardcode_libdir_flag_spec='-L$libdir'
9850 hardcode_minus_L=yes
9851 allow_undefined_flag=unsupported
9852 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'
9853 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9857 if test "$GCC" = yes; then
9858 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9859 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'
9861 allow_undefined_flag=' -expect_unresolved \*'
9862 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'
9864 archive_cmds_need_lc='no'
9865 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9866 hardcode_libdir_separator=:
9869 osf4* | osf5*) # as osf3* with the addition of -msym flag
9870 if test "$GCC" = yes; then
9871 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9872 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'
9873 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9875 allow_undefined_flag=' -expect_unresolved \*'
9876 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'
9877 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~
9878 $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'
9880 # Both c and cxx compiler support -rpath directly
9881 hardcode_libdir_flag_spec='-rpath $libdir'
9883 archive_cmds_need_lc='no'
9884 hardcode_libdir_separator=:
9888 no_undefined_flag=' -z defs'
9889 if test "$GCC" = yes; then
9891 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9892 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9893 $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'
9895 case `$CC -V 2>&1` in
9898 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9899 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9900 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9904 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9905 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9906 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9910 hardcode_libdir_flag_spec='-R$libdir'
9911 hardcode_shlibpath_var=no
9913 solaris2.[0-5] | solaris2.[0-5].*) ;;
9915 # The compiler driver will combine and reorder linker options,
9916 # but understands `-z linker_flag'. GCC discards it without `$wl',
9917 # but is careful enough not to reorder.
9918 # Supported since Solaris 2.6 (maybe 2.5.1?)
9919 if test "$GCC" = yes; then
9920 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9922 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9926 link_all_deplibs=yes
9930 if test "x$host_vendor" = xsequent; then
9931 # Use $CC to link under sequent, because it throws in some extra .o
9932 # files that make .init and .fini sections work.
9933 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9935 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9937 hardcode_libdir_flag_spec='-L$libdir'
9939 hardcode_minus_L=yes
9940 hardcode_shlibpath_var=no
9944 case $host_vendor in
9946 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9947 hardcode_direct=yes # is this really true???
9950 ## LD is ld it makes a PLAMLIB
9951 ## CC just makes a GrossModule.
9952 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9953 reload_cmds='$CC -r -o $output$reload_objs'
9957 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9958 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9961 runpath_var='LD_RUN_PATH'
9962 hardcode_shlibpath_var=no
9966 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9967 hardcode_shlibpath_var=no
9968 export_dynamic_flag_spec='-Bexport'
9972 if test -d /usr/nec; then
9973 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9974 hardcode_shlibpath_var=no
9975 runpath_var=LD_RUN_PATH
9976 hardcode_runpath_var=yes
9981 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9982 no_undefined_flag='${wl}-z,text'
9983 archive_cmds_need_lc=no
9984 hardcode_shlibpath_var=no
9985 runpath_var='LD_RUN_PATH'
9987 if test "$GCC" = yes; then
9988 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9989 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9991 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9992 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9996 sysv5* | sco3.2v5* | sco5v6*)
9997 # Note: We can NOT use -z defs as we might desire, because we do not
9998 # link with -lc, and that would cause any symbols used from libc to
9999 # always be unresolved, which means just about no library would
10000 # ever link correctly. If we're not using GNU ld we use -z text
10001 # though, which does catch some bad symbols but isn't as heavy-handed
10003 no_undefined_flag='${wl}-z,text'
10004 allow_undefined_flag='${wl}-z,nodefs'
10005 archive_cmds_need_lc=no
10006 hardcode_shlibpath_var=no
10007 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10008 hardcode_libdir_separator=':'
10009 link_all_deplibs=yes
10010 export_dynamic_flag_spec='${wl}-Bexport'
10011 runpath_var='LD_RUN_PATH'
10013 if test "$GCC" = yes; then
10014 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10015 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10017 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10018 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10023 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10024 hardcode_libdir_flag_spec='-L$libdir'
10025 hardcode_shlibpath_var=no
10033 if test x$host_vendor = xsni; then
10035 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10036 export_dynamic_flag_spec='${wl}-Blargedynsym'
10042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10043 $as_echo "$ld_shlibs" >&6; }
10044 test "$ld_shlibs" = no && can_build_shared=no
10046 with_gnu_ld=$with_gnu_ld
10063 # Do we need to explicitly link libc?
10065 case "x$archive_cmds_need_lc" in
10067 # Assume -lc should be added
10068 archive_cmds_need_lc=yes
10070 if test "$enable_shared" = yes && test "$GCC" = yes; then
10071 case $archive_cmds in
10073 # FIXME: we may have to deal with multi-command sequences.
10076 # Test whether the compiler implicitly links with -lc since on some
10077 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10078 # to ld, don't add -lc before -lgcc.
10079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10080 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10081 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10082 $as_echo_n "(cached) " >&6
10085 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10087 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10088 (eval $ac_compile) 2>&5
10090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10091 test $ac_status = 0; } 2>conftest.err; then
10094 libobjs=conftest.$ac_objext
10096 wl=$lt_prog_compiler_wl
10097 pic_flag=$lt_prog_compiler_pic
10103 lt_save_allow_undefined_flag=$allow_undefined_flag
10104 allow_undefined_flag=
10105 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10106 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10109 test $ac_status = 0; }
10111 lt_cv_archive_cmds_need_lc=no
10113 lt_cv_archive_cmds_need_lc=yes
10115 allow_undefined_flag=$lt_save_allow_undefined_flag
10117 cat conftest.err 1>&5
10122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10123 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10124 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10283 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10285 if test "$GCC" = yes; then
10287 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10288 *) lt_awk_arg="/^libraries:/" ;;
10291 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10292 *) lt_sed_strip_eq="s,=/,/,g" ;;
10294 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10295 case $lt_search_path_spec in
10297 # if the path contains ";" then we assume it to be the separator
10298 # otherwise default to the standard path separator (i.e. ":") - it is
10299 # assumed that no part of a normal pathname contains ";" but that should
10300 # okay in the real world where ";" in dirpaths is itself problematic.
10301 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10304 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10307 # Ok, now we have the path, separated by spaces, we can step through it
10308 # and add multilib dir if necessary.
10309 lt_tmp_lt_search_path_spec=
10310 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10311 for lt_sys_path in $lt_search_path_spec; do
10312 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10313 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10315 test -d "$lt_sys_path" && \
10316 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10319 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10320 BEGIN {RS=" "; FS="/|\n";} {
10323 for (lt_i = NF; lt_i > 0; lt_i--) {
10324 if ($lt_i != "" && $lt_i != ".") {
10325 if ($lt_i == "..") {
10328 if (lt_count == 0) {
10329 lt_foo="/" $lt_i lt_foo;
10336 if (lt_foo != "") { lt_freq[lt_foo]++; }
10337 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10339 # AWK program above erroneously prepends '/' to C:/dos/paths
10342 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10343 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10345 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10347 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10349 library_names_spec=
10350 libname_spec='lib$name'
10354 postuninstall_cmds=
10358 shlibpath_overrides_runpath=unknown
10360 dynamic_linker="$host_os ld.so"
10361 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10362 need_lib_prefix=unknown
10363 hardcode_into_libs=no
10365 # when you set need_version to no, make sure it does not cause -set_version
10366 # flags to be left without arguments
10367 need_version=unknown
10371 version_type=linux # correct to gnu/linux during the next big refactor
10372 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10373 shlibpath_var=LIBPATH
10375 # AIX 3 has no versioning support, so we append a major version to the name.
10376 soname_spec='${libname}${release}${shared_ext}$major'
10380 version_type=linux # correct to gnu/linux during the next big refactor
10383 hardcode_into_libs=yes
10384 if test "$host_cpu" = ia64; then
10385 # AIX 5 supports IA64
10386 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10387 shlibpath_var=LD_LIBRARY_PATH
10389 # With GCC up to 2.95.x, collect2 would create an import file
10390 # for dependence libraries. The import file would start with
10391 # the line `#! .'. This would cause the generated library to
10392 # depend on `.', always an invalid library. This was fixed in
10393 # development snapshots of GCC prior to 3.0.
10395 aix4 | aix4.[01] | aix4.[01].*)
10396 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10398 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10401 can_build_shared=no
10405 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10406 # soname into executable. Probably we can add versioning support to
10407 # collect2, so additional links can be useful in future.
10408 if test "$aix_use_runtimelinking" = yes; then
10409 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10410 # instead of lib<name>.a to let people know that these are not
10411 # typical AIX shared libraries.
10412 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10414 # We preserve .a as extension for shared libraries through AIX4.2
10415 # and later when we are not doing run time linking.
10416 library_names_spec='${libname}${release}.a $libname.a'
10417 soname_spec='${libname}${release}${shared_ext}$major'
10419 shlibpath_var=LIBPATH
10426 # Since July 2007 AmigaOS4 officially supports .so libraries.
10427 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10428 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10431 library_names_spec='$libname.ixlibrary $libname.a'
10432 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10433 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'
10439 library_names_spec='${libname}${shared_ext}'
10440 dynamic_linker="$host_os ld.so"
10441 shlibpath_var=LIBRARY_PATH
10445 version_type=linux # correct to gnu/linux during the next big refactor
10447 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10448 soname_spec='${libname}${release}${shared_ext}$major'
10449 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10450 shlibpath_var=LD_LIBRARY_PATH
10451 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10452 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10453 # the default ld.so.conf also contains /usr/contrib/lib and
10454 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10455 # libtool to hard-code these into programs
10458 cygwin* | mingw* | pw32* | cegcc*)
10459 version_type=windows
10464 case $GCC,$cc_basename in
10467 library_names_spec='$libname.dll.a'
10468 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10469 postinstall_cmds='base_file=`basename \${file}`~
10470 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10471 dldir=$destdir/`dirname \$dlpath`~
10472 test -d \$dldir || mkdir -p \$dldir~
10473 $install_prog $dir/$dlname \$dldir/$dlname~
10474 chmod a+x \$dldir/$dlname~
10475 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10476 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10478 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10479 dlpath=$dir/\$dldll~
10481 shlibpath_overrides_runpath=yes
10485 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10486 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10488 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10491 # MinGW DLLs use traditional 'lib' prefix
10492 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10495 # pw32 DLLs use 'pw' prefix rather than 'lib'
10496 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10499 dynamic_linker='Win32 ld.exe'
10504 libname_spec='$name'
10505 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10506 library_names_spec='${libname}.dll.lib'
10510 sys_lib_search_path_spec=
10513 for lt_path in $LIB
10516 # Let DOS variable expansion print the short 8.3 style file name.
10517 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10518 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10521 # Convert to MSYS style.
10522 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10525 # Convert to unix form, then to dos form, then back to unix form
10526 # but this time dos style (no spaces!) so that the unix form looks
10527 # like /cygdrive/c/PROGRA~1:/cygdr...
10528 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10529 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10530 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10533 sys_lib_search_path_spec="$LIB"
10534 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10535 # It is most probably a Windows format PATH.
10536 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10538 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10540 # FIXME: find the short name or the path components, as spaces are
10541 # common. (e.g. "Program Files" -> "PROGRA~1")
10545 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10546 postinstall_cmds='base_file=`basename \${file}`~
10547 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10548 dldir=$destdir/`dirname \$dlpath`~
10549 test -d \$dldir || mkdir -p \$dldir~
10550 $install_prog $dir/$dlname \$dldir/$dlname'
10551 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10552 dlpath=$dir/\$dldll~
10554 shlibpath_overrides_runpath=yes
10555 dynamic_linker='Win32 link.exe'
10559 # Assume MSVC wrapper
10560 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10561 dynamic_linker='Win32 ld.exe'
10564 # FIXME: first we should search . and the directory the executable is in
10568 darwin* | rhapsody*)
10569 dynamic_linker="$host_os dyld"
10570 version_type=darwin
10573 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10574 soname_spec='${libname}${release}${major}$shared_ext'
10575 shlibpath_overrides_runpath=yes
10576 shlibpath_var=DYLD_LIBRARY_PATH
10577 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10579 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10580 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10584 version_type=linux # correct to gnu/linux during the next big refactor
10587 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10588 soname_spec='${libname}${release}${shared_ext}$major'
10589 shlibpath_var=LD_LIBRARY_PATH
10592 freebsd* | dragonfly*)
10593 # DragonFly does not have aout. When/if they implement a new
10594 # versioning mechanism, adjust this.
10595 if test -x /usr/bin/objformat; then
10596 objformat=`/usr/bin/objformat`
10599 freebsd[23].*) objformat=aout ;;
10600 *) objformat=elf ;;
10603 version_type=freebsd-$objformat
10604 case $version_type in
10606 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10611 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10615 shlibpath_var=LD_LIBRARY_PATH
10618 shlibpath_overrides_runpath=yes
10620 freebsd3.[01]* | freebsdelf3.[01]*)
10621 shlibpath_overrides_runpath=yes
10622 hardcode_into_libs=yes
10624 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10625 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10626 shlibpath_overrides_runpath=no
10627 hardcode_into_libs=yes
10629 *) # from 4.6 on, and DragonFly
10630 shlibpath_overrides_runpath=yes
10631 hardcode_into_libs=yes
10637 version_type=linux # correct to gnu/linux during the next big refactor
10640 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10641 soname_spec='${libname}${release}${shared_ext}$major'
10642 shlibpath_var=LD_LIBRARY_PATH
10643 shlibpath_overrides_runpath=no
10644 hardcode_into_libs=yes
10648 version_type=linux # correct to gnu/linux during the next big refactor
10651 dynamic_linker="$host_os runtime_loader"
10652 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10653 soname_spec='${libname}${release}${shared_ext}$major'
10654 shlibpath_var=LIBRARY_PATH
10655 shlibpath_overrides_runpath=yes
10656 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10657 hardcode_into_libs=yes
10660 hpux9* | hpux10* | hpux11*)
10661 # Give a soname corresponding to the major version so that dld.sl refuses to
10662 # link against other versions.
10669 hardcode_into_libs=yes
10670 dynamic_linker="$host_os dld.so"
10671 shlibpath_var=LD_LIBRARY_PATH
10672 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10673 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10674 soname_spec='${libname}${release}${shared_ext}$major'
10675 if test "X$HPUX_IA64_MODE" = X32; then
10676 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10678 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10680 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10684 hardcode_into_libs=yes
10685 dynamic_linker="$host_os dld.sl"
10686 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10687 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10688 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10689 soname_spec='${libname}${release}${shared_ext}$major'
10690 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10691 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10695 dynamic_linker="$host_os dld.sl"
10696 shlibpath_var=SHLIB_PATH
10697 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10698 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10699 soname_spec='${libname}${release}${shared_ext}$major'
10702 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10703 postinstall_cmds='chmod 555 $lib'
10704 # or fails outright, so override atomically:
10705 install_override_mode=555
10709 version_type=linux # correct to gnu/linux during the next big refactor
10712 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10713 soname_spec='${libname}${release}${shared_ext}$major'
10714 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10715 shlibpath_var=LD_LIBRARY_PATH
10716 shlibpath_overrides_runpath=no
10717 hardcode_into_libs=yes
10720 irix5* | irix6* | nonstopux*)
10722 nonstopux*) version_type=nonstopux ;;
10724 if test "$lt_cv_prog_gnu_ld" = yes; then
10725 version_type=linux # correct to gnu/linux during the next big refactor
10732 soname_spec='${libname}${release}${shared_ext}$major'
10733 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10735 irix5* | nonstopux*)
10736 libsuff= shlibsuff=
10739 case $LD in # libtool.m4 will add one of these switches to LD
10740 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10741 libsuff= shlibsuff= libmagic=32-bit;;
10742 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10743 libsuff=32 shlibsuff=N32 libmagic=N32;;
10744 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10745 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10746 *) libsuff= shlibsuff= libmagic=never-match;;
10750 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10751 shlibpath_overrides_runpath=no
10752 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10753 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10754 hardcode_into_libs=yes
10757 # No shared lib support for Linux oldld, aout, or coff.
10758 linux*oldld* | linux*aout* | linux*coff*)
10762 # This must be glibc/ELF.
10763 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10764 version_type=linux # correct to gnu/linux during the next big refactor
10767 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10768 soname_spec='${libname}${release}${shared_ext}$major'
10769 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10770 shlibpath_var=LD_LIBRARY_PATH
10771 shlibpath_overrides_runpath=no
10773 # Some binutils ld are patched to set DT_RUNPATH
10774 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10775 $as_echo_n "(cached) " >&6
10777 lt_cv_shlibpath_overrides_runpath=no
10778 save_LDFLAGS=$LDFLAGS
10779 save_libdir=$libdir
10780 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10781 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10783 /* end confdefs.h. */
10793 if ac_fn_c_try_link "$LINENO"; then :
10794 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10795 lt_cv_shlibpath_overrides_runpath=yes
10798 rm -f core conftest.err conftest.$ac_objext \
10799 conftest$ac_exeext conftest.$ac_ext
10800 LDFLAGS=$save_LDFLAGS
10801 libdir=$save_libdir
10805 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10807 # This implies no fast_install, which is unacceptable.
10808 # Some rework will be needed to allow for fast_install
10809 # before this can be enabled.
10810 hardcode_into_libs=yes
10812 # Add ABI-specific directories to the system library path.
10813 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
10815 # Append ld.so.conf contents to the search path
10816 if test -f /etc/ld.so.conf; then
10817 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' ' '`
10818 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10822 # We used to test for /lib/ld.so.1 and disable shared libraries on
10823 # powerpc, because MkLinux only supported shared libraries with the
10824 # GNU dynamic linker. Since this was broken with cross compilers,
10825 # most powerpc-linux boxes support dynamic linking these days and
10826 # people can always --disable-shared, the test was removed, and we
10827 # assume the GNU/Linux dynamic linker is in use.
10828 dynamic_linker='GNU/Linux ld.so'
10835 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10836 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10837 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10838 dynamic_linker='NetBSD (a.out) ld.so'
10840 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10841 soname_spec='${libname}${release}${shared_ext}$major'
10842 dynamic_linker='NetBSD ld.elf_so'
10844 shlibpath_var=LD_LIBRARY_PATH
10845 shlibpath_overrides_runpath=yes
10846 hardcode_into_libs=yes
10850 version_type=linux # correct to gnu/linux during the next big refactor
10851 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10852 shlibpath_var=LD_LIBRARY_PATH
10853 shlibpath_overrides_runpath=yes
10860 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10861 soname_spec='${libname}${release}${shared_ext}$major'
10862 shlibpath_var=LD_LIBRARY_PATH
10863 shlibpath_overrides_runpath=no
10864 hardcode_into_libs=yes
10865 dynamic_linker='ldqnx.so'
10870 sys_lib_dlsearch_path_spec="/usr/lib"
10872 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10874 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10875 *) need_version=no ;;
10877 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10878 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10879 shlibpath_var=LD_LIBRARY_PATH
10880 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10882 openbsd2.[89] | openbsd2.[89].*)
10883 shlibpath_overrides_runpath=no
10886 shlibpath_overrides_runpath=yes
10890 shlibpath_overrides_runpath=yes
10895 libname_spec='$name'
10898 library_names_spec='$libname${shared_ext} $libname.a'
10899 dynamic_linker='OS/2 ld.exe'
10900 shlibpath_var=LIBPATH
10903 osf3* | osf4* | osf5*)
10907 soname_spec='${libname}${release}${shared_ext}$major'
10908 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10909 shlibpath_var=LD_LIBRARY_PATH
10910 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10911 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10919 version_type=linux # correct to gnu/linux during the next big refactor
10922 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10923 soname_spec='${libname}${release}${shared_ext}$major'
10924 shlibpath_var=LD_LIBRARY_PATH
10925 shlibpath_overrides_runpath=yes
10926 hardcode_into_libs=yes
10927 # ldd complains unless libraries are executable
10928 postinstall_cmds='chmod +x $lib'
10933 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10934 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10935 shlibpath_var=LD_LIBRARY_PATH
10936 shlibpath_overrides_runpath=yes
10937 if test "$with_gnu_ld" = yes; then
10944 version_type=linux # correct to gnu/linux during the next big refactor
10945 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10946 soname_spec='${libname}${release}${shared_ext}$major'
10947 shlibpath_var=LD_LIBRARY_PATH
10948 case $host_vendor in
10950 shlibpath_overrides_runpath=no
10952 runpath_var=LD_RUN_PATH
10960 shlibpath_overrides_runpath=no
10961 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10967 if test -d /usr/nec ;then
10968 version_type=linux # correct to gnu/linux during the next big refactor
10969 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10970 soname_spec='$libname${shared_ext}.$major'
10971 shlibpath_var=LD_LIBRARY_PATH
10975 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10976 version_type=freebsd-elf
10979 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10980 soname_spec='${libname}${release}${shared_ext}$major'
10981 shlibpath_var=LD_LIBRARY_PATH
10982 shlibpath_overrides_runpath=yes
10983 hardcode_into_libs=yes
10984 if test "$with_gnu_ld" = yes; then
10985 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10987 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10990 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10994 sys_lib_dlsearch_path_spec='/usr/lib'
10998 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
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 shlibpath_var=LD_LIBRARY_PATH
11004 shlibpath_overrides_runpath=no
11005 hardcode_into_libs=yes
11009 version_type=linux # correct to gnu/linux during the next big refactor
11010 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11011 soname_spec='${libname}${release}${shared_ext}$major'
11012 shlibpath_var=LD_LIBRARY_PATH
11019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11020 $as_echo "$dynamic_linker" >&6; }
11021 test "$dynamic_linker" = no && can_build_shared=no
11023 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11024 if test "$GCC" = yes; then
11025 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11028 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11029 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11031 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11032 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11127 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11129 if test -n "$hardcode_libdir_flag_spec" ||
11130 test -n "$runpath_var" ||
11131 test "X$hardcode_automatic" = "Xyes" ; then
11133 # We can hardcode non-existent directories.
11134 if test "$hardcode_direct" != no &&
11135 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11136 # have to relink, otherwise we might link with an installed library
11137 # when we should be linking with a yet-to-be-installed one
11138 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11139 test "$hardcode_minus_L" != no; then
11140 # Linking always hardcodes the temporary library directory.
11141 hardcode_action=relink
11143 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11144 hardcode_action=immediate
11147 # We cannot hardcode anything, or else we can only hardcode existing
11149 hardcode_action=unsupported
11151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11152 $as_echo "$hardcode_action" >&6; }
11154 if test "$hardcode_action" = relink ||
11155 test "$inherit_rpath" = yes; then
11156 # Fast installation is not supported
11157 enable_fast_install=no
11158 elif test "$shlibpath_overrides_runpath" = yes ||
11159 test "$enable_shared" = no; then
11160 # Fast installation is not necessary
11161 enable_fast_install=needless
11169 if test "x$enable_dlopen" != xyes; then
11170 enable_dlopen=unknown
11171 enable_dlopen_self=unknown
11172 enable_dlopen_self_static=unknown
11179 lt_cv_dlopen="load_add_on"
11181 lt_cv_dlopen_self=yes
11184 mingw* | pw32* | cegcc*)
11185 lt_cv_dlopen="LoadLibrary"
11190 lt_cv_dlopen="dlopen"
11195 # if libdl is installed we need to link against it
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11197 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11198 if ${ac_cv_lib_dl_dlopen+:} false; then :
11199 $as_echo_n "(cached) " >&6
11201 ac_check_lib_save_LIBS=$LIBS
11203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11204 /* end confdefs.h. */
11206 /* Override any GCC internal prototype to avoid an error.
11207 Use char because int might match the return type of a GCC
11208 builtin and then its argument prototype would still apply. */
11221 if ac_fn_c_try_link "$LINENO"; then :
11222 ac_cv_lib_dl_dlopen=yes
11224 ac_cv_lib_dl_dlopen=no
11226 rm -f core conftest.err conftest.$ac_objext \
11227 conftest$ac_exeext conftest.$ac_ext
11228 LIBS=$ac_check_lib_save_LIBS
11230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11231 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11232 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11233 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11236 lt_cv_dlopen="dyld"
11238 lt_cv_dlopen_self=yes
11245 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11246 if test "x$ac_cv_func_shl_load" = xyes; then :
11247 lt_cv_dlopen="shl_load"
11249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11250 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11251 if ${ac_cv_lib_dld_shl_load+:} false; then :
11252 $as_echo_n "(cached) " >&6
11254 ac_check_lib_save_LIBS=$LIBS
11256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11257 /* end confdefs.h. */
11259 /* Override any GCC internal prototype to avoid an error.
11260 Use char because int might match the return type of a GCC
11261 builtin and then its argument prototype would still apply. */
11269 return shl_load ();
11274 if ac_fn_c_try_link "$LINENO"; then :
11275 ac_cv_lib_dld_shl_load=yes
11277 ac_cv_lib_dld_shl_load=no
11279 rm -f core conftest.err conftest.$ac_objext \
11280 conftest$ac_exeext conftest.$ac_ext
11281 LIBS=$ac_check_lib_save_LIBS
11283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11284 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11285 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11286 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11288 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11289 if test "x$ac_cv_func_dlopen" = xyes; then :
11290 lt_cv_dlopen="dlopen"
11292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11293 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11294 if ${ac_cv_lib_dl_dlopen+:} false; then :
11295 $as_echo_n "(cached) " >&6
11297 ac_check_lib_save_LIBS=$LIBS
11299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11300 /* end confdefs.h. */
11302 /* Override any GCC internal prototype to avoid an error.
11303 Use char because int might match the return type of a GCC
11304 builtin and then its argument prototype would still apply. */
11317 if ac_fn_c_try_link "$LINENO"; then :
11318 ac_cv_lib_dl_dlopen=yes
11320 ac_cv_lib_dl_dlopen=no
11322 rm -f core conftest.err conftest.$ac_objext \
11323 conftest$ac_exeext conftest.$ac_ext
11324 LIBS=$ac_check_lib_save_LIBS
11326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11327 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11328 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11329 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11332 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11333 if ${ac_cv_lib_svld_dlopen+:} false; then :
11334 $as_echo_n "(cached) " >&6
11336 ac_check_lib_save_LIBS=$LIBS
11337 LIBS="-lsvld $LIBS"
11338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11339 /* end confdefs.h. */
11341 /* Override any GCC internal prototype to avoid an error.
11342 Use char because int might match the return type of a GCC
11343 builtin and then its argument prototype would still apply. */
11356 if ac_fn_c_try_link "$LINENO"; then :
11357 ac_cv_lib_svld_dlopen=yes
11359 ac_cv_lib_svld_dlopen=no
11361 rm -f core conftest.err conftest.$ac_objext \
11362 conftest$ac_exeext conftest.$ac_ext
11363 LIBS=$ac_check_lib_save_LIBS
11365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11366 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11367 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11368 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11371 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11372 if ${ac_cv_lib_dld_dld_link+:} false; then :
11373 $as_echo_n "(cached) " >&6
11375 ac_check_lib_save_LIBS=$LIBS
11377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11378 /* end confdefs.h. */
11380 /* Override any GCC internal prototype to avoid an error.
11381 Use char because int might match the return type of a GCC
11382 builtin and then its argument prototype would still apply. */
11390 return dld_link ();
11395 if ac_fn_c_try_link "$LINENO"; then :
11396 ac_cv_lib_dld_dld_link=yes
11398 ac_cv_lib_dld_dld_link=no
11400 rm -f core conftest.err conftest.$ac_objext \
11401 conftest$ac_exeext conftest.$ac_ext
11402 LIBS=$ac_check_lib_save_LIBS
11404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11405 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11406 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11407 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11428 if test "x$lt_cv_dlopen" != xno; then
11434 case $lt_cv_dlopen in
11436 save_CPPFLAGS="$CPPFLAGS"
11437 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11439 save_LDFLAGS="$LDFLAGS"
11440 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11443 LIBS="$lt_cv_dlopen_libs $LIBS"
11445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11446 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11447 if ${lt_cv_dlopen_self+:} false; then :
11448 $as_echo_n "(cached) " >&6
11450 if test "$cross_compiling" = yes; then :
11451 lt_cv_dlopen_self=cross
11453 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11454 lt_status=$lt_dlunknown
11455 cat > conftest.$ac_ext <<_LT_EOF
11456 #line $LINENO "configure"
11457 #include "confdefs.h"
11466 # define LT_DLGLOBAL RTLD_GLOBAL
11469 # define LT_DLGLOBAL DL_GLOBAL
11471 # define LT_DLGLOBAL 0
11475 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11476 find out it does not work in some platform. */
11477 #ifndef LT_DLLAZY_OR_NOW
11479 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11482 # define LT_DLLAZY_OR_NOW DL_LAZY
11485 # define LT_DLLAZY_OR_NOW RTLD_NOW
11488 # define LT_DLLAZY_OR_NOW DL_NOW
11490 # define LT_DLLAZY_OR_NOW 0
11497 /* When -fvisbility=hidden is used, assume the code has been annotated
11498 correspondingly for the symbols needed. */
11499 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11500 int fnord () __attribute__((visibility("default")));
11503 int fnord () { return 42; }
11506 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11507 int status = $lt_dlunknown;
11511 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11514 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11515 else puts (dlerror ());
11517 /* dlclose (self); */
11525 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11526 (eval $ac_link) 2>&5
11528 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11529 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11530 (./conftest; exit; ) >&5 2>/dev/null
11532 case x$lt_status in
11533 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11534 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11535 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11538 # compilation failed
11539 lt_cv_dlopen_self=no
11546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11547 $as_echo "$lt_cv_dlopen_self" >&6; }
11549 if test "x$lt_cv_dlopen_self" = xyes; then
11550 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11552 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11553 if ${lt_cv_dlopen_self_static+:} false; then :
11554 $as_echo_n "(cached) " >&6
11556 if test "$cross_compiling" = yes; then :
11557 lt_cv_dlopen_self_static=cross
11559 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11560 lt_status=$lt_dlunknown
11561 cat > conftest.$ac_ext <<_LT_EOF
11562 #line $LINENO "configure"
11563 #include "confdefs.h"
11572 # define LT_DLGLOBAL RTLD_GLOBAL
11575 # define LT_DLGLOBAL DL_GLOBAL
11577 # define LT_DLGLOBAL 0
11581 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11582 find out it does not work in some platform. */
11583 #ifndef LT_DLLAZY_OR_NOW
11585 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11588 # define LT_DLLAZY_OR_NOW DL_LAZY
11591 # define LT_DLLAZY_OR_NOW RTLD_NOW
11594 # define LT_DLLAZY_OR_NOW DL_NOW
11596 # define LT_DLLAZY_OR_NOW 0
11603 /* When -fvisbility=hidden is used, assume the code has been annotated
11604 correspondingly for the symbols needed. */
11605 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11606 int fnord () __attribute__((visibility("default")));
11609 int fnord () { return 42; }
11612 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11613 int status = $lt_dlunknown;
11617 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11620 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11621 else puts (dlerror ());
11623 /* dlclose (self); */
11631 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11632 (eval $ac_link) 2>&5
11634 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11635 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11636 (./conftest; exit; ) >&5 2>/dev/null
11638 case x$lt_status in
11639 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11640 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11641 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11644 # compilation failed
11645 lt_cv_dlopen_self_static=no
11652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11653 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11656 CPPFLAGS="$save_CPPFLAGS"
11657 LDFLAGS="$save_LDFLAGS"
11662 case $lt_cv_dlopen_self in
11663 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11664 *) enable_dlopen_self=unknown ;;
11667 case $lt_cv_dlopen_self_static in
11668 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11669 *) enable_dlopen_self_static=unknown ;;
11691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11692 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11693 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11694 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11695 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11697 $as_echo "yes" >&6; }
11699 # FIXME - insert some real tests, host_os isn't really good enough
11702 if test -n "$STRIP" ; then
11703 striplib="$STRIP -x"
11704 old_striplib="$STRIP -S"
11705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11706 $as_echo "yes" >&6; }
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11709 $as_echo "no" >&6; }
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11714 $as_echo "no" >&6; }
11730 # Report which library types will actually be built
11731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11732 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11734 $as_echo "$can_build_shared" >&6; }
11736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11737 $as_echo_n "checking whether to build shared libraries... " >&6; }
11738 test "$can_build_shared" = "no" && enable_shared=no
11740 # On AIX, shared libraries and static libraries use the same namespace, and
11741 # are all built from PIC.
11744 test "$enable_shared" = yes && enable_static=no
11745 if test -n "$RANLIB"; then
11746 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11747 postinstall_cmds='$RANLIB $lib'
11752 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11753 test "$enable_shared" = yes && enable_static=no
11757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11758 $as_echo "$enable_shared" >&6; }
11760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11761 $as_echo_n "checking whether to build static libraries... " >&6; }
11762 # Make sure either enable_shared or enable_static is yes.
11763 test "$enable_shared" = yes || enable_static=yes
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11765 $as_echo "$enable_static" >&6; }
11772 ac_cpp='$CPP $CPPFLAGS'
11773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11793 ac_config_commands="$ac_config_commands libtool"
11798 # Only expand once:
11802 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11803 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11807 cat >>confdefs.h <<_ACEOF
11812 cat >>confdefs.h <<_ACEOF
11817 cat >>confdefs.h <<_ACEOF
11822 cat >>confdefs.h <<_ACEOF
11826 version_info="8:7:7"
11830 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11831 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11835 ### Needed information
11841 want_econnman0_7x="yes"
11850 want_econnman0_7x="no"
11858 requirement_ebluez="edbus >= 1.7.7"
11859 requirement_econnman0_7x="edbus >= 1.7.7"
11860 requirement_edbus="ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62"
11861 requirement_ehal="edbus >= 1.7.7"
11862 requirement_enotify="edbus >= 1.7.7"
11863 requirement_eofono="edbus >= 1.7.7"
11864 requirement_eukit="edbus >= 1.7.7"
11866 ### Additional options to configure
11869 # Check whether --enable-ebluez was given.
11870 if test "${enable_ebluez+set}" = set; then :
11871 enableval=$enable_ebluez; enable_ebluez=$enableval
11873 enable_ebluez="${want_ebluez}"
11877 # Check whether --enable-econnman0_7x was given.
11878 if test "${enable_econnman0_7x+set}" = set; then :
11879 enableval=$enable_econnman0_7x; enable_econnman0_7x=$enableval
11881 enable_econnman0_7x="${want_econnman0_7x}"
11885 # Check whether --enable-ehal was given.
11886 if test "${enable_ehal+set}" = set; then :
11887 enableval=$enable_ehal; enable_ehal=$enableval
11889 enable_ehal="${want_ehal}"
11893 # Check whether --enable-enotify was given.
11894 if test "${enable_enotify+set}" = set; then :
11895 enableval=$enable_enotify; enable_enotify=$enableval
11897 enable_enotify="${want_enotify}"
11901 # Check whether --enable-eofono was given.
11902 if test "${enable_eofono+set}" = set; then :
11903 enableval=$enable_eofono; enable_eofono=$enableval
11905 enable_eofono="${want_eofono}"
11909 # Check whether --enable-eukit was given.
11910 if test "${enable_eukit+set}" = set; then :
11911 enableval=$enable_eukit; enable_eukit=$enableval
11913 enable_eukit="${want_eukit}"
11917 ### Checks for programs
11920 ac_cpp='$CPP $CPPFLAGS'
11921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11924 if test -n "$ac_tool_prefix"; then
11925 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11926 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11928 $as_echo_n "checking for $ac_word... " >&6; }
11929 if ${ac_cv_prog_CC+:} false; then :
11930 $as_echo_n "(cached) " >&6
11932 if test -n "$CC"; then
11933 ac_cv_prog_CC="$CC" # Let the user override the test.
11935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11936 for as_dir in $PATH
11939 test -z "$as_dir" && as_dir=.
11940 for ac_exec_ext in '' $ac_executable_extensions; do
11941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11942 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11953 if test -n "$CC"; then
11954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11955 $as_echo "$CC" >&6; }
11957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11958 $as_echo "no" >&6; }
11963 if test -z "$ac_cv_prog_CC"; then
11965 # Extract the first word of "gcc", so it can be a program name with args.
11966 set dummy gcc; ac_word=$2
11967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11968 $as_echo_n "checking for $ac_word... " >&6; }
11969 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11970 $as_echo_n "(cached) " >&6
11972 if test -n "$ac_ct_CC"; then
11973 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11976 for as_dir in $PATH
11979 test -z "$as_dir" && as_dir=.
11980 for ac_exec_ext in '' $ac_executable_extensions; do
11981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11982 ac_cv_prog_ac_ct_CC="gcc"
11983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11992 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11993 if test -n "$ac_ct_CC"; then
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11995 $as_echo "$ac_ct_CC" >&6; }
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11998 $as_echo "no" >&6; }
12001 if test "x$ac_ct_CC" = x; then
12004 case $cross_compiling:$ac_tool_warned in
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12007 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12008 ac_tool_warned=yes ;;
12013 CC="$ac_cv_prog_CC"
12016 if test -z "$CC"; then
12017 if test -n "$ac_tool_prefix"; then
12018 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12019 set dummy ${ac_tool_prefix}cc; ac_word=$2
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12021 $as_echo_n "checking for $ac_word... " >&6; }
12022 if ${ac_cv_prog_CC+:} false; then :
12023 $as_echo_n "(cached) " >&6
12025 if test -n "$CC"; then
12026 ac_cv_prog_CC="$CC" # Let the user override the test.
12028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12029 for as_dir in $PATH
12032 test -z "$as_dir" && as_dir=.
12033 for ac_exec_ext in '' $ac_executable_extensions; do
12034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12035 ac_cv_prog_CC="${ac_tool_prefix}cc"
12036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12046 if test -n "$CC"; then
12047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12048 $as_echo "$CC" >&6; }
12050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12051 $as_echo "no" >&6; }
12057 if test -z "$CC"; then
12058 # Extract the first word of "cc", so it can be a program name with args.
12059 set dummy cc; ac_word=$2
12060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12061 $as_echo_n "checking for $ac_word... " >&6; }
12062 if ${ac_cv_prog_CC+:} false; then :
12063 $as_echo_n "(cached) " >&6
12065 if test -n "$CC"; then
12066 ac_cv_prog_CC="$CC" # Let the user override the test.
12068 ac_prog_rejected=no
12069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12070 for as_dir in $PATH
12073 test -z "$as_dir" && as_dir=.
12074 for ac_exec_ext in '' $ac_executable_extensions; do
12075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12076 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12077 ac_prog_rejected=yes
12081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12088 if test $ac_prog_rejected = yes; then
12089 # We found a bogon in the path, so make sure we never use it.
12090 set dummy $ac_cv_prog_CC
12092 if test $# != 0; then
12093 # We chose a different compiler from the bogus one.
12094 # However, it has the same basename, so the bogon will be chosen
12095 # first if we set CC to just the basename; use the full file name.
12097 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12103 if test -n "$CC"; then
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12105 $as_echo "$CC" >&6; }
12107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12108 $as_echo "no" >&6; }
12113 if test -z "$CC"; then
12114 if test -n "$ac_tool_prefix"; then
12115 for ac_prog in cl.exe
12117 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12118 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12120 $as_echo_n "checking for $ac_word... " >&6; }
12121 if ${ac_cv_prog_CC+:} false; then :
12122 $as_echo_n "(cached) " >&6
12124 if test -n "$CC"; then
12125 ac_cv_prog_CC="$CC" # Let the user override the test.
12127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12128 for as_dir in $PATH
12131 test -z "$as_dir" && as_dir=.
12132 for ac_exec_ext in '' $ac_executable_extensions; do
12133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12134 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12145 if test -n "$CC"; then
12146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12147 $as_echo "$CC" >&6; }
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12150 $as_echo "no" >&6; }
12154 test -n "$CC" && break
12157 if test -z "$CC"; then
12159 for ac_prog in cl.exe
12161 # Extract the first word of "$ac_prog", so it can be a program name with args.
12162 set dummy $ac_prog; ac_word=$2
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12164 $as_echo_n "checking for $ac_word... " >&6; }
12165 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12166 $as_echo_n "(cached) " >&6
12168 if test -n "$ac_ct_CC"; then
12169 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12172 for as_dir in $PATH
12175 test -z "$as_dir" && as_dir=.
12176 for ac_exec_ext in '' $ac_executable_extensions; do
12177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12178 ac_cv_prog_ac_ct_CC="$ac_prog"
12179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12188 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12189 if test -n "$ac_ct_CC"; then
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12191 $as_echo "$ac_ct_CC" >&6; }
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12194 $as_echo "no" >&6; }
12198 test -n "$ac_ct_CC" && break
12201 if test "x$ac_ct_CC" = x; then
12204 case $cross_compiling:$ac_tool_warned in
12206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12207 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12208 ac_tool_warned=yes ;;
12217 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12218 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12219 as_fn_error $? "no acceptable C compiler found in \$PATH
12220 See \`config.log' for more details" "$LINENO" 5; }
12222 # Provide some information about the compiler.
12223 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12226 for ac_option in --version -v -V -qversion; do
12227 { { ac_try="$ac_compiler $ac_option >&5"
12228 case "(($ac_try" in
12229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12230 *) ac_try_echo=$ac_try;;
12232 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12233 $as_echo "$ac_try_echo"; } >&5
12234 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12236 if test -s conftest.err; then
12238 ... rest of stderr output deleted ...
12239 10q' conftest.err >conftest.er1
12240 cat conftest.er1 >&5
12242 rm -f conftest.er1 conftest.err
12243 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12244 test $ac_status = 0; }
12247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12248 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12249 if ${ac_cv_c_compiler_gnu+:} false; then :
12250 $as_echo_n "(cached) " >&6
12252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12253 /* end confdefs.h. */
12266 if ac_fn_c_try_compile "$LINENO"; then :
12267 ac_compiler_gnu=yes
12271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12272 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12276 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12277 if test $ac_compiler_gnu = yes; then
12282 ac_test_CFLAGS=${CFLAGS+set}
12283 ac_save_CFLAGS=$CFLAGS
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12285 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12286 if ${ac_cv_prog_cc_g+:} false; then :
12287 $as_echo_n "(cached) " >&6
12289 ac_save_c_werror_flag=$ac_c_werror_flag
12290 ac_c_werror_flag=yes
12293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12294 /* end confdefs.h. */
12304 if ac_fn_c_try_compile "$LINENO"; then :
12305 ac_cv_prog_cc_g=yes
12308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12309 /* end confdefs.h. */
12319 if ac_fn_c_try_compile "$LINENO"; then :
12322 ac_c_werror_flag=$ac_save_c_werror_flag
12324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12325 /* end confdefs.h. */
12335 if ac_fn_c_try_compile "$LINENO"; then :
12336 ac_cv_prog_cc_g=yes
12338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12343 ac_c_werror_flag=$ac_save_c_werror_flag
12345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12346 $as_echo "$ac_cv_prog_cc_g" >&6; }
12347 if test "$ac_test_CFLAGS" = set; then
12348 CFLAGS=$ac_save_CFLAGS
12349 elif test $ac_cv_prog_cc_g = yes; then
12350 if test "$GCC" = yes; then
12356 if test "$GCC" = yes; then
12362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12363 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12364 if ${ac_cv_prog_cc_c89+:} false; then :
12365 $as_echo_n "(cached) " >&6
12367 ac_cv_prog_cc_c89=no
12369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12370 /* end confdefs.h. */
12371 #include <stdarg.h>
12373 #include <sys/types.h>
12374 #include <sys/stat.h>
12375 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12376 struct buf { int x; };
12377 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12378 static char *e (p, i)
12384 static char *f (char * (*g) (char **, int), char **p, ...)
12389 s = g (p, va_arg (v,int));
12394 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12395 function prototypes and stuff, but not '\xHH' hex character constants.
12396 These don't provoke an error unfortunately, instead are silently treated
12397 as 'x'. The following induces an error, until -std is added to get
12398 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12399 array size at least. It's necessary to write '\x00'==0 to get something
12400 that's true only with -std. */
12401 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12403 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12404 inside strings and character constants. */
12406 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12408 int test (int i, double x);
12409 struct s1 {int (*f) (int a);};
12410 struct s2 {int (*f) (double a);};
12411 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12417 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12422 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12423 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12425 CC="$ac_save_CC $ac_arg"
12426 if ac_fn_c_try_compile "$LINENO"; then :
12427 ac_cv_prog_cc_c89=$ac_arg
12429 rm -f core conftest.err conftest.$ac_objext
12430 test "x$ac_cv_prog_cc_c89" != "xno" && break
12432 rm -f conftest.$ac_ext
12437 case "x$ac_cv_prog_cc_c89" in
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12440 $as_echo "none needed" >&6; } ;;
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12443 $as_echo "unsupported" >&6; } ;;
12445 CC="$CC $ac_cv_prog_cc_c89"
12446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12447 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12449 if test "x$ac_cv_prog_cc_c89" != xno; then :
12454 ac_cpp='$CPP $CPPFLAGS'
12455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12459 depcc="$CC" am_compiler_list=
12461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12462 $as_echo_n "checking dependency style of $depcc... " >&6; }
12463 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12464 $as_echo_n "(cached) " >&6
12466 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12467 # We make a subdir and do the tests there. Otherwise we can end up
12468 # making bogus files that we don't know about and never remove. For
12469 # instance it was reported that on HP-UX the gcc test will end up
12470 # making a dummy file named `D' -- because `-MD' means `put the output
12472 rm -rf conftest.dir
12474 # Copy depcomp to subdir because otherwise we won't find it if we're
12475 # using a relative directory.
12476 cp "$am_depcomp" conftest.dir
12478 # We will build objects and dependencies in a subdirectory because
12479 # it helps to detect inapplicable dependency modes. For instance
12480 # both Tru64's cc and ICC support -MD to output dependencies as a
12481 # side effect of compilation, but ICC will put the dependencies in
12482 # the current directory while Tru64 will put them in the object
12486 am_cv_CC_dependencies_compiler_type=none
12487 if test "$am_compiler_list" = ""; then
12488 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12490 am__universal=false
12491 case " $depcc " in #(
12492 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12495 for depmode in $am_compiler_list; do
12496 # Setup a source with many dependencies, because some compilers
12497 # like to wrap large dependency lists on column 80 (with \), and
12498 # we should not choose a depcomp mode which is confused by this.
12500 # We need to recreate these files for each test, as the compiler may
12501 # overwrite some of them when testing with obscure command lines.
12502 # This happens at least with the AIX C compiler.
12504 for i in 1 2 3 4 5 6; do
12505 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12506 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12507 # Solaris 8's {/usr,}/bin/sh.
12508 touch sub/conftst$i.h
12510 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12512 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12513 # mode. It turns out that the SunPro C++ compiler does not properly
12514 # handle `-M -o', and we need to detect this. Also, some Intel
12515 # versions had trouble with output in subdirs
12516 am__obj=sub/conftest.${OBJEXT-o}
12517 am__minus_obj="-o $am__obj"
12520 # This depmode causes a compiler race in universal mode.
12521 test "$am__universal" = false || continue
12524 # after this tag, mechanisms are not by side-effect, so they'll
12525 # only be used when explicitly requested
12526 if test "x$enable_dependency_tracking" = xyes; then
12532 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12533 # This compiler won't grok `-c -o', but also, the minuso test has
12534 # not run yet. These depmodes are late enough in the game, and
12535 # so weak that their functioning should not be impacted.
12536 am__obj=conftest.${OBJEXT-o}
12541 if depmode=$depmode \
12542 source=sub/conftest.c object=$am__obj \
12543 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12544 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12545 >/dev/null 2>conftest.err &&
12546 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12547 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12548 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12549 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12550 # icc doesn't choke on unknown options, it will just issue warnings
12551 # or remarks (even with -Werror). So we grep stderr for any message
12552 # that says an option was ignored or not supported.
12553 # When given -MP, icc 7.0 and 7.1 complain thusly:
12554 # icc: Command line warning: ignoring option '-M'; no argument required
12555 # The diagnosis changed in icc 8.0:
12556 # icc: Command line remark: option '-MP' not supported
12557 if (grep 'ignoring option' conftest.err ||
12558 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12559 am_cv_CC_dependencies_compiler_type=$depmode
12566 rm -rf conftest.dir
12568 am_cv_CC_dependencies_compiler_type=none
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12573 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12574 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12577 test "x$enable_dependency_tracking" != xno \
12578 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12579 am__fastdepCC_TRUE=
12580 am__fastdepCC_FALSE='#'
12582 am__fastdepCC_TRUE='#'
12583 am__fastdepCC_FALSE=
12587 if test "x$CC" != xcc; then
12588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
12589 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
12591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
12592 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
12594 set dummy $CC; ac_cc=`$as_echo "$2" |
12595 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12596 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
12597 $as_echo_n "(cached) " >&6
12599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12600 /* end confdefs.h. */
12610 # Make sure it works both with $CC and with simple cc.
12611 # We do the test twice because some compilers refuse to overwrite an
12612 # existing .o file with -o, though they will create one.
12613 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12615 if { { case "(($ac_try" in
12616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12617 *) ac_try_echo=$ac_try;;
12619 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12620 $as_echo "$ac_try_echo"; } >&5
12621 (eval "$ac_try") 2>&5
12623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12624 test $ac_status = 0; } &&
12625 test -f conftest2.$ac_objext && { { case "(($ac_try" in
12626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12627 *) ac_try_echo=$ac_try;;
12629 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12630 $as_echo "$ac_try_echo"; } >&5
12631 (eval "$ac_try") 2>&5
12633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12634 test $ac_status = 0; };
12636 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
12637 if test "x$CC" != xcc; then
12638 # Test first that cc exists at all.
12639 if { ac_try='cc -c conftest.$ac_ext >&5'
12640 { { case "(($ac_try" in
12641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12642 *) ac_try_echo=$ac_try;;
12644 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12645 $as_echo "$ac_try_echo"; } >&5
12646 (eval "$ac_try") 2>&5
12648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12649 test $ac_status = 0; }; }; then
12650 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12652 if { { case "(($ac_try" in
12653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12654 *) ac_try_echo=$ac_try;;
12656 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12657 $as_echo "$ac_try_echo"; } >&5
12658 (eval "$ac_try") 2>&5
12660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12661 test $ac_status = 0; } &&
12662 test -f conftest2.$ac_objext && { { case "(($ac_try" in
12663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12664 *) ac_try_echo=$ac_try;;
12666 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12667 $as_echo "$ac_try_echo"; } >&5
12668 (eval "$ac_try") 2>&5
12670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12671 test $ac_status = 0; };
12676 # cc exists but doesn't like -o.
12677 eval ac_cv_prog_cc_${ac_cc}_c_o=no
12682 eval ac_cv_prog_cc_${ac_cc}_c_o=no
12684 rm -f core conftest*
12687 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
12688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12689 $as_echo "yes" >&6; }
12691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12692 $as_echo "no" >&6; }
12694 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
12698 # FIXME: we rely on the cache variable name because
12699 # there is no other way.
12701 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12702 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
12703 if test "$am_t" != yes; then
12704 # Losing compiler, so override with the script.
12705 # FIXME: It is wrong to rewrite CC.
12706 # But if we don't then we get into trouble of one sort or another.
12707 # A longer-term fix would be to have automake use am__CC in this case,
12708 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12709 CC="$am_aux_dir/compile $CC"
12721 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12722 if test -n "$ac_tool_prefix"; then
12723 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12724 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12726 $as_echo_n "checking for $ac_word... " >&6; }
12727 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12728 $as_echo_n "(cached) " >&6
12730 case $PKG_CONFIG in
12732 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12736 for as_dir in $PATH
12739 test -z "$as_dir" && as_dir=.
12740 for ac_exec_ext in '' $ac_executable_extensions; do
12741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12742 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12753 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12754 if test -n "$PKG_CONFIG"; then
12755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12756 $as_echo "$PKG_CONFIG" >&6; }
12758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12759 $as_echo "no" >&6; }
12764 if test -z "$ac_cv_path_PKG_CONFIG"; then
12765 ac_pt_PKG_CONFIG=$PKG_CONFIG
12766 # Extract the first word of "pkg-config", so it can be a program name with args.
12767 set dummy pkg-config; ac_word=$2
12768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12769 $as_echo_n "checking for $ac_word... " >&6; }
12770 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12771 $as_echo_n "(cached) " >&6
12773 case $ac_pt_PKG_CONFIG in
12775 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12779 for as_dir in $PATH
12782 test -z "$as_dir" && as_dir=.
12783 for ac_exec_ext in '' $ac_executable_extensions; do
12784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12785 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12796 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12797 if test -n "$ac_pt_PKG_CONFIG"; then
12798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12799 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12802 $as_echo "no" >&6; }
12805 if test "x$ac_pt_PKG_CONFIG" = x; then
12808 case $cross_compiling:$ac_tool_warned in
12810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12811 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12812 ac_tool_warned=yes ;;
12814 PKG_CONFIG=$ac_pt_PKG_CONFIG
12817 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12821 if test -n "$PKG_CONFIG"; then
12822 _pkg_min_version=0.9.0
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12824 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12825 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12827 $as_echo "yes" >&6; }
12829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12830 $as_echo "no" >&6; }
12835 # Check whether pkg-config supports Requires.private
12836 if $PKG_CONFIG --atleast-pkgconfig-version 0.22 ; then
12837 pkgconfig_requires_private="Requires.private"
12839 pkgconfig_requires_private="Requires"
12843 # doxygen program for documentation building
12846 # Check whether --enable-doc was given.
12847 if test "${enable_doc+set}" = set; then :
12848 enableval=$enable_doc;
12849 if test "x${enableval}" = "xyes" ; then
12850 efl_enable_doc="yes"
12852 efl_enable_doc="no"
12856 efl_enable_doc="yes"
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
12861 $as_echo_n "checking whether to build documentation... " >&6; }
12862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
12863 $as_echo "${efl_enable_doc}" >&6; }
12865 if test "x${efl_enable_doc}" = "xyes" ; then
12868 efl_doxygen="doxygen"
12871 # Check whether --with-doxygen was given.
12872 if test "${with_doxygen+set}" = set; then :
12873 withval=$with_doxygen;
12874 efl_doxygen=${withval}
12875 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
12876 set dummy ${efl_doxygen}; ac_word=$2
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12878 $as_echo_n "checking for $ac_word... " >&6; }
12879 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
12880 $as_echo_n "(cached) " >&6
12882 if test -n "$efl_have_doxygen"; then
12883 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
12885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12886 for as_dir in $PATH
12889 test -z "$as_dir" && as_dir=.
12890 for ac_exec_ext in '' $ac_executable_extensions; do
12891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12892 ac_cv_prog_efl_have_doxygen="yes"
12893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12900 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
12903 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
12904 if test -n "$efl_have_doxygen"; then
12905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
12906 $as_echo "$efl_have_doxygen" >&6; }
12908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12909 $as_echo "no" >&6; }
12913 if test "x${efl_have_doxygen}" = "xno" ; then
12915 echo "The doxygen program you specified:"
12916 echo "${efl_doxygen}"
12917 echo "was not found. Please check the path and make sure "
12918 echo "the program exists and is executable."
12919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
12920 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
12924 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
12925 set dummy ${efl_doxygen}; ac_word=$2
12926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12927 $as_echo_n "checking for $ac_word... " >&6; }
12928 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
12929 $as_echo_n "(cached) " >&6
12931 if test -n "$efl_have_doxygen"; then
12932 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
12934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12935 for as_dir in $PATH
12938 test -z "$as_dir" && as_dir=.
12939 for ac_exec_ext in '' $ac_executable_extensions; do
12940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12941 ac_cv_prog_efl_have_doxygen="yes"
12942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12949 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
12952 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
12953 if test -n "$efl_have_doxygen"; then
12954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
12955 $as_echo "$efl_have_doxygen" >&6; }
12957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12958 $as_echo "no" >&6; }
12962 if test "x${efl_have_doxygen}" = "xno" ; then
12964 echo "The doxygen program was not found in your execute path."
12965 echo "You may have doxygen installed somewhere not covered by your path."
12967 echo "If this is the case make sure you have the packages installed, AND"
12968 echo "that the doxygen program is in your execute path (see your"
12969 echo "shell manual page on setting the \$PATH environment variable), OR"
12970 echo "alternatively, specify the program to use with --with-doxygen."
12971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
12972 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
12978 efl_have_doxygen="no"
12983 if ! test "x${efl_have_doxygen}" = "xyes" ; then
12984 efl_enable_doc="no"
12987 if test "x${efl_have_doxygen}" = "xyes"; then
12988 EFL_BUILD_DOC_TRUE=
12989 EFL_BUILD_DOC_FALSE='#'
12991 EFL_BUILD_DOC_TRUE='#'
12992 EFL_BUILD_DOC_FALSE=
12996 if test "x$efl_have_doxygen" = "xyes"; then :
13004 ### Checks for libraries
13006 # Evil library for compilation on Windows
13010 if test -n "$PKG_CONFIG" && \
13011 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.7.7\""; } >&5
13012 ($PKG_CONFIG --exists --print-errors "evil >= 1.7.7") 2>&5
13014 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13015 test $ac_status = 0; }; then
13019 $as_echo "#define HAVE_EVIL 1" >>confdefs.h
13021 requirement_edbus="${requirement_edbus} evil >= 1.7.7"
13027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
13028 $as_echo_n "checking for DBUS... " >&6; }
13030 if test -n "$DBUS_CFLAGS"; then
13031 pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
13032 elif test -n "$PKG_CONFIG"; then
13033 if test -n "$PKG_CONFIG" && \
13034 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 0.62\""; } >&5
13035 ($PKG_CONFIG --exists --print-errors "dbus-1 >= 0.62") 2>&5
13037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13038 test $ac_status = 0; }; then
13039 pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 0.62" 2>/dev/null`
13046 if test -n "$DBUS_LIBS"; then
13047 pkg_cv_DBUS_LIBS="$DBUS_LIBS"
13048 elif test -n "$PKG_CONFIG"; then
13049 if test -n "$PKG_CONFIG" && \
13050 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 0.62\""; } >&5
13051 ($PKG_CONFIG --exists --print-errors "dbus-1 >= 0.62") 2>&5
13053 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13054 test $ac_status = 0; }; then
13055 pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 0.62" 2>/dev/null`
13065 if test $pkg_failed = yes; then
13066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13067 $as_echo "no" >&6; }
13069 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13070 _pkg_short_errors_supported=yes
13072 _pkg_short_errors_supported=no
13074 if test $_pkg_short_errors_supported = yes; then
13075 DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "dbus-1 >= 0.62" 2>&1`
13077 DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors "dbus-1 >= 0.62" 2>&1`
13079 # Put the nasty error message in config.log where it belongs
13080 echo "$DBUS_PKG_ERRORS" >&5
13082 as_fn_error $? "Package requirements (dbus-1 >= 0.62) were not met:
13086 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13087 installed software in a non-standard prefix.
13089 Alternatively, you may set the environment variables DBUS_CFLAGS
13090 and DBUS_LIBS to avoid the need to call pkg-config.
13091 See the pkg-config man page for more details." "$LINENO" 5
13093 elif test $pkg_failed = untried; then
13094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13095 $as_echo "no" >&6; }
13096 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13097 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13098 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13099 is in your PATH or set the PKG_CONFIG environment variable to the full
13100 path to pkg-config.
13102 Alternatively, you may set the environment variables DBUS_CFLAGS
13103 and DBUS_LIBS to avoid the need to call pkg-config.
13104 See the pkg-config man page for more details.
13106 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13107 See \`config.log' for more details" "$LINENO" 5; }
13110 DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
13111 DBUS_LIBS=$pkg_cv_DBUS_LIBS
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13113 $as_echo "yes" >&6; }
13119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS" >&5
13120 $as_echo_n "checking for EDBUS... " >&6; }
13122 if test -n "$EDBUS_CFLAGS"; then
13123 pkg_cv_EDBUS_CFLAGS="$EDBUS_CFLAGS"
13124 elif test -n "$PKG_CONFIG"; then
13125 if test -n "$PKG_CONFIG" && \
13126 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${requirement_edbus}\""; } >&5
13127 ($PKG_CONFIG --exists --print-errors "${requirement_edbus}") 2>&5
13129 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13130 test $ac_status = 0; }; then
13131 pkg_cv_EDBUS_CFLAGS=`$PKG_CONFIG --cflags "${requirement_edbus}" 2>/dev/null`
13138 if test -n "$EDBUS_LIBS"; then
13139 pkg_cv_EDBUS_LIBS="$EDBUS_LIBS"
13140 elif test -n "$PKG_CONFIG"; then
13141 if test -n "$PKG_CONFIG" && \
13142 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${requirement_edbus}\""; } >&5
13143 ($PKG_CONFIG --exists --print-errors "${requirement_edbus}") 2>&5
13145 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13146 test $ac_status = 0; }; then
13147 pkg_cv_EDBUS_LIBS=`$PKG_CONFIG --libs "${requirement_edbus}" 2>/dev/null`
13157 if test $pkg_failed = yes; then
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13159 $as_echo "no" >&6; }
13161 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13162 _pkg_short_errors_supported=yes
13164 _pkg_short_errors_supported=no
13166 if test $_pkg_short_errors_supported = yes; then
13167 EDBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "${requirement_edbus}" 2>&1`
13169 EDBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors "${requirement_edbus}" 2>&1`
13171 # Put the nasty error message in config.log where it belongs
13172 echo "$EDBUS_PKG_ERRORS" >&5
13174 as_fn_error $? "Package requirements (${requirement_edbus}) were not met:
13178 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13179 installed software in a non-standard prefix.
13181 Alternatively, you may set the environment variables EDBUS_CFLAGS
13182 and EDBUS_LIBS to avoid the need to call pkg-config.
13183 See the pkg-config man page for more details." "$LINENO" 5
13185 elif test $pkg_failed = untried; then
13186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13187 $as_echo "no" >&6; }
13188 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13189 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13190 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13191 is in your PATH or set the PKG_CONFIG environment variable to the full
13192 path to pkg-config.
13194 Alternatively, you may set the environment variables EDBUS_CFLAGS
13195 and EDBUS_LIBS to avoid the need to call pkg-config.
13196 See the pkg-config man page for more details.
13198 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13199 See \`config.log' for more details" "$LINENO" 5; }
13202 EDBUS_CFLAGS=$pkg_cv_EDBUS_CFLAGS
13203 EDBUS_LIBS=$pkg_cv_EDBUS_LIBS
13204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13205 $as_echo "yes" >&6; }
13209 # Find out the version of DBUS we're using
13210 dbus_version=`pkg-config --modversion dbus-1`
13211 DBUS_VERSION_MAJOR=`echo $dbus_version | awk -F. '{print $1}'`
13212 DBUS_VERSION_MINOR=`echo $dbus_version | awk -F. '{print $2}'`
13213 DBUS_VERSION_MICRO=`echo $dbus_version | awk -F. '{print $3}'`
13215 if test "z$DBUS_VERSION_MAJOR" = "z" ; then
13216 DBUS_VERSION_MAJOR="0"
13219 if test "z$DBUS_VERSION_MINOR" = "z" ; then
13220 DBUS_VERSION_MINOR="0"
13223 if test "z$DBUS_VERSION_MICRO" = "z" ; then
13224 DBUS_VERSION_MICRO="0"
13227 DBUS_VERSION_CFLAGS="$DBUS_VERSION_CFLAGS -DDBUS_VERSION_MAJOR=$DBUS_VERSION_MAJOR"
13228 DBUS_VERSION_CFLAGS="$DBUS_VERSION_CFLAGS -DDBUS_VERSION_MINOR=$DBUS_VERSION_MINOR"
13229 DBUS_VERSION_CFLAGS="$DBUS_VERSION_CFLAGS -DDBUS_VERSION_MICRO=$DBUS_VERSION_MICRO"
13232 # Dependencies for the libraries
13233 if test "x${enable_enotify}" = "xyes" ; then
13236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVAS" >&5
13237 $as_echo_n "checking for EVAS... " >&6; }
13239 if test -n "$EVAS_CFLAGS"; then
13240 pkg_cv_EVAS_CFLAGS="$EVAS_CFLAGS"
13241 elif test -n "$PKG_CONFIG"; then
13242 if test -n "$PKG_CONFIG" && \
13243 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas >= 1.7.7\""; } >&5
13244 ($PKG_CONFIG --exists --print-errors "evas >= 1.7.7") 2>&5
13246 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13247 test $ac_status = 0; }; then
13248 pkg_cv_EVAS_CFLAGS=`$PKG_CONFIG --cflags "evas >= 1.7.7" 2>/dev/null`
13255 if test -n "$EVAS_LIBS"; then
13256 pkg_cv_EVAS_LIBS="$EVAS_LIBS"
13257 elif test -n "$PKG_CONFIG"; then
13258 if test -n "$PKG_CONFIG" && \
13259 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas >= 1.7.7\""; } >&5
13260 ($PKG_CONFIG --exists --print-errors "evas >= 1.7.7") 2>&5
13262 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13263 test $ac_status = 0; }; then
13264 pkg_cv_EVAS_LIBS=`$PKG_CONFIG --libs "evas >= 1.7.7" 2>/dev/null`
13274 if test $pkg_failed = yes; then
13275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13276 $as_echo "no" >&6; }
13278 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13279 _pkg_short_errors_supported=yes
13281 _pkg_short_errors_supported=no
13283 if test $_pkg_short_errors_supported = yes; then
13284 EVAS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "evas >= 1.7.7" 2>&1`
13286 EVAS_PKG_ERRORS=`$PKG_CONFIG --print-errors "evas >= 1.7.7" 2>&1`
13288 # Put the nasty error message in config.log where it belongs
13289 echo "$EVAS_PKG_ERRORS" >&5
13291 enable_enotify="no"
13292 elif test $pkg_failed = untried; then
13293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13294 $as_echo "no" >&6; }
13295 enable_enotify="no"
13297 EVAS_CFLAGS=$pkg_cv_EVAS_CFLAGS
13298 EVAS_LIBS=$pkg_cv_EVAS_LIBS
13299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13300 $as_echo "yes" >&6; }
13301 requirement_enotify="evas >= 1.7.7 ${requirement_enotify}"
13305 if test "x${enable_ebluez}" = "xyes"; then
13307 BUILD_EBLUEZ_FALSE='#'
13309 BUILD_EBLUEZ_TRUE='#'
13310 BUILD_EBLUEZ_FALSE=
13313 if test "x${enable_econnman0_7x}" = "xyes"; then
13314 BUILD_ECONNMAN0_7X_TRUE=
13315 BUILD_ECONNMAN0_7X_FALSE='#'
13317 BUILD_ECONNMAN0_7X_TRUE='#'
13318 BUILD_ECONNMAN0_7X_FALSE=
13321 if test "x${enable_ehal}" = "xyes"; then
13323 BUILD_EHAL_FALSE='#'
13325 BUILD_EHAL_TRUE='#'
13329 if test "x${enable_enotify}" = "xyes"; then
13330 BUILD_ENOTIFY_TRUE=
13331 BUILD_ENOTIFY_FALSE='#'
13333 BUILD_ENOTIFY_TRUE='#'
13334 BUILD_ENOTIFY_FALSE=
13337 if test "x${enable_eofono}" = "xyes"; then
13339 BUILD_EOFONO_FALSE='#'
13341 BUILD_EOFONO_TRUE='#'
13342 BUILD_EOFONO_FALSE=
13345 if test "x${enable_eukit}" = "xyes"; then
13347 BUILD_EUKIT_FALSE='#'
13349 BUILD_EUKIT_TRUE='#'
13354 # Dependencies for the binaries
13360 # Check whether --enable-edbus-test was given.
13361 if test "${enable_edbus_test+set}" = set; then :
13362 enableval=$enable_edbus_test;
13363 if test "x${enableval}" = "xyes" ; then
13364 have_edbus_test="yes"
13366 have_edbus_test="no"
13370 have_edbus_test="yes"
13374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_test binary" >&5
13375 $as_echo_n "checking whether to build edbus_test binary... " >&6; }
13376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_test" >&5
13377 $as_echo "$have_edbus_test" >&6; }
13379 if test "x$have_edbus_test" = "xyes"; then
13380 EDBUS_TEST_PRG=edbus_test${EXEEXT}
13385 if test "x$have_edbus_test" = "xyes"; then
13386 BUILD_EDBUS_TEST_TRUE=
13387 BUILD_EDBUS_TEST_FALSE='#'
13389 BUILD_EDBUS_TEST_TRUE='#'
13390 BUILD_EDBUS_TEST_FALSE=
13394 if test "x$have_edbus_test" = "xyes"; then :
13403 # Check whether --enable-edbus-test-client was given.
13404 if test "${enable_edbus_test_client+set}" = set; then :
13405 enableval=$enable_edbus_test_client;
13406 if test "x${enableval}" = "xyes" ; then
13407 have_edbus_test_client="yes"
13409 have_edbus_test_client="no"
13413 have_edbus_test_client="yes"
13417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_test_client binary" >&5
13418 $as_echo_n "checking whether to build edbus_test_client binary... " >&6; }
13419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_test_client" >&5
13420 $as_echo "$have_edbus_test_client" >&6; }
13422 if test "x$have_edbus_test_client" = "xyes"; then
13423 EDBUS_TEST_CLIENT_PRG=edbus_test_client${EXEEXT}
13428 if test "x$have_edbus_test_client" = "xyes"; then
13429 BUILD_EDBUS_TEST_CLIENT_TRUE=
13430 BUILD_EDBUS_TEST_CLIENT_FALSE='#'
13432 BUILD_EDBUS_TEST_CLIENT_TRUE='#'
13433 BUILD_EDBUS_TEST_CLIENT_FALSE=
13437 if test "x$have_edbus_test_client" = "xyes"; then :
13446 # Check whether --enable-edbus-bluez-test was given.
13447 if test "${enable_edbus_bluez_test+set}" = set; then :
13448 enableval=$enable_edbus_bluez_test;
13449 if test "x${enableval}" = "xyes" ; then
13450 have_edbus_bluez_test="yes"
13452 have_edbus_bluez_test="no"
13456 have_edbus_bluez_test=${enable_ebluez}
13460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_bluez_test binary" >&5
13461 $as_echo_n "checking whether to build edbus_bluez_test binary... " >&6; }
13462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_bluez_test" >&5
13463 $as_echo "$have_edbus_bluez_test" >&6; }
13465 if test "x$have_edbus_bluez_test" = "xyes"; then
13466 EDBUS_BLUEZ_TEST_PRG=edbus_bluez_test${EXEEXT}
13471 if test "x$have_edbus_bluez_test" = "xyes"; then
13472 BUILD_EDBUS_BLUEZ_TEST_TRUE=
13473 BUILD_EDBUS_BLUEZ_TEST_FALSE='#'
13475 BUILD_EDBUS_BLUEZ_TEST_TRUE='#'
13476 BUILD_EDBUS_BLUEZ_TEST_FALSE=
13480 if test "x$have_edbus_bluez_test" = "xyes"; then :
13489 # Check whether --enable-edbus-connman0_7x-test was given.
13490 if test "${enable_edbus_connman0_7x_test+set}" = set; then :
13491 enableval=$enable_edbus_connman0_7x_test;
13492 if test "x${enableval}" = "xyes" ; then
13493 have_edbus_connman0_7x_test="yes"
13495 have_edbus_connman0_7x_test="no"
13499 have_edbus_connman0_7x_test=${enable_econnman0_7x}
13503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_connman0_7x_test binary" >&5
13504 $as_echo_n "checking whether to build edbus_connman0_7x_test binary... " >&6; }
13505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_connman0_7x_test" >&5
13506 $as_echo "$have_edbus_connman0_7x_test" >&6; }
13508 if test "x$have_edbus_connman0_7x_test" = "xyes"; then
13509 EDBUS_CONNMAN0_7X_TEST_PRG=edbus_connman0_7x_test${EXEEXT}
13514 if test "x$have_edbus_connman0_7x_test" = "xyes"; then
13515 BUILD_EDBUS_CONNMAN0_7X_TEST_TRUE=
13516 BUILD_EDBUS_CONNMAN0_7X_TEST_FALSE='#'
13518 BUILD_EDBUS_CONNMAN0_7X_TEST_TRUE='#'
13519 BUILD_EDBUS_CONNMAN0_7X_TEST_FALSE=
13523 if test "x$have_edbus_connman0_7x_test" = "xyes"; then :
13532 # Check whether --enable-edbus-notification-daemon-test was given.
13533 if test "${enable_edbus_notification_daemon_test+set}" = set; then :
13534 enableval=$enable_edbus_notification_daemon_test;
13535 if test "x${enableval}" = "xyes" ; then
13536 have_edbus_notification_daemon_test="yes"
13538 have_edbus_notification_daemon_test="no"
13542 have_edbus_notification_daemon_test=${enable_enotify}
13546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_notification_daemon_test binary" >&5
13547 $as_echo_n "checking whether to build edbus_notification_daemon_test binary... " >&6; }
13548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_notification_daemon_test" >&5
13549 $as_echo "$have_edbus_notification_daemon_test" >&6; }
13551 if test "x$have_edbus_notification_daemon_test" = "xyes"; then
13552 EDBUS_NOTIFICATION_DAEMON_TEST_PRG=edbus_notification_daemon_test${EXEEXT}
13557 if test "x$have_edbus_notification_daemon_test" = "xyes"; then
13558 BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_TRUE=
13559 BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_FALSE='#'
13561 BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_TRUE='#'
13562 BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_FALSE=
13566 if test "x$have_edbus_notification_daemon_test" = "xyes"; then :
13575 # Check whether --enable-edbus-notify-send was given.
13576 if test "${enable_edbus_notify_send+set}" = set; then :
13577 enableval=$enable_edbus_notify_send;
13578 if test "x${enableval}" = "xyes" ; then
13579 have_edbus_notify_send="yes"
13581 have_edbus_notify_send="no"
13585 have_edbus_notify_send=${enable_enotify}
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_notify_send binary" >&5
13590 $as_echo_n "checking whether to build edbus_notify_send binary... " >&6; }
13591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_notify_send" >&5
13592 $as_echo "$have_edbus_notify_send" >&6; }
13594 if test "x$have_edbus_notify_send" = "xyes"; then
13595 EDBUS_NOTIFY_SEND_PRG=edbus_notify_send${EXEEXT}
13600 if test "x$have_edbus_notify_send" = "xyes"; then
13601 BUILD_EDBUS_NOTIFY_SEND_TRUE=
13602 BUILD_EDBUS_NOTIFY_SEND_FALSE='#'
13604 BUILD_EDBUS_NOTIFY_SEND_TRUE='#'
13605 BUILD_EDBUS_NOTIFY_SEND_FALSE=
13609 if test "x$have_edbus_notify_send" = "xyes"; then :
13618 # Check whether --enable-edbus-notify-test was given.
13619 if test "${enable_edbus_notify_test+set}" = set; then :
13620 enableval=$enable_edbus_notify_test;
13621 if test "x${enableval}" = "xyes" ; then
13622 have_edbus_notify_test="yes"
13624 have_edbus_notify_test="no"
13628 have_edbus_notify_test=${enable_enotify}
13632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_notify_test binary" >&5
13633 $as_echo_n "checking whether to build edbus_notify_test binary... " >&6; }
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_notify_test" >&5
13635 $as_echo "$have_edbus_notify_test" >&6; }
13637 if test "x$have_edbus_notify_test" = "xyes"; then
13638 EDBUS_NOTIFY_TEST_PRG=edbus_notify_test${EXEEXT}
13643 if test "x$have_edbus_notify_test" = "xyes"; then
13644 BUILD_EDBUS_NOTIFY_TEST_TRUE=
13645 BUILD_EDBUS_NOTIFY_TEST_FALSE='#'
13647 BUILD_EDBUS_NOTIFY_TEST_TRUE='#'
13648 BUILD_EDBUS_NOTIFY_TEST_FALSE=
13652 if test "x$have_edbus_notify_test" = "xyes"; then :
13661 # Check whether --enable-edbus-ofono-test was given.
13662 if test "${enable_edbus_ofono_test+set}" = set; then :
13663 enableval=$enable_edbus_ofono_test;
13664 if test "x${enableval}" = "xyes" ; then
13665 have_edbus_ofono_test="yes"
13667 have_edbus_ofono_test="no"
13671 have_edbus_ofono_test=${enable_eofono}
13675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_ofono_test binary" >&5
13676 $as_echo_n "checking whether to build edbus_ofono_test binary... " >&6; }
13677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_ofono_test" >&5
13678 $as_echo "$have_edbus_ofono_test" >&6; }
13680 if test "x$have_edbus_ofono_test" = "xyes"; then
13681 EDBUS_OFONO_TEST_PRG=edbus_ofono_test${EXEEXT}
13686 if test "x$have_edbus_ofono_test" = "xyes"; then
13687 BUILD_EDBUS_OFONO_TEST_TRUE=
13688 BUILD_EDBUS_OFONO_TEST_FALSE='#'
13690 BUILD_EDBUS_OFONO_TEST_TRUE='#'
13691 BUILD_EDBUS_OFONO_TEST_FALSE=
13695 if test "x$have_edbus_ofono_test" = "xyes"; then :
13704 # Check whether --enable-edbus-ukit-test was given.
13705 if test "${enable_edbus_ukit_test+set}" = set; then :
13706 enableval=$enable_edbus_ukit_test;
13707 if test "x${enableval}" = "xyes" ; then
13708 have_edbus_ukit_test="yes"
13710 have_edbus_ukit_test="no"
13714 have_edbus_ukit_test=${enable_eukit}
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_ukit_test binary" >&5
13719 $as_echo_n "checking whether to build edbus_ukit_test binary... " >&6; }
13720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_ukit_test" >&5
13721 $as_echo "$have_edbus_ukit_test" >&6; }
13723 if test "x$have_edbus_ukit_test" = "xyes"; then
13724 EDBUS_UKIT_TEST_PRG=edbus_ukit_test${EXEEXT}
13729 if test "x$have_edbus_ukit_test" = "xyes"; then
13730 BUILD_EDBUS_UKIT_TEST_TRUE=
13731 BUILD_EDBUS_UKIT_TEST_FALSE='#'
13733 BUILD_EDBUS_UKIT_TEST_TRUE='#'
13734 BUILD_EDBUS_UKIT_TEST_FALSE=
13738 if test "x$have_edbus_ukit_test" = "xyes"; then :
13747 # Check whether --enable-edbus-performance-test was given.
13748 if test "${enable_edbus_performance_test+set}" = set; then :
13749 enableval=$enable_edbus_performance_test;
13750 if test "x${enableval}" = "xyes" ; then
13751 have_edbus_performance_test="yes"
13753 have_edbus_performance_test="no"
13757 have_edbus_performance_test="no"
13761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_performance_test binary" >&5
13762 $as_echo_n "checking whether to build edbus_performance_test binary... " >&6; }
13763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_performance_test" >&5
13764 $as_echo "$have_edbus_performance_test" >&6; }
13766 if test "x$have_edbus_performance_test" = "xyes"; then
13767 EDBUS_PERFORMANCE_TEST_PRG=edbus_performance_test${EXEEXT}
13772 if test "x$have_edbus_performance_test" = "xyes"; then
13773 BUILD_EDBUS_PERFORMANCE_TEST_TRUE=
13774 BUILD_EDBUS_PERFORMANCE_TEST_FALSE='#'
13776 BUILD_EDBUS_PERFORMANCE_TEST_TRUE='#'
13777 BUILD_EDBUS_PERFORMANCE_TEST_FALSE=
13781 if test "x$have_edbus_performance_test" = "xyes"; then :
13790 # Check whether --enable-edbus-async-test was given.
13791 if test "${enable_edbus_async_test+set}" = set; then :
13792 enableval=$enable_edbus_async_test;
13793 if test "x${enableval}" = "xyes" ; then
13794 have_edbus_async_test="yes"
13796 have_edbus_async_test="no"
13800 have_edbus_async_test="yes"
13804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_async_test binary" >&5
13805 $as_echo_n "checking whether to build edbus_async_test binary... " >&6; }
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_async_test" >&5
13807 $as_echo "$have_edbus_async_test" >&6; }
13809 if test "x$have_edbus_async_test" = "xyes"; then
13810 EDBUS_ASYNC_TEST_PRG=edbus_async_test${EXEEXT}
13815 if test "x$have_edbus_async_test" = "xyes"; then
13816 BUILD_EDBUS_ASYNC_TEST_TRUE=
13817 BUILD_EDBUS_ASYNC_TEST_FALSE='#'
13819 BUILD_EDBUS_ASYNC_TEST_TRUE='#'
13820 BUILD_EDBUS_ASYNC_TEST_FALSE=
13824 if test "x$have_edbus_async_test" = "xyes"; then :
13830 if test "x${have_edbus_test}" = "xyes" ; then
13833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_TEST" >&5
13834 $as_echo_n "checking for EDBUS_TEST... " >&6; }
13836 if test -n "$EDBUS_TEST_CFLAGS"; then
13837 pkg_cv_EDBUS_TEST_CFLAGS="$EDBUS_TEST_CFLAGS"
13838 elif test -n "$PKG_CONFIG"; then
13839 if test -n "$PKG_CONFIG" && \
13840 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.7 dbus-1 >= 0.62\""; } >&5
13841 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.7 dbus-1 >= 0.62") 2>&5
13843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13844 test $ac_status = 0; }; then
13845 pkg_cv_EDBUS_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.7 dbus-1 >= 0.62" 2>/dev/null`
13852 if test -n "$EDBUS_TEST_LIBS"; then
13853 pkg_cv_EDBUS_TEST_LIBS="$EDBUS_TEST_LIBS"
13854 elif test -n "$PKG_CONFIG"; then
13855 if test -n "$PKG_CONFIG" && \
13856 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.7 dbus-1 >= 0.62\""; } >&5
13857 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.7 dbus-1 >= 0.62") 2>&5
13859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13860 test $ac_status = 0; }; then
13861 pkg_cv_EDBUS_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.7 dbus-1 >= 0.62" 2>/dev/null`
13871 if test $pkg_failed = yes; then
13872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13873 $as_echo "no" >&6; }
13875 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13876 _pkg_short_errors_supported=yes
13878 _pkg_short_errors_supported=no
13880 if test $_pkg_short_errors_supported = yes; then
13881 EDBUS_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.7.7 dbus-1 >= 0.62" 2>&1`
13883 EDBUS_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.7.7 dbus-1 >= 0.62" 2>&1`
13885 # Put the nasty error message in config.log where it belongs
13886 echo "$EDBUS_TEST_PKG_ERRORS" >&5
13888 have_edbus_test="no"
13889 elif test $pkg_failed = untried; then
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13891 $as_echo "no" >&6; }
13892 have_edbus_test="no"
13894 EDBUS_TEST_CFLAGS=$pkg_cv_EDBUS_TEST_CFLAGS
13895 EDBUS_TEST_LIBS=$pkg_cv_EDBUS_TEST_LIBS
13896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13897 $as_echo "yes" >&6; }
13898 have_edbus_test="yes"
13902 if test "x${have_edbus_test_client}" = "xyes" ; then
13905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_TEST_CLIENT" >&5
13906 $as_echo_n "checking for EDBUS_TEST_CLIENT... " >&6; }
13908 if test -n "$EDBUS_TEST_CLIENT_CFLAGS"; then
13909 pkg_cv_EDBUS_TEST_CLIENT_CFLAGS="$EDBUS_TEST_CLIENT_CFLAGS"
13910 elif test -n "$PKG_CONFIG"; then
13911 if test -n "$PKG_CONFIG" && \
13912 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.7 dbus-1 >= 0.62\""; } >&5
13913 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.7 dbus-1 >= 0.62") 2>&5
13915 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13916 test $ac_status = 0; }; then
13917 pkg_cv_EDBUS_TEST_CLIENT_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.7 dbus-1 >= 0.62" 2>/dev/null`
13924 if test -n "$EDBUS_TEST_CLIENT_LIBS"; then
13925 pkg_cv_EDBUS_TEST_CLIENT_LIBS="$EDBUS_TEST_CLIENT_LIBS"
13926 elif test -n "$PKG_CONFIG"; then
13927 if test -n "$PKG_CONFIG" && \
13928 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.7 dbus-1 >= 0.62\""; } >&5
13929 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.7 dbus-1 >= 0.62") 2>&5
13931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13932 test $ac_status = 0; }; then
13933 pkg_cv_EDBUS_TEST_CLIENT_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.7 dbus-1 >= 0.62" 2>/dev/null`
13943 if test $pkg_failed = yes; then
13944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13945 $as_echo "no" >&6; }
13947 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13948 _pkg_short_errors_supported=yes
13950 _pkg_short_errors_supported=no
13952 if test $_pkg_short_errors_supported = yes; then
13953 EDBUS_TEST_CLIENT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.7.7 dbus-1 >= 0.62" 2>&1`
13955 EDBUS_TEST_CLIENT_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.7.7 dbus-1 >= 0.62" 2>&1`
13957 # Put the nasty error message in config.log where it belongs
13958 echo "$EDBUS_TEST_CLIENT_PKG_ERRORS" >&5
13960 have_edbus_test_client="no"
13961 elif test $pkg_failed = untried; then
13962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13963 $as_echo "no" >&6; }
13964 have_edbus_test_client="no"
13966 EDBUS_TEST_CLIENT_CFLAGS=$pkg_cv_EDBUS_TEST_CLIENT_CFLAGS
13967 EDBUS_TEST_CLIENT_LIBS=$pkg_cv_EDBUS_TEST_CLIENT_LIBS
13968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13969 $as_echo "yes" >&6; }
13970 have_edbus_test_client="yes"
13974 if test "x${have_edbus_bluez_test}" = "xyes" ; then
13977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_BLUEZ_TEST" >&5
13978 $as_echo_n "checking for EDBUS_BLUEZ_TEST... " >&6; }
13980 if test -n "$EDBUS_BLUEZ_TEST_CFLAGS"; then
13981 pkg_cv_EDBUS_BLUEZ_TEST_CFLAGS="$EDBUS_BLUEZ_TEST_CFLAGS"
13982 elif test -n "$PKG_CONFIG"; then
13983 if test -n "$PKG_CONFIG" && \
13984 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62\""; } >&5
13985 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62") 2>&5
13987 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13988 test $ac_status = 0; }; then
13989 pkg_cv_EDBUS_BLUEZ_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62" 2>/dev/null`
13996 if test -n "$EDBUS_BLUEZ_TEST_LIBS"; then
13997 pkg_cv_EDBUS_BLUEZ_TEST_LIBS="$EDBUS_BLUEZ_TEST_LIBS"
13998 elif test -n "$PKG_CONFIG"; then
13999 if test -n "$PKG_CONFIG" && \
14000 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62\""; } >&5
14001 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62") 2>&5
14003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14004 test $ac_status = 0; }; then
14005 pkg_cv_EDBUS_BLUEZ_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62" 2>/dev/null`
14015 if test $pkg_failed = yes; then
14016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14017 $as_echo "no" >&6; }
14019 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14020 _pkg_short_errors_supported=yes
14022 _pkg_short_errors_supported=no
14024 if test $_pkg_short_errors_supported = yes; then
14025 EDBUS_BLUEZ_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62" 2>&1`
14027 EDBUS_BLUEZ_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62" 2>&1`
14029 # Put the nasty error message in config.log where it belongs
14030 echo "$EDBUS_BLUEZ_TEST_PKG_ERRORS" >&5
14032 have_edbus_bluez_test="no"
14033 elif test $pkg_failed = untried; then
14034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14035 $as_echo "no" >&6; }
14036 have_edbus_bluez_test="no"
14038 EDBUS_BLUEZ_TEST_CFLAGS=$pkg_cv_EDBUS_BLUEZ_TEST_CFLAGS
14039 EDBUS_BLUEZ_TEST_LIBS=$pkg_cv_EDBUS_BLUEZ_TEST_LIBS
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14041 $as_echo "yes" >&6; }
14042 have_edbus_bluez_test="yes"
14046 if test "x${have_edbus_connman0_7x_test}" = "xyes" ; then
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_CONNMAN0_7X_TEST" >&5
14050 $as_echo_n "checking for EDBUS_CONNMAN0_7X_TEST... " >&6; }
14052 if test -n "$EDBUS_CONNMAN0_7X_TEST_CFLAGS"; then
14053 pkg_cv_EDBUS_CONNMAN0_7X_TEST_CFLAGS="$EDBUS_CONNMAN0_7X_TEST_CFLAGS"
14054 elif test -n "$PKG_CONFIG"; then
14055 if test -n "$PKG_CONFIG" && \
14056 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62\""; } >&5
14057 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62") 2>&5
14059 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14060 test $ac_status = 0; }; then
14061 pkg_cv_EDBUS_CONNMAN0_7X_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62" 2>/dev/null`
14068 if test -n "$EDBUS_CONNMAN0_7X_TEST_LIBS"; then
14069 pkg_cv_EDBUS_CONNMAN0_7X_TEST_LIBS="$EDBUS_CONNMAN0_7X_TEST_LIBS"
14070 elif test -n "$PKG_CONFIG"; then
14071 if test -n "$PKG_CONFIG" && \
14072 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62\""; } >&5
14073 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62") 2>&5
14075 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14076 test $ac_status = 0; }; then
14077 pkg_cv_EDBUS_CONNMAN0_7X_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62" 2>/dev/null`
14087 if test $pkg_failed = yes; then
14088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14089 $as_echo "no" >&6; }
14091 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14092 _pkg_short_errors_supported=yes
14094 _pkg_short_errors_supported=no
14096 if test $_pkg_short_errors_supported = yes; then
14097 EDBUS_CONNMAN0_7X_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62" 2>&1`
14099 EDBUS_CONNMAN0_7X_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62" 2>&1`
14101 # Put the nasty error message in config.log where it belongs
14102 echo "$EDBUS_CONNMAN0_7X_TEST_PKG_ERRORS" >&5
14104 have_edbus_connman0_7x_test="no"
14105 elif test $pkg_failed = untried; then
14106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14107 $as_echo "no" >&6; }
14108 have_edbus_connman0_7x_test="no"
14110 EDBUS_CONNMAN0_7X_TEST_CFLAGS=$pkg_cv_EDBUS_CONNMAN0_7X_TEST_CFLAGS
14111 EDBUS_CONNMAN0_7X_TEST_LIBS=$pkg_cv_EDBUS_CONNMAN0_7X_TEST_LIBS
14112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14113 $as_echo "yes" >&6; }
14114 have_edbus_connman0_7x_test="yes"
14118 if test "x${have_edbus_notification_daemon_test}" = "xyes" ; then
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_NOTIFICATION_DAEMON_TEST" >&5
14122 $as_echo_n "checking for EDBUS_NOTIFICATION_DAEMON_TEST... " >&6; }
14124 if test -n "$EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS"; then
14125 pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS="$EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS"
14126 elif test -n "$PKG_CONFIG"; then
14127 if test -n "$PKG_CONFIG" && \
14128 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62\""; } >&5
14129 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62") 2>&5
14131 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14132 test $ac_status = 0; }; then
14133 pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62" 2>/dev/null`
14140 if test -n "$EDBUS_NOTIFICATION_DAEMON_TEST_LIBS"; then
14141 pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_LIBS="$EDBUS_NOTIFICATION_DAEMON_TEST_LIBS"
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.7 evas >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62\""; } >&5
14145 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7 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_NOTIFICATION_DAEMON_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62" 2>/dev/null`
14159 if test $pkg_failed = yes; then
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14161 $as_echo "no" >&6; }
14163 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14164 _pkg_short_errors_supported=yes
14166 _pkg_short_errors_supported=no
14168 if test $_pkg_short_errors_supported = yes; then
14169 EDBUS_NOTIFICATION_DAEMON_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62" 2>&1`
14171 EDBUS_NOTIFICATION_DAEMON_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62" 2>&1`
14173 # Put the nasty error message in config.log where it belongs
14174 echo "$EDBUS_NOTIFICATION_DAEMON_TEST_PKG_ERRORS" >&5
14176 have_edbus_notification_daemon_test="no"
14177 elif test $pkg_failed = untried; then
14178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14179 $as_echo "no" >&6; }
14180 have_edbus_notification_daemon_test="no"
14182 EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS=$pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS
14183 EDBUS_NOTIFICATION_DAEMON_TEST_LIBS=$pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_LIBS
14184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14185 $as_echo "yes" >&6; }
14186 have_edbus_notification_daemon_test="yes"
14190 if test "x${have_edbus_notify_send}" = "xyes" ; then
14193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_NOTIFY_SEND" >&5
14194 $as_echo_n "checking for EDBUS_NOTIFY_SEND... " >&6; }
14196 if test -n "$EDBUS_NOTIFY_SEND_CFLAGS"; then
14197 pkg_cv_EDBUS_NOTIFY_SEND_CFLAGS="$EDBUS_NOTIFY_SEND_CFLAGS"
14198 elif test -n "$PKG_CONFIG"; then
14199 if test -n "$PKG_CONFIG" && \
14200 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62\""; } >&5
14201 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62") 2>&5
14203 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14204 test $ac_status = 0; }; then
14205 pkg_cv_EDBUS_NOTIFY_SEND_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62" 2>/dev/null`
14212 if test -n "$EDBUS_NOTIFY_SEND_LIBS"; then
14213 pkg_cv_EDBUS_NOTIFY_SEND_LIBS="$EDBUS_NOTIFY_SEND_LIBS"
14214 elif test -n "$PKG_CONFIG"; then
14215 if test -n "$PKG_CONFIG" && \
14216 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62\""; } >&5
14217 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62") 2>&5
14219 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14220 test $ac_status = 0; }; then
14221 pkg_cv_EDBUS_NOTIFY_SEND_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62" 2>/dev/null`
14231 if test $pkg_failed = yes; then
14232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14233 $as_echo "no" >&6; }
14235 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14236 _pkg_short_errors_supported=yes
14238 _pkg_short_errors_supported=no
14240 if test $_pkg_short_errors_supported = yes; then
14241 EDBUS_NOTIFY_SEND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62" 2>&1`
14243 EDBUS_NOTIFY_SEND_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62" 2>&1`
14245 # Put the nasty error message in config.log where it belongs
14246 echo "$EDBUS_NOTIFY_SEND_PKG_ERRORS" >&5
14248 have_edbus_notify_send="no"
14249 elif test $pkg_failed = untried; then
14250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14251 $as_echo "no" >&6; }
14252 have_edbus_notify_send="no"
14254 EDBUS_NOTIFY_SEND_CFLAGS=$pkg_cv_EDBUS_NOTIFY_SEND_CFLAGS
14255 EDBUS_NOTIFY_SEND_LIBS=$pkg_cv_EDBUS_NOTIFY_SEND_LIBS
14256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14257 $as_echo "yes" >&6; }
14258 have_edbus_notify_send="yes"
14262 if test "x${have_edbus_notify_test}" = "xyes" ; then
14265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_NOTIFY_TEST" >&5
14266 $as_echo_n "checking for EDBUS_NOTIFY_TEST... " >&6; }
14268 if test -n "$EDBUS_NOTIFY_TEST_CFLAGS"; then
14269 pkg_cv_EDBUS_NOTIFY_TEST_CFLAGS="$EDBUS_NOTIFY_TEST_CFLAGS"
14270 elif test -n "$PKG_CONFIG"; then
14271 if test -n "$PKG_CONFIG" && \
14272 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.7 ecore-evas >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62\""; } >&5
14273 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.7 ecore-evas >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62") 2>&5
14275 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14276 test $ac_status = 0; }; then
14277 pkg_cv_EDBUS_NOTIFY_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.7 ecore-evas >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62" 2>/dev/null`
14284 if test -n "$EDBUS_NOTIFY_TEST_LIBS"; then
14285 pkg_cv_EDBUS_NOTIFY_TEST_LIBS="$EDBUS_NOTIFY_TEST_LIBS"
14286 elif test -n "$PKG_CONFIG"; then
14287 if test -n "$PKG_CONFIG" && \
14288 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.7 ecore-evas >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62\""; } >&5
14289 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.7 ecore-evas >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62") 2>&5
14291 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14292 test $ac_status = 0; }; then
14293 pkg_cv_EDBUS_NOTIFY_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.7 ecore-evas >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62" 2>/dev/null`
14303 if test $pkg_failed = yes; then
14304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14305 $as_echo "no" >&6; }
14307 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14308 _pkg_short_errors_supported=yes
14310 _pkg_short_errors_supported=no
14312 if test $_pkg_short_errors_supported = yes; then
14313 EDBUS_NOTIFY_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.7.7 ecore-evas >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62" 2>&1`
14315 EDBUS_NOTIFY_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.7.7 ecore-evas >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62" 2>&1`
14317 # Put the nasty error message in config.log where it belongs
14318 echo "$EDBUS_NOTIFY_TEST_PKG_ERRORS" >&5
14320 have_edbus_notify_test="no"
14321 elif test $pkg_failed = untried; then
14322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14323 $as_echo "no" >&6; }
14324 have_edbus_notify_test="no"
14326 EDBUS_NOTIFY_TEST_CFLAGS=$pkg_cv_EDBUS_NOTIFY_TEST_CFLAGS
14327 EDBUS_NOTIFY_TEST_LIBS=$pkg_cv_EDBUS_NOTIFY_TEST_LIBS
14328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14329 $as_echo "yes" >&6; }
14330 have_edbus_notify_test="yes"
14334 if test "x${have_edbus_ofono_test}" = "xyes" ; then
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_OFONO_TEST" >&5
14338 $as_echo_n "checking for EDBUS_OFONO_TEST... " >&6; }
14340 if test -n "$EDBUS_OFONO_TEST_CFLAGS"; then
14341 pkg_cv_EDBUS_OFONO_TEST_CFLAGS="$EDBUS_OFONO_TEST_CFLAGS"
14342 elif test -n "$PKG_CONFIG"; then
14343 if test -n "$PKG_CONFIG" && \
14344 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62\""; } >&5
14345 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62") 2>&5
14347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14348 test $ac_status = 0; }; then
14349 pkg_cv_EDBUS_OFONO_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62" 2>/dev/null`
14356 if test -n "$EDBUS_OFONO_TEST_LIBS"; then
14357 pkg_cv_EDBUS_OFONO_TEST_LIBS="$EDBUS_OFONO_TEST_LIBS"
14358 elif test -n "$PKG_CONFIG"; then
14359 if test -n "$PKG_CONFIG" && \
14360 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62\""; } >&5
14361 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62") 2>&5
14363 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14364 test $ac_status = 0; }; then
14365 pkg_cv_EDBUS_OFONO_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62" 2>/dev/null`
14375 if test $pkg_failed = yes; then
14376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14377 $as_echo "no" >&6; }
14379 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14380 _pkg_short_errors_supported=yes
14382 _pkg_short_errors_supported=no
14384 if test $_pkg_short_errors_supported = yes; then
14385 EDBUS_OFONO_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62" 2>&1`
14387 EDBUS_OFONO_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62" 2>&1`
14389 # Put the nasty error message in config.log where it belongs
14390 echo "$EDBUS_OFONO_TEST_PKG_ERRORS" >&5
14392 have_edbus_ofono_test="no"
14393 elif test $pkg_failed = untried; then
14394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14395 $as_echo "no" >&6; }
14396 have_edbus_ofono_test="no"
14398 EDBUS_OFONO_TEST_CFLAGS=$pkg_cv_EDBUS_OFONO_TEST_CFLAGS
14399 EDBUS_OFONO_TEST_LIBS=$pkg_cv_EDBUS_OFONO_TEST_LIBS
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14401 $as_echo "yes" >&6; }
14402 have_edbus_ofono_test="yes"
14406 if test "x${have_edbus_ukit_test}" = "xyes" ; then
14409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_UKIT_TEST" >&5
14410 $as_echo_n "checking for EDBUS_UKIT_TEST... " >&6; }
14412 if test -n "$EDBUS_UKIT_TEST_CFLAGS"; then
14413 pkg_cv_EDBUS_UKIT_TEST_CFLAGS="$EDBUS_UKIT_TEST_CFLAGS"
14414 elif test -n "$PKG_CONFIG"; then
14415 if test -n "$PKG_CONFIG" && \
14416 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62\""; } >&5
14417 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62") 2>&5
14419 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14420 test $ac_status = 0; }; then
14421 pkg_cv_EDBUS_UKIT_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62" 2>/dev/null`
14428 if test -n "$EDBUS_UKIT_TEST_LIBS"; then
14429 pkg_cv_EDBUS_UKIT_TEST_LIBS="$EDBUS_UKIT_TEST_LIBS"
14430 elif test -n "$PKG_CONFIG"; then
14431 if test -n "$PKG_CONFIG" && \
14432 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62\""; } >&5
14433 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62") 2>&5
14435 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14436 test $ac_status = 0; }; then
14437 pkg_cv_EDBUS_UKIT_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62" 2>/dev/null`
14447 if test $pkg_failed = yes; then
14448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14449 $as_echo "no" >&6; }
14451 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14452 _pkg_short_errors_supported=yes
14454 _pkg_short_errors_supported=no
14456 if test $_pkg_short_errors_supported = yes; then
14457 EDBUS_UKIT_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62" 2>&1`
14459 EDBUS_UKIT_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62" 2>&1`
14461 # Put the nasty error message in config.log where it belongs
14462 echo "$EDBUS_UKIT_TEST_PKG_ERRORS" >&5
14464 have_edbus_ukit_test="no"
14465 elif test $pkg_failed = untried; then
14466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14467 $as_echo "no" >&6; }
14468 have_edbus_ukit_test="no"
14470 EDBUS_UKIT_TEST_CFLAGS=$pkg_cv_EDBUS_UKIT_TEST_CFLAGS
14471 EDBUS_UKIT_TEST_LIBS=$pkg_cv_EDBUS_UKIT_TEST_LIBS
14472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14473 $as_echo "yes" >&6; }
14474 have_edbus_ukit_test="yes"
14478 if test "x${have_edbus_performance_test}" = "xyes" ; then
14481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_PERFORMANCE_TEST" >&5
14482 $as_echo_n "checking for EDBUS_PERFORMANCE_TEST... " >&6; }
14484 if test -n "$EDBUS_PERFORMANCE_TEST_CFLAGS"; then
14485 pkg_cv_EDBUS_PERFORMANCE_TEST_CFLAGS="$EDBUS_PERFORMANCE_TEST_CFLAGS"
14486 elif test -n "$PKG_CONFIG"; then
14487 if test -n "$PKG_CONFIG" && \
14488 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62 ecore-evas >= 1.7.7 elementary >= 1.7.7 evas >= 1.7.7\""; } >&5
14489 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62 ecore-evas >= 1.7.7 elementary >= 1.7.7 evas >= 1.7.7") 2>&5
14491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14492 test $ac_status = 0; }; then
14493 pkg_cv_EDBUS_PERFORMANCE_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62 ecore-evas >= 1.7.7 elementary >= 1.7.7 evas >= 1.7.7" 2>/dev/null`
14500 if test -n "$EDBUS_PERFORMANCE_TEST_LIBS"; then
14501 pkg_cv_EDBUS_PERFORMANCE_TEST_LIBS="$EDBUS_PERFORMANCE_TEST_LIBS"
14502 elif test -n "$PKG_CONFIG"; then
14503 if test -n "$PKG_CONFIG" && \
14504 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62 ecore-evas >= 1.7.7 elementary >= 1.7.7 evas >= 1.7.7\""; } >&5
14505 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62 ecore-evas >= 1.7.7 elementary >= 1.7.7 evas >= 1.7.7") 2>&5
14507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14508 test $ac_status = 0; }; then
14509 pkg_cv_EDBUS_PERFORMANCE_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62 ecore-evas >= 1.7.7 elementary >= 1.7.7 evas >= 1.7.7" 2>/dev/null`
14519 if test $pkg_failed = yes; then
14520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14521 $as_echo "no" >&6; }
14523 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14524 _pkg_short_errors_supported=yes
14526 _pkg_short_errors_supported=no
14528 if test $_pkg_short_errors_supported = yes; then
14529 EDBUS_PERFORMANCE_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62 ecore-evas >= 1.7.7 elementary >= 1.7.7 evas >= 1.7.7" 2>&1`
14531 EDBUS_PERFORMANCE_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.7.7 eina >= 1.7.7 dbus-1 >= 0.62 ecore-evas >= 1.7.7 elementary >= 1.7.7 evas >= 1.7.7" 2>&1`
14533 # Put the nasty error message in config.log where it belongs
14534 echo "$EDBUS_PERFORMANCE_TEST_PKG_ERRORS" >&5
14536 have_edbus_performance_test="no"
14537 elif test $pkg_failed = untried; then
14538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14539 $as_echo "no" >&6; }
14540 have_edbus_performance_test="no"
14542 EDBUS_PERFORMANCE_TEST_CFLAGS=$pkg_cv_EDBUS_PERFORMANCE_TEST_CFLAGS
14543 EDBUS_PERFORMANCE_TEST_LIBS=$pkg_cv_EDBUS_PERFORMANCE_TEST_LIBS
14544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14545 $as_echo "yes" >&6; }
14546 have_edbus_performance_test="yes"
14550 if test "x${have_edbus_performance_test}" = "xyes"; then
14551 BUILD_EDBUS_PERFORMANCE_TEST_TRUE=
14552 BUILD_EDBUS_PERFORMANCE_TEST_FALSE='#'
14554 BUILD_EDBUS_PERFORMANCE_TEST_TRUE='#'
14555 BUILD_EDBUS_PERFORMANCE_TEST_FALSE=
14559 if test "x${have_edbus_async_test}" = "xyes" ; then
14562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_ASYNC_TEST" >&5
14563 $as_echo_n "checking for EDBUS_ASYNC_TEST... " >&6; }
14565 if test -n "$EDBUS_ASYNC_TEST_CFLAGS"; then
14566 pkg_cv_EDBUS_ASYNC_TEST_CFLAGS="$EDBUS_ASYNC_TEST_CFLAGS"
14567 elif test -n "$PKG_CONFIG"; then
14568 if test -n "$PKG_CONFIG" && \
14569 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.7 dbus-1 >= 0.62\""; } >&5
14570 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.7 dbus-1 >= 0.62") 2>&5
14572 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14573 test $ac_status = 0; }; then
14574 pkg_cv_EDBUS_ASYNC_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.7 dbus-1 >= 0.62" 2>/dev/null`
14581 if test -n "$EDBUS_ASYNC_TEST_LIBS"; then
14582 pkg_cv_EDBUS_ASYNC_TEST_LIBS="$EDBUS_ASYNC_TEST_LIBS"
14583 elif test -n "$PKG_CONFIG"; then
14584 if test -n "$PKG_CONFIG" && \
14585 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.7 dbus-1 >= 0.62\""; } >&5
14586 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.7 dbus-1 >= 0.62") 2>&5
14588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14589 test $ac_status = 0; }; then
14590 pkg_cv_EDBUS_ASYNC_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.7 dbus-1 >= 0.62" 2>/dev/null`
14600 if test $pkg_failed = yes; then
14601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14602 $as_echo "no" >&6; }
14604 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14605 _pkg_short_errors_supported=yes
14607 _pkg_short_errors_supported=no
14609 if test $_pkg_short_errors_supported = yes; then
14610 EDBUS_ASYNC_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.7.7 dbus-1 >= 0.62" 2>&1`
14612 EDBUS_ASYNC_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.7.7 dbus-1 >= 0.62" 2>&1`
14614 # Put the nasty error message in config.log where it belongs
14615 echo "$EDBUS_ASYNC_TEST_PKG_ERRORS" >&5
14617 have_edbus_async_test="no"
14618 elif test $pkg_failed = untried; then
14619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14620 $as_echo "no" >&6; }
14621 have_edbus_async_test="no"
14623 EDBUS_ASYNC_TEST_CFLAGS=$pkg_cv_EDBUS_ASYNC_TEST_CFLAGS
14624 EDBUS_ASYNC_TEST_LIBS=$pkg_cv_EDBUS_ASYNC_TEST_LIBS
14625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14626 $as_echo "yes" >&6; }
14627 have_edbus_async_test="yes"
14631 ### Checks for header files
14634 ### Checks for types
14637 ### Checks for structures
14640 ### Checks for compiler characteristics
14645 EFL_EDBUS_BUILD="-DEFL_EDBUS_BUILD"
14650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14651 $as_echo_n "checking for ANSI C header files... " >&6; }
14652 if ${ac_cv_header_stdc+:} false; then :
14653 $as_echo_n "(cached) " >&6
14655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14656 /* end confdefs.h. */
14657 #include <stdlib.h>
14658 #include <stdarg.h>
14659 #include <string.h>
14670 if ac_fn_c_try_compile "$LINENO"; then :
14671 ac_cv_header_stdc=yes
14673 ac_cv_header_stdc=no
14675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14677 if test $ac_cv_header_stdc = yes; then
14678 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14680 /* end confdefs.h. */
14681 #include <string.h>
14684 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14685 $EGREP "memchr" >/dev/null 2>&1; then :
14688 ac_cv_header_stdc=no
14694 if test $ac_cv_header_stdc = yes; then
14695 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14697 /* end confdefs.h. */
14698 #include <stdlib.h>
14701 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14702 $EGREP "free" >/dev/null 2>&1; then :
14705 ac_cv_header_stdc=no
14711 if test $ac_cv_header_stdc = yes; then
14712 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14713 if test "$cross_compiling" = yes; then :
14716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14717 /* end confdefs.h. */
14719 #include <stdlib.h>
14720 #if ((' ' & 0x0FF) == 0x020)
14721 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14722 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14724 # define ISLOWER(c) \
14725 (('a' <= (c) && (c) <= 'i') \
14726 || ('j' <= (c) && (c) <= 'r') \
14727 || ('s' <= (c) && (c) <= 'z'))
14728 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14731 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14736 for (i = 0; i < 256; i++)
14737 if (XOR (islower (i), ISLOWER (i))
14738 || toupper (i) != TOUPPER (i))
14743 if ac_fn_c_try_run "$LINENO"; then :
14746 ac_cv_header_stdc=no
14748 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14749 conftest.$ac_objext conftest.beam conftest.$ac_ext
14754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
14755 $as_echo "$ac_cv_header_stdc" >&6; }
14756 if test $ac_cv_header_stdc = yes; then
14758 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
14764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
14765 $as_echo_n "checking for __attribute__... " >&6; }
14767 if ${ac_cv___attribute__+:} false; then :
14768 $as_echo_n "(cached) " >&6
14770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14771 /* end confdefs.h. */
14773 #include <stdlib.h>
14776 int foo(int x __attribute__ ((unused)))
14789 if ac_fn_c_try_compile "$LINENO"; then :
14790 ac_cv___attribute__="yes"
14792 ac_cv___attribute__="no"
14795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
14800 $as_echo "$ac_cv___attribute__" >&6; }
14802 if test "x${ac_cv___attribute__}" = "xyes" ; then
14804 $as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
14807 $as_echo "#define __UNUSED__ __attribute__((unused))" >>confdefs.h
14811 $as_echo "#define __UNUSED__ /**/" >>confdefs.h
14817 if ! test "x${VMIC}" = "x" ; then
14820 CFLAGS_save="${CFLAGS}"
14821 CFLAGS="${CFLAGS} -Wall"
14824 ac_cpp='$CPP $CPPFLAGS'
14825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wall" >&5
14830 $as_echo_n "checking whether the compiler supports -Wall... " >&6; }
14832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14833 /* end confdefs.h. */
14843 if ac_fn_c_try_compile "$LINENO"; then :
14848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
14850 $as_echo "${have_flag}" >&6; }
14852 if test "x${have_flag}" = "xno" ; then
14853 CFLAGS="${CFLAGS_save}"
14856 ac_cpp='$CPP $CPPFLAGS'
14857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14865 CFLAGS_save="${CFLAGS}"
14866 CFLAGS="${CFLAGS} -W"
14869 ac_cpp='$CPP $CPPFLAGS'
14870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -W" >&5
14875 $as_echo_n "checking whether the compiler supports -W... " >&6; }
14877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14878 /* end confdefs.h. */
14888 if ac_fn_c_try_compile "$LINENO"; then :
14893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
14895 $as_echo "${have_flag}" >&6; }
14897 if test "x${have_flag}" = "xno" ; then
14898 CFLAGS="${CFLAGS_save}"
14901 ac_cpp='$CPP $CPPFLAGS'
14902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14912 CFLAGS_save="${CFLAGS}"
14913 CFLAGS="${CFLAGS} -Wshadow"
14916 ac_cpp='$CPP $CPPFLAGS'
14917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshadow" >&5
14922 $as_echo_n "checking whether the compiler supports -Wshadow... " >&6; }
14924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14925 /* end confdefs.h. */
14935 if ac_fn_c_try_compile "$LINENO"; then :
14940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
14942 $as_echo "${have_flag}" >&6; }
14944 if test "x${have_flag}" = "xno" ; then
14945 CFLAGS="${CFLAGS_save}"
14948 ac_cpp='$CPP $CPPFLAGS'
14949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14957 ### Checks for linker characteristics
14959 lt_enable_auto_import=""
14962 lt_enable_auto_import="-Wl,--enable-auto-import"
14968 ### Checks for library functions
14970 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14971 if test "x$ac_cv_type_size_t" = xyes; then :
14975 cat >>confdefs.h <<_ACEOF
14976 #define size_t unsigned int
14981 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
14982 # for constant arguments. Useless!
14983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
14984 $as_echo_n "checking for working alloca.h... " >&6; }
14985 if ${ac_cv_working_alloca_h+:} false; then :
14986 $as_echo_n "(cached) " >&6
14988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14989 /* end confdefs.h. */
14990 #include <alloca.h>
14994 char *p = (char *) alloca (2 * sizeof (int));
15000 if ac_fn_c_try_link "$LINENO"; then :
15001 ac_cv_working_alloca_h=yes
15003 ac_cv_working_alloca_h=no
15005 rm -f core conftest.err conftest.$ac_objext \
15006 conftest$ac_exeext conftest.$ac_ext
15008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
15009 $as_echo "$ac_cv_working_alloca_h" >&6; }
15010 if test $ac_cv_working_alloca_h = yes; then
15012 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
15016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
15017 $as_echo_n "checking for alloca... " >&6; }
15018 if ${ac_cv_func_alloca_works+:} false; then :
15019 $as_echo_n "(cached) " >&6
15021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15022 /* end confdefs.h. */
15024 # define alloca __builtin_alloca
15027 # include <malloc.h>
15028 # define alloca _alloca
15030 # ifdef HAVE_ALLOCA_H
15031 # include <alloca.h>
15036 # ifndef alloca /* predefined by HP cc +Olibcalls */
15037 void *alloca (size_t);
15047 char *p = (char *) alloca (1);
15053 if ac_fn_c_try_link "$LINENO"; then :
15054 ac_cv_func_alloca_works=yes
15056 ac_cv_func_alloca_works=no
15058 rm -f core conftest.err conftest.$ac_objext \
15059 conftest$ac_exeext conftest.$ac_ext
15061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
15062 $as_echo "$ac_cv_func_alloca_works" >&6; }
15064 if test $ac_cv_func_alloca_works = yes; then
15066 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
15069 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
15070 # that cause trouble. Some versions do not even contain alloca or
15071 # contain a buggy version. If you still want to use their alloca,
15072 # use ar to extract alloca.o from them instead of compiling alloca.c.
15074 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
15076 $as_echo "#define C_ALLOCA 1" >>confdefs.h
15079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
15080 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
15081 if ${ac_cv_os_cray+:} false; then :
15082 $as_echo_n "(cached) " >&6
15084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15085 /* end confdefs.h. */
15086 #if defined CRAY && ! defined CRAY2
15093 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15094 $EGREP "webecray" >/dev/null 2>&1; then :
15102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
15103 $as_echo "$ac_cv_os_cray" >&6; }
15104 if test $ac_cv_os_cray = yes; then
15105 for ac_func in _getb67 GETB67 getb67; do
15106 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15107 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15108 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15110 cat >>confdefs.h <<_ACEOF
15111 #define CRAY_STACKSEG_END $ac_func
15120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
15121 $as_echo_n "checking stack direction for C alloca... " >&6; }
15122 if ${ac_cv_c_stack_direction+:} false; then :
15123 $as_echo_n "(cached) " >&6
15125 if test "$cross_compiling" = yes; then :
15126 ac_cv_c_stack_direction=0
15128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15129 /* end confdefs.h. */
15130 $ac_includes_default
15132 find_stack_direction ()
15134 static char *addr = 0;
15139 return find_stack_direction ();
15142 return (&dummy > addr) ? 1 : -1;
15148 return find_stack_direction () < 0;
15151 if ac_fn_c_try_run "$LINENO"; then :
15152 ac_cv_c_stack_direction=1
15154 ac_cv_c_stack_direction=-1
15156 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15157 conftest.$ac_objext conftest.beam conftest.$ac_ext
15161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
15162 $as_echo "$ac_cv_c_stack_direction" >&6; }
15163 cat >>confdefs.h <<_ACEOF
15164 #define STACK_DIRECTION $ac_cv_c_stack_direction
15180 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"
15182 cat >confcache <<\_ACEOF
15183 # This file is a shell script that caches the results of configure
15184 # tests run on this system so they can be shared between configure
15185 # scripts and configure runs, see configure's option --config-cache.
15186 # It is not useful on other systems. If it contains results you don't
15187 # want to keep, you may remove or edit it.
15189 # config.status only pays attention to the cache file if you give it
15190 # the --recheck option to rerun configure.
15192 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15193 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15194 # following values.
15198 # The following way of writing the cache mishandles newlines in values,
15199 # but we know of no workaround that is simple, portable, and efficient.
15200 # So, we kill variables containing newlines.
15201 # Ultrix sh set writes to stderr and can't be redirected directly,
15202 # and sets the high bit in the cache file unless we assign to the vars.
15204 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15205 eval ac_val=\$$ac_var
15209 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15210 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15213 _ | IFS | as_nl) ;; #(
15214 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15215 *) { eval $ac_var=; unset $ac_var;} ;;
15221 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15222 *${as_nl}ac_space=\ *)
15223 # `set' does not quote correctly, so add quotes: double-quote
15224 # substitution turns \\\\ into \\, and sed turns \\ into \.
15227 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15230 # `set' quotes correctly as required by POSIX, so do not add quotes.
15231 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15240 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15242 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15244 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15245 if test -w "$cache_file"; then
15246 if test "x$cache_file" != "x/dev/null"; then
15247 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15248 $as_echo "$as_me: updating cache $cache_file" >&6;}
15249 if test ! -f "$cache_file" || test -h "$cache_file"; then
15250 cat confcache >"$cache_file"
15252 case $cache_file in #(
15254 mv -f confcache "$cache_file"$$ &&
15255 mv -f "$cache_file"$$ "$cache_file" ;; #(
15257 mv -f confcache "$cache_file" ;;
15262 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15263 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15268 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15269 # Let make expand exec_prefix.
15270 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15272 DEFS=-DHAVE_CONFIG_H
15277 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15278 # 1. Remove the extension, and $U if already installed.
15279 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15280 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15281 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15282 # will be set to the directory where LIBOBJS objects are built.
15283 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15284 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15286 LIBOBJS=$ac_libobjs
15288 LTLIBOBJS=$ac_ltlibobjs
15291 if test -n "$EXEEXT"; then
15293 am__EXEEXT_FALSE='#'
15295 am__EXEEXT_TRUE='#'
15299 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15300 as_fn_error $? "conditional \"AMDEP\" was never defined.
15301 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15303 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15304 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15305 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15307 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15308 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15309 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15311 if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
15312 as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
15313 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15315 if test -z "${BUILD_EBLUEZ_TRUE}" && test -z "${BUILD_EBLUEZ_FALSE}"; then
15316 as_fn_error $? "conditional \"BUILD_EBLUEZ\" was never defined.
15317 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15319 if test -z "${BUILD_ECONNMAN0_7X_TRUE}" && test -z "${BUILD_ECONNMAN0_7X_FALSE}"; then
15320 as_fn_error $? "conditional \"BUILD_ECONNMAN0_7X\" was never defined.
15321 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15323 if test -z "${BUILD_EHAL_TRUE}" && test -z "${BUILD_EHAL_FALSE}"; then
15324 as_fn_error $? "conditional \"BUILD_EHAL\" was never defined.
15325 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15327 if test -z "${BUILD_ENOTIFY_TRUE}" && test -z "${BUILD_ENOTIFY_FALSE}"; then
15328 as_fn_error $? "conditional \"BUILD_ENOTIFY\" was never defined.
15329 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15331 if test -z "${BUILD_EOFONO_TRUE}" && test -z "${BUILD_EOFONO_FALSE}"; then
15332 as_fn_error $? "conditional \"BUILD_EOFONO\" was never defined.
15333 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15335 if test -z "${BUILD_EUKIT_TRUE}" && test -z "${BUILD_EUKIT_FALSE}"; then
15336 as_fn_error $? "conditional \"BUILD_EUKIT\" was never defined.
15337 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15339 if test -z "${BUILD_EDBUS_TEST_TRUE}" && test -z "${BUILD_EDBUS_TEST_FALSE}"; then
15340 as_fn_error $? "conditional \"BUILD_EDBUS_TEST\" was never defined.
15341 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15343 if test -z "${BUILD_EDBUS_TEST_CLIENT_TRUE}" && test -z "${BUILD_EDBUS_TEST_CLIENT_FALSE}"; then
15344 as_fn_error $? "conditional \"BUILD_EDBUS_TEST_CLIENT\" was never defined.
15345 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15347 if test -z "${BUILD_EDBUS_BLUEZ_TEST_TRUE}" && test -z "${BUILD_EDBUS_BLUEZ_TEST_FALSE}"; then
15348 as_fn_error $? "conditional \"BUILD_EDBUS_BLUEZ_TEST\" was never defined.
15349 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15351 if test -z "${BUILD_EDBUS_CONNMAN0_7X_TEST_TRUE}" && test -z "${BUILD_EDBUS_CONNMAN0_7X_TEST_FALSE}"; then
15352 as_fn_error $? "conditional \"BUILD_EDBUS_CONNMAN0_7X_TEST\" was never defined.
15353 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15355 if test -z "${BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_TRUE}" && test -z "${BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_FALSE}"; then
15356 as_fn_error $? "conditional \"BUILD_EDBUS_NOTIFICATION_DAEMON_TEST\" was never defined.
15357 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15359 if test -z "${BUILD_EDBUS_NOTIFY_SEND_TRUE}" && test -z "${BUILD_EDBUS_NOTIFY_SEND_FALSE}"; then
15360 as_fn_error $? "conditional \"BUILD_EDBUS_NOTIFY_SEND\" was never defined.
15361 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15363 if test -z "${BUILD_EDBUS_NOTIFY_TEST_TRUE}" && test -z "${BUILD_EDBUS_NOTIFY_TEST_FALSE}"; then
15364 as_fn_error $? "conditional \"BUILD_EDBUS_NOTIFY_TEST\" was never defined.
15365 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15367 if test -z "${BUILD_EDBUS_OFONO_TEST_TRUE}" && test -z "${BUILD_EDBUS_OFONO_TEST_FALSE}"; then
15368 as_fn_error $? "conditional \"BUILD_EDBUS_OFONO_TEST\" was never defined.
15369 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15371 if test -z "${BUILD_EDBUS_UKIT_TEST_TRUE}" && test -z "${BUILD_EDBUS_UKIT_TEST_FALSE}"; then
15372 as_fn_error $? "conditional \"BUILD_EDBUS_UKIT_TEST\" was never defined.
15373 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15375 if test -z "${BUILD_EDBUS_PERFORMANCE_TEST_TRUE}" && test -z "${BUILD_EDBUS_PERFORMANCE_TEST_FALSE}"; then
15376 as_fn_error $? "conditional \"BUILD_EDBUS_PERFORMANCE_TEST\" was never defined.
15377 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15379 if test -z "${BUILD_EDBUS_ASYNC_TEST_TRUE}" && test -z "${BUILD_EDBUS_ASYNC_TEST_FALSE}"; then
15380 as_fn_error $? "conditional \"BUILD_EDBUS_ASYNC_TEST\" was never defined.
15381 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15383 if test -z "${BUILD_EDBUS_PERFORMANCE_TEST_TRUE}" && test -z "${BUILD_EDBUS_PERFORMANCE_TEST_FALSE}"; then
15384 as_fn_error $? "conditional \"BUILD_EDBUS_PERFORMANCE_TEST\" was never defined.
15385 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15388 : "${CONFIG_STATUS=./config.status}"
15390 ac_clean_files_save=$ac_clean_files
15391 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15392 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15393 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15395 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15397 # Generated by $as_me.
15398 # Run this file to recreate the current configuration.
15399 # Compiler output produced by configure, useful for debugging
15400 # configure, is in config.log if it exists.
15403 ac_cs_recheck=false
15406 SHELL=\${CONFIG_SHELL-$SHELL}
15409 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15410 ## -------------------- ##
15411 ## M4sh Initialization. ##
15412 ## -------------------- ##
15414 # Be more Bourne compatible
15415 DUALCASE=1; export DUALCASE # for MKS sh
15416 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15419 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15420 # is contrary to our usage. Disable this feature.
15421 alias -g '${1+"$@"}'='"$@"'
15422 setopt NO_GLOB_SUBST
15424 case `(set -o) 2>/dev/null` in #(
15436 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15437 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15438 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15439 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15440 # Prefer a ksh shell builtin over an external printf program on Solaris,
15441 # but without wasting forks for bash or zsh.
15442 if test -z "$BASH_VERSION$ZSH_VERSION" \
15443 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15444 as_echo='print -r --'
15445 as_echo_n='print -rn --'
15446 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15447 as_echo='printf %s\n'
15448 as_echo_n='printf %s'
15450 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15451 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15452 as_echo_n='/usr/ucb/echo -n'
15454 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15455 as_echo_n_body='eval
15459 expr "X$arg" : "X\\(.*\\)$as_nl";
15460 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15462 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15464 export as_echo_n_body
15465 as_echo_n='sh -c $as_echo_n_body as_echo'
15467 export as_echo_body
15468 as_echo='sh -c $as_echo_body as_echo'
15471 # The user is always right.
15472 if test "${PATH_SEPARATOR+set}" != set; then
15474 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15475 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15482 # We need space, tab and new line, in precisely that order. Quoting is
15483 # there to prevent editors from complaining about space-tab.
15484 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15485 # splitting by setting IFS to empty value.)
15488 # Find who we are. Look in the path if we contain no directory separator.
15491 *[\\/]* ) as_myself=$0 ;;
15492 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15493 for as_dir in $PATH
15496 test -z "$as_dir" && as_dir=.
15497 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15503 # We did not find ourselves, most probably we were run as `sh COMMAND'
15504 # in which case we are not to be found in the path.
15505 if test "x$as_myself" = x; then
15508 if test ! -f "$as_myself"; then
15509 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15513 # Unset variables that we do not need and which cause bugs (e.g. in
15514 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15515 # suppresses any "Segmentation fault" message there. '((' could
15516 # trigger a bug in pdksh 5.2.14.
15517 for as_var in BASH_ENV ENV MAIL MAILPATH
15518 do eval test x\${$as_var+set} = xset \
15519 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15532 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15535 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15536 # ----------------------------------------
15537 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15538 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15539 # script with STATUS, using 1 if that was 0.
15542 as_status=$1; test $as_status -eq 0 && as_status=1
15544 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15545 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15547 $as_echo "$as_me: error: $2" >&2
15548 as_fn_exit $as_status
15552 # as_fn_set_status STATUS
15553 # -----------------------
15554 # Set $? to STATUS, without forking.
15555 as_fn_set_status ()
15558 } # as_fn_set_status
15560 # as_fn_exit STATUS
15561 # -----------------
15562 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15566 as_fn_set_status $1
15572 # Portably unset VAR.
15575 { eval $1=; unset $1;}
15577 as_unset=as_fn_unset
15578 # as_fn_append VAR VALUE
15579 # ----------------------
15580 # Append the text in VALUE to the end of the definition contained in VAR. Take
15581 # advantage of any shell optimizations that allow amortized linear growth over
15582 # repeated appends, instead of the typical quadratic growth present in naive
15584 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15585 eval 'as_fn_append ()
15596 # as_fn_arith ARG...
15597 # ------------------
15598 # Perform arithmetic evaluation on the ARGs, and store the result in the
15599 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15600 # must be portable across $(()) and expr.
15601 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15602 eval 'as_fn_arith ()
15609 as_val=`expr "$@" || test $? -eq 1`
15614 if expr a : '\(a\)' >/dev/null 2>&1 &&
15615 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15621 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15622 as_basename=basename
15627 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15633 as_me=`$as_basename -- "$0" ||
15634 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15635 X"$0" : 'X\(//\)$' \| \
15636 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15638 sed '/^.*\/\([^/][^/]*\)\/*$/{
15652 # Avoid depending upon Character Ranges.
15653 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15654 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15655 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15656 as_cr_digits='0123456789'
15657 as_cr_alnum=$as_cr_Letters$as_cr_digits
15659 ECHO_C= ECHO_N= ECHO_T=
15660 case `echo -n x` in #(((((
15662 case `echo 'xy\c'` in
15663 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15665 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15672 rm -f conf$$ conf$$.exe conf$$.file
15673 if test -d conf$$.dir; then
15674 rm -f conf$$.dir/conf$$.file
15677 mkdir conf$$.dir 2>/dev/null
15679 if (echo >conf$$.file) 2>/dev/null; then
15680 if ln -s conf$$.file conf$$ 2>/dev/null; then
15682 # ... but there are two gotchas:
15683 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15684 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15685 # In both cases, we have to default to `cp -p'.
15686 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15688 elif ln conf$$.file conf$$ 2>/dev/null; then
15696 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15697 rmdir conf$$.dir 2>/dev/null
15702 # Create "$as_dir" as a directory, including parents if necessary.
15707 -*) as_dir=./$as_dir;;
15709 test -d "$as_dir" || eval $as_mkdir_p || {
15713 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15714 *) as_qdir=$as_dir;;
15716 as_dirs="'$as_qdir' $as_dirs"
15717 as_dir=`$as_dirname -- "$as_dir" ||
15718 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15719 X"$as_dir" : 'X\(//\)[^/]' \| \
15720 X"$as_dir" : 'X\(//\)$' \| \
15721 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15722 $as_echo X"$as_dir" |
15723 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15727 /^X\(\/\/\)[^/].*/{
15740 test -d "$as_dir" && break
15742 test -z "$as_dirs" || eval "mkdir $as_dirs"
15743 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15747 if mkdir -p . 2>/dev/null; then
15748 as_mkdir_p='mkdir -p "$as_dir"'
15750 test -d ./-p && rmdir ./-p
15754 if test -x / >/dev/null 2>&1; then
15755 as_test_x='test -x'
15757 if ls -dL / >/dev/null 2>&1; then
15764 if test -d "$1"; then
15770 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15771 ???[sx]*):;;*)false;;esac;fi
15775 as_executable_p=$as_test_x
15777 # Sed expression to map a string onto a valid CPP name.
15778 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15780 # Sed expression to map a string onto a valid variable name.
15781 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15785 ## ----------------------------------- ##
15786 ## Main body of $CONFIG_STATUS script. ##
15787 ## ----------------------------------- ##
15789 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15791 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15792 # Save the log message, to keep $0 and so on meaningful, and to
15793 # report actual input values of CONFIG_FILES etc. instead of their
15794 # values after options handling.
15796 This file was extended by e_dbus $as_me 1.7.7, which was
15797 generated by GNU Autoconf 2.68. Invocation command line was
15799 CONFIG_FILES = $CONFIG_FILES
15800 CONFIG_HEADERS = $CONFIG_HEADERS
15801 CONFIG_LINKS = $CONFIG_LINKS
15802 CONFIG_COMMANDS = $CONFIG_COMMANDS
15805 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15810 case $ac_config_files in *"
15811 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15814 case $ac_config_headers in *"
15815 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15819 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15820 # Files that config.status was made for.
15821 config_files="$ac_config_files"
15822 config_headers="$ac_config_headers"
15823 config_commands="$ac_config_commands"
15827 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15829 \`$as_me' instantiates files and other configuration actions
15830 from templates according to the current configuration. Unless the files
15831 and actions are specified as TAGs, all are instantiated by default.
15833 Usage: $0 [OPTION]... [TAG]...
15835 -h, --help print this help, then exit
15836 -V, --version print version number and configuration settings, then exit
15837 --config print configuration, then exit
15838 -q, --quiet, --silent
15839 do not print progress messages
15840 -d, --debug don't remove temporary files
15841 --recheck update $as_me by reconfiguring in the same conditions
15842 --file=FILE[:TEMPLATE]
15843 instantiate the configuration file FILE
15844 --header=FILE[:TEMPLATE]
15845 instantiate the configuration header FILE
15847 Configuration files:
15850 Configuration headers:
15853 Configuration commands:
15856 Report bugs to <enlightenment-devel@lists.sourceforge.net>."
15859 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15860 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15862 e_dbus config.status 1.7.7
15863 configured by $0, generated by GNU Autoconf 2.68,
15864 with options \\"\$ac_cs_config\\"
15866 Copyright (C) 2010 Free Software Foundation, Inc.
15867 This config.status script is free software; the Free Software Foundation
15868 gives unlimited permission to copy, distribute and modify it."
15875 test -n "\$AWK" || AWK=awk
15878 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15879 # The default lists apply if the user does not specify any file.
15885 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15886 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15890 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15902 # Handling of the options.
15903 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15905 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15906 $as_echo "$ac_cs_version"; exit ;;
15907 --config | --confi | --conf | --con | --co | --c )
15908 $as_echo "$ac_cs_config"; exit ;;
15909 --debug | --debu | --deb | --de | --d | -d )
15911 --file | --fil | --fi | --f )
15914 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15915 '') as_fn_error $? "missing file argument" ;;
15917 as_fn_append CONFIG_FILES " '$ac_optarg'"
15918 ac_need_defaults=false;;
15919 --header | --heade | --head | --hea )
15922 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15924 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15925 ac_need_defaults=false;;
15927 # Conflict between --help and --header
15928 as_fn_error $? "ambiguous option: \`$1'
15929 Try \`$0 --help' for more information.";;
15930 --help | --hel | -h )
15931 $as_echo "$ac_cs_usage"; exit ;;
15932 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15933 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15936 # This is an error.
15937 -*) as_fn_error $? "unrecognized option: \`$1'
15938 Try \`$0 --help' for more information." ;;
15940 *) as_fn_append ac_config_targets " $1"
15941 ac_need_defaults=false ;;
15947 ac_configure_extra_args=
15949 if $ac_cs_silent; then
15951 ac_configure_extra_args="$ac_configure_extra_args --silent"
15955 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15956 if \$ac_cs_recheck; then
15957 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15959 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15960 CONFIG_SHELL='$SHELL'
15961 export CONFIG_SHELL
15966 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15970 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15971 ## Running $as_me. ##
15977 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15981 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15984 # The HP-UX ksh and POSIX shell print the target directory to stdout
15985 # if CDPATH is set.
15986 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15988 sed_quote_subst='$sed_quote_subst'
15989 double_quote_subst='$double_quote_subst'
15990 delay_variable_subst='$delay_variable_subst'
15991 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
15992 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15993 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15994 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15995 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15996 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15997 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15998 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15999 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16000 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16001 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16002 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16003 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16004 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16005 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16006 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16007 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16008 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16009 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16010 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16011 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16012 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16013 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16014 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16015 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16016 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16017 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16018 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16019 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16020 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16021 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16022 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16023 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16024 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16025 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16026 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16027 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16028 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16029 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16030 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16031 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16032 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16033 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16034 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16035 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16036 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16037 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16038 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16039 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16040 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16041 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16042 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16043 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16044 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16045 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16046 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16047 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16048 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"`'
16049 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16050 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16051 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16052 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16053 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16054 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16055 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16056 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16057 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16058 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16059 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16060 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16061 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16062 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16063 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16064 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16065 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16066 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16067 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16068 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16069 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16070 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16071 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16072 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16073 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16074 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16075 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16076 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16077 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16078 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16079 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16080 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16081 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16082 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16083 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16084 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16085 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16086 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16087 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16088 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16089 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16090 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16091 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16092 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16093 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16094 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16095 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16096 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16097 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16098 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16099 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16100 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16101 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16102 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16103 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16104 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16105 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16106 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16107 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16108 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16109 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16110 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16111 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16112 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16113 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16114 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16115 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16116 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16117 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16118 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16119 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16120 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16121 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16124 LTCFLAGS='$LTCFLAGS'
16125 compiler='$compiler_DEFAULT'
16127 # A function that is used when there is no print builtin or printf.
16128 func_fallback_echo ()
16130 eval 'cat <<_LTECHO_EOF
16135 # Quote evaled strings.
16152 deplibs_check_method \
16156 sharedlib_from_linklib_cmd \
16159 archiver_list_spec \
16165 lt_cv_sys_global_symbol_pipe \
16166 lt_cv_sys_global_symbol_to_cdecl \
16167 lt_cv_sys_global_symbol_to_c_name_address \
16168 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16169 nm_file_list_spec \
16170 lt_prog_compiler_no_builtin_flag \
16171 lt_prog_compiler_pic \
16172 lt_prog_compiler_wl \
16173 lt_prog_compiler_static \
16174 lt_cv_prog_compiler_c_o \
16183 export_dynamic_flag_spec \
16184 whole_archive_flag_spec \
16185 compiler_needs_object \
16187 allow_undefined_flag \
16188 no_undefined_flag \
16189 hardcode_libdir_flag_spec \
16190 hardcode_libdir_separator \
16194 variables_saved_for_relink \
16196 library_names_spec \
16198 install_override_mode \
16202 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16203 *[\\\\\\\`\\"\\\$]*)
16204 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16207 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16212 # Double-quote double-evaled strings.
16213 for var in reload_cmds \
16214 old_postinstall_cmds \
16215 old_postuninstall_cmds \
16217 extract_expsyms_cmds \
16218 old_archive_from_new_cmds \
16219 old_archive_from_expsyms_cmds \
16221 archive_expsym_cmds \
16223 module_expsym_cmds \
16224 export_symbols_cmds \
16228 postuninstall_cmds \
16230 sys_lib_search_path_spec \
16231 sys_lib_dlsearch_path_spec; do
16232 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16233 *[\\\\\\\`\\"\\\$]*)
16234 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16237 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16242 ac_aux_dir='$ac_aux_dir'
16243 xsi_shell='$xsi_shell'
16244 lt_shell_append='$lt_shell_append'
16246 # See if we are running on zsh, and set the options which allow our
16247 # commands through without removal of \ escapes INIT.
16248 if test -n "\${ZSH_VERSION+set}" ; then
16249 setopt NO_GLOB_SUBST
16255 TIMESTAMP='$TIMESTAMP'
16264 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16266 # Handling of arguments.
16267 for ac_config_target in $ac_config_targets
16269 case $ac_config_target in
16270 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16271 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16272 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16273 "e_dbus.spec") CONFIG_FILES="$CONFIG_FILES e_dbus.spec" ;;
16274 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16275 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16276 "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
16277 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16278 "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
16279 "src/lib/bluez/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/bluez/Makefile" ;;
16280 "src/lib/connman0_7x/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/connman0_7x/Makefile" ;;
16281 "src/lib/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/dbus/Makefile" ;;
16282 "src/lib/hal/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/hal/Makefile" ;;
16283 "src/lib/notification/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/notification/Makefile" ;;
16284 "src/lib/ofono/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ofono/Makefile" ;;
16285 "src/lib/ukit/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ukit/Makefile" ;;
16286 "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
16287 "ebluez.pc") CONFIG_FILES="$CONFIG_FILES ebluez.pc" ;;
16288 "econnman-0.7x.pc") CONFIG_FILES="$CONFIG_FILES econnman-0.7x.pc" ;;
16289 "edbus.pc") CONFIG_FILES="$CONFIG_FILES edbus.pc" ;;
16290 "ehal.pc") CONFIG_FILES="$CONFIG_FILES ehal.pc" ;;
16291 "enotify.pc") CONFIG_FILES="$CONFIG_FILES enotify.pc" ;;
16292 "eofono.pc") CONFIG_FILES="$CONFIG_FILES eofono.pc" ;;
16293 "eukit.pc") CONFIG_FILES="$CONFIG_FILES eukit.pc" ;;
16295 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16300 # If the user did not use the arguments to specify the items to instantiate,
16301 # then the envvar interface is used. Set only those that are not.
16302 # We use the long form for the default assignment because of an extremely
16303 # bizarre bug on SunOS 4.1.3.
16304 if $ac_need_defaults; then
16305 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16306 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16307 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16310 # Have a temporary directory for convenience. Make it in the build tree
16311 # simply because there is no reason against having it here, and in addition,
16312 # creating and moving files from /tmp can sometimes cause problems.
16313 # Hook for its removal unless debugging.
16314 # Note that there is a small window in which the directory will not be cleaned:
16315 # after its creation but before its name has been assigned to `$tmp'.
16319 trap 'exit_status=$?
16320 : "${ac_tmp:=$tmp}"
16321 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16323 trap 'as_fn_exit 1' 1 2 13 15
16325 # Create a (secure) tmp directory for tmp files.
16328 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16332 tmp=./conf$$-$RANDOM
16333 (umask 077 && mkdir "$tmp")
16334 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16337 # Set up the scripts for CONFIG_FILES section.
16338 # No need to generate them if there are no CONFIG_FILES.
16339 # This happens for instance with `./config.status config.h'.
16340 if test -n "$CONFIG_FILES"; then
16343 ac_cr=`echo X | tr X '\015'`
16344 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16345 # But we know of no other shell where ac_cr would be empty at this
16346 # point, so we can use a bashism as a fallback.
16347 if test "x$ac_cr" = x; then
16348 eval ac_cr=\$\'\\r\'
16350 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16351 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16354 ac_cs_awk_cr=$ac_cr
16357 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16362 echo "cat >conf$$subs.awk <<_ACEOF" &&
16363 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16365 } >conf$$subs.sh ||
16366 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16367 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16369 for ac_last_try in false false false false false :; do
16370 . ./conf$$subs.sh ||
16371 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16373 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16374 if test $ac_delim_n = $ac_delim_num; then
16376 elif $ac_last_try; then
16377 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16379 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16382 rm -f conf$$subs.sh
16384 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16385 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16389 s/^/S["/; s/!.*/"]=/
16399 s/\(.\{148\}\)..*/\1/
16401 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16406 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16413 s/\(.\{148\}\)..*/\1/
16415 s/["\\]/\\&/g; s/^/"/; s/$/"/
16419 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16424 ' <conf$$subs.awk | sed '
16429 ' >>$CONFIG_STATUS || ac_write_fail=1
16430 rm -f conf$$subs.awk
16431 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16433 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16434 for (key in S) S_is_set[key] = 1
16440 nfields = split(line, field, "@")
16442 len = length(field[1])
16443 for (i = 2; i < nfields; i++) {
16445 keylen = length(key)
16446 if (S_is_set[key]) {
16448 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16449 len += length(value) + length(field[++i])
16460 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16461 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16462 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16465 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16466 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16469 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16470 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16471 # trailing colons and then remove the whole line if VPATH becomes empty
16472 # (actually we leave an empty line to preserve line numbers).
16473 if test "x$srcdir" = x.; then
16474 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16492 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16493 fi # test -n "$CONFIG_FILES"
16495 # Set up the scripts for CONFIG_HEADERS section.
16496 # No need to generate them if there are no CONFIG_HEADERS.
16497 # This happens for instance with `./config.status Makefile'.
16498 if test -n "$CONFIG_HEADERS"; then
16499 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16503 # Transform confdefs.h into an awk script `defines.awk', embedded as
16504 # here-document in config.status, that substitutes the proper values into
16505 # config.h.in to produce config.h.
16507 # Create a delimiter string that does not exist in confdefs.h, to ease
16508 # handling of long lines.
16510 for ac_last_try in false false :; do
16511 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16512 if test -z "$ac_tt"; then
16514 elif $ac_last_try; then
16515 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16517 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16521 # For the awk script, D is an array of macro values keyed by name,
16522 # likewise P contains macro parameters if any. Preserve backslash
16523 # newline sequences.
16525 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16527 s/.\{148\}/&'"$ac_delim"'/g
16530 s/^[ ]*#[ ]*define[ ][ ]*/ /
16537 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16539 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16543 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16544 D["\1"]=" \3\\\\\\n"\\/p
16546 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16551 s/.\{148\}/&'"$ac_delim"'/g
16556 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16559 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16561 ' <confdefs.h | sed '
16562 s/'"$ac_delim"'/"\\\
16563 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16565 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16566 for (key in D) D_is_set[key] = 1
16569 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16571 split(line, arg, " ")
16572 if (arg[1] == "#") {
16576 defundef = substr(arg[1], 2)
16579 split(mac1, mac2, "(") #)
16581 prefix = substr(line, 1, index(line, defundef) - 1)
16582 if (D_is_set[macro]) {
16583 # Preserve the white space surrounding the "#".
16584 print prefix "define", macro P[macro] D[macro]
16587 # Replace #undef with comments. This is necessary, for example,
16588 # in the case of _POSIX_SOURCE, which is predefined and required
16589 # on some systems where configure will not decide to define it.
16590 if (defundef == "undef") {
16591 print "/*", prefix defundef, macro, "*/"
16599 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16600 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16601 fi # test -n "$CONFIG_HEADERS"
16604 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16609 :[FHLC]) ac_mode=$ac_tag; continue;;
16611 case $ac_mode$ac_tag in
16613 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16614 :[FH]-) ac_tag=-:-;;
16615 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16632 -) ac_f="$ac_tmp/stdin";;
16633 *) # Look for the file first in the build tree, then in the source tree
16634 # (if the path is not absolute). The absolute path cannot be DOS-style,
16635 # because $ac_f cannot contain `:'.
16639 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16641 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16643 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16644 as_fn_append ac_file_inputs " '$ac_f'"
16647 # Let's still pretend it is `configure' which instantiates (i.e., don't
16648 # use $as_me), people would be surprised to read:
16649 # /* config.h. Generated by config.status. */
16650 configure_input='Generated from '`
16651 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16653 if test x"$ac_file" != x-; then
16654 configure_input="$ac_file. $configure_input"
16655 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16656 $as_echo "$as_me: creating $ac_file" >&6;}
16658 # Neutralize special characters interpreted by sed in replacement strings.
16659 case $configure_input in #(
16660 *\&* | *\|* | *\\* )
16661 ac_sed_conf_input=`$as_echo "$configure_input" |
16662 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16663 *) ac_sed_conf_input=$configure_input;;
16667 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16668 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16673 ac_dir=`$as_dirname -- "$ac_file" ||
16674 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16675 X"$ac_file" : 'X\(//\)[^/]' \| \
16676 X"$ac_file" : 'X\(//\)$' \| \
16677 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16678 $as_echo X"$ac_file" |
16679 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16683 /^X\(\/\/\)[^/].*/{
16696 as_dir="$ac_dir"; as_fn_mkdir_p
16700 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16702 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16703 # A ".." for each directory in $ac_dir_suffix.
16704 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16705 case $ac_top_builddir_sub in
16706 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16707 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16710 ac_abs_top_builddir=$ac_pwd
16711 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16712 # for backward compatibility:
16713 ac_top_builddir=$ac_top_build_prefix
16716 .) # We are building in place.
16718 ac_top_srcdir=$ac_top_builddir_sub
16719 ac_abs_top_srcdir=$ac_pwd ;;
16720 [\\/]* | ?:[\\/]* ) # Absolute name.
16721 ac_srcdir=$srcdir$ac_dir_suffix;
16722 ac_top_srcdir=$srcdir
16723 ac_abs_top_srcdir=$srcdir ;;
16724 *) # Relative name.
16725 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16726 ac_top_srcdir=$ac_top_build_prefix$srcdir
16727 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16729 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16739 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16740 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16742 ac_MKDIR_P=$MKDIR_P
16744 [\\/$]* | ?:[\\/]* ) ;;
16745 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16749 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16750 # If the template does not know about datarootdir, expand it.
16751 # FIXME: This hack should be removed a few years after 2.60.
16752 ac_datarootdir_hack=; ac_datarootdir_seen=
16763 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16764 *datarootdir*) ac_datarootdir_seen=yes;;
16765 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16767 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16769 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16770 ac_datarootdir_hack='
16771 s&@datadir@&$datadir&g
16772 s&@docdir@&$docdir&g
16773 s&@infodir@&$infodir&g
16774 s&@localedir@&$localedir&g
16775 s&@mandir@&$mandir&g
16776 s&\\\${datarootdir}&$datarootdir&g' ;;
16780 # Neutralize VPATH when `$srcdir' = `.'.
16781 # Shell code in configure.ac might set extrasub.
16782 # FIXME: do we really want to maintain this feature?
16783 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16784 ac_sed_extra="$ac_vpsub
16787 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16789 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16790 s|@configure_input@|$ac_sed_conf_input|;t t
16791 s&@top_builddir@&$ac_top_builddir_sub&;t t
16792 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16793 s&@srcdir@&$ac_srcdir&;t t
16794 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16795 s&@top_srcdir@&$ac_top_srcdir&;t t
16796 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16797 s&@builddir@&$ac_builddir&;t t
16798 s&@abs_builddir@&$ac_abs_builddir&;t t
16799 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16800 s&@INSTALL@&$ac_INSTALL&;t t
16801 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16802 $ac_datarootdir_hack
16804 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16805 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16807 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16808 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16809 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16810 "$ac_tmp/out"`; test -z "$ac_out"; } &&
16811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16812 which seems to be undefined. Please make sure it is defined" >&5
16813 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16814 which seems to be undefined. Please make sure it is defined" >&2;}
16816 rm -f "$ac_tmp/stdin"
16818 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16819 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16821 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16827 if test x"$ac_file" != x-; then
16829 $as_echo "/* $configure_input */" \
16830 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16831 } >"$ac_tmp/config.h" \
16832 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16833 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16834 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16835 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16838 mv "$ac_tmp/config.h" "$ac_file" \
16839 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16842 $as_echo "/* $configure_input */" \
16843 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16844 || as_fn_error $? "could not create -" "$LINENO" 5
16846 # Compute "$ac_file"'s index in $config_headers.
16849 for _am_header in $config_headers :; do
16850 case $_am_header in
16851 $_am_arg | $_am_arg:* )
16854 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16857 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16858 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16859 X"$_am_arg" : 'X\(//\)[^/]' \| \
16860 X"$_am_arg" : 'X\(//\)$' \| \
16861 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16862 $as_echo X"$_am_arg" |
16863 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16867 /^X\(\/\/\)[^/].*/{
16879 s/.*/./; q'`/stamp-h$_am_stamp_count
16882 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16883 $as_echo "$as_me: executing $ac_file commands" >&6;}
16888 case $ac_file$ac_mode in
16889 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16890 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16891 # are listed without --file. Let's play safe and only enable the eval
16892 # if we detect the quoting.
16893 case $CONFIG_FILES in
16894 *\'*) eval set x "$CONFIG_FILES" ;;
16895 *) set x $CONFIG_FILES ;;
16900 # Strip MF so we end up with the name of the file.
16901 mf=`echo "$mf" | sed -e 's/:.*$//'`
16902 # Check whether this is an Automake generated Makefile or not.
16903 # We used to match only the files named `Makefile.in', but
16904 # some people rename them; so instead we look at the file content.
16905 # Grep'ing the first line is not enough: some people post-process
16906 # each Makefile.in and add a new line on top of each file to say so.
16907 # Grep'ing the whole file is not good either: AIX grep has a line
16908 # limit of 2048, but all sed's we know have understand at least 4000.
16909 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16910 dirpart=`$as_dirname -- "$mf" ||
16911 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16912 X"$mf" : 'X\(//\)[^/]' \| \
16913 X"$mf" : 'X\(//\)$' \| \
16914 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16916 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16920 /^X\(\/\/\)[^/].*/{
16936 # Extract the definition of DEPDIR, am__include, and am__quote
16937 # from the Makefile without running `make'.
16938 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16939 test -z "$DEPDIR" && continue
16940 am__include=`sed -n 's/^am__include = //p' < "$mf"`
16941 test -z "am__include" && continue
16942 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16943 # When using ansi2knr, U may be empty or an underscore; expand it
16944 U=`sed -n 's/^U = //p' < "$mf"`
16945 # Find all dependency output files, they are included files with
16946 # $(DEPDIR) in their names. We invoke sed twice because it is the
16947 # simplest approach to changing $(DEPDIR) to its actual value in the
16949 for file in `sed -n "
16950 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16951 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16952 # Make sure the directory exists.
16953 test -f "$dirpart/$file" && continue
16954 fdir=`$as_dirname -- "$file" ||
16955 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16956 X"$file" : 'X\(//\)[^/]' \| \
16957 X"$file" : 'X\(//\)$' \| \
16958 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16959 $as_echo X"$file" |
16960 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16964 /^X\(\/\/\)[^/].*/{
16977 as_dir=$dirpart/$fdir; as_fn_mkdir_p
16978 # echo "creating $dirpart/$file"
16979 echo '# dummy' > "$dirpart/$file"
16986 # See if we are running on zsh, and set the options which allow our
16987 # commands through without removal of \ escapes.
16988 if test -n "${ZSH_VERSION+set}" ; then
16989 setopt NO_GLOB_SUBST
16992 cfgfile="${ofile}T"
16993 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16996 cat <<_LT_EOF >> "$cfgfile"
16999 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17000 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17001 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17002 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17004 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17005 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17007 # Written by Gordon Matzigkeit, 1996
17009 # This file is part of GNU Libtool.
17011 # GNU Libtool is free software; you can redistribute it and/or
17012 # modify it under the terms of the GNU General Public License as
17013 # published by the Free Software Foundation; either version 2 of
17014 # the License, or (at your option) any later version.
17016 # As a special exception to the GNU General Public License,
17017 # if you distribute this file as part of a program or library that
17018 # is built using GNU Libtool, you may include this file under the
17019 # same distribution terms that you use for the rest of that program.
17021 # GNU Libtool is distributed in the hope that it will be useful,
17022 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17023 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17024 # GNU General Public License for more details.
17026 # You should have received a copy of the GNU General Public License
17027 # along with GNU Libtool; see the file COPYING. If not, a copy
17028 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17029 # obtained by writing to the Free Software Foundation, Inc.,
17030 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17033 # The names of the tagged configurations supported by this script.
17036 # ### BEGIN LIBTOOL CONFIG
17038 # Assembler program.
17041 # DLL creation program.
17042 DLLTOOL=$lt_DLLTOOL
17044 # Object dumper program.
17045 OBJDUMP=$lt_OBJDUMP
17047 # Which release of libtool.m4 was used?
17048 macro_version=$macro_version
17049 macro_revision=$macro_revision
17051 # Whether or not to build shared libraries.
17052 build_libtool_libs=$enable_shared
17054 # Whether or not to build static libraries.
17055 build_old_libs=$enable_static
17057 # What type of objects to build.
17060 # Whether or not to optimize for fast installation.
17061 fast_install=$enable_fast_install
17063 # Shell to use when invoking shell scripts.
17066 # An echo program that protects backslashes.
17069 # The PATH separator for the build system.
17070 PATH_SEPARATOR=$lt_PATH_SEPARATOR
17073 host_alias=$host_alias
17077 # The build system.
17078 build_alias=$build_alias
17082 # A sed program that does not truncate output.
17085 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17086 Xsed="\$SED -e 1s/^X//"
17088 # A grep program that handles long lines.
17094 # A literal string matcher.
17097 # A BSD- or MS-compatible name lister.
17100 # Whether we need soft or hard links.
17103 # What is the maximum length of a command?
17104 max_cmd_len=$max_cmd_len
17106 # Object file suffix (normally "o").
17109 # Executable file suffix (normally "").
17112 # whether the shell understands "unset".
17115 # turn spaces into newlines.
17118 # turn newlines into spaces.
17121 # convert \$build file names to \$host format.
17122 to_host_file_cmd=$lt_cv_to_host_file_cmd
17124 # convert \$build files to toolchain format.
17125 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17127 # Method to check whether dependent libraries are shared objects.
17128 deplibs_check_method=$lt_deplibs_check_method
17130 # Command to use when deplibs_check_method = "file_magic".
17131 file_magic_cmd=$lt_file_magic_cmd
17133 # How to find potential files when deplibs_check_method = "file_magic".
17134 file_magic_glob=$lt_file_magic_glob
17136 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17137 want_nocaseglob=$lt_want_nocaseglob
17139 # Command to associate shared and link libraries.
17140 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17145 # Flags to create an archive.
17146 AR_FLAGS=$lt_AR_FLAGS
17148 # How to feed a file listing to the archiver.
17149 archiver_list_spec=$lt_archiver_list_spec
17151 # A symbol stripping program.
17154 # Commands used to install an old-style archive.
17156 old_postinstall_cmds=$lt_old_postinstall_cmds
17157 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17159 # Whether to use a lock for old archive extraction.
17160 lock_old_archive_extraction=$lock_old_archive_extraction
17165 # LTCC compiler flags.
17166 LTCFLAGS=$lt_CFLAGS
17168 # Take the output of nm and produce a listing of raw symbols and C names.
17169 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17171 # Transform the output of nm in a proper C declaration.
17172 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17174 # Transform the output of nm in a C name address pair.
17175 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17177 # Transform the output of nm in a C name address pair when lib prefix is needed.
17178 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17180 # Specify filename containing input files for \$NM.
17181 nm_file_list_spec=$lt_nm_file_list_spec
17183 # The root where to search for dependent libraries,and in which our libraries should be installed.
17184 lt_sysroot=$lt_sysroot
17186 # The name of the directory that contains temporary libtool files.
17189 # Used to examine libraries when file_magic_cmd begins with "file".
17190 MAGIC_CMD=$MAGIC_CMD
17192 # Must we lock files when doing compilation?
17193 need_locks=$lt_need_locks
17196 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17198 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17199 DSYMUTIL=$lt_DSYMUTIL
17201 # Tool to change global to local symbols on Mac OS X.
17204 # Tool to manipulate fat objects and archives on Mac OS X.
17207 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17210 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17211 OTOOL64=$lt_OTOOL64
17213 # Old archive suffix (normally "a").
17216 # Shared library suffix (normally ".so").
17217 shrext_cmds=$lt_shrext_cmds
17219 # The commands to extract the exported symbol list from a shared archive.
17220 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17222 # Variables whose values should be saved in libtool wrapper scripts and
17223 # restored at link time.
17224 variables_saved_for_relink=$lt_variables_saved_for_relink
17226 # Do we need the "lib" prefix for modules?
17227 need_lib_prefix=$need_lib_prefix
17229 # Do we need a version for libraries?
17230 need_version=$need_version
17232 # Library versioning type.
17233 version_type=$version_type
17235 # Shared library runtime path variable.
17236 runpath_var=$runpath_var
17238 # Shared library path variable.
17239 shlibpath_var=$shlibpath_var
17241 # Is shlibpath searched before the hard-coded library search path?
17242 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17244 # Format of library name prefix.
17245 libname_spec=$lt_libname_spec
17247 # List of archive names. First name is the real one, the rest are links.
17248 # The last name is the one that the linker finds with -lNAME
17249 library_names_spec=$lt_library_names_spec
17251 # The coded name of the library, if different from the real name.
17252 soname_spec=$lt_soname_spec
17254 # Permission mode override for installation of shared libraries.
17255 install_override_mode=$lt_install_override_mode
17257 # Command to use after installation of a shared archive.
17258 postinstall_cmds=$lt_postinstall_cmds
17260 # Command to use after uninstallation of a shared archive.
17261 postuninstall_cmds=$lt_postuninstall_cmds
17263 # Commands used to finish a libtool library installation in a directory.
17264 finish_cmds=$lt_finish_cmds
17266 # As "finish_cmds", except a single script fragment to be evaled but
17268 finish_eval=$lt_finish_eval
17270 # Whether we should hardcode library paths into libraries.
17271 hardcode_into_libs=$hardcode_into_libs
17273 # Compile-time system search path for libraries.
17274 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17276 # Run-time system search path for libraries.
17277 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17279 # Whether dlopen is supported.
17280 dlopen_support=$enable_dlopen
17282 # Whether dlopen of programs is supported.
17283 dlopen_self=$enable_dlopen_self
17285 # Whether dlopen of statically linked programs is supported.
17286 dlopen_self_static=$enable_dlopen_self_static
17288 # Commands to strip libraries.
17289 old_striplib=$lt_old_striplib
17290 striplib=$lt_striplib
17293 # The linker used to build libraries.
17296 # How to create reloadable object files.
17297 reload_flag=$lt_reload_flag
17298 reload_cmds=$lt_reload_cmds
17300 # Commands used to build an old-style archive.
17301 old_archive_cmds=$lt_old_archive_cmds
17303 # A language specific compiler.
17306 # Is the compiler the GNU compiler?
17309 # Compiler flag to turn off builtin functions.
17310 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17312 # Additional compiler flags for building library objects.
17313 pic_flag=$lt_lt_prog_compiler_pic
17315 # How to pass a linker flag through the compiler.
17316 wl=$lt_lt_prog_compiler_wl
17318 # Compiler flag to prevent dynamic linking.
17319 link_static_flag=$lt_lt_prog_compiler_static
17321 # Does compiler simultaneously support -c and -o options?
17322 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17324 # Whether or not to add -lc for building shared libraries.
17325 build_libtool_need_lc=$archive_cmds_need_lc
17327 # Whether or not to disallow shared libs when runtime libs are static.
17328 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17330 # Compiler flag to allow reflexive dlopens.
17331 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17333 # Compiler flag to generate shared objects directly from archives.
17334 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17336 # Whether the compiler copes with passing no objects directly.
17337 compiler_needs_object=$lt_compiler_needs_object
17339 # Create an old-style archive from a shared archive.
17340 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17342 # Create a temporary old-style archive to link instead of a shared archive.
17343 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17345 # Commands used to build a shared archive.
17346 archive_cmds=$lt_archive_cmds
17347 archive_expsym_cmds=$lt_archive_expsym_cmds
17349 # Commands used to build a loadable module if different from building
17350 # a shared archive.
17351 module_cmds=$lt_module_cmds
17352 module_expsym_cmds=$lt_module_expsym_cmds
17354 # Whether we are building with GNU ld or not.
17355 with_gnu_ld=$lt_with_gnu_ld
17357 # Flag that allows shared libraries with undefined symbols to be built.
17358 allow_undefined_flag=$lt_allow_undefined_flag
17360 # Flag that enforces no undefined symbols.
17361 no_undefined_flag=$lt_no_undefined_flag
17363 # Flag to hardcode \$libdir into a binary during linking.
17364 # This must work even if \$libdir does not exist
17365 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17367 # Whether we need a single "-rpath" flag with a separated argument.
17368 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17370 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17371 # DIR into the resulting binary.
17372 hardcode_direct=$hardcode_direct
17374 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17375 # DIR into the resulting binary and the resulting library dependency is
17376 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17377 # library is relocated.
17378 hardcode_direct_absolute=$hardcode_direct_absolute
17380 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17381 # into the resulting binary.
17382 hardcode_minus_L=$hardcode_minus_L
17384 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17385 # into the resulting binary.
17386 hardcode_shlibpath_var=$hardcode_shlibpath_var
17388 # Set to "yes" if building a shared library automatically hardcodes DIR
17389 # into the library and all subsequent libraries and executables linked
17391 hardcode_automatic=$hardcode_automatic
17393 # Set to yes if linker adds runtime paths of dependent libraries
17394 # to runtime path list.
17395 inherit_rpath=$inherit_rpath
17397 # Whether libtool must link a program against all its dependency libraries.
17398 link_all_deplibs=$link_all_deplibs
17400 # Set to "yes" if exported symbols are required.
17401 always_export_symbols=$always_export_symbols
17403 # The commands to list exported symbols.
17404 export_symbols_cmds=$lt_export_symbols_cmds
17406 # Symbols that should not be listed in the preloaded symbols.
17407 exclude_expsyms=$lt_exclude_expsyms
17409 # Symbols that must always be exported.
17410 include_expsyms=$lt_include_expsyms
17412 # Commands necessary for linking programs (against libraries) with templates.
17413 prelink_cmds=$lt_prelink_cmds
17415 # Commands necessary for finishing linking programs.
17416 postlink_cmds=$lt_postlink_cmds
17418 # Specify filename containing input files.
17419 file_list_spec=$lt_file_list_spec
17421 # How to hardcode a shared library path into an executable.
17422 hardcode_action=$hardcode_action
17424 # ### END LIBTOOL CONFIG
17430 cat <<\_LT_EOF >> "$cfgfile"
17431 # AIX sometimes has problems with the GCC collect2 program. For some
17432 # reason, if we set the COLLECT_NAMES environment variable, the problems
17433 # vanish in a puff of smoke.
17434 if test "X${COLLECT_NAMES+set}" != Xset; then
17436 export COLLECT_NAMES
17443 ltmain="$ac_aux_dir/ltmain.sh"
17446 # We use sed instead of cat because bash on DJGPP gets confused if
17447 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17448 # text mode, it properly converts lines to CR/LF. This bash problem
17449 # is reportedly fixed, but why not run on old versions too?
17450 sed '$q' "$ltmain" >> "$cfgfile" \
17451 || (rm -f "$cfgfile"; exit 1)
17453 if test x"$xsi_shell" = xyes; then
17454 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17458 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17459 \ * ) func_dirname_result="${3}" ;;\
17461 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17462 && mv -f "$cfgfile.tmp" "$cfgfile" \
17463 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17464 test 0 -eq $? || _lt_function_replace_fail=:
17467 sed -e '/^func_basename ()$/,/^} # func_basename /c\
17470 \ func_basename_result="${1##*/}"\
17471 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17472 && mv -f "$cfgfile.tmp" "$cfgfile" \
17473 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17474 test 0 -eq $? || _lt_function_replace_fail=:
17477 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17478 func_dirname_and_basename ()\
17481 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17482 \ * ) func_dirname_result="${3}" ;;\
17484 \ func_basename_result="${1##*/}"\
17485 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17486 && mv -f "$cfgfile.tmp" "$cfgfile" \
17487 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17488 test 0 -eq $? || _lt_function_replace_fail=:
17491 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17494 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17495 \ # positional parameters, so assign one to ordinary parameter first.\
17496 \ func_stripname_result=${3}\
17497 \ func_stripname_result=${func_stripname_result#"${1}"}\
17498 \ func_stripname_result=${func_stripname_result%"${2}"}\
17499 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17500 && mv -f "$cfgfile.tmp" "$cfgfile" \
17501 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17502 test 0 -eq $? || _lt_function_replace_fail=:
17505 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17506 func_split_long_opt ()\
17508 \ func_split_long_opt_name=${1%%=*}\
17509 \ func_split_long_opt_arg=${1#*=}\
17510 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17511 && mv -f "$cfgfile.tmp" "$cfgfile" \
17512 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17513 test 0 -eq $? || _lt_function_replace_fail=:
17516 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17517 func_split_short_opt ()\
17519 \ func_split_short_opt_arg=${1#??}\
17520 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17521 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17522 && mv -f "$cfgfile.tmp" "$cfgfile" \
17523 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17524 test 0 -eq $? || _lt_function_replace_fail=:
17527 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17531 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17532 \ *) func_lo2o_result=${1} ;;\
17534 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17535 && mv -f "$cfgfile.tmp" "$cfgfile" \
17536 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17537 test 0 -eq $? || _lt_function_replace_fail=:
17540 sed -e '/^func_xform ()$/,/^} # func_xform /c\
17543 func_xform_result=${1%.*}.lo\
17544 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17545 && mv -f "$cfgfile.tmp" "$cfgfile" \
17546 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17547 test 0 -eq $? || _lt_function_replace_fail=:
17550 sed -e '/^func_arith ()$/,/^} # func_arith /c\
17553 func_arith_result=$(( $* ))\
17554 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17555 && mv -f "$cfgfile.tmp" "$cfgfile" \
17556 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17557 test 0 -eq $? || _lt_function_replace_fail=:
17560 sed -e '/^func_len ()$/,/^} # func_len /c\
17563 func_len_result=${#1}\
17564 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17565 && mv -f "$cfgfile.tmp" "$cfgfile" \
17566 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17567 test 0 -eq $? || _lt_function_replace_fail=:
17571 if test x"$lt_shell_append" = xyes; then
17572 sed -e '/^func_append ()$/,/^} # func_append /c\
17575 eval "${1}+=\\${2}"\
17576 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17577 && mv -f "$cfgfile.tmp" "$cfgfile" \
17578 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17579 test 0 -eq $? || _lt_function_replace_fail=:
17582 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17583 func_append_quoted ()\
17585 \ func_quote_for_eval "${2}"\
17586 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17587 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17588 && mv -f "$cfgfile.tmp" "$cfgfile" \
17589 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17590 test 0 -eq $? || _lt_function_replace_fail=:
17593 # Save a `func_append' function call where possible by direct use of '+='
17594 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $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=:
17599 # Save a `func_append' function call even when '+=' is not available
17600 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17601 && mv -f "$cfgfile.tmp" "$cfgfile" \
17602 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17603 test 0 -eq $? || _lt_function_replace_fail=:
17606 if test x"$_lt_function_replace_fail" = x":"; then
17607 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17608 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17612 mv -f "$cfgfile" "$ofile" ||
17613 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17624 ac_clean_files=$ac_clean_files_save
17626 test $ac_write_fail = 0 ||
17627 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17630 # configure is writing to config.log, and then calls config.status.
17631 # config.status does its own redirection, appending to config.log.
17632 # Unfortunately, on DOS this fails, as config.log is still kept open
17633 # by configure, so config.status won't be able to write to it; its
17634 # output is simply discarded. So we exec the FD to /dev/null,
17635 # effectively closing config.log, so it can be properly (re)opened and
17636 # appended to by config.status. When coming back to configure, we
17637 # need to make the FD available again.
17638 if test "$no_create" != yes; then
17640 ac_config_status_args=
17641 test "$silent" = yes &&
17642 ac_config_status_args="$ac_config_status_args --quiet"
17644 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17646 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17647 # would make configure fail if this is the last instruction.
17648 $ac_cs_success || as_fn_exit 1
17650 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17652 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17657 #####################################################################
17663 echo "------------------------------------------------------------------------"
17664 echo "$PACKAGE $VERSION"
17665 echo "------------------------------------------------------------------------"
17667 echo "Configuration Options Summary:"
17671 echo " EBluez.............: $enable_ebluez"
17672 echo " EConnman (0.7x)....: $enable_econnman0_7x"
17673 echo " EHal...............: $enable_ehal"
17674 echo " ENotify............: $enable_enotify"
17675 echo " EOfono.............: $enable_eofono"
17676 echo " EUkit..............: $enable_eukit"
17680 echo " EDbus test.........: $have_edbus_test"
17681 echo " EDbus client test..: $have_edbus_test_client"
17682 echo " EDbus async test...: $have_edbus_async_test"
17683 echo " EDbus performance..: $have_edbus_performance_test"
17684 echo " EBluez test........: $have_edbus_bluez_test"
17685 echo " EConnman (0.7x)test: $have_edbus_connman0_7x_test"
17686 echo " ENotify Daemon test: $have_edbus_notification_daemon_test"
17687 echo " ENotify send.......: $have_edbus_notify_send"
17688 echo " ENotify test.......: $have_edbus_notify_test"
17689 echo " EOfono test........: $have_edbus_ofono_test"
17690 echo " EUkit test.........: $have_edbus_ukit_test"
17692 echo "Documentation..........: ${build_doc}"
17693 if test "x${build_doc}" = "xyes" ; then
17694 echo " Installation.......: make install-doc"
17697 echo "Compilation............: make (or gmake)"
17698 echo " CPPFLAGS.............: $CPPFLAGS"
17699 echo " CFLAGS...............: $CFLAGS"
17700 echo " LDFLAGS..............: $LDFLAGS"
17702 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
17703 echo " prefix...............: $prefix"