2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for e_dbus 1.7.4.
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.4'
574 PACKAGE_STRING='e_dbus 1.7.4'
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
625 requirement_econnman0_7x
628 lt_enable_auto_import
630 EDBUS_ASYNC_TEST_LIBS
631 EDBUS_ASYNC_TEST_CFLAGS
632 EDBUS_PERFORMANCE_TEST_LIBS
633 EDBUS_PERFORMANCE_TEST_CFLAGS
635 EDBUS_UKIT_TEST_CFLAGS
636 EDBUS_OFONO_TEST_LIBS
637 EDBUS_OFONO_TEST_CFLAGS
638 EDBUS_NOTIFY_TEST_LIBS
639 EDBUS_NOTIFY_TEST_CFLAGS
640 EDBUS_NOTIFY_SEND_LIBS
641 EDBUS_NOTIFY_SEND_CFLAGS
642 EDBUS_NOTIFICATION_DAEMON_TEST_LIBS
643 EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS
644 EDBUS_CONNMAN0_7X_TEST_LIBS
645 EDBUS_CONNMAN0_7X_TEST_CFLAGS
646 EDBUS_BLUEZ_TEST_LIBS
647 EDBUS_BLUEZ_TEST_CFLAGS
648 EDBUS_TEST_CLIENT_LIBS
649 EDBUS_TEST_CLIENT_CFLAGS
652 BUILD_EDBUS_ASYNC_TEST_FALSE
653 BUILD_EDBUS_ASYNC_TEST_TRUE
655 BUILD_EDBUS_PERFORMANCE_TEST_FALSE
656 BUILD_EDBUS_PERFORMANCE_TEST_TRUE
657 EDBUS_PERFORMANCE_TEST_PRG
658 BUILD_EDBUS_UKIT_TEST_FALSE
659 BUILD_EDBUS_UKIT_TEST_TRUE
661 BUILD_EDBUS_OFONO_TEST_FALSE
662 BUILD_EDBUS_OFONO_TEST_TRUE
664 BUILD_EDBUS_NOTIFY_TEST_FALSE
665 BUILD_EDBUS_NOTIFY_TEST_TRUE
666 EDBUS_NOTIFY_TEST_PRG
667 BUILD_EDBUS_NOTIFY_SEND_FALSE
668 BUILD_EDBUS_NOTIFY_SEND_TRUE
669 EDBUS_NOTIFY_SEND_PRG
670 BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_FALSE
671 BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_TRUE
672 EDBUS_NOTIFICATION_DAEMON_TEST_PRG
673 BUILD_EDBUS_CONNMAN0_7X_TEST_FALSE
674 BUILD_EDBUS_CONNMAN0_7X_TEST_TRUE
675 EDBUS_CONNMAN0_7X_TEST_PRG
676 BUILD_EDBUS_BLUEZ_TEST_FALSE
677 BUILD_EDBUS_BLUEZ_TEST_TRUE
679 BUILD_EDBUS_TEST_CLIENT_FALSE
680 BUILD_EDBUS_TEST_CLIENT_TRUE
681 EDBUS_TEST_CLIENT_PRG
682 BUILD_EDBUS_TEST_FALSE
683 BUILD_EDBUS_TEST_TRUE
693 BUILD_ECONNMAN0_7X_FALSE
694 BUILD_ECONNMAN0_7X_TRUE
710 pkgconfig_requires_private
777 INSTALL_STRIP_PROGRAM
819 program_transform_name
832 enable_option_checking
838 enable_dependency_tracking
851 enable_edbus_test_client
852 enable_edbus_bluez_test
853 enable_edbus_connman0_7x_test
854 enable_edbus_notification_daemon_test
855 enable_edbus_notify_send
856 enable_edbus_notify_test
857 enable_edbus_ofono_test
858 enable_edbus_ukit_test
859 enable_edbus_performance_test
860 enable_edbus_async_test
862 ac_precious_vars='build_alias
882 EDBUS_TEST_CLIENT_CFLAGS
883 EDBUS_TEST_CLIENT_LIBS
884 EDBUS_BLUEZ_TEST_CFLAGS
885 EDBUS_BLUEZ_TEST_LIBS
886 EDBUS_CONNMAN0_7X_TEST_CFLAGS
887 EDBUS_CONNMAN0_7X_TEST_LIBS
888 EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS
889 EDBUS_NOTIFICATION_DAEMON_TEST_LIBS
890 EDBUS_NOTIFY_SEND_CFLAGS
891 EDBUS_NOTIFY_SEND_LIBS
892 EDBUS_NOTIFY_TEST_CFLAGS
893 EDBUS_NOTIFY_TEST_LIBS
894 EDBUS_OFONO_TEST_CFLAGS
895 EDBUS_OFONO_TEST_LIBS
896 EDBUS_UKIT_TEST_CFLAGS
898 EDBUS_PERFORMANCE_TEST_CFLAGS
899 EDBUS_PERFORMANCE_TEST_LIBS
900 EDBUS_ASYNC_TEST_CFLAGS
901 EDBUS_ASYNC_TEST_LIBS'
904 # Initialize some variables set by options.
906 ac_init_version=false
907 ac_unrecognized_opts=
909 # The variables have the same names as the options, with
910 # dashes changed to underlines.
918 program_transform_name=s,x,x,
926 # Installation directory options.
927 # These are left unexpanded so users can "make install exec_prefix=/foo"
928 # and all the variables that are supposed to be based on exec_prefix
929 # by default will actually change.
930 # Use braces instead of parens because sh, perl, etc. also accept them.
931 # (The list follows the same order as the GNU Coding Standards.)
932 bindir='${exec_prefix}/bin'
933 sbindir='${exec_prefix}/sbin'
934 libexecdir='${exec_prefix}/libexec'
935 datarootdir='${prefix}/share'
936 datadir='${datarootdir}'
937 sysconfdir='${prefix}/etc'
938 sharedstatedir='${prefix}/com'
939 localstatedir='${prefix}/var'
940 includedir='${prefix}/include'
941 oldincludedir='/usr/include'
942 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
943 infodir='${datarootdir}/info'
948 libdir='${exec_prefix}/lib'
949 localedir='${datarootdir}/locale'
950 mandir='${datarootdir}/man'
956 # If the previous option needs an argument, assign it.
957 if test -n "$ac_prev"; then
958 eval $ac_prev=\$ac_option
964 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
969 # Accept the important Cygnus configure options, so we can diagnose typos.
971 case $ac_dashdash$ac_option in
975 -bindir | --bindir | --bindi | --bind | --bin | --bi)
977 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
980 -build | --build | --buil | --bui | --bu)
981 ac_prev=build_alias ;;
982 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
983 build_alias=$ac_optarg ;;
985 -cache-file | --cache-file | --cache-fil | --cache-fi \
986 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
987 ac_prev=cache_file ;;
988 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
989 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
990 cache_file=$ac_optarg ;;
993 cache_file=config.cache ;;
995 -datadir | --datadir | --datadi | --datad)
997 -datadir=* | --datadir=* | --datadi=* | --datad=*)
998 datadir=$ac_optarg ;;
1000 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1001 | --dataroo | --dataro | --datar)
1002 ac_prev=datarootdir ;;
1003 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1004 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1005 datarootdir=$ac_optarg ;;
1007 -disable-* | --disable-*)
1008 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1009 # Reject names that are not valid shell variable names.
1010 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1011 as_fn_error $? "invalid feature name: $ac_useropt"
1012 ac_useropt_orig=$ac_useropt
1013 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1014 case $ac_user_opts in
1016 "enable_$ac_useropt"
1018 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1019 ac_unrecognized_sep=', ';;
1021 eval enable_$ac_useropt=no ;;
1023 -docdir | --docdir | --docdi | --doc | --do)
1025 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1026 docdir=$ac_optarg ;;
1028 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1030 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1031 dvidir=$ac_optarg ;;
1033 -enable-* | --enable-*)
1034 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1035 # Reject names that are not valid shell variable names.
1036 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1037 as_fn_error $? "invalid feature name: $ac_useropt"
1038 ac_useropt_orig=$ac_useropt
1039 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1040 case $ac_user_opts in
1042 "enable_$ac_useropt"
1044 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1045 ac_unrecognized_sep=', ';;
1047 eval enable_$ac_useropt=\$ac_optarg ;;
1049 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1050 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1051 | --exec | --exe | --ex)
1052 ac_prev=exec_prefix ;;
1053 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1054 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1055 | --exec=* | --exe=* | --ex=*)
1056 exec_prefix=$ac_optarg ;;
1058 -gas | --gas | --ga | --g)
1059 # Obsolete; use --with-gas.
1062 -help | --help | --hel | --he | -h)
1063 ac_init_help=long ;;
1064 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1065 ac_init_help=recursive ;;
1066 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1067 ac_init_help=short ;;
1069 -host | --host | --hos | --ho)
1070 ac_prev=host_alias ;;
1071 -host=* | --host=* | --hos=* | --ho=*)
1072 host_alias=$ac_optarg ;;
1074 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1076 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1078 htmldir=$ac_optarg ;;
1080 -includedir | --includedir | --includedi | --included | --include \
1081 | --includ | --inclu | --incl | --inc)
1082 ac_prev=includedir ;;
1083 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1084 | --includ=* | --inclu=* | --incl=* | --inc=*)
1085 includedir=$ac_optarg ;;
1087 -infodir | --infodir | --infodi | --infod | --info | --inf)
1089 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1090 infodir=$ac_optarg ;;
1092 -libdir | --libdir | --libdi | --libd)
1094 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1095 libdir=$ac_optarg ;;
1097 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1098 | --libexe | --libex | --libe)
1099 ac_prev=libexecdir ;;
1100 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1101 | --libexe=* | --libex=* | --libe=*)
1102 libexecdir=$ac_optarg ;;
1104 -localedir | --localedir | --localedi | --localed | --locale)
1105 ac_prev=localedir ;;
1106 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1107 localedir=$ac_optarg ;;
1109 -localstatedir | --localstatedir | --localstatedi | --localstated \
1110 | --localstate | --localstat | --localsta | --localst | --locals)
1111 ac_prev=localstatedir ;;
1112 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1113 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1114 localstatedir=$ac_optarg ;;
1116 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1118 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1119 mandir=$ac_optarg ;;
1121 -nfp | --nfp | --nf)
1122 # Obsolete; use --without-fp.
1125 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1126 | --no-cr | --no-c | -n)
1129 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1130 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1133 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1134 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1135 | --oldin | --oldi | --old | --ol | --o)
1136 ac_prev=oldincludedir ;;
1137 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1138 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1139 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1140 oldincludedir=$ac_optarg ;;
1142 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1144 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1145 prefix=$ac_optarg ;;
1147 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1148 | --program-pre | --program-pr | --program-p)
1149 ac_prev=program_prefix ;;
1150 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1151 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1152 program_prefix=$ac_optarg ;;
1154 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1155 | --program-suf | --program-su | --program-s)
1156 ac_prev=program_suffix ;;
1157 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1158 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1159 program_suffix=$ac_optarg ;;
1161 -program-transform-name | --program-transform-name \
1162 | --program-transform-nam | --program-transform-na \
1163 | --program-transform-n | --program-transform- \
1164 | --program-transform | --program-transfor \
1165 | --program-transfo | --program-transf \
1166 | --program-trans | --program-tran \
1167 | --progr-tra | --program-tr | --program-t)
1168 ac_prev=program_transform_name ;;
1169 -program-transform-name=* | --program-transform-name=* \
1170 | --program-transform-nam=* | --program-transform-na=* \
1171 | --program-transform-n=* | --program-transform-=* \
1172 | --program-transform=* | --program-transfor=* \
1173 | --program-transfo=* | --program-transf=* \
1174 | --program-trans=* | --program-tran=* \
1175 | --progr-tra=* | --program-tr=* | --program-t=*)
1176 program_transform_name=$ac_optarg ;;
1178 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1180 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1181 pdfdir=$ac_optarg ;;
1183 -psdir | --psdir | --psdi | --psd | --ps)
1185 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1188 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1189 | -silent | --silent | --silen | --sile | --sil)
1192 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1194 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1196 sbindir=$ac_optarg ;;
1198 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1199 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1200 | --sharedst | --shareds | --shared | --share | --shar \
1202 ac_prev=sharedstatedir ;;
1203 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1204 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1205 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1207 sharedstatedir=$ac_optarg ;;
1209 -site | --site | --sit)
1211 -site=* | --site=* | --sit=*)
1214 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1216 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1217 srcdir=$ac_optarg ;;
1219 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1220 | --syscon | --sysco | --sysc | --sys | --sy)
1221 ac_prev=sysconfdir ;;
1222 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1223 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1224 sysconfdir=$ac_optarg ;;
1226 -target | --target | --targe | --targ | --tar | --ta | --t)
1227 ac_prev=target_alias ;;
1228 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1229 target_alias=$ac_optarg ;;
1231 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1234 -version | --version | --versio | --versi | --vers | -V)
1235 ac_init_version=: ;;
1238 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1239 # Reject names that are not valid shell variable names.
1240 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1241 as_fn_error $? "invalid package name: $ac_useropt"
1242 ac_useropt_orig=$ac_useropt
1243 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1244 case $ac_user_opts in
1248 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1249 ac_unrecognized_sep=', ';;
1251 eval with_$ac_useropt=\$ac_optarg ;;
1253 -without-* | --without-*)
1254 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1255 # Reject names that are not valid shell variable names.
1256 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1257 as_fn_error $? "invalid package name: $ac_useropt"
1258 ac_useropt_orig=$ac_useropt
1259 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1260 case $ac_user_opts in
1264 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1265 ac_unrecognized_sep=', ';;
1267 eval with_$ac_useropt=no ;;
1270 # Obsolete; use --with-x.
1273 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1274 | --x-incl | --x-inc | --x-in | --x-i)
1275 ac_prev=x_includes ;;
1276 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1277 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1278 x_includes=$ac_optarg ;;
1280 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1281 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1282 ac_prev=x_libraries ;;
1283 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1284 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1285 x_libraries=$ac_optarg ;;
1287 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1288 Try \`$0 --help' for more information"
1292 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1293 # Reject names that are not valid shell variable names.
1294 case $ac_envvar in #(
1295 '' | [0-9]* | *[!_$as_cr_alnum]* )
1296 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1298 eval $ac_envvar=\$ac_optarg
1299 export $ac_envvar ;;
1302 # FIXME: should be removed in autoconf 3.0.
1303 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1304 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1305 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1306 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1312 if test -n "$ac_prev"; then
1313 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1314 as_fn_error $? "missing argument to $ac_option"
1317 if test -n "$ac_unrecognized_opts"; then
1318 case $enable_option_checking in
1320 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1321 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1325 # Check all directory arguments for consistency.
1326 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1327 datadir sysconfdir sharedstatedir localstatedir includedir \
1328 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1329 libdir localedir mandir
1331 eval ac_val=\$$ac_var
1332 # Remove trailing slashes.
1335 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1336 eval $ac_var=\$ac_val;;
1338 # Be sure to have absolute directory names.
1340 [\\/$]* | ?:[\\/]* ) continue;;
1341 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1343 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1346 # There might be people who depend on the old broken behavior: `$host'
1347 # used to hold the argument of --host etc.
1348 # FIXME: To remove some day.
1351 target=$target_alias
1353 # FIXME: To remove some day.
1354 if test "x$host_alias" != x; then
1355 if test "x$build_alias" = x; then
1356 cross_compiling=maybe
1357 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1358 If a cross compiler is detected then cross compile mode will be used" >&2
1359 elif test "x$build_alias" != "x$host_alias"; then
1365 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1367 test "$silent" = yes && exec 6>/dev/null
1370 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1371 ac_ls_di=`ls -di .` &&
1372 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1373 as_fn_error $? "working directory cannot be determined"
1374 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1375 as_fn_error $? "pwd does not report name of working directory"
1378 # Find the source files, if location was not specified.
1379 if test -z "$srcdir"; then
1380 ac_srcdir_defaulted=yes
1381 # Try the directory containing this script, then the parent directory.
1382 ac_confdir=`$as_dirname -- "$as_myself" ||
1383 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1384 X"$as_myself" : 'X\(//\)[^/]' \| \
1385 X"$as_myself" : 'X\(//\)$' \| \
1386 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1387 $as_echo X"$as_myself" |
1388 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1406 if test ! -r "$srcdir/$ac_unique_file"; then
1410 ac_srcdir_defaulted=no
1412 if test ! -r "$srcdir/$ac_unique_file"; then
1413 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1414 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1416 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1418 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1420 # When building in place, set srcdir=.
1421 if test "$ac_abs_confdir" = "$ac_pwd"; then
1424 # Remove unnecessary trailing slashes from srcdir.
1425 # Double slashes in file names in object file debugging info
1426 # mess up M-x gdb in Emacs.
1428 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1430 for ac_var in $ac_precious_vars; do
1431 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1432 eval ac_env_${ac_var}_value=\$${ac_var}
1433 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1434 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1438 # Report the --help message.
1440 if test "$ac_init_help" = "long"; then
1441 # Omit some internal or obsolete options to make the list less imposing.
1442 # This message is too long to be a string in the A/UX 3.1 sh.
1444 \`configure' configures e_dbus 1.7.4 to adapt to many kinds of systems.
1446 Usage: $0 [OPTION]... [VAR=VALUE]...
1448 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1449 VAR=VALUE. See below for descriptions of some of the useful variables.
1451 Defaults for the options are specified in brackets.
1454 -h, --help display this help and exit
1455 --help=short display options specific to this package
1456 --help=recursive display the short help of all the included packages
1457 -V, --version display version information and exit
1458 -q, --quiet, --silent do not print \`checking ...' messages
1459 --cache-file=FILE cache test results in FILE [disabled]
1460 -C, --config-cache alias for \`--cache-file=config.cache'
1461 -n, --no-create do not create output files
1462 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1464 Installation directories:
1465 --prefix=PREFIX install architecture-independent files in PREFIX
1466 [$ac_default_prefix]
1467 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1470 By default, \`make install' will install all the files in
1471 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1472 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1473 for instance \`--prefix=\$HOME'.
1475 For better control, use the options below.
1477 Fine tuning of the installation directories:
1478 --bindir=DIR user executables [EPREFIX/bin]
1479 --sbindir=DIR system admin executables [EPREFIX/sbin]
1480 --libexecdir=DIR program executables [EPREFIX/libexec]
1481 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1482 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1483 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1484 --libdir=DIR object code libraries [EPREFIX/lib]
1485 --includedir=DIR C header files [PREFIX/include]
1486 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1487 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1488 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1489 --infodir=DIR info documentation [DATAROOTDIR/info]
1490 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1491 --mandir=DIR man documentation [DATAROOTDIR/man]
1492 --docdir=DIR documentation root [DATAROOTDIR/doc/e_dbus]
1493 --htmldir=DIR html documentation [DOCDIR]
1494 --dvidir=DIR dvi documentation [DOCDIR]
1495 --pdfdir=DIR pdf documentation [DOCDIR]
1496 --psdir=DIR ps documentation [DOCDIR]
1502 --program-prefix=PREFIX prepend PREFIX to installed program names
1503 --program-suffix=SUFFIX append SUFFIX to installed program names
1504 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1507 --build=BUILD configure for building on BUILD [guessed]
1508 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1512 if test -n "$ac_init_help"; then
1513 case $ac_init_help in
1514 short | recursive ) echo "Configuration of e_dbus 1.7.4:";;
1519 --disable-option-checking ignore unrecognized --enable/--with options
1520 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1521 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1522 --enable-silent-rules less verbose build output (undo: `make V=1')
1523 --disable-silent-rules verbose build output (undo: `make V=0')
1524 --enable-shared[=PKGS] build shared libraries [default=yes]
1525 --enable-static[=PKGS] build static libraries [default=yes]
1526 --enable-fast-install[=PKGS]
1527 optimize for fast installation [default=yes]
1528 --disable-dependency-tracking speeds up one-time build
1529 --enable-dependency-tracking do not reject slow dependency extractors
1530 --disable-libtool-lock avoid locking (might break parallel builds)
1531 --enable-ebluez Enable ebluez build
1532 --enable-econnman0_7x Enable econnman 0.7x build
1533 --disable-ehal Disable ehal build
1534 --disable-enotify Disable enotify build
1535 --enable-eofono Enable eofono build
1536 --disable-eukit Disable eukit build
1537 --disable-doc Disable documentation build [default=enabled]
1538 --disable-edbus-test disable building of edbus_test
1539 --disable-edbus-test-client
1540 disable building of edbus_test_client
1541 --disable-edbus-bluez-test
1542 disable building of edbus_bluez_test
1543 --disable-edbus-connman0_7x-test
1544 disable building of edbus_connman0_7x_test
1545 --disable-edbus-notification-daemon-test
1546 disable building of edbus_notification_daemon_test
1547 --disable-edbus-notify-send
1548 disable building of edbus_notify_send
1549 --disable-edbus-notify-test
1550 disable building of edbus_notify_test
1551 --disable-edbus-ofono-test
1552 disable building of edbus_ofono_test
1553 --disable-edbus-ukit-test
1554 disable building of edbus_ukit_test
1555 --disable-edbus-performance-test
1556 disable building of edbus_performance_test
1557 --disable-edbus-async-test
1558 disable building of edbus_async_test
1561 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1562 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1563 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1565 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1566 --with-sysroot=DIR Search for dependent libraries within DIR
1567 (or the compiler's sysroot if not specified).
1568 --with-doxygen=FILE doxygen program to use [default=doxygen]
1570 Some influential environment variables:
1571 CC C compiler command
1572 CFLAGS C compiler flags
1573 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1574 nonstandard directory <lib dir>
1575 LIBS libraries to pass to the linker, e.g. -l<library>
1576 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1577 you have headers in a nonstandard directory <include dir>
1579 PKG_CONFIG path to pkg-config utility
1581 directories to add to pkg-config's search path
1583 path overriding pkg-config's built-in search path
1584 DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1585 DBUS_LIBS linker flags for DBUS, overriding pkg-config
1587 C compiler flags for EDBUS, overriding pkg-config
1588 EDBUS_LIBS linker flags for EDBUS, overriding pkg-config
1589 EVAS_CFLAGS C compiler flags for EVAS, overriding pkg-config
1590 EVAS_LIBS linker flags for EVAS, overriding pkg-config
1592 C compiler flags for EDBUS_TEST, overriding pkg-config
1594 linker flags for EDBUS_TEST, overriding pkg-config
1595 EDBUS_TEST_CLIENT_CFLAGS
1596 C compiler flags for EDBUS_TEST_CLIENT, overriding pkg-config
1597 EDBUS_TEST_CLIENT_LIBS
1598 linker flags for EDBUS_TEST_CLIENT, overriding pkg-config
1599 EDBUS_BLUEZ_TEST_CFLAGS
1600 C compiler flags for EDBUS_BLUEZ_TEST, overriding pkg-config
1601 EDBUS_BLUEZ_TEST_LIBS
1602 linker flags for EDBUS_BLUEZ_TEST, overriding pkg-config
1603 EDBUS_CONNMAN0_7X_TEST_CFLAGS
1604 C compiler flags for EDBUS_CONNMAN0_7X_TEST, overriding
1606 EDBUS_CONNMAN0_7X_TEST_LIBS
1607 linker flags for EDBUS_CONNMAN0_7X_TEST, overriding pkg-config
1608 EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS
1609 C compiler flags for EDBUS_NOTIFICATION_DAEMON_TEST, overriding
1611 EDBUS_NOTIFICATION_DAEMON_TEST_LIBS
1612 linker flags for EDBUS_NOTIFICATION_DAEMON_TEST, overriding
1614 EDBUS_NOTIFY_SEND_CFLAGS
1615 C compiler flags for EDBUS_NOTIFY_SEND, overriding pkg-config
1616 EDBUS_NOTIFY_SEND_LIBS
1617 linker flags for EDBUS_NOTIFY_SEND, overriding pkg-config
1618 EDBUS_NOTIFY_TEST_CFLAGS
1619 C compiler flags for EDBUS_NOTIFY_TEST, overriding pkg-config
1620 EDBUS_NOTIFY_TEST_LIBS
1621 linker flags for EDBUS_NOTIFY_TEST, overriding pkg-config
1622 EDBUS_OFONO_TEST_CFLAGS
1623 C compiler flags for EDBUS_OFONO_TEST, overriding pkg-config
1624 EDBUS_OFONO_TEST_LIBS
1625 linker flags for EDBUS_OFONO_TEST, overriding pkg-config
1626 EDBUS_UKIT_TEST_CFLAGS
1627 C compiler flags for EDBUS_UKIT_TEST, overriding pkg-config
1628 EDBUS_UKIT_TEST_LIBS
1629 linker flags for EDBUS_UKIT_TEST, overriding pkg-config
1630 EDBUS_PERFORMANCE_TEST_CFLAGS
1631 C compiler flags for EDBUS_PERFORMANCE_TEST, overriding
1633 EDBUS_PERFORMANCE_TEST_LIBS
1634 linker flags for EDBUS_PERFORMANCE_TEST, overriding pkg-config
1635 EDBUS_ASYNC_TEST_CFLAGS
1636 C compiler flags for EDBUS_ASYNC_TEST, overriding pkg-config
1637 EDBUS_ASYNC_TEST_LIBS
1638 linker flags for EDBUS_ASYNC_TEST, overriding pkg-config
1640 Use these variables to override the choices made by `configure' or to help
1641 it to find libraries and programs with nonstandard names/locations.
1643 Report bugs to <enlightenment-devel@lists.sourceforge.net>.
1648 if test "$ac_init_help" = "recursive"; then
1649 # If there are subdirs, report their specific --help.
1650 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1651 test -d "$ac_dir" ||
1652 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1657 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1659 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1660 # A ".." for each directory in $ac_dir_suffix.
1661 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1662 case $ac_top_builddir_sub in
1663 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1664 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1667 ac_abs_top_builddir=$ac_pwd
1668 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1669 # for backward compatibility:
1670 ac_top_builddir=$ac_top_build_prefix
1673 .) # We are building in place.
1675 ac_top_srcdir=$ac_top_builddir_sub
1676 ac_abs_top_srcdir=$ac_pwd ;;
1677 [\\/]* | ?:[\\/]* ) # Absolute name.
1678 ac_srcdir=$srcdir$ac_dir_suffix;
1679 ac_top_srcdir=$srcdir
1680 ac_abs_top_srcdir=$srcdir ;;
1682 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1683 ac_top_srcdir=$ac_top_build_prefix$srcdir
1684 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1686 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1688 cd "$ac_dir" || { ac_status=$?; continue; }
1689 # Check for guested configure.
1690 if test -f "$ac_srcdir/configure.gnu"; then
1692 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1693 elif test -f "$ac_srcdir/configure"; then
1695 $SHELL "$ac_srcdir/configure" --help=recursive
1697 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1699 cd "$ac_pwd" || { ac_status=$?; break; }
1703 test -n "$ac_init_help" && exit $ac_status
1704 if $ac_init_version; then
1706 e_dbus configure 1.7.4
1707 generated by GNU Autoconf 2.68
1709 Copyright (C) 2010 Free Software Foundation, Inc.
1710 This configure script is free software; the Free Software Foundation
1711 gives unlimited permission to copy, distribute and modify it.
1716 ## ------------------------ ##
1717 ## Autoconf initialization. ##
1718 ## ------------------------ ##
1720 # ac_fn_c_try_compile LINENO
1721 # --------------------------
1722 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1723 ac_fn_c_try_compile ()
1725 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1726 rm -f conftest.$ac_objext
1727 if { { ac_try="$ac_compile"
1729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1730 *) ac_try_echo=$ac_try;;
1732 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1733 $as_echo "$ac_try_echo"; } >&5
1734 (eval "$ac_compile") 2>conftest.err
1736 if test -s conftest.err; then
1737 grep -v '^ *+' conftest.err >conftest.er1
1738 cat conftest.er1 >&5
1739 mv -f conftest.er1 conftest.err
1741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1742 test $ac_status = 0; } && {
1743 test -z "$ac_c_werror_flag" ||
1744 test ! -s conftest.err
1745 } && test -s conftest.$ac_objext; then :
1748 $as_echo "$as_me: failed program was:" >&5
1749 sed 's/^/| /' conftest.$ac_ext >&5
1753 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1754 as_fn_set_status $ac_retval
1756 } # ac_fn_c_try_compile
1758 # ac_fn_c_try_link LINENO
1759 # -----------------------
1760 # Try to link conftest.$ac_ext, and return whether this succeeded.
1763 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1764 rm -f conftest.$ac_objext conftest$ac_exeext
1765 if { { ac_try="$ac_link"
1767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1768 *) ac_try_echo=$ac_try;;
1770 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1771 $as_echo "$ac_try_echo"; } >&5
1772 (eval "$ac_link") 2>conftest.err
1774 if test -s conftest.err; then
1775 grep -v '^ *+' conftest.err >conftest.er1
1776 cat conftest.er1 >&5
1777 mv -f conftest.er1 conftest.err
1779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1780 test $ac_status = 0; } && {
1781 test -z "$ac_c_werror_flag" ||
1782 test ! -s conftest.err
1783 } && test -s conftest$ac_exeext && {
1784 test "$cross_compiling" = yes ||
1785 $as_test_x conftest$ac_exeext
1789 $as_echo "$as_me: failed program was:" >&5
1790 sed 's/^/| /' conftest.$ac_ext >&5
1794 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1795 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1796 # interfere with the next link command; also delete a directory that is
1797 # left behind by Apple's compiler. We do this before executing the actions.
1798 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1799 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1800 as_fn_set_status $ac_retval
1802 } # ac_fn_c_try_link
1804 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1805 # -------------------------------------------------------
1806 # Tests whether HEADER exists and can be compiled using the include files in
1807 # INCLUDES, setting the cache variable VAR accordingly.
1808 ac_fn_c_check_header_compile ()
1810 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1812 $as_echo_n "checking for $2... " >&6; }
1813 if eval \${$3+:} false; then :
1814 $as_echo_n "(cached) " >&6
1816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1817 /* end confdefs.h. */
1821 if ac_fn_c_try_compile "$LINENO"; then :
1826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1830 $as_echo "$ac_res" >&6; }
1831 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1833 } # ac_fn_c_check_header_compile
1835 # ac_fn_c_try_cpp LINENO
1836 # ----------------------
1837 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1840 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1841 if { { ac_try="$ac_cpp conftest.$ac_ext"
1843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1844 *) ac_try_echo=$ac_try;;
1846 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1847 $as_echo "$ac_try_echo"; } >&5
1848 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1850 if test -s conftest.err; then
1851 grep -v '^ *+' conftest.err >conftest.er1
1852 cat conftest.er1 >&5
1853 mv -f conftest.er1 conftest.err
1855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1856 test $ac_status = 0; } > conftest.i && {
1857 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1858 test ! -s conftest.err
1862 $as_echo "$as_me: failed program was:" >&5
1863 sed 's/^/| /' conftest.$ac_ext >&5
1867 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1868 as_fn_set_status $ac_retval
1872 # ac_fn_c_try_run LINENO
1873 # ----------------------
1874 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1875 # that executables *can* be run.
1878 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1879 if { { ac_try="$ac_link"
1881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1882 *) ac_try_echo=$ac_try;;
1884 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1885 $as_echo "$ac_try_echo"; } >&5
1886 (eval "$ac_link") 2>&5
1888 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1889 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1890 { { case "(($ac_try" in
1891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1892 *) ac_try_echo=$ac_try;;
1894 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1895 $as_echo "$ac_try_echo"; } >&5
1896 (eval "$ac_try") 2>&5
1898 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1899 test $ac_status = 0; }; }; then :
1902 $as_echo "$as_me: program exited with status $ac_status" >&5
1903 $as_echo "$as_me: failed program was:" >&5
1904 sed 's/^/| /' conftest.$ac_ext >&5
1906 ac_retval=$ac_status
1908 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1909 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1910 as_fn_set_status $ac_retval
1914 # ac_fn_c_check_func LINENO FUNC VAR
1915 # ----------------------------------
1916 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1917 ac_fn_c_check_func ()
1919 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1921 $as_echo_n "checking for $2... " >&6; }
1922 if eval \${$3+:} false; then :
1923 $as_echo_n "(cached) " >&6
1925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1926 /* end confdefs.h. */
1927 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1928 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1929 #define $2 innocuous_$2
1931 /* System header to define __stub macros and hopefully few prototypes,
1932 which can conflict with char $2 (); below.
1933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1934 <limits.h> exists even on freestanding compilers. */
1937 # include <limits.h>
1939 # include <assert.h>
1944 /* Override any GCC internal prototype to avoid an error.
1945 Use char because int might match the return type of a GCC
1946 builtin and then its argument prototype would still apply. */
1951 /* The GNU C library defines this for functions which it implements
1952 to always fail with ENOSYS. Some functions are actually named
1953 something starting with __ and the normal name is an alias. */
1954 #if defined __stub_$2 || defined __stub___$2
1966 if ac_fn_c_try_link "$LINENO"; then :
1971 rm -f core conftest.err conftest.$ac_objext \
1972 conftest$ac_exeext conftest.$ac_ext
1975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1976 $as_echo "$ac_res" >&6; }
1977 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1979 } # ac_fn_c_check_func
1981 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1982 # -------------------------------------------
1983 # Tests whether TYPE exists after having included INCLUDES, setting cache
1984 # variable VAR accordingly.
1985 ac_fn_c_check_type ()
1987 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1989 $as_echo_n "checking for $2... " >&6; }
1990 if eval \${$3+:} false; then :
1991 $as_echo_n "(cached) " >&6
1994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1995 /* end confdefs.h. */
2006 if ac_fn_c_try_compile "$LINENO"; then :
2007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2008 /* end confdefs.h. */
2019 if ac_fn_c_try_compile "$LINENO"; then :
2024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2030 $as_echo "$ac_res" >&6; }
2031 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2033 } # ac_fn_c_check_type
2034 cat >config.log <<_ACEOF
2035 This file contains any messages produced by compilers while
2036 running configure, to aid debugging if configure makes a mistake.
2038 It was created by e_dbus $as_me 1.7.4, which was
2039 generated by GNU Autoconf 2.68. Invocation command line was
2051 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2052 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2053 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2054 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2055 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2057 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2058 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2060 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2061 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2062 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2063 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2064 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2065 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2066 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2074 test -z "$as_dir" && as_dir=.
2075 $as_echo "PATH: $as_dir"
2091 # Keep a trace of the command line.
2092 # Strip out --no-create and --no-recursion so they do not pile up.
2093 # Strip out --silent because we don't want to record it for future runs.
2094 # Also quote any args containing shell meta-characters.
2095 # Make two passes to allow for proper duplicate-argument suppression.
2099 ac_must_keep_next=false
2105 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2106 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2107 | -silent | --silent | --silen | --sile | --sil)
2110 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2113 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2115 as_fn_append ac_configure_args1 " '$ac_arg'"
2116 if test $ac_must_keep_next = true; then
2117 ac_must_keep_next=false # Got value, back to normal.
2120 *=* | --config-cache | -C | -disable-* | --disable-* \
2121 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2122 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2123 | -with-* | --with-* | -without-* | --without-* | --x)
2124 case "$ac_configure_args0 " in
2125 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2128 -* ) ac_must_keep_next=true ;;
2131 as_fn_append ac_configure_args " '$ac_arg'"
2136 { ac_configure_args0=; unset ac_configure_args0;}
2137 { ac_configure_args1=; unset ac_configure_args1;}
2139 # When interrupted or exit'd, cleanup temporary files, and complete
2140 # config.log. We remove comments because anyway the quotes in there
2141 # would cause problems or look ugly.
2142 # WARNING: Use '\'' to represent an apostrophe within the trap.
2143 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2144 trap 'exit_status=$?
2145 # Save into config.log some information that might help in debugging.
2149 $as_echo "## ---------------- ##
2150 ## Cache variables. ##
2151 ## ---------------- ##"
2153 # The following way of writing the cache mishandles newlines in values,
2155 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2156 eval ac_val=\$$ac_var
2160 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2161 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2164 _ | IFS | as_nl) ;; #(
2165 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2166 *) { eval $ac_var=; unset $ac_var;} ;;
2171 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2172 *${as_nl}ac_space=\ *)
2174 "s/'\''/'\''\\\\'\'''\''/g;
2175 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2178 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2185 $as_echo "## ----------------- ##
2186 ## Output variables. ##
2187 ## ----------------- ##"
2189 for ac_var in $ac_subst_vars
2191 eval ac_val=\$$ac_var
2193 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2195 $as_echo "$ac_var='\''$ac_val'\''"
2199 if test -n "$ac_subst_files"; then
2200 $as_echo "## ------------------- ##
2201 ## File substitutions. ##
2202 ## ------------------- ##"
2204 for ac_var in $ac_subst_files
2206 eval ac_val=\$$ac_var
2208 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2210 $as_echo "$ac_var='\''$ac_val'\''"
2215 if test -s confdefs.h; then
2216 $as_echo "## ----------- ##
2223 test "$ac_signal" != 0 &&
2224 $as_echo "$as_me: caught signal $ac_signal"
2225 $as_echo "$as_me: exit $exit_status"
2227 rm -f core *.core core.conftest.* &&
2228 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2231 for ac_signal in 1 2 13 15; do
2232 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2236 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2237 rm -f -r conftest* confdefs.h
2239 $as_echo "/* confdefs.h */" > confdefs.h
2241 # Predefined preprocessor variables.
2243 cat >>confdefs.h <<_ACEOF
2244 #define PACKAGE_NAME "$PACKAGE_NAME"
2247 cat >>confdefs.h <<_ACEOF
2248 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2251 cat >>confdefs.h <<_ACEOF
2252 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2255 cat >>confdefs.h <<_ACEOF
2256 #define PACKAGE_STRING "$PACKAGE_STRING"
2259 cat >>confdefs.h <<_ACEOF
2260 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2263 cat >>confdefs.h <<_ACEOF
2264 #define PACKAGE_URL "$PACKAGE_URL"
2268 # Let the site file select an alternate cache file if it wants to.
2269 # Prefer an explicitly selected file to automatically selected ones.
2272 if test -n "$CONFIG_SITE"; then
2273 # We do not want a PATH search for config.site.
2274 case $CONFIG_SITE in #((
2275 -*) ac_site_file1=./$CONFIG_SITE;;
2276 */*) ac_site_file1=$CONFIG_SITE;;
2277 *) ac_site_file1=./$CONFIG_SITE;;
2279 elif test "x$prefix" != xNONE; then
2280 ac_site_file1=$prefix/share/config.site
2281 ac_site_file2=$prefix/etc/config.site
2283 ac_site_file1=$ac_default_prefix/share/config.site
2284 ac_site_file2=$ac_default_prefix/etc/config.site
2286 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2288 test "x$ac_site_file" = xNONE && continue
2289 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2291 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2292 sed 's/^/| /' "$ac_site_file" >&5
2294 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2295 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2296 as_fn_error $? "failed to load site script $ac_site_file
2297 See \`config.log' for more details" "$LINENO" 5; }
2301 if test -r "$cache_file"; then
2302 # Some versions of bash will fail to source /dev/null (special files
2303 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2304 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2306 $as_echo "$as_me: loading cache $cache_file" >&6;}
2308 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2309 *) . "./$cache_file";;
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2314 $as_echo "$as_me: creating cache $cache_file" >&6;}
2318 # Check that the precious variables saved in the cache have kept the same
2320 ac_cache_corrupted=false
2321 for ac_var in $ac_precious_vars; do
2322 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2323 eval ac_new_set=\$ac_env_${ac_var}_set
2324 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2325 eval ac_new_val=\$ac_env_${ac_var}_value
2326 case $ac_old_set,$ac_new_set in
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2329 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2330 ac_cache_corrupted=: ;;
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2333 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2334 ac_cache_corrupted=: ;;
2337 if test "x$ac_old_val" != "x$ac_new_val"; then
2338 # differences in whitespace do not lead to failure.
2339 ac_old_val_w=`echo x $ac_old_val`
2340 ac_new_val_w=`echo x $ac_new_val`
2341 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2342 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2343 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2344 ac_cache_corrupted=:
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2347 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2348 eval $ac_var=\$ac_old_val
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2351 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2353 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2356 # Pass precious variables to config.status.
2357 if test "$ac_new_set" = set; then
2359 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2360 *) ac_arg=$ac_var=$ac_new_val ;;
2362 case " $ac_configure_args " in
2363 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2364 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2368 if $ac_cache_corrupted; then
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2370 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2372 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2373 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2375 ## -------------------- ##
2376 ## Main body of script. ##
2377 ## -------------------- ##
2380 ac_cpp='$CPP $CPPFLAGS'
2381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2390 ac_config_headers="$ac_config_headers config.h"
2395 am__api_version='1.11'
2398 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2399 if test -f "$ac_dir/install-sh"; then
2401 ac_install_sh="$ac_aux_dir/install-sh -c"
2403 elif test -f "$ac_dir/install.sh"; then
2405 ac_install_sh="$ac_aux_dir/install.sh -c"
2407 elif test -f "$ac_dir/shtool"; then
2409 ac_install_sh="$ac_aux_dir/shtool install -c"
2413 if test -z "$ac_aux_dir"; then
2414 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2417 # These three variables are undocumented and unsupported,
2418 # and are intended to be withdrawn in a future Autoconf release.
2419 # They can cause serious problems if a builder's source tree is in a directory
2420 # whose full name contains unusual characters.
2421 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2422 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2423 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2426 # Find a good install program. We prefer a C program (faster),
2427 # so one script is as good as another. But avoid the broken or
2428 # incompatible versions:
2429 # SysV /etc/install, /usr/sbin/install
2430 # SunOS /usr/etc/install
2431 # IRIX /sbin/install
2433 # AmigaOS /C/install, which installs bootblocks on floppy discs
2434 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2435 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2436 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2437 # OS/2's system install, which has a completely different semantic
2438 # ./install, which can be erroneously created by make from ./install.sh.
2439 # Reject install programs that cannot install multiple files.
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2441 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2442 if test -z "$INSTALL"; then
2443 if ${ac_cv_path_install+:} false; then :
2444 $as_echo_n "(cached) " >&6
2446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2450 test -z "$as_dir" && as_dir=.
2451 # Account for people who put trailing slashes in PATH elements.
2452 case $as_dir/ in #((
2453 ./ | .// | /[cC]/* | \
2454 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2455 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2458 # OSF1 and SCO ODT 3.0 have their own names for install.
2459 # Don't use installbsd from OSF since it installs stuff as root
2461 for ac_prog in ginstall scoinst install; do
2462 for ac_exec_ext in '' $ac_executable_extensions; do
2463 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2464 if test $ac_prog = install &&
2465 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2466 # AIX install. It has an incompatible calling convention.
2468 elif test $ac_prog = install &&
2469 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2470 # program-specific install script used by HP pwplus--don't use.
2473 rm -rf conftest.one conftest.two conftest.dir
2474 echo one > conftest.one
2475 echo two > conftest.two
2477 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2478 test -s conftest.one && test -s conftest.two &&
2479 test -s conftest.dir/conftest.one &&
2480 test -s conftest.dir/conftest.two
2482 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2495 rm -rf conftest.one conftest.two conftest.dir
2498 if test "${ac_cv_path_install+set}" = set; then
2499 INSTALL=$ac_cv_path_install
2501 # As a last resort, use the slow shell script. Don't cache a
2502 # value for INSTALL within a source directory, because that will
2503 # break other packages using the cache if that directory is
2504 # removed, or if the value is a relative name.
2505 INSTALL=$ac_install_sh
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2509 $as_echo "$INSTALL" >&6; }
2511 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2512 # It thinks the first close brace ends the variable substitution.
2513 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2515 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2517 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2520 $as_echo_n "checking whether build environment is sane... " >&6; }
2523 echo timestamp > conftest.file
2524 # Reject unsafe characters in $srcdir or the absolute working directory
2525 # name. Accept space and tab only in the latter.
2529 *[\\\"\#\$\&\'\`$am_lf]*)
2530 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2533 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2534 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2537 # Do `set' in a subshell so we don't clobber the current shell's
2538 # arguments. Must try -L first in case configure is actually a
2539 # symlink; some systems play weird games with the mod time of symlinks
2540 # (eg FreeBSD returns the mod time of the symlink's containing
2543 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2544 if test "$*" = "X"; then
2546 set X `ls -t "$srcdir/configure" conftest.file`
2549 if test "$*" != "X $srcdir/configure conftest.file" \
2550 && test "$*" != "X conftest.file $srcdir/configure"; then
2552 # If neither matched, then we have a broken ls. This can happen
2553 # if, for instance, CONFIG_SHELL is bash and it inherits a
2554 # broken ls alias from the environment. This has actually
2555 # happened. Such a system could not be considered "sane".
2556 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2557 alias in your environment" "$LINENO" 5
2560 test "$2" = conftest.file
2566 as_fn_error $? "newly created file is older than distributed files!
2567 Check your system clock" "$LINENO" 5
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2570 $as_echo "yes" >&6; }
2571 test "$program_prefix" != NONE &&
2572 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2573 # Use a double $ so make ignores it.
2574 test "$program_suffix" != NONE &&
2575 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2576 # Double any \ or $.
2577 # By default was `s,x,x', remove it if useless.
2578 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2579 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2581 # expand $ac_aux_dir to an absolute path
2582 am_aux_dir=`cd $ac_aux_dir && pwd`
2584 if test x"${MISSING+set}" != xset; then
2587 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2589 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2592 # Use eval to expand $SHELL
2593 if eval "$MISSING --run true"; then
2594 am_missing_run="$MISSING --run "
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2598 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2601 if test x"${install_sh}" != xset; then
2604 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2606 install_sh="\${SHELL} $am_aux_dir/install-sh"
2610 # Installed binaries are usually stripped using `strip' when the user
2611 # run `make install-strip'. However `strip' might not be the right
2612 # tool to use in cross-compilation environments, therefore Automake
2613 # will honor the `STRIP' environment variable to overrule this program.
2614 if test "$cross_compiling" != no; then
2615 if test -n "$ac_tool_prefix"; then
2616 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2617 set dummy ${ac_tool_prefix}strip; ac_word=$2
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2619 $as_echo_n "checking for $ac_word... " >&6; }
2620 if ${ac_cv_prog_STRIP+:} false; then :
2621 $as_echo_n "(cached) " >&6
2623 if test -n "$STRIP"; then
2624 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2630 test -z "$as_dir" && as_dir=.
2631 for ac_exec_ext in '' $ac_executable_extensions; do
2632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2633 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2643 STRIP=$ac_cv_prog_STRIP
2644 if test -n "$STRIP"; then
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2646 $as_echo "$STRIP" >&6; }
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2649 $as_echo "no" >&6; }
2654 if test -z "$ac_cv_prog_STRIP"; then
2656 # Extract the first word of "strip", so it can be a program name with args.
2657 set dummy strip; ac_word=$2
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2659 $as_echo_n "checking for $ac_word... " >&6; }
2660 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2661 $as_echo_n "(cached) " >&6
2663 if test -n "$ac_ct_STRIP"; then
2664 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2670 test -z "$as_dir" && as_dir=.
2671 for ac_exec_ext in '' $ac_executable_extensions; do
2672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2673 ac_cv_prog_ac_ct_STRIP="strip"
2674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2683 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2684 if test -n "$ac_ct_STRIP"; then
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2686 $as_echo "$ac_ct_STRIP" >&6; }
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2689 $as_echo "no" >&6; }
2692 if test "x$ac_ct_STRIP" = x; then
2695 case $cross_compiling:$ac_tool_warned in
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2698 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2699 ac_tool_warned=yes ;;
2704 STRIP="$ac_cv_prog_STRIP"
2708 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2711 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2712 if test -z "$MKDIR_P"; then
2713 if ${ac_cv_path_mkdir+:} false; then :
2714 $as_echo_n "(cached) " >&6
2716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2717 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2720 test -z "$as_dir" && as_dir=.
2721 for ac_prog in mkdir gmkdir; do
2722 for ac_exec_ext in '' $ac_executable_extensions; do
2723 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2724 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2725 'mkdir (GNU coreutils) '* | \
2726 'mkdir (coreutils) '* | \
2727 'mkdir (fileutils) '4.1*)
2728 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2738 test -d ./--version && rmdir ./--version
2739 if test "${ac_cv_path_mkdir+set}" = set; then
2740 MKDIR_P="$ac_cv_path_mkdir -p"
2742 # As a last resort, use the slow shell script. Don't cache a
2743 # value for MKDIR_P within a source directory, because that will
2744 # break other packages using the cache if that directory is
2745 # removed, or if the value is a relative name.
2746 MKDIR_P="$ac_install_sh -d"
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2750 $as_echo "$MKDIR_P" >&6; }
2754 [\\/$]* | ?:[\\/]*) ;;
2755 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2758 for ac_prog in gawk mawk nawk awk
2760 # Extract the first word of "$ac_prog", so it can be a program name with args.
2761 set dummy $ac_prog; ac_word=$2
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2763 $as_echo_n "checking for $ac_word... " >&6; }
2764 if ${ac_cv_prog_AWK+:} false; then :
2765 $as_echo_n "(cached) " >&6
2767 if test -n "$AWK"; then
2768 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2774 test -z "$as_dir" && as_dir=.
2775 for ac_exec_ext in '' $ac_executable_extensions; do
2776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2777 ac_cv_prog_AWK="$ac_prog"
2778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2788 if test -n "$AWK"; then
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2790 $as_echo "$AWK" >&6; }
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2793 $as_echo "no" >&6; }
2797 test -n "$AWK" && break
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2801 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2803 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2804 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2805 $as_echo_n "(cached) " >&6
2807 cat >conftest.make <<\_ACEOF
2810 @echo '@@@%%%=$(MAKE)=@@@%%%'
2812 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2813 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2815 eval ac_cv_prog_make_${ac_make}_set=yes;;
2817 eval ac_cv_prog_make_${ac_make}_set=no;;
2821 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2823 $as_echo "yes" >&6; }
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2827 $as_echo "no" >&6; }
2828 SET_MAKE="MAKE=${MAKE-make}"
2831 rm -rf .tst 2>/dev/null
2832 mkdir .tst 2>/dev/null
2833 if test -d .tst; then
2838 rmdir .tst 2>/dev/null
2840 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2841 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2842 # is not polluted with repeated "-I."
2843 am__isrc=' -I$(srcdir)'
2844 # test to see if srcdir already configured
2845 if test -f $srcdir/config.status; then
2846 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2850 # test whether we have cygpath
2851 if test -z "$CYGPATH_W"; then
2852 if (cygpath --version) >/dev/null 2>/dev/null; then
2853 CYGPATH_W='cygpath -w'
2860 # Define the identity of the package.
2865 cat >>confdefs.h <<_ACEOF
2866 #define PACKAGE "$PACKAGE"
2870 cat >>confdefs.h <<_ACEOF
2871 #define VERSION "$VERSION"
2874 # Some tools Automake needs.
2876 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2879 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2882 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2885 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2888 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2890 # We need awk for the "check" target. The system "awk" is bad on
2892 # Always define AMTAR for backward compatibility. Yes, it's still used
2893 # in the wild :-( We should find a proper way to deprecate it ...
2896 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2902 # Check whether --enable-silent-rules was given.
2903 if test "${enable_silent_rules+set}" = set; then :
2904 enableval=$enable_silent_rules;
2907 case $enable_silent_rules in
2908 yes) AM_DEFAULT_VERBOSITY=0;;
2909 no) AM_DEFAULT_VERBOSITY=1;;
2910 *) AM_DEFAULT_VERBOSITY=0;;
2912 am_make=${MAKE-make}
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2914 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2915 if ${am_cv_make_support_nested_variables+:} false; then :
2916 $as_echo_n "(cached) " >&6
2918 if $as_echo 'TRUE=$(BAR$(V))
2924 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2925 am_cv_make_support_nested_variables=yes
2927 am_cv_make_support_nested_variables=no
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2931 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2932 if test $am_cv_make_support_nested_variables = yes; then
2934 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2936 AM_V=$AM_DEFAULT_VERBOSITY
2937 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2942 # Make sure we can run config.sub.
2943 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2944 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2947 $as_echo_n "checking build system type... " >&6; }
2948 if ${ac_cv_build+:} false; then :
2949 $as_echo_n "(cached) " >&6
2951 ac_build_alias=$build_alias
2952 test "x$ac_build_alias" = x &&
2953 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2954 test "x$ac_build_alias" = x &&
2955 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2956 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2957 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2961 $as_echo "$ac_cv_build" >&6; }
2962 case $ac_cv_build in
2964 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2967 ac_save_IFS=$IFS; IFS='-'
2973 # Remember, the first character of IFS is used to create $*,
2974 # except with old shells:
2977 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2981 $as_echo_n "checking host system type... " >&6; }
2982 if ${ac_cv_host+:} false; then :
2983 $as_echo_n "(cached) " >&6
2985 if test "x$host_alias" = x; then
2986 ac_cv_host=$ac_cv_build
2988 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2989 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2994 $as_echo "$ac_cv_host" >&6; }
2997 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3000 ac_save_IFS=$IFS; IFS='-'
3006 # Remember, the first character of IFS is used to create $*,
3007 # except with old shells:
3010 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3013 enable_win32_dll=yes
3016 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
3017 if test -n "$ac_tool_prefix"; then
3018 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3019 set dummy ${ac_tool_prefix}as; ac_word=$2
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3021 $as_echo_n "checking for $ac_word... " >&6; }
3022 if ${ac_cv_prog_AS+:} false; then :
3023 $as_echo_n "(cached) " >&6
3025 if test -n "$AS"; then
3026 ac_cv_prog_AS="$AS" # Let the user override the test.
3028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3032 test -z "$as_dir" && as_dir=.
3033 for ac_exec_ext in '' $ac_executable_extensions; do
3034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3035 ac_cv_prog_AS="${ac_tool_prefix}as"
3036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3046 if test -n "$AS"; then
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
3048 $as_echo "$AS" >&6; }
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3051 $as_echo "no" >&6; }
3056 if test -z "$ac_cv_prog_AS"; then
3058 # Extract the first word of "as", so it can be a program name with args.
3059 set dummy as; ac_word=$2
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3061 $as_echo_n "checking for $ac_word... " >&6; }
3062 if ${ac_cv_prog_ac_ct_AS+:} false; then :
3063 $as_echo_n "(cached) " >&6
3065 if test -n "$ac_ct_AS"; then
3066 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3072 test -z "$as_dir" && as_dir=.
3073 for ac_exec_ext in '' $ac_executable_extensions; do
3074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3075 ac_cv_prog_ac_ct_AS="as"
3076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3085 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3086 if test -n "$ac_ct_AS"; then
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
3088 $as_echo "$ac_ct_AS" >&6; }
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3091 $as_echo "no" >&6; }
3094 if test "x$ac_ct_AS" = x; then
3097 case $cross_compiling:$ac_tool_warned in
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3100 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3101 ac_tool_warned=yes ;;
3109 if test -n "$ac_tool_prefix"; then
3110 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3111 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3113 $as_echo_n "checking for $ac_word... " >&6; }
3114 if ${ac_cv_prog_DLLTOOL+:} false; then :
3115 $as_echo_n "(cached) " >&6
3117 if test -n "$DLLTOOL"; then
3118 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3124 test -z "$as_dir" && as_dir=.
3125 for ac_exec_ext in '' $ac_executable_extensions; do
3126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3127 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3137 DLLTOOL=$ac_cv_prog_DLLTOOL
3138 if test -n "$DLLTOOL"; then
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
3140 $as_echo "$DLLTOOL" >&6; }
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3143 $as_echo "no" >&6; }
3148 if test -z "$ac_cv_prog_DLLTOOL"; then
3149 ac_ct_DLLTOOL=$DLLTOOL
3150 # Extract the first word of "dlltool", so it can be a program name with args.
3151 set dummy dlltool; ac_word=$2
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3153 $as_echo_n "checking for $ac_word... " >&6; }
3154 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
3155 $as_echo_n "(cached) " >&6
3157 if test -n "$ac_ct_DLLTOOL"; then
3158 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3164 test -z "$as_dir" && as_dir=.
3165 for ac_exec_ext in '' $ac_executable_extensions; do
3166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3167 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3177 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3178 if test -n "$ac_ct_DLLTOOL"; then
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
3180 $as_echo "$ac_ct_DLLTOOL" >&6; }
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3183 $as_echo "no" >&6; }
3186 if test "x$ac_ct_DLLTOOL" = x; then
3189 case $cross_compiling:$ac_tool_warned in
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3192 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3193 ac_tool_warned=yes ;;
3195 DLLTOOL=$ac_ct_DLLTOOL
3198 DLLTOOL="$ac_cv_prog_DLLTOOL"
3201 if test -n "$ac_tool_prefix"; then
3202 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
3203 set dummy ${ac_tool_prefix}objdump; ac_word=$2
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3205 $as_echo_n "checking for $ac_word... " >&6; }
3206 if ${ac_cv_prog_OBJDUMP+:} false; then :
3207 $as_echo_n "(cached) " >&6
3209 if test -n "$OBJDUMP"; then
3210 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
3212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3216 test -z "$as_dir" && as_dir=.
3217 for ac_exec_ext in '' $ac_executable_extensions; do
3218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3219 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
3220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3229 OBJDUMP=$ac_cv_prog_OBJDUMP
3230 if test -n "$OBJDUMP"; then
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
3232 $as_echo "$OBJDUMP" >&6; }
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3235 $as_echo "no" >&6; }
3240 if test -z "$ac_cv_prog_OBJDUMP"; then
3241 ac_ct_OBJDUMP=$OBJDUMP
3242 # Extract the first word of "objdump", so it can be a program name with args.
3243 set dummy objdump; ac_word=$2
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3245 $as_echo_n "checking for $ac_word... " >&6; }
3246 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
3247 $as_echo_n "(cached) " >&6
3249 if test -n "$ac_ct_OBJDUMP"; then
3250 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
3252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3256 test -z "$as_dir" && as_dir=.
3257 for ac_exec_ext in '' $ac_executable_extensions; do
3258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3259 ac_cv_prog_ac_ct_OBJDUMP="objdump"
3260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3269 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
3270 if test -n "$ac_ct_OBJDUMP"; then
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
3272 $as_echo "$ac_ct_OBJDUMP" >&6; }
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3275 $as_echo "no" >&6; }
3278 if test "x$ac_ct_OBJDUMP" = x; then
3281 case $cross_compiling:$ac_tool_warned in
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3284 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3285 ac_tool_warned=yes ;;
3287 OBJDUMP=$ac_ct_OBJDUMP
3290 OBJDUMP="$ac_cv_prog_OBJDUMP"
3296 test -z "$AS" && AS=as
3302 test -z "$DLLTOOL" && DLLTOOL=dlltool
3308 test -z "$OBJDUMP" && OBJDUMP=objdump
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3319 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3324 macro_version='2.4.2'
3325 macro_revision='1.3337'
3339 ltmain="$ac_aux_dir/ltmain.sh"
3341 # Backslashify metacharacters that are still active within
3342 # double-quoted strings.
3343 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3345 # Same as above, but do not quote variable references.
3346 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3348 # Sed substitution to delay expansion of an escaped shell variable in a
3349 # double_quote_subst'ed string.
3350 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3352 # Sed substitution to delay expansion of an escaped single quote.
3353 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3355 # Sed substitution to avoid accidental globbing in evaled expressions
3356 no_glob_subst='s/\*/\\\*/g'
3358 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3359 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3360 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3363 $as_echo_n "checking how to print strings... " >&6; }
3364 # Test print first, because it will be a builtin if present.
3365 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3366 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3368 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3371 # Use this function as a fallback that always works.
3372 func_fallback_echo ()
3374 eval 'cat <<_LTECHO_EOF
3378 ECHO='func_fallback_echo'
3381 # func_echo_all arg...
3382 # Invoke $ECHO with all args, space-separated.
3389 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3390 $as_echo "printf" >&6; } ;;
3391 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3392 $as_echo "print -r" >&6; } ;;
3393 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3394 $as_echo "cat" >&6; } ;;
3410 DEPDIR="${am__leading_dot}deps"
3412 ac_config_commands="$ac_config_commands depfiles"
3415 am_make=${MAKE-make}
3416 cat > confinc << 'END'
3418 @echo this is the am__doit target
3421 # If we don't find an include directive, just comment out the code.
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3423 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3427 # First try GNU make style include.
3428 echo "include confinc" > confmf
3429 # Ignore all kinds of additional output from `make'.
3430 case `$am_make -s -f confmf 2> /dev/null` in #(
3431 *the\ am__doit\ target*)
3437 # Now try BSD make style include.
3438 if test "$am__include" = "#"; then
3439 echo '.include "confinc"' > confmf
3440 case `$am_make -s -f confmf 2> /dev/null` in #(
3441 *the\ am__doit\ target*)
3442 am__include=.include
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3451 $as_echo "$_am_result" >&6; }
3452 rm -f confinc confmf
3454 # Check whether --enable-dependency-tracking was given.
3455 if test "${enable_dependency_tracking+set}" = set; then :
3456 enableval=$enable_dependency_tracking;
3459 if test "x$enable_dependency_tracking" != xno; then
3460 am_depcomp="$ac_aux_dir/depcomp"
3464 if test "x$enable_dependency_tracking" != xno; then
3474 ac_cpp='$CPP $CPPFLAGS'
3475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3478 if test -n "$ac_tool_prefix"; then
3479 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3480 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3482 $as_echo_n "checking for $ac_word... " >&6; }
3483 if ${ac_cv_prog_CC+:} false; then :
3484 $as_echo_n "(cached) " >&6
3486 if test -n "$CC"; then
3487 ac_cv_prog_CC="$CC" # Let the user override the test.
3489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3493 test -z "$as_dir" && as_dir=.
3494 for ac_exec_ext in '' $ac_executable_extensions; do
3495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3496 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3507 if test -n "$CC"; then
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3509 $as_echo "$CC" >&6; }
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3512 $as_echo "no" >&6; }
3517 if test -z "$ac_cv_prog_CC"; then
3519 # Extract the first word of "gcc", so it can be a program name with args.
3520 set dummy gcc; ac_word=$2
3521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3522 $as_echo_n "checking for $ac_word... " >&6; }
3523 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3524 $as_echo_n "(cached) " >&6
3526 if test -n "$ac_ct_CC"; then
3527 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3533 test -z "$as_dir" && as_dir=.
3534 for ac_exec_ext in '' $ac_executable_extensions; do
3535 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3536 ac_cv_prog_ac_ct_CC="gcc"
3537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3546 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3547 if test -n "$ac_ct_CC"; then
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3549 $as_echo "$ac_ct_CC" >&6; }
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3552 $as_echo "no" >&6; }
3555 if test "x$ac_ct_CC" = x; then
3558 case $cross_compiling:$ac_tool_warned in
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3561 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3562 ac_tool_warned=yes ;;
3570 if test -z "$CC"; then
3571 if test -n "$ac_tool_prefix"; then
3572 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3573 set dummy ${ac_tool_prefix}cc; ac_word=$2
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3575 $as_echo_n "checking for $ac_word... " >&6; }
3576 if ${ac_cv_prog_CC+:} false; then :
3577 $as_echo_n "(cached) " >&6
3579 if test -n "$CC"; then
3580 ac_cv_prog_CC="$CC" # Let the user override the test.
3582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3586 test -z "$as_dir" && as_dir=.
3587 for ac_exec_ext in '' $ac_executable_extensions; do
3588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3589 ac_cv_prog_CC="${ac_tool_prefix}cc"
3590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3600 if test -n "$CC"; then
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3602 $as_echo "$CC" >&6; }
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3605 $as_echo "no" >&6; }
3611 if test -z "$CC"; then
3612 # Extract the first word of "cc", so it can be a program name with args.
3613 set dummy cc; ac_word=$2
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3615 $as_echo_n "checking for $ac_word... " >&6; }
3616 if ${ac_cv_prog_CC+:} false; then :
3617 $as_echo_n "(cached) " >&6
3619 if test -n "$CC"; then
3620 ac_cv_prog_CC="$CC" # Let the user override the test.
3623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3627 test -z "$as_dir" && as_dir=.
3628 for ac_exec_ext in '' $ac_executable_extensions; do
3629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3630 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3631 ac_prog_rejected=yes
3635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3642 if test $ac_prog_rejected = yes; then
3643 # We found a bogon in the path, so make sure we never use it.
3644 set dummy $ac_cv_prog_CC
3646 if test $# != 0; then
3647 # We chose a different compiler from the bogus one.
3648 # However, it has the same basename, so the bogon will be chosen
3649 # first if we set CC to just the basename; use the full file name.
3651 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3657 if test -n "$CC"; then
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3659 $as_echo "$CC" >&6; }
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3662 $as_echo "no" >&6; }
3667 if test -z "$CC"; then
3668 if test -n "$ac_tool_prefix"; then
3669 for ac_prog in cl.exe
3671 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3672 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3674 $as_echo_n "checking for $ac_word... " >&6; }
3675 if ${ac_cv_prog_CC+:} false; then :
3676 $as_echo_n "(cached) " >&6
3678 if test -n "$CC"; then
3679 ac_cv_prog_CC="$CC" # Let the user override the test.
3681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3685 test -z "$as_dir" && as_dir=.
3686 for ac_exec_ext in '' $ac_executable_extensions; do
3687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3688 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3699 if test -n "$CC"; then
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3701 $as_echo "$CC" >&6; }
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3704 $as_echo "no" >&6; }
3708 test -n "$CC" && break
3711 if test -z "$CC"; then
3713 for ac_prog in cl.exe
3715 # Extract the first word of "$ac_prog", so it can be a program name with args.
3716 set dummy $ac_prog; ac_word=$2
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3718 $as_echo_n "checking for $ac_word... " >&6; }
3719 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3720 $as_echo_n "(cached) " >&6
3722 if test -n "$ac_ct_CC"; then
3723 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3729 test -z "$as_dir" && as_dir=.
3730 for ac_exec_ext in '' $ac_executable_extensions; do
3731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3732 ac_cv_prog_ac_ct_CC="$ac_prog"
3733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3742 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3743 if test -n "$ac_ct_CC"; then
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3745 $as_echo "$ac_ct_CC" >&6; }
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3748 $as_echo "no" >&6; }
3752 test -n "$ac_ct_CC" && break
3755 if test "x$ac_ct_CC" = x; then
3758 case $cross_compiling:$ac_tool_warned in
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3761 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3762 ac_tool_warned=yes ;;
3771 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3772 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3773 as_fn_error $? "no acceptable C compiler found in \$PATH
3774 See \`config.log' for more details" "$LINENO" 5; }
3776 # Provide some information about the compiler.
3777 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3780 for ac_option in --version -v -V -qversion; do
3781 { { ac_try="$ac_compiler $ac_option >&5"
3783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3784 *) ac_try_echo=$ac_try;;
3786 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3787 $as_echo "$ac_try_echo"; } >&5
3788 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3790 if test -s conftest.err; then
3792 ... rest of stderr output deleted ...
3793 10q' conftest.err >conftest.er1
3794 cat conftest.er1 >&5
3796 rm -f conftest.er1 conftest.err
3797 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3798 test $ac_status = 0; }
3801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3802 /* end confdefs.h. */
3812 ac_clean_files_save=$ac_clean_files
3813 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3814 # Try to create an executable without -o first, disregard a.out.
3815 # It will help us diagnose broken compilers, and finding out an intuition
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3818 $as_echo_n "checking whether the C compiler works... " >&6; }
3819 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3821 # The possible output files:
3822 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3825 for ac_file in $ac_files
3828 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3829 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3834 if { { ac_try="$ac_link_default"
3836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3837 *) ac_try_echo=$ac_try;;
3839 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3840 $as_echo "$ac_try_echo"; } >&5
3841 (eval "$ac_link_default") 2>&5
3843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3844 test $ac_status = 0; }; then :
3845 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3846 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3847 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3848 # so that the user can short-circuit this test for compilers unknown to
3850 for ac_file in $ac_files ''
3852 test -f "$ac_file" || continue
3854 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3857 # We found the default executable, but exeext='' is most
3861 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3863 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3865 # We set ac_cv_exeext here because the later test for it is not
3866 # safe: cross compilers may not add the suffix if given an `-o'
3867 # argument, so we may need to know it at that point already.
3868 # Even if this section looks crufty: it has the advantage of
3875 test "$ac_cv_exeext" = no && ac_cv_exeext=
3880 if test -z "$ac_file"; then :
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3882 $as_echo "no" >&6; }
3883 $as_echo "$as_me: failed program was:" >&5
3884 sed 's/^/| /' conftest.$ac_ext >&5
3886 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3887 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3888 as_fn_error 77 "C compiler cannot create executables
3889 See \`config.log' for more details" "$LINENO" 5; }
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3892 $as_echo "yes" >&6; }
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3895 $as_echo_n "checking for C compiler default output file name... " >&6; }
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3897 $as_echo "$ac_file" >&6; }
3898 ac_exeext=$ac_cv_exeext
3900 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3901 ac_clean_files=$ac_clean_files_save
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3903 $as_echo_n "checking for suffix of executables... " >&6; }
3904 if { { ac_try="$ac_link"
3906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3907 *) ac_try_echo=$ac_try;;
3909 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3910 $as_echo "$ac_try_echo"; } >&5
3911 (eval "$ac_link") 2>&5
3913 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3914 test $ac_status = 0; }; then :
3915 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3916 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3917 # work properly (i.e., refer to `conftest.exe'), while it won't with
3919 for ac_file in conftest.exe conftest conftest.*; do
3920 test -f "$ac_file" || continue
3922 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3923 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3929 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3930 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3931 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3932 See \`config.log' for more details" "$LINENO" 5; }
3934 rm -f conftest conftest$ac_cv_exeext
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3936 $as_echo "$ac_cv_exeext" >&6; }
3938 rm -f conftest.$ac_ext
3939 EXEEXT=$ac_cv_exeext
3941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3942 /* end confdefs.h. */
3947 FILE *f = fopen ("conftest.out", "w");
3948 return ferror (f) || fclose (f) != 0;
3954 ac_clean_files="$ac_clean_files conftest.out"
3955 # Check that the compiler produces executables we can run. If not, either
3956 # the compiler is broken, or we cross compile.
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3958 $as_echo_n "checking whether we are cross compiling... " >&6; }
3959 if test "$cross_compiling" != yes; then
3960 { { ac_try="$ac_link"
3962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3963 *) ac_try_echo=$ac_try;;
3965 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3966 $as_echo "$ac_try_echo"; } >&5
3967 (eval "$ac_link") 2>&5
3969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3970 test $ac_status = 0; }
3971 if { ac_try='./conftest$ac_cv_exeext'
3972 { { case "(($ac_try" in
3973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3974 *) ac_try_echo=$ac_try;;
3976 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3977 $as_echo "$ac_try_echo"; } >&5
3978 (eval "$ac_try") 2>&5
3980 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3981 test $ac_status = 0; }; }; then
3984 if test "$cross_compiling" = maybe; then
3987 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3988 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3989 as_fn_error $? "cannot run C compiled programs.
3990 If you meant to cross compile, use \`--host'.
3991 See \`config.log' for more details" "$LINENO" 5; }
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3996 $as_echo "$cross_compiling" >&6; }
3998 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3999 ac_clean_files=$ac_clean_files_save
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4001 $as_echo_n "checking for suffix of object files... " >&6; }
4002 if ${ac_cv_objext+:} false; then :
4003 $as_echo_n "(cached) " >&6
4005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4006 /* end confdefs.h. */
4016 rm -f conftest.o conftest.obj
4017 if { { ac_try="$ac_compile"
4019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4020 *) ac_try_echo=$ac_try;;
4022 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4023 $as_echo "$ac_try_echo"; } >&5
4024 (eval "$ac_compile") 2>&5
4026 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4027 test $ac_status = 0; }; then :
4028 for ac_file in conftest.o conftest.obj conftest.*; do
4029 test -f "$ac_file" || continue;
4031 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4032 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4037 $as_echo "$as_me: failed program was:" >&5
4038 sed 's/^/| /' conftest.$ac_ext >&5
4040 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4041 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4042 as_fn_error $? "cannot compute suffix of object files: cannot compile
4043 See \`config.log' for more details" "$LINENO" 5; }
4045 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4048 $as_echo "$ac_cv_objext" >&6; }
4049 OBJEXT=$ac_cv_objext
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4052 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4053 if ${ac_cv_c_compiler_gnu+:} false; then :
4054 $as_echo_n "(cached) " >&6
4056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4057 /* end confdefs.h. */
4070 if ac_fn_c_try_compile "$LINENO"; then :
4075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4076 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4080 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4081 if test $ac_compiler_gnu = yes; then
4086 ac_test_CFLAGS=${CFLAGS+set}
4087 ac_save_CFLAGS=$CFLAGS
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4089 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4090 if ${ac_cv_prog_cc_g+:} false; then :
4091 $as_echo_n "(cached) " >&6
4093 ac_save_c_werror_flag=$ac_c_werror_flag
4094 ac_c_werror_flag=yes
4097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4098 /* end confdefs.h. */
4108 if ac_fn_c_try_compile "$LINENO"; then :
4112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4113 /* end confdefs.h. */
4123 if ac_fn_c_try_compile "$LINENO"; then :
4126 ac_c_werror_flag=$ac_save_c_werror_flag
4128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4129 /* end confdefs.h. */
4139 if ac_fn_c_try_compile "$LINENO"; then :
4142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4147 ac_c_werror_flag=$ac_save_c_werror_flag
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4150 $as_echo "$ac_cv_prog_cc_g" >&6; }
4151 if test "$ac_test_CFLAGS" = set; then
4152 CFLAGS=$ac_save_CFLAGS
4153 elif test $ac_cv_prog_cc_g = yes; then
4154 if test "$GCC" = yes; then
4160 if test "$GCC" = yes; then
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4167 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4168 if ${ac_cv_prog_cc_c89+:} false; then :
4169 $as_echo_n "(cached) " >&6
4171 ac_cv_prog_cc_c89=no
4173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4174 /* end confdefs.h. */
4177 #include <sys/types.h>
4178 #include <sys/stat.h>
4179 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4180 struct buf { int x; };
4181 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4182 static char *e (p, i)
4188 static char *f (char * (*g) (char **, int), char **p, ...)
4193 s = g (p, va_arg (v,int));
4198 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4199 function prototypes and stuff, but not '\xHH' hex character constants.
4200 These don't provoke an error unfortunately, instead are silently treated
4201 as 'x'. The following induces an error, until -std is added to get
4202 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4203 array size at least. It's necessary to write '\x00'==0 to get something
4204 that's true only with -std. */
4205 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4207 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4208 inside strings and character constants. */
4210 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4212 int test (int i, double x);
4213 struct s1 {int (*f) (int a);};
4214 struct s2 {int (*f) (double a);};
4215 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4221 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4226 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4227 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4229 CC="$ac_save_CC $ac_arg"
4230 if ac_fn_c_try_compile "$LINENO"; then :
4231 ac_cv_prog_cc_c89=$ac_arg
4233 rm -f core conftest.err conftest.$ac_objext
4234 test "x$ac_cv_prog_cc_c89" != "xno" && break
4236 rm -f conftest.$ac_ext
4241 case "x$ac_cv_prog_cc_c89" in
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4244 $as_echo "none needed" >&6; } ;;
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4247 $as_echo "unsupported" >&6; } ;;
4249 CC="$CC $ac_cv_prog_cc_c89"
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4251 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4253 if test "x$ac_cv_prog_cc_c89" != xno; then :
4258 ac_cpp='$CPP $CPPFLAGS'
4259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4263 depcc="$CC" am_compiler_list=
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4266 $as_echo_n "checking dependency style of $depcc... " >&6; }
4267 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4268 $as_echo_n "(cached) " >&6
4270 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4271 # We make a subdir and do the tests there. Otherwise we can end up
4272 # making bogus files that we don't know about and never remove. For
4273 # instance it was reported that on HP-UX the gcc test will end up
4274 # making a dummy file named `D' -- because `-MD' means `put the output
4278 # Copy depcomp to subdir because otherwise we won't find it if we're
4279 # using a relative directory.
4280 cp "$am_depcomp" conftest.dir
4282 # We will build objects and dependencies in a subdirectory because
4283 # it helps to detect inapplicable dependency modes. For instance
4284 # both Tru64's cc and ICC support -MD to output dependencies as a
4285 # side effect of compilation, but ICC will put the dependencies in
4286 # the current directory while Tru64 will put them in the object
4290 am_cv_CC_dependencies_compiler_type=none
4291 if test "$am_compiler_list" = ""; then
4292 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4295 case " $depcc " in #(
4296 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4299 for depmode in $am_compiler_list; do
4300 # Setup a source with many dependencies, because some compilers
4301 # like to wrap large dependency lists on column 80 (with \), and
4302 # we should not choose a depcomp mode which is confused by this.
4304 # We need to recreate these files for each test, as the compiler may
4305 # overwrite some of them when testing with obscure command lines.
4306 # This happens at least with the AIX C compiler.
4308 for i in 1 2 3 4 5 6; do
4309 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4310 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4311 # Solaris 8's {/usr,}/bin/sh.
4312 touch sub/conftst$i.h
4314 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4316 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4317 # mode. It turns out that the SunPro C++ compiler does not properly
4318 # handle `-M -o', and we need to detect this. Also, some Intel
4319 # versions had trouble with output in subdirs
4320 am__obj=sub/conftest.${OBJEXT-o}
4321 am__minus_obj="-o $am__obj"
4324 # This depmode causes a compiler race in universal mode.
4325 test "$am__universal" = false || continue
4328 # after this tag, mechanisms are not by side-effect, so they'll
4329 # only be used when explicitly requested
4330 if test "x$enable_dependency_tracking" = xyes; then
4336 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4337 # This compiler won't grok `-c -o', but also, the minuso test has
4338 # not run yet. These depmodes are late enough in the game, and
4339 # so weak that their functioning should not be impacted.
4340 am__obj=conftest.${OBJEXT-o}
4345 if depmode=$depmode \
4346 source=sub/conftest.c object=$am__obj \
4347 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4348 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4349 >/dev/null 2>conftest.err &&
4350 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4351 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4352 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4353 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4354 # icc doesn't choke on unknown options, it will just issue warnings
4355 # or remarks (even with -Werror). So we grep stderr for any message
4356 # that says an option was ignored or not supported.
4357 # When given -MP, icc 7.0 and 7.1 complain thusly:
4358 # icc: Command line warning: ignoring option '-M'; no argument required
4359 # The diagnosis changed in icc 8.0:
4360 # icc: Command line remark: option '-MP' not supported
4361 if (grep 'ignoring option' conftest.err ||
4362 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4363 am_cv_CC_dependencies_compiler_type=$depmode
4372 am_cv_CC_dependencies_compiler_type=none
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4377 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4378 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4381 test "x$enable_dependency_tracking" != xno \
4382 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4384 am__fastdepCC_FALSE='#'
4386 am__fastdepCC_TRUE='#'
4387 am__fastdepCC_FALSE=
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4392 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4393 if ${ac_cv_path_SED+:} false; then :
4394 $as_echo_n "(cached) " >&6
4396 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4397 for ac_i in 1 2 3 4 5 6 7; do
4398 ac_script="$ac_script$as_nl$ac_script"
4400 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4401 { ac_script=; unset ac_script;}
4402 if test -z "$SED"; then
4403 ac_path_SED_found=false
4404 # Loop through the user's path and test for each of PROGNAME-LIST
4405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4409 test -z "$as_dir" && as_dir=.
4410 for ac_prog in sed gsed; do
4411 for ac_exec_ext in '' $ac_executable_extensions; do
4412 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4413 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4414 # Check for GNU ac_path_SED and select it if it is found.
4415 # Check for GNU $ac_path_SED
4416 case `"$ac_path_SED" --version 2>&1` in
4418 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4421 $as_echo_n 0123456789 >"conftest.in"
4424 cat "conftest.in" "conftest.in" >"conftest.tmp"
4425 mv "conftest.tmp" "conftest.in"
4426 cp "conftest.in" "conftest.nl"
4427 $as_echo '' >> "conftest.nl"
4428 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4429 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4430 as_fn_arith $ac_count + 1 && ac_count=$as_val
4431 if test $ac_count -gt ${ac_path_SED_max-0}; then
4432 # Best one so far, save it but keep looking for a better one
4433 ac_cv_path_SED="$ac_path_SED"
4434 ac_path_SED_max=$ac_count
4436 # 10*(2^10) chars as input seems more than enough
4437 test $ac_count -gt 10 && break
4439 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4442 $ac_path_SED_found && break 3
4447 if test -z "$ac_cv_path_SED"; then
4448 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4456 $as_echo "$ac_cv_path_SED" >&6; }
4457 SED="$ac_cv_path_SED"
4460 test -z "$SED" && SED=sed
4461 Xsed="$SED -e 1s/^X//"
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4474 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4475 if ${ac_cv_path_GREP+:} false; then :
4476 $as_echo_n "(cached) " >&6
4478 if test -z "$GREP"; then
4479 ac_path_GREP_found=false
4480 # Loop through the user's path and test for each of PROGNAME-LIST
4481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4482 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4485 test -z "$as_dir" && as_dir=.
4486 for ac_prog in grep ggrep; do
4487 for ac_exec_ext in '' $ac_executable_extensions; do
4488 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4489 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4490 # Check for GNU ac_path_GREP and select it if it is found.
4491 # Check for GNU $ac_path_GREP
4492 case `"$ac_path_GREP" --version 2>&1` in
4494 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4497 $as_echo_n 0123456789 >"conftest.in"
4500 cat "conftest.in" "conftest.in" >"conftest.tmp"
4501 mv "conftest.tmp" "conftest.in"
4502 cp "conftest.in" "conftest.nl"
4503 $as_echo 'GREP' >> "conftest.nl"
4504 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4505 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4506 as_fn_arith $ac_count + 1 && ac_count=$as_val
4507 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4508 # Best one so far, save it but keep looking for a better one
4509 ac_cv_path_GREP="$ac_path_GREP"
4510 ac_path_GREP_max=$ac_count
4512 # 10*(2^10) chars as input seems more than enough
4513 test $ac_count -gt 10 && break
4515 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4518 $ac_path_GREP_found && break 3
4523 if test -z "$ac_cv_path_GREP"; then
4524 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4527 ac_cv_path_GREP=$GREP
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4532 $as_echo "$ac_cv_path_GREP" >&6; }
4533 GREP="$ac_cv_path_GREP"
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4537 $as_echo_n "checking for egrep... " >&6; }
4538 if ${ac_cv_path_EGREP+:} false; then :
4539 $as_echo_n "(cached) " >&6
4541 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4542 then ac_cv_path_EGREP="$GREP -E"
4544 if test -z "$EGREP"; then
4545 ac_path_EGREP_found=false
4546 # Loop through the user's path and test for each of PROGNAME-LIST
4547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4548 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4551 test -z "$as_dir" && as_dir=.
4552 for ac_prog in egrep; do
4553 for ac_exec_ext in '' $ac_executable_extensions; do
4554 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4555 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4556 # Check for GNU ac_path_EGREP and select it if it is found.
4557 # Check for GNU $ac_path_EGREP
4558 case `"$ac_path_EGREP" --version 2>&1` in
4560 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4563 $as_echo_n 0123456789 >"conftest.in"
4566 cat "conftest.in" "conftest.in" >"conftest.tmp"
4567 mv "conftest.tmp" "conftest.in"
4568 cp "conftest.in" "conftest.nl"
4569 $as_echo 'EGREP' >> "conftest.nl"
4570 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4571 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4572 as_fn_arith $ac_count + 1 && ac_count=$as_val
4573 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4574 # Best one so far, save it but keep looking for a better one
4575 ac_cv_path_EGREP="$ac_path_EGREP"
4576 ac_path_EGREP_max=$ac_count
4578 # 10*(2^10) chars as input seems more than enough
4579 test $ac_count -gt 10 && break
4581 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4584 $ac_path_EGREP_found && break 3
4589 if test -z "$ac_cv_path_EGREP"; then
4590 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4593 ac_cv_path_EGREP=$EGREP
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4599 $as_echo "$ac_cv_path_EGREP" >&6; }
4600 EGREP="$ac_cv_path_EGREP"
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4604 $as_echo_n "checking for fgrep... " >&6; }
4605 if ${ac_cv_path_FGREP+:} false; then :
4606 $as_echo_n "(cached) " >&6
4608 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4609 then ac_cv_path_FGREP="$GREP -F"
4611 if test -z "$FGREP"; then
4612 ac_path_FGREP_found=false
4613 # Loop through the user's path and test for each of PROGNAME-LIST
4614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4615 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4618 test -z "$as_dir" && as_dir=.
4619 for ac_prog in fgrep; do
4620 for ac_exec_ext in '' $ac_executable_extensions; do
4621 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4622 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4623 # Check for GNU ac_path_FGREP and select it if it is found.
4624 # Check for GNU $ac_path_FGREP
4625 case `"$ac_path_FGREP" --version 2>&1` in
4627 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4630 $as_echo_n 0123456789 >"conftest.in"
4633 cat "conftest.in" "conftest.in" >"conftest.tmp"
4634 mv "conftest.tmp" "conftest.in"
4635 cp "conftest.in" "conftest.nl"
4636 $as_echo 'FGREP' >> "conftest.nl"
4637 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4638 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4639 as_fn_arith $ac_count + 1 && ac_count=$as_val
4640 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4641 # Best one so far, save it but keep looking for a better one
4642 ac_cv_path_FGREP="$ac_path_FGREP"
4643 ac_path_FGREP_max=$ac_count
4645 # 10*(2^10) chars as input seems more than enough
4646 test $ac_count -gt 10 && break
4648 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4651 $ac_path_FGREP_found && break 3
4656 if test -z "$ac_cv_path_FGREP"; then
4657 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4660 ac_cv_path_FGREP=$FGREP
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4666 $as_echo "$ac_cv_path_FGREP" >&6; }
4667 FGREP="$ac_cv_path_FGREP"
4670 test -z "$GREP" && GREP=grep
4690 # Check whether --with-gnu-ld was given.
4691 if test "${with_gnu_ld+set}" = set; then :
4692 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4698 if test "$GCC" = yes; then
4699 # Check if gcc -print-prog-name=ld gives a path.
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4701 $as_echo_n "checking for ld used by $CC... " >&6; }
4704 # gcc leaves a trailing carriage return which upsets mingw
4705 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4707 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4710 # Accept absolute paths.
4712 re_direlt='/[^/][^/]*/\.\./'
4713 # Canonicalize the pathname of ld
4714 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4715 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4716 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4718 test -z "$LD" && LD="$ac_prog"
4721 # If it fails, then pretend we aren't using GCC.
4725 # If it is relative, then search for the first ld in PATH.
4729 elif test "$with_gnu_ld" = yes; then
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4731 $as_echo_n "checking for GNU ld... " >&6; }
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4734 $as_echo_n "checking for non-GNU ld... " >&6; }
4736 if ${lt_cv_path_LD+:} false; then :
4737 $as_echo_n "(cached) " >&6
4739 if test -z "$LD"; then
4740 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4741 for ac_dir in $PATH; do
4743 test -z "$ac_dir" && ac_dir=.
4744 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4745 lt_cv_path_LD="$ac_dir/$ac_prog"
4746 # Check to see if the program is GNU ld. I'd rather use --version,
4747 # but apparently some variants of GNU ld only accept -v.
4748 # Break only if it was the GNU/non-GNU ld that we prefer.
4749 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4750 *GNU* | *'with BFD'*)
4751 test "$with_gnu_ld" != no && break
4754 test "$with_gnu_ld" != yes && break
4761 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4766 if test -n "$LD"; then
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4768 $as_echo "$LD" >&6; }
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4771 $as_echo "no" >&6; }
4773 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4775 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4776 if ${lt_cv_prog_gnu_ld+:} false; then :
4777 $as_echo_n "(cached) " >&6
4779 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4780 case `$LD -v 2>&1 </dev/null` in
4781 *GNU* | *'with BFD'*)
4782 lt_cv_prog_gnu_ld=yes
4785 lt_cv_prog_gnu_ld=no
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4790 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4791 with_gnu_ld=$lt_cv_prog_gnu_ld
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4802 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4803 if ${lt_cv_path_NM+:} false; then :
4804 $as_echo_n "(cached) " >&6
4806 if test -n "$NM"; then
4807 # Let the user override the test.
4810 lt_nm_to_check="${ac_tool_prefix}nm"
4811 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4812 lt_nm_to_check="$lt_nm_to_check nm"
4814 for lt_tmp_nm in $lt_nm_to_check; do
4815 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4816 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4818 test -z "$ac_dir" && ac_dir=.
4819 tmp_nm="$ac_dir/$lt_tmp_nm"
4820 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4821 # Check to see if the nm accepts a BSD-compat flag.
4822 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4823 # nm: unknown option "B" ignored
4824 # Tru64's nm complains that /dev/null is an invalid object file
4825 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4826 */dev/null* | *'Invalid file or object type'*)
4827 lt_cv_path_NM="$tmp_nm -B"
4831 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4833 lt_cv_path_NM="$tmp_nm -p"
4837 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4838 continue # so that we can try to find one that supports BSD flags
4847 : ${lt_cv_path_NM=no}
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4851 $as_echo "$lt_cv_path_NM" >&6; }
4852 if test "$lt_cv_path_NM" != "no"; then
4855 # Didn't find any BSD compatible name lister, look for dumpbin.
4856 if test -n "$DUMPBIN"; then :
4857 # Let the user override the test.
4859 if test -n "$ac_tool_prefix"; then
4860 for ac_prog in dumpbin "link -dump"
4862 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4863 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4865 $as_echo_n "checking for $ac_word... " >&6; }
4866 if ${ac_cv_prog_DUMPBIN+:} false; then :
4867 $as_echo_n "(cached) " >&6
4869 if test -n "$DUMPBIN"; then
4870 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4876 test -z "$as_dir" && as_dir=.
4877 for ac_exec_ext in '' $ac_executable_extensions; do
4878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4879 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4889 DUMPBIN=$ac_cv_prog_DUMPBIN
4890 if test -n "$DUMPBIN"; then
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4892 $as_echo "$DUMPBIN" >&6; }
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4895 $as_echo "no" >&6; }
4899 test -n "$DUMPBIN" && break
4902 if test -z "$DUMPBIN"; then
4903 ac_ct_DUMPBIN=$DUMPBIN
4904 for ac_prog in dumpbin "link -dump"
4906 # Extract the first word of "$ac_prog", so it can be a program name with args.
4907 set dummy $ac_prog; ac_word=$2
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4909 $as_echo_n "checking for $ac_word... " >&6; }
4910 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4911 $as_echo_n "(cached) " >&6
4913 if test -n "$ac_ct_DUMPBIN"; then
4914 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4920 test -z "$as_dir" && as_dir=.
4921 for ac_exec_ext in '' $ac_executable_extensions; do
4922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4923 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4933 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4934 if test -n "$ac_ct_DUMPBIN"; then
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4936 $as_echo "$ac_ct_DUMPBIN" >&6; }
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4939 $as_echo "no" >&6; }
4943 test -n "$ac_ct_DUMPBIN" && break
4946 if test "x$ac_ct_DUMPBIN" = x; then
4949 case $cross_compiling:$ac_tool_warned in
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4952 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4953 ac_tool_warned=yes ;;
4955 DUMPBIN=$ac_ct_DUMPBIN
4959 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4961 DUMPBIN="$DUMPBIN -symbols"
4969 if test "$DUMPBIN" != ":"; then
4973 test -z "$NM" && NM=nm
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4981 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4982 if ${lt_cv_nm_interface+:} false; then :
4983 $as_echo_n "(cached) " >&6
4985 lt_cv_nm_interface="BSD nm"
4986 echo "int some_variable = 0;" > conftest.$ac_ext
4987 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4988 (eval "$ac_compile" 2>conftest.err)
4989 cat conftest.err >&5
4990 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4991 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4992 cat conftest.err >&5
4993 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4994 cat conftest.out >&5
4995 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4996 lt_cv_nm_interface="MS dumpbin"
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5001 $as_echo "$lt_cv_nm_interface" >&6; }
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5004 $as_echo_n "checking whether ln -s works... " >&6; }
5006 if test "$LN_S" = "ln -s"; then
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5008 $as_echo "yes" >&6; }
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5011 $as_echo "no, using $LN_S" >&6; }
5014 # find the maximum length of command line arguments
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5016 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5017 if ${lt_cv_sys_max_cmd_len+:} false; then :
5018 $as_echo_n "(cached) " >&6
5025 # On DJGPP, this test can blow up pretty badly due to problems in libc
5026 # (any single argument exceeding 2000 bytes causes a buffer overrun
5027 # during glob expansion). Even if it were fixed, the result of this
5028 # check would be larger than it should be.
5029 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5033 # Under GNU Hurd, this test is not required because there is
5034 # no limit to the length of command line arguments.
5035 # Libtool will interpret -1 as no limit whatsoever
5036 lt_cv_sys_max_cmd_len=-1;
5039 cygwin* | mingw* | cegcc*)
5040 # On Win9x/ME, this test blows up -- it succeeds, but takes
5041 # about 5 minutes as the teststring grows exponentially.
5042 # Worse, since 9x/ME are not pre-emptively multitasking,
5043 # you end up with a "frozen" computer, even though with patience
5044 # the test eventually succeeds (with a max line length of 256k).
5045 # Instead, let's just punt: use the minimum linelength reported by
5046 # all of the supported platforms: 8192 (on NT/2K/XP).
5047 lt_cv_sys_max_cmd_len=8192;
5051 # On MiNT this can take a long time and run out of memory.
5052 lt_cv_sys_max_cmd_len=8192;
5056 # On AmigaOS with pdksh, this test takes hours, literally.
5057 # So we just punt and use a minimum line length of 8192.
5058 lt_cv_sys_max_cmd_len=8192;
5061 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5062 # This has been around since 386BSD, at least. Likely further.
5063 if test -x /sbin/sysctl; then
5064 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5065 elif test -x /usr/sbin/sysctl; then
5066 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5068 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5070 # And add a safety zone
5071 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5072 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5076 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5077 lt_cv_sys_max_cmd_len=196608
5081 # The test takes a long time on OS/2.
5082 lt_cv_sys_max_cmd_len=8192
5086 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5087 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5088 # nice to cause kernel panics so lets avoid the loop below.
5089 # First set a reasonable default.
5090 lt_cv_sys_max_cmd_len=16384
5092 if test -x /sbin/sysconfig; then
5093 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5094 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5099 lt_cv_sys_max_cmd_len=102400
5101 sysv5* | sco5v6* | sysv4.2uw2*)
5102 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5103 if test -n "$kargmax"; then
5104 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5106 lt_cv_sys_max_cmd_len=32768
5110 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5111 if test -n "$lt_cv_sys_max_cmd_len"; then
5112 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5113 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5115 # Make teststring a little bigger before we do anything with it.
5116 # a 1K string should be a reasonable start.
5117 for i in 1 2 3 4 5 6 7 8 ; do
5118 teststring=$teststring$teststring
5120 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5121 # If test is not a shell built-in, we'll probably end up computing a
5122 # maximum length that is only half of the actual maximum length, but
5124 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5125 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5126 test $i != 17 # 1/2 MB should be enough
5129 teststring=$teststring$teststring
5131 # Only check the string length outside the loop.
5132 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5134 # Add a significant safety factor because C++ compilers can tack on
5135 # massive amounts of additional arguments before passing them to the
5136 # linker. It appears as though 1/2 is a usable value.
5137 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5144 if test -n $lt_cv_sys_max_cmd_len ; then
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5146 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5149 $as_echo "none" >&6; }
5151 max_cmd_len=$lt_cv_sys_max_cmd_len
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5163 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5164 # Try some XSI features
5167 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5169 && eval 'test $(( 1 + 1 )) -eq 2 \
5170 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5173 $as_echo "$xsi_shell" >&6; }
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5177 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5179 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5181 && lt_shell_append=yes
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5183 $as_echo "$lt_shell_append" >&6; }
5186 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5196 # test EBCDIC or ASCII
5197 case `echo X|tr X '\101'` in
5198 A) # ASCII based system
5199 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5200 lt_SP2NL='tr \040 \012'
5201 lt_NL2SP='tr \015\012 \040\040'
5203 *) # EBCDIC based system
5204 lt_SP2NL='tr \100 \n'
5205 lt_NL2SP='tr \r\n \100\100'
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5218 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5219 if ${lt_cv_to_host_file_cmd+:} false; then :
5220 $as_echo_n "(cached) " >&6
5225 *-*-mingw* ) # actually msys
5226 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5229 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5231 * ) # otherwise, assume *nix
5232 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5238 *-*-mingw* ) # actually msys
5239 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5242 lt_cv_to_host_file_cmd=func_convert_file_noop
5244 * ) # otherwise, assume *nix
5245 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5249 * ) # unhandled hosts (and "normal" native builds)
5250 lt_cv_to_host_file_cmd=func_convert_file_noop
5256 to_host_file_cmd=$lt_cv_to_host_file_cmd
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5258 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5265 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5266 if ${lt_cv_to_tool_file_cmd+:} false; then :
5267 $as_echo_n "(cached) " >&6
5269 #assume ordinary cross tools, or native build.
5270 lt_cv_to_tool_file_cmd=func_convert_file_noop
5274 *-*-mingw* ) # actually msys
5275 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5283 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5285 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5292 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5293 if ${lt_cv_ld_reload_flag+:} false; then :
5294 $as_echo_n "(cached) " >&6
5296 lt_cv_ld_reload_flag='-r'
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5299 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5300 reload_flag=$lt_cv_ld_reload_flag
5301 case $reload_flag in
5303 *) reload_flag=" $reload_flag" ;;
5305 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5307 cygwin* | mingw* | pw32* | cegcc*)
5308 if test "$GCC" != yes; then
5313 if test "$GCC" = yes; then
5314 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5316 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5329 if test -n "$ac_tool_prefix"; then
5330 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5331 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5333 $as_echo_n "checking for $ac_word... " >&6; }
5334 if ${ac_cv_prog_OBJDUMP+:} false; then :
5335 $as_echo_n "(cached) " >&6
5337 if test -n "$OBJDUMP"; then
5338 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5344 test -z "$as_dir" && as_dir=.
5345 for ac_exec_ext in '' $ac_executable_extensions; do
5346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5347 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5357 OBJDUMP=$ac_cv_prog_OBJDUMP
5358 if test -n "$OBJDUMP"; then
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5360 $as_echo "$OBJDUMP" >&6; }
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5363 $as_echo "no" >&6; }
5368 if test -z "$ac_cv_prog_OBJDUMP"; then
5369 ac_ct_OBJDUMP=$OBJDUMP
5370 # Extract the first word of "objdump", so it can be a program name with args.
5371 set dummy objdump; ac_word=$2
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5373 $as_echo_n "checking for $ac_word... " >&6; }
5374 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5375 $as_echo_n "(cached) " >&6
5377 if test -n "$ac_ct_OBJDUMP"; then
5378 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5384 test -z "$as_dir" && as_dir=.
5385 for ac_exec_ext in '' $ac_executable_extensions; do
5386 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5387 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5397 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5398 if test -n "$ac_ct_OBJDUMP"; then
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5400 $as_echo "$ac_ct_OBJDUMP" >&6; }
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5403 $as_echo "no" >&6; }
5406 if test "x$ac_ct_OBJDUMP" = x; then
5409 case $cross_compiling:$ac_tool_warned in
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5412 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5413 ac_tool_warned=yes ;;
5415 OBJDUMP=$ac_ct_OBJDUMP
5418 OBJDUMP="$ac_cv_prog_OBJDUMP"
5421 test -z "$OBJDUMP" && OBJDUMP=objdump
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5429 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5430 if ${lt_cv_deplibs_check_method+:} false; then :
5431 $as_echo_n "(cached) " >&6
5433 lt_cv_file_magic_cmd='$MAGIC_CMD'
5434 lt_cv_file_magic_test_file=
5435 lt_cv_deplibs_check_method='unknown'
5436 # Need to set the preceding variable on all platforms that support
5437 # interlibrary dependencies.
5438 # 'none' -- dependencies not supported.
5439 # `unknown' -- same as none, but documents that we really don't know.
5440 # 'pass_all' -- all dependencies passed with no checks.
5441 # 'test_compile' -- check by making test program.
5442 # 'file_magic [[regex]]' -- check by looking for files in library path
5443 # which responds to the $file_magic_cmd with a given extended regex.
5444 # If you have `file' or equivalent on your system and you're not sure
5445 # whether `pass_all' will *always* work, you probably want this one.
5449 lt_cv_deplibs_check_method=pass_all
5453 lt_cv_deplibs_check_method=pass_all
5457 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5458 lt_cv_file_magic_cmd='/usr/bin/file -L'
5459 lt_cv_file_magic_test_file=/shlib/libc.so
5463 # func_win32_libid is a shell function defined in ltmain.sh
5464 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5465 lt_cv_file_magic_cmd='func_win32_libid'
5469 # Base MSYS/MinGW do not provide the 'file' command needed by
5470 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5471 # unless we find 'file', for example because we are cross-compiling.
5472 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5473 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5474 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5475 lt_cv_file_magic_cmd='func_win32_libid'
5477 # Keep this pattern in sync with the one in func_win32_libid.
5478 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5479 lt_cv_file_magic_cmd='$OBJDUMP -f'
5484 # use the weaker test based on 'objdump'. See mingw*.
5485 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5486 lt_cv_file_magic_cmd='$OBJDUMP -f'
5489 darwin* | rhapsody*)
5490 lt_cv_deplibs_check_method=pass_all
5493 freebsd* | dragonfly*)
5494 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5497 # Not sure whether the presence of OpenBSD here was a mistake.
5498 # Let's accept both of them until this is cleared up.
5499 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5500 lt_cv_file_magic_cmd=/usr/bin/file
5501 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5505 lt_cv_deplibs_check_method=pass_all
5510 lt_cv_deplibs_check_method=pass_all
5514 lt_cv_deplibs_check_method=pass_all
5517 hpux10.20* | hpux11*)
5518 lt_cv_file_magic_cmd=/usr/bin/file
5521 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5522 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5525 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]'
5526 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5529 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5530 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5536 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5537 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5540 irix5* | irix6* | nonstopux*)
5542 *-32|*"-32 ") libmagic=32-bit;;
5543 *-n32|*"-n32 ") libmagic=N32;;
5544 *-64|*"-64 ") libmagic=64-bit;;
5545 *) libmagic=never-match;;
5547 lt_cv_deplibs_check_method=pass_all
5550 # This must be glibc/ELF.
5551 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5552 lt_cv_deplibs_check_method=pass_all
5555 netbsd* | netbsdelf*-gnu)
5556 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5557 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5559 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5564 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5565 lt_cv_file_magic_cmd=/usr/bin/file
5566 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5570 lt_cv_deplibs_check_method=pass_all
5574 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5575 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5577 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5581 osf3* | osf4* | osf5*)
5582 lt_cv_deplibs_check_method=pass_all
5586 lt_cv_deplibs_check_method=pass_all
5590 lt_cv_deplibs_check_method=pass_all
5593 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5594 lt_cv_deplibs_check_method=pass_all
5598 case $host_vendor in
5600 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]'
5601 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5604 lt_cv_deplibs_check_method=pass_all
5607 lt_cv_file_magic_cmd='/bin/file'
5608 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5611 lt_cv_file_magic_cmd='/bin/file'
5612 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5613 lt_cv_file_magic_test_file=/lib/libc.so
5616 lt_cv_deplibs_check_method=pass_all
5619 lt_cv_deplibs_check_method=pass_all
5625 lt_cv_deplibs_check_method=pass_all
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5631 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5635 if test "$build" = "$host"; then
5638 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5641 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5647 file_magic_cmd=$lt_cv_file_magic_cmd
5648 deplibs_check_method=$lt_cv_deplibs_check_method
5649 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5672 if test -n "$ac_tool_prefix"; then
5673 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5674 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5676 $as_echo_n "checking for $ac_word... " >&6; }
5677 if ${ac_cv_prog_DLLTOOL+:} false; then :
5678 $as_echo_n "(cached) " >&6
5680 if test -n "$DLLTOOL"; then
5681 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5687 test -z "$as_dir" && as_dir=.
5688 for ac_exec_ext in '' $ac_executable_extensions; do
5689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5690 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5700 DLLTOOL=$ac_cv_prog_DLLTOOL
5701 if test -n "$DLLTOOL"; then
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5703 $as_echo "$DLLTOOL" >&6; }
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5706 $as_echo "no" >&6; }
5711 if test -z "$ac_cv_prog_DLLTOOL"; then
5712 ac_ct_DLLTOOL=$DLLTOOL
5713 # Extract the first word of "dlltool", so it can be a program name with args.
5714 set dummy dlltool; ac_word=$2
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5716 $as_echo_n "checking for $ac_word... " >&6; }
5717 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5718 $as_echo_n "(cached) " >&6
5720 if test -n "$ac_ct_DLLTOOL"; then
5721 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5727 test -z "$as_dir" && as_dir=.
5728 for ac_exec_ext in '' $ac_executable_extensions; do
5729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5730 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5740 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5741 if test -n "$ac_ct_DLLTOOL"; then
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5743 $as_echo "$ac_ct_DLLTOOL" >&6; }
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5746 $as_echo "no" >&6; }
5749 if test "x$ac_ct_DLLTOOL" = x; then
5752 case $cross_compiling:$ac_tool_warned in
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5755 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5756 ac_tool_warned=yes ;;
5758 DLLTOOL=$ac_ct_DLLTOOL
5761 DLLTOOL="$ac_cv_prog_DLLTOOL"
5764 test -z "$DLLTOOL" && DLLTOOL=dlltool
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5773 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5774 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5775 $as_echo_n "(cached) " >&6
5777 lt_cv_sharedlib_from_linklib_cmd='unknown'
5780 cygwin* | mingw* | pw32* | cegcc*)
5781 # two different shell functions defined in ltmain.sh
5782 # decide which to use based on capabilities of $DLLTOOL
5783 case `$DLLTOOL --help 2>&1` in
5784 *--identify-strict*)
5785 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5788 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5793 # fallback: assume linklib IS sharedlib
5794 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5800 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5801 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5802 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5811 if test -n "$ac_tool_prefix"; then
5814 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5815 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5817 $as_echo_n "checking for $ac_word... " >&6; }
5818 if ${ac_cv_prog_AR+:} false; then :
5819 $as_echo_n "(cached) " >&6
5821 if test -n "$AR"; then
5822 ac_cv_prog_AR="$AR" # Let the user override the test.
5824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5828 test -z "$as_dir" && as_dir=.
5829 for ac_exec_ext in '' $ac_executable_extensions; do
5830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5831 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5842 if test -n "$AR"; then
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5844 $as_echo "$AR" >&6; }
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5847 $as_echo "no" >&6; }
5851 test -n "$AR" && break
5854 if test -z "$AR"; then
5858 # Extract the first word of "$ac_prog", so it can be a program name with args.
5859 set dummy $ac_prog; ac_word=$2
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5861 $as_echo_n "checking for $ac_word... " >&6; }
5862 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5863 $as_echo_n "(cached) " >&6
5865 if test -n "$ac_ct_AR"; then
5866 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5872 test -z "$as_dir" && as_dir=.
5873 for ac_exec_ext in '' $ac_executable_extensions; do
5874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5875 ac_cv_prog_ac_ct_AR="$ac_prog"
5876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5885 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5886 if test -n "$ac_ct_AR"; then
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5888 $as_echo "$ac_ct_AR" >&6; }
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5891 $as_echo "no" >&6; }
5895 test -n "$ac_ct_AR" && break
5898 if test "x$ac_ct_AR" = x; then
5901 case $cross_compiling:$ac_tool_warned in
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5904 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5905 ac_tool_warned=yes ;;
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5925 $as_echo_n "checking for archiver @FILE support... " >&6; }
5926 if ${lt_cv_ar_at_file+:} false; then :
5927 $as_echo_n "(cached) " >&6
5930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5931 /* end confdefs.h. */
5941 if ac_fn_c_try_compile "$LINENO"; then :
5942 echo conftest.$ac_objext > conftest.lst
5943 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5944 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5945 (eval $lt_ar_try) 2>&5
5947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5948 test $ac_status = 0; }
5949 if test "$ac_status" -eq 0; then
5950 # Ensure the archiver fails upon bogus file names.
5951 rm -f conftest.$ac_objext libconftest.a
5952 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5953 (eval $lt_ar_try) 2>&5
5955 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5956 test $ac_status = 0; }
5957 if test "$ac_status" -ne 0; then
5961 rm -f conftest.* libconftest.a
5964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5968 $as_echo "$lt_cv_ar_at_file" >&6; }
5970 if test "x$lt_cv_ar_at_file" = xno; then
5973 archiver_list_spec=$lt_cv_ar_at_file
5982 if test -n "$ac_tool_prefix"; then
5983 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5984 set dummy ${ac_tool_prefix}strip; ac_word=$2
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5986 $as_echo_n "checking for $ac_word... " >&6; }
5987 if ${ac_cv_prog_STRIP+:} false; then :
5988 $as_echo_n "(cached) " >&6
5990 if test -n "$STRIP"; then
5991 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5997 test -z "$as_dir" && as_dir=.
5998 for ac_exec_ext in '' $ac_executable_extensions; do
5999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6000 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6010 STRIP=$ac_cv_prog_STRIP
6011 if test -n "$STRIP"; then
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6013 $as_echo "$STRIP" >&6; }
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6016 $as_echo "no" >&6; }
6021 if test -z "$ac_cv_prog_STRIP"; then
6023 # Extract the first word of "strip", so it can be a program name with args.
6024 set dummy strip; ac_word=$2
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6026 $as_echo_n "checking for $ac_word... " >&6; }
6027 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6028 $as_echo_n "(cached) " >&6
6030 if test -n "$ac_ct_STRIP"; then
6031 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6037 test -z "$as_dir" && as_dir=.
6038 for ac_exec_ext in '' $ac_executable_extensions; do
6039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6040 ac_cv_prog_ac_ct_STRIP="strip"
6041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6050 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6051 if test -n "$ac_ct_STRIP"; then
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6053 $as_echo "$ac_ct_STRIP" >&6; }
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6056 $as_echo "no" >&6; }
6059 if test "x$ac_ct_STRIP" = x; then
6062 case $cross_compiling:$ac_tool_warned in
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6065 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6066 ac_tool_warned=yes ;;
6071 STRIP="$ac_cv_prog_STRIP"
6074 test -z "$STRIP" && STRIP=:
6081 if test -n "$ac_tool_prefix"; then
6082 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6083 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6085 $as_echo_n "checking for $ac_word... " >&6; }
6086 if ${ac_cv_prog_RANLIB+:} false; then :
6087 $as_echo_n "(cached) " >&6
6089 if test -n "$RANLIB"; then
6090 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6096 test -z "$as_dir" && as_dir=.
6097 for ac_exec_ext in '' $ac_executable_extensions; do
6098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6099 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6109 RANLIB=$ac_cv_prog_RANLIB
6110 if test -n "$RANLIB"; then
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6112 $as_echo "$RANLIB" >&6; }
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6115 $as_echo "no" >&6; }
6120 if test -z "$ac_cv_prog_RANLIB"; then
6121 ac_ct_RANLIB=$RANLIB
6122 # Extract the first word of "ranlib", so it can be a program name with args.
6123 set dummy ranlib; ac_word=$2
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6125 $as_echo_n "checking for $ac_word... " >&6; }
6126 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6127 $as_echo_n "(cached) " >&6
6129 if test -n "$ac_ct_RANLIB"; then
6130 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6136 test -z "$as_dir" && as_dir=.
6137 for ac_exec_ext in '' $ac_executable_extensions; do
6138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6139 ac_cv_prog_ac_ct_RANLIB="ranlib"
6140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6149 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6150 if test -n "$ac_ct_RANLIB"; then
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6152 $as_echo "$ac_ct_RANLIB" >&6; }
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6155 $as_echo "no" >&6; }
6158 if test "x$ac_ct_RANLIB" = x; then
6161 case $cross_compiling:$ac_tool_warned in
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6164 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6165 ac_tool_warned=yes ;;
6167 RANLIB=$ac_ct_RANLIB
6170 RANLIB="$ac_cv_prog_RANLIB"
6173 test -z "$RANLIB" && RANLIB=:
6180 # Determine commands to create old-style static archives.
6181 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6182 old_postinstall_cmds='chmod 644 $oldlib'
6183 old_postuninstall_cmds=
6185 if test -n "$RANLIB"; then
6188 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6191 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6194 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6199 lock_old_archive_extraction=yes ;;
6201 lock_old_archive_extraction=no ;;
6242 # If no C compiler was specified, use CC.
6245 # If no C compiler flags were specified, use CFLAGS.
6246 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6248 # Allow CC to be a program name with arguments.
6252 # Check for command to grab the raw symbol name followed by C symbol from nm.
6253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6254 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6255 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6256 $as_echo_n "(cached) " >&6
6259 # These are sane defaults that work on at least a few old systems.
6260 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6262 # Character class describing NM global symbol codes.
6263 symcode='[BCDEGRST]'
6265 # Regexp to match symbols that can be accessed directly from C.
6266 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6268 # Define system-specific variables.
6273 cygwin* | mingw* | pw32* | cegcc*)
6274 symcode='[ABCDGISTW]'
6277 if test "$host_cpu" = ia64; then
6278 symcode='[ABCDEGRST]'
6282 symcode='[BCDEGRST]'
6285 symcode='[BCDEGQRST]'
6296 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6304 # If we're using GNU nm, then use its standard symbol codes.
6305 case `$NM -V 2>&1` in
6306 *GNU* | *'with BFD'*)
6307 symcode='[ABCDGIRSTW]' ;;
6310 # Transform an extracted symbol line into a proper C declaration.
6311 # Some systems (esp. on ia64) link data and code symbols differently,
6312 # so use this general approach.
6313 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6315 # Transform an extracted symbol line into symbol name and symbol address
6316 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6317 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'"
6319 # Handle CRLF in mingw tool chain
6323 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6327 # Try without a prefix underscore, then with it.
6328 for ac_symprfx in "" "_"; do
6330 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6331 symxfrm="\\1 $ac_symprfx\\2 \\2"
6333 # Write the raw and C identifiers.
6334 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6335 # Fake it for dumpbin and say T for any non-static function
6336 # and D for any global variable.
6337 # Also find C++ and __fastcall symbols from MSVC++,
6338 # which start with @ or ?.
6339 lt_cv_sys_global_symbol_pipe="$AWK '"\
6340 " {last_section=section; section=\$ 3};"\
6341 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6342 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6343 " \$ 0!~/External *\|/{next};"\
6344 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6345 " {if(hide[section]) next};"\
6346 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6347 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6348 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6349 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6350 " ' prfx=^$ac_symprfx"
6352 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6354 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6356 # Check to see that the pipe works correctly.
6360 cat > conftest.$ac_ext <<_LT_EOF
6365 void nm_test_func(void);
6366 void nm_test_func(void){}
6370 int main(){nm_test_var='a';nm_test_func();return(0);}
6373 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6374 (eval $ac_compile) 2>&5
6376 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6377 test $ac_status = 0; }; then
6378 # Now try to grab the symbols.
6380 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6381 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6383 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6384 test $ac_status = 0; } && test -s "$nlist"; then
6385 # Try sorting and uniquifying the output.
6386 if sort "$nlist" | uniq > "$nlist"T; then
6387 mv -f "$nlist"T "$nlist"
6392 # Make sure that we snagged all the symbols we need.
6393 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6394 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6395 cat <<_LT_EOF > conftest.$ac_ext
6396 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6397 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6398 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6399 relocations are performed -- see ld's documentation on pseudo-relocs. */
6400 # define LT_DLSYM_CONST
6401 #elif defined(__osf__)
6402 /* This system does not cope well with relocations in const data. */
6403 # define LT_DLSYM_CONST
6405 # define LT_DLSYM_CONST const
6413 # Now generate the symbol file.
6414 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6416 cat <<_LT_EOF >> conftest.$ac_ext
6418 /* The mapping between symbol names and symbols. */
6419 LT_DLSYM_CONST struct {
6423 lt__PROGRAM__LTX_preloaded_symbols[] =
6425 { "@PROGRAM@", (void *) 0 },
6427 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6428 cat <<\_LT_EOF >> conftest.$ac_ext
6432 /* This works around a problem in FreeBSD linker */
6433 #ifdef FREEBSD_WORKAROUND
6434 static const void *lt_preloaded_setup() {
6435 return lt__PROGRAM__LTX_preloaded_symbols;
6443 # Now try linking the two files.
6444 mv conftest.$ac_objext conftstm.$ac_objext
6445 lt_globsym_save_LIBS=$LIBS
6446 lt_globsym_save_CFLAGS=$CFLAGS
6447 LIBS="conftstm.$ac_objext"
6448 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6449 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6450 (eval $ac_link) 2>&5
6452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6453 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6456 LIBS=$lt_globsym_save_LIBS
6457 CFLAGS=$lt_globsym_save_CFLAGS
6459 echo "cannot find nm_test_func in $nlist" >&5
6462 echo "cannot find nm_test_var in $nlist" >&5
6465 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6468 echo "$progname: failed program was:" >&5
6469 cat conftest.$ac_ext >&5
6471 rm -rf conftest* conftst*
6473 # Do not use the global_symbol_pipe unless it works.
6474 if test "$pipe_works" = yes; then
6477 lt_cv_sys_global_symbol_pipe=
6483 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6484 lt_cv_sys_global_symbol_to_cdecl=
6486 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6488 $as_echo "failed" >&6; }
6490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6491 $as_echo "ok" >&6; }
6494 # Response file support.
6495 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6496 nm_file_list_spec='@'
6497 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6498 nm_file_list_spec='@'
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6528 $as_echo_n "checking for sysroot... " >&6; }
6530 # Check whether --with-sysroot was given.
6531 if test "${with_sysroot+set}" = set; then :
6532 withval=$with_sysroot;
6539 case ${with_sysroot} in #(
6541 if test "$GCC" = yes; then
6542 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6546 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6552 $as_echo "${with_sysroot}" >&6; }
6553 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6558 $as_echo "${lt_sysroot:-no}" >&6; }
6564 # Check whether --enable-libtool-lock was given.
6565 if test "${enable_libtool_lock+set}" = set; then :
6566 enableval=$enable_libtool_lock;
6569 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6571 # Some flags need to be propagated to the compiler or linker for good
6575 # Find out which ABI we are using.
6576 echo 'int i;' > conftest.$ac_ext
6577 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6578 (eval $ac_compile) 2>&5
6580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6581 test $ac_status = 0; }; then
6582 case `/usr/bin/file conftest.$ac_objext` in
6594 # Find out which ABI we are using.
6595 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6596 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6597 (eval $ac_compile) 2>&5
6599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6600 test $ac_status = 0; }; then
6601 if test "$lt_cv_prog_gnu_ld" = yes; then
6602 case `/usr/bin/file conftest.$ac_objext` in
6604 LD="${LD-ld} -melf32bsmip"
6607 LD="${LD-ld} -melf32bmipn32"
6610 LD="${LD-ld} -melf64bmip"
6614 case `/usr/bin/file conftest.$ac_objext` in
6630 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6631 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6632 # Find out which ABI we are using.
6633 echo 'int i;' > conftest.$ac_ext
6634 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6635 (eval $ac_compile) 2>&5
6637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6638 test $ac_status = 0; }; then
6639 case `/usr/bin/file conftest.o` in
6642 x86_64-*kfreebsd*-gnu)
6643 LD="${LD-ld} -m elf_i386_fbsd"
6646 LD="${LD-ld} -m elf_i386"
6648 ppc64-*linux*|powerpc64-*linux*)
6649 LD="${LD-ld} -m elf32ppclinux"
6652 LD="${LD-ld} -m elf_s390"
6655 LD="${LD-ld} -m elf32_sparc"
6661 x86_64-*kfreebsd*-gnu)
6662 LD="${LD-ld} -m elf_x86_64_fbsd"
6665 LD="${LD-ld} -m elf_x86_64"
6667 ppc*-*linux*|powerpc*-*linux*)
6668 LD="${LD-ld} -m elf64ppc"
6670 s390*-*linux*|s390*-*tpf*)
6671 LD="${LD-ld} -m elf64_s390"
6674 LD="${LD-ld} -m elf64_sparc"
6684 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6685 SAVE_CFLAGS="$CFLAGS"
6686 CFLAGS="$CFLAGS -belf"
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6688 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6689 if ${lt_cv_cc_needs_belf+:} false; then :
6690 $as_echo_n "(cached) " >&6
6693 ac_cpp='$CPP $CPPFLAGS'
6694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6699 /* end confdefs.h. */
6709 if ac_fn_c_try_link "$LINENO"; then :
6710 lt_cv_cc_needs_belf=yes
6712 lt_cv_cc_needs_belf=no
6714 rm -f core conftest.err conftest.$ac_objext \
6715 conftest$ac_exeext conftest.$ac_ext
6717 ac_cpp='$CPP $CPPFLAGS'
6718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6724 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6725 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6726 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6727 CFLAGS="$SAVE_CFLAGS"
6731 # Find out which ABI we are using.
6732 echo 'int i;' > conftest.$ac_ext
6733 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6734 (eval $ac_compile) 2>&5
6736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6737 test $ac_status = 0; }; then
6738 case `/usr/bin/file conftest.o` in
6740 case $lt_cv_prog_gnu_ld in
6744 LD="${LD-ld} -m elf_x86_64"
6747 LD="${LD-ld} -m elf64_sparc"
6750 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6751 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6756 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6768 need_locks="$enable_libtool_lock"
6770 if test -n "$ac_tool_prefix"; then
6771 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6772 set dummy ${ac_tool_prefix}mt; ac_word=$2
6773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6774 $as_echo_n "checking for $ac_word... " >&6; }
6775 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6776 $as_echo_n "(cached) " >&6
6778 if test -n "$MANIFEST_TOOL"; then
6779 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6785 test -z "$as_dir" && as_dir=.
6786 for ac_exec_ext in '' $ac_executable_extensions; do
6787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6788 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6798 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6799 if test -n "$MANIFEST_TOOL"; then
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6801 $as_echo "$MANIFEST_TOOL" >&6; }
6803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6804 $as_echo "no" >&6; }
6809 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6810 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6811 # Extract the first word of "mt", so it can be a program name with args.
6812 set dummy mt; ac_word=$2
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6814 $as_echo_n "checking for $ac_word... " >&6; }
6815 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6816 $as_echo_n "(cached) " >&6
6818 if test -n "$ac_ct_MANIFEST_TOOL"; then
6819 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6825 test -z "$as_dir" && as_dir=.
6826 for ac_exec_ext in '' $ac_executable_extensions; do
6827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6828 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6838 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6839 if test -n "$ac_ct_MANIFEST_TOOL"; then
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6841 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6844 $as_echo "no" >&6; }
6847 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6850 case $cross_compiling:$ac_tool_warned in
6852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6853 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6854 ac_tool_warned=yes ;;
6856 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6859 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6862 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6864 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6865 if ${lt_cv_path_mainfest_tool+:} false; then :
6866 $as_echo_n "(cached) " >&6
6868 lt_cv_path_mainfest_tool=no
6869 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6870 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6871 cat conftest.err >&5
6872 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6873 lt_cv_path_mainfest_tool=yes
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6878 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6879 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6889 rhapsody* | darwin*)
6890 if test -n "$ac_tool_prefix"; then
6891 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6892 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6894 $as_echo_n "checking for $ac_word... " >&6; }
6895 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6896 $as_echo_n "(cached) " >&6
6898 if test -n "$DSYMUTIL"; then
6899 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6905 test -z "$as_dir" && as_dir=.
6906 for ac_exec_ext in '' $ac_executable_extensions; do
6907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6908 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6918 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6919 if test -n "$DSYMUTIL"; then
6920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6921 $as_echo "$DSYMUTIL" >&6; }
6923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6924 $as_echo "no" >&6; }
6929 if test -z "$ac_cv_prog_DSYMUTIL"; then
6930 ac_ct_DSYMUTIL=$DSYMUTIL
6931 # Extract the first word of "dsymutil", so it can be a program name with args.
6932 set dummy dsymutil; ac_word=$2
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6934 $as_echo_n "checking for $ac_word... " >&6; }
6935 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6936 $as_echo_n "(cached) " >&6
6938 if test -n "$ac_ct_DSYMUTIL"; then
6939 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6945 test -z "$as_dir" && as_dir=.
6946 for ac_exec_ext in '' $ac_executable_extensions; do
6947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6948 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6958 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6959 if test -n "$ac_ct_DSYMUTIL"; then
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6961 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6964 $as_echo "no" >&6; }
6967 if test "x$ac_ct_DSYMUTIL" = x; then
6970 case $cross_compiling:$ac_tool_warned in
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6973 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6974 ac_tool_warned=yes ;;
6976 DSYMUTIL=$ac_ct_DSYMUTIL
6979 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6982 if test -n "$ac_tool_prefix"; then
6983 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6984 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6986 $as_echo_n "checking for $ac_word... " >&6; }
6987 if ${ac_cv_prog_NMEDIT+:} false; then :
6988 $as_echo_n "(cached) " >&6
6990 if test -n "$NMEDIT"; then
6991 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6997 test -z "$as_dir" && as_dir=.
6998 for ac_exec_ext in '' $ac_executable_extensions; do
6999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7000 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7010 NMEDIT=$ac_cv_prog_NMEDIT
7011 if test -n "$NMEDIT"; then
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7013 $as_echo "$NMEDIT" >&6; }
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7016 $as_echo "no" >&6; }
7021 if test -z "$ac_cv_prog_NMEDIT"; then
7022 ac_ct_NMEDIT=$NMEDIT
7023 # Extract the first word of "nmedit", so it can be a program name with args.
7024 set dummy nmedit; ac_word=$2
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7026 $as_echo_n "checking for $ac_word... " >&6; }
7027 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7028 $as_echo_n "(cached) " >&6
7030 if test -n "$ac_ct_NMEDIT"; then
7031 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7037 test -z "$as_dir" && as_dir=.
7038 for ac_exec_ext in '' $ac_executable_extensions; do
7039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7040 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7050 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7051 if test -n "$ac_ct_NMEDIT"; then
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7053 $as_echo "$ac_ct_NMEDIT" >&6; }
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7056 $as_echo "no" >&6; }
7059 if test "x$ac_ct_NMEDIT" = x; then
7062 case $cross_compiling:$ac_tool_warned in
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7065 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7066 ac_tool_warned=yes ;;
7068 NMEDIT=$ac_ct_NMEDIT
7071 NMEDIT="$ac_cv_prog_NMEDIT"
7074 if test -n "$ac_tool_prefix"; then
7075 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7076 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7078 $as_echo_n "checking for $ac_word... " >&6; }
7079 if ${ac_cv_prog_LIPO+:} false; then :
7080 $as_echo_n "(cached) " >&6
7082 if test -n "$LIPO"; then
7083 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7089 test -z "$as_dir" && as_dir=.
7090 for ac_exec_ext in '' $ac_executable_extensions; do
7091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7092 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7102 LIPO=$ac_cv_prog_LIPO
7103 if test -n "$LIPO"; then
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7105 $as_echo "$LIPO" >&6; }
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7108 $as_echo "no" >&6; }
7113 if test -z "$ac_cv_prog_LIPO"; then
7115 # Extract the first word of "lipo", so it can be a program name with args.
7116 set dummy lipo; ac_word=$2
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7118 $as_echo_n "checking for $ac_word... " >&6; }
7119 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7120 $as_echo_n "(cached) " >&6
7122 if test -n "$ac_ct_LIPO"; then
7123 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7129 test -z "$as_dir" && as_dir=.
7130 for ac_exec_ext in '' $ac_executable_extensions; do
7131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7132 ac_cv_prog_ac_ct_LIPO="lipo"
7133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7142 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7143 if test -n "$ac_ct_LIPO"; then
7144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7145 $as_echo "$ac_ct_LIPO" >&6; }
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7148 $as_echo "no" >&6; }
7151 if test "x$ac_ct_LIPO" = x; then
7154 case $cross_compiling:$ac_tool_warned in
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7157 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7158 ac_tool_warned=yes ;;
7163 LIPO="$ac_cv_prog_LIPO"
7166 if test -n "$ac_tool_prefix"; then
7167 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7168 set dummy ${ac_tool_prefix}otool; ac_word=$2
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7170 $as_echo_n "checking for $ac_word... " >&6; }
7171 if ${ac_cv_prog_OTOOL+:} false; then :
7172 $as_echo_n "(cached) " >&6
7174 if test -n "$OTOOL"; then
7175 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7181 test -z "$as_dir" && as_dir=.
7182 for ac_exec_ext in '' $ac_executable_extensions; do
7183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7184 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7194 OTOOL=$ac_cv_prog_OTOOL
7195 if test -n "$OTOOL"; then
7196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7197 $as_echo "$OTOOL" >&6; }
7199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7200 $as_echo "no" >&6; }
7205 if test -z "$ac_cv_prog_OTOOL"; then
7207 # Extract the first word of "otool", so it can be a program name with args.
7208 set dummy otool; ac_word=$2
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7210 $as_echo_n "checking for $ac_word... " >&6; }
7211 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7212 $as_echo_n "(cached) " >&6
7214 if test -n "$ac_ct_OTOOL"; then
7215 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7221 test -z "$as_dir" && as_dir=.
7222 for ac_exec_ext in '' $ac_executable_extensions; do
7223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7224 ac_cv_prog_ac_ct_OTOOL="otool"
7225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7234 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7235 if test -n "$ac_ct_OTOOL"; then
7236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7237 $as_echo "$ac_ct_OTOOL" >&6; }
7239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7240 $as_echo "no" >&6; }
7243 if test "x$ac_ct_OTOOL" = x; then
7246 case $cross_compiling:$ac_tool_warned in
7248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7249 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7250 ac_tool_warned=yes ;;
7255 OTOOL="$ac_cv_prog_OTOOL"
7258 if test -n "$ac_tool_prefix"; then
7259 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7260 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7262 $as_echo_n "checking for $ac_word... " >&6; }
7263 if ${ac_cv_prog_OTOOL64+:} false; then :
7264 $as_echo_n "(cached) " >&6
7266 if test -n "$OTOOL64"; then
7267 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7273 test -z "$as_dir" && as_dir=.
7274 for ac_exec_ext in '' $ac_executable_extensions; do
7275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7276 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7286 OTOOL64=$ac_cv_prog_OTOOL64
7287 if test -n "$OTOOL64"; then
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7289 $as_echo "$OTOOL64" >&6; }
7291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7292 $as_echo "no" >&6; }
7297 if test -z "$ac_cv_prog_OTOOL64"; then
7298 ac_ct_OTOOL64=$OTOOL64
7299 # Extract the first word of "otool64", so it can be a program name with args.
7300 set dummy otool64; ac_word=$2
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7302 $as_echo_n "checking for $ac_word... " >&6; }
7303 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7304 $as_echo_n "(cached) " >&6
7306 if test -n "$ac_ct_OTOOL64"; then
7307 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7313 test -z "$as_dir" && as_dir=.
7314 for ac_exec_ext in '' $ac_executable_extensions; do
7315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7316 ac_cv_prog_ac_ct_OTOOL64="otool64"
7317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7326 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7327 if test -n "$ac_ct_OTOOL64"; then
7328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7329 $as_echo "$ac_ct_OTOOL64" >&6; }
7331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7332 $as_echo "no" >&6; }
7335 if test "x$ac_ct_OTOOL64" = x; then
7338 case $cross_compiling:$ac_tool_warned in
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7341 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7342 ac_tool_warned=yes ;;
7344 OTOOL64=$ac_ct_OTOOL64
7347 OTOOL64="$ac_cv_prog_OTOOL64"
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7377 $as_echo_n "checking for -single_module linker flag... " >&6; }
7378 if ${lt_cv_apple_cc_single_mod+:} false; then :
7379 $as_echo_n "(cached) " >&6
7381 lt_cv_apple_cc_single_mod=no
7382 if test -z "${LT_MULTI_MODULE}"; then
7383 # By default we will add the -single_module flag. You can override
7384 # by either setting the environment variable LT_MULTI_MODULE
7385 # non-empty at configure time, or by adding -multi_module to the
7387 rm -rf libconftest.dylib*
7388 echo "int foo(void){return 1;}" > conftest.c
7389 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7390 -dynamiclib -Wl,-single_module conftest.c" >&5
7391 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7392 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7394 # If there is a non-empty error log, and "single_module"
7395 # appears in it, assume the flag caused a linker warning
7396 if test -s conftest.err && $GREP single_module conftest.err; then
7397 cat conftest.err >&5
7398 # Otherwise, if the output was created with a 0 exit code from
7399 # the compiler, it worked.
7400 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7401 lt_cv_apple_cc_single_mod=yes
7403 cat conftest.err >&5
7405 rm -rf libconftest.dylib*
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7410 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7413 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7414 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7415 $as_echo_n "(cached) " >&6
7417 lt_cv_ld_exported_symbols_list=no
7418 save_LDFLAGS=$LDFLAGS
7419 echo "_main" > conftest.sym
7420 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7422 /* end confdefs.h. */
7432 if ac_fn_c_try_link "$LINENO"; then :
7433 lt_cv_ld_exported_symbols_list=yes
7435 lt_cv_ld_exported_symbols_list=no
7437 rm -f core conftest.err conftest.$ac_objext \
7438 conftest$ac_exeext conftest.$ac_ext
7439 LDFLAGS="$save_LDFLAGS"
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7443 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7446 $as_echo_n "checking for -force_load linker flag... " >&6; }
7447 if ${lt_cv_ld_force_load+:} false; then :
7448 $as_echo_n "(cached) " >&6
7450 lt_cv_ld_force_load=no
7451 cat > conftest.c << _LT_EOF
7452 int forced_loaded() { return 2;}
7454 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7455 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7456 echo "$AR cru libconftest.a conftest.o" >&5
7457 $AR cru libconftest.a conftest.o 2>&5
7458 echo "$RANLIB libconftest.a" >&5
7459 $RANLIB libconftest.a 2>&5
7460 cat > conftest.c << _LT_EOF
7461 int main() { return 0;}
7463 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7464 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7466 if test -s conftest.err && $GREP force_load conftest.err; then
7467 cat conftest.err >&5
7468 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7469 lt_cv_ld_force_load=yes
7471 cat conftest.err >&5
7473 rm -f conftest.err libconftest.a conftest conftest.c
7474 rm -rf conftest.dSYM
7477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7478 $as_echo "$lt_cv_ld_force_load" >&6; }
7480 rhapsody* | darwin1.[012])
7481 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7483 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7484 darwin*) # darwin 5.x on
7485 # if running on 10.5 or later, the deployment target defaults
7486 # to the OS version, if on x86, and 10.4, the deployment
7487 # target defaults to 10.4. Don't you love it?
7488 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7489 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7490 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7492 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7494 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7498 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7499 _lt_dar_single_mod='$single_module'
7501 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7502 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7504 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7506 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7507 _lt_dsymutil='~$DSYMUTIL $lib || :'
7515 ac_cpp='$CPP $CPPFLAGS'
7516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7520 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7521 # On Suns, sometimes $CPP names a directory.
7522 if test -n "$CPP" && test -d "$CPP"; then
7525 if test -z "$CPP"; then
7526 if ${ac_cv_prog_CPP+:} false; then :
7527 $as_echo_n "(cached) " >&6
7529 # Double quotes because CPP needs to be expanded
7530 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7533 for ac_c_preproc_warn_flag in '' yes
7535 # Use a header file that comes with gcc, so configuring glibc
7536 # with a fresh cross-compiler works.
7537 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7538 # <limits.h> exists even on freestanding compilers.
7539 # On the NeXT, cc -E runs the code through the compiler's parser,
7540 # not just through cpp. "Syntax error" is here to catch this case.
7541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7542 /* end confdefs.h. */
7544 # include <limits.h>
7546 # include <assert.h>
7550 if ac_fn_c_try_cpp "$LINENO"; then :
7553 # Broken: fails on valid input.
7556 rm -f conftest.err conftest.i conftest.$ac_ext
7558 # OK, works on sane cases. Now check whether nonexistent headers
7559 # can be detected and how.
7560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7561 /* end confdefs.h. */
7562 #include <ac_nonexistent.h>
7564 if ac_fn_c_try_cpp "$LINENO"; then :
7565 # Broken: success on invalid input.
7568 # Passes both tests.
7572 rm -f conftest.err conftest.i conftest.$ac_ext
7575 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7576 rm -f conftest.i conftest.err conftest.$ac_ext
7577 if $ac_preproc_ok; then :
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7590 $as_echo "$CPP" >&6; }
7592 for ac_c_preproc_warn_flag in '' yes
7594 # Use a header file that comes with gcc, so configuring glibc
7595 # with a fresh cross-compiler works.
7596 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7597 # <limits.h> exists even on freestanding compilers.
7598 # On the NeXT, cc -E runs the code through the compiler's parser,
7599 # not just through cpp. "Syntax error" is here to catch this case.
7600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7601 /* end confdefs.h. */
7603 # include <limits.h>
7605 # include <assert.h>
7609 if ac_fn_c_try_cpp "$LINENO"; then :
7612 # Broken: fails on valid input.
7615 rm -f conftest.err conftest.i conftest.$ac_ext
7617 # OK, works on sane cases. Now check whether nonexistent headers
7618 # can be detected and how.
7619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7620 /* end confdefs.h. */
7621 #include <ac_nonexistent.h>
7623 if ac_fn_c_try_cpp "$LINENO"; then :
7624 # Broken: success on invalid input.
7627 # Passes both tests.
7631 rm -f conftest.err conftest.i conftest.$ac_ext
7634 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7635 rm -f conftest.i conftest.err conftest.$ac_ext
7636 if $ac_preproc_ok; then :
7639 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7640 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7641 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7642 See \`config.log' for more details" "$LINENO" 5; }
7646 ac_cpp='$CPP $CPPFLAGS'
7647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7653 $as_echo_n "checking for ANSI C header files... " >&6; }
7654 if ${ac_cv_header_stdc+:} false; then :
7655 $as_echo_n "(cached) " >&6
7657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7658 /* end confdefs.h. */
7672 if ac_fn_c_try_compile "$LINENO"; then :
7673 ac_cv_header_stdc=yes
7675 ac_cv_header_stdc=no
7677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7679 if test $ac_cv_header_stdc = yes; then
7680 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7682 /* end confdefs.h. */
7686 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7687 $EGREP "memchr" >/dev/null 2>&1; then :
7690 ac_cv_header_stdc=no
7696 if test $ac_cv_header_stdc = yes; then
7697 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7699 /* end confdefs.h. */
7703 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7704 $EGREP "free" >/dev/null 2>&1; then :
7707 ac_cv_header_stdc=no
7713 if test $ac_cv_header_stdc = yes; then
7714 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7715 if test "$cross_compiling" = yes; then :
7718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7719 /* end confdefs.h. */
7722 #if ((' ' & 0x0FF) == 0x020)
7723 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7724 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7726 # define ISLOWER(c) \
7727 (('a' <= (c) && (c) <= 'i') \
7728 || ('j' <= (c) && (c) <= 'r') \
7729 || ('s' <= (c) && (c) <= 'z'))
7730 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7733 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7738 for (i = 0; i < 256; i++)
7739 if (XOR (islower (i), ISLOWER (i))
7740 || toupper (i) != TOUPPER (i))
7745 if ac_fn_c_try_run "$LINENO"; then :
7748 ac_cv_header_stdc=no
7750 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7751 conftest.$ac_objext conftest.beam conftest.$ac_ext
7756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7757 $as_echo "$ac_cv_header_stdc" >&6; }
7758 if test $ac_cv_header_stdc = yes; then
7760 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7764 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7765 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7766 inttypes.h stdint.h unistd.h
7768 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7769 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7771 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7772 cat >>confdefs.h <<_ACEOF
7773 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7781 for ac_header in dlfcn.h
7783 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7785 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7786 cat >>confdefs.h <<_ACEOF
7787 #define HAVE_DLFCN_H 1
7806 # Check whether --enable-shared was given.
7807 if test "${enable_shared+set}" = set; then :
7808 enableval=$enable_shared; p=${PACKAGE-default}
7810 yes) enable_shared=yes ;;
7811 no) enable_shared=no ;;
7814 # Look at the argument we got. We use all the common list separators.
7815 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7816 for pkg in $enableval; do
7818 if test "X$pkg" = "X$p"; then
7837 # Check whether --enable-static was given.
7838 if test "${enable_static+set}" = set; then :
7839 enableval=$enable_static; p=${PACKAGE-default}
7841 yes) enable_static=yes ;;
7842 no) enable_static=no ;;
7845 # Look at the argument we got. We use all the common list separators.
7846 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7847 for pkg in $enableval; do
7849 if test "X$pkg" = "X$p"; then
7869 # Check whether --with-pic was given.
7870 if test "${with_pic+set}" = set; then :
7871 withval=$with_pic; lt_p=${PACKAGE-default}
7873 yes|no) pic_mode=$withval ;;
7876 # Look at the argument we got. We use all the common list separators.
7877 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7878 for lt_pkg in $withval; do
7880 if test "X$lt_pkg" = "X$lt_p"; then
7892 test -z "$pic_mode" && pic_mode=default
7900 # Check whether --enable-fast-install was given.
7901 if test "${enable_fast_install+set}" = set; then :
7902 enableval=$enable_fast_install; p=${PACKAGE-default}
7904 yes) enable_fast_install=yes ;;
7905 no) enable_fast_install=no ;;
7907 enable_fast_install=no
7908 # Look at the argument we got. We use all the common list separators.
7909 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7910 for pkg in $enableval; do
7912 if test "X$pkg" = "X$p"; then
7913 enable_fast_install=yes
7920 enable_fast_install=yes
7933 # This can be used to rebuild libtool when needed
7934 LIBTOOL_DEPS="$ltmain"
7936 # Always use our own libtool.
7937 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7968 test -z "$LN_S" && LN_S="ln -s"
7983 if test -n "${ZSH_VERSION+set}" ; then
7984 setopt NO_GLOB_SUBST
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7988 $as_echo_n "checking for objdir... " >&6; }
7989 if ${lt_cv_objdir+:} false; then :
7990 $as_echo_n "(cached) " >&6
7992 rm -f .libs 2>/dev/null
7993 mkdir .libs 2>/dev/null
7994 if test -d .libs; then
7997 # MS-DOS does not allow filenames that begin with a dot.
8000 rmdir .libs 2>/dev/null
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8003 $as_echo "$lt_cv_objdir" >&6; }
8004 objdir=$lt_cv_objdir
8010 cat >>confdefs.h <<_ACEOF
8011 #define LT_OBJDIR "$lt_cv_objdir/"
8019 # AIX sometimes has problems with the GCC collect2 program. For some
8020 # reason, if we set the COLLECT_NAMES environment variable, the problems
8021 # vanish in a puff of smoke.
8022 if test "X${COLLECT_NAMES+set}" != Xset; then
8024 export COLLECT_NAMES
8031 can_build_shared=yes
8033 # All known linkers require a `.a' archive for static linking (except MSVC,
8034 # which needs '.lib').
8037 with_gnu_ld="$lt_cv_prog_gnu_ld"
8040 old_CFLAGS="$CFLAGS"
8042 # Set sane defaults for various variables
8043 test -z "$CC" && CC=cc
8044 test -z "$LTCC" && LTCC=$CC
8045 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8046 test -z "$LD" && LD=ld
8047 test -z "$ac_objext" && ac_objext=o
8049 for cc_temp in $compiler""; do
8051 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8052 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8057 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8060 # Only perform the check for file, if the check method requires it
8061 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8062 case $deplibs_check_method in
8064 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8066 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8067 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8068 $as_echo_n "(cached) " >&6
8072 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8075 lt_save_MAGIC_CMD="$MAGIC_CMD"
8076 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8077 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8078 for ac_dir in $ac_dummy; do
8080 test -z "$ac_dir" && ac_dir=.
8081 if test -f $ac_dir/${ac_tool_prefix}file; then
8082 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8083 if test -n "$file_magic_test_file"; then
8084 case $deplibs_check_method in
8086 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8087 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8088 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8089 $EGREP "$file_magic_regex" > /dev/null; then
8094 *** Warning: the command libtool uses to detect shared libraries,
8095 *** $file_magic_cmd, produces output that libtool cannot recognize.
8096 *** The result is that libtool may fail to recognize shared libraries
8097 *** as such. This will affect the creation of libtool libraries that
8098 *** depend on shared libraries, but programs linked with such libtool
8099 *** libraries will work regardless of this problem. Nevertheless, you
8100 *** may want to report the problem to your system manager and/or to
8101 *** bug-libtool@gnu.org
8111 MAGIC_CMD="$lt_save_MAGIC_CMD"
8116 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8117 if test -n "$MAGIC_CMD"; then
8118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8119 $as_echo "$MAGIC_CMD" >&6; }
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8122 $as_echo "no" >&6; }
8129 if test -z "$lt_cv_path_MAGIC_CMD"; then
8130 if test -n "$ac_tool_prefix"; then
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8132 $as_echo_n "checking for file... " >&6; }
8133 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8134 $as_echo_n "(cached) " >&6
8138 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8141 lt_save_MAGIC_CMD="$MAGIC_CMD"
8142 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8143 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8144 for ac_dir in $ac_dummy; do
8146 test -z "$ac_dir" && ac_dir=.
8147 if test -f $ac_dir/file; then
8148 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8149 if test -n "$file_magic_test_file"; then
8150 case $deplibs_check_method in
8152 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8153 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8154 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8155 $EGREP "$file_magic_regex" > /dev/null; then
8160 *** Warning: the command libtool uses to detect shared libraries,
8161 *** $file_magic_cmd, produces output that libtool cannot recognize.
8162 *** The result is that libtool may fail to recognize shared libraries
8163 *** as such. This will affect the creation of libtool libraries that
8164 *** depend on shared libraries, but programs linked with such libtool
8165 *** libraries will work regardless of this problem. Nevertheless, you
8166 *** may want to report the problem to your system manager and/or to
8167 *** bug-libtool@gnu.org
8177 MAGIC_CMD="$lt_save_MAGIC_CMD"
8182 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8183 if test -n "$MAGIC_CMD"; then
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8185 $as_echo "$MAGIC_CMD" >&6; }
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8188 $as_echo "no" >&6; }
8201 # Use C for the default configuration in the libtool script
8205 ac_cpp='$CPP $CPPFLAGS'
8206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8211 # Source file extension for C test sources.
8214 # Object file extension for compiled C test sources.
8218 # Code to be used in simple compile tests
8219 lt_simple_compile_test_code="int some_variable = 0;"
8221 # Code to be used in simple link tests
8222 lt_simple_link_test_code='int main(){return(0);}'
8230 # If no C compiler was specified, use CC.
8233 # If no C compiler flags were specified, use CFLAGS.
8234 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8236 # Allow CC to be a program name with arguments.
8239 # Save the default compiler, since it gets overwritten when the other
8240 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8241 compiler_DEFAULT=$CC
8243 # save warnings/boilerplate of simple test code
8244 ac_outfile=conftest.$ac_objext
8245 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8246 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8247 _lt_compiler_boilerplate=`cat conftest.err`
8250 ac_outfile=conftest.$ac_objext
8251 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8252 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8253 _lt_linker_boilerplate=`cat conftest.err`
8258 ## There is no encapsulation within the following macros, do not change
8259 ## the running order or otherwise move them around unless you know exactly
8260 ## what you are doing...
8261 if test -n "$compiler"; then
8263 lt_prog_compiler_no_builtin_flag=
8265 if test "$GCC" = yes; then
8266 case $cc_basename in
8268 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8270 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8274 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8275 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8276 $as_echo_n "(cached) " >&6
8278 lt_cv_prog_compiler_rtti_exceptions=no
8279 ac_outfile=conftest.$ac_objext
8280 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8281 lt_compiler_flag="-fno-rtti -fno-exceptions"
8282 # Insert the option either (1) after the last *FLAGS variable, or
8283 # (2) before a word containing "conftest.", or (3) at the end.
8284 # Note that $ac_compile itself does not contain backslashes and begins
8285 # with a dollar sign (not a hyphen), so the echo should work correctly.
8286 # The option is referenced via a variable to avoid confusing sed.
8287 lt_compile=`echo "$ac_compile" | $SED \
8288 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8289 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8290 -e 's:$: $lt_compiler_flag:'`
8291 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8292 (eval "$lt_compile" 2>conftest.err)
8294 cat conftest.err >&5
8295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8296 if (exit $ac_status) && test -s "$ac_outfile"; then
8297 # The compiler can only warn and ignore the option if not recognized
8298 # So say no if there are warnings other than the usual output.
8299 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8300 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8301 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8302 lt_cv_prog_compiler_rtti_exceptions=yes
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8309 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8311 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8312 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8324 lt_prog_compiler_wl=
8325 lt_prog_compiler_pic=
8326 lt_prog_compiler_static=
8329 if test "$GCC" = yes; then
8330 lt_prog_compiler_wl='-Wl,'
8331 lt_prog_compiler_static='-static'
8335 # All AIX code is PIC.
8336 if test "$host_cpu" = ia64; then
8337 # AIX 5 now supports IA64 processor
8338 lt_prog_compiler_static='-Bstatic'
8345 # see comment about AmigaOS4 .so support
8346 lt_prog_compiler_pic='-fPIC'
8349 # FIXME: we need at least 68020 code to build shared libraries, but
8350 # adding the `-m68020' flag to GCC prevents building anything better,
8352 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8357 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8358 # PIC is the default for these OSes.
8361 mingw* | cygwin* | pw32* | os2* | cegcc*)
8362 # This hack is so that the source file can tell whether it is being
8363 # built for inclusion in a dll (and should export symbols for example).
8364 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8365 # (--disable-auto-import) libraries
8366 lt_prog_compiler_pic='-DDLL_EXPORT'
8369 darwin* | rhapsody*)
8370 # PIC is the default on this platform
8371 # Common symbols not allowed in MH_DYLIB files
8372 lt_prog_compiler_pic='-fno-common'
8376 # PIC is the default for Haiku.
8377 # The "-static" flag exists, but is broken.
8378 lt_prog_compiler_static=
8382 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8383 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8384 # sets the default TLS model and affects inlining.
8390 lt_prog_compiler_pic='-fPIC'
8396 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8397 # Instead, we relocate shared libraries at runtime.
8401 # Just because we use GCC doesn't mean we suddenly get shared libraries
8402 # on systems that don't support them.
8403 lt_prog_compiler_can_build_shared=no
8408 # QNX uses GNU C++, but need to define -shared option too, otherwise
8410 lt_prog_compiler_pic='-fPIC -shared'
8414 if test -d /usr/nec; then
8415 lt_prog_compiler_pic=-Kconform_pic
8420 lt_prog_compiler_pic='-fPIC'
8424 case $cc_basename in
8425 nvcc*) # Cuda Compiler Driver 2.2
8426 lt_prog_compiler_wl='-Xlinker '
8427 if test -n "$lt_prog_compiler_pic"; then
8428 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8433 # PORTME Check for flag to pass linker flags through the system compiler.
8436 lt_prog_compiler_wl='-Wl,'
8437 if test "$host_cpu" = ia64; then
8438 # AIX 5 now supports IA64 processor
8439 lt_prog_compiler_static='-Bstatic'
8441 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8445 mingw* | cygwin* | pw32* | os2* | cegcc*)
8446 # This hack is so that the source file can tell whether it is being
8447 # built for inclusion in a dll (and should export symbols for example).
8448 lt_prog_compiler_pic='-DDLL_EXPORT'
8451 hpux9* | hpux10* | hpux11*)
8452 lt_prog_compiler_wl='-Wl,'
8453 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8460 lt_prog_compiler_pic='+Z'
8463 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8464 lt_prog_compiler_static='${wl}-a ${wl}archive'
8467 irix5* | irix6* | nonstopux*)
8468 lt_prog_compiler_wl='-Wl,'
8469 # PIC (with -KPIC) is the default.
8470 lt_prog_compiler_static='-non_shared'
8473 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8474 case $cc_basename in
8475 # old Intel for x86_64 which still supported -KPIC.
8477 lt_prog_compiler_wl='-Wl,'
8478 lt_prog_compiler_pic='-KPIC'
8479 lt_prog_compiler_static='-static'
8481 # icc used to be incompatible with GCC.
8482 # ICC 10 doesn't accept -KPIC any more.
8484 lt_prog_compiler_wl='-Wl,'
8485 lt_prog_compiler_pic='-fPIC'
8486 lt_prog_compiler_static='-static'
8488 # Lahey Fortran 8.1.
8490 lt_prog_compiler_wl='-Wl,'
8491 lt_prog_compiler_pic='--shared'
8492 lt_prog_compiler_static='--static'
8495 # NAG Fortran compiler
8496 lt_prog_compiler_wl='-Wl,-Wl,,'
8497 lt_prog_compiler_pic='-PIC'
8498 lt_prog_compiler_static='-Bstatic'
8500 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8501 # Portland Group compilers (*not* the Pentium gcc compiler,
8502 # which looks to be a dead project)
8503 lt_prog_compiler_wl='-Wl,'
8504 lt_prog_compiler_pic='-fpic'
8505 lt_prog_compiler_static='-Bstatic'
8508 lt_prog_compiler_wl='-Wl,'
8509 # All Alpha code is PIC.
8510 lt_prog_compiler_static='-non_shared'
8512 xl* | bgxl* | bgf* | mpixl*)
8513 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8514 lt_prog_compiler_wl='-Wl,'
8515 lt_prog_compiler_pic='-qpic'
8516 lt_prog_compiler_static='-qstaticlink'
8519 case `$CC -V 2>&1 | sed 5q` in
8520 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8521 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8522 lt_prog_compiler_pic='-KPIC'
8523 lt_prog_compiler_static='-Bstatic'
8524 lt_prog_compiler_wl=''
8526 *Sun\ F* | *Sun*Fortran*)
8527 lt_prog_compiler_pic='-KPIC'
8528 lt_prog_compiler_static='-Bstatic'
8529 lt_prog_compiler_wl='-Qoption ld '
8533 lt_prog_compiler_pic='-KPIC'
8534 lt_prog_compiler_static='-Bstatic'
8535 lt_prog_compiler_wl='-Wl,'
8537 *Intel*\ [CF]*Compiler*)
8538 lt_prog_compiler_wl='-Wl,'
8539 lt_prog_compiler_pic='-fPIC'
8540 lt_prog_compiler_static='-static'
8543 lt_prog_compiler_wl='-Wl,'
8544 lt_prog_compiler_pic='-fpic'
8545 lt_prog_compiler_static='-Bstatic'
8553 lt_prog_compiler_pic='-KPIC'
8554 lt_prog_compiler_static='-Bstatic'
8558 # QNX uses GNU C++, but need to define -shared option too, otherwise
8560 lt_prog_compiler_pic='-fPIC -shared'
8563 osf3* | osf4* | osf5*)
8564 lt_prog_compiler_wl='-Wl,'
8565 # All OSF/1 code is PIC.
8566 lt_prog_compiler_static='-non_shared'
8570 lt_prog_compiler_static='-non_shared'
8574 lt_prog_compiler_pic='-KPIC'
8575 lt_prog_compiler_static='-Bstatic'
8576 case $cc_basename in
8577 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8578 lt_prog_compiler_wl='-Qoption ld ';;
8580 lt_prog_compiler_wl='-Wl,';;
8585 lt_prog_compiler_wl='-Qoption ld '
8586 lt_prog_compiler_pic='-PIC'
8587 lt_prog_compiler_static='-Bstatic'
8590 sysv4 | sysv4.2uw2* | sysv4.3*)
8591 lt_prog_compiler_wl='-Wl,'
8592 lt_prog_compiler_pic='-KPIC'
8593 lt_prog_compiler_static='-Bstatic'
8597 if test -d /usr/nec ;then
8598 lt_prog_compiler_pic='-Kconform_pic'
8599 lt_prog_compiler_static='-Bstatic'
8603 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8604 lt_prog_compiler_wl='-Wl,'
8605 lt_prog_compiler_pic='-KPIC'
8606 lt_prog_compiler_static='-Bstatic'
8610 lt_prog_compiler_wl='-Wl,'
8611 lt_prog_compiler_can_build_shared=no
8615 lt_prog_compiler_pic='-pic'
8616 lt_prog_compiler_static='-Bstatic'
8620 lt_prog_compiler_can_build_shared=no
8626 # For platforms which do not support PIC, -DPIC is meaningless:
8628 lt_prog_compiler_pic=
8631 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8636 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8637 if ${lt_cv_prog_compiler_pic+:} false; then :
8638 $as_echo_n "(cached) " >&6
8640 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8643 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8644 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8647 # Check to make sure the PIC flag actually works.
8649 if test -n "$lt_prog_compiler_pic"; then
8650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8651 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8652 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8653 $as_echo_n "(cached) " >&6
8655 lt_cv_prog_compiler_pic_works=no
8656 ac_outfile=conftest.$ac_objext
8657 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8658 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8659 # Insert the option either (1) after the last *FLAGS variable, or
8660 # (2) before a word containing "conftest.", or (3) at the end.
8661 # Note that $ac_compile itself does not contain backslashes and begins
8662 # with a dollar sign (not a hyphen), so the echo should work correctly.
8663 # The option is referenced via a variable to avoid confusing sed.
8664 lt_compile=`echo "$ac_compile" | $SED \
8665 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8666 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8667 -e 's:$: $lt_compiler_flag:'`
8668 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8669 (eval "$lt_compile" 2>conftest.err)
8671 cat conftest.err >&5
8672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8673 if (exit $ac_status) && test -s "$ac_outfile"; then
8674 # The compiler can only warn and ignore the option if not recognized
8675 # So say no if there are warnings other than the usual output.
8676 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8677 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8678 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8679 lt_cv_prog_compiler_pic_works=yes
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8686 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8688 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8689 case $lt_prog_compiler_pic in
8691 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8694 lt_prog_compiler_pic=
8695 lt_prog_compiler_can_build_shared=no
8711 # Check to make sure the static flag actually works.
8713 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8715 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8716 if ${lt_cv_prog_compiler_static_works+:} false; then :
8717 $as_echo_n "(cached) " >&6
8719 lt_cv_prog_compiler_static_works=no
8720 save_LDFLAGS="$LDFLAGS"
8721 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8722 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8723 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8724 # The linker can only warn and ignore the option if not recognized
8725 # So say no if there are warnings
8726 if test -s conftest.err; then
8727 # Append any errors to the config.log.
8728 cat conftest.err 1>&5
8729 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8730 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8731 if diff conftest.exp conftest.er2 >/dev/null; then
8732 lt_cv_prog_compiler_static_works=yes
8735 lt_cv_prog_compiler_static_works=yes
8739 LDFLAGS="$save_LDFLAGS"
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8743 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8745 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8748 lt_prog_compiler_static=
8757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8758 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8759 if ${lt_cv_prog_compiler_c_o+:} false; then :
8760 $as_echo_n "(cached) " >&6
8762 lt_cv_prog_compiler_c_o=no
8763 $RM -r conftest 2>/dev/null
8767 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8769 lt_compiler_flag="-o out/conftest2.$ac_objext"
8770 # Insert the option either (1) after the last *FLAGS variable, or
8771 # (2) before a word containing "conftest.", or (3) at the end.
8772 # Note that $ac_compile itself does not contain backslashes and begins
8773 # with a dollar sign (not a hyphen), so the echo should work correctly.
8774 lt_compile=`echo "$ac_compile" | $SED \
8775 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8776 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8777 -e 's:$: $lt_compiler_flag:'`
8778 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8779 (eval "$lt_compile" 2>out/conftest.err)
8781 cat out/conftest.err >&5
8782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8783 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8785 # The compiler can only warn and ignore the option if not recognized
8786 # So say no if there are warnings
8787 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8788 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8789 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8790 lt_cv_prog_compiler_c_o=yes
8795 # SGI C++ compiler will create directory out/ii_files/ for
8796 # template instantiation
8797 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8798 $RM out/* && rmdir out
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8805 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8813 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8814 if ${lt_cv_prog_compiler_c_o+:} false; then :
8815 $as_echo_n "(cached) " >&6
8817 lt_cv_prog_compiler_c_o=no
8818 $RM -r conftest 2>/dev/null
8822 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8824 lt_compiler_flag="-o out/conftest2.$ac_objext"
8825 # Insert the option either (1) after the last *FLAGS variable, or
8826 # (2) before a word containing "conftest.", or (3) at the end.
8827 # Note that $ac_compile itself does not contain backslashes and begins
8828 # with a dollar sign (not a hyphen), so the echo should work correctly.
8829 lt_compile=`echo "$ac_compile" | $SED \
8830 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8831 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8832 -e 's:$: $lt_compiler_flag:'`
8833 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8834 (eval "$lt_compile" 2>out/conftest.err)
8836 cat out/conftest.err >&5
8837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8838 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8840 # The compiler can only warn and ignore the option if not recognized
8841 # So say no if there are warnings
8842 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8843 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8844 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8845 lt_cv_prog_compiler_c_o=yes
8850 # SGI C++ compiler will create directory out/ii_files/ for
8851 # template instantiation
8852 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8853 $RM out/* && rmdir out
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8860 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8865 hard_links="nottested"
8866 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8867 # do not overwrite the value of need_locks provided by the user
8868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8869 $as_echo_n "checking if we can lock with hard links... " >&6; }
8872 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8874 ln conftest.a conftest.b 2>&5 || hard_links=no
8875 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8877 $as_echo "$hard_links" >&6; }
8878 if test "$hard_links" = no; then
8879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8880 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8893 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8896 allow_undefined_flag=
8897 always_export_symbols=no
8899 archive_expsym_cmds=
8900 compiler_needs_object=no
8901 enable_shared_with_static_runtimes=no
8902 export_dynamic_flag_spec=
8903 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8904 hardcode_automatic=no
8906 hardcode_direct_absolute=no
8907 hardcode_libdir_flag_spec=
8908 hardcode_libdir_separator=
8910 hardcode_shlibpath_var=unsupported
8912 link_all_deplibs=unknown
8915 old_archive_from_new_cmds=
8916 old_archive_from_expsyms_cmds=
8917 thread_safe_flag_spec=
8918 whole_archive_flag_spec=
8919 # include_expsyms should be a list of space-separated symbols to be *always*
8920 # included in the symbol list
8922 # exclude_expsyms can be an extended regexp of symbols to exclude
8923 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8924 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8925 # as well as any symbol that contains `d'.
8926 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8927 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8928 # platforms (ab)use it in PIC code, but their linkers get confused if
8929 # the symbol is explicitly referenced. Since portable code cannot
8930 # rely on this symbol name, it's probably fine to never include it in
8931 # preloaded symbol tables.
8932 # Exclude shared library initialization/finalization symbols.
8933 extract_expsyms_cmds=
8936 cygwin* | mingw* | pw32* | cegcc*)
8937 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8938 # When not using gcc, we currently assume that we are using
8939 # Microsoft Visual C++.
8940 if test "$GCC" != yes; then
8945 # we just hope/assume this is gcc and not c89 (= MSVC++)
8951 linux* | k*bsd*-gnu | gnu*)
8958 # On some targets, GNU ld is compatible enough with the native linker
8959 # that we're better off using the native interface for both.
8960 lt_use_gnu_ld_interface=no
8961 if test "$with_gnu_ld" = yes; then
8964 # The AIX port of GNU ld has always aspired to compatibility
8965 # with the native linker. However, as the warning in the GNU ld
8966 # block says, versions before 2.19.5* couldn't really create working
8967 # shared libraries, regardless of the interface used.
8968 case `$LD -v 2>&1` in
8969 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8970 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8971 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8973 lt_use_gnu_ld_interface=yes
8978 lt_use_gnu_ld_interface=yes
8983 if test "$lt_use_gnu_ld_interface" = yes; then
8984 # If archive_cmds runs LD, not CC, wlarc should be empty
8987 # Set some defaults for GNU ld with shared library support. These
8988 # are reset later if shared libraries are not supported. Putting them
8989 # here allows them to be overridden if necessary.
8990 runpath_var=LD_RUN_PATH
8991 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8992 export_dynamic_flag_spec='${wl}--export-dynamic'
8993 # ancient GNU ld didn't support --whole-archive et. al.
8994 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8995 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8997 whole_archive_flag_spec=
8999 supports_anon_versioning=no
9000 case `$LD -v 2>&1` in
9001 *GNU\ gold*) supports_anon_versioning=yes ;;
9002 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9003 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9004 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9005 *\ 2.11.*) ;; # other 2.11 versions
9006 *) supports_anon_versioning=yes ;;
9009 # See if GNU ld supports shared libraries.
9012 # On AIX/PPC, the GNU linker is very broken
9013 if test "$host_cpu" != ia64; then
9017 *** Warning: the GNU linker, at least up to release 2.19, is reported
9018 *** to be unable to reliably create shared libraries on AIX.
9019 *** Therefore, libtool is disabling shared libraries support. If you
9020 *** really care for shared libraries, you may want to install binutils
9021 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9022 *** You will then need to restart the configuration process.
9031 # see comment about AmigaOS4 .so support
9032 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9033 archive_expsym_cmds=''
9036 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)'
9037 hardcode_libdir_flag_spec='-L$libdir'
9038 hardcode_minus_L=yes
9044 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9045 allow_undefined_flag=unsupported
9046 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9047 # support --undefined. This deserves some investigation. FIXME
9048 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9054 cygwin* | mingw* | pw32* | cegcc*)
9055 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9056 # as there is no search path for DLLs.
9057 hardcode_libdir_flag_spec='-L$libdir'
9058 export_dynamic_flag_spec='${wl}--export-all-symbols'
9059 allow_undefined_flag=unsupported
9060 always_export_symbols=no
9061 enable_shared_with_static_runtimes=yes
9062 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'
9063 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9065 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9066 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9067 # If the export-symbols file already is a .def file (1st line
9068 # is EXPORTS), use it as is; otherwise, prepend...
9069 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9070 cp $export_symbols $output_objdir/$soname.def;
9072 echo EXPORTS > $output_objdir/$soname.def;
9073 cat $export_symbols >> $output_objdir/$soname.def;
9075 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9082 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9083 link_all_deplibs=yes
9088 hardcode_shlibpath_var=no
9089 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9090 export_dynamic_flag_spec='${wl}-E'
9091 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9092 # Instead, shared libraries are loaded at an image base (0x10000000 by
9093 # default) and relocated if they conflict, which is a slow very memory
9094 # consuming and fragmenting process. To avoid this, we pick a random,
9095 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9096 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9097 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9098 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'
9101 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9103 if test "$host_os" = linux-dietlibc; then
9104 case $cc_basename in
9105 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9108 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9109 && test "$tmp_diet" = no
9111 tmp_addflag=' $pic_flag'
9112 tmp_sharedflag='-shared'
9113 case $cc_basename,$host_cpu in
9114 pgcc*) # Portland Group C compiler
9115 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'
9116 tmp_addflag=' $pic_flag'
9118 pgf77* | pgf90* | pgf95* | pgfortran*)
9119 # Portland Group f77 and f90 compilers
9120 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'
9121 tmp_addflag=' $pic_flag -Mnomain' ;;
9122 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9123 tmp_addflag=' -i_dynamic' ;;
9124 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9125 tmp_addflag=' -i_dynamic -nofor_main' ;;
9126 ifc* | ifort*) # Intel Fortran compiler
9127 tmp_addflag=' -nofor_main' ;;
9128 lf95*) # Lahey Fortran 8.1
9129 whole_archive_flag_spec=
9130 tmp_sharedflag='--shared' ;;
9131 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9132 tmp_sharedflag='-qmkshrobj'
9134 nvcc*) # Cuda Compiler Driver 2.2
9135 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'
9136 compiler_needs_object=yes
9139 case `$CC -V 2>&1 | sed 5q` in
9140 *Sun\ C*) # Sun C 5.9
9141 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'
9142 compiler_needs_object=yes
9143 tmp_sharedflag='-G' ;;
9144 *Sun\ F*) # Sun Fortran 8.3
9145 tmp_sharedflag='-G' ;;
9147 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9149 if test "x$supports_anon_versioning" = xyes; then
9150 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9151 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9152 echo "local: *; };" >> $output_objdir/$libname.ver~
9153 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9156 case $cc_basename in
9157 xlf* | bgf* | bgxlf* | mpixlf*)
9158 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9159 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9160 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9161 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9162 if test "x$supports_anon_versioning" = xyes; then
9163 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9164 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9165 echo "local: *; };" >> $output_objdir/$libname.ver~
9166 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9175 netbsd* | netbsdelf*-gnu)
9176 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9177 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9180 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9181 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9186 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9190 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9191 *** create shared libraries on Solaris systems. Therefore, libtool
9192 *** is disabling shared libraries support. We urge you to upgrade GNU
9193 *** binutils to release 2.9.1 or newer. Another option is to modify
9194 *** your PATH or compiler configuration so that the native linker is
9195 *** used, and then restart.
9198 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9199 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9200 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9206 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9207 case `$LD -v 2>&1` in
9208 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9212 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9213 *** reliably create shared libraries on SCO systems. Therefore, libtool
9214 *** is disabling shared libraries support. We urge you to upgrade GNU
9215 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9216 *** your PATH or compiler configuration so that the native linker is
9217 *** used, and then restart.
9222 # For security reasons, it is highly recommended that you always
9223 # use absolute paths for naming shared libraries, and exclude the
9224 # DT_RUNPATH tag from executables and libraries. But doing so
9225 # requires that you compile everything twice, which is a pain.
9226 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9227 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9228 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9229 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9238 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9241 hardcode_shlibpath_var=no
9245 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9246 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9247 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9254 if test "$ld_shlibs" = no; then
9256 hardcode_libdir_flag_spec=
9257 export_dynamic_flag_spec=
9258 whole_archive_flag_spec=
9261 # PORTME fill in a description of your system's linker (not GNU ld)
9264 allow_undefined_flag=unsupported
9265 always_export_symbols=yes
9266 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'
9267 # Note: this linker hardcodes the directories in LIBPATH if there
9268 # are no directories specified by -L.
9269 hardcode_minus_L=yes
9270 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9271 # Neither direct hardcoding nor static linking is supported with a
9273 hardcode_direct=unsupported
9278 if test "$host_cpu" = ia64; then
9279 # On IA64, the linker does run time linking by default, so we don't
9280 # have to do anything special.
9281 aix_use_runtimelinking=no
9282 exp_sym_flag='-Bexport'
9285 # If we're using GNU nm, then we don't want the "-C" option.
9286 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9287 # Also, AIX nm treats weak defined symbols like other global
9288 # defined symbols, whereas GNU nm marks them as "W".
9289 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9290 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'
9292 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'
9294 aix_use_runtimelinking=no
9296 # Test if we are trying to use run time linking or normal
9297 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9298 # need to do runtime linking.
9299 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9300 for ld_flag in $LDFLAGS; do
9301 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9302 aix_use_runtimelinking=yes
9309 exp_sym_flag='-bexport'
9310 no_entry_flag='-bnoentry'
9313 # When large executables or shared objects are built, AIX ld can
9314 # have problems creating the table of contents. If linking a library
9315 # or program results in "error TOC overflow" add -mminimal-toc to
9316 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9317 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9321 hardcode_direct_absolute=yes
9322 hardcode_libdir_separator=':'
9323 link_all_deplibs=yes
9324 file_list_spec='${wl}-f,'
9326 if test "$GCC" = yes; then
9327 case $host_os in aix4.[012]|aix4.[012].*)
9328 # We only want to do this on AIX 4.2 and lower, the check
9329 # below for broken collect2 doesn't work under 4.3+
9330 collect2name=`${CC} -print-prog-name=collect2`
9331 if test -f "$collect2name" &&
9332 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9334 # We have reworked collect2
9337 # We have old collect2
9338 hardcode_direct=unsupported
9339 # It fails to find uninstalled libraries when the uninstalled
9340 # path is not listed in the libpath. Setting hardcode_minus_L
9341 # to unsupported forces relinking
9342 hardcode_minus_L=yes
9343 hardcode_libdir_flag_spec='-L$libdir'
9344 hardcode_libdir_separator=
9348 shared_flag='-shared'
9349 if test "$aix_use_runtimelinking" = yes; then
9350 shared_flag="$shared_flag "'${wl}-G'
9355 if test "$host_cpu" = ia64; then
9356 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9357 # chokes on -Wl,-G. The following line is correct:
9360 if test "$aix_use_runtimelinking" = yes; then
9361 shared_flag='${wl}-G'
9363 shared_flag='${wl}-bM:SRE'
9368 export_dynamic_flag_spec='${wl}-bexpall'
9369 # It seems that -bexpall does not export symbols beginning with
9370 # underscore (_), so it is better to generate a list of symbols to export.
9371 always_export_symbols=yes
9372 if test "$aix_use_runtimelinking" = yes; then
9373 # Warning - without using the other runtime loading flags (-brtl),
9374 # -berok will link without error, but may produce a broken library.
9375 allow_undefined_flag='-berok'
9376 # Determine the default libpath from the value encoded in an
9378 if test "${lt_cv_aix_libpath+set}" = set; then
9379 aix_libpath=$lt_cv_aix_libpath
9381 if ${lt_cv_aix_libpath_+:} false; then :
9382 $as_echo_n "(cached) " >&6
9384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9385 /* end confdefs.h. */
9395 if ac_fn_c_try_link "$LINENO"; then :
9397 lt_aix_libpath_sed='
9398 /Import File Strings/,/^$/ {
9400 s/^0 *\([^ ]*\) *$/\1/
9404 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9405 # Check for a 64-bit object if we didn't find anything.
9406 if test -z "$lt_cv_aix_libpath_"; then
9407 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9410 rm -f core conftest.err conftest.$ac_objext \
9411 conftest$ac_exeext conftest.$ac_ext
9412 if test -z "$lt_cv_aix_libpath_"; then
9413 lt_cv_aix_libpath_="/usr/lib:/lib"
9418 aix_libpath=$lt_cv_aix_libpath_
9421 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9422 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"
9424 if test "$host_cpu" = ia64; then
9425 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9426 allow_undefined_flag="-z nodefs"
9427 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"
9429 # Determine the default libpath from the value encoded in an
9431 if test "${lt_cv_aix_libpath+set}" = set; then
9432 aix_libpath=$lt_cv_aix_libpath
9434 if ${lt_cv_aix_libpath_+:} false; then :
9435 $as_echo_n "(cached) " >&6
9437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9438 /* end confdefs.h. */
9448 if ac_fn_c_try_link "$LINENO"; then :
9450 lt_aix_libpath_sed='
9451 /Import File Strings/,/^$/ {
9453 s/^0 *\([^ ]*\) *$/\1/
9457 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9458 # Check for a 64-bit object if we didn't find anything.
9459 if test -z "$lt_cv_aix_libpath_"; then
9460 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9463 rm -f core conftest.err conftest.$ac_objext \
9464 conftest$ac_exeext conftest.$ac_ext
9465 if test -z "$lt_cv_aix_libpath_"; then
9466 lt_cv_aix_libpath_="/usr/lib:/lib"
9471 aix_libpath=$lt_cv_aix_libpath_
9474 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9475 # Warning - without using the other run time loading flags,
9476 # -berok will link without error, but may produce a broken library.
9477 no_undefined_flag=' ${wl}-bernotok'
9478 allow_undefined_flag=' ${wl}-berok'
9479 if test "$with_gnu_ld" = yes; then
9480 # We only use this code for GNU lds that support --whole-archive.
9481 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9483 # Exported symbols can be pulled into shared objects from archives
9484 whole_archive_flag_spec='$convenience'
9486 archive_cmds_need_lc=yes
9487 # This is similar to how AIX traditionally builds its shared libraries.
9488 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'
9496 # see comment about AmigaOS4 .so support
9497 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9498 archive_expsym_cmds=''
9501 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)'
9502 hardcode_libdir_flag_spec='-L$libdir'
9503 hardcode_minus_L=yes
9509 export_dynamic_flag_spec=-rdynamic
9512 cygwin* | mingw* | pw32* | cegcc*)
9513 # When not using gcc, we currently assume that we are using
9514 # Microsoft Visual C++.
9515 # hardcode_libdir_flag_spec is actually meaningless, as there is
9516 # no search path for DLLs.
9517 case $cc_basename in
9520 hardcode_libdir_flag_spec=' '
9521 allow_undefined_flag=unsupported
9522 always_export_symbols=yes
9524 # Tell ltmain to make .lib files, not .a files.
9526 # Tell ltmain to make .dll files, not .so files.
9528 # FIXME: Setting linknames here is a bad hack.
9529 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9530 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9531 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9533 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9535 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9537 # The linker will not automatically build a static lib if we build a DLL.
9538 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9539 enable_shared_with_static_runtimes=yes
9540 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9541 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9543 old_postinstall_cmds='chmod 644 $oldlib'
9544 postlink_cmds='lt_outputfile="@OUTPUT@"~
9545 lt_tool_outputfile="@TOOL_OUTPUT@"~
9546 case $lt_outputfile in
9549 lt_outputfile="$lt_outputfile.exe"
9550 lt_tool_outputfile="$lt_tool_outputfile.exe"
9553 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9554 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9555 $RM "$lt_outputfile.manifest";
9559 # Assume MSVC wrapper
9560 hardcode_libdir_flag_spec=' '
9561 allow_undefined_flag=unsupported
9562 # Tell ltmain to make .lib files, not .a files.
9564 # Tell ltmain to make .dll files, not .so files.
9566 # FIXME: Setting linknames here is a bad hack.
9567 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9568 # The linker will automatically build a .lib file if we build a DLL.
9569 old_archive_from_new_cmds='true'
9570 # FIXME: Should let the user specify the lib program.
9571 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9572 enable_shared_with_static_runtimes=yes
9577 darwin* | rhapsody*)
9580 archive_cmds_need_lc=no
9582 hardcode_automatic=yes
9583 hardcode_shlibpath_var=unsupported
9584 if test "$lt_cv_ld_force_load" = "yes"; then
9585 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\"`'
9588 whole_archive_flag_spec=''
9590 link_all_deplibs=yes
9591 allow_undefined_flag="$_lt_dar_allow_undefined"
9592 case $cc_basename in
9593 ifort*) _lt_dar_can_shared=yes ;;
9594 *) _lt_dar_can_shared=$GCC ;;
9596 if test "$_lt_dar_can_shared" = "yes"; then
9597 output_verbose_link_cmd=func_echo_all
9598 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9599 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9600 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}"
9601 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}"
9610 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9611 hardcode_libdir_flag_spec='-L$libdir'
9612 hardcode_shlibpath_var=no
9615 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9616 # support. Future versions do this automatically, but an explicit c++rt0.o
9617 # does not break anything, and helps significantly (at the cost of a little
9620 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9621 hardcode_libdir_flag_spec='-R$libdir'
9623 hardcode_shlibpath_var=no
9626 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9628 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9630 hardcode_minus_L=yes
9631 hardcode_shlibpath_var=no
9634 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9635 freebsd* | dragonfly*)
9636 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9637 hardcode_libdir_flag_spec='-R$libdir'
9639 hardcode_shlibpath_var=no
9643 if test "$GCC" = yes; then
9644 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'
9646 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'
9648 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9649 hardcode_libdir_separator=:
9652 # hardcode_minus_L: Not really in the search PATH,
9653 # but as the default location of the library.
9654 hardcode_minus_L=yes
9655 export_dynamic_flag_spec='${wl}-E'
9659 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9660 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9662 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9664 if test "$with_gnu_ld" = no; then
9665 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9666 hardcode_libdir_separator=:
9668 hardcode_direct_absolute=yes
9669 export_dynamic_flag_spec='${wl}-E'
9670 # hardcode_minus_L: Not really in the search PATH,
9671 # but as the default location of the library.
9672 hardcode_minus_L=yes
9677 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9680 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9683 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9686 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9692 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9695 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9699 # Older versions of the 11.00 compiler do not understand -b yet
9700 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9702 $as_echo_n "checking if $CC understands -b... " >&6; }
9703 if ${lt_cv_prog_compiler__b+:} false; then :
9704 $as_echo_n "(cached) " >&6
9706 lt_cv_prog_compiler__b=no
9707 save_LDFLAGS="$LDFLAGS"
9708 LDFLAGS="$LDFLAGS -b"
9709 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9710 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9711 # The linker can only warn and ignore the option if not recognized
9712 # So say no if there are warnings
9713 if test -s conftest.err; then
9714 # Append any errors to the config.log.
9715 cat conftest.err 1>&5
9716 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9717 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9718 if diff conftest.exp conftest.er2 >/dev/null; then
9719 lt_cv_prog_compiler__b=yes
9722 lt_cv_prog_compiler__b=yes
9726 LDFLAGS="$save_LDFLAGS"
9729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9730 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9732 if test x"$lt_cv_prog_compiler__b" = xyes; then
9733 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9735 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9741 if test "$with_gnu_ld" = no; then
9742 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9743 hardcode_libdir_separator=:
9748 hardcode_shlibpath_var=no
9752 hardcode_direct_absolute=yes
9753 export_dynamic_flag_spec='${wl}-E'
9755 # hardcode_minus_L: Not really in the search PATH,
9756 # but as the default location of the library.
9757 hardcode_minus_L=yes
9763 irix5* | irix6* | nonstopux*)
9764 if test "$GCC" = yes; then
9765 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'
9766 # Try to use the -exported_symbol ld option, if it does not
9767 # work, assume that -exports_file does not work either and
9768 # implicitly export all symbols.
9769 # This should be the same for all languages, so no per-tag cache variable.
9770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9771 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9772 if ${lt_cv_irix_exported_symbol+:} false; then :
9773 $as_echo_n "(cached) " >&6
9775 save_LDFLAGS="$LDFLAGS"
9776 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9778 /* end confdefs.h. */
9779 int foo (void) { return 0; }
9781 if ac_fn_c_try_link "$LINENO"; then :
9782 lt_cv_irix_exported_symbol=yes
9784 lt_cv_irix_exported_symbol=no
9786 rm -f core conftest.err conftest.$ac_objext \
9787 conftest$ac_exeext conftest.$ac_ext
9788 LDFLAGS="$save_LDFLAGS"
9790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9791 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9792 if test "$lt_cv_irix_exported_symbol" = yes; then
9793 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'
9796 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'
9797 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'
9799 archive_cmds_need_lc='no'
9800 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9801 hardcode_libdir_separator=:
9803 link_all_deplibs=yes
9806 netbsd* | netbsdelf*-gnu)
9807 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9808 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9810 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9812 hardcode_libdir_flag_spec='-R$libdir'
9814 hardcode_shlibpath_var=no
9818 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9820 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9821 hardcode_libdir_separator=:
9822 hardcode_shlibpath_var=no
9829 if test -f /usr/libexec/ld.so; then
9831 hardcode_shlibpath_var=no
9832 hardcode_direct_absolute=yes
9833 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9834 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9835 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9836 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9837 export_dynamic_flag_spec='${wl}-E'
9840 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9841 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9842 hardcode_libdir_flag_spec='-R$libdir'
9845 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9846 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9856 hardcode_libdir_flag_spec='-L$libdir'
9857 hardcode_minus_L=yes
9858 allow_undefined_flag=unsupported
9859 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'
9860 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9864 if test "$GCC" = yes; then
9865 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9866 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'
9868 allow_undefined_flag=' -expect_unresolved \*'
9869 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'
9871 archive_cmds_need_lc='no'
9872 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9873 hardcode_libdir_separator=:
9876 osf4* | osf5*) # as osf3* with the addition of -msym flag
9877 if test "$GCC" = yes; then
9878 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9879 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'
9880 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9882 allow_undefined_flag=' -expect_unresolved \*'
9883 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'
9884 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~
9885 $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'
9887 # Both c and cxx compiler support -rpath directly
9888 hardcode_libdir_flag_spec='-rpath $libdir'
9890 archive_cmds_need_lc='no'
9891 hardcode_libdir_separator=:
9895 no_undefined_flag=' -z defs'
9896 if test "$GCC" = yes; then
9898 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9899 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9900 $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'
9902 case `$CC -V 2>&1` in
9905 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9906 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9907 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9911 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9912 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9913 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9917 hardcode_libdir_flag_spec='-R$libdir'
9918 hardcode_shlibpath_var=no
9920 solaris2.[0-5] | solaris2.[0-5].*) ;;
9922 # The compiler driver will combine and reorder linker options,
9923 # but understands `-z linker_flag'. GCC discards it without `$wl',
9924 # but is careful enough not to reorder.
9925 # Supported since Solaris 2.6 (maybe 2.5.1?)
9926 if test "$GCC" = yes; then
9927 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9929 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9933 link_all_deplibs=yes
9937 if test "x$host_vendor" = xsequent; then
9938 # Use $CC to link under sequent, because it throws in some extra .o
9939 # files that make .init and .fini sections work.
9940 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9942 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9944 hardcode_libdir_flag_spec='-L$libdir'
9946 hardcode_minus_L=yes
9947 hardcode_shlibpath_var=no
9951 case $host_vendor in
9953 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9954 hardcode_direct=yes # is this really true???
9957 ## LD is ld it makes a PLAMLIB
9958 ## CC just makes a GrossModule.
9959 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9960 reload_cmds='$CC -r -o $output$reload_objs'
9964 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9965 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9968 runpath_var='LD_RUN_PATH'
9969 hardcode_shlibpath_var=no
9973 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9974 hardcode_shlibpath_var=no
9975 export_dynamic_flag_spec='-Bexport'
9979 if test -d /usr/nec; then
9980 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9981 hardcode_shlibpath_var=no
9982 runpath_var=LD_RUN_PATH
9983 hardcode_runpath_var=yes
9988 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9989 no_undefined_flag='${wl}-z,text'
9990 archive_cmds_need_lc=no
9991 hardcode_shlibpath_var=no
9992 runpath_var='LD_RUN_PATH'
9994 if test "$GCC" = yes; then
9995 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9996 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9998 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9999 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10003 sysv5* | sco3.2v5* | sco5v6*)
10004 # Note: We can NOT use -z defs as we might desire, because we do not
10005 # link with -lc, and that would cause any symbols used from libc to
10006 # always be unresolved, which means just about no library would
10007 # ever link correctly. If we're not using GNU ld we use -z text
10008 # though, which does catch some bad symbols but isn't as heavy-handed
10010 no_undefined_flag='${wl}-z,text'
10011 allow_undefined_flag='${wl}-z,nodefs'
10012 archive_cmds_need_lc=no
10013 hardcode_shlibpath_var=no
10014 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10015 hardcode_libdir_separator=':'
10016 link_all_deplibs=yes
10017 export_dynamic_flag_spec='${wl}-Bexport'
10018 runpath_var='LD_RUN_PATH'
10020 if test "$GCC" = yes; then
10021 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10022 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10024 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10025 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10030 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10031 hardcode_libdir_flag_spec='-L$libdir'
10032 hardcode_shlibpath_var=no
10040 if test x$host_vendor = xsni; then
10042 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10043 export_dynamic_flag_spec='${wl}-Blargedynsym'
10049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10050 $as_echo "$ld_shlibs" >&6; }
10051 test "$ld_shlibs" = no && can_build_shared=no
10053 with_gnu_ld=$with_gnu_ld
10070 # Do we need to explicitly link libc?
10072 case "x$archive_cmds_need_lc" in
10074 # Assume -lc should be added
10075 archive_cmds_need_lc=yes
10077 if test "$enable_shared" = yes && test "$GCC" = yes; then
10078 case $archive_cmds in
10080 # FIXME: we may have to deal with multi-command sequences.
10083 # Test whether the compiler implicitly links with -lc since on some
10084 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10085 # to ld, don't add -lc before -lgcc.
10086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10087 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10088 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10089 $as_echo_n "(cached) " >&6
10092 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10094 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10095 (eval $ac_compile) 2>&5
10097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10098 test $ac_status = 0; } 2>conftest.err; then
10101 libobjs=conftest.$ac_objext
10103 wl=$lt_prog_compiler_wl
10104 pic_flag=$lt_prog_compiler_pic
10110 lt_save_allow_undefined_flag=$allow_undefined_flag
10111 allow_undefined_flag=
10112 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10113 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10115 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10116 test $ac_status = 0; }
10118 lt_cv_archive_cmds_need_lc=no
10120 lt_cv_archive_cmds_need_lc=yes
10122 allow_undefined_flag=$lt_save_allow_undefined_flag
10124 cat conftest.err 1>&5
10129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10130 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10131 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10290 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10292 if test "$GCC" = yes; then
10294 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10295 *) lt_awk_arg="/^libraries:/" ;;
10298 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10299 *) lt_sed_strip_eq="s,=/,/,g" ;;
10301 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10302 case $lt_search_path_spec in
10304 # if the path contains ";" then we assume it to be the separator
10305 # otherwise default to the standard path separator (i.e. ":") - it is
10306 # assumed that no part of a normal pathname contains ";" but that should
10307 # okay in the real world where ";" in dirpaths is itself problematic.
10308 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10311 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10314 # Ok, now we have the path, separated by spaces, we can step through it
10315 # and add multilib dir if necessary.
10316 lt_tmp_lt_search_path_spec=
10317 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10318 for lt_sys_path in $lt_search_path_spec; do
10319 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10320 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10322 test -d "$lt_sys_path" && \
10323 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10326 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10327 BEGIN {RS=" "; FS="/|\n";} {
10330 for (lt_i = NF; lt_i > 0; lt_i--) {
10331 if ($lt_i != "" && $lt_i != ".") {
10332 if ($lt_i == "..") {
10335 if (lt_count == 0) {
10336 lt_foo="/" $lt_i lt_foo;
10343 if (lt_foo != "") { lt_freq[lt_foo]++; }
10344 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10346 # AWK program above erroneously prepends '/' to C:/dos/paths
10349 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10350 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10352 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10354 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10356 library_names_spec=
10357 libname_spec='lib$name'
10361 postuninstall_cmds=
10365 shlibpath_overrides_runpath=unknown
10367 dynamic_linker="$host_os ld.so"
10368 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10369 need_lib_prefix=unknown
10370 hardcode_into_libs=no
10372 # when you set need_version to no, make sure it does not cause -set_version
10373 # flags to be left without arguments
10374 need_version=unknown
10378 version_type=linux # correct to gnu/linux during the next big refactor
10379 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10380 shlibpath_var=LIBPATH
10382 # AIX 3 has no versioning support, so we append a major version to the name.
10383 soname_spec='${libname}${release}${shared_ext}$major'
10387 version_type=linux # correct to gnu/linux during the next big refactor
10390 hardcode_into_libs=yes
10391 if test "$host_cpu" = ia64; then
10392 # AIX 5 supports IA64
10393 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10394 shlibpath_var=LD_LIBRARY_PATH
10396 # With GCC up to 2.95.x, collect2 would create an import file
10397 # for dependence libraries. The import file would start with
10398 # the line `#! .'. This would cause the generated library to
10399 # depend on `.', always an invalid library. This was fixed in
10400 # development snapshots of GCC prior to 3.0.
10402 aix4 | aix4.[01] | aix4.[01].*)
10403 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10405 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10408 can_build_shared=no
10412 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10413 # soname into executable. Probably we can add versioning support to
10414 # collect2, so additional links can be useful in future.
10415 if test "$aix_use_runtimelinking" = yes; then
10416 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10417 # instead of lib<name>.a to let people know that these are not
10418 # typical AIX shared libraries.
10419 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10421 # We preserve .a as extension for shared libraries through AIX4.2
10422 # and later when we are not doing run time linking.
10423 library_names_spec='${libname}${release}.a $libname.a'
10424 soname_spec='${libname}${release}${shared_ext}$major'
10426 shlibpath_var=LIBPATH
10433 # Since July 2007 AmigaOS4 officially supports .so libraries.
10434 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10435 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10438 library_names_spec='$libname.ixlibrary $libname.a'
10439 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10440 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'
10446 library_names_spec='${libname}${shared_ext}'
10447 dynamic_linker="$host_os ld.so"
10448 shlibpath_var=LIBRARY_PATH
10452 version_type=linux # correct to gnu/linux during the next big refactor
10454 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10455 soname_spec='${libname}${release}${shared_ext}$major'
10456 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10457 shlibpath_var=LD_LIBRARY_PATH
10458 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10459 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10460 # the default ld.so.conf also contains /usr/contrib/lib and
10461 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10462 # libtool to hard-code these into programs
10465 cygwin* | mingw* | pw32* | cegcc*)
10466 version_type=windows
10471 case $GCC,$cc_basename in
10474 library_names_spec='$libname.dll.a'
10475 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10476 postinstall_cmds='base_file=`basename \${file}`~
10477 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10478 dldir=$destdir/`dirname \$dlpath`~
10479 test -d \$dldir || mkdir -p \$dldir~
10480 $install_prog $dir/$dlname \$dldir/$dlname~
10481 chmod a+x \$dldir/$dlname~
10482 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10483 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10485 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10486 dlpath=$dir/\$dldll~
10488 shlibpath_overrides_runpath=yes
10492 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10493 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10495 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10498 # MinGW DLLs use traditional 'lib' prefix
10499 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10502 # pw32 DLLs use 'pw' prefix rather than 'lib'
10503 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10506 dynamic_linker='Win32 ld.exe'
10511 libname_spec='$name'
10512 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10513 library_names_spec='${libname}.dll.lib'
10517 sys_lib_search_path_spec=
10520 for lt_path in $LIB
10523 # Let DOS variable expansion print the short 8.3 style file name.
10524 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10525 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10528 # Convert to MSYS style.
10529 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10532 # Convert to unix form, then to dos form, then back to unix form
10533 # but this time dos style (no spaces!) so that the unix form looks
10534 # like /cygdrive/c/PROGRA~1:/cygdr...
10535 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10536 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10537 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10540 sys_lib_search_path_spec="$LIB"
10541 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10542 # It is most probably a Windows format PATH.
10543 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10545 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10547 # FIXME: find the short name or the path components, as spaces are
10548 # common. (e.g. "Program Files" -> "PROGRA~1")
10552 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10553 postinstall_cmds='base_file=`basename \${file}`~
10554 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10555 dldir=$destdir/`dirname \$dlpath`~
10556 test -d \$dldir || mkdir -p \$dldir~
10557 $install_prog $dir/$dlname \$dldir/$dlname'
10558 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10559 dlpath=$dir/\$dldll~
10561 shlibpath_overrides_runpath=yes
10562 dynamic_linker='Win32 link.exe'
10566 # Assume MSVC wrapper
10567 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10568 dynamic_linker='Win32 ld.exe'
10571 # FIXME: first we should search . and the directory the executable is in
10575 darwin* | rhapsody*)
10576 dynamic_linker="$host_os dyld"
10577 version_type=darwin
10580 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10581 soname_spec='${libname}${release}${major}$shared_ext'
10582 shlibpath_overrides_runpath=yes
10583 shlibpath_var=DYLD_LIBRARY_PATH
10584 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10586 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10587 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10591 version_type=linux # correct to gnu/linux during the next big refactor
10594 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10595 soname_spec='${libname}${release}${shared_ext}$major'
10596 shlibpath_var=LD_LIBRARY_PATH
10599 freebsd* | dragonfly*)
10600 # DragonFly does not have aout. When/if they implement a new
10601 # versioning mechanism, adjust this.
10602 if test -x /usr/bin/objformat; then
10603 objformat=`/usr/bin/objformat`
10606 freebsd[23].*) objformat=aout ;;
10607 *) objformat=elf ;;
10610 version_type=freebsd-$objformat
10611 case $version_type in
10613 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10618 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10622 shlibpath_var=LD_LIBRARY_PATH
10625 shlibpath_overrides_runpath=yes
10627 freebsd3.[01]* | freebsdelf3.[01]*)
10628 shlibpath_overrides_runpath=yes
10629 hardcode_into_libs=yes
10631 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10632 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10633 shlibpath_overrides_runpath=no
10634 hardcode_into_libs=yes
10636 *) # from 4.6 on, and DragonFly
10637 shlibpath_overrides_runpath=yes
10638 hardcode_into_libs=yes
10644 version_type=linux # correct to gnu/linux during the next big refactor
10647 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10648 soname_spec='${libname}${release}${shared_ext}$major'
10649 shlibpath_var=LD_LIBRARY_PATH
10650 shlibpath_overrides_runpath=no
10651 hardcode_into_libs=yes
10655 version_type=linux # correct to gnu/linux during the next big refactor
10658 dynamic_linker="$host_os runtime_loader"
10659 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10660 soname_spec='${libname}${release}${shared_ext}$major'
10661 shlibpath_var=LIBRARY_PATH
10662 shlibpath_overrides_runpath=yes
10663 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10664 hardcode_into_libs=yes
10667 hpux9* | hpux10* | hpux11*)
10668 # Give a soname corresponding to the major version so that dld.sl refuses to
10669 # link against other versions.
10676 hardcode_into_libs=yes
10677 dynamic_linker="$host_os dld.so"
10678 shlibpath_var=LD_LIBRARY_PATH
10679 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10680 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10681 soname_spec='${libname}${release}${shared_ext}$major'
10682 if test "X$HPUX_IA64_MODE" = X32; then
10683 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10685 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10687 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10691 hardcode_into_libs=yes
10692 dynamic_linker="$host_os dld.sl"
10693 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10694 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10695 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10696 soname_spec='${libname}${release}${shared_ext}$major'
10697 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10698 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10702 dynamic_linker="$host_os dld.sl"
10703 shlibpath_var=SHLIB_PATH
10704 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10705 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10706 soname_spec='${libname}${release}${shared_ext}$major'
10709 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10710 postinstall_cmds='chmod 555 $lib'
10711 # or fails outright, so override atomically:
10712 install_override_mode=555
10716 version_type=linux # correct to gnu/linux during the next big refactor
10719 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10720 soname_spec='${libname}${release}${shared_ext}$major'
10721 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10722 shlibpath_var=LD_LIBRARY_PATH
10723 shlibpath_overrides_runpath=no
10724 hardcode_into_libs=yes
10727 irix5* | irix6* | nonstopux*)
10729 nonstopux*) version_type=nonstopux ;;
10731 if test "$lt_cv_prog_gnu_ld" = yes; then
10732 version_type=linux # correct to gnu/linux during the next big refactor
10739 soname_spec='${libname}${release}${shared_ext}$major'
10740 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10742 irix5* | nonstopux*)
10743 libsuff= shlibsuff=
10746 case $LD in # libtool.m4 will add one of these switches to LD
10747 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10748 libsuff= shlibsuff= libmagic=32-bit;;
10749 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10750 libsuff=32 shlibsuff=N32 libmagic=N32;;
10751 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10752 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10753 *) libsuff= shlibsuff= libmagic=never-match;;
10757 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10758 shlibpath_overrides_runpath=no
10759 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10760 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10761 hardcode_into_libs=yes
10764 # No shared lib support for Linux oldld, aout, or coff.
10765 linux*oldld* | linux*aout* | linux*coff*)
10769 # This must be glibc/ELF.
10770 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10771 version_type=linux # correct to gnu/linux during the next big refactor
10774 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10775 soname_spec='${libname}${release}${shared_ext}$major'
10776 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10777 shlibpath_var=LD_LIBRARY_PATH
10778 shlibpath_overrides_runpath=no
10780 # Some binutils ld are patched to set DT_RUNPATH
10781 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10782 $as_echo_n "(cached) " >&6
10784 lt_cv_shlibpath_overrides_runpath=no
10785 save_LDFLAGS=$LDFLAGS
10786 save_libdir=$libdir
10787 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10788 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10790 /* end confdefs.h. */
10800 if ac_fn_c_try_link "$LINENO"; then :
10801 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10802 lt_cv_shlibpath_overrides_runpath=yes
10805 rm -f core conftest.err conftest.$ac_objext \
10806 conftest$ac_exeext conftest.$ac_ext
10807 LDFLAGS=$save_LDFLAGS
10808 libdir=$save_libdir
10812 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10814 # This implies no fast_install, which is unacceptable.
10815 # Some rework will be needed to allow for fast_install
10816 # before this can be enabled.
10817 hardcode_into_libs=yes
10819 # Append ld.so.conf contents to the search path
10820 if test -f /etc/ld.so.conf; then
10821 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' ' '`
10822 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10825 # We used to test for /lib/ld.so.1 and disable shared libraries on
10826 # powerpc, because MkLinux only supported shared libraries with the
10827 # GNU dynamic linker. Since this was broken with cross compilers,
10828 # most powerpc-linux boxes support dynamic linking these days and
10829 # people can always --disable-shared, the test was removed, and we
10830 # assume the GNU/Linux dynamic linker is in use.
10831 dynamic_linker='GNU/Linux ld.so'
10838 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10839 soname_spec='${libname}${release}${shared_ext}$major'
10840 shlibpath_var=LD_LIBRARY_PATH
10841 shlibpath_overrides_runpath=no
10842 hardcode_into_libs=yes
10843 dynamic_linker='NetBSD ld.elf_so'
10850 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10851 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10852 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10853 dynamic_linker='NetBSD (a.out) ld.so'
10855 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10856 soname_spec='${libname}${release}${shared_ext}$major'
10857 dynamic_linker='NetBSD ld.elf_so'
10859 shlibpath_var=LD_LIBRARY_PATH
10860 shlibpath_overrides_runpath=yes
10861 hardcode_into_libs=yes
10865 version_type=linux # correct to gnu/linux during the next big refactor
10866 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10867 shlibpath_var=LD_LIBRARY_PATH
10868 shlibpath_overrides_runpath=yes
10875 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10876 soname_spec='${libname}${release}${shared_ext}$major'
10877 shlibpath_var=LD_LIBRARY_PATH
10878 shlibpath_overrides_runpath=no
10879 hardcode_into_libs=yes
10880 dynamic_linker='ldqnx.so'
10885 sys_lib_dlsearch_path_spec="/usr/lib"
10887 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10889 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10890 *) need_version=no ;;
10892 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10893 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10894 shlibpath_var=LD_LIBRARY_PATH
10895 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10897 openbsd2.[89] | openbsd2.[89].*)
10898 shlibpath_overrides_runpath=no
10901 shlibpath_overrides_runpath=yes
10905 shlibpath_overrides_runpath=yes
10910 libname_spec='$name'
10913 library_names_spec='$libname${shared_ext} $libname.a'
10914 dynamic_linker='OS/2 ld.exe'
10915 shlibpath_var=LIBPATH
10918 osf3* | osf4* | osf5*)
10922 soname_spec='${libname}${release}${shared_ext}$major'
10923 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10924 shlibpath_var=LD_LIBRARY_PATH
10925 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10926 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10934 version_type=linux # correct to gnu/linux during the next big refactor
10937 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10938 soname_spec='${libname}${release}${shared_ext}$major'
10939 shlibpath_var=LD_LIBRARY_PATH
10940 shlibpath_overrides_runpath=yes
10941 hardcode_into_libs=yes
10942 # ldd complains unless libraries are executable
10943 postinstall_cmds='chmod +x $lib'
10948 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10949 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10950 shlibpath_var=LD_LIBRARY_PATH
10951 shlibpath_overrides_runpath=yes
10952 if test "$with_gnu_ld" = yes; then
10959 version_type=linux # correct to gnu/linux during the next big refactor
10960 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10961 soname_spec='${libname}${release}${shared_ext}$major'
10962 shlibpath_var=LD_LIBRARY_PATH
10963 case $host_vendor in
10965 shlibpath_overrides_runpath=no
10967 runpath_var=LD_RUN_PATH
10975 shlibpath_overrides_runpath=no
10976 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10982 if test -d /usr/nec ;then
10983 version_type=linux # correct to gnu/linux during the next big refactor
10984 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10985 soname_spec='$libname${shared_ext}.$major'
10986 shlibpath_var=LD_LIBRARY_PATH
10990 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10991 version_type=freebsd-elf
10994 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10995 soname_spec='${libname}${release}${shared_ext}$major'
10996 shlibpath_var=LD_LIBRARY_PATH
10997 shlibpath_overrides_runpath=yes
10998 hardcode_into_libs=yes
10999 if test "$with_gnu_ld" = yes; then
11000 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11002 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11005 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11009 sys_lib_dlsearch_path_spec='/usr/lib'
11013 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11014 version_type=linux # correct to gnu/linux during the next big refactor
11017 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11018 shlibpath_var=LD_LIBRARY_PATH
11019 shlibpath_overrides_runpath=no
11020 hardcode_into_libs=yes
11024 version_type=linux # correct to gnu/linux during the next big refactor
11025 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11026 soname_spec='${libname}${release}${shared_ext}$major'
11027 shlibpath_var=LD_LIBRARY_PATH
11034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11035 $as_echo "$dynamic_linker" >&6; }
11036 test "$dynamic_linker" = no && can_build_shared=no
11038 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11039 if test "$GCC" = yes; then
11040 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11043 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11044 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11046 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11047 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11142 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11144 if test -n "$hardcode_libdir_flag_spec" ||
11145 test -n "$runpath_var" ||
11146 test "X$hardcode_automatic" = "Xyes" ; then
11148 # We can hardcode non-existent directories.
11149 if test "$hardcode_direct" != no &&
11150 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11151 # have to relink, otherwise we might link with an installed library
11152 # when we should be linking with a yet-to-be-installed one
11153 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11154 test "$hardcode_minus_L" != no; then
11155 # Linking always hardcodes the temporary library directory.
11156 hardcode_action=relink
11158 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11159 hardcode_action=immediate
11162 # We cannot hardcode anything, or else we can only hardcode existing
11164 hardcode_action=unsupported
11166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11167 $as_echo "$hardcode_action" >&6; }
11169 if test "$hardcode_action" = relink ||
11170 test "$inherit_rpath" = yes; then
11171 # Fast installation is not supported
11172 enable_fast_install=no
11173 elif test "$shlibpath_overrides_runpath" = yes ||
11174 test "$enable_shared" = no; then
11175 # Fast installation is not necessary
11176 enable_fast_install=needless
11184 if test "x$enable_dlopen" != xyes; then
11185 enable_dlopen=unknown
11186 enable_dlopen_self=unknown
11187 enable_dlopen_self_static=unknown
11194 lt_cv_dlopen="load_add_on"
11196 lt_cv_dlopen_self=yes
11199 mingw* | pw32* | cegcc*)
11200 lt_cv_dlopen="LoadLibrary"
11205 lt_cv_dlopen="dlopen"
11210 # if libdl is installed we need to link against it
11211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11212 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11213 if ${ac_cv_lib_dl_dlopen+:} false; then :
11214 $as_echo_n "(cached) " >&6
11216 ac_check_lib_save_LIBS=$LIBS
11218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11219 /* end confdefs.h. */
11221 /* Override any GCC internal prototype to avoid an error.
11222 Use char because int might match the return type of a GCC
11223 builtin and then its argument prototype would still apply. */
11236 if ac_fn_c_try_link "$LINENO"; then :
11237 ac_cv_lib_dl_dlopen=yes
11239 ac_cv_lib_dl_dlopen=no
11241 rm -f core conftest.err conftest.$ac_objext \
11242 conftest$ac_exeext conftest.$ac_ext
11243 LIBS=$ac_check_lib_save_LIBS
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11246 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11247 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11248 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11251 lt_cv_dlopen="dyld"
11253 lt_cv_dlopen_self=yes
11260 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11261 if test "x$ac_cv_func_shl_load" = xyes; then :
11262 lt_cv_dlopen="shl_load"
11264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11265 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11266 if ${ac_cv_lib_dld_shl_load+:} false; then :
11267 $as_echo_n "(cached) " >&6
11269 ac_check_lib_save_LIBS=$LIBS
11271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11272 /* end confdefs.h. */
11274 /* Override any GCC internal prototype to avoid an error.
11275 Use char because int might match the return type of a GCC
11276 builtin and then its argument prototype would still apply. */
11284 return shl_load ();
11289 if ac_fn_c_try_link "$LINENO"; then :
11290 ac_cv_lib_dld_shl_load=yes
11292 ac_cv_lib_dld_shl_load=no
11294 rm -f core conftest.err conftest.$ac_objext \
11295 conftest$ac_exeext conftest.$ac_ext
11296 LIBS=$ac_check_lib_save_LIBS
11298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11299 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11300 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11301 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11303 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11304 if test "x$ac_cv_func_dlopen" = xyes; then :
11305 lt_cv_dlopen="dlopen"
11307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11308 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11309 if ${ac_cv_lib_dl_dlopen+:} false; then :
11310 $as_echo_n "(cached) " >&6
11312 ac_check_lib_save_LIBS=$LIBS
11314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11315 /* end confdefs.h. */
11317 /* Override any GCC internal prototype to avoid an error.
11318 Use char because int might match the return type of a GCC
11319 builtin and then its argument prototype would still apply. */
11332 if ac_fn_c_try_link "$LINENO"; then :
11333 ac_cv_lib_dl_dlopen=yes
11335 ac_cv_lib_dl_dlopen=no
11337 rm -f core conftest.err conftest.$ac_objext \
11338 conftest$ac_exeext conftest.$ac_ext
11339 LIBS=$ac_check_lib_save_LIBS
11341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11342 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11343 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11344 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11347 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11348 if ${ac_cv_lib_svld_dlopen+:} false; then :
11349 $as_echo_n "(cached) " >&6
11351 ac_check_lib_save_LIBS=$LIBS
11352 LIBS="-lsvld $LIBS"
11353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11354 /* end confdefs.h. */
11356 /* Override any GCC internal prototype to avoid an error.
11357 Use char because int might match the return type of a GCC
11358 builtin and then its argument prototype would still apply. */
11371 if ac_fn_c_try_link "$LINENO"; then :
11372 ac_cv_lib_svld_dlopen=yes
11374 ac_cv_lib_svld_dlopen=no
11376 rm -f core conftest.err conftest.$ac_objext \
11377 conftest$ac_exeext conftest.$ac_ext
11378 LIBS=$ac_check_lib_save_LIBS
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11381 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11382 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11383 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11386 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11387 if ${ac_cv_lib_dld_dld_link+:} false; then :
11388 $as_echo_n "(cached) " >&6
11390 ac_check_lib_save_LIBS=$LIBS
11392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11393 /* end confdefs.h. */
11395 /* Override any GCC internal prototype to avoid an error.
11396 Use char because int might match the return type of a GCC
11397 builtin and then its argument prototype would still apply. */
11405 return dld_link ();
11410 if ac_fn_c_try_link "$LINENO"; then :
11411 ac_cv_lib_dld_dld_link=yes
11413 ac_cv_lib_dld_dld_link=no
11415 rm -f core conftest.err conftest.$ac_objext \
11416 conftest$ac_exeext conftest.$ac_ext
11417 LIBS=$ac_check_lib_save_LIBS
11419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11420 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11421 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11422 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11443 if test "x$lt_cv_dlopen" != xno; then
11449 case $lt_cv_dlopen in
11451 save_CPPFLAGS="$CPPFLAGS"
11452 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11454 save_LDFLAGS="$LDFLAGS"
11455 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11458 LIBS="$lt_cv_dlopen_libs $LIBS"
11460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11461 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11462 if ${lt_cv_dlopen_self+:} false; then :
11463 $as_echo_n "(cached) " >&6
11465 if test "$cross_compiling" = yes; then :
11466 lt_cv_dlopen_self=cross
11468 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11469 lt_status=$lt_dlunknown
11470 cat > conftest.$ac_ext <<_LT_EOF
11471 #line $LINENO "configure"
11472 #include "confdefs.h"
11481 # define LT_DLGLOBAL RTLD_GLOBAL
11484 # define LT_DLGLOBAL DL_GLOBAL
11486 # define LT_DLGLOBAL 0
11490 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11491 find out it does not work in some platform. */
11492 #ifndef LT_DLLAZY_OR_NOW
11494 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11497 # define LT_DLLAZY_OR_NOW DL_LAZY
11500 # define LT_DLLAZY_OR_NOW RTLD_NOW
11503 # define LT_DLLAZY_OR_NOW DL_NOW
11505 # define LT_DLLAZY_OR_NOW 0
11512 /* When -fvisbility=hidden is used, assume the code has been annotated
11513 correspondingly for the symbols needed. */
11514 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11515 int fnord () __attribute__((visibility("default")));
11518 int fnord () { return 42; }
11521 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11522 int status = $lt_dlunknown;
11526 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11529 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11530 else puts (dlerror ());
11532 /* dlclose (self); */
11540 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11541 (eval $ac_link) 2>&5
11543 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11544 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11545 (./conftest; exit; ) >&5 2>/dev/null
11547 case x$lt_status in
11548 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11549 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11550 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11553 # compilation failed
11554 lt_cv_dlopen_self=no
11561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11562 $as_echo "$lt_cv_dlopen_self" >&6; }
11564 if test "x$lt_cv_dlopen_self" = xyes; then
11565 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11567 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11568 if ${lt_cv_dlopen_self_static+:} false; then :
11569 $as_echo_n "(cached) " >&6
11571 if test "$cross_compiling" = yes; then :
11572 lt_cv_dlopen_self_static=cross
11574 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11575 lt_status=$lt_dlunknown
11576 cat > conftest.$ac_ext <<_LT_EOF
11577 #line $LINENO "configure"
11578 #include "confdefs.h"
11587 # define LT_DLGLOBAL RTLD_GLOBAL
11590 # define LT_DLGLOBAL DL_GLOBAL
11592 # define LT_DLGLOBAL 0
11596 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11597 find out it does not work in some platform. */
11598 #ifndef LT_DLLAZY_OR_NOW
11600 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11603 # define LT_DLLAZY_OR_NOW DL_LAZY
11606 # define LT_DLLAZY_OR_NOW RTLD_NOW
11609 # define LT_DLLAZY_OR_NOW DL_NOW
11611 # define LT_DLLAZY_OR_NOW 0
11618 /* When -fvisbility=hidden is used, assume the code has been annotated
11619 correspondingly for the symbols needed. */
11620 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11621 int fnord () __attribute__((visibility("default")));
11624 int fnord () { return 42; }
11627 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11628 int status = $lt_dlunknown;
11632 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11635 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11636 else puts (dlerror ());
11638 /* dlclose (self); */
11646 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11647 (eval $ac_link) 2>&5
11649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11650 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11651 (./conftest; exit; ) >&5 2>/dev/null
11653 case x$lt_status in
11654 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11655 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11656 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11659 # compilation failed
11660 lt_cv_dlopen_self_static=no
11667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11668 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11671 CPPFLAGS="$save_CPPFLAGS"
11672 LDFLAGS="$save_LDFLAGS"
11677 case $lt_cv_dlopen_self in
11678 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11679 *) enable_dlopen_self=unknown ;;
11682 case $lt_cv_dlopen_self_static in
11683 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11684 *) enable_dlopen_self_static=unknown ;;
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11707 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11708 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11709 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11710 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11712 $as_echo "yes" >&6; }
11714 # FIXME - insert some real tests, host_os isn't really good enough
11717 if test -n "$STRIP" ; then
11718 striplib="$STRIP -x"
11719 old_striplib="$STRIP -S"
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11721 $as_echo "yes" >&6; }
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11724 $as_echo "no" >&6; }
11728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11729 $as_echo "no" >&6; }
11745 # Report which library types will actually be built
11746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11747 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11749 $as_echo "$can_build_shared" >&6; }
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11752 $as_echo_n "checking whether to build shared libraries... " >&6; }
11753 test "$can_build_shared" = "no" && enable_shared=no
11755 # On AIX, shared libraries and static libraries use the same namespace, and
11756 # are all built from PIC.
11759 test "$enable_shared" = yes && enable_static=no
11760 if test -n "$RANLIB"; then
11761 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11762 postinstall_cmds='$RANLIB $lib'
11767 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11768 test "$enable_shared" = yes && enable_static=no
11772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11773 $as_echo "$enable_shared" >&6; }
11775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11776 $as_echo_n "checking whether to build static libraries... " >&6; }
11777 # Make sure either enable_shared or enable_static is yes.
11778 test "$enable_shared" = yes || enable_static=yes
11779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11780 $as_echo "$enable_static" >&6; }
11787 ac_cpp='$CPP $CPPFLAGS'
11788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11808 ac_config_commands="$ac_config_commands libtool"
11813 # Only expand once:
11817 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11818 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11822 cat >>confdefs.h <<_ACEOF
11827 cat >>confdefs.h <<_ACEOF
11832 cat >>confdefs.h <<_ACEOF
11837 cat >>confdefs.h <<_ACEOF
11841 version_info="8:4:7"
11845 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11846 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11850 ### Needed information
11856 want_econnman0_7x="yes"
11865 want_econnman0_7x="no"
11873 requirement_ebluez="edbus >= 1.6.99"
11874 requirement_econnman0_7x="edbus >= 1.6.99"
11875 requirement_edbus="ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62"
11876 requirement_ehal="edbus >= 1.6.99"
11877 requirement_enotify="edbus >= 1.6.99"
11878 requirement_eofono="edbus >= 1.6.99"
11879 requirement_eukit="edbus >= 1.6.99"
11880 requirement_dbus="dbus-1 >= 0.62"
11882 ### Additional options to configure
11885 # Check whether --enable-ebluez was given.
11886 if test "${enable_ebluez+set}" = set; then :
11887 enableval=$enable_ebluez; enable_ebluez=$enableval
11889 enable_ebluez="${want_ebluez}"
11893 # Check whether --enable-econnman0_7x was given.
11894 if test "${enable_econnman0_7x+set}" = set; then :
11895 enableval=$enable_econnman0_7x; enable_econnman0_7x=$enableval
11897 enable_econnman0_7x="${want_econnman0_7x}"
11901 # Check whether --enable-ehal was given.
11902 if test "${enable_ehal+set}" = set; then :
11903 enableval=$enable_ehal; enable_ehal=$enableval
11905 enable_ehal="${want_ehal}"
11909 # Check whether --enable-enotify was given.
11910 if test "${enable_enotify+set}" = set; then :
11911 enableval=$enable_enotify; enable_enotify=$enableval
11913 enable_enotify="${want_enotify}"
11917 # Check whether --enable-eofono was given.
11918 if test "${enable_eofono+set}" = set; then :
11919 enableval=$enable_eofono; enable_eofono=$enableval
11921 enable_eofono="${want_eofono}"
11925 # Check whether --enable-eukit was given.
11926 if test "${enable_eukit+set}" = set; then :
11927 enableval=$enable_eukit; enable_eukit=$enableval
11929 enable_eukit="${want_eukit}"
11933 ### Checks for programs
11936 ac_cpp='$CPP $CPPFLAGS'
11937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11940 if test -n "$ac_tool_prefix"; then
11941 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11942 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11944 $as_echo_n "checking for $ac_word... " >&6; }
11945 if ${ac_cv_prog_CC+:} false; then :
11946 $as_echo_n "(cached) " >&6
11948 if test -n "$CC"; then
11949 ac_cv_prog_CC="$CC" # Let the user override the test.
11951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11952 for as_dir in $PATH
11955 test -z "$as_dir" && as_dir=.
11956 for ac_exec_ext in '' $ac_executable_extensions; do
11957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11958 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11969 if test -n "$CC"; then
11970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11971 $as_echo "$CC" >&6; }
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11974 $as_echo "no" >&6; }
11979 if test -z "$ac_cv_prog_CC"; then
11981 # Extract the first word of "gcc", so it can be a program name with args.
11982 set dummy gcc; ac_word=$2
11983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11984 $as_echo_n "checking for $ac_word... " >&6; }
11985 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11986 $as_echo_n "(cached) " >&6
11988 if test -n "$ac_ct_CC"; then
11989 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11992 for as_dir in $PATH
11995 test -z "$as_dir" && as_dir=.
11996 for ac_exec_ext in '' $ac_executable_extensions; do
11997 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11998 ac_cv_prog_ac_ct_CC="gcc"
11999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12008 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12009 if test -n "$ac_ct_CC"; then
12010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12011 $as_echo "$ac_ct_CC" >&6; }
12013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12014 $as_echo "no" >&6; }
12017 if test "x$ac_ct_CC" = x; then
12020 case $cross_compiling:$ac_tool_warned in
12022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12023 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12024 ac_tool_warned=yes ;;
12029 CC="$ac_cv_prog_CC"
12032 if test -z "$CC"; then
12033 if test -n "$ac_tool_prefix"; then
12034 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12035 set dummy ${ac_tool_prefix}cc; ac_word=$2
12036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12037 $as_echo_n "checking for $ac_word... " >&6; }
12038 if ${ac_cv_prog_CC+:} false; then :
12039 $as_echo_n "(cached) " >&6
12041 if test -n "$CC"; then
12042 ac_cv_prog_CC="$CC" # Let the user override the test.
12044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12045 for as_dir in $PATH
12048 test -z "$as_dir" && as_dir=.
12049 for ac_exec_ext in '' $ac_executable_extensions; do
12050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12051 ac_cv_prog_CC="${ac_tool_prefix}cc"
12052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12062 if test -n "$CC"; then
12063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12064 $as_echo "$CC" >&6; }
12066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12067 $as_echo "no" >&6; }
12073 if test -z "$CC"; then
12074 # Extract the first word of "cc", so it can be a program name with args.
12075 set dummy cc; ac_word=$2
12076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12077 $as_echo_n "checking for $ac_word... " >&6; }
12078 if ${ac_cv_prog_CC+:} false; then :
12079 $as_echo_n "(cached) " >&6
12081 if test -n "$CC"; then
12082 ac_cv_prog_CC="$CC" # Let the user override the test.
12084 ac_prog_rejected=no
12085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12086 for as_dir in $PATH
12089 test -z "$as_dir" && as_dir=.
12090 for ac_exec_ext in '' $ac_executable_extensions; do
12091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12092 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12093 ac_prog_rejected=yes
12097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12104 if test $ac_prog_rejected = yes; then
12105 # We found a bogon in the path, so make sure we never use it.
12106 set dummy $ac_cv_prog_CC
12108 if test $# != 0; then
12109 # We chose a different compiler from the bogus one.
12110 # However, it has the same basename, so the bogon will be chosen
12111 # first if we set CC to just the basename; use the full file name.
12113 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12119 if test -n "$CC"; then
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12121 $as_echo "$CC" >&6; }
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12124 $as_echo "no" >&6; }
12129 if test -z "$CC"; then
12130 if test -n "$ac_tool_prefix"; then
12131 for ac_prog in cl.exe
12133 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12134 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12136 $as_echo_n "checking for $ac_word... " >&6; }
12137 if ${ac_cv_prog_CC+:} false; then :
12138 $as_echo_n "(cached) " >&6
12140 if test -n "$CC"; then
12141 ac_cv_prog_CC="$CC" # Let the user override the test.
12143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12144 for as_dir in $PATH
12147 test -z "$as_dir" && as_dir=.
12148 for ac_exec_ext in '' $ac_executable_extensions; do
12149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12150 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12161 if test -n "$CC"; then
12162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12163 $as_echo "$CC" >&6; }
12165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12166 $as_echo "no" >&6; }
12170 test -n "$CC" && break
12173 if test -z "$CC"; then
12175 for ac_prog in cl.exe
12177 # Extract the first word of "$ac_prog", so it can be a program name with args.
12178 set dummy $ac_prog; ac_word=$2
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12180 $as_echo_n "checking for $ac_word... " >&6; }
12181 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12182 $as_echo_n "(cached) " >&6
12184 if test -n "$ac_ct_CC"; then
12185 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12188 for as_dir in $PATH
12191 test -z "$as_dir" && as_dir=.
12192 for ac_exec_ext in '' $ac_executable_extensions; do
12193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12194 ac_cv_prog_ac_ct_CC="$ac_prog"
12195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12204 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12205 if test -n "$ac_ct_CC"; then
12206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12207 $as_echo "$ac_ct_CC" >&6; }
12209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12210 $as_echo "no" >&6; }
12214 test -n "$ac_ct_CC" && break
12217 if test "x$ac_ct_CC" = x; then
12220 case $cross_compiling:$ac_tool_warned in
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12223 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12224 ac_tool_warned=yes ;;
12233 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12234 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12235 as_fn_error $? "no acceptable C compiler found in \$PATH
12236 See \`config.log' for more details" "$LINENO" 5; }
12238 # Provide some information about the compiler.
12239 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12242 for ac_option in --version -v -V -qversion; do
12243 { { ac_try="$ac_compiler $ac_option >&5"
12244 case "(($ac_try" in
12245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12246 *) ac_try_echo=$ac_try;;
12248 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12249 $as_echo "$ac_try_echo"; } >&5
12250 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12252 if test -s conftest.err; then
12254 ... rest of stderr output deleted ...
12255 10q' conftest.err >conftest.er1
12256 cat conftest.er1 >&5
12258 rm -f conftest.er1 conftest.err
12259 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12260 test $ac_status = 0; }
12263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12264 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12265 if ${ac_cv_c_compiler_gnu+:} false; then :
12266 $as_echo_n "(cached) " >&6
12268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12269 /* end confdefs.h. */
12282 if ac_fn_c_try_compile "$LINENO"; then :
12283 ac_compiler_gnu=yes
12287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12288 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12292 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12293 if test $ac_compiler_gnu = yes; then
12298 ac_test_CFLAGS=${CFLAGS+set}
12299 ac_save_CFLAGS=$CFLAGS
12300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12301 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12302 if ${ac_cv_prog_cc_g+:} false; then :
12303 $as_echo_n "(cached) " >&6
12305 ac_save_c_werror_flag=$ac_c_werror_flag
12306 ac_c_werror_flag=yes
12309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12310 /* end confdefs.h. */
12320 if ac_fn_c_try_compile "$LINENO"; then :
12321 ac_cv_prog_cc_g=yes
12324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12325 /* end confdefs.h. */
12335 if ac_fn_c_try_compile "$LINENO"; then :
12338 ac_c_werror_flag=$ac_save_c_werror_flag
12340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12341 /* end confdefs.h. */
12351 if ac_fn_c_try_compile "$LINENO"; then :
12352 ac_cv_prog_cc_g=yes
12354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12359 ac_c_werror_flag=$ac_save_c_werror_flag
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12362 $as_echo "$ac_cv_prog_cc_g" >&6; }
12363 if test "$ac_test_CFLAGS" = set; then
12364 CFLAGS=$ac_save_CFLAGS
12365 elif test $ac_cv_prog_cc_g = yes; then
12366 if test "$GCC" = yes; then
12372 if test "$GCC" = yes; then
12378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12379 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12380 if ${ac_cv_prog_cc_c89+:} false; then :
12381 $as_echo_n "(cached) " >&6
12383 ac_cv_prog_cc_c89=no
12385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12386 /* end confdefs.h. */
12387 #include <stdarg.h>
12389 #include <sys/types.h>
12390 #include <sys/stat.h>
12391 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12392 struct buf { int x; };
12393 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12394 static char *e (p, i)
12400 static char *f (char * (*g) (char **, int), char **p, ...)
12405 s = g (p, va_arg (v,int));
12410 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12411 function prototypes and stuff, but not '\xHH' hex character constants.
12412 These don't provoke an error unfortunately, instead are silently treated
12413 as 'x'. The following induces an error, until -std is added to get
12414 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12415 array size at least. It's necessary to write '\x00'==0 to get something
12416 that's true only with -std. */
12417 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12419 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12420 inside strings and character constants. */
12422 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12424 int test (int i, double x);
12425 struct s1 {int (*f) (int a);};
12426 struct s2 {int (*f) (double a);};
12427 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12433 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12438 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12439 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12441 CC="$ac_save_CC $ac_arg"
12442 if ac_fn_c_try_compile "$LINENO"; then :
12443 ac_cv_prog_cc_c89=$ac_arg
12445 rm -f core conftest.err conftest.$ac_objext
12446 test "x$ac_cv_prog_cc_c89" != "xno" && break
12448 rm -f conftest.$ac_ext
12453 case "x$ac_cv_prog_cc_c89" in
12455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12456 $as_echo "none needed" >&6; } ;;
12458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12459 $as_echo "unsupported" >&6; } ;;
12461 CC="$CC $ac_cv_prog_cc_c89"
12462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12463 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12465 if test "x$ac_cv_prog_cc_c89" != xno; then :
12470 ac_cpp='$CPP $CPPFLAGS'
12471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12475 depcc="$CC" am_compiler_list=
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12478 $as_echo_n "checking dependency style of $depcc... " >&6; }
12479 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12480 $as_echo_n "(cached) " >&6
12482 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12483 # We make a subdir and do the tests there. Otherwise we can end up
12484 # making bogus files that we don't know about and never remove. For
12485 # instance it was reported that on HP-UX the gcc test will end up
12486 # making a dummy file named `D' -- because `-MD' means `put the output
12488 rm -rf conftest.dir
12490 # Copy depcomp to subdir because otherwise we won't find it if we're
12491 # using a relative directory.
12492 cp "$am_depcomp" conftest.dir
12494 # We will build objects and dependencies in a subdirectory because
12495 # it helps to detect inapplicable dependency modes. For instance
12496 # both Tru64's cc and ICC support -MD to output dependencies as a
12497 # side effect of compilation, but ICC will put the dependencies in
12498 # the current directory while Tru64 will put them in the object
12502 am_cv_CC_dependencies_compiler_type=none
12503 if test "$am_compiler_list" = ""; then
12504 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12506 am__universal=false
12507 case " $depcc " in #(
12508 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12511 for depmode in $am_compiler_list; do
12512 # Setup a source with many dependencies, because some compilers
12513 # like to wrap large dependency lists on column 80 (with \), and
12514 # we should not choose a depcomp mode which is confused by this.
12516 # We need to recreate these files for each test, as the compiler may
12517 # overwrite some of them when testing with obscure command lines.
12518 # This happens at least with the AIX C compiler.
12520 for i in 1 2 3 4 5 6; do
12521 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12522 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12523 # Solaris 8's {/usr,}/bin/sh.
12524 touch sub/conftst$i.h
12526 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12528 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12529 # mode. It turns out that the SunPro C++ compiler does not properly
12530 # handle `-M -o', and we need to detect this. Also, some Intel
12531 # versions had trouble with output in subdirs
12532 am__obj=sub/conftest.${OBJEXT-o}
12533 am__minus_obj="-o $am__obj"
12536 # This depmode causes a compiler race in universal mode.
12537 test "$am__universal" = false || continue
12540 # after this tag, mechanisms are not by side-effect, so they'll
12541 # only be used when explicitly requested
12542 if test "x$enable_dependency_tracking" = xyes; then
12548 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12549 # This compiler won't grok `-c -o', but also, the minuso test has
12550 # not run yet. These depmodes are late enough in the game, and
12551 # so weak that their functioning should not be impacted.
12552 am__obj=conftest.${OBJEXT-o}
12557 if depmode=$depmode \
12558 source=sub/conftest.c object=$am__obj \
12559 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12560 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12561 >/dev/null 2>conftest.err &&
12562 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12563 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12564 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12565 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12566 # icc doesn't choke on unknown options, it will just issue warnings
12567 # or remarks (even with -Werror). So we grep stderr for any message
12568 # that says an option was ignored or not supported.
12569 # When given -MP, icc 7.0 and 7.1 complain thusly:
12570 # icc: Command line warning: ignoring option '-M'; no argument required
12571 # The diagnosis changed in icc 8.0:
12572 # icc: Command line remark: option '-MP' not supported
12573 if (grep 'ignoring option' conftest.err ||
12574 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12575 am_cv_CC_dependencies_compiler_type=$depmode
12582 rm -rf conftest.dir
12584 am_cv_CC_dependencies_compiler_type=none
12588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12589 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12590 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12593 test "x$enable_dependency_tracking" != xno \
12594 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12595 am__fastdepCC_TRUE=
12596 am__fastdepCC_FALSE='#'
12598 am__fastdepCC_TRUE='#'
12599 am__fastdepCC_FALSE=
12603 if test "x$CC" != xcc; then
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
12605 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
12608 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
12610 set dummy $CC; ac_cc=`$as_echo "$2" |
12611 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12612 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
12613 $as_echo_n "(cached) " >&6
12615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12616 /* end confdefs.h. */
12626 # Make sure it works both with $CC and with simple cc.
12627 # We do the test twice because some compilers refuse to overwrite an
12628 # existing .o file with -o, though they will create one.
12629 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12631 if { { case "(($ac_try" in
12632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12633 *) ac_try_echo=$ac_try;;
12635 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12636 $as_echo "$ac_try_echo"; } >&5
12637 (eval "$ac_try") 2>&5
12639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12640 test $ac_status = 0; } &&
12641 test -f conftest2.$ac_objext && { { case "(($ac_try" in
12642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12643 *) ac_try_echo=$ac_try;;
12645 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12646 $as_echo "$ac_try_echo"; } >&5
12647 (eval "$ac_try") 2>&5
12649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12650 test $ac_status = 0; };
12652 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
12653 if test "x$CC" != xcc; then
12654 # Test first that cc exists at all.
12655 if { ac_try='cc -c conftest.$ac_ext >&5'
12656 { { case "(($ac_try" in
12657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12658 *) ac_try_echo=$ac_try;;
12660 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12661 $as_echo "$ac_try_echo"; } >&5
12662 (eval "$ac_try") 2>&5
12664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12665 test $ac_status = 0; }; }; then
12666 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12668 if { { case "(($ac_try" in
12669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12670 *) ac_try_echo=$ac_try;;
12672 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12673 $as_echo "$ac_try_echo"; } >&5
12674 (eval "$ac_try") 2>&5
12676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12677 test $ac_status = 0; } &&
12678 test -f conftest2.$ac_objext && { { case "(($ac_try" in
12679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12680 *) ac_try_echo=$ac_try;;
12682 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12683 $as_echo "$ac_try_echo"; } >&5
12684 (eval "$ac_try") 2>&5
12686 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12687 test $ac_status = 0; };
12692 # cc exists but doesn't like -o.
12693 eval ac_cv_prog_cc_${ac_cc}_c_o=no
12698 eval ac_cv_prog_cc_${ac_cc}_c_o=no
12700 rm -f core conftest*
12703 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12705 $as_echo "yes" >&6; }
12707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12708 $as_echo "no" >&6; }
12710 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
12714 # FIXME: we rely on the cache variable name because
12715 # there is no other way.
12717 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12718 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
12719 if test "$am_t" != yes; then
12720 # Losing compiler, so override with the script.
12721 # FIXME: It is wrong to rewrite CC.
12722 # But if we don't then we get into trouble of one sort or another.
12723 # A longer-term fix would be to have automake use am__CC in this case,
12724 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12725 CC="$am_aux_dir/compile $CC"
12738 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12739 if test -n "$ac_tool_prefix"; then
12740 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12741 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12743 $as_echo_n "checking for $ac_word... " >&6; }
12744 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12745 $as_echo_n "(cached) " >&6
12747 case $PKG_CONFIG in
12749 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12753 for as_dir in $PATH
12756 test -z "$as_dir" && as_dir=.
12757 for ac_exec_ext in '' $ac_executable_extensions; do
12758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12759 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12770 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12771 if test -n "$PKG_CONFIG"; then
12772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12773 $as_echo "$PKG_CONFIG" >&6; }
12775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12776 $as_echo "no" >&6; }
12781 if test -z "$ac_cv_path_PKG_CONFIG"; then
12782 ac_pt_PKG_CONFIG=$PKG_CONFIG
12783 # Extract the first word of "pkg-config", so it can be a program name with args.
12784 set dummy pkg-config; ac_word=$2
12785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12786 $as_echo_n "checking for $ac_word... " >&6; }
12787 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12788 $as_echo_n "(cached) " >&6
12790 case $ac_pt_PKG_CONFIG in
12792 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12796 for as_dir in $PATH
12799 test -z "$as_dir" && as_dir=.
12800 for ac_exec_ext in '' $ac_executable_extensions; do
12801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12802 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12803 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12813 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12814 if test -n "$ac_pt_PKG_CONFIG"; then
12815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12816 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12819 $as_echo "no" >&6; }
12822 if test "x$ac_pt_PKG_CONFIG" = x; then
12825 case $cross_compiling:$ac_tool_warned in
12827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12828 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12829 ac_tool_warned=yes ;;
12831 PKG_CONFIG=$ac_pt_PKG_CONFIG
12834 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12838 if test -n "$PKG_CONFIG"; then
12839 _pkg_min_version=0.9.0
12840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12841 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12842 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12844 $as_echo "yes" >&6; }
12846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12847 $as_echo "no" >&6; }
12852 # Check whether pkg-config supports Requires.private
12853 if $PKG_CONFIG --atleast-pkgconfig-version 0.22 ; then
12854 pkgconfig_requires_private="Requires.private"
12856 pkgconfig_requires_private="Requires"
12860 # doxygen program for documentation building
12863 # Check whether --enable-doc was given.
12864 if test "${enable_doc+set}" = set; then :
12865 enableval=$enable_doc;
12866 if test "x${enableval}" = "xyes" ; then
12867 efl_enable_doc="yes"
12869 efl_enable_doc="no"
12873 efl_enable_doc="yes"
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
12878 $as_echo_n "checking whether to build documentation... " >&6; }
12879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
12880 $as_echo "${efl_enable_doc}" >&6; }
12882 if test "x${efl_enable_doc}" = "xyes" ; then
12885 efl_doxygen="doxygen"
12888 # Check whether --with-doxygen was given.
12889 if test "${with_doxygen+set}" = set; then :
12890 withval=$with_doxygen;
12891 efl_doxygen=${withval}
12892 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
12893 set dummy ${efl_doxygen}; ac_word=$2
12894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12895 $as_echo_n "checking for $ac_word... " >&6; }
12896 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
12897 $as_echo_n "(cached) " >&6
12899 if test -n "$efl_have_doxygen"; then
12900 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
12902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12903 for as_dir in $PATH
12906 test -z "$as_dir" && as_dir=.
12907 for ac_exec_ext in '' $ac_executable_extensions; do
12908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12909 ac_cv_prog_efl_have_doxygen="yes"
12910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12917 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
12920 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
12921 if test -n "$efl_have_doxygen"; then
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
12923 $as_echo "$efl_have_doxygen" >&6; }
12925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12926 $as_echo "no" >&6; }
12930 if test "x${efl_have_doxygen}" = "xno" ; then
12932 echo "The doxygen program you specified:"
12933 echo "${efl_doxygen}"
12934 echo "was not found. Please check the path and make sure "
12935 echo "the program exists and is executable."
12936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
12937 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
12941 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
12942 set dummy ${efl_doxygen}; ac_word=$2
12943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12944 $as_echo_n "checking for $ac_word... " >&6; }
12945 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
12946 $as_echo_n "(cached) " >&6
12948 if test -n "$efl_have_doxygen"; then
12949 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
12951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12952 for as_dir in $PATH
12955 test -z "$as_dir" && as_dir=.
12956 for ac_exec_ext in '' $ac_executable_extensions; do
12957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12958 ac_cv_prog_efl_have_doxygen="yes"
12959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12966 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
12969 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
12970 if test -n "$efl_have_doxygen"; then
12971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
12972 $as_echo "$efl_have_doxygen" >&6; }
12974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12975 $as_echo "no" >&6; }
12979 if test "x${efl_have_doxygen}" = "xno" ; then
12981 echo "The doxygen program was not found in your execute path."
12982 echo "You may have doxygen installed somewhere not covered by your path."
12984 echo "If this is the case make sure you have the packages installed, AND"
12985 echo "that the doxygen program is in your execute path (see your"
12986 echo "shell manual page on setting the \$PATH environment variable), OR"
12987 echo "alternatively, specify the program to use with --with-doxygen."
12988 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
12989 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
12995 efl_have_doxygen="no"
13000 if ! test "x${efl_have_doxygen}" = "xyes" ; then
13001 efl_enable_doc="no"
13004 if test "x${efl_have_doxygen}" = "xyes"; then
13005 EFL_BUILD_DOC_TRUE=
13006 EFL_BUILD_DOC_FALSE='#'
13008 EFL_BUILD_DOC_TRUE='#'
13009 EFL_BUILD_DOC_FALSE=
13013 if test "x$efl_have_doxygen" = "xyes"; then :
13021 ### Checks for libraries
13025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
13026 $as_echo_n "checking for DBUS... " >&6; }
13028 if test -n "$DBUS_CFLAGS"; then
13029 pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
13030 elif test -n "$PKG_CONFIG"; then
13031 if test -n "$PKG_CONFIG" && \
13032 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 0.62\""; } >&5
13033 ($PKG_CONFIG --exists --print-errors "dbus-1 >= 0.62") 2>&5
13035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13036 test $ac_status = 0; }; then
13037 pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 0.62" 2>/dev/null`
13038 test "x$?" != "x0" && pkg_failed=yes
13045 if test -n "$DBUS_LIBS"; then
13046 pkg_cv_DBUS_LIBS="$DBUS_LIBS"
13047 elif test -n "$PKG_CONFIG"; then
13048 if test -n "$PKG_CONFIG" && \
13049 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 0.62\""; } >&5
13050 ($PKG_CONFIG --exists --print-errors "dbus-1 >= 0.62") 2>&5
13052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13053 test $ac_status = 0; }; then
13054 pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 0.62" 2>/dev/null`
13055 test "x$?" != "x0" && pkg_failed=yes
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 --cflags --libs "dbus-1 >= 0.62" 2>&1`
13077 DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "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
13092 elif test $pkg_failed = untried; then
13093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13094 $as_echo "no" >&6; }
13095 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13096 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13097 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13098 is in your PATH or set the PKG_CONFIG environment variable to the full
13099 path to pkg-config.
13101 Alternatively, you may set the environment variables DBUS_CFLAGS
13102 and DBUS_LIBS to avoid the need to call pkg-config.
13103 See the pkg-config man page for more details.
13105 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13106 See \`config.log' for more details" "$LINENO" 5; }
13108 DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
13109 DBUS_LIBS=$pkg_cv_DBUS_LIBS
13110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13111 $as_echo "yes" >&6; }
13114 dbus_libs="$DBUS_LIBS"
13115 dbus_cflags="$DBUS_CFLAGS"
13120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS" >&5
13121 $as_echo_n "checking for EDBUS... " >&6; }
13123 if test -n "$EDBUS_CFLAGS"; then
13124 pkg_cv_EDBUS_CFLAGS="$EDBUS_CFLAGS"
13125 elif test -n "$PKG_CONFIG"; then
13126 if test -n "$PKG_CONFIG" && \
13127 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
13128 ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
13130 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13131 test $ac_status = 0; }; then
13132 pkg_cv_EDBUS_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
13133 test "x$?" != "x0" && pkg_failed=yes
13140 if test -n "$EDBUS_LIBS"; then
13141 pkg_cv_EDBUS_LIBS="$EDBUS_LIBS"
13142 elif test -n "$PKG_CONFIG"; then
13143 if test -n "$PKG_CONFIG" && \
13144 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
13145 ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
13147 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13148 test $ac_status = 0; }; then
13149 pkg_cv_EDBUS_LIBS=`$PKG_CONFIG --libs "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
13150 test "x$?" != "x0" && pkg_failed=yes
13160 if test $pkg_failed = yes; then
13161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13162 $as_echo "no" >&6; }
13164 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13165 _pkg_short_errors_supported=yes
13167 _pkg_short_errors_supported=no
13169 if test $_pkg_short_errors_supported = yes; then
13170 EDBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
13172 EDBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
13174 # Put the nasty error message in config.log where it belongs
13175 echo "$EDBUS_PKG_ERRORS" >&5
13177 as_fn_error $? "Package requirements (ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62) were not met:
13181 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13182 installed software in a non-standard prefix.
13184 Alternatively, you may set the environment variables EDBUS_CFLAGS
13185 and EDBUS_LIBS to avoid the need to call pkg-config.
13186 See the pkg-config man page for more details." "$LINENO" 5
13187 elif test $pkg_failed = untried; then
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13189 $as_echo "no" >&6; }
13190 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13191 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13192 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13193 is in your PATH or set the PKG_CONFIG environment variable to the full
13194 path to pkg-config.
13196 Alternatively, you may set the environment variables EDBUS_CFLAGS
13197 and EDBUS_LIBS to avoid the need to call pkg-config.
13198 See the pkg-config man page for more details.
13200 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13201 See \`config.log' for more details" "$LINENO" 5; }
13203 EDBUS_CFLAGS=$pkg_cv_EDBUS_CFLAGS
13204 EDBUS_LIBS=$pkg_cv_EDBUS_LIBS
13205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13206 $as_echo "yes" >&6; }
13210 # Find out the version of DBUS we're using
13211 dbus_version=`pkg-config --modversion dbus-1`
13212 DBUS_VERSION_MAJOR=`echo $dbus_version | awk -F. '{print $1}'`
13213 DBUS_VERSION_MINOR=`echo $dbus_version | awk -F. '{print $2}'`
13214 DBUS_VERSION_MICRO=`echo $dbus_version | awk -F. '{print $3}'`
13216 if test "z$DBUS_VERSION_MAJOR" = "z" ; then
13217 DBUS_VERSION_MAJOR="0"
13220 if test "z$DBUS_VERSION_MINOR" = "z" ; then
13221 DBUS_VERSION_MINOR="0"
13224 if test "z$DBUS_VERSION_MICRO" = "z" ; then
13225 DBUS_VERSION_MICRO="0"
13228 DBUS_VERSION_CFLAGS="$DBUS_VERSION_CFLAGS -DDBUS_VERSION_MAJOR=$DBUS_VERSION_MAJOR"
13229 DBUS_VERSION_CFLAGS="$DBUS_VERSION_CFLAGS -DDBUS_VERSION_MINOR=$DBUS_VERSION_MINOR"
13230 DBUS_VERSION_CFLAGS="$DBUS_VERSION_CFLAGS -DDBUS_VERSION_MICRO=$DBUS_VERSION_MICRO"
13233 # Dependencies for the libraries
13234 if test "x${enable_enotify}" = "xyes" ; then
13237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVAS" >&5
13238 $as_echo_n "checking for EVAS... " >&6; }
13240 if test -n "$EVAS_CFLAGS"; then
13241 pkg_cv_EVAS_CFLAGS="$EVAS_CFLAGS"
13242 elif test -n "$PKG_CONFIG"; then
13243 if test -n "$PKG_CONFIG" && \
13244 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas >= 1.6.99\""; } >&5
13245 ($PKG_CONFIG --exists --print-errors "evas >= 1.6.99") 2>&5
13247 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13248 test $ac_status = 0; }; then
13249 pkg_cv_EVAS_CFLAGS=`$PKG_CONFIG --cflags "evas >= 1.6.99" 2>/dev/null`
13250 test "x$?" != "x0" && pkg_failed=yes
13257 if test -n "$EVAS_LIBS"; then
13258 pkg_cv_EVAS_LIBS="$EVAS_LIBS"
13259 elif test -n "$PKG_CONFIG"; then
13260 if test -n "$PKG_CONFIG" && \
13261 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas >= 1.6.99\""; } >&5
13262 ($PKG_CONFIG --exists --print-errors "evas >= 1.6.99") 2>&5
13264 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13265 test $ac_status = 0; }; then
13266 pkg_cv_EVAS_LIBS=`$PKG_CONFIG --libs "evas >= 1.6.99" 2>/dev/null`
13267 test "x$?" != "x0" && pkg_failed=yes
13277 if test $pkg_failed = yes; then
13278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13279 $as_echo "no" >&6; }
13281 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13282 _pkg_short_errors_supported=yes
13284 _pkg_short_errors_supported=no
13286 if test $_pkg_short_errors_supported = yes; then
13287 EVAS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "evas >= 1.6.99" 2>&1`
13289 EVAS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "evas >= 1.6.99" 2>&1`
13291 # Put the nasty error message in config.log where it belongs
13292 echo "$EVAS_PKG_ERRORS" >&5
13294 enable_enotify="no"
13295 elif test $pkg_failed = untried; then
13296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13297 $as_echo "no" >&6; }
13298 enable_enotify="no"
13300 EVAS_CFLAGS=$pkg_cv_EVAS_CFLAGS
13301 EVAS_LIBS=$pkg_cv_EVAS_LIBS
13302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13303 $as_echo "yes" >&6; }
13304 requirement_enotify="evas >= 1.6.99 ${requirement_enotify}"
13308 if test "x${enable_ebluez}" = "xyes"; then
13310 BUILD_EBLUEZ_FALSE='#'
13312 BUILD_EBLUEZ_TRUE='#'
13313 BUILD_EBLUEZ_FALSE=
13316 if test "x${enable_econnman0_7x}" = "xyes"; then
13317 BUILD_ECONNMAN0_7X_TRUE=
13318 BUILD_ECONNMAN0_7X_FALSE='#'
13320 BUILD_ECONNMAN0_7X_TRUE='#'
13321 BUILD_ECONNMAN0_7X_FALSE=
13324 if test "x${enable_ehal}" = "xyes"; then
13326 BUILD_EHAL_FALSE='#'
13328 BUILD_EHAL_TRUE='#'
13332 if test "x${enable_enotify}" = "xyes"; then
13333 BUILD_ENOTIFY_TRUE=
13334 BUILD_ENOTIFY_FALSE='#'
13336 BUILD_ENOTIFY_TRUE='#'
13337 BUILD_ENOTIFY_FALSE=
13340 if test "x${enable_eofono}" = "xyes"; then
13342 BUILD_EOFONO_FALSE='#'
13344 BUILD_EOFONO_TRUE='#'
13345 BUILD_EOFONO_FALSE=
13348 if test "x${enable_eukit}" = "xyes"; then
13350 BUILD_EUKIT_FALSE='#'
13352 BUILD_EUKIT_TRUE='#'
13357 # Dependencies for the binaries
13363 # Check whether --enable-edbus-test was given.
13364 if test "${enable_edbus_test+set}" = set; then :
13365 enableval=$enable_edbus_test;
13366 if test "x${enableval}" = "xyes" ; then
13367 have_edbus_test="yes"
13369 have_edbus_test="no"
13373 have_edbus_test="yes"
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_test binary" >&5
13378 $as_echo_n "checking whether to build edbus_test binary... " >&6; }
13379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_test" >&5
13380 $as_echo "$have_edbus_test" >&6; }
13382 if test "x$have_edbus_test" = "xyes"; then
13383 EDBUS_TEST_PRG=edbus_test${EXEEXT}
13388 if test "x$have_edbus_test" = "xyes"; then
13389 BUILD_EDBUS_TEST_TRUE=
13390 BUILD_EDBUS_TEST_FALSE='#'
13392 BUILD_EDBUS_TEST_TRUE='#'
13393 BUILD_EDBUS_TEST_FALSE=
13397 if test "x$have_edbus_test" = "xyes"; then :
13406 # Check whether --enable-edbus-test-client was given.
13407 if test "${enable_edbus_test_client+set}" = set; then :
13408 enableval=$enable_edbus_test_client;
13409 if test "x${enableval}" = "xyes" ; then
13410 have_edbus_test_client="yes"
13412 have_edbus_test_client="no"
13416 have_edbus_test_client="yes"
13420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_test_client binary" >&5
13421 $as_echo_n "checking whether to build edbus_test_client binary... " >&6; }
13422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_test_client" >&5
13423 $as_echo "$have_edbus_test_client" >&6; }
13425 if test "x$have_edbus_test_client" = "xyes"; then
13426 EDBUS_TEST_CLIENT_PRG=edbus_test_client${EXEEXT}
13431 if test "x$have_edbus_test_client" = "xyes"; then
13432 BUILD_EDBUS_TEST_CLIENT_TRUE=
13433 BUILD_EDBUS_TEST_CLIENT_FALSE='#'
13435 BUILD_EDBUS_TEST_CLIENT_TRUE='#'
13436 BUILD_EDBUS_TEST_CLIENT_FALSE=
13440 if test "x$have_edbus_test_client" = "xyes"; then :
13449 # Check whether --enable-edbus-bluez-test was given.
13450 if test "${enable_edbus_bluez_test+set}" = set; then :
13451 enableval=$enable_edbus_bluez_test;
13452 if test "x${enableval}" = "xyes" ; then
13453 have_edbus_bluez_test="yes"
13455 have_edbus_bluez_test="no"
13459 have_edbus_bluez_test=${enable_ebluez}
13463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_bluez_test binary" >&5
13464 $as_echo_n "checking whether to build edbus_bluez_test binary... " >&6; }
13465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_bluez_test" >&5
13466 $as_echo "$have_edbus_bluez_test" >&6; }
13468 if test "x$have_edbus_bluez_test" = "xyes"; then
13469 EDBUS_BLUEZ_TEST_PRG=edbus_bluez_test${EXEEXT}
13474 if test "x$have_edbus_bluez_test" = "xyes"; then
13475 BUILD_EDBUS_BLUEZ_TEST_TRUE=
13476 BUILD_EDBUS_BLUEZ_TEST_FALSE='#'
13478 BUILD_EDBUS_BLUEZ_TEST_TRUE='#'
13479 BUILD_EDBUS_BLUEZ_TEST_FALSE=
13483 if test "x$have_edbus_bluez_test" = "xyes"; then :
13492 # Check whether --enable-edbus-connman0_7x-test was given.
13493 if test "${enable_edbus_connman0_7x_test+set}" = set; then :
13494 enableval=$enable_edbus_connman0_7x_test;
13495 if test "x${enableval}" = "xyes" ; then
13496 have_edbus_connman0_7x_test="yes"
13498 have_edbus_connman0_7x_test="no"
13502 have_edbus_connman0_7x_test=${enable_econnman0_7x}
13506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_connman0_7x_test binary" >&5
13507 $as_echo_n "checking whether to build edbus_connman0_7x_test binary... " >&6; }
13508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_connman0_7x_test" >&5
13509 $as_echo "$have_edbus_connman0_7x_test" >&6; }
13511 if test "x$have_edbus_connman0_7x_test" = "xyes"; then
13512 EDBUS_CONNMAN0_7X_TEST_PRG=edbus_connman0_7x_test${EXEEXT}
13517 if test "x$have_edbus_connman0_7x_test" = "xyes"; then
13518 BUILD_EDBUS_CONNMAN0_7X_TEST_TRUE=
13519 BUILD_EDBUS_CONNMAN0_7X_TEST_FALSE='#'
13521 BUILD_EDBUS_CONNMAN0_7X_TEST_TRUE='#'
13522 BUILD_EDBUS_CONNMAN0_7X_TEST_FALSE=
13526 if test "x$have_edbus_connman0_7x_test" = "xyes"; then :
13535 # Check whether --enable-edbus-notification-daemon-test was given.
13536 if test "${enable_edbus_notification_daemon_test+set}" = set; then :
13537 enableval=$enable_edbus_notification_daemon_test;
13538 if test "x${enableval}" = "xyes" ; then
13539 have_edbus_notification_daemon_test="yes"
13541 have_edbus_notification_daemon_test="no"
13545 have_edbus_notification_daemon_test=${enable_enotify}
13549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_notification_daemon_test binary" >&5
13550 $as_echo_n "checking whether to build edbus_notification_daemon_test binary... " >&6; }
13551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_notification_daemon_test" >&5
13552 $as_echo "$have_edbus_notification_daemon_test" >&6; }
13554 if test "x$have_edbus_notification_daemon_test" = "xyes"; then
13555 EDBUS_NOTIFICATION_DAEMON_TEST_PRG=edbus_notification_daemon_test${EXEEXT}
13560 if test "x$have_edbus_notification_daemon_test" = "xyes"; then
13561 BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_TRUE=
13562 BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_FALSE='#'
13564 BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_TRUE='#'
13565 BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_FALSE=
13569 if test "x$have_edbus_notification_daemon_test" = "xyes"; then :
13578 # Check whether --enable-edbus-notify-send was given.
13579 if test "${enable_edbus_notify_send+set}" = set; then :
13580 enableval=$enable_edbus_notify_send;
13581 if test "x${enableval}" = "xyes" ; then
13582 have_edbus_notify_send="yes"
13584 have_edbus_notify_send="no"
13588 have_edbus_notify_send=${enable_enotify}
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_notify_send binary" >&5
13593 $as_echo_n "checking whether to build edbus_notify_send binary... " >&6; }
13594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_notify_send" >&5
13595 $as_echo "$have_edbus_notify_send" >&6; }
13597 if test "x$have_edbus_notify_send" = "xyes"; then
13598 EDBUS_NOTIFY_SEND_PRG=edbus_notify_send${EXEEXT}
13603 if test "x$have_edbus_notify_send" = "xyes"; then
13604 BUILD_EDBUS_NOTIFY_SEND_TRUE=
13605 BUILD_EDBUS_NOTIFY_SEND_FALSE='#'
13607 BUILD_EDBUS_NOTIFY_SEND_TRUE='#'
13608 BUILD_EDBUS_NOTIFY_SEND_FALSE=
13612 if test "x$have_edbus_notify_send" = "xyes"; then :
13621 # Check whether --enable-edbus-notify-test was given.
13622 if test "${enable_edbus_notify_test+set}" = set; then :
13623 enableval=$enable_edbus_notify_test;
13624 if test "x${enableval}" = "xyes" ; then
13625 have_edbus_notify_test="yes"
13627 have_edbus_notify_test="no"
13631 have_edbus_notify_test=${enable_enotify}
13635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_notify_test binary" >&5
13636 $as_echo_n "checking whether to build edbus_notify_test binary... " >&6; }
13637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_notify_test" >&5
13638 $as_echo "$have_edbus_notify_test" >&6; }
13640 if test "x$have_edbus_notify_test" = "xyes"; then
13641 EDBUS_NOTIFY_TEST_PRG=edbus_notify_test${EXEEXT}
13646 if test "x$have_edbus_notify_test" = "xyes"; then
13647 BUILD_EDBUS_NOTIFY_TEST_TRUE=
13648 BUILD_EDBUS_NOTIFY_TEST_FALSE='#'
13650 BUILD_EDBUS_NOTIFY_TEST_TRUE='#'
13651 BUILD_EDBUS_NOTIFY_TEST_FALSE=
13655 if test "x$have_edbus_notify_test" = "xyes"; then :
13664 # Check whether --enable-edbus-ofono-test was given.
13665 if test "${enable_edbus_ofono_test+set}" = set; then :
13666 enableval=$enable_edbus_ofono_test;
13667 if test "x${enableval}" = "xyes" ; then
13668 have_edbus_ofono_test="yes"
13670 have_edbus_ofono_test="no"
13674 have_edbus_ofono_test=${enable_eofono}
13678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_ofono_test binary" >&5
13679 $as_echo_n "checking whether to build edbus_ofono_test binary... " >&6; }
13680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_ofono_test" >&5
13681 $as_echo "$have_edbus_ofono_test" >&6; }
13683 if test "x$have_edbus_ofono_test" = "xyes"; then
13684 EDBUS_OFONO_TEST_PRG=edbus_ofono_test${EXEEXT}
13689 if test "x$have_edbus_ofono_test" = "xyes"; then
13690 BUILD_EDBUS_OFONO_TEST_TRUE=
13691 BUILD_EDBUS_OFONO_TEST_FALSE='#'
13693 BUILD_EDBUS_OFONO_TEST_TRUE='#'
13694 BUILD_EDBUS_OFONO_TEST_FALSE=
13698 if test "x$have_edbus_ofono_test" = "xyes"; then :
13707 # Check whether --enable-edbus-ukit-test was given.
13708 if test "${enable_edbus_ukit_test+set}" = set; then :
13709 enableval=$enable_edbus_ukit_test;
13710 if test "x${enableval}" = "xyes" ; then
13711 have_edbus_ukit_test="yes"
13713 have_edbus_ukit_test="no"
13717 have_edbus_ukit_test=${enable_eukit}
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_ukit_test binary" >&5
13722 $as_echo_n "checking whether to build edbus_ukit_test binary... " >&6; }
13723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_ukit_test" >&5
13724 $as_echo "$have_edbus_ukit_test" >&6; }
13726 if test "x$have_edbus_ukit_test" = "xyes"; then
13727 EDBUS_UKIT_TEST_PRG=edbus_ukit_test${EXEEXT}
13732 if test "x$have_edbus_ukit_test" = "xyes"; then
13733 BUILD_EDBUS_UKIT_TEST_TRUE=
13734 BUILD_EDBUS_UKIT_TEST_FALSE='#'
13736 BUILD_EDBUS_UKIT_TEST_TRUE='#'
13737 BUILD_EDBUS_UKIT_TEST_FALSE=
13741 if test "x$have_edbus_ukit_test" = "xyes"; then :
13750 # Check whether --enable-edbus-performance-test was given.
13751 if test "${enable_edbus_performance_test+set}" = set; then :
13752 enableval=$enable_edbus_performance_test;
13753 if test "x${enableval}" = "xyes" ; then
13754 have_edbus_performance_test="yes"
13756 have_edbus_performance_test="no"
13760 have_edbus_performance_test="no"
13764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_performance_test binary" >&5
13765 $as_echo_n "checking whether to build edbus_performance_test binary... " >&6; }
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_performance_test" >&5
13767 $as_echo "$have_edbus_performance_test" >&6; }
13769 if test "x$have_edbus_performance_test" = "xyes"; then
13770 EDBUS_PERFORMANCE_TEST_PRG=edbus_performance_test${EXEEXT}
13775 if test "x$have_edbus_performance_test" = "xyes"; then
13776 BUILD_EDBUS_PERFORMANCE_TEST_TRUE=
13777 BUILD_EDBUS_PERFORMANCE_TEST_FALSE='#'
13779 BUILD_EDBUS_PERFORMANCE_TEST_TRUE='#'
13780 BUILD_EDBUS_PERFORMANCE_TEST_FALSE=
13784 if test "x$have_edbus_performance_test" = "xyes"; then :
13793 # Check whether --enable-edbus-async-test was given.
13794 if test "${enable_edbus_async_test+set}" = set; then :
13795 enableval=$enable_edbus_async_test;
13796 if test "x${enableval}" = "xyes" ; then
13797 have_edbus_async_test="yes"
13799 have_edbus_async_test="no"
13803 have_edbus_async_test="yes"
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_async_test binary" >&5
13808 $as_echo_n "checking whether to build edbus_async_test binary... " >&6; }
13809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_async_test" >&5
13810 $as_echo "$have_edbus_async_test" >&6; }
13812 if test "x$have_edbus_async_test" = "xyes"; then
13813 EDBUS_ASYNC_TEST_PRG=edbus_async_test${EXEEXT}
13818 if test "x$have_edbus_async_test" = "xyes"; then
13819 BUILD_EDBUS_ASYNC_TEST_TRUE=
13820 BUILD_EDBUS_ASYNC_TEST_FALSE='#'
13822 BUILD_EDBUS_ASYNC_TEST_TRUE='#'
13823 BUILD_EDBUS_ASYNC_TEST_FALSE=
13827 if test "x$have_edbus_async_test" = "xyes"; then :
13833 if test "x${have_edbus_test}" = "xyes" ; then
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_TEST" >&5
13837 $as_echo_n "checking for EDBUS_TEST... " >&6; }
13839 if test -n "$EDBUS_TEST_CFLAGS"; then
13840 pkg_cv_EDBUS_TEST_CFLAGS="$EDBUS_TEST_CFLAGS"
13841 elif test -n "$PKG_CONFIG"; then
13842 if test -n "$PKG_CONFIG" && \
13843 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 dbus-1 >= 0.62\""; } >&5
13844 ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 dbus-1 >= 0.62") 2>&5
13846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13847 test $ac_status = 0; }; then
13848 pkg_cv_EDBUS_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
13849 test "x$?" != "x0" && pkg_failed=yes
13856 if test -n "$EDBUS_TEST_LIBS"; then
13857 pkg_cv_EDBUS_TEST_LIBS="$EDBUS_TEST_LIBS"
13858 elif test -n "$PKG_CONFIG"; then
13859 if test -n "$PKG_CONFIG" && \
13860 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 dbus-1 >= 0.62\""; } >&5
13861 ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 dbus-1 >= 0.62") 2>&5
13863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13864 test $ac_status = 0; }; then
13865 pkg_cv_EDBUS_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
13866 test "x$?" != "x0" && pkg_failed=yes
13876 if test $pkg_failed = yes; then
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13878 $as_echo "no" >&6; }
13880 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13881 _pkg_short_errors_supported=yes
13883 _pkg_short_errors_supported=no
13885 if test $_pkg_short_errors_supported = yes; then
13886 EDBUS_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.6.99 dbus-1 >= 0.62" 2>&1`
13888 EDBUS_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.6.99 dbus-1 >= 0.62" 2>&1`
13890 # Put the nasty error message in config.log where it belongs
13891 echo "$EDBUS_TEST_PKG_ERRORS" >&5
13893 have_edbus_test="no"
13894 elif test $pkg_failed = untried; then
13895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13896 $as_echo "no" >&6; }
13897 have_edbus_test="no"
13899 EDBUS_TEST_CFLAGS=$pkg_cv_EDBUS_TEST_CFLAGS
13900 EDBUS_TEST_LIBS=$pkg_cv_EDBUS_TEST_LIBS
13901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13902 $as_echo "yes" >&6; }
13903 have_edbus_test="yes"
13907 if test "x${have_edbus_test_client}" = "xyes" ; then
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_TEST_CLIENT" >&5
13911 $as_echo_n "checking for EDBUS_TEST_CLIENT... " >&6; }
13913 if test -n "$EDBUS_TEST_CLIENT_CFLAGS"; then
13914 pkg_cv_EDBUS_TEST_CLIENT_CFLAGS="$EDBUS_TEST_CLIENT_CFLAGS"
13915 elif test -n "$PKG_CONFIG"; then
13916 if test -n "$PKG_CONFIG" && \
13917 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 dbus-1 >= 0.62\""; } >&5
13918 ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 dbus-1 >= 0.62") 2>&5
13920 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13921 test $ac_status = 0; }; then
13922 pkg_cv_EDBUS_TEST_CLIENT_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
13923 test "x$?" != "x0" && pkg_failed=yes
13930 if test -n "$EDBUS_TEST_CLIENT_LIBS"; then
13931 pkg_cv_EDBUS_TEST_CLIENT_LIBS="$EDBUS_TEST_CLIENT_LIBS"
13932 elif test -n "$PKG_CONFIG"; then
13933 if test -n "$PKG_CONFIG" && \
13934 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 dbus-1 >= 0.62\""; } >&5
13935 ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 dbus-1 >= 0.62") 2>&5
13937 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13938 test $ac_status = 0; }; then
13939 pkg_cv_EDBUS_TEST_CLIENT_LIBS=`$PKG_CONFIG --libs "ecore >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
13940 test "x$?" != "x0" && pkg_failed=yes
13950 if test $pkg_failed = yes; then
13951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13952 $as_echo "no" >&6; }
13954 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13955 _pkg_short_errors_supported=yes
13957 _pkg_short_errors_supported=no
13959 if test $_pkg_short_errors_supported = yes; then
13960 EDBUS_TEST_CLIENT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.6.99 dbus-1 >= 0.62" 2>&1`
13962 EDBUS_TEST_CLIENT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.6.99 dbus-1 >= 0.62" 2>&1`
13964 # Put the nasty error message in config.log where it belongs
13965 echo "$EDBUS_TEST_CLIENT_PKG_ERRORS" >&5
13967 have_edbus_test_client="no"
13968 elif test $pkg_failed = untried; then
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13970 $as_echo "no" >&6; }
13971 have_edbus_test_client="no"
13973 EDBUS_TEST_CLIENT_CFLAGS=$pkg_cv_EDBUS_TEST_CLIENT_CFLAGS
13974 EDBUS_TEST_CLIENT_LIBS=$pkg_cv_EDBUS_TEST_CLIENT_LIBS
13975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13976 $as_echo "yes" >&6; }
13977 have_edbus_test_client="yes"
13981 if test "x${have_edbus_bluez_test}" = "xyes" ; then
13984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_BLUEZ_TEST" >&5
13985 $as_echo_n "checking for EDBUS_BLUEZ_TEST... " >&6; }
13987 if test -n "$EDBUS_BLUEZ_TEST_CFLAGS"; then
13988 pkg_cv_EDBUS_BLUEZ_TEST_CFLAGS="$EDBUS_BLUEZ_TEST_CFLAGS"
13989 elif test -n "$PKG_CONFIG"; then
13990 if test -n "$PKG_CONFIG" && \
13991 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
13992 ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
13994 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13995 test $ac_status = 0; }; then
13996 pkg_cv_EDBUS_BLUEZ_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
13997 test "x$?" != "x0" && pkg_failed=yes
14004 if test -n "$EDBUS_BLUEZ_TEST_LIBS"; then
14005 pkg_cv_EDBUS_BLUEZ_TEST_LIBS="$EDBUS_BLUEZ_TEST_LIBS"
14006 elif test -n "$PKG_CONFIG"; then
14007 if test -n "$PKG_CONFIG" && \
14008 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
14009 ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
14011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14012 test $ac_status = 0; }; then
14013 pkg_cv_EDBUS_BLUEZ_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
14014 test "x$?" != "x0" && pkg_failed=yes
14024 if test $pkg_failed = yes; then
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14026 $as_echo "no" >&6; }
14028 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14029 _pkg_short_errors_supported=yes
14031 _pkg_short_errors_supported=no
14033 if test $_pkg_short_errors_supported = yes; then
14034 EDBUS_BLUEZ_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
14036 EDBUS_BLUEZ_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
14038 # Put the nasty error message in config.log where it belongs
14039 echo "$EDBUS_BLUEZ_TEST_PKG_ERRORS" >&5
14041 have_edbus_bluez_test="no"
14042 elif test $pkg_failed = untried; then
14043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14044 $as_echo "no" >&6; }
14045 have_edbus_bluez_test="no"
14047 EDBUS_BLUEZ_TEST_CFLAGS=$pkg_cv_EDBUS_BLUEZ_TEST_CFLAGS
14048 EDBUS_BLUEZ_TEST_LIBS=$pkg_cv_EDBUS_BLUEZ_TEST_LIBS
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14050 $as_echo "yes" >&6; }
14051 have_edbus_bluez_test="yes"
14055 if test "x${have_edbus_connman0_7x_test}" = "xyes" ; then
14058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_CONNMAN0_7X_TEST" >&5
14059 $as_echo_n "checking for EDBUS_CONNMAN0_7X_TEST... " >&6; }
14061 if test -n "$EDBUS_CONNMAN0_7X_TEST_CFLAGS"; then
14062 pkg_cv_EDBUS_CONNMAN0_7X_TEST_CFLAGS="$EDBUS_CONNMAN0_7X_TEST_CFLAGS"
14063 elif test -n "$PKG_CONFIG"; then
14064 if test -n "$PKG_CONFIG" && \
14065 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
14066 ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
14068 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14069 test $ac_status = 0; }; then
14070 pkg_cv_EDBUS_CONNMAN0_7X_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
14071 test "x$?" != "x0" && pkg_failed=yes
14078 if test -n "$EDBUS_CONNMAN0_7X_TEST_LIBS"; then
14079 pkg_cv_EDBUS_CONNMAN0_7X_TEST_LIBS="$EDBUS_CONNMAN0_7X_TEST_LIBS"
14080 elif test -n "$PKG_CONFIG"; then
14081 if test -n "$PKG_CONFIG" && \
14082 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
14083 ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
14085 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14086 test $ac_status = 0; }; then
14087 pkg_cv_EDBUS_CONNMAN0_7X_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
14088 test "x$?" != "x0" && pkg_failed=yes
14098 if test $pkg_failed = yes; then
14099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14100 $as_echo "no" >&6; }
14102 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14103 _pkg_short_errors_supported=yes
14105 _pkg_short_errors_supported=no
14107 if test $_pkg_short_errors_supported = yes; then
14108 EDBUS_CONNMAN0_7X_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
14110 EDBUS_CONNMAN0_7X_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
14112 # Put the nasty error message in config.log where it belongs
14113 echo "$EDBUS_CONNMAN0_7X_TEST_PKG_ERRORS" >&5
14115 have_edbus_connman0_7x_test="no"
14116 elif test $pkg_failed = untried; then
14117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14118 $as_echo "no" >&6; }
14119 have_edbus_connman0_7x_test="no"
14121 EDBUS_CONNMAN0_7X_TEST_CFLAGS=$pkg_cv_EDBUS_CONNMAN0_7X_TEST_CFLAGS
14122 EDBUS_CONNMAN0_7X_TEST_LIBS=$pkg_cv_EDBUS_CONNMAN0_7X_TEST_LIBS
14123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14124 $as_echo "yes" >&6; }
14125 have_edbus_connman0_7x_test="yes"
14129 if test "x${have_edbus_notification_daemon_test}" = "xyes" ; then
14132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_NOTIFICATION_DAEMON_TEST" >&5
14133 $as_echo_n "checking for EDBUS_NOTIFICATION_DAEMON_TEST... " >&6; }
14135 if test -n "$EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS"; then
14136 pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS="$EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS"
14137 elif test -n "$PKG_CONFIG"; then
14138 if test -n "$PKG_CONFIG" && \
14139 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
14140 ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
14142 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14143 test $ac_status = 0; }; then
14144 pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
14145 test "x$?" != "x0" && pkg_failed=yes
14152 if test -n "$EDBUS_NOTIFICATION_DAEMON_TEST_LIBS"; then
14153 pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_LIBS="$EDBUS_NOTIFICATION_DAEMON_TEST_LIBS"
14154 elif test -n "$PKG_CONFIG"; then
14155 if test -n "$PKG_CONFIG" && \
14156 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
14157 ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
14159 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14160 test $ac_status = 0; }; then
14161 pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
14162 test "x$?" != "x0" && pkg_failed=yes
14172 if test $pkg_failed = yes; then
14173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14174 $as_echo "no" >&6; }
14176 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14177 _pkg_short_errors_supported=yes
14179 _pkg_short_errors_supported=no
14181 if test $_pkg_short_errors_supported = yes; then
14182 EDBUS_NOTIFICATION_DAEMON_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
14184 EDBUS_NOTIFICATION_DAEMON_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
14186 # Put the nasty error message in config.log where it belongs
14187 echo "$EDBUS_NOTIFICATION_DAEMON_TEST_PKG_ERRORS" >&5
14189 have_edbus_notification_daemon_test="no"
14190 elif test $pkg_failed = untried; then
14191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14192 $as_echo "no" >&6; }
14193 have_edbus_notification_daemon_test="no"
14195 EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS=$pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS
14196 EDBUS_NOTIFICATION_DAEMON_TEST_LIBS=$pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_LIBS
14197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14198 $as_echo "yes" >&6; }
14199 have_edbus_notification_daemon_test="yes"
14203 if test "x${have_edbus_notify_send}" = "xyes" ; then
14206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_NOTIFY_SEND" >&5
14207 $as_echo_n "checking for EDBUS_NOTIFY_SEND... " >&6; }
14209 if test -n "$EDBUS_NOTIFY_SEND_CFLAGS"; then
14210 pkg_cv_EDBUS_NOTIFY_SEND_CFLAGS="$EDBUS_NOTIFY_SEND_CFLAGS"
14211 elif test -n "$PKG_CONFIG"; then
14212 if test -n "$PKG_CONFIG" && \
14213 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
14214 ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
14216 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14217 test $ac_status = 0; }; then
14218 pkg_cv_EDBUS_NOTIFY_SEND_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
14219 test "x$?" != "x0" && pkg_failed=yes
14226 if test -n "$EDBUS_NOTIFY_SEND_LIBS"; then
14227 pkg_cv_EDBUS_NOTIFY_SEND_LIBS="$EDBUS_NOTIFY_SEND_LIBS"
14228 elif test -n "$PKG_CONFIG"; then
14229 if test -n "$PKG_CONFIG" && \
14230 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
14231 ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
14233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14234 test $ac_status = 0; }; then
14235 pkg_cv_EDBUS_NOTIFY_SEND_LIBS=`$PKG_CONFIG --libs "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
14236 test "x$?" != "x0" && pkg_failed=yes
14246 if test $pkg_failed = yes; then
14247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14248 $as_echo "no" >&6; }
14250 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14251 _pkg_short_errors_supported=yes
14253 _pkg_short_errors_supported=no
14255 if test $_pkg_short_errors_supported = yes; then
14256 EDBUS_NOTIFY_SEND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
14258 EDBUS_NOTIFY_SEND_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
14260 # Put the nasty error message in config.log where it belongs
14261 echo "$EDBUS_NOTIFY_SEND_PKG_ERRORS" >&5
14263 have_edbus_notify_send="no"
14264 elif test $pkg_failed = untried; then
14265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14266 $as_echo "no" >&6; }
14267 have_edbus_notify_send="no"
14269 EDBUS_NOTIFY_SEND_CFLAGS=$pkg_cv_EDBUS_NOTIFY_SEND_CFLAGS
14270 EDBUS_NOTIFY_SEND_LIBS=$pkg_cv_EDBUS_NOTIFY_SEND_LIBS
14271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14272 $as_echo "yes" >&6; }
14273 have_edbus_notify_send="yes"
14277 if test "x${have_edbus_notify_test}" = "xyes" ; then
14280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_NOTIFY_TEST" >&5
14281 $as_echo_n "checking for EDBUS_NOTIFY_TEST... " >&6; }
14283 if test -n "$EDBUS_NOTIFY_TEST_CFLAGS"; then
14284 pkg_cv_EDBUS_NOTIFY_TEST_CFLAGS="$EDBUS_NOTIFY_TEST_CFLAGS"
14285 elif test -n "$PKG_CONFIG"; then
14286 if test -n "$PKG_CONFIG" && \
14287 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 ecore-evas >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
14288 ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 ecore-evas >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
14290 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14291 test $ac_status = 0; }; then
14292 pkg_cv_EDBUS_NOTIFY_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.6.99 ecore-evas >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
14293 test "x$?" != "x0" && pkg_failed=yes
14300 if test -n "$EDBUS_NOTIFY_TEST_LIBS"; then
14301 pkg_cv_EDBUS_NOTIFY_TEST_LIBS="$EDBUS_NOTIFY_TEST_LIBS"
14302 elif test -n "$PKG_CONFIG"; then
14303 if test -n "$PKG_CONFIG" && \
14304 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 ecore-evas >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
14305 ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 ecore-evas >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
14307 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14308 test $ac_status = 0; }; then
14309 pkg_cv_EDBUS_NOTIFY_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.6.99 ecore-evas >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
14310 test "x$?" != "x0" && pkg_failed=yes
14320 if test $pkg_failed = yes; then
14321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14322 $as_echo "no" >&6; }
14324 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14325 _pkg_short_errors_supported=yes
14327 _pkg_short_errors_supported=no
14329 if test $_pkg_short_errors_supported = yes; then
14330 EDBUS_NOTIFY_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.6.99 ecore-evas >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
14332 EDBUS_NOTIFY_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.6.99 ecore-evas >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
14334 # Put the nasty error message in config.log where it belongs
14335 echo "$EDBUS_NOTIFY_TEST_PKG_ERRORS" >&5
14337 have_edbus_notify_test="no"
14338 elif test $pkg_failed = untried; then
14339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14340 $as_echo "no" >&6; }
14341 have_edbus_notify_test="no"
14343 EDBUS_NOTIFY_TEST_CFLAGS=$pkg_cv_EDBUS_NOTIFY_TEST_CFLAGS
14344 EDBUS_NOTIFY_TEST_LIBS=$pkg_cv_EDBUS_NOTIFY_TEST_LIBS
14345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14346 $as_echo "yes" >&6; }
14347 have_edbus_notify_test="yes"
14351 if test "x${have_edbus_ofono_test}" = "xyes" ; then
14354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_OFONO_TEST" >&5
14355 $as_echo_n "checking for EDBUS_OFONO_TEST... " >&6; }
14357 if test -n "$EDBUS_OFONO_TEST_CFLAGS"; then
14358 pkg_cv_EDBUS_OFONO_TEST_CFLAGS="$EDBUS_OFONO_TEST_CFLAGS"
14359 elif test -n "$PKG_CONFIG"; then
14360 if test -n "$PKG_CONFIG" && \
14361 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
14362 ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
14364 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14365 test $ac_status = 0; }; then
14366 pkg_cv_EDBUS_OFONO_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
14367 test "x$?" != "x0" && pkg_failed=yes
14374 if test -n "$EDBUS_OFONO_TEST_LIBS"; then
14375 pkg_cv_EDBUS_OFONO_TEST_LIBS="$EDBUS_OFONO_TEST_LIBS"
14376 elif test -n "$PKG_CONFIG"; then
14377 if test -n "$PKG_CONFIG" && \
14378 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
14379 ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
14381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14382 test $ac_status = 0; }; then
14383 pkg_cv_EDBUS_OFONO_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
14384 test "x$?" != "x0" && pkg_failed=yes
14394 if test $pkg_failed = yes; then
14395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14396 $as_echo "no" >&6; }
14398 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14399 _pkg_short_errors_supported=yes
14401 _pkg_short_errors_supported=no
14403 if test $_pkg_short_errors_supported = yes; then
14404 EDBUS_OFONO_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
14406 EDBUS_OFONO_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
14408 # Put the nasty error message in config.log where it belongs
14409 echo "$EDBUS_OFONO_TEST_PKG_ERRORS" >&5
14411 have_edbus_ofono_test="no"
14412 elif test $pkg_failed = untried; then
14413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14414 $as_echo "no" >&6; }
14415 have_edbus_ofono_test="no"
14417 EDBUS_OFONO_TEST_CFLAGS=$pkg_cv_EDBUS_OFONO_TEST_CFLAGS
14418 EDBUS_OFONO_TEST_LIBS=$pkg_cv_EDBUS_OFONO_TEST_LIBS
14419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14420 $as_echo "yes" >&6; }
14421 have_edbus_ofono_test="yes"
14425 if test "x${have_edbus_ukit_test}" = "xyes" ; then
14428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_UKIT_TEST" >&5
14429 $as_echo_n "checking for EDBUS_UKIT_TEST... " >&6; }
14431 if test -n "$EDBUS_UKIT_TEST_CFLAGS"; then
14432 pkg_cv_EDBUS_UKIT_TEST_CFLAGS="$EDBUS_UKIT_TEST_CFLAGS"
14433 elif test -n "$PKG_CONFIG"; then
14434 if test -n "$PKG_CONFIG" && \
14435 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
14436 ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
14438 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14439 test $ac_status = 0; }; then
14440 pkg_cv_EDBUS_UKIT_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
14441 test "x$?" != "x0" && pkg_failed=yes
14448 if test -n "$EDBUS_UKIT_TEST_LIBS"; then
14449 pkg_cv_EDBUS_UKIT_TEST_LIBS="$EDBUS_UKIT_TEST_LIBS"
14450 elif test -n "$PKG_CONFIG"; then
14451 if test -n "$PKG_CONFIG" && \
14452 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
14453 ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
14455 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14456 test $ac_status = 0; }; then
14457 pkg_cv_EDBUS_UKIT_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
14458 test "x$?" != "x0" && pkg_failed=yes
14468 if test $pkg_failed = yes; then
14469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14470 $as_echo "no" >&6; }
14472 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14473 _pkg_short_errors_supported=yes
14475 _pkg_short_errors_supported=no
14477 if test $_pkg_short_errors_supported = yes; then
14478 EDBUS_UKIT_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
14480 EDBUS_UKIT_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
14482 # Put the nasty error message in config.log where it belongs
14483 echo "$EDBUS_UKIT_TEST_PKG_ERRORS" >&5
14485 have_edbus_ukit_test="no"
14486 elif test $pkg_failed = untried; then
14487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14488 $as_echo "no" >&6; }
14489 have_edbus_ukit_test="no"
14491 EDBUS_UKIT_TEST_CFLAGS=$pkg_cv_EDBUS_UKIT_TEST_CFLAGS
14492 EDBUS_UKIT_TEST_LIBS=$pkg_cv_EDBUS_UKIT_TEST_LIBS
14493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14494 $as_echo "yes" >&6; }
14495 have_edbus_ukit_test="yes"
14499 if test "x${have_edbus_performance_test}" = "xyes" ; then
14502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_PERFORMANCE_TEST" >&5
14503 $as_echo_n "checking for EDBUS_PERFORMANCE_TEST... " >&6; }
14505 if test -n "$EDBUS_PERFORMANCE_TEST_CFLAGS"; then
14506 pkg_cv_EDBUS_PERFORMANCE_TEST_CFLAGS="$EDBUS_PERFORMANCE_TEST_CFLAGS"
14507 elif test -n "$PKG_CONFIG"; then
14508 if test -n "$PKG_CONFIG" && \
14509 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62 ecore-evas >= 1.6.99 elementary >= 1.6.99 evas >= 1.6.99\""; } >&5
14510 ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62 ecore-evas >= 1.6.99 elementary >= 1.6.99 evas >= 1.6.99") 2>&5
14512 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14513 test $ac_status = 0; }; then
14514 pkg_cv_EDBUS_PERFORMANCE_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62 ecore-evas >= 1.6.99 elementary >= 1.6.99 evas >= 1.6.99" 2>/dev/null`
14515 test "x$?" != "x0" && pkg_failed=yes
14522 if test -n "$EDBUS_PERFORMANCE_TEST_LIBS"; then
14523 pkg_cv_EDBUS_PERFORMANCE_TEST_LIBS="$EDBUS_PERFORMANCE_TEST_LIBS"
14524 elif test -n "$PKG_CONFIG"; then
14525 if test -n "$PKG_CONFIG" && \
14526 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62 ecore-evas >= 1.6.99 elementary >= 1.6.99 evas >= 1.6.99\""; } >&5
14527 ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62 ecore-evas >= 1.6.99 elementary >= 1.6.99 evas >= 1.6.99") 2>&5
14529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14530 test $ac_status = 0; }; then
14531 pkg_cv_EDBUS_PERFORMANCE_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62 ecore-evas >= 1.6.99 elementary >= 1.6.99 evas >= 1.6.99" 2>/dev/null`
14532 test "x$?" != "x0" && pkg_failed=yes
14542 if test $pkg_failed = yes; then
14543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14544 $as_echo "no" >&6; }
14546 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14547 _pkg_short_errors_supported=yes
14549 _pkg_short_errors_supported=no
14551 if test $_pkg_short_errors_supported = yes; then
14552 EDBUS_PERFORMANCE_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62 ecore-evas >= 1.6.99 elementary >= 1.6.99 evas >= 1.6.99" 2>&1`
14554 EDBUS_PERFORMANCE_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62 ecore-evas >= 1.6.99 elementary >= 1.6.99 evas >= 1.6.99" 2>&1`
14556 # Put the nasty error message in config.log where it belongs
14557 echo "$EDBUS_PERFORMANCE_TEST_PKG_ERRORS" >&5
14559 have_edbus_performance_test="no"
14560 elif test $pkg_failed = untried; then
14561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14562 $as_echo "no" >&6; }
14563 have_edbus_performance_test="no"
14565 EDBUS_PERFORMANCE_TEST_CFLAGS=$pkg_cv_EDBUS_PERFORMANCE_TEST_CFLAGS
14566 EDBUS_PERFORMANCE_TEST_LIBS=$pkg_cv_EDBUS_PERFORMANCE_TEST_LIBS
14567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14568 $as_echo "yes" >&6; }
14569 have_edbus_performance_test="yes"
14573 if test "x${have_edbus_performance_test}" = "xyes"; then
14574 BUILD_EDBUS_PERFORMANCE_TEST_TRUE=
14575 BUILD_EDBUS_PERFORMANCE_TEST_FALSE='#'
14577 BUILD_EDBUS_PERFORMANCE_TEST_TRUE='#'
14578 BUILD_EDBUS_PERFORMANCE_TEST_FALSE=
14582 if test "x${have_edbus_async_test}" = "xyes" ; then
14585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_ASYNC_TEST" >&5
14586 $as_echo_n "checking for EDBUS_ASYNC_TEST... " >&6; }
14588 if test -n "$EDBUS_ASYNC_TEST_CFLAGS"; then
14589 pkg_cv_EDBUS_ASYNC_TEST_CFLAGS="$EDBUS_ASYNC_TEST_CFLAGS"
14590 elif test -n "$PKG_CONFIG"; then
14591 if test -n "$PKG_CONFIG" && \
14592 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 dbus-1 >= 0.62\""; } >&5
14593 ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 dbus-1 >= 0.62") 2>&5
14595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14596 test $ac_status = 0; }; then
14597 pkg_cv_EDBUS_ASYNC_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
14598 test "x$?" != "x0" && pkg_failed=yes
14605 if test -n "$EDBUS_ASYNC_TEST_LIBS"; then
14606 pkg_cv_EDBUS_ASYNC_TEST_LIBS="$EDBUS_ASYNC_TEST_LIBS"
14607 elif test -n "$PKG_CONFIG"; then
14608 if test -n "$PKG_CONFIG" && \
14609 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 dbus-1 >= 0.62\""; } >&5
14610 ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 dbus-1 >= 0.62") 2>&5
14612 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14613 test $ac_status = 0; }; then
14614 pkg_cv_EDBUS_ASYNC_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
14615 test "x$?" != "x0" && pkg_failed=yes
14625 if test $pkg_failed = yes; then
14626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14627 $as_echo "no" >&6; }
14629 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14630 _pkg_short_errors_supported=yes
14632 _pkg_short_errors_supported=no
14634 if test $_pkg_short_errors_supported = yes; then
14635 EDBUS_ASYNC_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.6.99 dbus-1 >= 0.62" 2>&1`
14637 EDBUS_ASYNC_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.6.99 dbus-1 >= 0.62" 2>&1`
14639 # Put the nasty error message in config.log where it belongs
14640 echo "$EDBUS_ASYNC_TEST_PKG_ERRORS" >&5
14642 have_edbus_async_test="no"
14643 elif test $pkg_failed = untried; then
14644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14645 $as_echo "no" >&6; }
14646 have_edbus_async_test="no"
14648 EDBUS_ASYNC_TEST_CFLAGS=$pkg_cv_EDBUS_ASYNC_TEST_CFLAGS
14649 EDBUS_ASYNC_TEST_LIBS=$pkg_cv_EDBUS_ASYNC_TEST_LIBS
14650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14651 $as_echo "yes" >&6; }
14652 have_edbus_async_test="yes"
14656 ### Checks for header files
14659 ### Checks for types
14662 ### Checks for structures
14665 ### Checks for compiler characteristics
14670 EFL_EDBUS_BUILD="-DEFL_EDBUS_BUILD"
14675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14676 $as_echo_n "checking for ANSI C header files... " >&6; }
14677 if ${ac_cv_header_stdc+:} false; then :
14678 $as_echo_n "(cached) " >&6
14680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14681 /* end confdefs.h. */
14682 #include <stdlib.h>
14683 #include <stdarg.h>
14684 #include <string.h>
14695 if ac_fn_c_try_compile "$LINENO"; then :
14696 ac_cv_header_stdc=yes
14698 ac_cv_header_stdc=no
14700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14702 if test $ac_cv_header_stdc = yes; then
14703 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14705 /* end confdefs.h. */
14706 #include <string.h>
14709 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14710 $EGREP "memchr" >/dev/null 2>&1; then :
14713 ac_cv_header_stdc=no
14719 if test $ac_cv_header_stdc = yes; then
14720 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14722 /* end confdefs.h. */
14723 #include <stdlib.h>
14726 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14727 $EGREP "free" >/dev/null 2>&1; then :
14730 ac_cv_header_stdc=no
14736 if test $ac_cv_header_stdc = yes; then
14737 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14738 if test "$cross_compiling" = yes; then :
14741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14742 /* end confdefs.h. */
14744 #include <stdlib.h>
14745 #if ((' ' & 0x0FF) == 0x020)
14746 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14747 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14749 # define ISLOWER(c) \
14750 (('a' <= (c) && (c) <= 'i') \
14751 || ('j' <= (c) && (c) <= 'r') \
14752 || ('s' <= (c) && (c) <= 'z'))
14753 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14756 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14761 for (i = 0; i < 256; i++)
14762 if (XOR (islower (i), ISLOWER (i))
14763 || toupper (i) != TOUPPER (i))
14768 if ac_fn_c_try_run "$LINENO"; then :
14771 ac_cv_header_stdc=no
14773 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14774 conftest.$ac_objext conftest.beam conftest.$ac_ext
14779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
14780 $as_echo "$ac_cv_header_stdc" >&6; }
14781 if test $ac_cv_header_stdc = yes; then
14783 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
14789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
14790 $as_echo_n "checking for __attribute__... " >&6; }
14792 if ${ac_cv___attribute__+:} false; then :
14793 $as_echo_n "(cached) " >&6
14795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14796 /* end confdefs.h. */
14798 #include <stdlib.h>
14801 int foo(int x __attribute__ ((unused)))
14814 if ac_fn_c_try_compile "$LINENO"; then :
14815 ac_cv___attribute__="yes"
14817 ac_cv___attribute__="no"
14820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
14825 $as_echo "$ac_cv___attribute__" >&6; }
14827 if test "x${ac_cv___attribute__}" = "xyes" ; then
14829 $as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
14832 $as_echo "#define __UNUSED__ __attribute__((unused))" >>confdefs.h
14836 $as_echo "#define __UNUSED__ /**/" >>confdefs.h
14842 if ! test "x${VMIC}" = "x" ; then
14845 CFLAGS_save="${CFLAGS}"
14846 CFLAGS="${CFLAGS} -Wall"
14849 ac_cpp='$CPP $CPPFLAGS'
14850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wall" >&5
14855 $as_echo_n "checking whether the compiler supports -Wall... " >&6; }
14857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14858 /* end confdefs.h. */
14868 if ac_fn_c_try_compile "$LINENO"; then :
14873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
14875 $as_echo "${have_flag}" >&6; }
14877 if test "x${have_flag}" = "xno" ; then
14878 CFLAGS="${CFLAGS_save}"
14881 ac_cpp='$CPP $CPPFLAGS'
14882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14890 CFLAGS_save="${CFLAGS}"
14891 CFLAGS="${CFLAGS} -W"
14894 ac_cpp='$CPP $CPPFLAGS'
14895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -W" >&5
14900 $as_echo_n "checking whether the compiler supports -W... " >&6; }
14902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14903 /* end confdefs.h. */
14913 if ac_fn_c_try_compile "$LINENO"; then :
14918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
14920 $as_echo "${have_flag}" >&6; }
14922 if test "x${have_flag}" = "xno" ; then
14923 CFLAGS="${CFLAGS_save}"
14926 ac_cpp='$CPP $CPPFLAGS'
14927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14937 CFLAGS_save="${CFLAGS}"
14938 CFLAGS="${CFLAGS} -Wshadow"
14941 ac_cpp='$CPP $CPPFLAGS'
14942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshadow" >&5
14947 $as_echo_n "checking whether the compiler supports -Wshadow... " >&6; }
14949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14950 /* end confdefs.h. */
14960 if ac_fn_c_try_compile "$LINENO"; then :
14965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
14967 $as_echo "${have_flag}" >&6; }
14969 if test "x${have_flag}" = "xno" ; then
14970 CFLAGS="${CFLAGS_save}"
14973 ac_cpp='$CPP $CPPFLAGS'
14974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14982 ### Checks for linker characteristics
14984 lt_enable_auto_import=""
14987 lt_enable_auto_import="-Wl,--enable-auto-import"
14993 ### Checks for library functions
14995 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14996 if test "x$ac_cv_type_size_t" = xyes; then :
15000 cat >>confdefs.h <<_ACEOF
15001 #define size_t unsigned int
15006 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
15007 # for constant arguments. Useless!
15008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
15009 $as_echo_n "checking for working alloca.h... " >&6; }
15010 if ${ac_cv_working_alloca_h+:} false; then :
15011 $as_echo_n "(cached) " >&6
15013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15014 /* end confdefs.h. */
15015 #include <alloca.h>
15019 char *p = (char *) alloca (2 * sizeof (int));
15025 if ac_fn_c_try_link "$LINENO"; then :
15026 ac_cv_working_alloca_h=yes
15028 ac_cv_working_alloca_h=no
15030 rm -f core conftest.err conftest.$ac_objext \
15031 conftest$ac_exeext conftest.$ac_ext
15033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
15034 $as_echo "$ac_cv_working_alloca_h" >&6; }
15035 if test $ac_cv_working_alloca_h = yes; then
15037 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
15041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
15042 $as_echo_n "checking for alloca... " >&6; }
15043 if ${ac_cv_func_alloca_works+:} false; then :
15044 $as_echo_n "(cached) " >&6
15046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15047 /* end confdefs.h. */
15049 # define alloca __builtin_alloca
15052 # include <malloc.h>
15053 # define alloca _alloca
15055 # ifdef HAVE_ALLOCA_H
15056 # include <alloca.h>
15061 # ifndef alloca /* predefined by HP cc +Olibcalls */
15062 void *alloca (size_t);
15072 char *p = (char *) alloca (1);
15078 if ac_fn_c_try_link "$LINENO"; then :
15079 ac_cv_func_alloca_works=yes
15081 ac_cv_func_alloca_works=no
15083 rm -f core conftest.err conftest.$ac_objext \
15084 conftest$ac_exeext conftest.$ac_ext
15086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
15087 $as_echo "$ac_cv_func_alloca_works" >&6; }
15089 if test $ac_cv_func_alloca_works = yes; then
15091 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
15094 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
15095 # that cause trouble. Some versions do not even contain alloca or
15096 # contain a buggy version. If you still want to use their alloca,
15097 # use ar to extract alloca.o from them instead of compiling alloca.c.
15099 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
15101 $as_echo "#define C_ALLOCA 1" >>confdefs.h
15104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
15105 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
15106 if ${ac_cv_os_cray+:} false; then :
15107 $as_echo_n "(cached) " >&6
15109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15110 /* end confdefs.h. */
15111 #if defined CRAY && ! defined CRAY2
15118 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15119 $EGREP "webecray" >/dev/null 2>&1; then :
15127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
15128 $as_echo "$ac_cv_os_cray" >&6; }
15129 if test $ac_cv_os_cray = yes; then
15130 for ac_func in _getb67 GETB67 getb67; do
15131 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15132 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15133 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15135 cat >>confdefs.h <<_ACEOF
15136 #define CRAY_STACKSEG_END $ac_func
15145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
15146 $as_echo_n "checking stack direction for C alloca... " >&6; }
15147 if ${ac_cv_c_stack_direction+:} false; then :
15148 $as_echo_n "(cached) " >&6
15150 if test "$cross_compiling" = yes; then :
15151 ac_cv_c_stack_direction=0
15153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15154 /* end confdefs.h. */
15155 $ac_includes_default
15157 find_stack_direction ()
15159 static char *addr = 0;
15164 return find_stack_direction ();
15167 return (&dummy > addr) ? 1 : -1;
15173 return find_stack_direction () < 0;
15176 if ac_fn_c_try_run "$LINENO"; then :
15177 ac_cv_c_stack_direction=1
15179 ac_cv_c_stack_direction=-1
15181 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15182 conftest.$ac_objext conftest.beam conftest.$ac_ext
15186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
15187 $as_echo "$ac_cv_c_stack_direction" >&6; }
15188 cat >>confdefs.h <<_ACEOF
15189 #define STACK_DIRECTION $ac_cv_c_stack_direction
15206 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"
15208 cat >confcache <<\_ACEOF
15209 # This file is a shell script that caches the results of configure
15210 # tests run on this system so they can be shared between configure
15211 # scripts and configure runs, see configure's option --config-cache.
15212 # It is not useful on other systems. If it contains results you don't
15213 # want to keep, you may remove or edit it.
15215 # config.status only pays attention to the cache file if you give it
15216 # the --recheck option to rerun configure.
15218 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15219 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15220 # following values.
15224 # The following way of writing the cache mishandles newlines in values,
15225 # but we know of no workaround that is simple, portable, and efficient.
15226 # So, we kill variables containing newlines.
15227 # Ultrix sh set writes to stderr and can't be redirected directly,
15228 # and sets the high bit in the cache file unless we assign to the vars.
15230 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15231 eval ac_val=\$$ac_var
15235 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15236 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15239 _ | IFS | as_nl) ;; #(
15240 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15241 *) { eval $ac_var=; unset $ac_var;} ;;
15247 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15248 *${as_nl}ac_space=\ *)
15249 # `set' does not quote correctly, so add quotes: double-quote
15250 # substitution turns \\\\ into \\, and sed turns \\ into \.
15253 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15256 # `set' quotes correctly as required by POSIX, so do not add quotes.
15257 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15266 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15268 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15270 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15271 if test -w "$cache_file"; then
15272 if test "x$cache_file" != "x/dev/null"; then
15273 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15274 $as_echo "$as_me: updating cache $cache_file" >&6;}
15275 if test ! -f "$cache_file" || test -h "$cache_file"; then
15276 cat confcache >"$cache_file"
15278 case $cache_file in #(
15280 mv -f confcache "$cache_file"$$ &&
15281 mv -f "$cache_file"$$ "$cache_file" ;; #(
15283 mv -f confcache "$cache_file" ;;
15288 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15289 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15294 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15295 # Let make expand exec_prefix.
15296 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15298 DEFS=-DHAVE_CONFIG_H
15303 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15304 # 1. Remove the extension, and $U if already installed.
15305 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15306 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15307 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15308 # will be set to the directory where LIBOBJS objects are built.
15309 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15310 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15312 LIBOBJS=$ac_libobjs
15314 LTLIBOBJS=$ac_ltlibobjs
15317 if test -n "$EXEEXT"; then
15319 am__EXEEXT_FALSE='#'
15321 am__EXEEXT_TRUE='#'
15325 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15326 as_fn_error $? "conditional \"AMDEP\" was never defined.
15327 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15329 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15330 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15331 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15333 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15334 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15335 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15337 if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
15338 as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
15339 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15341 if test -z "${BUILD_EBLUEZ_TRUE}" && test -z "${BUILD_EBLUEZ_FALSE}"; then
15342 as_fn_error $? "conditional \"BUILD_EBLUEZ\" was never defined.
15343 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15345 if test -z "${BUILD_ECONNMAN0_7X_TRUE}" && test -z "${BUILD_ECONNMAN0_7X_FALSE}"; then
15346 as_fn_error $? "conditional \"BUILD_ECONNMAN0_7X\" was never defined.
15347 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15349 if test -z "${BUILD_EHAL_TRUE}" && test -z "${BUILD_EHAL_FALSE}"; then
15350 as_fn_error $? "conditional \"BUILD_EHAL\" was never defined.
15351 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15353 if test -z "${BUILD_ENOTIFY_TRUE}" && test -z "${BUILD_ENOTIFY_FALSE}"; then
15354 as_fn_error $? "conditional \"BUILD_ENOTIFY\" was never defined.
15355 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15357 if test -z "${BUILD_EOFONO_TRUE}" && test -z "${BUILD_EOFONO_FALSE}"; then
15358 as_fn_error $? "conditional \"BUILD_EOFONO\" was never defined.
15359 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15361 if test -z "${BUILD_EUKIT_TRUE}" && test -z "${BUILD_EUKIT_FALSE}"; then
15362 as_fn_error $? "conditional \"BUILD_EUKIT\" was never defined.
15363 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15365 if test -z "${BUILD_EDBUS_TEST_TRUE}" && test -z "${BUILD_EDBUS_TEST_FALSE}"; then
15366 as_fn_error $? "conditional \"BUILD_EDBUS_TEST\" was never defined.
15367 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15369 if test -z "${BUILD_EDBUS_TEST_CLIENT_TRUE}" && test -z "${BUILD_EDBUS_TEST_CLIENT_FALSE}"; then
15370 as_fn_error $? "conditional \"BUILD_EDBUS_TEST_CLIENT\" was never defined.
15371 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15373 if test -z "${BUILD_EDBUS_BLUEZ_TEST_TRUE}" && test -z "${BUILD_EDBUS_BLUEZ_TEST_FALSE}"; then
15374 as_fn_error $? "conditional \"BUILD_EDBUS_BLUEZ_TEST\" was never defined.
15375 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15377 if test -z "${BUILD_EDBUS_CONNMAN0_7X_TEST_TRUE}" && test -z "${BUILD_EDBUS_CONNMAN0_7X_TEST_FALSE}"; then
15378 as_fn_error $? "conditional \"BUILD_EDBUS_CONNMAN0_7X_TEST\" was never defined.
15379 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15381 if test -z "${BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_TRUE}" && test -z "${BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_FALSE}"; then
15382 as_fn_error $? "conditional \"BUILD_EDBUS_NOTIFICATION_DAEMON_TEST\" was never defined.
15383 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15385 if test -z "${BUILD_EDBUS_NOTIFY_SEND_TRUE}" && test -z "${BUILD_EDBUS_NOTIFY_SEND_FALSE}"; then
15386 as_fn_error $? "conditional \"BUILD_EDBUS_NOTIFY_SEND\" was never defined.
15387 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15389 if test -z "${BUILD_EDBUS_NOTIFY_TEST_TRUE}" && test -z "${BUILD_EDBUS_NOTIFY_TEST_FALSE}"; then
15390 as_fn_error $? "conditional \"BUILD_EDBUS_NOTIFY_TEST\" was never defined.
15391 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15393 if test -z "${BUILD_EDBUS_OFONO_TEST_TRUE}" && test -z "${BUILD_EDBUS_OFONO_TEST_FALSE}"; then
15394 as_fn_error $? "conditional \"BUILD_EDBUS_OFONO_TEST\" was never defined.
15395 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15397 if test -z "${BUILD_EDBUS_UKIT_TEST_TRUE}" && test -z "${BUILD_EDBUS_UKIT_TEST_FALSE}"; then
15398 as_fn_error $? "conditional \"BUILD_EDBUS_UKIT_TEST\" was never defined.
15399 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15401 if test -z "${BUILD_EDBUS_PERFORMANCE_TEST_TRUE}" && test -z "${BUILD_EDBUS_PERFORMANCE_TEST_FALSE}"; then
15402 as_fn_error $? "conditional \"BUILD_EDBUS_PERFORMANCE_TEST\" was never defined.
15403 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15405 if test -z "${BUILD_EDBUS_ASYNC_TEST_TRUE}" && test -z "${BUILD_EDBUS_ASYNC_TEST_FALSE}"; then
15406 as_fn_error $? "conditional \"BUILD_EDBUS_ASYNC_TEST\" was never defined.
15407 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15409 if test -z "${BUILD_EDBUS_PERFORMANCE_TEST_TRUE}" && test -z "${BUILD_EDBUS_PERFORMANCE_TEST_FALSE}"; then
15410 as_fn_error $? "conditional \"BUILD_EDBUS_PERFORMANCE_TEST\" was never defined.
15411 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15414 : "${CONFIG_STATUS=./config.status}"
15416 ac_clean_files_save=$ac_clean_files
15417 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15418 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15419 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15421 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15423 # Generated by $as_me.
15424 # Run this file to recreate the current configuration.
15425 # Compiler output produced by configure, useful for debugging
15426 # configure, is in config.log if it exists.
15429 ac_cs_recheck=false
15432 SHELL=\${CONFIG_SHELL-$SHELL}
15435 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15436 ## -------------------- ##
15437 ## M4sh Initialization. ##
15438 ## -------------------- ##
15440 # Be more Bourne compatible
15441 DUALCASE=1; export DUALCASE # for MKS sh
15442 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15445 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15446 # is contrary to our usage. Disable this feature.
15447 alias -g '${1+"$@"}'='"$@"'
15448 setopt NO_GLOB_SUBST
15450 case `(set -o) 2>/dev/null` in #(
15462 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15463 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15464 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15465 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15466 # Prefer a ksh shell builtin over an external printf program on Solaris,
15467 # but without wasting forks for bash or zsh.
15468 if test -z "$BASH_VERSION$ZSH_VERSION" \
15469 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15470 as_echo='print -r --'
15471 as_echo_n='print -rn --'
15472 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15473 as_echo='printf %s\n'
15474 as_echo_n='printf %s'
15476 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15477 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15478 as_echo_n='/usr/ucb/echo -n'
15480 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15481 as_echo_n_body='eval
15485 expr "X$arg" : "X\\(.*\\)$as_nl";
15486 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15488 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15490 export as_echo_n_body
15491 as_echo_n='sh -c $as_echo_n_body as_echo'
15493 export as_echo_body
15494 as_echo='sh -c $as_echo_body as_echo'
15497 # The user is always right.
15498 if test "${PATH_SEPARATOR+set}" != set; then
15500 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15501 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15508 # We need space, tab and new line, in precisely that order. Quoting is
15509 # there to prevent editors from complaining about space-tab.
15510 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15511 # splitting by setting IFS to empty value.)
15514 # Find who we are. Look in the path if we contain no directory separator.
15517 *[\\/]* ) as_myself=$0 ;;
15518 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15519 for as_dir in $PATH
15522 test -z "$as_dir" && as_dir=.
15523 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15529 # We did not find ourselves, most probably we were run as `sh COMMAND'
15530 # in which case we are not to be found in the path.
15531 if test "x$as_myself" = x; then
15534 if test ! -f "$as_myself"; then
15535 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15539 # Unset variables that we do not need and which cause bugs (e.g. in
15540 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15541 # suppresses any "Segmentation fault" message there. '((' could
15542 # trigger a bug in pdksh 5.2.14.
15543 for as_var in BASH_ENV ENV MAIL MAILPATH
15544 do eval test x\${$as_var+set} = xset \
15545 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15558 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15561 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15562 # ----------------------------------------
15563 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15564 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15565 # script with STATUS, using 1 if that was 0.
15568 as_status=$1; test $as_status -eq 0 && as_status=1
15570 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15571 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15573 $as_echo "$as_me: error: $2" >&2
15574 as_fn_exit $as_status
15578 # as_fn_set_status STATUS
15579 # -----------------------
15580 # Set $? to STATUS, without forking.
15581 as_fn_set_status ()
15584 } # as_fn_set_status
15586 # as_fn_exit STATUS
15587 # -----------------
15588 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15592 as_fn_set_status $1
15598 # Portably unset VAR.
15601 { eval $1=; unset $1;}
15603 as_unset=as_fn_unset
15604 # as_fn_append VAR VALUE
15605 # ----------------------
15606 # Append the text in VALUE to the end of the definition contained in VAR. Take
15607 # advantage of any shell optimizations that allow amortized linear growth over
15608 # repeated appends, instead of the typical quadratic growth present in naive
15610 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15611 eval 'as_fn_append ()
15622 # as_fn_arith ARG...
15623 # ------------------
15624 # Perform arithmetic evaluation on the ARGs, and store the result in the
15625 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15626 # must be portable across $(()) and expr.
15627 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15628 eval 'as_fn_arith ()
15635 as_val=`expr "$@" || test $? -eq 1`
15640 if expr a : '\(a\)' >/dev/null 2>&1 &&
15641 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15647 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15648 as_basename=basename
15653 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15659 as_me=`$as_basename -- "$0" ||
15660 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15661 X"$0" : 'X\(//\)$' \| \
15662 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15664 sed '/^.*\/\([^/][^/]*\)\/*$/{
15678 # Avoid depending upon Character Ranges.
15679 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15680 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15681 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15682 as_cr_digits='0123456789'
15683 as_cr_alnum=$as_cr_Letters$as_cr_digits
15685 ECHO_C= ECHO_N= ECHO_T=
15686 case `echo -n x` in #(((((
15688 case `echo 'xy\c'` in
15689 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15691 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15698 rm -f conf$$ conf$$.exe conf$$.file
15699 if test -d conf$$.dir; then
15700 rm -f conf$$.dir/conf$$.file
15703 mkdir conf$$.dir 2>/dev/null
15705 if (echo >conf$$.file) 2>/dev/null; then
15706 if ln -s conf$$.file conf$$ 2>/dev/null; then
15708 # ... but there are two gotchas:
15709 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15710 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15711 # In both cases, we have to default to `cp -p'.
15712 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15714 elif ln conf$$.file conf$$ 2>/dev/null; then
15722 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15723 rmdir conf$$.dir 2>/dev/null
15728 # Create "$as_dir" as a directory, including parents if necessary.
15733 -*) as_dir=./$as_dir;;
15735 test -d "$as_dir" || eval $as_mkdir_p || {
15739 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15740 *) as_qdir=$as_dir;;
15742 as_dirs="'$as_qdir' $as_dirs"
15743 as_dir=`$as_dirname -- "$as_dir" ||
15744 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15745 X"$as_dir" : 'X\(//\)[^/]' \| \
15746 X"$as_dir" : 'X\(//\)$' \| \
15747 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15748 $as_echo X"$as_dir" |
15749 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15753 /^X\(\/\/\)[^/].*/{
15766 test -d "$as_dir" && break
15768 test -z "$as_dirs" || eval "mkdir $as_dirs"
15769 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15773 if mkdir -p . 2>/dev/null; then
15774 as_mkdir_p='mkdir -p "$as_dir"'
15776 test -d ./-p && rmdir ./-p
15780 if test -x / >/dev/null 2>&1; then
15781 as_test_x='test -x'
15783 if ls -dL / >/dev/null 2>&1; then
15790 if test -d "$1"; then
15796 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15797 ???[sx]*):;;*)false;;esac;fi
15801 as_executable_p=$as_test_x
15803 # Sed expression to map a string onto a valid CPP name.
15804 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15806 # Sed expression to map a string onto a valid variable name.
15807 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15811 ## ----------------------------------- ##
15812 ## Main body of $CONFIG_STATUS script. ##
15813 ## ----------------------------------- ##
15815 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15817 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15818 # Save the log message, to keep $0 and so on meaningful, and to
15819 # report actual input values of CONFIG_FILES etc. instead of their
15820 # values after options handling.
15822 This file was extended by e_dbus $as_me 1.7.4, which was
15823 generated by GNU Autoconf 2.68. Invocation command line was
15825 CONFIG_FILES = $CONFIG_FILES
15826 CONFIG_HEADERS = $CONFIG_HEADERS
15827 CONFIG_LINKS = $CONFIG_LINKS
15828 CONFIG_COMMANDS = $CONFIG_COMMANDS
15831 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15836 case $ac_config_files in *"
15837 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15840 case $ac_config_headers in *"
15841 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15845 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15846 # Files that config.status was made for.
15847 config_files="$ac_config_files"
15848 config_headers="$ac_config_headers"
15849 config_commands="$ac_config_commands"
15853 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15855 \`$as_me' instantiates files and other configuration actions
15856 from templates according to the current configuration. Unless the files
15857 and actions are specified as TAGs, all are instantiated by default.
15859 Usage: $0 [OPTION]... [TAG]...
15861 -h, --help print this help, then exit
15862 -V, --version print version number and configuration settings, then exit
15863 --config print configuration, then exit
15864 -q, --quiet, --silent
15865 do not print progress messages
15866 -d, --debug don't remove temporary files
15867 --recheck update $as_me by reconfiguring in the same conditions
15868 --file=FILE[:TEMPLATE]
15869 instantiate the configuration file FILE
15870 --header=FILE[:TEMPLATE]
15871 instantiate the configuration header FILE
15873 Configuration files:
15876 Configuration headers:
15879 Configuration commands:
15882 Report bugs to <enlightenment-devel@lists.sourceforge.net>."
15885 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15886 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15888 e_dbus config.status 1.7.4
15889 configured by $0, generated by GNU Autoconf 2.68,
15890 with options \\"\$ac_cs_config\\"
15892 Copyright (C) 2010 Free Software Foundation, Inc.
15893 This config.status script is free software; the Free Software Foundation
15894 gives unlimited permission to copy, distribute and modify it."
15901 test -n "\$AWK" || AWK=awk
15904 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15905 # The default lists apply if the user does not specify any file.
15911 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15912 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15916 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15928 # Handling of the options.
15929 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15931 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15932 $as_echo "$ac_cs_version"; exit ;;
15933 --config | --confi | --conf | --con | --co | --c )
15934 $as_echo "$ac_cs_config"; exit ;;
15935 --debug | --debu | --deb | --de | --d | -d )
15937 --file | --fil | --fi | --f )
15940 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15941 '') as_fn_error $? "missing file argument" ;;
15943 as_fn_append CONFIG_FILES " '$ac_optarg'"
15944 ac_need_defaults=false;;
15945 --header | --heade | --head | --hea )
15948 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15950 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15951 ac_need_defaults=false;;
15953 # Conflict between --help and --header
15954 as_fn_error $? "ambiguous option: \`$1'
15955 Try \`$0 --help' for more information.";;
15956 --help | --hel | -h )
15957 $as_echo "$ac_cs_usage"; exit ;;
15958 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15959 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15962 # This is an error.
15963 -*) as_fn_error $? "unrecognized option: \`$1'
15964 Try \`$0 --help' for more information." ;;
15966 *) as_fn_append ac_config_targets " $1"
15967 ac_need_defaults=false ;;
15973 ac_configure_extra_args=
15975 if $ac_cs_silent; then
15977 ac_configure_extra_args="$ac_configure_extra_args --silent"
15981 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15982 if \$ac_cs_recheck; then
15983 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15985 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15986 CONFIG_SHELL='$SHELL'
15987 export CONFIG_SHELL
15992 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15996 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15997 ## Running $as_me. ##
16003 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16007 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16010 # The HP-UX ksh and POSIX shell print the target directory to stdout
16011 # if CDPATH is set.
16012 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16014 sed_quote_subst='$sed_quote_subst'
16015 double_quote_subst='$double_quote_subst'
16016 delay_variable_subst='$delay_variable_subst'
16017 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
16018 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16019 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16020 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16021 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16022 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16023 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16024 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16025 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16026 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16027 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16028 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16029 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16030 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16031 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16032 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16033 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16034 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16035 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16036 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16037 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16038 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16039 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16040 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16041 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16042 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16043 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16044 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16045 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16046 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16047 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16048 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16049 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16050 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16051 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16052 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16053 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16054 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16055 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16056 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16057 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16058 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16059 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16060 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16061 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16062 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16063 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16064 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16065 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16066 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16067 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16068 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16069 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16070 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16071 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16072 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16073 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16074 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"`'
16075 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16076 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16077 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16078 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16079 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16080 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16081 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16082 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16083 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16084 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16085 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16086 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16087 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16088 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16089 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16090 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16091 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16092 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16093 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16094 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16095 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16096 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16097 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16098 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16099 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16100 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16101 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16102 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16103 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16104 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16105 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16106 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16107 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16108 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16109 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16110 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16111 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16112 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16113 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16114 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16115 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16116 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16117 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16118 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16119 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16120 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16121 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16122 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16123 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16124 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16125 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16126 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16127 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16128 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16129 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16130 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16131 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16132 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16133 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16134 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16135 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16136 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16137 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16138 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16139 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16140 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16141 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16142 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16143 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16144 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16145 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16146 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16147 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16150 LTCFLAGS='$LTCFLAGS'
16151 compiler='$compiler_DEFAULT'
16153 # A function that is used when there is no print builtin or printf.
16154 func_fallback_echo ()
16156 eval 'cat <<_LTECHO_EOF
16161 # Quote evaled strings.
16178 deplibs_check_method \
16182 sharedlib_from_linklib_cmd \
16185 archiver_list_spec \
16191 lt_cv_sys_global_symbol_pipe \
16192 lt_cv_sys_global_symbol_to_cdecl \
16193 lt_cv_sys_global_symbol_to_c_name_address \
16194 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16195 nm_file_list_spec \
16196 lt_prog_compiler_no_builtin_flag \
16197 lt_prog_compiler_pic \
16198 lt_prog_compiler_wl \
16199 lt_prog_compiler_static \
16200 lt_cv_prog_compiler_c_o \
16209 export_dynamic_flag_spec \
16210 whole_archive_flag_spec \
16211 compiler_needs_object \
16213 allow_undefined_flag \
16214 no_undefined_flag \
16215 hardcode_libdir_flag_spec \
16216 hardcode_libdir_separator \
16220 variables_saved_for_relink \
16222 library_names_spec \
16224 install_override_mode \
16228 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16229 *[\\\\\\\`\\"\\\$]*)
16230 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16233 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16238 # Double-quote double-evaled strings.
16239 for var in reload_cmds \
16240 old_postinstall_cmds \
16241 old_postuninstall_cmds \
16243 extract_expsyms_cmds \
16244 old_archive_from_new_cmds \
16245 old_archive_from_expsyms_cmds \
16247 archive_expsym_cmds \
16249 module_expsym_cmds \
16250 export_symbols_cmds \
16254 postuninstall_cmds \
16256 sys_lib_search_path_spec \
16257 sys_lib_dlsearch_path_spec; do
16258 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16259 *[\\\\\\\`\\"\\\$]*)
16260 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16263 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16268 ac_aux_dir='$ac_aux_dir'
16269 xsi_shell='$xsi_shell'
16270 lt_shell_append='$lt_shell_append'
16272 # See if we are running on zsh, and set the options which allow our
16273 # commands through without removal of \ escapes INIT.
16274 if test -n "\${ZSH_VERSION+set}" ; then
16275 setopt NO_GLOB_SUBST
16281 TIMESTAMP='$TIMESTAMP'
16290 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16292 # Handling of arguments.
16293 for ac_config_target in $ac_config_targets
16295 case $ac_config_target in
16296 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16297 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16298 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16299 "e_dbus.spec") CONFIG_FILES="$CONFIG_FILES e_dbus.spec" ;;
16300 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16301 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16302 "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
16303 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16304 "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
16305 "src/lib/bluez/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/bluez/Makefile" ;;
16306 "src/lib/connman0_7x/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/connman0_7x/Makefile" ;;
16307 "src/lib/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/dbus/Makefile" ;;
16308 "src/lib/hal/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/hal/Makefile" ;;
16309 "src/lib/notification/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/notification/Makefile" ;;
16310 "src/lib/ofono/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ofono/Makefile" ;;
16311 "src/lib/ukit/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ukit/Makefile" ;;
16312 "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
16313 "ebluez.pc") CONFIG_FILES="$CONFIG_FILES ebluez.pc" ;;
16314 "econnman-0.7x.pc") CONFIG_FILES="$CONFIG_FILES econnman-0.7x.pc" ;;
16315 "edbus.pc") CONFIG_FILES="$CONFIG_FILES edbus.pc" ;;
16316 "ehal.pc") CONFIG_FILES="$CONFIG_FILES ehal.pc" ;;
16317 "enotify.pc") CONFIG_FILES="$CONFIG_FILES enotify.pc" ;;
16318 "eofono.pc") CONFIG_FILES="$CONFIG_FILES eofono.pc" ;;
16319 "eukit.pc") CONFIG_FILES="$CONFIG_FILES eukit.pc" ;;
16321 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16326 # If the user did not use the arguments to specify the items to instantiate,
16327 # then the envvar interface is used. Set only those that are not.
16328 # We use the long form for the default assignment because of an extremely
16329 # bizarre bug on SunOS 4.1.3.
16330 if $ac_need_defaults; then
16331 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16332 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16333 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16336 # Have a temporary directory for convenience. Make it in the build tree
16337 # simply because there is no reason against having it here, and in addition,
16338 # creating and moving files from /tmp can sometimes cause problems.
16339 # Hook for its removal unless debugging.
16340 # Note that there is a small window in which the directory will not be cleaned:
16341 # after its creation but before its name has been assigned to `$tmp'.
16345 trap 'exit_status=$?
16346 : "${ac_tmp:=$tmp}"
16347 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16349 trap 'as_fn_exit 1' 1 2 13 15
16351 # Create a (secure) tmp directory for tmp files.
16354 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16358 tmp=./conf$$-$RANDOM
16359 (umask 077 && mkdir "$tmp")
16360 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16363 # Set up the scripts for CONFIG_FILES section.
16364 # No need to generate them if there are no CONFIG_FILES.
16365 # This happens for instance with `./config.status config.h'.
16366 if test -n "$CONFIG_FILES"; then
16369 ac_cr=`echo X | tr X '\015'`
16370 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16371 # But we know of no other shell where ac_cr would be empty at this
16372 # point, so we can use a bashism as a fallback.
16373 if test "x$ac_cr" = x; then
16374 eval ac_cr=\$\'\\r\'
16376 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16377 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16380 ac_cs_awk_cr=$ac_cr
16383 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16388 echo "cat >conf$$subs.awk <<_ACEOF" &&
16389 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16391 } >conf$$subs.sh ||
16392 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16393 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16395 for ac_last_try in false false false false false :; do
16396 . ./conf$$subs.sh ||
16397 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16399 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16400 if test $ac_delim_n = $ac_delim_num; then
16402 elif $ac_last_try; then
16403 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16405 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16408 rm -f conf$$subs.sh
16410 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16411 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16415 s/^/S["/; s/!.*/"]=/
16425 s/\(.\{148\}\)..*/\1/
16427 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16432 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16439 s/\(.\{148\}\)..*/\1/
16441 s/["\\]/\\&/g; s/^/"/; s/$/"/
16445 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16450 ' <conf$$subs.awk | sed '
16455 ' >>$CONFIG_STATUS || ac_write_fail=1
16456 rm -f conf$$subs.awk
16457 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16459 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16460 for (key in S) S_is_set[key] = 1
16466 nfields = split(line, field, "@")
16468 len = length(field[1])
16469 for (i = 2; i < nfields; i++) {
16471 keylen = length(key)
16472 if (S_is_set[key]) {
16474 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16475 len += length(value) + length(field[++i])
16486 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16487 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16488 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16491 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16492 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16495 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16496 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16497 # trailing colons and then remove the whole line if VPATH becomes empty
16498 # (actually we leave an empty line to preserve line numbers).
16499 if test "x$srcdir" = x.; then
16500 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16518 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16519 fi # test -n "$CONFIG_FILES"
16521 # Set up the scripts for CONFIG_HEADERS section.
16522 # No need to generate them if there are no CONFIG_HEADERS.
16523 # This happens for instance with `./config.status Makefile'.
16524 if test -n "$CONFIG_HEADERS"; then
16525 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16529 # Transform confdefs.h into an awk script `defines.awk', embedded as
16530 # here-document in config.status, that substitutes the proper values into
16531 # config.h.in to produce config.h.
16533 # Create a delimiter string that does not exist in confdefs.h, to ease
16534 # handling of long lines.
16536 for ac_last_try in false false :; do
16537 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16538 if test -z "$ac_tt"; then
16540 elif $ac_last_try; then
16541 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16543 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16547 # For the awk script, D is an array of macro values keyed by name,
16548 # likewise P contains macro parameters if any. Preserve backslash
16549 # newline sequences.
16551 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16553 s/.\{148\}/&'"$ac_delim"'/g
16556 s/^[ ]*#[ ]*define[ ][ ]*/ /
16563 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16565 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16569 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16570 D["\1"]=" \3\\\\\\n"\\/p
16572 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16577 s/.\{148\}/&'"$ac_delim"'/g
16582 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16585 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16587 ' <confdefs.h | sed '
16588 s/'"$ac_delim"'/"\\\
16589 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16591 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16592 for (key in D) D_is_set[key] = 1
16595 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16597 split(line, arg, " ")
16598 if (arg[1] == "#") {
16602 defundef = substr(arg[1], 2)
16605 split(mac1, mac2, "(") #)
16607 prefix = substr(line, 1, index(line, defundef) - 1)
16608 if (D_is_set[macro]) {
16609 # Preserve the white space surrounding the "#".
16610 print prefix "define", macro P[macro] D[macro]
16613 # Replace #undef with comments. This is necessary, for example,
16614 # in the case of _POSIX_SOURCE, which is predefined and required
16615 # on some systems where configure will not decide to define it.
16616 if (defundef == "undef") {
16617 print "/*", prefix defundef, macro, "*/"
16625 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16626 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16627 fi # test -n "$CONFIG_HEADERS"
16630 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16635 :[FHLC]) ac_mode=$ac_tag; continue;;
16637 case $ac_mode$ac_tag in
16639 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16640 :[FH]-) ac_tag=-:-;;
16641 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16658 -) ac_f="$ac_tmp/stdin";;
16659 *) # Look for the file first in the build tree, then in the source tree
16660 # (if the path is not absolute). The absolute path cannot be DOS-style,
16661 # because $ac_f cannot contain `:'.
16665 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16667 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16669 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16670 as_fn_append ac_file_inputs " '$ac_f'"
16673 # Let's still pretend it is `configure' which instantiates (i.e., don't
16674 # use $as_me), people would be surprised to read:
16675 # /* config.h. Generated by config.status. */
16676 configure_input='Generated from '`
16677 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16679 if test x"$ac_file" != x-; then
16680 configure_input="$ac_file. $configure_input"
16681 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16682 $as_echo "$as_me: creating $ac_file" >&6;}
16684 # Neutralize special characters interpreted by sed in replacement strings.
16685 case $configure_input in #(
16686 *\&* | *\|* | *\\* )
16687 ac_sed_conf_input=`$as_echo "$configure_input" |
16688 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16689 *) ac_sed_conf_input=$configure_input;;
16693 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16694 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16699 ac_dir=`$as_dirname -- "$ac_file" ||
16700 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16701 X"$ac_file" : 'X\(//\)[^/]' \| \
16702 X"$ac_file" : 'X\(//\)$' \| \
16703 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16704 $as_echo X"$ac_file" |
16705 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16709 /^X\(\/\/\)[^/].*/{
16722 as_dir="$ac_dir"; as_fn_mkdir_p
16726 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16728 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16729 # A ".." for each directory in $ac_dir_suffix.
16730 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16731 case $ac_top_builddir_sub in
16732 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16733 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16736 ac_abs_top_builddir=$ac_pwd
16737 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16738 # for backward compatibility:
16739 ac_top_builddir=$ac_top_build_prefix
16742 .) # We are building in place.
16744 ac_top_srcdir=$ac_top_builddir_sub
16745 ac_abs_top_srcdir=$ac_pwd ;;
16746 [\\/]* | ?:[\\/]* ) # Absolute name.
16747 ac_srcdir=$srcdir$ac_dir_suffix;
16748 ac_top_srcdir=$srcdir
16749 ac_abs_top_srcdir=$srcdir ;;
16750 *) # Relative name.
16751 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16752 ac_top_srcdir=$ac_top_build_prefix$srcdir
16753 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16755 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16765 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16766 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16768 ac_MKDIR_P=$MKDIR_P
16770 [\\/$]* | ?:[\\/]* ) ;;
16771 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16775 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16776 # If the template does not know about datarootdir, expand it.
16777 # FIXME: This hack should be removed a few years after 2.60.
16778 ac_datarootdir_hack=; ac_datarootdir_seen=
16789 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16790 *datarootdir*) ac_datarootdir_seen=yes;;
16791 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16793 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16795 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16796 ac_datarootdir_hack='
16797 s&@datadir@&$datadir&g
16798 s&@docdir@&$docdir&g
16799 s&@infodir@&$infodir&g
16800 s&@localedir@&$localedir&g
16801 s&@mandir@&$mandir&g
16802 s&\\\${datarootdir}&$datarootdir&g' ;;
16806 # Neutralize VPATH when `$srcdir' = `.'.
16807 # Shell code in configure.ac might set extrasub.
16808 # FIXME: do we really want to maintain this feature?
16809 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16810 ac_sed_extra="$ac_vpsub
16813 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16815 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16816 s|@configure_input@|$ac_sed_conf_input|;t t
16817 s&@top_builddir@&$ac_top_builddir_sub&;t t
16818 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16819 s&@srcdir@&$ac_srcdir&;t t
16820 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16821 s&@top_srcdir@&$ac_top_srcdir&;t t
16822 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16823 s&@builddir@&$ac_builddir&;t t
16824 s&@abs_builddir@&$ac_abs_builddir&;t t
16825 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16826 s&@INSTALL@&$ac_INSTALL&;t t
16827 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16828 $ac_datarootdir_hack
16830 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16831 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16833 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16834 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16835 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16836 "$ac_tmp/out"`; test -z "$ac_out"; } &&
16837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16838 which seems to be undefined. Please make sure it is defined" >&5
16839 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16840 which seems to be undefined. Please make sure it is defined" >&2;}
16842 rm -f "$ac_tmp/stdin"
16844 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16845 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16847 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16853 if test x"$ac_file" != x-; then
16855 $as_echo "/* $configure_input */" \
16856 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16857 } >"$ac_tmp/config.h" \
16858 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16859 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16860 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16861 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16864 mv "$ac_tmp/config.h" "$ac_file" \
16865 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16868 $as_echo "/* $configure_input */" \
16869 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16870 || as_fn_error $? "could not create -" "$LINENO" 5
16872 # Compute "$ac_file"'s index in $config_headers.
16875 for _am_header in $config_headers :; do
16876 case $_am_header in
16877 $_am_arg | $_am_arg:* )
16880 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16883 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16884 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16885 X"$_am_arg" : 'X\(//\)[^/]' \| \
16886 X"$_am_arg" : 'X\(//\)$' \| \
16887 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16888 $as_echo X"$_am_arg" |
16889 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16893 /^X\(\/\/\)[^/].*/{
16905 s/.*/./; q'`/stamp-h$_am_stamp_count
16908 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16909 $as_echo "$as_me: executing $ac_file commands" >&6;}
16914 case $ac_file$ac_mode in
16915 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16916 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16917 # are listed without --file. Let's play safe and only enable the eval
16918 # if we detect the quoting.
16919 case $CONFIG_FILES in
16920 *\'*) eval set x "$CONFIG_FILES" ;;
16921 *) set x $CONFIG_FILES ;;
16926 # Strip MF so we end up with the name of the file.
16927 mf=`echo "$mf" | sed -e 's/:.*$//'`
16928 # Check whether this is an Automake generated Makefile or not.
16929 # We used to match only the files named `Makefile.in', but
16930 # some people rename them; so instead we look at the file content.
16931 # Grep'ing the first line is not enough: some people post-process
16932 # each Makefile.in and add a new line on top of each file to say so.
16933 # Grep'ing the whole file is not good either: AIX grep has a line
16934 # limit of 2048, but all sed's we know have understand at least 4000.
16935 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16936 dirpart=`$as_dirname -- "$mf" ||
16937 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16938 X"$mf" : 'X\(//\)[^/]' \| \
16939 X"$mf" : 'X\(//\)$' \| \
16940 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16942 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16946 /^X\(\/\/\)[^/].*/{
16962 # Extract the definition of DEPDIR, am__include, and am__quote
16963 # from the Makefile without running `make'.
16964 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16965 test -z "$DEPDIR" && continue
16966 am__include=`sed -n 's/^am__include = //p' < "$mf"`
16967 test -z "am__include" && continue
16968 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16969 # When using ansi2knr, U may be empty or an underscore; expand it
16970 U=`sed -n 's/^U = //p' < "$mf"`
16971 # Find all dependency output files, they are included files with
16972 # $(DEPDIR) in their names. We invoke sed twice because it is the
16973 # simplest approach to changing $(DEPDIR) to its actual value in the
16975 for file in `sed -n "
16976 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16977 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16978 # Make sure the directory exists.
16979 test -f "$dirpart/$file" && continue
16980 fdir=`$as_dirname -- "$file" ||
16981 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16982 X"$file" : 'X\(//\)[^/]' \| \
16983 X"$file" : 'X\(//\)$' \| \
16984 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16985 $as_echo X"$file" |
16986 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16990 /^X\(\/\/\)[^/].*/{
17003 as_dir=$dirpart/$fdir; as_fn_mkdir_p
17004 # echo "creating $dirpart/$file"
17005 echo '# dummy' > "$dirpart/$file"
17012 # See if we are running on zsh, and set the options which allow our
17013 # commands through without removal of \ escapes.
17014 if test -n "${ZSH_VERSION+set}" ; then
17015 setopt NO_GLOB_SUBST
17018 cfgfile="${ofile}T"
17019 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17022 cat <<_LT_EOF >> "$cfgfile"
17025 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17026 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17027 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17028 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17030 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17031 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17033 # Written by Gordon Matzigkeit, 1996
17035 # This file is part of GNU Libtool.
17037 # GNU Libtool is free software; you can redistribute it and/or
17038 # modify it under the terms of the GNU General Public License as
17039 # published by the Free Software Foundation; either version 2 of
17040 # the License, or (at your option) any later version.
17042 # As a special exception to the GNU General Public License,
17043 # if you distribute this file as part of a program or library that
17044 # is built using GNU Libtool, you may include this file under the
17045 # same distribution terms that you use for the rest of that program.
17047 # GNU Libtool is distributed in the hope that it will be useful,
17048 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17049 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17050 # GNU General Public License for more details.
17052 # You should have received a copy of the GNU General Public License
17053 # along with GNU Libtool; see the file COPYING. If not, a copy
17054 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17055 # obtained by writing to the Free Software Foundation, Inc.,
17056 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17059 # The names of the tagged configurations supported by this script.
17062 # ### BEGIN LIBTOOL CONFIG
17064 # Assembler program.
17067 # DLL creation program.
17068 DLLTOOL=$lt_DLLTOOL
17070 # Object dumper program.
17071 OBJDUMP=$lt_OBJDUMP
17073 # Which release of libtool.m4 was used?
17074 macro_version=$macro_version
17075 macro_revision=$macro_revision
17077 # Whether or not to build shared libraries.
17078 build_libtool_libs=$enable_shared
17080 # Whether or not to build static libraries.
17081 build_old_libs=$enable_static
17083 # What type of objects to build.
17086 # Whether or not to optimize for fast installation.
17087 fast_install=$enable_fast_install
17089 # Shell to use when invoking shell scripts.
17092 # An echo program that protects backslashes.
17095 # The PATH separator for the build system.
17096 PATH_SEPARATOR=$lt_PATH_SEPARATOR
17099 host_alias=$host_alias
17103 # The build system.
17104 build_alias=$build_alias
17108 # A sed program that does not truncate output.
17111 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17112 Xsed="\$SED -e 1s/^X//"
17114 # A grep program that handles long lines.
17120 # A literal string matcher.
17123 # A BSD- or MS-compatible name lister.
17126 # Whether we need soft or hard links.
17129 # What is the maximum length of a command?
17130 max_cmd_len=$max_cmd_len
17132 # Object file suffix (normally "o").
17135 # Executable file suffix (normally "").
17138 # whether the shell understands "unset".
17141 # turn spaces into newlines.
17144 # turn newlines into spaces.
17147 # convert \$build file names to \$host format.
17148 to_host_file_cmd=$lt_cv_to_host_file_cmd
17150 # convert \$build files to toolchain format.
17151 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17153 # Method to check whether dependent libraries are shared objects.
17154 deplibs_check_method=$lt_deplibs_check_method
17156 # Command to use when deplibs_check_method = "file_magic".
17157 file_magic_cmd=$lt_file_magic_cmd
17159 # How to find potential files when deplibs_check_method = "file_magic".
17160 file_magic_glob=$lt_file_magic_glob
17162 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17163 want_nocaseglob=$lt_want_nocaseglob
17165 # Command to associate shared and link libraries.
17166 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17171 # Flags to create an archive.
17172 AR_FLAGS=$lt_AR_FLAGS
17174 # How to feed a file listing to the archiver.
17175 archiver_list_spec=$lt_archiver_list_spec
17177 # A symbol stripping program.
17180 # Commands used to install an old-style archive.
17182 old_postinstall_cmds=$lt_old_postinstall_cmds
17183 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17185 # Whether to use a lock for old archive extraction.
17186 lock_old_archive_extraction=$lock_old_archive_extraction
17191 # LTCC compiler flags.
17192 LTCFLAGS=$lt_CFLAGS
17194 # Take the output of nm and produce a listing of raw symbols and C names.
17195 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17197 # Transform the output of nm in a proper C declaration.
17198 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17200 # Transform the output of nm in a C name address pair.
17201 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17203 # Transform the output of nm in a C name address pair when lib prefix is needed.
17204 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17206 # Specify filename containing input files for \$NM.
17207 nm_file_list_spec=$lt_nm_file_list_spec
17209 # The root where to search for dependent libraries,and in which our libraries should be installed.
17210 lt_sysroot=$lt_sysroot
17212 # The name of the directory that contains temporary libtool files.
17215 # Used to examine libraries when file_magic_cmd begins with "file".
17216 MAGIC_CMD=$MAGIC_CMD
17218 # Must we lock files when doing compilation?
17219 need_locks=$lt_need_locks
17222 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17224 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17225 DSYMUTIL=$lt_DSYMUTIL
17227 # Tool to change global to local symbols on Mac OS X.
17230 # Tool to manipulate fat objects and archives on Mac OS X.
17233 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17236 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17237 OTOOL64=$lt_OTOOL64
17239 # Old archive suffix (normally "a").
17242 # Shared library suffix (normally ".so").
17243 shrext_cmds=$lt_shrext_cmds
17245 # The commands to extract the exported symbol list from a shared archive.
17246 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17248 # Variables whose values should be saved in libtool wrapper scripts and
17249 # restored at link time.
17250 variables_saved_for_relink=$lt_variables_saved_for_relink
17252 # Do we need the "lib" prefix for modules?
17253 need_lib_prefix=$need_lib_prefix
17255 # Do we need a version for libraries?
17256 need_version=$need_version
17258 # Library versioning type.
17259 version_type=$version_type
17261 # Shared library runtime path variable.
17262 runpath_var=$runpath_var
17264 # Shared library path variable.
17265 shlibpath_var=$shlibpath_var
17267 # Is shlibpath searched before the hard-coded library search path?
17268 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17270 # Format of library name prefix.
17271 libname_spec=$lt_libname_spec
17273 # List of archive names. First name is the real one, the rest are links.
17274 # The last name is the one that the linker finds with -lNAME
17275 library_names_spec=$lt_library_names_spec
17277 # The coded name of the library, if different from the real name.
17278 soname_spec=$lt_soname_spec
17280 # Permission mode override for installation of shared libraries.
17281 install_override_mode=$lt_install_override_mode
17283 # Command to use after installation of a shared archive.
17284 postinstall_cmds=$lt_postinstall_cmds
17286 # Command to use after uninstallation of a shared archive.
17287 postuninstall_cmds=$lt_postuninstall_cmds
17289 # Commands used to finish a libtool library installation in a directory.
17290 finish_cmds=$lt_finish_cmds
17292 # As "finish_cmds", except a single script fragment to be evaled but
17294 finish_eval=$lt_finish_eval
17296 # Whether we should hardcode library paths into libraries.
17297 hardcode_into_libs=$hardcode_into_libs
17299 # Compile-time system search path for libraries.
17300 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17302 # Run-time system search path for libraries.
17303 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17305 # Whether dlopen is supported.
17306 dlopen_support=$enable_dlopen
17308 # Whether dlopen of programs is supported.
17309 dlopen_self=$enable_dlopen_self
17311 # Whether dlopen of statically linked programs is supported.
17312 dlopen_self_static=$enable_dlopen_self_static
17314 # Commands to strip libraries.
17315 old_striplib=$lt_old_striplib
17316 striplib=$lt_striplib
17319 # The linker used to build libraries.
17322 # How to create reloadable object files.
17323 reload_flag=$lt_reload_flag
17324 reload_cmds=$lt_reload_cmds
17326 # Commands used to build an old-style archive.
17327 old_archive_cmds=$lt_old_archive_cmds
17329 # A language specific compiler.
17332 # Is the compiler the GNU compiler?
17335 # Compiler flag to turn off builtin functions.
17336 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17338 # Additional compiler flags for building library objects.
17339 pic_flag=$lt_lt_prog_compiler_pic
17341 # How to pass a linker flag through the compiler.
17342 wl=$lt_lt_prog_compiler_wl
17344 # Compiler flag to prevent dynamic linking.
17345 link_static_flag=$lt_lt_prog_compiler_static
17347 # Does compiler simultaneously support -c and -o options?
17348 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17350 # Whether or not to add -lc for building shared libraries.
17351 build_libtool_need_lc=$archive_cmds_need_lc
17353 # Whether or not to disallow shared libs when runtime libs are static.
17354 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17356 # Compiler flag to allow reflexive dlopens.
17357 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17359 # Compiler flag to generate shared objects directly from archives.
17360 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17362 # Whether the compiler copes with passing no objects directly.
17363 compiler_needs_object=$lt_compiler_needs_object
17365 # Create an old-style archive from a shared archive.
17366 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17368 # Create a temporary old-style archive to link instead of a shared archive.
17369 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17371 # Commands used to build a shared archive.
17372 archive_cmds=$lt_archive_cmds
17373 archive_expsym_cmds=$lt_archive_expsym_cmds
17375 # Commands used to build a loadable module if different from building
17376 # a shared archive.
17377 module_cmds=$lt_module_cmds
17378 module_expsym_cmds=$lt_module_expsym_cmds
17380 # Whether we are building with GNU ld or not.
17381 with_gnu_ld=$lt_with_gnu_ld
17383 # Flag that allows shared libraries with undefined symbols to be built.
17384 allow_undefined_flag=$lt_allow_undefined_flag
17386 # Flag that enforces no undefined symbols.
17387 no_undefined_flag=$lt_no_undefined_flag
17389 # Flag to hardcode \$libdir into a binary during linking.
17390 # This must work even if \$libdir does not exist
17391 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17393 # Whether we need a single "-rpath" flag with a separated argument.
17394 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17396 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17397 # DIR into the resulting binary.
17398 hardcode_direct=$hardcode_direct
17400 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17401 # DIR into the resulting binary and the resulting library dependency is
17402 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17403 # library is relocated.
17404 hardcode_direct_absolute=$hardcode_direct_absolute
17406 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17407 # into the resulting binary.
17408 hardcode_minus_L=$hardcode_minus_L
17410 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17411 # into the resulting binary.
17412 hardcode_shlibpath_var=$hardcode_shlibpath_var
17414 # Set to "yes" if building a shared library automatically hardcodes DIR
17415 # into the library and all subsequent libraries and executables linked
17417 hardcode_automatic=$hardcode_automatic
17419 # Set to yes if linker adds runtime paths of dependent libraries
17420 # to runtime path list.
17421 inherit_rpath=$inherit_rpath
17423 # Whether libtool must link a program against all its dependency libraries.
17424 link_all_deplibs=$link_all_deplibs
17426 # Set to "yes" if exported symbols are required.
17427 always_export_symbols=$always_export_symbols
17429 # The commands to list exported symbols.
17430 export_symbols_cmds=$lt_export_symbols_cmds
17432 # Symbols that should not be listed in the preloaded symbols.
17433 exclude_expsyms=$lt_exclude_expsyms
17435 # Symbols that must always be exported.
17436 include_expsyms=$lt_include_expsyms
17438 # Commands necessary for linking programs (against libraries) with templates.
17439 prelink_cmds=$lt_prelink_cmds
17441 # Commands necessary for finishing linking programs.
17442 postlink_cmds=$lt_postlink_cmds
17444 # Specify filename containing input files.
17445 file_list_spec=$lt_file_list_spec
17447 # How to hardcode a shared library path into an executable.
17448 hardcode_action=$hardcode_action
17450 # ### END LIBTOOL CONFIG
17456 cat <<\_LT_EOF >> "$cfgfile"
17457 # AIX sometimes has problems with the GCC collect2 program. For some
17458 # reason, if we set the COLLECT_NAMES environment variable, the problems
17459 # vanish in a puff of smoke.
17460 if test "X${COLLECT_NAMES+set}" != Xset; then
17462 export COLLECT_NAMES
17469 ltmain="$ac_aux_dir/ltmain.sh"
17472 # We use sed instead of cat because bash on DJGPP gets confused if
17473 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17474 # text mode, it properly converts lines to CR/LF. This bash problem
17475 # is reportedly fixed, but why not run on old versions too?
17476 sed '$q' "$ltmain" >> "$cfgfile" \
17477 || (rm -f "$cfgfile"; exit 1)
17479 if test x"$xsi_shell" = xyes; then
17480 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17484 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17485 \ * ) func_dirname_result="${3}" ;;\
17487 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17488 && mv -f "$cfgfile.tmp" "$cfgfile" \
17489 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17490 test 0 -eq $? || _lt_function_replace_fail=:
17493 sed -e '/^func_basename ()$/,/^} # func_basename /c\
17496 \ func_basename_result="${1##*/}"\
17497 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17498 && mv -f "$cfgfile.tmp" "$cfgfile" \
17499 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17500 test 0 -eq $? || _lt_function_replace_fail=:
17503 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17504 func_dirname_and_basename ()\
17507 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17508 \ * ) func_dirname_result="${3}" ;;\
17510 \ func_basename_result="${1##*/}"\
17511 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17512 && mv -f "$cfgfile.tmp" "$cfgfile" \
17513 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17514 test 0 -eq $? || _lt_function_replace_fail=:
17517 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17520 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17521 \ # positional parameters, so assign one to ordinary parameter first.\
17522 \ func_stripname_result=${3}\
17523 \ func_stripname_result=${func_stripname_result#"${1}"}\
17524 \ func_stripname_result=${func_stripname_result%"${2}"}\
17525 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17526 && mv -f "$cfgfile.tmp" "$cfgfile" \
17527 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17528 test 0 -eq $? || _lt_function_replace_fail=:
17531 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17532 func_split_long_opt ()\
17534 \ func_split_long_opt_name=${1%%=*}\
17535 \ func_split_long_opt_arg=${1#*=}\
17536 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17537 && mv -f "$cfgfile.tmp" "$cfgfile" \
17538 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17539 test 0 -eq $? || _lt_function_replace_fail=:
17542 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17543 func_split_short_opt ()\
17545 \ func_split_short_opt_arg=${1#??}\
17546 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17547 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17548 && mv -f "$cfgfile.tmp" "$cfgfile" \
17549 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17550 test 0 -eq $? || _lt_function_replace_fail=:
17553 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17557 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17558 \ *) func_lo2o_result=${1} ;;\
17560 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17561 && mv -f "$cfgfile.tmp" "$cfgfile" \
17562 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17563 test 0 -eq $? || _lt_function_replace_fail=:
17566 sed -e '/^func_xform ()$/,/^} # func_xform /c\
17569 func_xform_result=${1%.*}.lo\
17570 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17571 && mv -f "$cfgfile.tmp" "$cfgfile" \
17572 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17573 test 0 -eq $? || _lt_function_replace_fail=:
17576 sed -e '/^func_arith ()$/,/^} # func_arith /c\
17579 func_arith_result=$(( $* ))\
17580 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17581 && mv -f "$cfgfile.tmp" "$cfgfile" \
17582 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17583 test 0 -eq $? || _lt_function_replace_fail=:
17586 sed -e '/^func_len ()$/,/^} # func_len /c\
17589 func_len_result=${#1}\
17590 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17591 && mv -f "$cfgfile.tmp" "$cfgfile" \
17592 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17593 test 0 -eq $? || _lt_function_replace_fail=:
17597 if test x"$lt_shell_append" = xyes; then
17598 sed -e '/^func_append ()$/,/^} # func_append /c\
17601 eval "${1}+=\\${2}"\
17602 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17603 && mv -f "$cfgfile.tmp" "$cfgfile" \
17604 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17605 test 0 -eq $? || _lt_function_replace_fail=:
17608 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17609 func_append_quoted ()\
17611 \ func_quote_for_eval "${2}"\
17612 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17613 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17614 && mv -f "$cfgfile.tmp" "$cfgfile" \
17615 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17616 test 0 -eq $? || _lt_function_replace_fail=:
17619 # Save a `func_append' function call where possible by direct use of '+='
17620 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17621 && mv -f "$cfgfile.tmp" "$cfgfile" \
17622 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17623 test 0 -eq $? || _lt_function_replace_fail=:
17625 # Save a `func_append' function call even when '+=' is not available
17626 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17627 && mv -f "$cfgfile.tmp" "$cfgfile" \
17628 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17629 test 0 -eq $? || _lt_function_replace_fail=:
17632 if test x"$_lt_function_replace_fail" = x":"; then
17633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17634 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17638 mv -f "$cfgfile" "$ofile" ||
17639 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17650 ac_clean_files=$ac_clean_files_save
17652 test $ac_write_fail = 0 ||
17653 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17656 # configure is writing to config.log, and then calls config.status.
17657 # config.status does its own redirection, appending to config.log.
17658 # Unfortunately, on DOS this fails, as config.log is still kept open
17659 # by configure, so config.status won't be able to write to it; its
17660 # output is simply discarded. So we exec the FD to /dev/null,
17661 # effectively closing config.log, so it can be properly (re)opened and
17662 # appended to by config.status. When coming back to configure, we
17663 # need to make the FD available again.
17664 if test "$no_create" != yes; then
17666 ac_config_status_args=
17667 test "$silent" = yes &&
17668 ac_config_status_args="$ac_config_status_args --quiet"
17670 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17672 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17673 # would make configure fail if this is the last instruction.
17674 $ac_cs_success || as_fn_exit 1
17676 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17678 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17683 #####################################################################
17689 echo "------------------------------------------------------------------------"
17690 echo "$PACKAGE $VERSION"
17691 echo "------------------------------------------------------------------------"
17693 echo "Configuration Options Summary:"
17697 echo " EBluez.............: $enable_ebluez"
17698 echo " EConnman (0.7x)....: $enable_econnman0_7x"
17699 echo " EHal...............: $enable_ehal"
17700 echo " ENotify............: $enable_enotify"
17701 echo " EOfono.............: $enable_eofono"
17702 echo " EUkit..............: $enable_eukit"
17706 echo " EDbus test.........: $have_edbus_test"
17707 echo " EDbus client test..: $have_edbus_test_client"
17708 echo " EDbus async test...: $have_edbus_async_test"
17709 echo " EDbus performance..: $have_edbus_performance_test"
17710 echo " EBluez test........: $have_edbus_bluez_test"
17711 echo " EConnman (0.7x)test: $have_edbus_connman0_7x_test"
17712 echo " ENotify Daemon test: $have_edbus_notification_daemon_test"
17713 echo " ENotify send.......: $have_edbus_notify_send"
17714 echo " ENotify test.......: $have_edbus_notify_test"
17715 echo " EOfono test........: $have_edbus_ofono_test"
17716 echo " EUkit test.........: $have_edbus_ukit_test"
17718 echo "Documentation..........: ${build_doc}"
17719 if test "x${build_doc}" = "xyes" ; then
17720 echo " Installation.......: make install-doc"
17723 echo "Compilation............: make (or gmake)"
17724 echo " CPPFLAGS.............: $CPPFLAGS"
17725 echo " CFLAGS...............: $CFLAGS"
17726 echo " LDFLAGS..............: $LDFLAGS"
17728 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
17729 echo " prefix...............: $prefix"