2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for e_dbus 1.7.5.
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.5'
574 PACKAGE_STRING='e_dbus 1.7.5'
575 PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net'
578 ac_unique_file="configure.ac"
579 # Factoring default headers for most tests.
580 ac_includes_default="\
582 #ifdef HAVE_SYS_TYPES_H
583 # include <sys/types.h>
585 #ifdef HAVE_SYS_STAT_H
586 # include <sys/stat.h>
592 # ifdef HAVE_STDLIB_H
597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 #ifdef HAVE_STRINGS_H
603 # include <strings.h>
605 #ifdef HAVE_INTTYPES_H
606 # include <inttypes.h>
615 ac_subst_vars='am__EXEEXT_FALSE
624 requirement_econnman0_7x
627 lt_enable_auto_import
629 EDBUS_ASYNC_TEST_LIBS
630 EDBUS_ASYNC_TEST_CFLAGS
631 EDBUS_PERFORMANCE_TEST_LIBS
632 EDBUS_PERFORMANCE_TEST_CFLAGS
634 EDBUS_UKIT_TEST_CFLAGS
635 EDBUS_OFONO_TEST_LIBS
636 EDBUS_OFONO_TEST_CFLAGS
637 EDBUS_NOTIFY_TEST_LIBS
638 EDBUS_NOTIFY_TEST_CFLAGS
639 EDBUS_NOTIFY_SEND_LIBS
640 EDBUS_NOTIFY_SEND_CFLAGS
641 EDBUS_NOTIFICATION_DAEMON_TEST_LIBS
642 EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS
643 EDBUS_CONNMAN0_7X_TEST_LIBS
644 EDBUS_CONNMAN0_7X_TEST_CFLAGS
645 EDBUS_BLUEZ_TEST_LIBS
646 EDBUS_BLUEZ_TEST_CFLAGS
647 EDBUS_TEST_CLIENT_LIBS
648 EDBUS_TEST_CLIENT_CFLAGS
651 BUILD_EDBUS_ASYNC_TEST_FALSE
652 BUILD_EDBUS_ASYNC_TEST_TRUE
654 BUILD_EDBUS_PERFORMANCE_TEST_FALSE
655 BUILD_EDBUS_PERFORMANCE_TEST_TRUE
656 EDBUS_PERFORMANCE_TEST_PRG
657 BUILD_EDBUS_UKIT_TEST_FALSE
658 BUILD_EDBUS_UKIT_TEST_TRUE
660 BUILD_EDBUS_OFONO_TEST_FALSE
661 BUILD_EDBUS_OFONO_TEST_TRUE
663 BUILD_EDBUS_NOTIFY_TEST_FALSE
664 BUILD_EDBUS_NOTIFY_TEST_TRUE
665 EDBUS_NOTIFY_TEST_PRG
666 BUILD_EDBUS_NOTIFY_SEND_FALSE
667 BUILD_EDBUS_NOTIFY_SEND_TRUE
668 EDBUS_NOTIFY_SEND_PRG
669 BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_FALSE
670 BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_TRUE
671 EDBUS_NOTIFICATION_DAEMON_TEST_PRG
672 BUILD_EDBUS_CONNMAN0_7X_TEST_FALSE
673 BUILD_EDBUS_CONNMAN0_7X_TEST_TRUE
674 EDBUS_CONNMAN0_7X_TEST_PRG
675 BUILD_EDBUS_BLUEZ_TEST_FALSE
676 BUILD_EDBUS_BLUEZ_TEST_TRUE
678 BUILD_EDBUS_TEST_CLIENT_FALSE
679 BUILD_EDBUS_TEST_CLIENT_TRUE
680 EDBUS_TEST_CLIENT_PRG
681 BUILD_EDBUS_TEST_FALSE
682 BUILD_EDBUS_TEST_TRUE
692 BUILD_ECONNMAN0_7X_FALSE
693 BUILD_ECONNMAN0_7X_TRUE
707 pkgconfig_requires_private
774 INSTALL_STRIP_PROGRAM
816 program_transform_name
829 enable_option_checking
835 enable_dependency_tracking
848 enable_edbus_test_client
849 enable_edbus_bluez_test
850 enable_edbus_connman0_7x_test
851 enable_edbus_notification_daemon_test
852 enable_edbus_notify_send
853 enable_edbus_notify_test
854 enable_edbus_ofono_test
855 enable_edbus_ukit_test
856 enable_edbus_performance_test
857 enable_edbus_async_test
859 ac_precious_vars='build_alias
879 EDBUS_TEST_CLIENT_CFLAGS
880 EDBUS_TEST_CLIENT_LIBS
881 EDBUS_BLUEZ_TEST_CFLAGS
882 EDBUS_BLUEZ_TEST_LIBS
883 EDBUS_CONNMAN0_7X_TEST_CFLAGS
884 EDBUS_CONNMAN0_7X_TEST_LIBS
885 EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS
886 EDBUS_NOTIFICATION_DAEMON_TEST_LIBS
887 EDBUS_NOTIFY_SEND_CFLAGS
888 EDBUS_NOTIFY_SEND_LIBS
889 EDBUS_NOTIFY_TEST_CFLAGS
890 EDBUS_NOTIFY_TEST_LIBS
891 EDBUS_OFONO_TEST_CFLAGS
892 EDBUS_OFONO_TEST_LIBS
893 EDBUS_UKIT_TEST_CFLAGS
895 EDBUS_PERFORMANCE_TEST_CFLAGS
896 EDBUS_PERFORMANCE_TEST_LIBS
897 EDBUS_ASYNC_TEST_CFLAGS
898 EDBUS_ASYNC_TEST_LIBS'
901 # Initialize some variables set by options.
903 ac_init_version=false
904 ac_unrecognized_opts=
906 # The variables have the same names as the options, with
907 # dashes changed to underlines.
915 program_transform_name=s,x,x,
923 # Installation directory options.
924 # These are left unexpanded so users can "make install exec_prefix=/foo"
925 # and all the variables that are supposed to be based on exec_prefix
926 # by default will actually change.
927 # Use braces instead of parens because sh, perl, etc. also accept them.
928 # (The list follows the same order as the GNU Coding Standards.)
929 bindir='${exec_prefix}/bin'
930 sbindir='${exec_prefix}/sbin'
931 libexecdir='${exec_prefix}/libexec'
932 datarootdir='${prefix}/share'
933 datadir='${datarootdir}'
934 sysconfdir='${prefix}/etc'
935 sharedstatedir='${prefix}/com'
936 localstatedir='${prefix}/var'
937 includedir='${prefix}/include'
938 oldincludedir='/usr/include'
939 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
940 infodir='${datarootdir}/info'
945 libdir='${exec_prefix}/lib'
946 localedir='${datarootdir}/locale'
947 mandir='${datarootdir}/man'
953 # If the previous option needs an argument, assign it.
954 if test -n "$ac_prev"; then
955 eval $ac_prev=\$ac_option
961 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
966 # Accept the important Cygnus configure options, so we can diagnose typos.
968 case $ac_dashdash$ac_option in
972 -bindir | --bindir | --bindi | --bind | --bin | --bi)
974 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
977 -build | --build | --buil | --bui | --bu)
978 ac_prev=build_alias ;;
979 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
980 build_alias=$ac_optarg ;;
982 -cache-file | --cache-file | --cache-fil | --cache-fi \
983 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
984 ac_prev=cache_file ;;
985 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
986 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
987 cache_file=$ac_optarg ;;
990 cache_file=config.cache ;;
992 -datadir | --datadir | --datadi | --datad)
994 -datadir=* | --datadir=* | --datadi=* | --datad=*)
995 datadir=$ac_optarg ;;
997 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
998 | --dataroo | --dataro | --datar)
999 ac_prev=datarootdir ;;
1000 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1001 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1002 datarootdir=$ac_optarg ;;
1004 -disable-* | --disable-*)
1005 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1006 # Reject names that are not valid shell variable names.
1007 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1008 as_fn_error $? "invalid feature name: $ac_useropt"
1009 ac_useropt_orig=$ac_useropt
1010 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1011 case $ac_user_opts in
1013 "enable_$ac_useropt"
1015 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1016 ac_unrecognized_sep=', ';;
1018 eval enable_$ac_useropt=no ;;
1020 -docdir | --docdir | --docdi | --doc | --do)
1022 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1023 docdir=$ac_optarg ;;
1025 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1027 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1028 dvidir=$ac_optarg ;;
1030 -enable-* | --enable-*)
1031 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1032 # Reject names that are not valid shell variable names.
1033 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1034 as_fn_error $? "invalid feature name: $ac_useropt"
1035 ac_useropt_orig=$ac_useropt
1036 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1037 case $ac_user_opts in
1039 "enable_$ac_useropt"
1041 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1042 ac_unrecognized_sep=', ';;
1044 eval enable_$ac_useropt=\$ac_optarg ;;
1046 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1047 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1048 | --exec | --exe | --ex)
1049 ac_prev=exec_prefix ;;
1050 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1051 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1052 | --exec=* | --exe=* | --ex=*)
1053 exec_prefix=$ac_optarg ;;
1055 -gas | --gas | --ga | --g)
1056 # Obsolete; use --with-gas.
1059 -help | --help | --hel | --he | -h)
1060 ac_init_help=long ;;
1061 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1062 ac_init_help=recursive ;;
1063 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1064 ac_init_help=short ;;
1066 -host | --host | --hos | --ho)
1067 ac_prev=host_alias ;;
1068 -host=* | --host=* | --hos=* | --ho=*)
1069 host_alias=$ac_optarg ;;
1071 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1073 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1075 htmldir=$ac_optarg ;;
1077 -includedir | --includedir | --includedi | --included | --include \
1078 | --includ | --inclu | --incl | --inc)
1079 ac_prev=includedir ;;
1080 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1081 | --includ=* | --inclu=* | --incl=* | --inc=*)
1082 includedir=$ac_optarg ;;
1084 -infodir | --infodir | --infodi | --infod | --info | --inf)
1086 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1087 infodir=$ac_optarg ;;
1089 -libdir | --libdir | --libdi | --libd)
1091 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1092 libdir=$ac_optarg ;;
1094 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1095 | --libexe | --libex | --libe)
1096 ac_prev=libexecdir ;;
1097 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1098 | --libexe=* | --libex=* | --libe=*)
1099 libexecdir=$ac_optarg ;;
1101 -localedir | --localedir | --localedi | --localed | --locale)
1102 ac_prev=localedir ;;
1103 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1104 localedir=$ac_optarg ;;
1106 -localstatedir | --localstatedir | --localstatedi | --localstated \
1107 | --localstate | --localstat | --localsta | --localst | --locals)
1108 ac_prev=localstatedir ;;
1109 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1110 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1111 localstatedir=$ac_optarg ;;
1113 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1115 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1116 mandir=$ac_optarg ;;
1118 -nfp | --nfp | --nf)
1119 # Obsolete; use --without-fp.
1122 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1123 | --no-cr | --no-c | -n)
1126 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1127 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1130 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1131 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1132 | --oldin | --oldi | --old | --ol | --o)
1133 ac_prev=oldincludedir ;;
1134 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1135 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1136 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1137 oldincludedir=$ac_optarg ;;
1139 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1141 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1142 prefix=$ac_optarg ;;
1144 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1145 | --program-pre | --program-pr | --program-p)
1146 ac_prev=program_prefix ;;
1147 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1148 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1149 program_prefix=$ac_optarg ;;
1151 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1152 | --program-suf | --program-su | --program-s)
1153 ac_prev=program_suffix ;;
1154 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1155 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1156 program_suffix=$ac_optarg ;;
1158 -program-transform-name | --program-transform-name \
1159 | --program-transform-nam | --program-transform-na \
1160 | --program-transform-n | --program-transform- \
1161 | --program-transform | --program-transfor \
1162 | --program-transfo | --program-transf \
1163 | --program-trans | --program-tran \
1164 | --progr-tra | --program-tr | --program-t)
1165 ac_prev=program_transform_name ;;
1166 -program-transform-name=* | --program-transform-name=* \
1167 | --program-transform-nam=* | --program-transform-na=* \
1168 | --program-transform-n=* | --program-transform-=* \
1169 | --program-transform=* | --program-transfor=* \
1170 | --program-transfo=* | --program-transf=* \
1171 | --program-trans=* | --program-tran=* \
1172 | --progr-tra=* | --program-tr=* | --program-t=*)
1173 program_transform_name=$ac_optarg ;;
1175 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1177 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1178 pdfdir=$ac_optarg ;;
1180 -psdir | --psdir | --psdi | --psd | --ps)
1182 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1185 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1186 | -silent | --silent | --silen | --sile | --sil)
1189 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1191 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1193 sbindir=$ac_optarg ;;
1195 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1196 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1197 | --sharedst | --shareds | --shared | --share | --shar \
1199 ac_prev=sharedstatedir ;;
1200 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1201 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1202 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1204 sharedstatedir=$ac_optarg ;;
1206 -site | --site | --sit)
1208 -site=* | --site=* | --sit=*)
1211 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1213 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1214 srcdir=$ac_optarg ;;
1216 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1217 | --syscon | --sysco | --sysc | --sys | --sy)
1218 ac_prev=sysconfdir ;;
1219 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1220 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1221 sysconfdir=$ac_optarg ;;
1223 -target | --target | --targe | --targ | --tar | --ta | --t)
1224 ac_prev=target_alias ;;
1225 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1226 target_alias=$ac_optarg ;;
1228 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1231 -version | --version | --versio | --versi | --vers | -V)
1232 ac_init_version=: ;;
1235 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1236 # Reject names that are not valid shell variable names.
1237 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1238 as_fn_error $? "invalid package name: $ac_useropt"
1239 ac_useropt_orig=$ac_useropt
1240 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1241 case $ac_user_opts in
1245 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1246 ac_unrecognized_sep=', ';;
1248 eval with_$ac_useropt=\$ac_optarg ;;
1250 -without-* | --without-*)
1251 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1252 # Reject names that are not valid shell variable names.
1253 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1254 as_fn_error $? "invalid package name: $ac_useropt"
1255 ac_useropt_orig=$ac_useropt
1256 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1257 case $ac_user_opts in
1261 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1262 ac_unrecognized_sep=', ';;
1264 eval with_$ac_useropt=no ;;
1267 # Obsolete; use --with-x.
1270 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1271 | --x-incl | --x-inc | --x-in | --x-i)
1272 ac_prev=x_includes ;;
1273 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1274 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1275 x_includes=$ac_optarg ;;
1277 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1278 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1279 ac_prev=x_libraries ;;
1280 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1281 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1282 x_libraries=$ac_optarg ;;
1284 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1285 Try \`$0 --help' for more information"
1289 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1290 # Reject names that are not valid shell variable names.
1291 case $ac_envvar in #(
1292 '' | [0-9]* | *[!_$as_cr_alnum]* )
1293 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1295 eval $ac_envvar=\$ac_optarg
1296 export $ac_envvar ;;
1299 # FIXME: should be removed in autoconf 3.0.
1300 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1301 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1302 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1303 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1309 if test -n "$ac_prev"; then
1310 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1311 as_fn_error $? "missing argument to $ac_option"
1314 if test -n "$ac_unrecognized_opts"; then
1315 case $enable_option_checking in
1317 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1318 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1322 # Check all directory arguments for consistency.
1323 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1324 datadir sysconfdir sharedstatedir localstatedir includedir \
1325 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1326 libdir localedir mandir
1328 eval ac_val=\$$ac_var
1329 # Remove trailing slashes.
1332 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1333 eval $ac_var=\$ac_val;;
1335 # Be sure to have absolute directory names.
1337 [\\/$]* | ?:[\\/]* ) continue;;
1338 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1340 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1343 # There might be people who depend on the old broken behavior: `$host'
1344 # used to hold the argument of --host etc.
1345 # FIXME: To remove some day.
1348 target=$target_alias
1350 # FIXME: To remove some day.
1351 if test "x$host_alias" != x; then
1352 if test "x$build_alias" = x; then
1353 cross_compiling=maybe
1354 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1355 If a cross compiler is detected then cross compile mode will be used" >&2
1356 elif test "x$build_alias" != "x$host_alias"; then
1362 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1364 test "$silent" = yes && exec 6>/dev/null
1367 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1368 ac_ls_di=`ls -di .` &&
1369 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1370 as_fn_error $? "working directory cannot be determined"
1371 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1372 as_fn_error $? "pwd does not report name of working directory"
1375 # Find the source files, if location was not specified.
1376 if test -z "$srcdir"; then
1377 ac_srcdir_defaulted=yes
1378 # Try the directory containing this script, then the parent directory.
1379 ac_confdir=`$as_dirname -- "$as_myself" ||
1380 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1381 X"$as_myself" : 'X\(//\)[^/]' \| \
1382 X"$as_myself" : 'X\(//\)$' \| \
1383 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1384 $as_echo X"$as_myself" |
1385 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1403 if test ! -r "$srcdir/$ac_unique_file"; then
1407 ac_srcdir_defaulted=no
1409 if test ! -r "$srcdir/$ac_unique_file"; then
1410 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1411 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1413 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1415 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1417 # When building in place, set srcdir=.
1418 if test "$ac_abs_confdir" = "$ac_pwd"; then
1421 # Remove unnecessary trailing slashes from srcdir.
1422 # Double slashes in file names in object file debugging info
1423 # mess up M-x gdb in Emacs.
1425 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1427 for ac_var in $ac_precious_vars; do
1428 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1429 eval ac_env_${ac_var}_value=\$${ac_var}
1430 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1431 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1435 # Report the --help message.
1437 if test "$ac_init_help" = "long"; then
1438 # Omit some internal or obsolete options to make the list less imposing.
1439 # This message is too long to be a string in the A/UX 3.1 sh.
1441 \`configure' configures e_dbus 1.7.5 to adapt to many kinds of systems.
1443 Usage: $0 [OPTION]... [VAR=VALUE]...
1445 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1446 VAR=VALUE. See below for descriptions of some of the useful variables.
1448 Defaults for the options are specified in brackets.
1451 -h, --help display this help and exit
1452 --help=short display options specific to this package
1453 --help=recursive display the short help of all the included packages
1454 -V, --version display version information and exit
1455 -q, --quiet, --silent do not print \`checking ...' messages
1456 --cache-file=FILE cache test results in FILE [disabled]
1457 -C, --config-cache alias for \`--cache-file=config.cache'
1458 -n, --no-create do not create output files
1459 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1461 Installation directories:
1462 --prefix=PREFIX install architecture-independent files in PREFIX
1463 [$ac_default_prefix]
1464 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1467 By default, \`make install' will install all the files in
1468 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1469 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1470 for instance \`--prefix=\$HOME'.
1472 For better control, use the options below.
1474 Fine tuning of the installation directories:
1475 --bindir=DIR user executables [EPREFIX/bin]
1476 --sbindir=DIR system admin executables [EPREFIX/sbin]
1477 --libexecdir=DIR program executables [EPREFIX/libexec]
1478 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1479 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1480 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1481 --libdir=DIR object code libraries [EPREFIX/lib]
1482 --includedir=DIR C header files [PREFIX/include]
1483 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1484 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1485 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1486 --infodir=DIR info documentation [DATAROOTDIR/info]
1487 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1488 --mandir=DIR man documentation [DATAROOTDIR/man]
1489 --docdir=DIR documentation root [DATAROOTDIR/doc/e_dbus]
1490 --htmldir=DIR html documentation [DOCDIR]
1491 --dvidir=DIR dvi documentation [DOCDIR]
1492 --pdfdir=DIR pdf documentation [DOCDIR]
1493 --psdir=DIR ps documentation [DOCDIR]
1499 --program-prefix=PREFIX prepend PREFIX to installed program names
1500 --program-suffix=SUFFIX append SUFFIX to installed program names
1501 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1504 --build=BUILD configure for building on BUILD [guessed]
1505 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1509 if test -n "$ac_init_help"; then
1510 case $ac_init_help in
1511 short | recursive ) echo "Configuration of e_dbus 1.7.5:";;
1516 --disable-option-checking ignore unrecognized --enable/--with options
1517 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1518 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1519 --enable-silent-rules less verbose build output (undo: `make V=1')
1520 --disable-silent-rules verbose build output (undo: `make V=0')
1521 --enable-shared[=PKGS] build shared libraries [default=yes]
1522 --enable-static[=PKGS] build static libraries [default=yes]
1523 --enable-fast-install[=PKGS]
1524 optimize for fast installation [default=yes]
1525 --disable-dependency-tracking speeds up one-time build
1526 --enable-dependency-tracking do not reject slow dependency extractors
1527 --disable-libtool-lock avoid locking (might break parallel builds)
1528 --enable-ebluez Enable ebluez build
1529 --enable-econnman0_7x Enable econnman 0.7x build
1530 --disable-ehal Disable ehal build
1531 --disable-enotify Disable enotify build
1532 --enable-eofono Enable eofono build
1533 --disable-eukit Disable eukit build
1534 --disable-doc Disable documentation build [default=enabled]
1535 --disable-edbus-test disable building of edbus_test
1536 --disable-edbus-test-client
1537 disable building of edbus_test_client
1538 --disable-edbus-bluez-test
1539 disable building of edbus_bluez_test
1540 --disable-edbus-connman0_7x-test
1541 disable building of edbus_connman0_7x_test
1542 --disable-edbus-notification-daemon-test
1543 disable building of edbus_notification_daemon_test
1544 --disable-edbus-notify-send
1545 disable building of edbus_notify_send
1546 --disable-edbus-notify-test
1547 disable building of edbus_notify_test
1548 --disable-edbus-ofono-test
1549 disable building of edbus_ofono_test
1550 --disable-edbus-ukit-test
1551 disable building of edbus_ukit_test
1552 --disable-edbus-performance-test
1553 disable building of edbus_performance_test
1554 --disable-edbus-async-test
1555 disable building of edbus_async_test
1558 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1559 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1560 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1562 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1563 --with-sysroot=DIR Search for dependent libraries within DIR
1564 (or the compiler's sysroot if not specified).
1565 --with-doxygen=FILE doxygen program to use [default=doxygen]
1567 Some influential environment variables:
1568 CC C compiler command
1569 CFLAGS C compiler flags
1570 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1571 nonstandard directory <lib dir>
1572 LIBS libraries to pass to the linker, e.g. -l<library>
1573 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1574 you have headers in a nonstandard directory <include dir>
1576 PKG_CONFIG path to pkg-config utility
1578 directories to add to pkg-config's search path
1580 path overriding pkg-config's built-in search path
1581 DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1582 DBUS_LIBS linker flags for DBUS, overriding pkg-config
1584 C compiler flags for EDBUS, overriding pkg-config
1585 EDBUS_LIBS linker flags for EDBUS, overriding pkg-config
1586 EVAS_CFLAGS C compiler flags for EVAS, overriding pkg-config
1587 EVAS_LIBS linker flags for EVAS, overriding pkg-config
1589 C compiler flags for EDBUS_TEST, overriding pkg-config
1591 linker flags for EDBUS_TEST, overriding pkg-config
1592 EDBUS_TEST_CLIENT_CFLAGS
1593 C compiler flags for EDBUS_TEST_CLIENT, overriding pkg-config
1594 EDBUS_TEST_CLIENT_LIBS
1595 linker flags for EDBUS_TEST_CLIENT, overriding pkg-config
1596 EDBUS_BLUEZ_TEST_CFLAGS
1597 C compiler flags for EDBUS_BLUEZ_TEST, overriding pkg-config
1598 EDBUS_BLUEZ_TEST_LIBS
1599 linker flags for EDBUS_BLUEZ_TEST, overriding pkg-config
1600 EDBUS_CONNMAN0_7X_TEST_CFLAGS
1601 C compiler flags for EDBUS_CONNMAN0_7X_TEST, overriding
1603 EDBUS_CONNMAN0_7X_TEST_LIBS
1604 linker flags for EDBUS_CONNMAN0_7X_TEST, overriding pkg-config
1605 EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS
1606 C compiler flags for EDBUS_NOTIFICATION_DAEMON_TEST, overriding
1608 EDBUS_NOTIFICATION_DAEMON_TEST_LIBS
1609 linker flags for EDBUS_NOTIFICATION_DAEMON_TEST, overriding
1611 EDBUS_NOTIFY_SEND_CFLAGS
1612 C compiler flags for EDBUS_NOTIFY_SEND, overriding pkg-config
1613 EDBUS_NOTIFY_SEND_LIBS
1614 linker flags for EDBUS_NOTIFY_SEND, overriding pkg-config
1615 EDBUS_NOTIFY_TEST_CFLAGS
1616 C compiler flags for EDBUS_NOTIFY_TEST, overriding pkg-config
1617 EDBUS_NOTIFY_TEST_LIBS
1618 linker flags for EDBUS_NOTIFY_TEST, overriding pkg-config
1619 EDBUS_OFONO_TEST_CFLAGS
1620 C compiler flags for EDBUS_OFONO_TEST, overriding pkg-config
1621 EDBUS_OFONO_TEST_LIBS
1622 linker flags for EDBUS_OFONO_TEST, overriding pkg-config
1623 EDBUS_UKIT_TEST_CFLAGS
1624 C compiler flags for EDBUS_UKIT_TEST, overriding pkg-config
1625 EDBUS_UKIT_TEST_LIBS
1626 linker flags for EDBUS_UKIT_TEST, overriding pkg-config
1627 EDBUS_PERFORMANCE_TEST_CFLAGS
1628 C compiler flags for EDBUS_PERFORMANCE_TEST, overriding
1630 EDBUS_PERFORMANCE_TEST_LIBS
1631 linker flags for EDBUS_PERFORMANCE_TEST, overriding pkg-config
1632 EDBUS_ASYNC_TEST_CFLAGS
1633 C compiler flags for EDBUS_ASYNC_TEST, overriding pkg-config
1634 EDBUS_ASYNC_TEST_LIBS
1635 linker flags for EDBUS_ASYNC_TEST, overriding pkg-config
1637 Use these variables to override the choices made by `configure' or to help
1638 it to find libraries and programs with nonstandard names/locations.
1640 Report bugs to <enlightenment-devel@lists.sourceforge.net>.
1645 if test "$ac_init_help" = "recursive"; then
1646 # If there are subdirs, report their specific --help.
1647 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1648 test -d "$ac_dir" ||
1649 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1654 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1656 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1657 # A ".." for each directory in $ac_dir_suffix.
1658 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1659 case $ac_top_builddir_sub in
1660 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1661 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1664 ac_abs_top_builddir=$ac_pwd
1665 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1666 # for backward compatibility:
1667 ac_top_builddir=$ac_top_build_prefix
1670 .) # We are building in place.
1672 ac_top_srcdir=$ac_top_builddir_sub
1673 ac_abs_top_srcdir=$ac_pwd ;;
1674 [\\/]* | ?:[\\/]* ) # Absolute name.
1675 ac_srcdir=$srcdir$ac_dir_suffix;
1676 ac_top_srcdir=$srcdir
1677 ac_abs_top_srcdir=$srcdir ;;
1679 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1680 ac_top_srcdir=$ac_top_build_prefix$srcdir
1681 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1683 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1685 cd "$ac_dir" || { ac_status=$?; continue; }
1686 # Check for guested configure.
1687 if test -f "$ac_srcdir/configure.gnu"; then
1689 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1690 elif test -f "$ac_srcdir/configure"; then
1692 $SHELL "$ac_srcdir/configure" --help=recursive
1694 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1696 cd "$ac_pwd" || { ac_status=$?; break; }
1700 test -n "$ac_init_help" && exit $ac_status
1701 if $ac_init_version; then
1703 e_dbus configure 1.7.5
1704 generated by GNU Autoconf 2.68
1706 Copyright (C) 2010 Free Software Foundation, Inc.
1707 This configure script is free software; the Free Software Foundation
1708 gives unlimited permission to copy, distribute and modify it.
1713 ## ------------------------ ##
1714 ## Autoconf initialization. ##
1715 ## ------------------------ ##
1717 # ac_fn_c_try_compile LINENO
1718 # --------------------------
1719 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1720 ac_fn_c_try_compile ()
1722 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1723 rm -f conftest.$ac_objext
1724 if { { ac_try="$ac_compile"
1726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1727 *) ac_try_echo=$ac_try;;
1729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1730 $as_echo "$ac_try_echo"; } >&5
1731 (eval "$ac_compile") 2>conftest.err
1733 if test -s conftest.err; then
1734 grep -v '^ *+' conftest.err >conftest.er1
1735 cat conftest.er1 >&5
1736 mv -f conftest.er1 conftest.err
1738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1739 test $ac_status = 0; } && {
1740 test -z "$ac_c_werror_flag" ||
1741 test ! -s conftest.err
1742 } && test -s conftest.$ac_objext; then :
1745 $as_echo "$as_me: failed program was:" >&5
1746 sed 's/^/| /' conftest.$ac_ext >&5
1750 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1751 as_fn_set_status $ac_retval
1753 } # ac_fn_c_try_compile
1755 # ac_fn_c_try_link LINENO
1756 # -----------------------
1757 # Try to link conftest.$ac_ext, and return whether this succeeded.
1760 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1761 rm -f conftest.$ac_objext conftest$ac_exeext
1762 if { { ac_try="$ac_link"
1764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1765 *) ac_try_echo=$ac_try;;
1767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1768 $as_echo "$ac_try_echo"; } >&5
1769 (eval "$ac_link") 2>conftest.err
1771 if test -s conftest.err; then
1772 grep -v '^ *+' conftest.err >conftest.er1
1773 cat conftest.er1 >&5
1774 mv -f conftest.er1 conftest.err
1776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1777 test $ac_status = 0; } && {
1778 test -z "$ac_c_werror_flag" ||
1779 test ! -s conftest.err
1780 } && test -s conftest$ac_exeext && {
1781 test "$cross_compiling" = yes ||
1782 $as_test_x conftest$ac_exeext
1786 $as_echo "$as_me: failed program was:" >&5
1787 sed 's/^/| /' conftest.$ac_ext >&5
1791 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1792 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1793 # interfere with the next link command; also delete a directory that is
1794 # left behind by Apple's compiler. We do this before executing the actions.
1795 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1796 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1797 as_fn_set_status $ac_retval
1799 } # ac_fn_c_try_link
1801 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1802 # -------------------------------------------------------
1803 # Tests whether HEADER exists and can be compiled using the include files in
1804 # INCLUDES, setting the cache variable VAR accordingly.
1805 ac_fn_c_check_header_compile ()
1807 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1809 $as_echo_n "checking for $2... " >&6; }
1810 if eval \${$3+:} false; then :
1811 $as_echo_n "(cached) " >&6
1813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1814 /* end confdefs.h. */
1818 if ac_fn_c_try_compile "$LINENO"; then :
1823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1827 $as_echo "$ac_res" >&6; }
1828 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1830 } # ac_fn_c_check_header_compile
1832 # ac_fn_c_try_cpp LINENO
1833 # ----------------------
1834 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1837 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1838 if { { ac_try="$ac_cpp conftest.$ac_ext"
1840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1841 *) ac_try_echo=$ac_try;;
1843 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1844 $as_echo "$ac_try_echo"; } >&5
1845 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1847 if test -s conftest.err; then
1848 grep -v '^ *+' conftest.err >conftest.er1
1849 cat conftest.er1 >&5
1850 mv -f conftest.er1 conftest.err
1852 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1853 test $ac_status = 0; } > conftest.i && {
1854 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1855 test ! -s conftest.err
1859 $as_echo "$as_me: failed program was:" >&5
1860 sed 's/^/| /' conftest.$ac_ext >&5
1864 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1865 as_fn_set_status $ac_retval
1869 # ac_fn_c_try_run LINENO
1870 # ----------------------
1871 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1872 # that executables *can* be run.
1875 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1876 if { { ac_try="$ac_link"
1878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1879 *) ac_try_echo=$ac_try;;
1881 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1882 $as_echo "$ac_try_echo"; } >&5
1883 (eval "$ac_link") 2>&5
1885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1886 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1887 { { case "(($ac_try" in
1888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1889 *) ac_try_echo=$ac_try;;
1891 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1892 $as_echo "$ac_try_echo"; } >&5
1893 (eval "$ac_try") 2>&5
1895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1896 test $ac_status = 0; }; }; then :
1899 $as_echo "$as_me: program exited with status $ac_status" >&5
1900 $as_echo "$as_me: failed program was:" >&5
1901 sed 's/^/| /' conftest.$ac_ext >&5
1903 ac_retval=$ac_status
1905 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1906 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1907 as_fn_set_status $ac_retval
1911 # ac_fn_c_check_func LINENO FUNC VAR
1912 # ----------------------------------
1913 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1914 ac_fn_c_check_func ()
1916 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1918 $as_echo_n "checking for $2... " >&6; }
1919 if eval \${$3+:} false; then :
1920 $as_echo_n "(cached) " >&6
1922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1923 /* end confdefs.h. */
1924 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1925 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1926 #define $2 innocuous_$2
1928 /* System header to define __stub macros and hopefully few prototypes,
1929 which can conflict with char $2 (); below.
1930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1931 <limits.h> exists even on freestanding compilers. */
1934 # include <limits.h>
1936 # include <assert.h>
1941 /* Override any GCC internal prototype to avoid an error.
1942 Use char because int might match the return type of a GCC
1943 builtin and then its argument prototype would still apply. */
1948 /* The GNU C library defines this for functions which it implements
1949 to always fail with ENOSYS. Some functions are actually named
1950 something starting with __ and the normal name is an alias. */
1951 #if defined __stub_$2 || defined __stub___$2
1963 if ac_fn_c_try_link "$LINENO"; then :
1968 rm -f core conftest.err conftest.$ac_objext \
1969 conftest$ac_exeext conftest.$ac_ext
1972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1973 $as_echo "$ac_res" >&6; }
1974 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1976 } # ac_fn_c_check_func
1978 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1979 # -------------------------------------------
1980 # Tests whether TYPE exists after having included INCLUDES, setting cache
1981 # variable VAR accordingly.
1982 ac_fn_c_check_type ()
1984 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1986 $as_echo_n "checking for $2... " >&6; }
1987 if eval \${$3+:} false; then :
1988 $as_echo_n "(cached) " >&6
1991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1992 /* end confdefs.h. */
2003 if ac_fn_c_try_compile "$LINENO"; then :
2004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2005 /* end confdefs.h. */
2016 if ac_fn_c_try_compile "$LINENO"; then :
2021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2027 $as_echo "$ac_res" >&6; }
2028 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2030 } # ac_fn_c_check_type
2031 cat >config.log <<_ACEOF
2032 This file contains any messages produced by compilers while
2033 running configure, to aid debugging if configure makes a mistake.
2035 It was created by e_dbus $as_me 1.7.5, which was
2036 generated by GNU Autoconf 2.68. Invocation command line was
2048 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2049 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2050 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2051 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2052 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2054 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2055 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2057 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2058 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2059 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2060 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2061 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2062 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2063 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2071 test -z "$as_dir" && as_dir=.
2072 $as_echo "PATH: $as_dir"
2088 # Keep a trace of the command line.
2089 # Strip out --no-create and --no-recursion so they do not pile up.
2090 # Strip out --silent because we don't want to record it for future runs.
2091 # Also quote any args containing shell meta-characters.
2092 # Make two passes to allow for proper duplicate-argument suppression.
2096 ac_must_keep_next=false
2102 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2103 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2104 | -silent | --silent | --silen | --sile | --sil)
2107 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2110 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2112 as_fn_append ac_configure_args1 " '$ac_arg'"
2113 if test $ac_must_keep_next = true; then
2114 ac_must_keep_next=false # Got value, back to normal.
2117 *=* | --config-cache | -C | -disable-* | --disable-* \
2118 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2119 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2120 | -with-* | --with-* | -without-* | --without-* | --x)
2121 case "$ac_configure_args0 " in
2122 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2125 -* ) ac_must_keep_next=true ;;
2128 as_fn_append ac_configure_args " '$ac_arg'"
2133 { ac_configure_args0=; unset ac_configure_args0;}
2134 { ac_configure_args1=; unset ac_configure_args1;}
2136 # When interrupted or exit'd, cleanup temporary files, and complete
2137 # config.log. We remove comments because anyway the quotes in there
2138 # would cause problems or look ugly.
2139 # WARNING: Use '\'' to represent an apostrophe within the trap.
2140 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2141 trap 'exit_status=$?
2142 # Save into config.log some information that might help in debugging.
2146 $as_echo "## ---------------- ##
2147 ## Cache variables. ##
2148 ## ---------------- ##"
2150 # The following way of writing the cache mishandles newlines in values,
2152 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2153 eval ac_val=\$$ac_var
2157 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2158 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2161 _ | IFS | as_nl) ;; #(
2162 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2163 *) { eval $ac_var=; unset $ac_var;} ;;
2168 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2169 *${as_nl}ac_space=\ *)
2171 "s/'\''/'\''\\\\'\'''\''/g;
2172 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2175 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2182 $as_echo "## ----------------- ##
2183 ## Output variables. ##
2184 ## ----------------- ##"
2186 for ac_var in $ac_subst_vars
2188 eval ac_val=\$$ac_var
2190 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2192 $as_echo "$ac_var='\''$ac_val'\''"
2196 if test -n "$ac_subst_files"; then
2197 $as_echo "## ------------------- ##
2198 ## File substitutions. ##
2199 ## ------------------- ##"
2201 for ac_var in $ac_subst_files
2203 eval ac_val=\$$ac_var
2205 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2207 $as_echo "$ac_var='\''$ac_val'\''"
2212 if test -s confdefs.h; then
2213 $as_echo "## ----------- ##
2220 test "$ac_signal" != 0 &&
2221 $as_echo "$as_me: caught signal $ac_signal"
2222 $as_echo "$as_me: exit $exit_status"
2224 rm -f core *.core core.conftest.* &&
2225 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2228 for ac_signal in 1 2 13 15; do
2229 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2233 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2234 rm -f -r conftest* confdefs.h
2236 $as_echo "/* confdefs.h */" > confdefs.h
2238 # Predefined preprocessor variables.
2240 cat >>confdefs.h <<_ACEOF
2241 #define PACKAGE_NAME "$PACKAGE_NAME"
2244 cat >>confdefs.h <<_ACEOF
2245 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2248 cat >>confdefs.h <<_ACEOF
2249 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2252 cat >>confdefs.h <<_ACEOF
2253 #define PACKAGE_STRING "$PACKAGE_STRING"
2256 cat >>confdefs.h <<_ACEOF
2257 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2260 cat >>confdefs.h <<_ACEOF
2261 #define PACKAGE_URL "$PACKAGE_URL"
2265 # Let the site file select an alternate cache file if it wants to.
2266 # Prefer an explicitly selected file to automatically selected ones.
2269 if test -n "$CONFIG_SITE"; then
2270 # We do not want a PATH search for config.site.
2271 case $CONFIG_SITE in #((
2272 -*) ac_site_file1=./$CONFIG_SITE;;
2273 */*) ac_site_file1=$CONFIG_SITE;;
2274 *) ac_site_file1=./$CONFIG_SITE;;
2276 elif test "x$prefix" != xNONE; then
2277 ac_site_file1=$prefix/share/config.site
2278 ac_site_file2=$prefix/etc/config.site
2280 ac_site_file1=$ac_default_prefix/share/config.site
2281 ac_site_file2=$ac_default_prefix/etc/config.site
2283 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2285 test "x$ac_site_file" = xNONE && continue
2286 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2288 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2289 sed 's/^/| /' "$ac_site_file" >&5
2291 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2292 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2293 as_fn_error $? "failed to load site script $ac_site_file
2294 See \`config.log' for more details" "$LINENO" 5; }
2298 if test -r "$cache_file"; then
2299 # Some versions of bash will fail to source /dev/null (special files
2300 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2301 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2303 $as_echo "$as_me: loading cache $cache_file" >&6;}
2305 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2306 *) . "./$cache_file";;
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2311 $as_echo "$as_me: creating cache $cache_file" >&6;}
2315 # Check that the precious variables saved in the cache have kept the same
2317 ac_cache_corrupted=false
2318 for ac_var in $ac_precious_vars; do
2319 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2320 eval ac_new_set=\$ac_env_${ac_var}_set
2321 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2322 eval ac_new_val=\$ac_env_${ac_var}_value
2323 case $ac_old_set,$ac_new_set in
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2326 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2327 ac_cache_corrupted=: ;;
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2330 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2331 ac_cache_corrupted=: ;;
2334 if test "x$ac_old_val" != "x$ac_new_val"; then
2335 # differences in whitespace do not lead to failure.
2336 ac_old_val_w=`echo x $ac_old_val`
2337 ac_new_val_w=`echo x $ac_new_val`
2338 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2340 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2341 ac_cache_corrupted=:
2343 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2344 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2345 eval $ac_var=\$ac_old_val
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2348 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2350 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2353 # Pass precious variables to config.status.
2354 if test "$ac_new_set" = set; then
2356 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2357 *) ac_arg=$ac_var=$ac_new_val ;;
2359 case " $ac_configure_args " in
2360 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2361 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2365 if $ac_cache_corrupted; then
2366 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2367 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2368 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2369 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2370 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2372 ## -------------------- ##
2373 ## Main body of script. ##
2374 ## -------------------- ##
2377 ac_cpp='$CPP $CPPFLAGS'
2378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2387 ac_config_headers="$ac_config_headers config.h"
2392 am__api_version='1.11'
2395 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2396 if test -f "$ac_dir/install-sh"; then
2398 ac_install_sh="$ac_aux_dir/install-sh -c"
2400 elif test -f "$ac_dir/install.sh"; then
2402 ac_install_sh="$ac_aux_dir/install.sh -c"
2404 elif test -f "$ac_dir/shtool"; then
2406 ac_install_sh="$ac_aux_dir/shtool install -c"
2410 if test -z "$ac_aux_dir"; then
2411 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2414 # These three variables are undocumented and unsupported,
2415 # and are intended to be withdrawn in a future Autoconf release.
2416 # They can cause serious problems if a builder's source tree is in a directory
2417 # whose full name contains unusual characters.
2418 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2419 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2420 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2423 # Find a good install program. We prefer a C program (faster),
2424 # so one script is as good as another. But avoid the broken or
2425 # incompatible versions:
2426 # SysV /etc/install, /usr/sbin/install
2427 # SunOS /usr/etc/install
2428 # IRIX /sbin/install
2430 # AmigaOS /C/install, which installs bootblocks on floppy discs
2431 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2432 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2433 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2434 # OS/2's system install, which has a completely different semantic
2435 # ./install, which can be erroneously created by make from ./install.sh.
2436 # Reject install programs that cannot install multiple files.
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2438 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2439 if test -z "$INSTALL"; then
2440 if ${ac_cv_path_install+:} false; then :
2441 $as_echo_n "(cached) " >&6
2443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2447 test -z "$as_dir" && as_dir=.
2448 # Account for people who put trailing slashes in PATH elements.
2449 case $as_dir/ in #((
2450 ./ | .// | /[cC]/* | \
2451 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2452 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2455 # OSF1 and SCO ODT 3.0 have their own names for install.
2456 # Don't use installbsd from OSF since it installs stuff as root
2458 for ac_prog in ginstall scoinst install; do
2459 for ac_exec_ext in '' $ac_executable_extensions; do
2460 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2461 if test $ac_prog = install &&
2462 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2463 # AIX install. It has an incompatible calling convention.
2465 elif test $ac_prog = install &&
2466 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2467 # program-specific install script used by HP pwplus--don't use.
2470 rm -rf conftest.one conftest.two conftest.dir
2471 echo one > conftest.one
2472 echo two > conftest.two
2474 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2475 test -s conftest.one && test -s conftest.two &&
2476 test -s conftest.dir/conftest.one &&
2477 test -s conftest.dir/conftest.two
2479 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2492 rm -rf conftest.one conftest.two conftest.dir
2495 if test "${ac_cv_path_install+set}" = set; then
2496 INSTALL=$ac_cv_path_install
2498 # As a last resort, use the slow shell script. Don't cache a
2499 # value for INSTALL within a source directory, because that will
2500 # break other packages using the cache if that directory is
2501 # removed, or if the value is a relative name.
2502 INSTALL=$ac_install_sh
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2506 $as_echo "$INSTALL" >&6; }
2508 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2509 # It thinks the first close brace ends the variable substitution.
2510 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2512 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2514 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2517 $as_echo_n "checking whether build environment is sane... " >&6; }
2520 echo timestamp > conftest.file
2521 # Reject unsafe characters in $srcdir or the absolute working directory
2522 # name. Accept space and tab only in the latter.
2526 *[\\\"\#\$\&\'\`$am_lf]*)
2527 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2530 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2531 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2534 # Do `set' in a subshell so we don't clobber the current shell's
2535 # arguments. Must try -L first in case configure is actually a
2536 # symlink; some systems play weird games with the mod time of symlinks
2537 # (eg FreeBSD returns the mod time of the symlink's containing
2540 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2541 if test "$*" = "X"; then
2543 set X `ls -t "$srcdir/configure" conftest.file`
2546 if test "$*" != "X $srcdir/configure conftest.file" \
2547 && test "$*" != "X conftest.file $srcdir/configure"; then
2549 # If neither matched, then we have a broken ls. This can happen
2550 # if, for instance, CONFIG_SHELL is bash and it inherits a
2551 # broken ls alias from the environment. This has actually
2552 # happened. Such a system could not be considered "sane".
2553 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2554 alias in your environment" "$LINENO" 5
2557 test "$2" = conftest.file
2563 as_fn_error $? "newly created file is older than distributed files!
2564 Check your system clock" "$LINENO" 5
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2567 $as_echo "yes" >&6; }
2568 test "$program_prefix" != NONE &&
2569 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2570 # Use a double $ so make ignores it.
2571 test "$program_suffix" != NONE &&
2572 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2573 # Double any \ or $.
2574 # By default was `s,x,x', remove it if useless.
2575 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2576 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2578 # expand $ac_aux_dir to an absolute path
2579 am_aux_dir=`cd $ac_aux_dir && pwd`
2581 if test x"${MISSING+set}" != xset; then
2584 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2586 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2589 # Use eval to expand $SHELL
2590 if eval "$MISSING --run true"; then
2591 am_missing_run="$MISSING --run "
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2595 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2598 if test x"${install_sh}" != xset; then
2601 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2603 install_sh="\${SHELL} $am_aux_dir/install-sh"
2607 # Installed binaries are usually stripped using `strip' when the user
2608 # run `make install-strip'. However `strip' might not be the right
2609 # tool to use in cross-compilation environments, therefore Automake
2610 # will honor the `STRIP' environment variable to overrule this program.
2611 if test "$cross_compiling" != no; then
2612 if test -n "$ac_tool_prefix"; then
2613 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2614 set dummy ${ac_tool_prefix}strip; ac_word=$2
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2616 $as_echo_n "checking for $ac_word... " >&6; }
2617 if ${ac_cv_prog_STRIP+:} false; then :
2618 $as_echo_n "(cached) " >&6
2620 if test -n "$STRIP"; then
2621 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2627 test -z "$as_dir" && as_dir=.
2628 for ac_exec_ext in '' $ac_executable_extensions; do
2629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2630 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2640 STRIP=$ac_cv_prog_STRIP
2641 if test -n "$STRIP"; then
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2643 $as_echo "$STRIP" >&6; }
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2646 $as_echo "no" >&6; }
2651 if test -z "$ac_cv_prog_STRIP"; then
2653 # Extract the first word of "strip", so it can be a program name with args.
2654 set dummy strip; ac_word=$2
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2656 $as_echo_n "checking for $ac_word... " >&6; }
2657 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2658 $as_echo_n "(cached) " >&6
2660 if test -n "$ac_ct_STRIP"; then
2661 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2667 test -z "$as_dir" && as_dir=.
2668 for ac_exec_ext in '' $ac_executable_extensions; do
2669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2670 ac_cv_prog_ac_ct_STRIP="strip"
2671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2680 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2681 if test -n "$ac_ct_STRIP"; then
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2683 $as_echo "$ac_ct_STRIP" >&6; }
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2686 $as_echo "no" >&6; }
2689 if test "x$ac_ct_STRIP" = x; then
2692 case $cross_compiling:$ac_tool_warned in
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2695 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2696 ac_tool_warned=yes ;;
2701 STRIP="$ac_cv_prog_STRIP"
2705 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2708 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2709 if test -z "$MKDIR_P"; then
2710 if ${ac_cv_path_mkdir+:} false; then :
2711 $as_echo_n "(cached) " >&6
2713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2714 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2717 test -z "$as_dir" && as_dir=.
2718 for ac_prog in mkdir gmkdir; do
2719 for ac_exec_ext in '' $ac_executable_extensions; do
2720 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2721 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2722 'mkdir (GNU coreutils) '* | \
2723 'mkdir (coreutils) '* | \
2724 'mkdir (fileutils) '4.1*)
2725 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2735 test -d ./--version && rmdir ./--version
2736 if test "${ac_cv_path_mkdir+set}" = set; then
2737 MKDIR_P="$ac_cv_path_mkdir -p"
2739 # As a last resort, use the slow shell script. Don't cache a
2740 # value for MKDIR_P within a source directory, because that will
2741 # break other packages using the cache if that directory is
2742 # removed, or if the value is a relative name.
2743 MKDIR_P="$ac_install_sh -d"
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2747 $as_echo "$MKDIR_P" >&6; }
2751 [\\/$]* | ?:[\\/]*) ;;
2752 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2755 for ac_prog in gawk mawk nawk awk
2757 # Extract the first word of "$ac_prog", so it can be a program name with args.
2758 set dummy $ac_prog; ac_word=$2
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2760 $as_echo_n "checking for $ac_word... " >&6; }
2761 if ${ac_cv_prog_AWK+:} false; then :
2762 $as_echo_n "(cached) " >&6
2764 if test -n "$AWK"; then
2765 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2771 test -z "$as_dir" && as_dir=.
2772 for ac_exec_ext in '' $ac_executable_extensions; do
2773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2774 ac_cv_prog_AWK="$ac_prog"
2775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2785 if test -n "$AWK"; then
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2787 $as_echo "$AWK" >&6; }
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2790 $as_echo "no" >&6; }
2794 test -n "$AWK" && break
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2798 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2800 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2801 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2802 $as_echo_n "(cached) " >&6
2804 cat >conftest.make <<\_ACEOF
2807 @echo '@@@%%%=$(MAKE)=@@@%%%'
2809 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2810 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2812 eval ac_cv_prog_make_${ac_make}_set=yes;;
2814 eval ac_cv_prog_make_${ac_make}_set=no;;
2818 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2820 $as_echo "yes" >&6; }
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2824 $as_echo "no" >&6; }
2825 SET_MAKE="MAKE=${MAKE-make}"
2828 rm -rf .tst 2>/dev/null
2829 mkdir .tst 2>/dev/null
2830 if test -d .tst; then
2835 rmdir .tst 2>/dev/null
2837 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2838 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2839 # is not polluted with repeated "-I."
2840 am__isrc=' -I$(srcdir)'
2841 # test to see if srcdir already configured
2842 if test -f $srcdir/config.status; then
2843 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2847 # test whether we have cygpath
2848 if test -z "$CYGPATH_W"; then
2849 if (cygpath --version) >/dev/null 2>/dev/null; then
2850 CYGPATH_W='cygpath -w'
2857 # Define the identity of the package.
2862 cat >>confdefs.h <<_ACEOF
2863 #define PACKAGE "$PACKAGE"
2867 cat >>confdefs.h <<_ACEOF
2868 #define VERSION "$VERSION"
2871 # Some tools Automake needs.
2873 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2876 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2879 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2882 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2885 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2887 # We need awk for the "check" target. The system "awk" is bad on
2889 # Always define AMTAR for backward compatibility. Yes, it's still used
2890 # in the wild :-( We should find a proper way to deprecate it ...
2893 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2899 # Check whether --enable-silent-rules was given.
2900 if test "${enable_silent_rules+set}" = set; then :
2901 enableval=$enable_silent_rules;
2904 case $enable_silent_rules in
2905 yes) AM_DEFAULT_VERBOSITY=0;;
2906 no) AM_DEFAULT_VERBOSITY=1;;
2907 *) AM_DEFAULT_VERBOSITY=0;;
2909 am_make=${MAKE-make}
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2911 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2912 if ${am_cv_make_support_nested_variables+:} false; then :
2913 $as_echo_n "(cached) " >&6
2915 if $as_echo 'TRUE=$(BAR$(V))
2921 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2922 am_cv_make_support_nested_variables=yes
2924 am_cv_make_support_nested_variables=no
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2928 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2929 if test $am_cv_make_support_nested_variables = yes; then
2931 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2933 AM_V=$AM_DEFAULT_VERBOSITY
2934 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2939 # Make sure we can run config.sub.
2940 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2941 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2944 $as_echo_n "checking build system type... " >&6; }
2945 if ${ac_cv_build+:} false; then :
2946 $as_echo_n "(cached) " >&6
2948 ac_build_alias=$build_alias
2949 test "x$ac_build_alias" = x &&
2950 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2951 test "x$ac_build_alias" = x &&
2952 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2953 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2954 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2958 $as_echo "$ac_cv_build" >&6; }
2959 case $ac_cv_build in
2961 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2964 ac_save_IFS=$IFS; IFS='-'
2970 # Remember, the first character of IFS is used to create $*,
2971 # except with old shells:
2974 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2978 $as_echo_n "checking host system type... " >&6; }
2979 if ${ac_cv_host+:} false; then :
2980 $as_echo_n "(cached) " >&6
2982 if test "x$host_alias" = x; then
2983 ac_cv_host=$ac_cv_build
2985 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2986 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2991 $as_echo "$ac_cv_host" >&6; }
2994 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2997 ac_save_IFS=$IFS; IFS='-'
3003 # Remember, the first character of IFS is used to create $*,
3004 # except with old shells:
3007 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3010 enable_win32_dll=yes
3013 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
3014 if test -n "$ac_tool_prefix"; then
3015 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3016 set dummy ${ac_tool_prefix}as; ac_word=$2
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3018 $as_echo_n "checking for $ac_word... " >&6; }
3019 if ${ac_cv_prog_AS+:} false; then :
3020 $as_echo_n "(cached) " >&6
3022 if test -n "$AS"; then
3023 ac_cv_prog_AS="$AS" # Let the user override the test.
3025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3029 test -z "$as_dir" && as_dir=.
3030 for ac_exec_ext in '' $ac_executable_extensions; do
3031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3032 ac_cv_prog_AS="${ac_tool_prefix}as"
3033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3043 if test -n "$AS"; then
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
3045 $as_echo "$AS" >&6; }
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3048 $as_echo "no" >&6; }
3053 if test -z "$ac_cv_prog_AS"; then
3055 # Extract the first word of "as", so it can be a program name with args.
3056 set dummy as; ac_word=$2
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3058 $as_echo_n "checking for $ac_word... " >&6; }
3059 if ${ac_cv_prog_ac_ct_AS+:} false; then :
3060 $as_echo_n "(cached) " >&6
3062 if test -n "$ac_ct_AS"; then
3063 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3069 test -z "$as_dir" && as_dir=.
3070 for ac_exec_ext in '' $ac_executable_extensions; do
3071 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3072 ac_cv_prog_ac_ct_AS="as"
3073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3082 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3083 if test -n "$ac_ct_AS"; then
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
3085 $as_echo "$ac_ct_AS" >&6; }
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3088 $as_echo "no" >&6; }
3091 if test "x$ac_ct_AS" = x; then
3094 case $cross_compiling:$ac_tool_warned in
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3097 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3098 ac_tool_warned=yes ;;
3106 if test -n "$ac_tool_prefix"; then
3107 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3108 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3110 $as_echo_n "checking for $ac_word... " >&6; }
3111 if ${ac_cv_prog_DLLTOOL+:} false; then :
3112 $as_echo_n "(cached) " >&6
3114 if test -n "$DLLTOOL"; then
3115 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3121 test -z "$as_dir" && as_dir=.
3122 for ac_exec_ext in '' $ac_executable_extensions; do
3123 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3124 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3134 DLLTOOL=$ac_cv_prog_DLLTOOL
3135 if test -n "$DLLTOOL"; then
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
3137 $as_echo "$DLLTOOL" >&6; }
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3140 $as_echo "no" >&6; }
3145 if test -z "$ac_cv_prog_DLLTOOL"; then
3146 ac_ct_DLLTOOL=$DLLTOOL
3147 # Extract the first word of "dlltool", so it can be a program name with args.
3148 set dummy dlltool; ac_word=$2
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3150 $as_echo_n "checking for $ac_word... " >&6; }
3151 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
3152 $as_echo_n "(cached) " >&6
3154 if test -n "$ac_ct_DLLTOOL"; then
3155 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3161 test -z "$as_dir" && as_dir=.
3162 for ac_exec_ext in '' $ac_executable_extensions; do
3163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3164 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3174 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3175 if test -n "$ac_ct_DLLTOOL"; then
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
3177 $as_echo "$ac_ct_DLLTOOL" >&6; }
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3180 $as_echo "no" >&6; }
3183 if test "x$ac_ct_DLLTOOL" = x; then
3186 case $cross_compiling:$ac_tool_warned in
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3189 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3190 ac_tool_warned=yes ;;
3192 DLLTOOL=$ac_ct_DLLTOOL
3195 DLLTOOL="$ac_cv_prog_DLLTOOL"
3198 if test -n "$ac_tool_prefix"; then
3199 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
3200 set dummy ${ac_tool_prefix}objdump; ac_word=$2
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3202 $as_echo_n "checking for $ac_word... " >&6; }
3203 if ${ac_cv_prog_OBJDUMP+:} false; then :
3204 $as_echo_n "(cached) " >&6
3206 if test -n "$OBJDUMP"; then
3207 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
3209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3213 test -z "$as_dir" && as_dir=.
3214 for ac_exec_ext in '' $ac_executable_extensions; do
3215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3216 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
3217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3226 OBJDUMP=$ac_cv_prog_OBJDUMP
3227 if test -n "$OBJDUMP"; then
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
3229 $as_echo "$OBJDUMP" >&6; }
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3232 $as_echo "no" >&6; }
3237 if test -z "$ac_cv_prog_OBJDUMP"; then
3238 ac_ct_OBJDUMP=$OBJDUMP
3239 # Extract the first word of "objdump", so it can be a program name with args.
3240 set dummy objdump; ac_word=$2
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3242 $as_echo_n "checking for $ac_word... " >&6; }
3243 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
3244 $as_echo_n "(cached) " >&6
3246 if test -n "$ac_ct_OBJDUMP"; then
3247 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
3249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3253 test -z "$as_dir" && as_dir=.
3254 for ac_exec_ext in '' $ac_executable_extensions; do
3255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3256 ac_cv_prog_ac_ct_OBJDUMP="objdump"
3257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3266 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
3267 if test -n "$ac_ct_OBJDUMP"; then
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
3269 $as_echo "$ac_ct_OBJDUMP" >&6; }
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3272 $as_echo "no" >&6; }
3275 if test "x$ac_ct_OBJDUMP" = x; then
3278 case $cross_compiling:$ac_tool_warned in
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3281 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3282 ac_tool_warned=yes ;;
3284 OBJDUMP=$ac_ct_OBJDUMP
3287 OBJDUMP="$ac_cv_prog_OBJDUMP"
3293 test -z "$AS" && AS=as
3299 test -z "$DLLTOOL" && DLLTOOL=dlltool
3305 test -z "$OBJDUMP" && OBJDUMP=objdump
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3316 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3321 macro_version='2.4.2'
3322 macro_revision='1.3337'
3336 ltmain="$ac_aux_dir/ltmain.sh"
3338 # Backslashify metacharacters that are still active within
3339 # double-quoted strings.
3340 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3342 # Same as above, but do not quote variable references.
3343 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3345 # Sed substitution to delay expansion of an escaped shell variable in a
3346 # double_quote_subst'ed string.
3347 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3349 # Sed substitution to delay expansion of an escaped single quote.
3350 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3352 # Sed substitution to avoid accidental globbing in evaled expressions
3353 no_glob_subst='s/\*/\\\*/g'
3355 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3356 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3357 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3360 $as_echo_n "checking how to print strings... " >&6; }
3361 # Test print first, because it will be a builtin if present.
3362 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3363 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3365 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3368 # Use this function as a fallback that always works.
3369 func_fallback_echo ()
3371 eval 'cat <<_LTECHO_EOF
3375 ECHO='func_fallback_echo'
3378 # func_echo_all arg...
3379 # Invoke $ECHO with all args, space-separated.
3386 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3387 $as_echo "printf" >&6; } ;;
3388 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3389 $as_echo "print -r" >&6; } ;;
3390 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3391 $as_echo "cat" >&6; } ;;
3407 DEPDIR="${am__leading_dot}deps"
3409 ac_config_commands="$ac_config_commands depfiles"
3412 am_make=${MAKE-make}
3413 cat > confinc << 'END'
3415 @echo this is the am__doit target
3418 # If we don't find an include directive, just comment out the code.
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3420 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3424 # First try GNU make style include.
3425 echo "include confinc" > confmf
3426 # Ignore all kinds of additional output from `make'.
3427 case `$am_make -s -f confmf 2> /dev/null` in #(
3428 *the\ am__doit\ target*)
3434 # Now try BSD make style include.
3435 if test "$am__include" = "#"; then
3436 echo '.include "confinc"' > confmf
3437 case `$am_make -s -f confmf 2> /dev/null` in #(
3438 *the\ am__doit\ target*)
3439 am__include=.include
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3448 $as_echo "$_am_result" >&6; }
3449 rm -f confinc confmf
3451 # Check whether --enable-dependency-tracking was given.
3452 if test "${enable_dependency_tracking+set}" = set; then :
3453 enableval=$enable_dependency_tracking;
3456 if test "x$enable_dependency_tracking" != xno; then
3457 am_depcomp="$ac_aux_dir/depcomp"
3461 if test "x$enable_dependency_tracking" != xno; then
3471 ac_cpp='$CPP $CPPFLAGS'
3472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3475 if test -n "$ac_tool_prefix"; then
3476 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3477 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3479 $as_echo_n "checking for $ac_word... " >&6; }
3480 if ${ac_cv_prog_CC+:} false; then :
3481 $as_echo_n "(cached) " >&6
3483 if test -n "$CC"; then
3484 ac_cv_prog_CC="$CC" # Let the user override the test.
3486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3490 test -z "$as_dir" && as_dir=.
3491 for ac_exec_ext in '' $ac_executable_extensions; do
3492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3493 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3504 if test -n "$CC"; then
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3506 $as_echo "$CC" >&6; }
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3509 $as_echo "no" >&6; }
3514 if test -z "$ac_cv_prog_CC"; then
3516 # Extract the first word of "gcc", so it can be a program name with args.
3517 set dummy gcc; ac_word=$2
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3519 $as_echo_n "checking for $ac_word... " >&6; }
3520 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3521 $as_echo_n "(cached) " >&6
3523 if test -n "$ac_ct_CC"; then
3524 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3530 test -z "$as_dir" && as_dir=.
3531 for ac_exec_ext in '' $ac_executable_extensions; do
3532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3533 ac_cv_prog_ac_ct_CC="gcc"
3534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3543 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3544 if test -n "$ac_ct_CC"; then
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3546 $as_echo "$ac_ct_CC" >&6; }
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3549 $as_echo "no" >&6; }
3552 if test "x$ac_ct_CC" = x; then
3555 case $cross_compiling:$ac_tool_warned in
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3558 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3559 ac_tool_warned=yes ;;
3567 if test -z "$CC"; then
3568 if test -n "$ac_tool_prefix"; then
3569 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3570 set dummy ${ac_tool_prefix}cc; ac_word=$2
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3572 $as_echo_n "checking for $ac_word... " >&6; }
3573 if ${ac_cv_prog_CC+:} false; then :
3574 $as_echo_n "(cached) " >&6
3576 if test -n "$CC"; then
3577 ac_cv_prog_CC="$CC" # Let the user override the test.
3579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3583 test -z "$as_dir" && as_dir=.
3584 for ac_exec_ext in '' $ac_executable_extensions; do
3585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3586 ac_cv_prog_CC="${ac_tool_prefix}cc"
3587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3597 if test -n "$CC"; then
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3599 $as_echo "$CC" >&6; }
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3602 $as_echo "no" >&6; }
3608 if test -z "$CC"; then
3609 # Extract the first word of "cc", so it can be a program name with args.
3610 set dummy cc; ac_word=$2
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3612 $as_echo_n "checking for $ac_word... " >&6; }
3613 if ${ac_cv_prog_CC+:} false; then :
3614 $as_echo_n "(cached) " >&6
3616 if test -n "$CC"; then
3617 ac_cv_prog_CC="$CC" # Let the user override the test.
3620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3624 test -z "$as_dir" && as_dir=.
3625 for ac_exec_ext in '' $ac_executable_extensions; do
3626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3627 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3628 ac_prog_rejected=yes
3632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3639 if test $ac_prog_rejected = yes; then
3640 # We found a bogon in the path, so make sure we never use it.
3641 set dummy $ac_cv_prog_CC
3643 if test $# != 0; then
3644 # We chose a different compiler from the bogus one.
3645 # However, it has the same basename, so the bogon will be chosen
3646 # first if we set CC to just the basename; use the full file name.
3648 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3654 if test -n "$CC"; then
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3656 $as_echo "$CC" >&6; }
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3659 $as_echo "no" >&6; }
3664 if test -z "$CC"; then
3665 if test -n "$ac_tool_prefix"; then
3666 for ac_prog in cl.exe
3668 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3669 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3671 $as_echo_n "checking for $ac_word... " >&6; }
3672 if ${ac_cv_prog_CC+:} false; then :
3673 $as_echo_n "(cached) " >&6
3675 if test -n "$CC"; then
3676 ac_cv_prog_CC="$CC" # Let the user override the test.
3678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3682 test -z "$as_dir" && as_dir=.
3683 for ac_exec_ext in '' $ac_executable_extensions; do
3684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3685 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3696 if test -n "$CC"; then
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3698 $as_echo "$CC" >&6; }
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3701 $as_echo "no" >&6; }
3705 test -n "$CC" && break
3708 if test -z "$CC"; then
3710 for ac_prog in cl.exe
3712 # Extract the first word of "$ac_prog", so it can be a program name with args.
3713 set dummy $ac_prog; ac_word=$2
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3715 $as_echo_n "checking for $ac_word... " >&6; }
3716 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3717 $as_echo_n "(cached) " >&6
3719 if test -n "$ac_ct_CC"; then
3720 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3726 test -z "$as_dir" && as_dir=.
3727 for ac_exec_ext in '' $ac_executable_extensions; do
3728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3729 ac_cv_prog_ac_ct_CC="$ac_prog"
3730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3739 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3740 if test -n "$ac_ct_CC"; then
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3742 $as_echo "$ac_ct_CC" >&6; }
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3745 $as_echo "no" >&6; }
3749 test -n "$ac_ct_CC" && break
3752 if test "x$ac_ct_CC" = x; then
3755 case $cross_compiling:$ac_tool_warned in
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3758 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3759 ac_tool_warned=yes ;;
3768 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3769 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3770 as_fn_error $? "no acceptable C compiler found in \$PATH
3771 See \`config.log' for more details" "$LINENO" 5; }
3773 # Provide some information about the compiler.
3774 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3777 for ac_option in --version -v -V -qversion; do
3778 { { ac_try="$ac_compiler $ac_option >&5"
3780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3781 *) ac_try_echo=$ac_try;;
3783 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3784 $as_echo "$ac_try_echo"; } >&5
3785 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3787 if test -s conftest.err; then
3789 ... rest of stderr output deleted ...
3790 10q' conftest.err >conftest.er1
3791 cat conftest.er1 >&5
3793 rm -f conftest.er1 conftest.err
3794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3795 test $ac_status = 0; }
3798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3799 /* end confdefs.h. */
3809 ac_clean_files_save=$ac_clean_files
3810 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3811 # Try to create an executable without -o first, disregard a.out.
3812 # It will help us diagnose broken compilers, and finding out an intuition
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3815 $as_echo_n "checking whether the C compiler works... " >&6; }
3816 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3818 # The possible output files:
3819 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3822 for ac_file in $ac_files
3825 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3826 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3831 if { { ac_try="$ac_link_default"
3833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3834 *) ac_try_echo=$ac_try;;
3836 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3837 $as_echo "$ac_try_echo"; } >&5
3838 (eval "$ac_link_default") 2>&5
3840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3841 test $ac_status = 0; }; then :
3842 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3843 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3844 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3845 # so that the user can short-circuit this test for compilers unknown to
3847 for ac_file in $ac_files ''
3849 test -f "$ac_file" || continue
3851 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3854 # We found the default executable, but exeext='' is most
3858 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3860 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3862 # We set ac_cv_exeext here because the later test for it is not
3863 # safe: cross compilers may not add the suffix if given an `-o'
3864 # argument, so we may need to know it at that point already.
3865 # Even if this section looks crufty: it has the advantage of
3872 test "$ac_cv_exeext" = no && ac_cv_exeext=
3877 if test -z "$ac_file"; then :
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3879 $as_echo "no" >&6; }
3880 $as_echo "$as_me: failed program was:" >&5
3881 sed 's/^/| /' conftest.$ac_ext >&5
3883 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3884 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3885 as_fn_error 77 "C compiler cannot create executables
3886 See \`config.log' for more details" "$LINENO" 5; }
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3889 $as_echo "yes" >&6; }
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3892 $as_echo_n "checking for C compiler default output file name... " >&6; }
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3894 $as_echo "$ac_file" >&6; }
3895 ac_exeext=$ac_cv_exeext
3897 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3898 ac_clean_files=$ac_clean_files_save
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3900 $as_echo_n "checking for suffix of executables... " >&6; }
3901 if { { ac_try="$ac_link"
3903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3904 *) ac_try_echo=$ac_try;;
3906 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3907 $as_echo "$ac_try_echo"; } >&5
3908 (eval "$ac_link") 2>&5
3910 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3911 test $ac_status = 0; }; then :
3912 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3913 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3914 # work properly (i.e., refer to `conftest.exe'), while it won't with
3916 for ac_file in conftest.exe conftest conftest.*; do
3917 test -f "$ac_file" || continue
3919 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3920 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3926 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3927 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3928 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3929 See \`config.log' for more details" "$LINENO" 5; }
3931 rm -f conftest conftest$ac_cv_exeext
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3933 $as_echo "$ac_cv_exeext" >&6; }
3935 rm -f conftest.$ac_ext
3936 EXEEXT=$ac_cv_exeext
3938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3939 /* end confdefs.h. */
3944 FILE *f = fopen ("conftest.out", "w");
3945 return ferror (f) || fclose (f) != 0;
3951 ac_clean_files="$ac_clean_files conftest.out"
3952 # Check that the compiler produces executables we can run. If not, either
3953 # the compiler is broken, or we cross compile.
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3955 $as_echo_n "checking whether we are cross compiling... " >&6; }
3956 if test "$cross_compiling" != yes; then
3957 { { ac_try="$ac_link"
3959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3960 *) ac_try_echo=$ac_try;;
3962 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3963 $as_echo "$ac_try_echo"; } >&5
3964 (eval "$ac_link") 2>&5
3966 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3967 test $ac_status = 0; }
3968 if { ac_try='./conftest$ac_cv_exeext'
3969 { { case "(($ac_try" in
3970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3971 *) ac_try_echo=$ac_try;;
3973 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3974 $as_echo "$ac_try_echo"; } >&5
3975 (eval "$ac_try") 2>&5
3977 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3978 test $ac_status = 0; }; }; then
3981 if test "$cross_compiling" = maybe; then
3984 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3985 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3986 as_fn_error $? "cannot run C compiled programs.
3987 If you meant to cross compile, use \`--host'.
3988 See \`config.log' for more details" "$LINENO" 5; }
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3993 $as_echo "$cross_compiling" >&6; }
3995 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3996 ac_clean_files=$ac_clean_files_save
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3998 $as_echo_n "checking for suffix of object files... " >&6; }
3999 if ${ac_cv_objext+:} false; then :
4000 $as_echo_n "(cached) " >&6
4002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4003 /* end confdefs.h. */
4013 rm -f conftest.o conftest.obj
4014 if { { ac_try="$ac_compile"
4016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4017 *) ac_try_echo=$ac_try;;
4019 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4020 $as_echo "$ac_try_echo"; } >&5
4021 (eval "$ac_compile") 2>&5
4023 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4024 test $ac_status = 0; }; then :
4025 for ac_file in conftest.o conftest.obj conftest.*; do
4026 test -f "$ac_file" || continue;
4028 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4029 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4034 $as_echo "$as_me: failed program was:" >&5
4035 sed 's/^/| /' conftest.$ac_ext >&5
4037 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4038 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4039 as_fn_error $? "cannot compute suffix of object files: cannot compile
4040 See \`config.log' for more details" "$LINENO" 5; }
4042 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4045 $as_echo "$ac_cv_objext" >&6; }
4046 OBJEXT=$ac_cv_objext
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4049 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4050 if ${ac_cv_c_compiler_gnu+:} false; then :
4051 $as_echo_n "(cached) " >&6
4053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4054 /* end confdefs.h. */
4067 if ac_fn_c_try_compile "$LINENO"; then :
4072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4073 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4077 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4078 if test $ac_compiler_gnu = yes; then
4083 ac_test_CFLAGS=${CFLAGS+set}
4084 ac_save_CFLAGS=$CFLAGS
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4086 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4087 if ${ac_cv_prog_cc_g+:} false; then :
4088 $as_echo_n "(cached) " >&6
4090 ac_save_c_werror_flag=$ac_c_werror_flag
4091 ac_c_werror_flag=yes
4094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4095 /* end confdefs.h. */
4105 if ac_fn_c_try_compile "$LINENO"; then :
4109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4110 /* end confdefs.h. */
4120 if ac_fn_c_try_compile "$LINENO"; then :
4123 ac_c_werror_flag=$ac_save_c_werror_flag
4125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4126 /* end confdefs.h. */
4136 if ac_fn_c_try_compile "$LINENO"; then :
4139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4144 ac_c_werror_flag=$ac_save_c_werror_flag
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4147 $as_echo "$ac_cv_prog_cc_g" >&6; }
4148 if test "$ac_test_CFLAGS" = set; then
4149 CFLAGS=$ac_save_CFLAGS
4150 elif test $ac_cv_prog_cc_g = yes; then
4151 if test "$GCC" = yes; then
4157 if test "$GCC" = yes; then
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4164 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4165 if ${ac_cv_prog_cc_c89+:} false; then :
4166 $as_echo_n "(cached) " >&6
4168 ac_cv_prog_cc_c89=no
4170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4171 /* end confdefs.h. */
4174 #include <sys/types.h>
4175 #include <sys/stat.h>
4176 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4177 struct buf { int x; };
4178 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4179 static char *e (p, i)
4185 static char *f (char * (*g) (char **, int), char **p, ...)
4190 s = g (p, va_arg (v,int));
4195 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4196 function prototypes and stuff, but not '\xHH' hex character constants.
4197 These don't provoke an error unfortunately, instead are silently treated
4198 as 'x'. The following induces an error, until -std is added to get
4199 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4200 array size at least. It's necessary to write '\x00'==0 to get something
4201 that's true only with -std. */
4202 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4204 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4205 inside strings and character constants. */
4207 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4209 int test (int i, double x);
4210 struct s1 {int (*f) (int a);};
4211 struct s2 {int (*f) (double a);};
4212 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4218 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4223 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4224 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4226 CC="$ac_save_CC $ac_arg"
4227 if ac_fn_c_try_compile "$LINENO"; then :
4228 ac_cv_prog_cc_c89=$ac_arg
4230 rm -f core conftest.err conftest.$ac_objext
4231 test "x$ac_cv_prog_cc_c89" != "xno" && break
4233 rm -f conftest.$ac_ext
4238 case "x$ac_cv_prog_cc_c89" in
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4241 $as_echo "none needed" >&6; } ;;
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4244 $as_echo "unsupported" >&6; } ;;
4246 CC="$CC $ac_cv_prog_cc_c89"
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4248 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4250 if test "x$ac_cv_prog_cc_c89" != xno; then :
4255 ac_cpp='$CPP $CPPFLAGS'
4256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4260 depcc="$CC" am_compiler_list=
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4263 $as_echo_n "checking dependency style of $depcc... " >&6; }
4264 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4265 $as_echo_n "(cached) " >&6
4267 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4268 # We make a subdir and do the tests there. Otherwise we can end up
4269 # making bogus files that we don't know about and never remove. For
4270 # instance it was reported that on HP-UX the gcc test will end up
4271 # making a dummy file named `D' -- because `-MD' means `put the output
4275 # Copy depcomp to subdir because otherwise we won't find it if we're
4276 # using a relative directory.
4277 cp "$am_depcomp" conftest.dir
4279 # We will build objects and dependencies in a subdirectory because
4280 # it helps to detect inapplicable dependency modes. For instance
4281 # both Tru64's cc and ICC support -MD to output dependencies as a
4282 # side effect of compilation, but ICC will put the dependencies in
4283 # the current directory while Tru64 will put them in the object
4287 am_cv_CC_dependencies_compiler_type=none
4288 if test "$am_compiler_list" = ""; then
4289 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4292 case " $depcc " in #(
4293 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4296 for depmode in $am_compiler_list; do
4297 # Setup a source with many dependencies, because some compilers
4298 # like to wrap large dependency lists on column 80 (with \), and
4299 # we should not choose a depcomp mode which is confused by this.
4301 # We need to recreate these files for each test, as the compiler may
4302 # overwrite some of them when testing with obscure command lines.
4303 # This happens at least with the AIX C compiler.
4305 for i in 1 2 3 4 5 6; do
4306 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4307 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4308 # Solaris 8's {/usr,}/bin/sh.
4309 touch sub/conftst$i.h
4311 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4313 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4314 # mode. It turns out that the SunPro C++ compiler does not properly
4315 # handle `-M -o', and we need to detect this. Also, some Intel
4316 # versions had trouble with output in subdirs
4317 am__obj=sub/conftest.${OBJEXT-o}
4318 am__minus_obj="-o $am__obj"
4321 # This depmode causes a compiler race in universal mode.
4322 test "$am__universal" = false || continue
4325 # after this tag, mechanisms are not by side-effect, so they'll
4326 # only be used when explicitly requested
4327 if test "x$enable_dependency_tracking" = xyes; then
4333 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4334 # This compiler won't grok `-c -o', but also, the minuso test has
4335 # not run yet. These depmodes are late enough in the game, and
4336 # so weak that their functioning should not be impacted.
4337 am__obj=conftest.${OBJEXT-o}
4342 if depmode=$depmode \
4343 source=sub/conftest.c object=$am__obj \
4344 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4345 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4346 >/dev/null 2>conftest.err &&
4347 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4348 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4349 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4350 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4351 # icc doesn't choke on unknown options, it will just issue warnings
4352 # or remarks (even with -Werror). So we grep stderr for any message
4353 # that says an option was ignored or not supported.
4354 # When given -MP, icc 7.0 and 7.1 complain thusly:
4355 # icc: Command line warning: ignoring option '-M'; no argument required
4356 # The diagnosis changed in icc 8.0:
4357 # icc: Command line remark: option '-MP' not supported
4358 if (grep 'ignoring option' conftest.err ||
4359 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4360 am_cv_CC_dependencies_compiler_type=$depmode
4369 am_cv_CC_dependencies_compiler_type=none
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4374 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4375 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4378 test "x$enable_dependency_tracking" != xno \
4379 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4381 am__fastdepCC_FALSE='#'
4383 am__fastdepCC_TRUE='#'
4384 am__fastdepCC_FALSE=
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4389 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4390 if ${ac_cv_path_SED+:} false; then :
4391 $as_echo_n "(cached) " >&6
4393 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4394 for ac_i in 1 2 3 4 5 6 7; do
4395 ac_script="$ac_script$as_nl$ac_script"
4397 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4398 { ac_script=; unset ac_script;}
4399 if test -z "$SED"; then
4400 ac_path_SED_found=false
4401 # Loop through the user's path and test for each of PROGNAME-LIST
4402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4406 test -z "$as_dir" && as_dir=.
4407 for ac_prog in sed gsed; do
4408 for ac_exec_ext in '' $ac_executable_extensions; do
4409 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4410 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4411 # Check for GNU ac_path_SED and select it if it is found.
4412 # Check for GNU $ac_path_SED
4413 case `"$ac_path_SED" --version 2>&1` in
4415 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4418 $as_echo_n 0123456789 >"conftest.in"
4421 cat "conftest.in" "conftest.in" >"conftest.tmp"
4422 mv "conftest.tmp" "conftest.in"
4423 cp "conftest.in" "conftest.nl"
4424 $as_echo '' >> "conftest.nl"
4425 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4426 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4427 as_fn_arith $ac_count + 1 && ac_count=$as_val
4428 if test $ac_count -gt ${ac_path_SED_max-0}; then
4429 # Best one so far, save it but keep looking for a better one
4430 ac_cv_path_SED="$ac_path_SED"
4431 ac_path_SED_max=$ac_count
4433 # 10*(2^10) chars as input seems more than enough
4434 test $ac_count -gt 10 && break
4436 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4439 $ac_path_SED_found && break 3
4444 if test -z "$ac_cv_path_SED"; then
4445 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4453 $as_echo "$ac_cv_path_SED" >&6; }
4454 SED="$ac_cv_path_SED"
4457 test -z "$SED" && SED=sed
4458 Xsed="$SED -e 1s/^X//"
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4471 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4472 if ${ac_cv_path_GREP+:} false; then :
4473 $as_echo_n "(cached) " >&6
4475 if test -z "$GREP"; then
4476 ac_path_GREP_found=false
4477 # Loop through the user's path and test for each of PROGNAME-LIST
4478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4479 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4482 test -z "$as_dir" && as_dir=.
4483 for ac_prog in grep ggrep; do
4484 for ac_exec_ext in '' $ac_executable_extensions; do
4485 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4486 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4487 # Check for GNU ac_path_GREP and select it if it is found.
4488 # Check for GNU $ac_path_GREP
4489 case `"$ac_path_GREP" --version 2>&1` in
4491 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4494 $as_echo_n 0123456789 >"conftest.in"
4497 cat "conftest.in" "conftest.in" >"conftest.tmp"
4498 mv "conftest.tmp" "conftest.in"
4499 cp "conftest.in" "conftest.nl"
4500 $as_echo 'GREP' >> "conftest.nl"
4501 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4502 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4503 as_fn_arith $ac_count + 1 && ac_count=$as_val
4504 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4505 # Best one so far, save it but keep looking for a better one
4506 ac_cv_path_GREP="$ac_path_GREP"
4507 ac_path_GREP_max=$ac_count
4509 # 10*(2^10) chars as input seems more than enough
4510 test $ac_count -gt 10 && break
4512 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4515 $ac_path_GREP_found && break 3
4520 if test -z "$ac_cv_path_GREP"; then
4521 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4524 ac_cv_path_GREP=$GREP
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4529 $as_echo "$ac_cv_path_GREP" >&6; }
4530 GREP="$ac_cv_path_GREP"
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4534 $as_echo_n "checking for egrep... " >&6; }
4535 if ${ac_cv_path_EGREP+:} false; then :
4536 $as_echo_n "(cached) " >&6
4538 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4539 then ac_cv_path_EGREP="$GREP -E"
4541 if test -z "$EGREP"; then
4542 ac_path_EGREP_found=false
4543 # Loop through the user's path and test for each of PROGNAME-LIST
4544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4545 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4548 test -z "$as_dir" && as_dir=.
4549 for ac_prog in egrep; do
4550 for ac_exec_ext in '' $ac_executable_extensions; do
4551 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4552 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4553 # Check for GNU ac_path_EGREP and select it if it is found.
4554 # Check for GNU $ac_path_EGREP
4555 case `"$ac_path_EGREP" --version 2>&1` in
4557 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4560 $as_echo_n 0123456789 >"conftest.in"
4563 cat "conftest.in" "conftest.in" >"conftest.tmp"
4564 mv "conftest.tmp" "conftest.in"
4565 cp "conftest.in" "conftest.nl"
4566 $as_echo 'EGREP' >> "conftest.nl"
4567 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4568 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4569 as_fn_arith $ac_count + 1 && ac_count=$as_val
4570 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4571 # Best one so far, save it but keep looking for a better one
4572 ac_cv_path_EGREP="$ac_path_EGREP"
4573 ac_path_EGREP_max=$ac_count
4575 # 10*(2^10) chars as input seems more than enough
4576 test $ac_count -gt 10 && break
4578 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4581 $ac_path_EGREP_found && break 3
4586 if test -z "$ac_cv_path_EGREP"; then
4587 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4590 ac_cv_path_EGREP=$EGREP
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4596 $as_echo "$ac_cv_path_EGREP" >&6; }
4597 EGREP="$ac_cv_path_EGREP"
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4601 $as_echo_n "checking for fgrep... " >&6; }
4602 if ${ac_cv_path_FGREP+:} false; then :
4603 $as_echo_n "(cached) " >&6
4605 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4606 then ac_cv_path_FGREP="$GREP -F"
4608 if test -z "$FGREP"; then
4609 ac_path_FGREP_found=false
4610 # Loop through the user's path and test for each of PROGNAME-LIST
4611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4612 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4615 test -z "$as_dir" && as_dir=.
4616 for ac_prog in fgrep; do
4617 for ac_exec_ext in '' $ac_executable_extensions; do
4618 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4619 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4620 # Check for GNU ac_path_FGREP and select it if it is found.
4621 # Check for GNU $ac_path_FGREP
4622 case `"$ac_path_FGREP" --version 2>&1` in
4624 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4627 $as_echo_n 0123456789 >"conftest.in"
4630 cat "conftest.in" "conftest.in" >"conftest.tmp"
4631 mv "conftest.tmp" "conftest.in"
4632 cp "conftest.in" "conftest.nl"
4633 $as_echo 'FGREP' >> "conftest.nl"
4634 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4635 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4636 as_fn_arith $ac_count + 1 && ac_count=$as_val
4637 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4638 # Best one so far, save it but keep looking for a better one
4639 ac_cv_path_FGREP="$ac_path_FGREP"
4640 ac_path_FGREP_max=$ac_count
4642 # 10*(2^10) chars as input seems more than enough
4643 test $ac_count -gt 10 && break
4645 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4648 $ac_path_FGREP_found && break 3
4653 if test -z "$ac_cv_path_FGREP"; then
4654 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4657 ac_cv_path_FGREP=$FGREP
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4663 $as_echo "$ac_cv_path_FGREP" >&6; }
4664 FGREP="$ac_cv_path_FGREP"
4667 test -z "$GREP" && GREP=grep
4687 # Check whether --with-gnu-ld was given.
4688 if test "${with_gnu_ld+set}" = set; then :
4689 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4695 if test "$GCC" = yes; then
4696 # Check if gcc -print-prog-name=ld gives a path.
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4698 $as_echo_n "checking for ld used by $CC... " >&6; }
4701 # gcc leaves a trailing carriage return which upsets mingw
4702 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4704 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4707 # Accept absolute paths.
4709 re_direlt='/[^/][^/]*/\.\./'
4710 # Canonicalize the pathname of ld
4711 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4712 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4713 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4715 test -z "$LD" && LD="$ac_prog"
4718 # If it fails, then pretend we aren't using GCC.
4722 # If it is relative, then search for the first ld in PATH.
4726 elif test "$with_gnu_ld" = yes; then
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4728 $as_echo_n "checking for GNU ld... " >&6; }
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4731 $as_echo_n "checking for non-GNU ld... " >&6; }
4733 if ${lt_cv_path_LD+:} false; then :
4734 $as_echo_n "(cached) " >&6
4736 if test -z "$LD"; then
4737 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4738 for ac_dir in $PATH; do
4740 test -z "$ac_dir" && ac_dir=.
4741 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4742 lt_cv_path_LD="$ac_dir/$ac_prog"
4743 # Check to see if the program is GNU ld. I'd rather use --version,
4744 # but apparently some variants of GNU ld only accept -v.
4745 # Break only if it was the GNU/non-GNU ld that we prefer.
4746 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4747 *GNU* | *'with BFD'*)
4748 test "$with_gnu_ld" != no && break
4751 test "$with_gnu_ld" != yes && break
4758 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4763 if test -n "$LD"; then
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4765 $as_echo "$LD" >&6; }
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4768 $as_echo "no" >&6; }
4770 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4772 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4773 if ${lt_cv_prog_gnu_ld+:} false; then :
4774 $as_echo_n "(cached) " >&6
4776 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4777 case `$LD -v 2>&1 </dev/null` in
4778 *GNU* | *'with BFD'*)
4779 lt_cv_prog_gnu_ld=yes
4782 lt_cv_prog_gnu_ld=no
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4787 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4788 with_gnu_ld=$lt_cv_prog_gnu_ld
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4799 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4800 if ${lt_cv_path_NM+:} false; then :
4801 $as_echo_n "(cached) " >&6
4803 if test -n "$NM"; then
4804 # Let the user override the test.
4807 lt_nm_to_check="${ac_tool_prefix}nm"
4808 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4809 lt_nm_to_check="$lt_nm_to_check nm"
4811 for lt_tmp_nm in $lt_nm_to_check; do
4812 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4813 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4815 test -z "$ac_dir" && ac_dir=.
4816 tmp_nm="$ac_dir/$lt_tmp_nm"
4817 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4818 # Check to see if the nm accepts a BSD-compat flag.
4819 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4820 # nm: unknown option "B" ignored
4821 # Tru64's nm complains that /dev/null is an invalid object file
4822 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4823 */dev/null* | *'Invalid file or object type'*)
4824 lt_cv_path_NM="$tmp_nm -B"
4828 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4830 lt_cv_path_NM="$tmp_nm -p"
4834 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4835 continue # so that we can try to find one that supports BSD flags
4844 : ${lt_cv_path_NM=no}
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4848 $as_echo "$lt_cv_path_NM" >&6; }
4849 if test "$lt_cv_path_NM" != "no"; then
4852 # Didn't find any BSD compatible name lister, look for dumpbin.
4853 if test -n "$DUMPBIN"; then :
4854 # Let the user override the test.
4856 if test -n "$ac_tool_prefix"; then
4857 for ac_prog in dumpbin "link -dump"
4859 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4860 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4862 $as_echo_n "checking for $ac_word... " >&6; }
4863 if ${ac_cv_prog_DUMPBIN+:} false; then :
4864 $as_echo_n "(cached) " >&6
4866 if test -n "$DUMPBIN"; then
4867 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4873 test -z "$as_dir" && as_dir=.
4874 for ac_exec_ext in '' $ac_executable_extensions; do
4875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4876 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4886 DUMPBIN=$ac_cv_prog_DUMPBIN
4887 if test -n "$DUMPBIN"; then
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4889 $as_echo "$DUMPBIN" >&6; }
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4892 $as_echo "no" >&6; }
4896 test -n "$DUMPBIN" && break
4899 if test -z "$DUMPBIN"; then
4900 ac_ct_DUMPBIN=$DUMPBIN
4901 for ac_prog in dumpbin "link -dump"
4903 # Extract the first word of "$ac_prog", so it can be a program name with args.
4904 set dummy $ac_prog; ac_word=$2
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4906 $as_echo_n "checking for $ac_word... " >&6; }
4907 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4908 $as_echo_n "(cached) " >&6
4910 if test -n "$ac_ct_DUMPBIN"; then
4911 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4917 test -z "$as_dir" && as_dir=.
4918 for ac_exec_ext in '' $ac_executable_extensions; do
4919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4920 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4930 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4931 if test -n "$ac_ct_DUMPBIN"; then
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4933 $as_echo "$ac_ct_DUMPBIN" >&6; }
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4936 $as_echo "no" >&6; }
4940 test -n "$ac_ct_DUMPBIN" && break
4943 if test "x$ac_ct_DUMPBIN" = x; then
4946 case $cross_compiling:$ac_tool_warned in
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4949 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4950 ac_tool_warned=yes ;;
4952 DUMPBIN=$ac_ct_DUMPBIN
4956 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4958 DUMPBIN="$DUMPBIN -symbols"
4966 if test "$DUMPBIN" != ":"; then
4970 test -z "$NM" && NM=nm
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4978 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4979 if ${lt_cv_nm_interface+:} false; then :
4980 $as_echo_n "(cached) " >&6
4982 lt_cv_nm_interface="BSD nm"
4983 echo "int some_variable = 0;" > conftest.$ac_ext
4984 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4985 (eval "$ac_compile" 2>conftest.err)
4986 cat conftest.err >&5
4987 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4988 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4989 cat conftest.err >&5
4990 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4991 cat conftest.out >&5
4992 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4993 lt_cv_nm_interface="MS dumpbin"
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4998 $as_echo "$lt_cv_nm_interface" >&6; }
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5001 $as_echo_n "checking whether ln -s works... " >&6; }
5003 if test "$LN_S" = "ln -s"; then
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5005 $as_echo "yes" >&6; }
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5008 $as_echo "no, using $LN_S" >&6; }
5011 # find the maximum length of command line arguments
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5013 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5014 if ${lt_cv_sys_max_cmd_len+:} false; then :
5015 $as_echo_n "(cached) " >&6
5022 # On DJGPP, this test can blow up pretty badly due to problems in libc
5023 # (any single argument exceeding 2000 bytes causes a buffer overrun
5024 # during glob expansion). Even if it were fixed, the result of this
5025 # check would be larger than it should be.
5026 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5030 # Under GNU Hurd, this test is not required because there is
5031 # no limit to the length of command line arguments.
5032 # Libtool will interpret -1 as no limit whatsoever
5033 lt_cv_sys_max_cmd_len=-1;
5036 cygwin* | mingw* | cegcc*)
5037 # On Win9x/ME, this test blows up -- it succeeds, but takes
5038 # about 5 minutes as the teststring grows exponentially.
5039 # Worse, since 9x/ME are not pre-emptively multitasking,
5040 # you end up with a "frozen" computer, even though with patience
5041 # the test eventually succeeds (with a max line length of 256k).
5042 # Instead, let's just punt: use the minimum linelength reported by
5043 # all of the supported platforms: 8192 (on NT/2K/XP).
5044 lt_cv_sys_max_cmd_len=8192;
5048 # On MiNT this can take a long time and run out of memory.
5049 lt_cv_sys_max_cmd_len=8192;
5053 # On AmigaOS with pdksh, this test takes hours, literally.
5054 # So we just punt and use a minimum line length of 8192.
5055 lt_cv_sys_max_cmd_len=8192;
5058 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5059 # This has been around since 386BSD, at least. Likely further.
5060 if test -x /sbin/sysctl; then
5061 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5062 elif test -x /usr/sbin/sysctl; then
5063 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5065 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5067 # And add a safety zone
5068 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5069 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5073 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5074 lt_cv_sys_max_cmd_len=196608
5078 # The test takes a long time on OS/2.
5079 lt_cv_sys_max_cmd_len=8192
5083 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5084 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5085 # nice to cause kernel panics so lets avoid the loop below.
5086 # First set a reasonable default.
5087 lt_cv_sys_max_cmd_len=16384
5089 if test -x /sbin/sysconfig; then
5090 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5091 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5096 lt_cv_sys_max_cmd_len=102400
5098 sysv5* | sco5v6* | sysv4.2uw2*)
5099 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5100 if test -n "$kargmax"; then
5101 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5103 lt_cv_sys_max_cmd_len=32768
5107 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5108 if test -n "$lt_cv_sys_max_cmd_len"; then
5109 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5110 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5112 # Make teststring a little bigger before we do anything with it.
5113 # a 1K string should be a reasonable start.
5114 for i in 1 2 3 4 5 6 7 8 ; do
5115 teststring=$teststring$teststring
5117 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5118 # If test is not a shell built-in, we'll probably end up computing a
5119 # maximum length that is only half of the actual maximum length, but
5121 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5122 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5123 test $i != 17 # 1/2 MB should be enough
5126 teststring=$teststring$teststring
5128 # Only check the string length outside the loop.
5129 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5131 # Add a significant safety factor because C++ compilers can tack on
5132 # massive amounts of additional arguments before passing them to the
5133 # linker. It appears as though 1/2 is a usable value.
5134 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5141 if test -n $lt_cv_sys_max_cmd_len ; then
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5143 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5146 $as_echo "none" >&6; }
5148 max_cmd_len=$lt_cv_sys_max_cmd_len
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5160 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5161 # Try some XSI features
5164 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5166 && eval 'test $(( 1 + 1 )) -eq 2 \
5167 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5170 $as_echo "$xsi_shell" >&6; }
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5174 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5176 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5178 && lt_shell_append=yes
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5180 $as_echo "$lt_shell_append" >&6; }
5183 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5193 # test EBCDIC or ASCII
5194 case `echo X|tr X '\101'` in
5195 A) # ASCII based system
5196 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5197 lt_SP2NL='tr \040 \012'
5198 lt_NL2SP='tr \015\012 \040\040'
5200 *) # EBCDIC based system
5201 lt_SP2NL='tr \100 \n'
5202 lt_NL2SP='tr \r\n \100\100'
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5215 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5216 if ${lt_cv_to_host_file_cmd+:} false; then :
5217 $as_echo_n "(cached) " >&6
5222 *-*-mingw* ) # actually msys
5223 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5226 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5228 * ) # otherwise, assume *nix
5229 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5235 *-*-mingw* ) # actually msys
5236 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5239 lt_cv_to_host_file_cmd=func_convert_file_noop
5241 * ) # otherwise, assume *nix
5242 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5246 * ) # unhandled hosts (and "normal" native builds)
5247 lt_cv_to_host_file_cmd=func_convert_file_noop
5253 to_host_file_cmd=$lt_cv_to_host_file_cmd
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5255 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5262 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5263 if ${lt_cv_to_tool_file_cmd+:} false; then :
5264 $as_echo_n "(cached) " >&6
5266 #assume ordinary cross tools, or native build.
5267 lt_cv_to_tool_file_cmd=func_convert_file_noop
5271 *-*-mingw* ) # actually msys
5272 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5280 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5282 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5289 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5290 if ${lt_cv_ld_reload_flag+:} false; then :
5291 $as_echo_n "(cached) " >&6
5293 lt_cv_ld_reload_flag='-r'
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5296 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5297 reload_flag=$lt_cv_ld_reload_flag
5298 case $reload_flag in
5300 *) reload_flag=" $reload_flag" ;;
5302 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5304 cygwin* | mingw* | pw32* | cegcc*)
5305 if test "$GCC" != yes; then
5310 if test "$GCC" = yes; then
5311 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5313 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5326 if test -n "$ac_tool_prefix"; then
5327 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5328 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5330 $as_echo_n "checking for $ac_word... " >&6; }
5331 if ${ac_cv_prog_OBJDUMP+:} false; then :
5332 $as_echo_n "(cached) " >&6
5334 if test -n "$OBJDUMP"; then
5335 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5341 test -z "$as_dir" && as_dir=.
5342 for ac_exec_ext in '' $ac_executable_extensions; do
5343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5344 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5354 OBJDUMP=$ac_cv_prog_OBJDUMP
5355 if test -n "$OBJDUMP"; then
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5357 $as_echo "$OBJDUMP" >&6; }
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5360 $as_echo "no" >&6; }
5365 if test -z "$ac_cv_prog_OBJDUMP"; then
5366 ac_ct_OBJDUMP=$OBJDUMP
5367 # Extract the first word of "objdump", so it can be a program name with args.
5368 set dummy objdump; ac_word=$2
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5370 $as_echo_n "checking for $ac_word... " >&6; }
5371 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5372 $as_echo_n "(cached) " >&6
5374 if test -n "$ac_ct_OBJDUMP"; then
5375 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5381 test -z "$as_dir" && as_dir=.
5382 for ac_exec_ext in '' $ac_executable_extensions; do
5383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5384 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5394 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5395 if test -n "$ac_ct_OBJDUMP"; then
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5397 $as_echo "$ac_ct_OBJDUMP" >&6; }
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5400 $as_echo "no" >&6; }
5403 if test "x$ac_ct_OBJDUMP" = x; then
5406 case $cross_compiling:$ac_tool_warned in
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5409 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5410 ac_tool_warned=yes ;;
5412 OBJDUMP=$ac_ct_OBJDUMP
5415 OBJDUMP="$ac_cv_prog_OBJDUMP"
5418 test -z "$OBJDUMP" && OBJDUMP=objdump
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5426 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5427 if ${lt_cv_deplibs_check_method+:} false; then :
5428 $as_echo_n "(cached) " >&6
5430 lt_cv_file_magic_cmd='$MAGIC_CMD'
5431 lt_cv_file_magic_test_file=
5432 lt_cv_deplibs_check_method='unknown'
5433 # Need to set the preceding variable on all platforms that support
5434 # interlibrary dependencies.
5435 # 'none' -- dependencies not supported.
5436 # `unknown' -- same as none, but documents that we really don't know.
5437 # 'pass_all' -- all dependencies passed with no checks.
5438 # 'test_compile' -- check by making test program.
5439 # 'file_magic [[regex]]' -- check by looking for files in library path
5440 # which responds to the $file_magic_cmd with a given extended regex.
5441 # If you have `file' or equivalent on your system and you're not sure
5442 # whether `pass_all' will *always* work, you probably want this one.
5446 lt_cv_deplibs_check_method=pass_all
5450 lt_cv_deplibs_check_method=pass_all
5454 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5455 lt_cv_file_magic_cmd='/usr/bin/file -L'
5456 lt_cv_file_magic_test_file=/shlib/libc.so
5460 # func_win32_libid is a shell function defined in ltmain.sh
5461 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5462 lt_cv_file_magic_cmd='func_win32_libid'
5466 # Base MSYS/MinGW do not provide the 'file' command needed by
5467 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5468 # unless we find 'file', for example because we are cross-compiling.
5469 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5470 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5471 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5472 lt_cv_file_magic_cmd='func_win32_libid'
5474 # Keep this pattern in sync with the one in func_win32_libid.
5475 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5476 lt_cv_file_magic_cmd='$OBJDUMP -f'
5481 # use the weaker test based on 'objdump'. See mingw*.
5482 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5483 lt_cv_file_magic_cmd='$OBJDUMP -f'
5486 darwin* | rhapsody*)
5487 lt_cv_deplibs_check_method=pass_all
5490 freebsd* | dragonfly*)
5491 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5494 # Not sure whether the presence of OpenBSD here was a mistake.
5495 # Let's accept both of them until this is cleared up.
5496 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5497 lt_cv_file_magic_cmd=/usr/bin/file
5498 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5502 lt_cv_deplibs_check_method=pass_all
5507 lt_cv_deplibs_check_method=pass_all
5511 lt_cv_deplibs_check_method=pass_all
5514 hpux10.20* | hpux11*)
5515 lt_cv_file_magic_cmd=/usr/bin/file
5518 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5519 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5522 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5523 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5526 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5527 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5533 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5534 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5537 irix5* | irix6* | nonstopux*)
5539 *-32|*"-32 ") libmagic=32-bit;;
5540 *-n32|*"-n32 ") libmagic=N32;;
5541 *-64|*"-64 ") libmagic=64-bit;;
5542 *) libmagic=never-match;;
5544 lt_cv_deplibs_check_method=pass_all
5547 # This must be glibc/ELF.
5548 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5549 lt_cv_deplibs_check_method=pass_all
5552 netbsd* | netbsdelf*-gnu)
5553 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5554 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5556 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5561 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5562 lt_cv_file_magic_cmd=/usr/bin/file
5563 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5567 lt_cv_deplibs_check_method=pass_all
5571 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5572 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5574 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5578 osf3* | osf4* | osf5*)
5579 lt_cv_deplibs_check_method=pass_all
5583 lt_cv_deplibs_check_method=pass_all
5587 lt_cv_deplibs_check_method=pass_all
5590 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5591 lt_cv_deplibs_check_method=pass_all
5595 case $host_vendor in
5597 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
5598 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5601 lt_cv_deplibs_check_method=pass_all
5604 lt_cv_file_magic_cmd='/bin/file'
5605 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5608 lt_cv_file_magic_cmd='/bin/file'
5609 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5610 lt_cv_file_magic_test_file=/lib/libc.so
5613 lt_cv_deplibs_check_method=pass_all
5616 lt_cv_deplibs_check_method=pass_all
5622 lt_cv_deplibs_check_method=pass_all
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5628 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5632 if test "$build" = "$host"; then
5635 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5638 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5644 file_magic_cmd=$lt_cv_file_magic_cmd
5645 deplibs_check_method=$lt_cv_deplibs_check_method
5646 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5669 if test -n "$ac_tool_prefix"; then
5670 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5671 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5673 $as_echo_n "checking for $ac_word... " >&6; }
5674 if ${ac_cv_prog_DLLTOOL+:} false; then :
5675 $as_echo_n "(cached) " >&6
5677 if test -n "$DLLTOOL"; then
5678 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5684 test -z "$as_dir" && as_dir=.
5685 for ac_exec_ext in '' $ac_executable_extensions; do
5686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5687 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5697 DLLTOOL=$ac_cv_prog_DLLTOOL
5698 if test -n "$DLLTOOL"; then
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5700 $as_echo "$DLLTOOL" >&6; }
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5703 $as_echo "no" >&6; }
5708 if test -z "$ac_cv_prog_DLLTOOL"; then
5709 ac_ct_DLLTOOL=$DLLTOOL
5710 # Extract the first word of "dlltool", so it can be a program name with args.
5711 set dummy dlltool; ac_word=$2
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5713 $as_echo_n "checking for $ac_word... " >&6; }
5714 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5715 $as_echo_n "(cached) " >&6
5717 if test -n "$ac_ct_DLLTOOL"; then
5718 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5724 test -z "$as_dir" && as_dir=.
5725 for ac_exec_ext in '' $ac_executable_extensions; do
5726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5727 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5737 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5738 if test -n "$ac_ct_DLLTOOL"; then
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5740 $as_echo "$ac_ct_DLLTOOL" >&6; }
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5743 $as_echo "no" >&6; }
5746 if test "x$ac_ct_DLLTOOL" = x; then
5749 case $cross_compiling:$ac_tool_warned in
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5752 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5753 ac_tool_warned=yes ;;
5755 DLLTOOL=$ac_ct_DLLTOOL
5758 DLLTOOL="$ac_cv_prog_DLLTOOL"
5761 test -z "$DLLTOOL" && DLLTOOL=dlltool
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5770 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5771 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5772 $as_echo_n "(cached) " >&6
5774 lt_cv_sharedlib_from_linklib_cmd='unknown'
5777 cygwin* | mingw* | pw32* | cegcc*)
5778 # two different shell functions defined in ltmain.sh
5779 # decide which to use based on capabilities of $DLLTOOL
5780 case `$DLLTOOL --help 2>&1` in
5781 *--identify-strict*)
5782 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5785 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5790 # fallback: assume linklib IS sharedlib
5791 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5797 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5798 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5799 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5808 if test -n "$ac_tool_prefix"; then
5811 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5812 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5814 $as_echo_n "checking for $ac_word... " >&6; }
5815 if ${ac_cv_prog_AR+:} false; then :
5816 $as_echo_n "(cached) " >&6
5818 if test -n "$AR"; then
5819 ac_cv_prog_AR="$AR" # Let the user override the test.
5821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5825 test -z "$as_dir" && as_dir=.
5826 for ac_exec_ext in '' $ac_executable_extensions; do
5827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5828 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5839 if test -n "$AR"; then
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5841 $as_echo "$AR" >&6; }
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5844 $as_echo "no" >&6; }
5848 test -n "$AR" && break
5851 if test -z "$AR"; then
5855 # Extract the first word of "$ac_prog", so it can be a program name with args.
5856 set dummy $ac_prog; ac_word=$2
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5858 $as_echo_n "checking for $ac_word... " >&6; }
5859 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5860 $as_echo_n "(cached) " >&6
5862 if test -n "$ac_ct_AR"; then
5863 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5869 test -z "$as_dir" && as_dir=.
5870 for ac_exec_ext in '' $ac_executable_extensions; do
5871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5872 ac_cv_prog_ac_ct_AR="$ac_prog"
5873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5882 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5883 if test -n "$ac_ct_AR"; then
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5885 $as_echo "$ac_ct_AR" >&6; }
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5888 $as_echo "no" >&6; }
5892 test -n "$ac_ct_AR" && break
5895 if test "x$ac_ct_AR" = x; then
5898 case $cross_compiling:$ac_tool_warned in
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5901 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5902 ac_tool_warned=yes ;;
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5922 $as_echo_n "checking for archiver @FILE support... " >&6; }
5923 if ${lt_cv_ar_at_file+:} false; then :
5924 $as_echo_n "(cached) " >&6
5927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5928 /* end confdefs.h. */
5938 if ac_fn_c_try_compile "$LINENO"; then :
5939 echo conftest.$ac_objext > conftest.lst
5940 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5941 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5942 (eval $lt_ar_try) 2>&5
5944 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5945 test $ac_status = 0; }
5946 if test "$ac_status" -eq 0; then
5947 # Ensure the archiver fails upon bogus file names.
5948 rm -f conftest.$ac_objext libconftest.a
5949 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5950 (eval $lt_ar_try) 2>&5
5952 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5953 test $ac_status = 0; }
5954 if test "$ac_status" -ne 0; then
5958 rm -f conftest.* libconftest.a
5961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5965 $as_echo "$lt_cv_ar_at_file" >&6; }
5967 if test "x$lt_cv_ar_at_file" = xno; then
5970 archiver_list_spec=$lt_cv_ar_at_file
5979 if test -n "$ac_tool_prefix"; then
5980 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5981 set dummy ${ac_tool_prefix}strip; ac_word=$2
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5983 $as_echo_n "checking for $ac_word... " >&6; }
5984 if ${ac_cv_prog_STRIP+:} false; then :
5985 $as_echo_n "(cached) " >&6
5987 if test -n "$STRIP"; then
5988 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5994 test -z "$as_dir" && as_dir=.
5995 for ac_exec_ext in '' $ac_executable_extensions; do
5996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5997 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6007 STRIP=$ac_cv_prog_STRIP
6008 if test -n "$STRIP"; then
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6010 $as_echo "$STRIP" >&6; }
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6013 $as_echo "no" >&6; }
6018 if test -z "$ac_cv_prog_STRIP"; then
6020 # Extract the first word of "strip", so it can be a program name with args.
6021 set dummy strip; ac_word=$2
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6023 $as_echo_n "checking for $ac_word... " >&6; }
6024 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6025 $as_echo_n "(cached) " >&6
6027 if test -n "$ac_ct_STRIP"; then
6028 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6034 test -z "$as_dir" && as_dir=.
6035 for ac_exec_ext in '' $ac_executable_extensions; do
6036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6037 ac_cv_prog_ac_ct_STRIP="strip"
6038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6047 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6048 if test -n "$ac_ct_STRIP"; then
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6050 $as_echo "$ac_ct_STRIP" >&6; }
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6053 $as_echo "no" >&6; }
6056 if test "x$ac_ct_STRIP" = x; then
6059 case $cross_compiling:$ac_tool_warned in
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6062 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6063 ac_tool_warned=yes ;;
6068 STRIP="$ac_cv_prog_STRIP"
6071 test -z "$STRIP" && STRIP=:
6078 if test -n "$ac_tool_prefix"; then
6079 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6080 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6082 $as_echo_n "checking for $ac_word... " >&6; }
6083 if ${ac_cv_prog_RANLIB+:} false; then :
6084 $as_echo_n "(cached) " >&6
6086 if test -n "$RANLIB"; then
6087 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6093 test -z "$as_dir" && as_dir=.
6094 for ac_exec_ext in '' $ac_executable_extensions; do
6095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6096 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6106 RANLIB=$ac_cv_prog_RANLIB
6107 if test -n "$RANLIB"; then
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6109 $as_echo "$RANLIB" >&6; }
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6112 $as_echo "no" >&6; }
6117 if test -z "$ac_cv_prog_RANLIB"; then
6118 ac_ct_RANLIB=$RANLIB
6119 # Extract the first word of "ranlib", so it can be a program name with args.
6120 set dummy ranlib; ac_word=$2
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6122 $as_echo_n "checking for $ac_word... " >&6; }
6123 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6124 $as_echo_n "(cached) " >&6
6126 if test -n "$ac_ct_RANLIB"; then
6127 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6133 test -z "$as_dir" && as_dir=.
6134 for ac_exec_ext in '' $ac_executable_extensions; do
6135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6136 ac_cv_prog_ac_ct_RANLIB="ranlib"
6137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6146 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6147 if test -n "$ac_ct_RANLIB"; then
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6149 $as_echo "$ac_ct_RANLIB" >&6; }
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6152 $as_echo "no" >&6; }
6155 if test "x$ac_ct_RANLIB" = x; then
6158 case $cross_compiling:$ac_tool_warned in
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6161 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6162 ac_tool_warned=yes ;;
6164 RANLIB=$ac_ct_RANLIB
6167 RANLIB="$ac_cv_prog_RANLIB"
6170 test -z "$RANLIB" && RANLIB=:
6177 # Determine commands to create old-style static archives.
6178 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6179 old_postinstall_cmds='chmod 644 $oldlib'
6180 old_postuninstall_cmds=
6182 if test -n "$RANLIB"; then
6185 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6188 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6191 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6196 lock_old_archive_extraction=yes ;;
6198 lock_old_archive_extraction=no ;;
6239 # If no C compiler was specified, use CC.
6242 # If no C compiler flags were specified, use CFLAGS.
6243 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6245 # Allow CC to be a program name with arguments.
6249 # Check for command to grab the raw symbol name followed by C symbol from nm.
6250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6251 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6252 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6253 $as_echo_n "(cached) " >&6
6256 # These are sane defaults that work on at least a few old systems.
6257 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6259 # Character class describing NM global symbol codes.
6260 symcode='[BCDEGRST]'
6262 # Regexp to match symbols that can be accessed directly from C.
6263 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6265 # Define system-specific variables.
6270 cygwin* | mingw* | pw32* | cegcc*)
6271 symcode='[ABCDGISTW]'
6274 if test "$host_cpu" = ia64; then
6275 symcode='[ABCDEGRST]'
6279 symcode='[BCDEGRST]'
6282 symcode='[BCDEGQRST]'
6293 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6301 # If we're using GNU nm, then use its standard symbol codes.
6302 case `$NM -V 2>&1` in
6303 *GNU* | *'with BFD'*)
6304 symcode='[ABCDGIRSTW]' ;;
6307 # Transform an extracted symbol line into a proper C declaration.
6308 # Some systems (esp. on ia64) link data and code symbols differently,
6309 # so use this general approach.
6310 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6312 # Transform an extracted symbol line into symbol name and symbol address
6313 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6314 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6316 # Handle CRLF in mingw tool chain
6320 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6324 # Try without a prefix underscore, then with it.
6325 for ac_symprfx in "" "_"; do
6327 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6328 symxfrm="\\1 $ac_symprfx\\2 \\2"
6330 # Write the raw and C identifiers.
6331 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6332 # Fake it for dumpbin and say T for any non-static function
6333 # and D for any global variable.
6334 # Also find C++ and __fastcall symbols from MSVC++,
6335 # which start with @ or ?.
6336 lt_cv_sys_global_symbol_pipe="$AWK '"\
6337 " {last_section=section; section=\$ 3};"\
6338 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6339 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6340 " \$ 0!~/External *\|/{next};"\
6341 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6342 " {if(hide[section]) next};"\
6343 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6344 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6345 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6346 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6347 " ' prfx=^$ac_symprfx"
6349 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6351 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6353 # Check to see that the pipe works correctly.
6357 cat > conftest.$ac_ext <<_LT_EOF
6362 void nm_test_func(void);
6363 void nm_test_func(void){}
6367 int main(){nm_test_var='a';nm_test_func();return(0);}
6370 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6371 (eval $ac_compile) 2>&5
6373 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6374 test $ac_status = 0; }; then
6375 # Now try to grab the symbols.
6377 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6378 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6380 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6381 test $ac_status = 0; } && test -s "$nlist"; then
6382 # Try sorting and uniquifying the output.
6383 if sort "$nlist" | uniq > "$nlist"T; then
6384 mv -f "$nlist"T "$nlist"
6389 # Make sure that we snagged all the symbols we need.
6390 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6391 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6392 cat <<_LT_EOF > conftest.$ac_ext
6393 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6394 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6395 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6396 relocations are performed -- see ld's documentation on pseudo-relocs. */
6397 # define LT_DLSYM_CONST
6398 #elif defined(__osf__)
6399 /* This system does not cope well with relocations in const data. */
6400 # define LT_DLSYM_CONST
6402 # define LT_DLSYM_CONST const
6410 # Now generate the symbol file.
6411 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6413 cat <<_LT_EOF >> conftest.$ac_ext
6415 /* The mapping between symbol names and symbols. */
6416 LT_DLSYM_CONST struct {
6420 lt__PROGRAM__LTX_preloaded_symbols[] =
6422 { "@PROGRAM@", (void *) 0 },
6424 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6425 cat <<\_LT_EOF >> conftest.$ac_ext
6429 /* This works around a problem in FreeBSD linker */
6430 #ifdef FREEBSD_WORKAROUND
6431 static const void *lt_preloaded_setup() {
6432 return lt__PROGRAM__LTX_preloaded_symbols;
6440 # Now try linking the two files.
6441 mv conftest.$ac_objext conftstm.$ac_objext
6442 lt_globsym_save_LIBS=$LIBS
6443 lt_globsym_save_CFLAGS=$CFLAGS
6444 LIBS="conftstm.$ac_objext"
6445 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6446 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6447 (eval $ac_link) 2>&5
6449 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6450 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6453 LIBS=$lt_globsym_save_LIBS
6454 CFLAGS=$lt_globsym_save_CFLAGS
6456 echo "cannot find nm_test_func in $nlist" >&5
6459 echo "cannot find nm_test_var in $nlist" >&5
6462 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6465 echo "$progname: failed program was:" >&5
6466 cat conftest.$ac_ext >&5
6468 rm -rf conftest* conftst*
6470 # Do not use the global_symbol_pipe unless it works.
6471 if test "$pipe_works" = yes; then
6474 lt_cv_sys_global_symbol_pipe=
6480 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6481 lt_cv_sys_global_symbol_to_cdecl=
6483 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6485 $as_echo "failed" >&6; }
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6488 $as_echo "ok" >&6; }
6491 # Response file support.
6492 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6493 nm_file_list_spec='@'
6494 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6495 nm_file_list_spec='@'
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6525 $as_echo_n "checking for sysroot... " >&6; }
6527 # Check whether --with-sysroot was given.
6528 if test "${with_sysroot+set}" = set; then :
6529 withval=$with_sysroot;
6536 case ${with_sysroot} in #(
6538 if test "$GCC" = yes; then
6539 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6543 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6549 $as_echo "${with_sysroot}" >&6; }
6550 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6555 $as_echo "${lt_sysroot:-no}" >&6; }
6561 # Check whether --enable-libtool-lock was given.
6562 if test "${enable_libtool_lock+set}" = set; then :
6563 enableval=$enable_libtool_lock;
6566 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6568 # Some flags need to be propagated to the compiler or linker for good
6572 # Find out which ABI we are using.
6573 echo 'int i;' > conftest.$ac_ext
6574 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6575 (eval $ac_compile) 2>&5
6577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6578 test $ac_status = 0; }; then
6579 case `/usr/bin/file conftest.$ac_objext` in
6591 # Find out which ABI we are using.
6592 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6593 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6594 (eval $ac_compile) 2>&5
6596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6597 test $ac_status = 0; }; then
6598 if test "$lt_cv_prog_gnu_ld" = yes; then
6599 case `/usr/bin/file conftest.$ac_objext` in
6601 LD="${LD-ld} -melf32bsmip"
6604 LD="${LD-ld} -melf32bmipn32"
6607 LD="${LD-ld} -melf64bmip"
6611 case `/usr/bin/file conftest.$ac_objext` in
6627 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6628 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6629 # Find out which ABI we are using.
6630 echo 'int i;' > conftest.$ac_ext
6631 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6632 (eval $ac_compile) 2>&5
6634 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6635 test $ac_status = 0; }; then
6636 case `/usr/bin/file conftest.o` in
6639 x86_64-*kfreebsd*-gnu)
6640 LD="${LD-ld} -m elf_i386_fbsd"
6643 LD="${LD-ld} -m elf_i386"
6645 ppc64-*linux*|powerpc64-*linux*)
6646 LD="${LD-ld} -m elf32ppclinux"
6649 LD="${LD-ld} -m elf_s390"
6652 LD="${LD-ld} -m elf32_sparc"
6658 x86_64-*kfreebsd*-gnu)
6659 LD="${LD-ld} -m elf_x86_64_fbsd"
6662 LD="${LD-ld} -m elf_x86_64"
6664 ppc*-*linux*|powerpc*-*linux*)
6665 LD="${LD-ld} -m elf64ppc"
6667 s390*-*linux*|s390*-*tpf*)
6668 LD="${LD-ld} -m elf64_s390"
6671 LD="${LD-ld} -m elf64_sparc"
6681 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6682 SAVE_CFLAGS="$CFLAGS"
6683 CFLAGS="$CFLAGS -belf"
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6685 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6686 if ${lt_cv_cc_needs_belf+:} false; then :
6687 $as_echo_n "(cached) " >&6
6690 ac_cpp='$CPP $CPPFLAGS'
6691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6696 /* end confdefs.h. */
6706 if ac_fn_c_try_link "$LINENO"; then :
6707 lt_cv_cc_needs_belf=yes
6709 lt_cv_cc_needs_belf=no
6711 rm -f core conftest.err conftest.$ac_objext \
6712 conftest$ac_exeext conftest.$ac_ext
6714 ac_cpp='$CPP $CPPFLAGS'
6715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6721 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6722 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6723 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6724 CFLAGS="$SAVE_CFLAGS"
6728 # Find out which ABI we are using.
6729 echo 'int i;' > conftest.$ac_ext
6730 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6731 (eval $ac_compile) 2>&5
6733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6734 test $ac_status = 0; }; then
6735 case `/usr/bin/file conftest.o` in
6737 case $lt_cv_prog_gnu_ld in
6741 LD="${LD-ld} -m elf_x86_64"
6744 LD="${LD-ld} -m elf64_sparc"
6747 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6748 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6753 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6765 need_locks="$enable_libtool_lock"
6767 if test -n "$ac_tool_prefix"; then
6768 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6769 set dummy ${ac_tool_prefix}mt; ac_word=$2
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6771 $as_echo_n "checking for $ac_word... " >&6; }
6772 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6773 $as_echo_n "(cached) " >&6
6775 if test -n "$MANIFEST_TOOL"; then
6776 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6782 test -z "$as_dir" && as_dir=.
6783 for ac_exec_ext in '' $ac_executable_extensions; do
6784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6785 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6795 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6796 if test -n "$MANIFEST_TOOL"; then
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6798 $as_echo "$MANIFEST_TOOL" >&6; }
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6801 $as_echo "no" >&6; }
6806 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6807 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6808 # Extract the first word of "mt", so it can be a program name with args.
6809 set dummy mt; ac_word=$2
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6811 $as_echo_n "checking for $ac_word... " >&6; }
6812 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6813 $as_echo_n "(cached) " >&6
6815 if test -n "$ac_ct_MANIFEST_TOOL"; then
6816 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6822 test -z "$as_dir" && as_dir=.
6823 for ac_exec_ext in '' $ac_executable_extensions; do
6824 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6825 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6835 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6836 if test -n "$ac_ct_MANIFEST_TOOL"; then
6837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6838 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6841 $as_echo "no" >&6; }
6844 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6847 case $cross_compiling:$ac_tool_warned in
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6850 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6851 ac_tool_warned=yes ;;
6853 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6856 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6859 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6861 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6862 if ${lt_cv_path_mainfest_tool+:} false; then :
6863 $as_echo_n "(cached) " >&6
6865 lt_cv_path_mainfest_tool=no
6866 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6867 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6868 cat conftest.err >&5
6869 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6870 lt_cv_path_mainfest_tool=yes
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6875 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6876 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6886 rhapsody* | darwin*)
6887 if test -n "$ac_tool_prefix"; then
6888 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6889 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6891 $as_echo_n "checking for $ac_word... " >&6; }
6892 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6893 $as_echo_n "(cached) " >&6
6895 if test -n "$DSYMUTIL"; then
6896 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6902 test -z "$as_dir" && as_dir=.
6903 for ac_exec_ext in '' $ac_executable_extensions; do
6904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6905 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6915 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6916 if test -n "$DSYMUTIL"; then
6917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6918 $as_echo "$DSYMUTIL" >&6; }
6920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6921 $as_echo "no" >&6; }
6926 if test -z "$ac_cv_prog_DSYMUTIL"; then
6927 ac_ct_DSYMUTIL=$DSYMUTIL
6928 # Extract the first word of "dsymutil", so it can be a program name with args.
6929 set dummy dsymutil; ac_word=$2
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6931 $as_echo_n "checking for $ac_word... " >&6; }
6932 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6933 $as_echo_n "(cached) " >&6
6935 if test -n "$ac_ct_DSYMUTIL"; then
6936 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6942 test -z "$as_dir" && as_dir=.
6943 for ac_exec_ext in '' $ac_executable_extensions; do
6944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6945 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6955 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6956 if test -n "$ac_ct_DSYMUTIL"; then
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6958 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6961 $as_echo "no" >&6; }
6964 if test "x$ac_ct_DSYMUTIL" = x; then
6967 case $cross_compiling:$ac_tool_warned in
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6970 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6971 ac_tool_warned=yes ;;
6973 DSYMUTIL=$ac_ct_DSYMUTIL
6976 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6979 if test -n "$ac_tool_prefix"; then
6980 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6981 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6983 $as_echo_n "checking for $ac_word... " >&6; }
6984 if ${ac_cv_prog_NMEDIT+:} false; then :
6985 $as_echo_n "(cached) " >&6
6987 if test -n "$NMEDIT"; then
6988 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6994 test -z "$as_dir" && as_dir=.
6995 for ac_exec_ext in '' $ac_executable_extensions; do
6996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6997 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7007 NMEDIT=$ac_cv_prog_NMEDIT
7008 if test -n "$NMEDIT"; then
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7010 $as_echo "$NMEDIT" >&6; }
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7013 $as_echo "no" >&6; }
7018 if test -z "$ac_cv_prog_NMEDIT"; then
7019 ac_ct_NMEDIT=$NMEDIT
7020 # Extract the first word of "nmedit", so it can be a program name with args.
7021 set dummy nmedit; ac_word=$2
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7023 $as_echo_n "checking for $ac_word... " >&6; }
7024 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7025 $as_echo_n "(cached) " >&6
7027 if test -n "$ac_ct_NMEDIT"; then
7028 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7034 test -z "$as_dir" && as_dir=.
7035 for ac_exec_ext in '' $ac_executable_extensions; do
7036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7037 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7047 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7048 if test -n "$ac_ct_NMEDIT"; then
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7050 $as_echo "$ac_ct_NMEDIT" >&6; }
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7053 $as_echo "no" >&6; }
7056 if test "x$ac_ct_NMEDIT" = x; then
7059 case $cross_compiling:$ac_tool_warned in
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7062 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7063 ac_tool_warned=yes ;;
7065 NMEDIT=$ac_ct_NMEDIT
7068 NMEDIT="$ac_cv_prog_NMEDIT"
7071 if test -n "$ac_tool_prefix"; then
7072 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7073 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7075 $as_echo_n "checking for $ac_word... " >&6; }
7076 if ${ac_cv_prog_LIPO+:} false; then :
7077 $as_echo_n "(cached) " >&6
7079 if test -n "$LIPO"; then
7080 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7086 test -z "$as_dir" && as_dir=.
7087 for ac_exec_ext in '' $ac_executable_extensions; do
7088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7089 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7099 LIPO=$ac_cv_prog_LIPO
7100 if test -n "$LIPO"; then
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7102 $as_echo "$LIPO" >&6; }
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7105 $as_echo "no" >&6; }
7110 if test -z "$ac_cv_prog_LIPO"; then
7112 # Extract the first word of "lipo", so it can be a program name with args.
7113 set dummy lipo; ac_word=$2
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7115 $as_echo_n "checking for $ac_word... " >&6; }
7116 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7117 $as_echo_n "(cached) " >&6
7119 if test -n "$ac_ct_LIPO"; then
7120 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7126 test -z "$as_dir" && as_dir=.
7127 for ac_exec_ext in '' $ac_executable_extensions; do
7128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7129 ac_cv_prog_ac_ct_LIPO="lipo"
7130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7139 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7140 if test -n "$ac_ct_LIPO"; then
7141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7142 $as_echo "$ac_ct_LIPO" >&6; }
7144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7145 $as_echo "no" >&6; }
7148 if test "x$ac_ct_LIPO" = x; then
7151 case $cross_compiling:$ac_tool_warned in
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7154 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7155 ac_tool_warned=yes ;;
7160 LIPO="$ac_cv_prog_LIPO"
7163 if test -n "$ac_tool_prefix"; then
7164 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7165 set dummy ${ac_tool_prefix}otool; ac_word=$2
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7167 $as_echo_n "checking for $ac_word... " >&6; }
7168 if ${ac_cv_prog_OTOOL+:} false; then :
7169 $as_echo_n "(cached) " >&6
7171 if test -n "$OTOOL"; then
7172 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7178 test -z "$as_dir" && as_dir=.
7179 for ac_exec_ext in '' $ac_executable_extensions; do
7180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7181 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7191 OTOOL=$ac_cv_prog_OTOOL
7192 if test -n "$OTOOL"; then
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7194 $as_echo "$OTOOL" >&6; }
7196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7197 $as_echo "no" >&6; }
7202 if test -z "$ac_cv_prog_OTOOL"; then
7204 # Extract the first word of "otool", so it can be a program name with args.
7205 set dummy otool; ac_word=$2
7206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7207 $as_echo_n "checking for $ac_word... " >&6; }
7208 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7209 $as_echo_n "(cached) " >&6
7211 if test -n "$ac_ct_OTOOL"; then
7212 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7218 test -z "$as_dir" && as_dir=.
7219 for ac_exec_ext in '' $ac_executable_extensions; do
7220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7221 ac_cv_prog_ac_ct_OTOOL="otool"
7222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7231 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7232 if test -n "$ac_ct_OTOOL"; then
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7234 $as_echo "$ac_ct_OTOOL" >&6; }
7236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7237 $as_echo "no" >&6; }
7240 if test "x$ac_ct_OTOOL" = x; then
7243 case $cross_compiling:$ac_tool_warned in
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7246 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7247 ac_tool_warned=yes ;;
7252 OTOOL="$ac_cv_prog_OTOOL"
7255 if test -n "$ac_tool_prefix"; then
7256 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7257 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7259 $as_echo_n "checking for $ac_word... " >&6; }
7260 if ${ac_cv_prog_OTOOL64+:} false; then :
7261 $as_echo_n "(cached) " >&6
7263 if test -n "$OTOOL64"; then
7264 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7270 test -z "$as_dir" && as_dir=.
7271 for ac_exec_ext in '' $ac_executable_extensions; do
7272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7273 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7283 OTOOL64=$ac_cv_prog_OTOOL64
7284 if test -n "$OTOOL64"; then
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7286 $as_echo "$OTOOL64" >&6; }
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7289 $as_echo "no" >&6; }
7294 if test -z "$ac_cv_prog_OTOOL64"; then
7295 ac_ct_OTOOL64=$OTOOL64
7296 # Extract the first word of "otool64", so it can be a program name with args.
7297 set dummy otool64; ac_word=$2
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7299 $as_echo_n "checking for $ac_word... " >&6; }
7300 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7301 $as_echo_n "(cached) " >&6
7303 if test -n "$ac_ct_OTOOL64"; then
7304 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7310 test -z "$as_dir" && as_dir=.
7311 for ac_exec_ext in '' $ac_executable_extensions; do
7312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7313 ac_cv_prog_ac_ct_OTOOL64="otool64"
7314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7323 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7324 if test -n "$ac_ct_OTOOL64"; then
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7326 $as_echo "$ac_ct_OTOOL64" >&6; }
7328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7329 $as_echo "no" >&6; }
7332 if test "x$ac_ct_OTOOL64" = x; then
7335 case $cross_compiling:$ac_tool_warned in
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7338 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7339 ac_tool_warned=yes ;;
7341 OTOOL64=$ac_ct_OTOOL64
7344 OTOOL64="$ac_cv_prog_OTOOL64"
7373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7374 $as_echo_n "checking for -single_module linker flag... " >&6; }
7375 if ${lt_cv_apple_cc_single_mod+:} false; then :
7376 $as_echo_n "(cached) " >&6
7378 lt_cv_apple_cc_single_mod=no
7379 if test -z "${LT_MULTI_MODULE}"; then
7380 # By default we will add the -single_module flag. You can override
7381 # by either setting the environment variable LT_MULTI_MODULE
7382 # non-empty at configure time, or by adding -multi_module to the
7384 rm -rf libconftest.dylib*
7385 echo "int foo(void){return 1;}" > conftest.c
7386 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7387 -dynamiclib -Wl,-single_module conftest.c" >&5
7388 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7389 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7391 # If there is a non-empty error log, and "single_module"
7392 # appears in it, assume the flag caused a linker warning
7393 if test -s conftest.err && $GREP single_module conftest.err; then
7394 cat conftest.err >&5
7395 # Otherwise, if the output was created with a 0 exit code from
7396 # the compiler, it worked.
7397 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7398 lt_cv_apple_cc_single_mod=yes
7400 cat conftest.err >&5
7402 rm -rf libconftest.dylib*
7406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7407 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7410 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7411 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7412 $as_echo_n "(cached) " >&6
7414 lt_cv_ld_exported_symbols_list=no
7415 save_LDFLAGS=$LDFLAGS
7416 echo "_main" > conftest.sym
7417 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7419 /* end confdefs.h. */
7429 if ac_fn_c_try_link "$LINENO"; then :
7430 lt_cv_ld_exported_symbols_list=yes
7432 lt_cv_ld_exported_symbols_list=no
7434 rm -f core conftest.err conftest.$ac_objext \
7435 conftest$ac_exeext conftest.$ac_ext
7436 LDFLAGS="$save_LDFLAGS"
7439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7440 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7443 $as_echo_n "checking for -force_load linker flag... " >&6; }
7444 if ${lt_cv_ld_force_load+:} false; then :
7445 $as_echo_n "(cached) " >&6
7447 lt_cv_ld_force_load=no
7448 cat > conftest.c << _LT_EOF
7449 int forced_loaded() { return 2;}
7451 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7452 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7453 echo "$AR cru libconftest.a conftest.o" >&5
7454 $AR cru libconftest.a conftest.o 2>&5
7455 echo "$RANLIB libconftest.a" >&5
7456 $RANLIB libconftest.a 2>&5
7457 cat > conftest.c << _LT_EOF
7458 int main() { return 0;}
7460 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7461 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7463 if test -s conftest.err && $GREP force_load conftest.err; then
7464 cat conftest.err >&5
7465 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7466 lt_cv_ld_force_load=yes
7468 cat conftest.err >&5
7470 rm -f conftest.err libconftest.a conftest conftest.c
7471 rm -rf conftest.dSYM
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7475 $as_echo "$lt_cv_ld_force_load" >&6; }
7477 rhapsody* | darwin1.[012])
7478 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7480 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7481 darwin*) # darwin 5.x on
7482 # if running on 10.5 or later, the deployment target defaults
7483 # to the OS version, if on x86, and 10.4, the deployment
7484 # target defaults to 10.4. Don't you love it?
7485 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7486 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7487 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7489 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7491 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7495 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7496 _lt_dar_single_mod='$single_module'
7498 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7499 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7501 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7503 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7504 _lt_dsymutil='~$DSYMUTIL $lib || :'
7512 ac_cpp='$CPP $CPPFLAGS'
7513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7517 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7518 # On Suns, sometimes $CPP names a directory.
7519 if test -n "$CPP" && test -d "$CPP"; then
7522 if test -z "$CPP"; then
7523 if ${ac_cv_prog_CPP+:} false; then :
7524 $as_echo_n "(cached) " >&6
7526 # Double quotes because CPP needs to be expanded
7527 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7530 for ac_c_preproc_warn_flag in '' yes
7532 # Use a header file that comes with gcc, so configuring glibc
7533 # with a fresh cross-compiler works.
7534 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7535 # <limits.h> exists even on freestanding compilers.
7536 # On the NeXT, cc -E runs the code through the compiler's parser,
7537 # not just through cpp. "Syntax error" is here to catch this case.
7538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7539 /* end confdefs.h. */
7541 # include <limits.h>
7543 # include <assert.h>
7547 if ac_fn_c_try_cpp "$LINENO"; then :
7550 # Broken: fails on valid input.
7553 rm -f conftest.err conftest.i conftest.$ac_ext
7555 # OK, works on sane cases. Now check whether nonexistent headers
7556 # can be detected and how.
7557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7558 /* end confdefs.h. */
7559 #include <ac_nonexistent.h>
7561 if ac_fn_c_try_cpp "$LINENO"; then :
7562 # Broken: success on invalid input.
7565 # Passes both tests.
7569 rm -f conftest.err conftest.i conftest.$ac_ext
7572 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7573 rm -f conftest.i conftest.err conftest.$ac_ext
7574 if $ac_preproc_ok; then :
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7587 $as_echo "$CPP" >&6; }
7589 for ac_c_preproc_warn_flag in '' yes
7591 # Use a header file that comes with gcc, so configuring glibc
7592 # with a fresh cross-compiler works.
7593 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7594 # <limits.h> exists even on freestanding compilers.
7595 # On the NeXT, cc -E runs the code through the compiler's parser,
7596 # not just through cpp. "Syntax error" is here to catch this case.
7597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7598 /* end confdefs.h. */
7600 # include <limits.h>
7602 # include <assert.h>
7606 if ac_fn_c_try_cpp "$LINENO"; then :
7609 # Broken: fails on valid input.
7612 rm -f conftest.err conftest.i conftest.$ac_ext
7614 # OK, works on sane cases. Now check whether nonexistent headers
7615 # can be detected and how.
7616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7617 /* end confdefs.h. */
7618 #include <ac_nonexistent.h>
7620 if ac_fn_c_try_cpp "$LINENO"; then :
7621 # Broken: success on invalid input.
7624 # Passes both tests.
7628 rm -f conftest.err conftest.i conftest.$ac_ext
7631 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7632 rm -f conftest.i conftest.err conftest.$ac_ext
7633 if $ac_preproc_ok; then :
7636 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7637 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7638 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7639 See \`config.log' for more details" "$LINENO" 5; }
7643 ac_cpp='$CPP $CPPFLAGS'
7644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7650 $as_echo_n "checking for ANSI C header files... " >&6; }
7651 if ${ac_cv_header_stdc+:} false; then :
7652 $as_echo_n "(cached) " >&6
7654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7655 /* end confdefs.h. */
7669 if ac_fn_c_try_compile "$LINENO"; then :
7670 ac_cv_header_stdc=yes
7672 ac_cv_header_stdc=no
7674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7676 if test $ac_cv_header_stdc = yes; then
7677 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7679 /* end confdefs.h. */
7683 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7684 $EGREP "memchr" >/dev/null 2>&1; then :
7687 ac_cv_header_stdc=no
7693 if test $ac_cv_header_stdc = yes; then
7694 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7696 /* end confdefs.h. */
7700 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7701 $EGREP "free" >/dev/null 2>&1; then :
7704 ac_cv_header_stdc=no
7710 if test $ac_cv_header_stdc = yes; then
7711 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7712 if test "$cross_compiling" = yes; then :
7715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7716 /* end confdefs.h. */
7719 #if ((' ' & 0x0FF) == 0x020)
7720 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7721 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7723 # define ISLOWER(c) \
7724 (('a' <= (c) && (c) <= 'i') \
7725 || ('j' <= (c) && (c) <= 'r') \
7726 || ('s' <= (c) && (c) <= 'z'))
7727 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7730 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7735 for (i = 0; i < 256; i++)
7736 if (XOR (islower (i), ISLOWER (i))
7737 || toupper (i) != TOUPPER (i))
7742 if ac_fn_c_try_run "$LINENO"; then :
7745 ac_cv_header_stdc=no
7747 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7748 conftest.$ac_objext conftest.beam conftest.$ac_ext
7753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7754 $as_echo "$ac_cv_header_stdc" >&6; }
7755 if test $ac_cv_header_stdc = yes; then
7757 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7761 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7762 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7763 inttypes.h stdint.h unistd.h
7765 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7766 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7768 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7769 cat >>confdefs.h <<_ACEOF
7770 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7778 for ac_header in dlfcn.h
7780 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7782 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7783 cat >>confdefs.h <<_ACEOF
7784 #define HAVE_DLFCN_H 1
7803 # Check whether --enable-shared was given.
7804 if test "${enable_shared+set}" = set; then :
7805 enableval=$enable_shared; p=${PACKAGE-default}
7807 yes) enable_shared=yes ;;
7808 no) enable_shared=no ;;
7811 # Look at the argument we got. We use all the common list separators.
7812 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7813 for pkg in $enableval; do
7815 if test "X$pkg" = "X$p"; then
7834 # Check whether --enable-static was given.
7835 if test "${enable_static+set}" = set; then :
7836 enableval=$enable_static; p=${PACKAGE-default}
7838 yes) enable_static=yes ;;
7839 no) enable_static=no ;;
7842 # Look at the argument we got. We use all the common list separators.
7843 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7844 for pkg in $enableval; do
7846 if test "X$pkg" = "X$p"; then
7866 # Check whether --with-pic was given.
7867 if test "${with_pic+set}" = set; then :
7868 withval=$with_pic; lt_p=${PACKAGE-default}
7870 yes|no) pic_mode=$withval ;;
7873 # Look at the argument we got. We use all the common list separators.
7874 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7875 for lt_pkg in $withval; do
7877 if test "X$lt_pkg" = "X$lt_p"; then
7889 test -z "$pic_mode" && pic_mode=default
7897 # Check whether --enable-fast-install was given.
7898 if test "${enable_fast_install+set}" = set; then :
7899 enableval=$enable_fast_install; p=${PACKAGE-default}
7901 yes) enable_fast_install=yes ;;
7902 no) enable_fast_install=no ;;
7904 enable_fast_install=no
7905 # Look at the argument we got. We use all the common list separators.
7906 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7907 for pkg in $enableval; do
7909 if test "X$pkg" = "X$p"; then
7910 enable_fast_install=yes
7917 enable_fast_install=yes
7930 # This can be used to rebuild libtool when needed
7931 LIBTOOL_DEPS="$ltmain"
7933 # Always use our own libtool.
7934 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7965 test -z "$LN_S" && LN_S="ln -s"
7980 if test -n "${ZSH_VERSION+set}" ; then
7981 setopt NO_GLOB_SUBST
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7985 $as_echo_n "checking for objdir... " >&6; }
7986 if ${lt_cv_objdir+:} false; then :
7987 $as_echo_n "(cached) " >&6
7989 rm -f .libs 2>/dev/null
7990 mkdir .libs 2>/dev/null
7991 if test -d .libs; then
7994 # MS-DOS does not allow filenames that begin with a dot.
7997 rmdir .libs 2>/dev/null
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8000 $as_echo "$lt_cv_objdir" >&6; }
8001 objdir=$lt_cv_objdir
8007 cat >>confdefs.h <<_ACEOF
8008 #define LT_OBJDIR "$lt_cv_objdir/"
8016 # AIX sometimes has problems with the GCC collect2 program. For some
8017 # reason, if we set the COLLECT_NAMES environment variable, the problems
8018 # vanish in a puff of smoke.
8019 if test "X${COLLECT_NAMES+set}" != Xset; then
8021 export COLLECT_NAMES
8028 can_build_shared=yes
8030 # All known linkers require a `.a' archive for static linking (except MSVC,
8031 # which needs '.lib').
8034 with_gnu_ld="$lt_cv_prog_gnu_ld"
8037 old_CFLAGS="$CFLAGS"
8039 # Set sane defaults for various variables
8040 test -z "$CC" && CC=cc
8041 test -z "$LTCC" && LTCC=$CC
8042 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8043 test -z "$LD" && LD=ld
8044 test -z "$ac_objext" && ac_objext=o
8046 for cc_temp in $compiler""; do
8048 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8049 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8054 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8057 # Only perform the check for file, if the check method requires it
8058 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8059 case $deplibs_check_method in
8061 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8063 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8064 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8065 $as_echo_n "(cached) " >&6
8069 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8072 lt_save_MAGIC_CMD="$MAGIC_CMD"
8073 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8074 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8075 for ac_dir in $ac_dummy; do
8077 test -z "$ac_dir" && ac_dir=.
8078 if test -f $ac_dir/${ac_tool_prefix}file; then
8079 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8080 if test -n "$file_magic_test_file"; then
8081 case $deplibs_check_method in
8083 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8084 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8085 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8086 $EGREP "$file_magic_regex" > /dev/null; then
8091 *** Warning: the command libtool uses to detect shared libraries,
8092 *** $file_magic_cmd, produces output that libtool cannot recognize.
8093 *** The result is that libtool may fail to recognize shared libraries
8094 *** as such. This will affect the creation of libtool libraries that
8095 *** depend on shared libraries, but programs linked with such libtool
8096 *** libraries will work regardless of this problem. Nevertheless, you
8097 *** may want to report the problem to your system manager and/or to
8098 *** bug-libtool@gnu.org
8108 MAGIC_CMD="$lt_save_MAGIC_CMD"
8113 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8114 if test -n "$MAGIC_CMD"; then
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8116 $as_echo "$MAGIC_CMD" >&6; }
8118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8119 $as_echo "no" >&6; }
8126 if test -z "$lt_cv_path_MAGIC_CMD"; then
8127 if test -n "$ac_tool_prefix"; then
8128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8129 $as_echo_n "checking for file... " >&6; }
8130 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8131 $as_echo_n "(cached) " >&6
8135 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8138 lt_save_MAGIC_CMD="$MAGIC_CMD"
8139 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8140 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8141 for ac_dir in $ac_dummy; do
8143 test -z "$ac_dir" && ac_dir=.
8144 if test -f $ac_dir/file; then
8145 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8146 if test -n "$file_magic_test_file"; then
8147 case $deplibs_check_method in
8149 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8150 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8151 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8152 $EGREP "$file_magic_regex" > /dev/null; then
8157 *** Warning: the command libtool uses to detect shared libraries,
8158 *** $file_magic_cmd, produces output that libtool cannot recognize.
8159 *** The result is that libtool may fail to recognize shared libraries
8160 *** as such. This will affect the creation of libtool libraries that
8161 *** depend on shared libraries, but programs linked with such libtool
8162 *** libraries will work regardless of this problem. Nevertheless, you
8163 *** may want to report the problem to your system manager and/or to
8164 *** bug-libtool@gnu.org
8174 MAGIC_CMD="$lt_save_MAGIC_CMD"
8179 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8180 if test -n "$MAGIC_CMD"; then
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8182 $as_echo "$MAGIC_CMD" >&6; }
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8185 $as_echo "no" >&6; }
8198 # Use C for the default configuration in the libtool script
8202 ac_cpp='$CPP $CPPFLAGS'
8203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8208 # Source file extension for C test sources.
8211 # Object file extension for compiled C test sources.
8215 # Code to be used in simple compile tests
8216 lt_simple_compile_test_code="int some_variable = 0;"
8218 # Code to be used in simple link tests
8219 lt_simple_link_test_code='int main(){return(0);}'
8227 # If no C compiler was specified, use CC.
8230 # If no C compiler flags were specified, use CFLAGS.
8231 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8233 # Allow CC to be a program name with arguments.
8236 # Save the default compiler, since it gets overwritten when the other
8237 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8238 compiler_DEFAULT=$CC
8240 # save warnings/boilerplate of simple test code
8241 ac_outfile=conftest.$ac_objext
8242 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8243 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8244 _lt_compiler_boilerplate=`cat conftest.err`
8247 ac_outfile=conftest.$ac_objext
8248 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8249 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8250 _lt_linker_boilerplate=`cat conftest.err`
8255 ## There is no encapsulation within the following macros, do not change
8256 ## the running order or otherwise move them around unless you know exactly
8257 ## what you are doing...
8258 if test -n "$compiler"; then
8260 lt_prog_compiler_no_builtin_flag=
8262 if test "$GCC" = yes; then
8263 case $cc_basename in
8265 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8267 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8271 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8272 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8273 $as_echo_n "(cached) " >&6
8275 lt_cv_prog_compiler_rtti_exceptions=no
8276 ac_outfile=conftest.$ac_objext
8277 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8278 lt_compiler_flag="-fno-rtti -fno-exceptions"
8279 # Insert the option either (1) after the last *FLAGS variable, or
8280 # (2) before a word containing "conftest.", or (3) at the end.
8281 # Note that $ac_compile itself does not contain backslashes and begins
8282 # with a dollar sign (not a hyphen), so the echo should work correctly.
8283 # The option is referenced via a variable to avoid confusing sed.
8284 lt_compile=`echo "$ac_compile" | $SED \
8285 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8286 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8287 -e 's:$: $lt_compiler_flag:'`
8288 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8289 (eval "$lt_compile" 2>conftest.err)
8291 cat conftest.err >&5
8292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8293 if (exit $ac_status) && test -s "$ac_outfile"; then
8294 # The compiler can only warn and ignore the option if not recognized
8295 # So say no if there are warnings other than the usual output.
8296 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8297 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8298 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8299 lt_cv_prog_compiler_rtti_exceptions=yes
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8306 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8308 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8309 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8321 lt_prog_compiler_wl=
8322 lt_prog_compiler_pic=
8323 lt_prog_compiler_static=
8326 if test "$GCC" = yes; then
8327 lt_prog_compiler_wl='-Wl,'
8328 lt_prog_compiler_static='-static'
8332 # All AIX code is PIC.
8333 if test "$host_cpu" = ia64; then
8334 # AIX 5 now supports IA64 processor
8335 lt_prog_compiler_static='-Bstatic'
8342 # see comment about AmigaOS4 .so support
8343 lt_prog_compiler_pic='-fPIC'
8346 # FIXME: we need at least 68020 code to build shared libraries, but
8347 # adding the `-m68020' flag to GCC prevents building anything better,
8349 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8354 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8355 # PIC is the default for these OSes.
8358 mingw* | cygwin* | pw32* | os2* | cegcc*)
8359 # This hack is so that the source file can tell whether it is being
8360 # built for inclusion in a dll (and should export symbols for example).
8361 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8362 # (--disable-auto-import) libraries
8363 lt_prog_compiler_pic='-DDLL_EXPORT'
8366 darwin* | rhapsody*)
8367 # PIC is the default on this platform
8368 # Common symbols not allowed in MH_DYLIB files
8369 lt_prog_compiler_pic='-fno-common'
8373 # PIC is the default for Haiku.
8374 # The "-static" flag exists, but is broken.
8375 lt_prog_compiler_static=
8379 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8380 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8381 # sets the default TLS model and affects inlining.
8387 lt_prog_compiler_pic='-fPIC'
8393 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8394 # Instead, we relocate shared libraries at runtime.
8398 # Just because we use GCC doesn't mean we suddenly get shared libraries
8399 # on systems that don't support them.
8400 lt_prog_compiler_can_build_shared=no
8405 # QNX uses GNU C++, but need to define -shared option too, otherwise
8407 lt_prog_compiler_pic='-fPIC -shared'
8411 if test -d /usr/nec; then
8412 lt_prog_compiler_pic=-Kconform_pic
8417 lt_prog_compiler_pic='-fPIC'
8421 case $cc_basename in
8422 nvcc*) # Cuda Compiler Driver 2.2
8423 lt_prog_compiler_wl='-Xlinker '
8424 if test -n "$lt_prog_compiler_pic"; then
8425 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8430 # PORTME Check for flag to pass linker flags through the system compiler.
8433 lt_prog_compiler_wl='-Wl,'
8434 if test "$host_cpu" = ia64; then
8435 # AIX 5 now supports IA64 processor
8436 lt_prog_compiler_static='-Bstatic'
8438 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8442 mingw* | cygwin* | pw32* | os2* | cegcc*)
8443 # This hack is so that the source file can tell whether it is being
8444 # built for inclusion in a dll (and should export symbols for example).
8445 lt_prog_compiler_pic='-DDLL_EXPORT'
8448 hpux9* | hpux10* | hpux11*)
8449 lt_prog_compiler_wl='-Wl,'
8450 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8457 lt_prog_compiler_pic='+Z'
8460 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8461 lt_prog_compiler_static='${wl}-a ${wl}archive'
8464 irix5* | irix6* | nonstopux*)
8465 lt_prog_compiler_wl='-Wl,'
8466 # PIC (with -KPIC) is the default.
8467 lt_prog_compiler_static='-non_shared'
8470 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8471 case $cc_basename in
8472 # old Intel for x86_64 which still supported -KPIC.
8474 lt_prog_compiler_wl='-Wl,'
8475 lt_prog_compiler_pic='-KPIC'
8476 lt_prog_compiler_static='-static'
8478 # icc used to be incompatible with GCC.
8479 # ICC 10 doesn't accept -KPIC any more.
8481 lt_prog_compiler_wl='-Wl,'
8482 lt_prog_compiler_pic='-fPIC'
8483 lt_prog_compiler_static='-static'
8485 # Lahey Fortran 8.1.
8487 lt_prog_compiler_wl='-Wl,'
8488 lt_prog_compiler_pic='--shared'
8489 lt_prog_compiler_static='--static'
8492 # NAG Fortran compiler
8493 lt_prog_compiler_wl='-Wl,-Wl,,'
8494 lt_prog_compiler_pic='-PIC'
8495 lt_prog_compiler_static='-Bstatic'
8497 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8498 # Portland Group compilers (*not* the Pentium gcc compiler,
8499 # which looks to be a dead project)
8500 lt_prog_compiler_wl='-Wl,'
8501 lt_prog_compiler_pic='-fpic'
8502 lt_prog_compiler_static='-Bstatic'
8505 lt_prog_compiler_wl='-Wl,'
8506 # All Alpha code is PIC.
8507 lt_prog_compiler_static='-non_shared'
8509 xl* | bgxl* | bgf* | mpixl*)
8510 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8511 lt_prog_compiler_wl='-Wl,'
8512 lt_prog_compiler_pic='-qpic'
8513 lt_prog_compiler_static='-qstaticlink'
8516 case `$CC -V 2>&1 | sed 5q` in
8517 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8518 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8519 lt_prog_compiler_pic='-KPIC'
8520 lt_prog_compiler_static='-Bstatic'
8521 lt_prog_compiler_wl=''
8523 *Sun\ F* | *Sun*Fortran*)
8524 lt_prog_compiler_pic='-KPIC'
8525 lt_prog_compiler_static='-Bstatic'
8526 lt_prog_compiler_wl='-Qoption ld '
8530 lt_prog_compiler_pic='-KPIC'
8531 lt_prog_compiler_static='-Bstatic'
8532 lt_prog_compiler_wl='-Wl,'
8534 *Intel*\ [CF]*Compiler*)
8535 lt_prog_compiler_wl='-Wl,'
8536 lt_prog_compiler_pic='-fPIC'
8537 lt_prog_compiler_static='-static'
8540 lt_prog_compiler_wl='-Wl,'
8541 lt_prog_compiler_pic='-fpic'
8542 lt_prog_compiler_static='-Bstatic'
8550 lt_prog_compiler_pic='-KPIC'
8551 lt_prog_compiler_static='-Bstatic'
8555 # QNX uses GNU C++, but need to define -shared option too, otherwise
8557 lt_prog_compiler_pic='-fPIC -shared'
8560 osf3* | osf4* | osf5*)
8561 lt_prog_compiler_wl='-Wl,'
8562 # All OSF/1 code is PIC.
8563 lt_prog_compiler_static='-non_shared'
8567 lt_prog_compiler_static='-non_shared'
8571 lt_prog_compiler_pic='-KPIC'
8572 lt_prog_compiler_static='-Bstatic'
8573 case $cc_basename in
8574 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8575 lt_prog_compiler_wl='-Qoption ld ';;
8577 lt_prog_compiler_wl='-Wl,';;
8582 lt_prog_compiler_wl='-Qoption ld '
8583 lt_prog_compiler_pic='-PIC'
8584 lt_prog_compiler_static='-Bstatic'
8587 sysv4 | sysv4.2uw2* | sysv4.3*)
8588 lt_prog_compiler_wl='-Wl,'
8589 lt_prog_compiler_pic='-KPIC'
8590 lt_prog_compiler_static='-Bstatic'
8594 if test -d /usr/nec ;then
8595 lt_prog_compiler_pic='-Kconform_pic'
8596 lt_prog_compiler_static='-Bstatic'
8600 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8601 lt_prog_compiler_wl='-Wl,'
8602 lt_prog_compiler_pic='-KPIC'
8603 lt_prog_compiler_static='-Bstatic'
8607 lt_prog_compiler_wl='-Wl,'
8608 lt_prog_compiler_can_build_shared=no
8612 lt_prog_compiler_pic='-pic'
8613 lt_prog_compiler_static='-Bstatic'
8617 lt_prog_compiler_can_build_shared=no
8623 # For platforms which do not support PIC, -DPIC is meaningless:
8625 lt_prog_compiler_pic=
8628 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8633 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8634 if ${lt_cv_prog_compiler_pic+:} false; then :
8635 $as_echo_n "(cached) " >&6
8637 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8640 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8641 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8644 # Check to make sure the PIC flag actually works.
8646 if test -n "$lt_prog_compiler_pic"; then
8647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8648 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8649 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8650 $as_echo_n "(cached) " >&6
8652 lt_cv_prog_compiler_pic_works=no
8653 ac_outfile=conftest.$ac_objext
8654 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8655 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8656 # Insert the option either (1) after the last *FLAGS variable, or
8657 # (2) before a word containing "conftest.", or (3) at the end.
8658 # Note that $ac_compile itself does not contain backslashes and begins
8659 # with a dollar sign (not a hyphen), so the echo should work correctly.
8660 # The option is referenced via a variable to avoid confusing sed.
8661 lt_compile=`echo "$ac_compile" | $SED \
8662 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8663 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8664 -e 's:$: $lt_compiler_flag:'`
8665 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8666 (eval "$lt_compile" 2>conftest.err)
8668 cat conftest.err >&5
8669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8670 if (exit $ac_status) && test -s "$ac_outfile"; then
8671 # The compiler can only warn and ignore the option if not recognized
8672 # So say no if there are warnings other than the usual output.
8673 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8674 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8675 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8676 lt_cv_prog_compiler_pic_works=yes
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8683 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8685 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8686 case $lt_prog_compiler_pic in
8688 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8691 lt_prog_compiler_pic=
8692 lt_prog_compiler_can_build_shared=no
8708 # Check to make sure the static flag actually works.
8710 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8712 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8713 if ${lt_cv_prog_compiler_static_works+:} false; then :
8714 $as_echo_n "(cached) " >&6
8716 lt_cv_prog_compiler_static_works=no
8717 save_LDFLAGS="$LDFLAGS"
8718 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8719 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8720 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8721 # The linker can only warn and ignore the option if not recognized
8722 # So say no if there are warnings
8723 if test -s conftest.err; then
8724 # Append any errors to the config.log.
8725 cat conftest.err 1>&5
8726 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8727 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8728 if diff conftest.exp conftest.er2 >/dev/null; then
8729 lt_cv_prog_compiler_static_works=yes
8732 lt_cv_prog_compiler_static_works=yes
8736 LDFLAGS="$save_LDFLAGS"
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8740 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8742 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8745 lt_prog_compiler_static=
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8755 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8756 if ${lt_cv_prog_compiler_c_o+:} false; then :
8757 $as_echo_n "(cached) " >&6
8759 lt_cv_prog_compiler_c_o=no
8760 $RM -r conftest 2>/dev/null
8764 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8766 lt_compiler_flag="-o out/conftest2.$ac_objext"
8767 # Insert the option either (1) after the last *FLAGS variable, or
8768 # (2) before a word containing "conftest.", or (3) at the end.
8769 # Note that $ac_compile itself does not contain backslashes and begins
8770 # with a dollar sign (not a hyphen), so the echo should work correctly.
8771 lt_compile=`echo "$ac_compile" | $SED \
8772 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8773 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8774 -e 's:$: $lt_compiler_flag:'`
8775 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8776 (eval "$lt_compile" 2>out/conftest.err)
8778 cat out/conftest.err >&5
8779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8780 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8782 # The compiler can only warn and ignore the option if not recognized
8783 # So say no if there are warnings
8784 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8785 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8786 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8787 lt_cv_prog_compiler_c_o=yes
8792 # SGI C++ compiler will create directory out/ii_files/ for
8793 # template instantiation
8794 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8795 $RM out/* && rmdir out
8801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8802 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8810 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8811 if ${lt_cv_prog_compiler_c_o+:} false; then :
8812 $as_echo_n "(cached) " >&6
8814 lt_cv_prog_compiler_c_o=no
8815 $RM -r conftest 2>/dev/null
8819 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8821 lt_compiler_flag="-o out/conftest2.$ac_objext"
8822 # Insert the option either (1) after the last *FLAGS variable, or
8823 # (2) before a word containing "conftest.", or (3) at the end.
8824 # Note that $ac_compile itself does not contain backslashes and begins
8825 # with a dollar sign (not a hyphen), so the echo should work correctly.
8826 lt_compile=`echo "$ac_compile" | $SED \
8827 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8828 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8829 -e 's:$: $lt_compiler_flag:'`
8830 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8831 (eval "$lt_compile" 2>out/conftest.err)
8833 cat out/conftest.err >&5
8834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8835 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8837 # The compiler can only warn and ignore the option if not recognized
8838 # So say no if there are warnings
8839 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8840 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8841 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8842 lt_cv_prog_compiler_c_o=yes
8847 # SGI C++ compiler will create directory out/ii_files/ for
8848 # template instantiation
8849 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8850 $RM out/* && rmdir out
8856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8857 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8862 hard_links="nottested"
8863 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8864 # do not overwrite the value of need_locks provided by the user
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8866 $as_echo_n "checking if we can lock with hard links... " >&6; }
8869 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8871 ln conftest.a conftest.b 2>&5 || hard_links=no
8872 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8874 $as_echo "$hard_links" >&6; }
8875 if test "$hard_links" = no; then
8876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8877 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8890 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8893 allow_undefined_flag=
8894 always_export_symbols=no
8896 archive_expsym_cmds=
8897 compiler_needs_object=no
8898 enable_shared_with_static_runtimes=no
8899 export_dynamic_flag_spec=
8900 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8901 hardcode_automatic=no
8903 hardcode_direct_absolute=no
8904 hardcode_libdir_flag_spec=
8905 hardcode_libdir_separator=
8907 hardcode_shlibpath_var=unsupported
8909 link_all_deplibs=unknown
8912 old_archive_from_new_cmds=
8913 old_archive_from_expsyms_cmds=
8914 thread_safe_flag_spec=
8915 whole_archive_flag_spec=
8916 # include_expsyms should be a list of space-separated symbols to be *always*
8917 # included in the symbol list
8919 # exclude_expsyms can be an extended regexp of symbols to exclude
8920 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8921 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8922 # as well as any symbol that contains `d'.
8923 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8924 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8925 # platforms (ab)use it in PIC code, but their linkers get confused if
8926 # the symbol is explicitly referenced. Since portable code cannot
8927 # rely on this symbol name, it's probably fine to never include it in
8928 # preloaded symbol tables.
8929 # Exclude shared library initialization/finalization symbols.
8930 extract_expsyms_cmds=
8933 cygwin* | mingw* | pw32* | cegcc*)
8934 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8935 # When not using gcc, we currently assume that we are using
8936 # Microsoft Visual C++.
8937 if test "$GCC" != yes; then
8942 # we just hope/assume this is gcc and not c89 (= MSVC++)
8948 linux* | k*bsd*-gnu | gnu*)
8955 # On some targets, GNU ld is compatible enough with the native linker
8956 # that we're better off using the native interface for both.
8957 lt_use_gnu_ld_interface=no
8958 if test "$with_gnu_ld" = yes; then
8961 # The AIX port of GNU ld has always aspired to compatibility
8962 # with the native linker. However, as the warning in the GNU ld
8963 # block says, versions before 2.19.5* couldn't really create working
8964 # shared libraries, regardless of the interface used.
8965 case `$LD -v 2>&1` in
8966 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8967 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8968 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8970 lt_use_gnu_ld_interface=yes
8975 lt_use_gnu_ld_interface=yes
8980 if test "$lt_use_gnu_ld_interface" = yes; then
8981 # If archive_cmds runs LD, not CC, wlarc should be empty
8984 # Set some defaults for GNU ld with shared library support. These
8985 # are reset later if shared libraries are not supported. Putting them
8986 # here allows them to be overridden if necessary.
8987 runpath_var=LD_RUN_PATH
8988 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8989 export_dynamic_flag_spec='${wl}--export-dynamic'
8990 # ancient GNU ld didn't support --whole-archive et. al.
8991 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8992 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8994 whole_archive_flag_spec=
8996 supports_anon_versioning=no
8997 case `$LD -v 2>&1` in
8998 *GNU\ gold*) supports_anon_versioning=yes ;;
8999 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9000 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9001 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9002 *\ 2.11.*) ;; # other 2.11 versions
9003 *) supports_anon_versioning=yes ;;
9006 # See if GNU ld supports shared libraries.
9009 # On AIX/PPC, the GNU linker is very broken
9010 if test "$host_cpu" != ia64; then
9014 *** Warning: the GNU linker, at least up to release 2.19, is reported
9015 *** to be unable to reliably create shared libraries on AIX.
9016 *** Therefore, libtool is disabling shared libraries support. If you
9017 *** really care for shared libraries, you may want to install binutils
9018 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9019 *** You will then need to restart the configuration process.
9028 # see comment about AmigaOS4 .so support
9029 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9030 archive_expsym_cmds=''
9033 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)'
9034 hardcode_libdir_flag_spec='-L$libdir'
9035 hardcode_minus_L=yes
9041 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9042 allow_undefined_flag=unsupported
9043 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9044 # support --undefined. This deserves some investigation. FIXME
9045 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9051 cygwin* | mingw* | pw32* | cegcc*)
9052 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9053 # as there is no search path for DLLs.
9054 hardcode_libdir_flag_spec='-L$libdir'
9055 export_dynamic_flag_spec='${wl}--export-all-symbols'
9056 allow_undefined_flag=unsupported
9057 always_export_symbols=no
9058 enable_shared_with_static_runtimes=yes
9059 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'
9060 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9062 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9063 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9064 # If the export-symbols file already is a .def file (1st line
9065 # is EXPORTS), use it as is; otherwise, prepend...
9066 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9067 cp $export_symbols $output_objdir/$soname.def;
9069 echo EXPORTS > $output_objdir/$soname.def;
9070 cat $export_symbols >> $output_objdir/$soname.def;
9072 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9079 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9080 link_all_deplibs=yes
9085 hardcode_shlibpath_var=no
9086 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9087 export_dynamic_flag_spec='${wl}-E'
9088 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9089 # Instead, shared libraries are loaded at an image base (0x10000000 by
9090 # default) and relocated if they conflict, which is a slow very memory
9091 # consuming and fragmenting process. To avoid this, we pick a random,
9092 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9093 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9094 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9095 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'
9098 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9100 if test "$host_os" = linux-dietlibc; then
9101 case $cc_basename in
9102 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9105 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9106 && test "$tmp_diet" = no
9108 tmp_addflag=' $pic_flag'
9109 tmp_sharedflag='-shared'
9110 case $cc_basename,$host_cpu in
9111 pgcc*) # Portland Group C compiler
9112 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'
9113 tmp_addflag=' $pic_flag'
9115 pgf77* | pgf90* | pgf95* | pgfortran*)
9116 # Portland Group f77 and f90 compilers
9117 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'
9118 tmp_addflag=' $pic_flag -Mnomain' ;;
9119 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9120 tmp_addflag=' -i_dynamic' ;;
9121 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9122 tmp_addflag=' -i_dynamic -nofor_main' ;;
9123 ifc* | ifort*) # Intel Fortran compiler
9124 tmp_addflag=' -nofor_main' ;;
9125 lf95*) # Lahey Fortran 8.1
9126 whole_archive_flag_spec=
9127 tmp_sharedflag='--shared' ;;
9128 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9129 tmp_sharedflag='-qmkshrobj'
9131 nvcc*) # Cuda Compiler Driver 2.2
9132 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'
9133 compiler_needs_object=yes
9136 case `$CC -V 2>&1 | sed 5q` in
9137 *Sun\ C*) # Sun C 5.9
9138 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'
9139 compiler_needs_object=yes
9140 tmp_sharedflag='-G' ;;
9141 *Sun\ F*) # Sun Fortran 8.3
9142 tmp_sharedflag='-G' ;;
9144 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9146 if test "x$supports_anon_versioning" = xyes; then
9147 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9148 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9149 echo "local: *; };" >> $output_objdir/$libname.ver~
9150 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9153 case $cc_basename in
9154 xlf* | bgf* | bgxlf* | mpixlf*)
9155 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9156 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9157 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9158 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9159 if test "x$supports_anon_versioning" = xyes; then
9160 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9161 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9162 echo "local: *; };" >> $output_objdir/$libname.ver~
9163 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9172 netbsd* | netbsdelf*-gnu)
9173 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9174 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9177 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9178 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9183 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9187 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9188 *** create shared libraries on Solaris systems. Therefore, libtool
9189 *** is disabling shared libraries support. We urge you to upgrade GNU
9190 *** binutils to release 2.9.1 or newer. Another option is to modify
9191 *** your PATH or compiler configuration so that the native linker is
9192 *** used, and then restart.
9195 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9196 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9197 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9203 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9204 case `$LD -v 2>&1` in
9205 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9209 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9210 *** reliably create shared libraries on SCO systems. Therefore, libtool
9211 *** is disabling shared libraries support. We urge you to upgrade GNU
9212 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9213 *** your PATH or compiler configuration so that the native linker is
9214 *** used, and then restart.
9219 # For security reasons, it is highly recommended that you always
9220 # use absolute paths for naming shared libraries, and exclude the
9221 # DT_RUNPATH tag from executables and libraries. But doing so
9222 # requires that you compile everything twice, which is a pain.
9223 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9224 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9225 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9226 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9235 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9238 hardcode_shlibpath_var=no
9242 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9243 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9244 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9251 if test "$ld_shlibs" = no; then
9253 hardcode_libdir_flag_spec=
9254 export_dynamic_flag_spec=
9255 whole_archive_flag_spec=
9258 # PORTME fill in a description of your system's linker (not GNU ld)
9261 allow_undefined_flag=unsupported
9262 always_export_symbols=yes
9263 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'
9264 # Note: this linker hardcodes the directories in LIBPATH if there
9265 # are no directories specified by -L.
9266 hardcode_minus_L=yes
9267 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9268 # Neither direct hardcoding nor static linking is supported with a
9270 hardcode_direct=unsupported
9275 if test "$host_cpu" = ia64; then
9276 # On IA64, the linker does run time linking by default, so we don't
9277 # have to do anything special.
9278 aix_use_runtimelinking=no
9279 exp_sym_flag='-Bexport'
9282 # If we're using GNU nm, then we don't want the "-C" option.
9283 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9284 # Also, AIX nm treats weak defined symbols like other global
9285 # defined symbols, whereas GNU nm marks them as "W".
9286 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9287 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'
9289 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'
9291 aix_use_runtimelinking=no
9293 # Test if we are trying to use run time linking or normal
9294 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9295 # need to do runtime linking.
9296 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9297 for ld_flag in $LDFLAGS; do
9298 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9299 aix_use_runtimelinking=yes
9306 exp_sym_flag='-bexport'
9307 no_entry_flag='-bnoentry'
9310 # When large executables or shared objects are built, AIX ld can
9311 # have problems creating the table of contents. If linking a library
9312 # or program results in "error TOC overflow" add -mminimal-toc to
9313 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9314 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9318 hardcode_direct_absolute=yes
9319 hardcode_libdir_separator=':'
9320 link_all_deplibs=yes
9321 file_list_spec='${wl}-f,'
9323 if test "$GCC" = yes; then
9324 case $host_os in aix4.[012]|aix4.[012].*)
9325 # We only want to do this on AIX 4.2 and lower, the check
9326 # below for broken collect2 doesn't work under 4.3+
9327 collect2name=`${CC} -print-prog-name=collect2`
9328 if test -f "$collect2name" &&
9329 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9331 # We have reworked collect2
9334 # We have old collect2
9335 hardcode_direct=unsupported
9336 # It fails to find uninstalled libraries when the uninstalled
9337 # path is not listed in the libpath. Setting hardcode_minus_L
9338 # to unsupported forces relinking
9339 hardcode_minus_L=yes
9340 hardcode_libdir_flag_spec='-L$libdir'
9341 hardcode_libdir_separator=
9345 shared_flag='-shared'
9346 if test "$aix_use_runtimelinking" = yes; then
9347 shared_flag="$shared_flag "'${wl}-G'
9352 if test "$host_cpu" = ia64; then
9353 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9354 # chokes on -Wl,-G. The following line is correct:
9357 if test "$aix_use_runtimelinking" = yes; then
9358 shared_flag='${wl}-G'
9360 shared_flag='${wl}-bM:SRE'
9365 export_dynamic_flag_spec='${wl}-bexpall'
9366 # It seems that -bexpall does not export symbols beginning with
9367 # underscore (_), so it is better to generate a list of symbols to export.
9368 always_export_symbols=yes
9369 if test "$aix_use_runtimelinking" = yes; then
9370 # Warning - without using the other runtime loading flags (-brtl),
9371 # -berok will link without error, but may produce a broken library.
9372 allow_undefined_flag='-berok'
9373 # Determine the default libpath from the value encoded in an
9375 if test "${lt_cv_aix_libpath+set}" = set; then
9376 aix_libpath=$lt_cv_aix_libpath
9378 if ${lt_cv_aix_libpath_+:} false; then :
9379 $as_echo_n "(cached) " >&6
9381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9382 /* end confdefs.h. */
9392 if ac_fn_c_try_link "$LINENO"; then :
9394 lt_aix_libpath_sed='
9395 /Import File Strings/,/^$/ {
9397 s/^0 *\([^ ]*\) *$/\1/
9401 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9402 # Check for a 64-bit object if we didn't find anything.
9403 if test -z "$lt_cv_aix_libpath_"; then
9404 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9407 rm -f core conftest.err conftest.$ac_objext \
9408 conftest$ac_exeext conftest.$ac_ext
9409 if test -z "$lt_cv_aix_libpath_"; then
9410 lt_cv_aix_libpath_="/usr/lib:/lib"
9415 aix_libpath=$lt_cv_aix_libpath_
9418 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9419 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"
9421 if test "$host_cpu" = ia64; then
9422 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9423 allow_undefined_flag="-z nodefs"
9424 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"
9426 # Determine the default libpath from the value encoded in an
9428 if test "${lt_cv_aix_libpath+set}" = set; then
9429 aix_libpath=$lt_cv_aix_libpath
9431 if ${lt_cv_aix_libpath_+:} false; then :
9432 $as_echo_n "(cached) " >&6
9434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9435 /* end confdefs.h. */
9445 if ac_fn_c_try_link "$LINENO"; then :
9447 lt_aix_libpath_sed='
9448 /Import File Strings/,/^$/ {
9450 s/^0 *\([^ ]*\) *$/\1/
9454 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9455 # Check for a 64-bit object if we didn't find anything.
9456 if test -z "$lt_cv_aix_libpath_"; then
9457 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9460 rm -f core conftest.err conftest.$ac_objext \
9461 conftest$ac_exeext conftest.$ac_ext
9462 if test -z "$lt_cv_aix_libpath_"; then
9463 lt_cv_aix_libpath_="/usr/lib:/lib"
9468 aix_libpath=$lt_cv_aix_libpath_
9471 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9472 # Warning - without using the other run time loading flags,
9473 # -berok will link without error, but may produce a broken library.
9474 no_undefined_flag=' ${wl}-bernotok'
9475 allow_undefined_flag=' ${wl}-berok'
9476 if test "$with_gnu_ld" = yes; then
9477 # We only use this code for GNU lds that support --whole-archive.
9478 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9480 # Exported symbols can be pulled into shared objects from archives
9481 whole_archive_flag_spec='$convenience'
9483 archive_cmds_need_lc=yes
9484 # This is similar to how AIX traditionally builds its shared libraries.
9485 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'
9493 # see comment about AmigaOS4 .so support
9494 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9495 archive_expsym_cmds=''
9498 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)'
9499 hardcode_libdir_flag_spec='-L$libdir'
9500 hardcode_minus_L=yes
9506 export_dynamic_flag_spec=-rdynamic
9509 cygwin* | mingw* | pw32* | cegcc*)
9510 # When not using gcc, we currently assume that we are using
9511 # Microsoft Visual C++.
9512 # hardcode_libdir_flag_spec is actually meaningless, as there is
9513 # no search path for DLLs.
9514 case $cc_basename in
9517 hardcode_libdir_flag_spec=' '
9518 allow_undefined_flag=unsupported
9519 always_export_symbols=yes
9521 # Tell ltmain to make .lib files, not .a files.
9523 # Tell ltmain to make .dll files, not .so files.
9525 # FIXME: Setting linknames here is a bad hack.
9526 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9527 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9528 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9530 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9532 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9534 # The linker will not automatically build a static lib if we build a DLL.
9535 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9536 enable_shared_with_static_runtimes=yes
9537 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9538 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9540 old_postinstall_cmds='chmod 644 $oldlib'
9541 postlink_cmds='lt_outputfile="@OUTPUT@"~
9542 lt_tool_outputfile="@TOOL_OUTPUT@"~
9543 case $lt_outputfile in
9546 lt_outputfile="$lt_outputfile.exe"
9547 lt_tool_outputfile="$lt_tool_outputfile.exe"
9550 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9551 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9552 $RM "$lt_outputfile.manifest";
9556 # Assume MSVC wrapper
9557 hardcode_libdir_flag_spec=' '
9558 allow_undefined_flag=unsupported
9559 # Tell ltmain to make .lib files, not .a files.
9561 # Tell ltmain to make .dll files, not .so files.
9563 # FIXME: Setting linknames here is a bad hack.
9564 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9565 # The linker will automatically build a .lib file if we build a DLL.
9566 old_archive_from_new_cmds='true'
9567 # FIXME: Should let the user specify the lib program.
9568 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9569 enable_shared_with_static_runtimes=yes
9574 darwin* | rhapsody*)
9577 archive_cmds_need_lc=no
9579 hardcode_automatic=yes
9580 hardcode_shlibpath_var=unsupported
9581 if test "$lt_cv_ld_force_load" = "yes"; then
9582 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\"`'
9585 whole_archive_flag_spec=''
9587 link_all_deplibs=yes
9588 allow_undefined_flag="$_lt_dar_allow_undefined"
9589 case $cc_basename in
9590 ifort*) _lt_dar_can_shared=yes ;;
9591 *) _lt_dar_can_shared=$GCC ;;
9593 if test "$_lt_dar_can_shared" = "yes"; then
9594 output_verbose_link_cmd=func_echo_all
9595 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9596 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9597 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}"
9598 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}"
9607 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9608 hardcode_libdir_flag_spec='-L$libdir'
9609 hardcode_shlibpath_var=no
9612 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9613 # support. Future versions do this automatically, but an explicit c++rt0.o
9614 # does not break anything, and helps significantly (at the cost of a little
9617 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9618 hardcode_libdir_flag_spec='-R$libdir'
9620 hardcode_shlibpath_var=no
9623 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9625 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9627 hardcode_minus_L=yes
9628 hardcode_shlibpath_var=no
9631 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9632 freebsd* | dragonfly*)
9633 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9634 hardcode_libdir_flag_spec='-R$libdir'
9636 hardcode_shlibpath_var=no
9640 if test "$GCC" = yes; then
9641 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'
9643 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'
9645 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9646 hardcode_libdir_separator=:
9649 # hardcode_minus_L: Not really in the search PATH,
9650 # but as the default location of the library.
9651 hardcode_minus_L=yes
9652 export_dynamic_flag_spec='${wl}-E'
9656 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9657 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9659 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9661 if test "$with_gnu_ld" = no; then
9662 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9663 hardcode_libdir_separator=:
9665 hardcode_direct_absolute=yes
9666 export_dynamic_flag_spec='${wl}-E'
9667 # hardcode_minus_L: Not really in the search PATH,
9668 # but as the default location of the library.
9669 hardcode_minus_L=yes
9674 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9677 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9680 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9683 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9689 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9692 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9696 # Older versions of the 11.00 compiler do not understand -b yet
9697 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9699 $as_echo_n "checking if $CC understands -b... " >&6; }
9700 if ${lt_cv_prog_compiler__b+:} false; then :
9701 $as_echo_n "(cached) " >&6
9703 lt_cv_prog_compiler__b=no
9704 save_LDFLAGS="$LDFLAGS"
9705 LDFLAGS="$LDFLAGS -b"
9706 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9707 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9708 # The linker can only warn and ignore the option if not recognized
9709 # So say no if there are warnings
9710 if test -s conftest.err; then
9711 # Append any errors to the config.log.
9712 cat conftest.err 1>&5
9713 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9714 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9715 if diff conftest.exp conftest.er2 >/dev/null; then
9716 lt_cv_prog_compiler__b=yes
9719 lt_cv_prog_compiler__b=yes
9723 LDFLAGS="$save_LDFLAGS"
9726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9727 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9729 if test x"$lt_cv_prog_compiler__b" = xyes; then
9730 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9732 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9738 if test "$with_gnu_ld" = no; then
9739 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9740 hardcode_libdir_separator=:
9745 hardcode_shlibpath_var=no
9749 hardcode_direct_absolute=yes
9750 export_dynamic_flag_spec='${wl}-E'
9752 # hardcode_minus_L: Not really in the search PATH,
9753 # but as the default location of the library.
9754 hardcode_minus_L=yes
9760 irix5* | irix6* | nonstopux*)
9761 if test "$GCC" = yes; then
9762 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'
9763 # Try to use the -exported_symbol ld option, if it does not
9764 # work, assume that -exports_file does not work either and
9765 # implicitly export all symbols.
9766 # This should be the same for all languages, so no per-tag cache variable.
9767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9768 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9769 if ${lt_cv_irix_exported_symbol+:} false; then :
9770 $as_echo_n "(cached) " >&6
9772 save_LDFLAGS="$LDFLAGS"
9773 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9775 /* end confdefs.h. */
9776 int foo (void) { return 0; }
9778 if ac_fn_c_try_link "$LINENO"; then :
9779 lt_cv_irix_exported_symbol=yes
9781 lt_cv_irix_exported_symbol=no
9783 rm -f core conftest.err conftest.$ac_objext \
9784 conftest$ac_exeext conftest.$ac_ext
9785 LDFLAGS="$save_LDFLAGS"
9787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9788 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9789 if test "$lt_cv_irix_exported_symbol" = yes; then
9790 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'
9793 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'
9794 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'
9796 archive_cmds_need_lc='no'
9797 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9798 hardcode_libdir_separator=:
9800 link_all_deplibs=yes
9803 netbsd* | netbsdelf*-gnu)
9804 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9805 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9807 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9809 hardcode_libdir_flag_spec='-R$libdir'
9811 hardcode_shlibpath_var=no
9815 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9817 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9818 hardcode_libdir_separator=:
9819 hardcode_shlibpath_var=no
9826 if test -f /usr/libexec/ld.so; then
9828 hardcode_shlibpath_var=no
9829 hardcode_direct_absolute=yes
9830 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9831 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9832 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9833 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9834 export_dynamic_flag_spec='${wl}-E'
9837 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9838 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9839 hardcode_libdir_flag_spec='-R$libdir'
9842 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9843 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9853 hardcode_libdir_flag_spec='-L$libdir'
9854 hardcode_minus_L=yes
9855 allow_undefined_flag=unsupported
9856 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'
9857 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9861 if test "$GCC" = yes; then
9862 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9863 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'
9865 allow_undefined_flag=' -expect_unresolved \*'
9866 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'
9868 archive_cmds_need_lc='no'
9869 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9870 hardcode_libdir_separator=:
9873 osf4* | osf5*) # as osf3* with the addition of -msym flag
9874 if test "$GCC" = yes; then
9875 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9876 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'
9877 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9879 allow_undefined_flag=' -expect_unresolved \*'
9880 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'
9881 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~
9882 $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'
9884 # Both c and cxx compiler support -rpath directly
9885 hardcode_libdir_flag_spec='-rpath $libdir'
9887 archive_cmds_need_lc='no'
9888 hardcode_libdir_separator=:
9892 no_undefined_flag=' -z defs'
9893 if test "$GCC" = yes; then
9895 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9896 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9897 $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'
9899 case `$CC -V 2>&1` in
9902 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9903 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9904 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9908 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9909 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9910 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9914 hardcode_libdir_flag_spec='-R$libdir'
9915 hardcode_shlibpath_var=no
9917 solaris2.[0-5] | solaris2.[0-5].*) ;;
9919 # The compiler driver will combine and reorder linker options,
9920 # but understands `-z linker_flag'. GCC discards it without `$wl',
9921 # but is careful enough not to reorder.
9922 # Supported since Solaris 2.6 (maybe 2.5.1?)
9923 if test "$GCC" = yes; then
9924 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9926 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9930 link_all_deplibs=yes
9934 if test "x$host_vendor" = xsequent; then
9935 # Use $CC to link under sequent, because it throws in some extra .o
9936 # files that make .init and .fini sections work.
9937 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9939 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9941 hardcode_libdir_flag_spec='-L$libdir'
9943 hardcode_minus_L=yes
9944 hardcode_shlibpath_var=no
9948 case $host_vendor in
9950 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9951 hardcode_direct=yes # is this really true???
9954 ## LD is ld it makes a PLAMLIB
9955 ## CC just makes a GrossModule.
9956 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9957 reload_cmds='$CC -r -o $output$reload_objs'
9961 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9962 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9965 runpath_var='LD_RUN_PATH'
9966 hardcode_shlibpath_var=no
9970 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9971 hardcode_shlibpath_var=no
9972 export_dynamic_flag_spec='-Bexport'
9976 if test -d /usr/nec; then
9977 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9978 hardcode_shlibpath_var=no
9979 runpath_var=LD_RUN_PATH
9980 hardcode_runpath_var=yes
9985 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9986 no_undefined_flag='${wl}-z,text'
9987 archive_cmds_need_lc=no
9988 hardcode_shlibpath_var=no
9989 runpath_var='LD_RUN_PATH'
9991 if test "$GCC" = yes; then
9992 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9993 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9995 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9996 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10000 sysv5* | sco3.2v5* | sco5v6*)
10001 # Note: We can NOT use -z defs as we might desire, because we do not
10002 # link with -lc, and that would cause any symbols used from libc to
10003 # always be unresolved, which means just about no library would
10004 # ever link correctly. If we're not using GNU ld we use -z text
10005 # though, which does catch some bad symbols but isn't as heavy-handed
10007 no_undefined_flag='${wl}-z,text'
10008 allow_undefined_flag='${wl}-z,nodefs'
10009 archive_cmds_need_lc=no
10010 hardcode_shlibpath_var=no
10011 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10012 hardcode_libdir_separator=':'
10013 link_all_deplibs=yes
10014 export_dynamic_flag_spec='${wl}-Bexport'
10015 runpath_var='LD_RUN_PATH'
10017 if test "$GCC" = yes; then
10018 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10019 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10021 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10022 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10027 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10028 hardcode_libdir_flag_spec='-L$libdir'
10029 hardcode_shlibpath_var=no
10037 if test x$host_vendor = xsni; then
10039 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10040 export_dynamic_flag_spec='${wl}-Blargedynsym'
10046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10047 $as_echo "$ld_shlibs" >&6; }
10048 test "$ld_shlibs" = no && can_build_shared=no
10050 with_gnu_ld=$with_gnu_ld
10067 # Do we need to explicitly link libc?
10069 case "x$archive_cmds_need_lc" in
10071 # Assume -lc should be added
10072 archive_cmds_need_lc=yes
10074 if test "$enable_shared" = yes && test "$GCC" = yes; then
10075 case $archive_cmds in
10077 # FIXME: we may have to deal with multi-command sequences.
10080 # Test whether the compiler implicitly links with -lc since on some
10081 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10082 # to ld, don't add -lc before -lgcc.
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10084 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10085 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10086 $as_echo_n "(cached) " >&6
10089 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10091 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10092 (eval $ac_compile) 2>&5
10094 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10095 test $ac_status = 0; } 2>conftest.err; then
10098 libobjs=conftest.$ac_objext
10100 wl=$lt_prog_compiler_wl
10101 pic_flag=$lt_prog_compiler_pic
10107 lt_save_allow_undefined_flag=$allow_undefined_flag
10108 allow_undefined_flag=
10109 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10110 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10112 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10113 test $ac_status = 0; }
10115 lt_cv_archive_cmds_need_lc=no
10117 lt_cv_archive_cmds_need_lc=yes
10119 allow_undefined_flag=$lt_save_allow_undefined_flag
10121 cat conftest.err 1>&5
10126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10127 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10128 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10287 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10289 if test "$GCC" = yes; then
10291 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10292 *) lt_awk_arg="/^libraries:/" ;;
10295 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10296 *) lt_sed_strip_eq="s,=/,/,g" ;;
10298 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10299 case $lt_search_path_spec in
10301 # if the path contains ";" then we assume it to be the separator
10302 # otherwise default to the standard path separator (i.e. ":") - it is
10303 # assumed that no part of a normal pathname contains ";" but that should
10304 # okay in the real world where ";" in dirpaths is itself problematic.
10305 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10308 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10311 # Ok, now we have the path, separated by spaces, we can step through it
10312 # and add multilib dir if necessary.
10313 lt_tmp_lt_search_path_spec=
10314 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10315 for lt_sys_path in $lt_search_path_spec; do
10316 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10317 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10319 test -d "$lt_sys_path" && \
10320 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10323 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10324 BEGIN {RS=" "; FS="/|\n";} {
10327 for (lt_i = NF; lt_i > 0; lt_i--) {
10328 if ($lt_i != "" && $lt_i != ".") {
10329 if ($lt_i == "..") {
10332 if (lt_count == 0) {
10333 lt_foo="/" $lt_i lt_foo;
10340 if (lt_foo != "") { lt_freq[lt_foo]++; }
10341 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10343 # AWK program above erroneously prepends '/' to C:/dos/paths
10346 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10347 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10349 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10351 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10353 library_names_spec=
10354 libname_spec='lib$name'
10358 postuninstall_cmds=
10362 shlibpath_overrides_runpath=unknown
10364 dynamic_linker="$host_os ld.so"
10365 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10366 need_lib_prefix=unknown
10367 hardcode_into_libs=no
10369 # when you set need_version to no, make sure it does not cause -set_version
10370 # flags to be left without arguments
10371 need_version=unknown
10375 version_type=linux # correct to gnu/linux during the next big refactor
10376 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10377 shlibpath_var=LIBPATH
10379 # AIX 3 has no versioning support, so we append a major version to the name.
10380 soname_spec='${libname}${release}${shared_ext}$major'
10384 version_type=linux # correct to gnu/linux during the next big refactor
10387 hardcode_into_libs=yes
10388 if test "$host_cpu" = ia64; then
10389 # AIX 5 supports IA64
10390 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10391 shlibpath_var=LD_LIBRARY_PATH
10393 # With GCC up to 2.95.x, collect2 would create an import file
10394 # for dependence libraries. The import file would start with
10395 # the line `#! .'. This would cause the generated library to
10396 # depend on `.', always an invalid library. This was fixed in
10397 # development snapshots of GCC prior to 3.0.
10399 aix4 | aix4.[01] | aix4.[01].*)
10400 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10402 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10405 can_build_shared=no
10409 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10410 # soname into executable. Probably we can add versioning support to
10411 # collect2, so additional links can be useful in future.
10412 if test "$aix_use_runtimelinking" = yes; then
10413 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10414 # instead of lib<name>.a to let people know that these are not
10415 # typical AIX shared libraries.
10416 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10418 # We preserve .a as extension for shared libraries through AIX4.2
10419 # and later when we are not doing run time linking.
10420 library_names_spec='${libname}${release}.a $libname.a'
10421 soname_spec='${libname}${release}${shared_ext}$major'
10423 shlibpath_var=LIBPATH
10430 # Since July 2007 AmigaOS4 officially supports .so libraries.
10431 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10432 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10435 library_names_spec='$libname.ixlibrary $libname.a'
10436 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10437 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'
10443 library_names_spec='${libname}${shared_ext}'
10444 dynamic_linker="$host_os ld.so"
10445 shlibpath_var=LIBRARY_PATH
10449 version_type=linux # correct to gnu/linux during the next big refactor
10451 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10452 soname_spec='${libname}${release}${shared_ext}$major'
10453 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10454 shlibpath_var=LD_LIBRARY_PATH
10455 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10456 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10457 # the default ld.so.conf also contains /usr/contrib/lib and
10458 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10459 # libtool to hard-code these into programs
10462 cygwin* | mingw* | pw32* | cegcc*)
10463 version_type=windows
10468 case $GCC,$cc_basename in
10471 library_names_spec='$libname.dll.a'
10472 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10473 postinstall_cmds='base_file=`basename \${file}`~
10474 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10475 dldir=$destdir/`dirname \$dlpath`~
10476 test -d \$dldir || mkdir -p \$dldir~
10477 $install_prog $dir/$dlname \$dldir/$dlname~
10478 chmod a+x \$dldir/$dlname~
10479 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10480 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10482 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10483 dlpath=$dir/\$dldll~
10485 shlibpath_overrides_runpath=yes
10489 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10490 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10492 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10495 # MinGW DLLs use traditional 'lib' prefix
10496 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10499 # pw32 DLLs use 'pw' prefix rather than 'lib'
10500 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10503 dynamic_linker='Win32 ld.exe'
10508 libname_spec='$name'
10509 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10510 library_names_spec='${libname}.dll.lib'
10514 sys_lib_search_path_spec=
10517 for lt_path in $LIB
10520 # Let DOS variable expansion print the short 8.3 style file name.
10521 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10522 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10525 # Convert to MSYS style.
10526 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10529 # Convert to unix form, then to dos form, then back to unix form
10530 # but this time dos style (no spaces!) so that the unix form looks
10531 # like /cygdrive/c/PROGRA~1:/cygdr...
10532 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10533 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10534 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10537 sys_lib_search_path_spec="$LIB"
10538 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10539 # It is most probably a Windows format PATH.
10540 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10542 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10544 # FIXME: find the short name or the path components, as spaces are
10545 # common. (e.g. "Program Files" -> "PROGRA~1")
10549 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10550 postinstall_cmds='base_file=`basename \${file}`~
10551 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10552 dldir=$destdir/`dirname \$dlpath`~
10553 test -d \$dldir || mkdir -p \$dldir~
10554 $install_prog $dir/$dlname \$dldir/$dlname'
10555 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10556 dlpath=$dir/\$dldll~
10558 shlibpath_overrides_runpath=yes
10559 dynamic_linker='Win32 link.exe'
10563 # Assume MSVC wrapper
10564 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10565 dynamic_linker='Win32 ld.exe'
10568 # FIXME: first we should search . and the directory the executable is in
10572 darwin* | rhapsody*)
10573 dynamic_linker="$host_os dyld"
10574 version_type=darwin
10577 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10578 soname_spec='${libname}${release}${major}$shared_ext'
10579 shlibpath_overrides_runpath=yes
10580 shlibpath_var=DYLD_LIBRARY_PATH
10581 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10583 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10584 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10588 version_type=linux # correct to gnu/linux during the next big refactor
10591 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10592 soname_spec='${libname}${release}${shared_ext}$major'
10593 shlibpath_var=LD_LIBRARY_PATH
10596 freebsd* | dragonfly*)
10597 # DragonFly does not have aout. When/if they implement a new
10598 # versioning mechanism, adjust this.
10599 if test -x /usr/bin/objformat; then
10600 objformat=`/usr/bin/objformat`
10603 freebsd[23].*) objformat=aout ;;
10604 *) objformat=elf ;;
10607 version_type=freebsd-$objformat
10608 case $version_type in
10610 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10615 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10619 shlibpath_var=LD_LIBRARY_PATH
10622 shlibpath_overrides_runpath=yes
10624 freebsd3.[01]* | freebsdelf3.[01]*)
10625 shlibpath_overrides_runpath=yes
10626 hardcode_into_libs=yes
10628 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10629 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10630 shlibpath_overrides_runpath=no
10631 hardcode_into_libs=yes
10633 *) # from 4.6 on, and DragonFly
10634 shlibpath_overrides_runpath=yes
10635 hardcode_into_libs=yes
10641 version_type=linux # correct to gnu/linux during the next big refactor
10644 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10645 soname_spec='${libname}${release}${shared_ext}$major'
10646 shlibpath_var=LD_LIBRARY_PATH
10647 shlibpath_overrides_runpath=no
10648 hardcode_into_libs=yes
10652 version_type=linux # correct to gnu/linux during the next big refactor
10655 dynamic_linker="$host_os runtime_loader"
10656 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10657 soname_spec='${libname}${release}${shared_ext}$major'
10658 shlibpath_var=LIBRARY_PATH
10659 shlibpath_overrides_runpath=yes
10660 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10661 hardcode_into_libs=yes
10664 hpux9* | hpux10* | hpux11*)
10665 # Give a soname corresponding to the major version so that dld.sl refuses to
10666 # link against other versions.
10673 hardcode_into_libs=yes
10674 dynamic_linker="$host_os dld.so"
10675 shlibpath_var=LD_LIBRARY_PATH
10676 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10677 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10678 soname_spec='${libname}${release}${shared_ext}$major'
10679 if test "X$HPUX_IA64_MODE" = X32; then
10680 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10682 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10684 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10688 hardcode_into_libs=yes
10689 dynamic_linker="$host_os dld.sl"
10690 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10691 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10692 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10693 soname_spec='${libname}${release}${shared_ext}$major'
10694 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10695 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10699 dynamic_linker="$host_os dld.sl"
10700 shlibpath_var=SHLIB_PATH
10701 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10702 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10703 soname_spec='${libname}${release}${shared_ext}$major'
10706 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10707 postinstall_cmds='chmod 555 $lib'
10708 # or fails outright, so override atomically:
10709 install_override_mode=555
10713 version_type=linux # correct to gnu/linux during the next big refactor
10716 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10717 soname_spec='${libname}${release}${shared_ext}$major'
10718 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10719 shlibpath_var=LD_LIBRARY_PATH
10720 shlibpath_overrides_runpath=no
10721 hardcode_into_libs=yes
10724 irix5* | irix6* | nonstopux*)
10726 nonstopux*) version_type=nonstopux ;;
10728 if test "$lt_cv_prog_gnu_ld" = yes; then
10729 version_type=linux # correct to gnu/linux during the next big refactor
10736 soname_spec='${libname}${release}${shared_ext}$major'
10737 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10739 irix5* | nonstopux*)
10740 libsuff= shlibsuff=
10743 case $LD in # libtool.m4 will add one of these switches to LD
10744 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10745 libsuff= shlibsuff= libmagic=32-bit;;
10746 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10747 libsuff=32 shlibsuff=N32 libmagic=N32;;
10748 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10749 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10750 *) libsuff= shlibsuff= libmagic=never-match;;
10754 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10755 shlibpath_overrides_runpath=no
10756 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10757 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10758 hardcode_into_libs=yes
10761 # No shared lib support for Linux oldld, aout, or coff.
10762 linux*oldld* | linux*aout* | linux*coff*)
10766 # This must be glibc/ELF.
10767 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10768 version_type=linux # correct to gnu/linux during the next big refactor
10771 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10772 soname_spec='${libname}${release}${shared_ext}$major'
10773 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10774 shlibpath_var=LD_LIBRARY_PATH
10775 shlibpath_overrides_runpath=no
10777 # Some binutils ld are patched to set DT_RUNPATH
10778 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10779 $as_echo_n "(cached) " >&6
10781 lt_cv_shlibpath_overrides_runpath=no
10782 save_LDFLAGS=$LDFLAGS
10783 save_libdir=$libdir
10784 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10785 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10787 /* end confdefs.h. */
10797 if ac_fn_c_try_link "$LINENO"; then :
10798 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10799 lt_cv_shlibpath_overrides_runpath=yes
10802 rm -f core conftest.err conftest.$ac_objext \
10803 conftest$ac_exeext conftest.$ac_ext
10804 LDFLAGS=$save_LDFLAGS
10805 libdir=$save_libdir
10809 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10811 # This implies no fast_install, which is unacceptable.
10812 # Some rework will be needed to allow for fast_install
10813 # before this can be enabled.
10814 hardcode_into_libs=yes
10816 # Append ld.so.conf contents to the search path
10817 if test -f /etc/ld.so.conf; then
10818 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' ' '`
10819 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10822 # We used to test for /lib/ld.so.1 and disable shared libraries on
10823 # powerpc, because MkLinux only supported shared libraries with the
10824 # GNU dynamic linker. Since this was broken with cross compilers,
10825 # most powerpc-linux boxes support dynamic linking these days and
10826 # people can always --disable-shared, the test was removed, and we
10827 # assume the GNU/Linux dynamic linker is in use.
10828 dynamic_linker='GNU/Linux ld.so'
10835 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10836 soname_spec='${libname}${release}${shared_ext}$major'
10837 shlibpath_var=LD_LIBRARY_PATH
10838 shlibpath_overrides_runpath=no
10839 hardcode_into_libs=yes
10840 dynamic_linker='NetBSD ld.elf_so'
10847 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10848 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10849 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10850 dynamic_linker='NetBSD (a.out) ld.so'
10852 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10853 soname_spec='${libname}${release}${shared_ext}$major'
10854 dynamic_linker='NetBSD ld.elf_so'
10856 shlibpath_var=LD_LIBRARY_PATH
10857 shlibpath_overrides_runpath=yes
10858 hardcode_into_libs=yes
10862 version_type=linux # correct to gnu/linux during the next big refactor
10863 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10864 shlibpath_var=LD_LIBRARY_PATH
10865 shlibpath_overrides_runpath=yes
10872 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10873 soname_spec='${libname}${release}${shared_ext}$major'
10874 shlibpath_var=LD_LIBRARY_PATH
10875 shlibpath_overrides_runpath=no
10876 hardcode_into_libs=yes
10877 dynamic_linker='ldqnx.so'
10882 sys_lib_dlsearch_path_spec="/usr/lib"
10884 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10886 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10887 *) need_version=no ;;
10889 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10890 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10891 shlibpath_var=LD_LIBRARY_PATH
10892 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10894 openbsd2.[89] | openbsd2.[89].*)
10895 shlibpath_overrides_runpath=no
10898 shlibpath_overrides_runpath=yes
10902 shlibpath_overrides_runpath=yes
10907 libname_spec='$name'
10910 library_names_spec='$libname${shared_ext} $libname.a'
10911 dynamic_linker='OS/2 ld.exe'
10912 shlibpath_var=LIBPATH
10915 osf3* | osf4* | osf5*)
10919 soname_spec='${libname}${release}${shared_ext}$major'
10920 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10921 shlibpath_var=LD_LIBRARY_PATH
10922 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10923 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10931 version_type=linux # correct to gnu/linux during the next big refactor
10934 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10935 soname_spec='${libname}${release}${shared_ext}$major'
10936 shlibpath_var=LD_LIBRARY_PATH
10937 shlibpath_overrides_runpath=yes
10938 hardcode_into_libs=yes
10939 # ldd complains unless libraries are executable
10940 postinstall_cmds='chmod +x $lib'
10945 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10946 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10947 shlibpath_var=LD_LIBRARY_PATH
10948 shlibpath_overrides_runpath=yes
10949 if test "$with_gnu_ld" = yes; then
10956 version_type=linux # correct to gnu/linux during the next big refactor
10957 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10958 soname_spec='${libname}${release}${shared_ext}$major'
10959 shlibpath_var=LD_LIBRARY_PATH
10960 case $host_vendor in
10962 shlibpath_overrides_runpath=no
10964 runpath_var=LD_RUN_PATH
10972 shlibpath_overrides_runpath=no
10973 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10979 if test -d /usr/nec ;then
10980 version_type=linux # correct to gnu/linux during the next big refactor
10981 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10982 soname_spec='$libname${shared_ext}.$major'
10983 shlibpath_var=LD_LIBRARY_PATH
10987 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10988 version_type=freebsd-elf
10991 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10992 soname_spec='${libname}${release}${shared_ext}$major'
10993 shlibpath_var=LD_LIBRARY_PATH
10994 shlibpath_overrides_runpath=yes
10995 hardcode_into_libs=yes
10996 if test "$with_gnu_ld" = yes; then
10997 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10999 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11002 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11006 sys_lib_dlsearch_path_spec='/usr/lib'
11010 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11011 version_type=linux # correct to gnu/linux during the next big refactor
11014 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11015 shlibpath_var=LD_LIBRARY_PATH
11016 shlibpath_overrides_runpath=no
11017 hardcode_into_libs=yes
11021 version_type=linux # correct to gnu/linux during the next big refactor
11022 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11023 soname_spec='${libname}${release}${shared_ext}$major'
11024 shlibpath_var=LD_LIBRARY_PATH
11031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11032 $as_echo "$dynamic_linker" >&6; }
11033 test "$dynamic_linker" = no && can_build_shared=no
11035 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11036 if test "$GCC" = yes; then
11037 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11040 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11041 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11043 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11044 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11139 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11141 if test -n "$hardcode_libdir_flag_spec" ||
11142 test -n "$runpath_var" ||
11143 test "X$hardcode_automatic" = "Xyes" ; then
11145 # We can hardcode non-existent directories.
11146 if test "$hardcode_direct" != no &&
11147 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11148 # have to relink, otherwise we might link with an installed library
11149 # when we should be linking with a yet-to-be-installed one
11150 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11151 test "$hardcode_minus_L" != no; then
11152 # Linking always hardcodes the temporary library directory.
11153 hardcode_action=relink
11155 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11156 hardcode_action=immediate
11159 # We cannot hardcode anything, or else we can only hardcode existing
11161 hardcode_action=unsupported
11163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11164 $as_echo "$hardcode_action" >&6; }
11166 if test "$hardcode_action" = relink ||
11167 test "$inherit_rpath" = yes; then
11168 # Fast installation is not supported
11169 enable_fast_install=no
11170 elif test "$shlibpath_overrides_runpath" = yes ||
11171 test "$enable_shared" = no; then
11172 # Fast installation is not necessary
11173 enable_fast_install=needless
11181 if test "x$enable_dlopen" != xyes; then
11182 enable_dlopen=unknown
11183 enable_dlopen_self=unknown
11184 enable_dlopen_self_static=unknown
11191 lt_cv_dlopen="load_add_on"
11193 lt_cv_dlopen_self=yes
11196 mingw* | pw32* | cegcc*)
11197 lt_cv_dlopen="LoadLibrary"
11202 lt_cv_dlopen="dlopen"
11207 # if libdl is installed we need to link against it
11208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11209 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11210 if ${ac_cv_lib_dl_dlopen+:} false; then :
11211 $as_echo_n "(cached) " >&6
11213 ac_check_lib_save_LIBS=$LIBS
11215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11216 /* end confdefs.h. */
11218 /* Override any GCC internal prototype to avoid an error.
11219 Use char because int might match the return type of a GCC
11220 builtin and then its argument prototype would still apply. */
11233 if ac_fn_c_try_link "$LINENO"; then :
11234 ac_cv_lib_dl_dlopen=yes
11236 ac_cv_lib_dl_dlopen=no
11238 rm -f core conftest.err conftest.$ac_objext \
11239 conftest$ac_exeext conftest.$ac_ext
11240 LIBS=$ac_check_lib_save_LIBS
11242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11243 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11244 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11245 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11248 lt_cv_dlopen="dyld"
11250 lt_cv_dlopen_self=yes
11257 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11258 if test "x$ac_cv_func_shl_load" = xyes; then :
11259 lt_cv_dlopen="shl_load"
11261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11262 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11263 if ${ac_cv_lib_dld_shl_load+:} false; then :
11264 $as_echo_n "(cached) " >&6
11266 ac_check_lib_save_LIBS=$LIBS
11268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11269 /* end confdefs.h. */
11271 /* Override any GCC internal prototype to avoid an error.
11272 Use char because int might match the return type of a GCC
11273 builtin and then its argument prototype would still apply. */
11281 return shl_load ();
11286 if ac_fn_c_try_link "$LINENO"; then :
11287 ac_cv_lib_dld_shl_load=yes
11289 ac_cv_lib_dld_shl_load=no
11291 rm -f core conftest.err conftest.$ac_objext \
11292 conftest$ac_exeext conftest.$ac_ext
11293 LIBS=$ac_check_lib_save_LIBS
11295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11296 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11297 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11298 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11300 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11301 if test "x$ac_cv_func_dlopen" = xyes; then :
11302 lt_cv_dlopen="dlopen"
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11305 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11306 if ${ac_cv_lib_dl_dlopen+:} false; then :
11307 $as_echo_n "(cached) " >&6
11309 ac_check_lib_save_LIBS=$LIBS
11311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11312 /* end confdefs.h. */
11314 /* Override any GCC internal prototype to avoid an error.
11315 Use char because int might match the return type of a GCC
11316 builtin and then its argument prototype would still apply. */
11329 if ac_fn_c_try_link "$LINENO"; then :
11330 ac_cv_lib_dl_dlopen=yes
11332 ac_cv_lib_dl_dlopen=no
11334 rm -f core conftest.err conftest.$ac_objext \
11335 conftest$ac_exeext conftest.$ac_ext
11336 LIBS=$ac_check_lib_save_LIBS
11338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11339 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11340 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11341 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11344 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11345 if ${ac_cv_lib_svld_dlopen+:} false; then :
11346 $as_echo_n "(cached) " >&6
11348 ac_check_lib_save_LIBS=$LIBS
11349 LIBS="-lsvld $LIBS"
11350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11351 /* end confdefs.h. */
11353 /* Override any GCC internal prototype to avoid an error.
11354 Use char because int might match the return type of a GCC
11355 builtin and then its argument prototype would still apply. */
11368 if ac_fn_c_try_link "$LINENO"; then :
11369 ac_cv_lib_svld_dlopen=yes
11371 ac_cv_lib_svld_dlopen=no
11373 rm -f core conftest.err conftest.$ac_objext \
11374 conftest$ac_exeext conftest.$ac_ext
11375 LIBS=$ac_check_lib_save_LIBS
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11378 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11379 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11380 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11383 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11384 if ${ac_cv_lib_dld_dld_link+:} false; then :
11385 $as_echo_n "(cached) " >&6
11387 ac_check_lib_save_LIBS=$LIBS
11389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11390 /* end confdefs.h. */
11392 /* Override any GCC internal prototype to avoid an error.
11393 Use char because int might match the return type of a GCC
11394 builtin and then its argument prototype would still apply. */
11402 return dld_link ();
11407 if ac_fn_c_try_link "$LINENO"; then :
11408 ac_cv_lib_dld_dld_link=yes
11410 ac_cv_lib_dld_dld_link=no
11412 rm -f core conftest.err conftest.$ac_objext \
11413 conftest$ac_exeext conftest.$ac_ext
11414 LIBS=$ac_check_lib_save_LIBS
11416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11417 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11418 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11419 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11440 if test "x$lt_cv_dlopen" != xno; then
11446 case $lt_cv_dlopen in
11448 save_CPPFLAGS="$CPPFLAGS"
11449 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11451 save_LDFLAGS="$LDFLAGS"
11452 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11455 LIBS="$lt_cv_dlopen_libs $LIBS"
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11458 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11459 if ${lt_cv_dlopen_self+:} false; then :
11460 $as_echo_n "(cached) " >&6
11462 if test "$cross_compiling" = yes; then :
11463 lt_cv_dlopen_self=cross
11465 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11466 lt_status=$lt_dlunknown
11467 cat > conftest.$ac_ext <<_LT_EOF
11468 #line $LINENO "configure"
11469 #include "confdefs.h"
11478 # define LT_DLGLOBAL RTLD_GLOBAL
11481 # define LT_DLGLOBAL DL_GLOBAL
11483 # define LT_DLGLOBAL 0
11487 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11488 find out it does not work in some platform. */
11489 #ifndef LT_DLLAZY_OR_NOW
11491 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11494 # define LT_DLLAZY_OR_NOW DL_LAZY
11497 # define LT_DLLAZY_OR_NOW RTLD_NOW
11500 # define LT_DLLAZY_OR_NOW DL_NOW
11502 # define LT_DLLAZY_OR_NOW 0
11509 /* When -fvisbility=hidden is used, assume the code has been annotated
11510 correspondingly for the symbols needed. */
11511 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11512 int fnord () __attribute__((visibility("default")));
11515 int fnord () { return 42; }
11518 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11519 int status = $lt_dlunknown;
11523 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11526 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11527 else puts (dlerror ());
11529 /* dlclose (self); */
11537 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11538 (eval $ac_link) 2>&5
11540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11541 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11542 (./conftest; exit; ) >&5 2>/dev/null
11544 case x$lt_status in
11545 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11546 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11547 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11550 # compilation failed
11551 lt_cv_dlopen_self=no
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11559 $as_echo "$lt_cv_dlopen_self" >&6; }
11561 if test "x$lt_cv_dlopen_self" = xyes; then
11562 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11564 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11565 if ${lt_cv_dlopen_self_static+:} false; then :
11566 $as_echo_n "(cached) " >&6
11568 if test "$cross_compiling" = yes; then :
11569 lt_cv_dlopen_self_static=cross
11571 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11572 lt_status=$lt_dlunknown
11573 cat > conftest.$ac_ext <<_LT_EOF
11574 #line $LINENO "configure"
11575 #include "confdefs.h"
11584 # define LT_DLGLOBAL RTLD_GLOBAL
11587 # define LT_DLGLOBAL DL_GLOBAL
11589 # define LT_DLGLOBAL 0
11593 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11594 find out it does not work in some platform. */
11595 #ifndef LT_DLLAZY_OR_NOW
11597 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11600 # define LT_DLLAZY_OR_NOW DL_LAZY
11603 # define LT_DLLAZY_OR_NOW RTLD_NOW
11606 # define LT_DLLAZY_OR_NOW DL_NOW
11608 # define LT_DLLAZY_OR_NOW 0
11615 /* When -fvisbility=hidden is used, assume the code has been annotated
11616 correspondingly for the symbols needed. */
11617 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11618 int fnord () __attribute__((visibility("default")));
11621 int fnord () { return 42; }
11624 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11625 int status = $lt_dlunknown;
11629 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11632 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11633 else puts (dlerror ());
11635 /* dlclose (self); */
11643 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11644 (eval $ac_link) 2>&5
11646 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11647 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11648 (./conftest; exit; ) >&5 2>/dev/null
11650 case x$lt_status in
11651 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11652 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11653 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11656 # compilation failed
11657 lt_cv_dlopen_self_static=no
11664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11665 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11668 CPPFLAGS="$save_CPPFLAGS"
11669 LDFLAGS="$save_LDFLAGS"
11674 case $lt_cv_dlopen_self in
11675 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11676 *) enable_dlopen_self=unknown ;;
11679 case $lt_cv_dlopen_self_static in
11680 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11681 *) enable_dlopen_self_static=unknown ;;
11703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11704 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11705 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11706 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11707 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11709 $as_echo "yes" >&6; }
11711 # FIXME - insert some real tests, host_os isn't really good enough
11714 if test -n "$STRIP" ; then
11715 striplib="$STRIP -x"
11716 old_striplib="$STRIP -S"
11717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11718 $as_echo "yes" >&6; }
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11721 $as_echo "no" >&6; }
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11726 $as_echo "no" >&6; }
11742 # Report which library types will actually be built
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11744 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11746 $as_echo "$can_build_shared" >&6; }
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11749 $as_echo_n "checking whether to build shared libraries... " >&6; }
11750 test "$can_build_shared" = "no" && enable_shared=no
11752 # On AIX, shared libraries and static libraries use the same namespace, and
11753 # are all built from PIC.
11756 test "$enable_shared" = yes && enable_static=no
11757 if test -n "$RANLIB"; then
11758 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11759 postinstall_cmds='$RANLIB $lib'
11764 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11765 test "$enable_shared" = yes && enable_static=no
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11770 $as_echo "$enable_shared" >&6; }
11772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11773 $as_echo_n "checking whether to build static libraries... " >&6; }
11774 # Make sure either enable_shared or enable_static is yes.
11775 test "$enable_shared" = yes || enable_static=yes
11776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11777 $as_echo "$enable_static" >&6; }
11784 ac_cpp='$CPP $CPPFLAGS'
11785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11805 ac_config_commands="$ac_config_commands libtool"
11810 # Only expand once:
11814 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11815 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11819 cat >>confdefs.h <<_ACEOF
11824 cat >>confdefs.h <<_ACEOF
11829 cat >>confdefs.h <<_ACEOF
11834 cat >>confdefs.h <<_ACEOF
11838 version_info="8:5:7"
11842 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11843 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11847 ### Needed information
11853 want_econnman0_7x="yes"
11862 want_econnman0_7x="no"
11870 requirement_ebluez="edbus >= 1.7.5"
11871 requirement_econnman0_7x="edbus >= 1.7.5"
11872 requirement_edbus="ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62"
11873 requirement_ehal="edbus >= 1.7.5"
11874 requirement_enotify="edbus >= 1.7.5"
11875 requirement_eofono="edbus >= 1.7.5"
11876 requirement_eukit="edbus >= 1.7.5"
11878 ### Additional options to configure
11881 # Check whether --enable-ebluez was given.
11882 if test "${enable_ebluez+set}" = set; then :
11883 enableval=$enable_ebluez; enable_ebluez=$enableval
11885 enable_ebluez="${want_ebluez}"
11889 # Check whether --enable-econnman0_7x was given.
11890 if test "${enable_econnman0_7x+set}" = set; then :
11891 enableval=$enable_econnman0_7x; enable_econnman0_7x=$enableval
11893 enable_econnman0_7x="${want_econnman0_7x}"
11897 # Check whether --enable-ehal was given.
11898 if test "${enable_ehal+set}" = set; then :
11899 enableval=$enable_ehal; enable_ehal=$enableval
11901 enable_ehal="${want_ehal}"
11905 # Check whether --enable-enotify was given.
11906 if test "${enable_enotify+set}" = set; then :
11907 enableval=$enable_enotify; enable_enotify=$enableval
11909 enable_enotify="${want_enotify}"
11913 # Check whether --enable-eofono was given.
11914 if test "${enable_eofono+set}" = set; then :
11915 enableval=$enable_eofono; enable_eofono=$enableval
11917 enable_eofono="${want_eofono}"
11921 # Check whether --enable-eukit was given.
11922 if test "${enable_eukit+set}" = set; then :
11923 enableval=$enable_eukit; enable_eukit=$enableval
11925 enable_eukit="${want_eukit}"
11929 ### Checks for programs
11932 ac_cpp='$CPP $CPPFLAGS'
11933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11936 if test -n "$ac_tool_prefix"; then
11937 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11938 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11940 $as_echo_n "checking for $ac_word... " >&6; }
11941 if ${ac_cv_prog_CC+:} false; then :
11942 $as_echo_n "(cached) " >&6
11944 if test -n "$CC"; then
11945 ac_cv_prog_CC="$CC" # Let the user override the test.
11947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11948 for as_dir in $PATH
11951 test -z "$as_dir" && as_dir=.
11952 for ac_exec_ext in '' $ac_executable_extensions; do
11953 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11954 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11965 if test -n "$CC"; then
11966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11967 $as_echo "$CC" >&6; }
11969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11970 $as_echo "no" >&6; }
11975 if test -z "$ac_cv_prog_CC"; then
11977 # Extract the first word of "gcc", so it can be a program name with args.
11978 set dummy gcc; ac_word=$2
11979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11980 $as_echo_n "checking for $ac_word... " >&6; }
11981 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11982 $as_echo_n "(cached) " >&6
11984 if test -n "$ac_ct_CC"; then
11985 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11988 for as_dir in $PATH
11991 test -z "$as_dir" && as_dir=.
11992 for ac_exec_ext in '' $ac_executable_extensions; do
11993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11994 ac_cv_prog_ac_ct_CC="gcc"
11995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12004 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12005 if test -n "$ac_ct_CC"; then
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12007 $as_echo "$ac_ct_CC" >&6; }
12009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12010 $as_echo "no" >&6; }
12013 if test "x$ac_ct_CC" = x; then
12016 case $cross_compiling:$ac_tool_warned in
12018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12019 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12020 ac_tool_warned=yes ;;
12025 CC="$ac_cv_prog_CC"
12028 if test -z "$CC"; then
12029 if test -n "$ac_tool_prefix"; then
12030 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12031 set dummy ${ac_tool_prefix}cc; ac_word=$2
12032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12033 $as_echo_n "checking for $ac_word... " >&6; }
12034 if ${ac_cv_prog_CC+:} false; then :
12035 $as_echo_n "(cached) " >&6
12037 if test -n "$CC"; then
12038 ac_cv_prog_CC="$CC" # Let the user override the test.
12040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12041 for as_dir in $PATH
12044 test -z "$as_dir" && as_dir=.
12045 for ac_exec_ext in '' $ac_executable_extensions; do
12046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12047 ac_cv_prog_CC="${ac_tool_prefix}cc"
12048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12058 if test -n "$CC"; then
12059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12060 $as_echo "$CC" >&6; }
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12063 $as_echo "no" >&6; }
12069 if test -z "$CC"; then
12070 # Extract the first word of "cc", so it can be a program name with args.
12071 set dummy cc; ac_word=$2
12072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12073 $as_echo_n "checking for $ac_word... " >&6; }
12074 if ${ac_cv_prog_CC+:} false; then :
12075 $as_echo_n "(cached) " >&6
12077 if test -n "$CC"; then
12078 ac_cv_prog_CC="$CC" # Let the user override the test.
12080 ac_prog_rejected=no
12081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12082 for as_dir in $PATH
12085 test -z "$as_dir" && as_dir=.
12086 for ac_exec_ext in '' $ac_executable_extensions; do
12087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12088 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12089 ac_prog_rejected=yes
12093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12100 if test $ac_prog_rejected = yes; then
12101 # We found a bogon in the path, so make sure we never use it.
12102 set dummy $ac_cv_prog_CC
12104 if test $# != 0; then
12105 # We chose a different compiler from the bogus one.
12106 # However, it has the same basename, so the bogon will be chosen
12107 # first if we set CC to just the basename; use the full file name.
12109 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12115 if test -n "$CC"; then
12116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12117 $as_echo "$CC" >&6; }
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12120 $as_echo "no" >&6; }
12125 if test -z "$CC"; then
12126 if test -n "$ac_tool_prefix"; then
12127 for ac_prog in cl.exe
12129 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12130 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12132 $as_echo_n "checking for $ac_word... " >&6; }
12133 if ${ac_cv_prog_CC+:} false; then :
12134 $as_echo_n "(cached) " >&6
12136 if test -n "$CC"; then
12137 ac_cv_prog_CC="$CC" # Let the user override the test.
12139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12140 for as_dir in $PATH
12143 test -z "$as_dir" && as_dir=.
12144 for ac_exec_ext in '' $ac_executable_extensions; do
12145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12146 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12157 if test -n "$CC"; then
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12159 $as_echo "$CC" >&6; }
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12162 $as_echo "no" >&6; }
12166 test -n "$CC" && break
12169 if test -z "$CC"; then
12171 for ac_prog in cl.exe
12173 # Extract the first word of "$ac_prog", so it can be a program name with args.
12174 set dummy $ac_prog; ac_word=$2
12175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12176 $as_echo_n "checking for $ac_word... " >&6; }
12177 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12178 $as_echo_n "(cached) " >&6
12180 if test -n "$ac_ct_CC"; then
12181 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12184 for as_dir in $PATH
12187 test -z "$as_dir" && as_dir=.
12188 for ac_exec_ext in '' $ac_executable_extensions; do
12189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12190 ac_cv_prog_ac_ct_CC="$ac_prog"
12191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12200 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12201 if test -n "$ac_ct_CC"; then
12202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12203 $as_echo "$ac_ct_CC" >&6; }
12205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12206 $as_echo "no" >&6; }
12210 test -n "$ac_ct_CC" && break
12213 if test "x$ac_ct_CC" = x; then
12216 case $cross_compiling:$ac_tool_warned in
12218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12219 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12220 ac_tool_warned=yes ;;
12229 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12230 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12231 as_fn_error $? "no acceptable C compiler found in \$PATH
12232 See \`config.log' for more details" "$LINENO" 5; }
12234 # Provide some information about the compiler.
12235 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12238 for ac_option in --version -v -V -qversion; do
12239 { { ac_try="$ac_compiler $ac_option >&5"
12240 case "(($ac_try" in
12241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12242 *) ac_try_echo=$ac_try;;
12244 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12245 $as_echo "$ac_try_echo"; } >&5
12246 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12248 if test -s conftest.err; then
12250 ... rest of stderr output deleted ...
12251 10q' conftest.err >conftest.er1
12252 cat conftest.er1 >&5
12254 rm -f conftest.er1 conftest.err
12255 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12256 test $ac_status = 0; }
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12260 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12261 if ${ac_cv_c_compiler_gnu+:} false; then :
12262 $as_echo_n "(cached) " >&6
12264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12265 /* end confdefs.h. */
12278 if ac_fn_c_try_compile "$LINENO"; then :
12279 ac_compiler_gnu=yes
12283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12284 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12288 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12289 if test $ac_compiler_gnu = yes; then
12294 ac_test_CFLAGS=${CFLAGS+set}
12295 ac_save_CFLAGS=$CFLAGS
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12297 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12298 if ${ac_cv_prog_cc_g+:} false; then :
12299 $as_echo_n "(cached) " >&6
12301 ac_save_c_werror_flag=$ac_c_werror_flag
12302 ac_c_werror_flag=yes
12305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12306 /* end confdefs.h. */
12316 if ac_fn_c_try_compile "$LINENO"; then :
12317 ac_cv_prog_cc_g=yes
12320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12321 /* end confdefs.h. */
12331 if ac_fn_c_try_compile "$LINENO"; then :
12334 ac_c_werror_flag=$ac_save_c_werror_flag
12336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12337 /* end confdefs.h. */
12347 if ac_fn_c_try_compile "$LINENO"; then :
12348 ac_cv_prog_cc_g=yes
12350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12355 ac_c_werror_flag=$ac_save_c_werror_flag
12357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12358 $as_echo "$ac_cv_prog_cc_g" >&6; }
12359 if test "$ac_test_CFLAGS" = set; then
12360 CFLAGS=$ac_save_CFLAGS
12361 elif test $ac_cv_prog_cc_g = yes; then
12362 if test "$GCC" = yes; then
12368 if test "$GCC" = yes; then
12374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12375 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12376 if ${ac_cv_prog_cc_c89+:} false; then :
12377 $as_echo_n "(cached) " >&6
12379 ac_cv_prog_cc_c89=no
12381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12382 /* end confdefs.h. */
12383 #include <stdarg.h>
12385 #include <sys/types.h>
12386 #include <sys/stat.h>
12387 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12388 struct buf { int x; };
12389 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12390 static char *e (p, i)
12396 static char *f (char * (*g) (char **, int), char **p, ...)
12401 s = g (p, va_arg (v,int));
12406 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12407 function prototypes and stuff, but not '\xHH' hex character constants.
12408 These don't provoke an error unfortunately, instead are silently treated
12409 as 'x'. The following induces an error, until -std is added to get
12410 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12411 array size at least. It's necessary to write '\x00'==0 to get something
12412 that's true only with -std. */
12413 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12415 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12416 inside strings and character constants. */
12418 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12420 int test (int i, double x);
12421 struct s1 {int (*f) (int a);};
12422 struct s2 {int (*f) (double a);};
12423 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12429 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12434 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12435 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12437 CC="$ac_save_CC $ac_arg"
12438 if ac_fn_c_try_compile "$LINENO"; then :
12439 ac_cv_prog_cc_c89=$ac_arg
12441 rm -f core conftest.err conftest.$ac_objext
12442 test "x$ac_cv_prog_cc_c89" != "xno" && break
12444 rm -f conftest.$ac_ext
12449 case "x$ac_cv_prog_cc_c89" in
12451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12452 $as_echo "none needed" >&6; } ;;
12454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12455 $as_echo "unsupported" >&6; } ;;
12457 CC="$CC $ac_cv_prog_cc_c89"
12458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12459 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12461 if test "x$ac_cv_prog_cc_c89" != xno; then :
12466 ac_cpp='$CPP $CPPFLAGS'
12467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12471 depcc="$CC" am_compiler_list=
12473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12474 $as_echo_n "checking dependency style of $depcc... " >&6; }
12475 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12476 $as_echo_n "(cached) " >&6
12478 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12479 # We make a subdir and do the tests there. Otherwise we can end up
12480 # making bogus files that we don't know about and never remove. For
12481 # instance it was reported that on HP-UX the gcc test will end up
12482 # making a dummy file named `D' -- because `-MD' means `put the output
12484 rm -rf conftest.dir
12486 # Copy depcomp to subdir because otherwise we won't find it if we're
12487 # using a relative directory.
12488 cp "$am_depcomp" conftest.dir
12490 # We will build objects and dependencies in a subdirectory because
12491 # it helps to detect inapplicable dependency modes. For instance
12492 # both Tru64's cc and ICC support -MD to output dependencies as a
12493 # side effect of compilation, but ICC will put the dependencies in
12494 # the current directory while Tru64 will put them in the object
12498 am_cv_CC_dependencies_compiler_type=none
12499 if test "$am_compiler_list" = ""; then
12500 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12502 am__universal=false
12503 case " $depcc " in #(
12504 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12507 for depmode in $am_compiler_list; do
12508 # Setup a source with many dependencies, because some compilers
12509 # like to wrap large dependency lists on column 80 (with \), and
12510 # we should not choose a depcomp mode which is confused by this.
12512 # We need to recreate these files for each test, as the compiler may
12513 # overwrite some of them when testing with obscure command lines.
12514 # This happens at least with the AIX C compiler.
12516 for i in 1 2 3 4 5 6; do
12517 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12518 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12519 # Solaris 8's {/usr,}/bin/sh.
12520 touch sub/conftst$i.h
12522 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12524 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12525 # mode. It turns out that the SunPro C++ compiler does not properly
12526 # handle `-M -o', and we need to detect this. Also, some Intel
12527 # versions had trouble with output in subdirs
12528 am__obj=sub/conftest.${OBJEXT-o}
12529 am__minus_obj="-o $am__obj"
12532 # This depmode causes a compiler race in universal mode.
12533 test "$am__universal" = false || continue
12536 # after this tag, mechanisms are not by side-effect, so they'll
12537 # only be used when explicitly requested
12538 if test "x$enable_dependency_tracking" = xyes; then
12544 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12545 # This compiler won't grok `-c -o', but also, the minuso test has
12546 # not run yet. These depmodes are late enough in the game, and
12547 # so weak that their functioning should not be impacted.
12548 am__obj=conftest.${OBJEXT-o}
12553 if depmode=$depmode \
12554 source=sub/conftest.c object=$am__obj \
12555 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12556 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12557 >/dev/null 2>conftest.err &&
12558 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12559 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12560 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12561 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12562 # icc doesn't choke on unknown options, it will just issue warnings
12563 # or remarks (even with -Werror). So we grep stderr for any message
12564 # that says an option was ignored or not supported.
12565 # When given -MP, icc 7.0 and 7.1 complain thusly:
12566 # icc: Command line warning: ignoring option '-M'; no argument required
12567 # The diagnosis changed in icc 8.0:
12568 # icc: Command line remark: option '-MP' not supported
12569 if (grep 'ignoring option' conftest.err ||
12570 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12571 am_cv_CC_dependencies_compiler_type=$depmode
12578 rm -rf conftest.dir
12580 am_cv_CC_dependencies_compiler_type=none
12584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12585 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12586 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12589 test "x$enable_dependency_tracking" != xno \
12590 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12591 am__fastdepCC_TRUE=
12592 am__fastdepCC_FALSE='#'
12594 am__fastdepCC_TRUE='#'
12595 am__fastdepCC_FALSE=
12599 if test "x$CC" != xcc; then
12600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
12601 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
12603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
12604 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
12606 set dummy $CC; ac_cc=`$as_echo "$2" |
12607 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12608 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
12609 $as_echo_n "(cached) " >&6
12611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12612 /* end confdefs.h. */
12622 # Make sure it works both with $CC and with simple cc.
12623 # We do the test twice because some compilers refuse to overwrite an
12624 # existing .o file with -o, though they will create one.
12625 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12627 if { { case "(($ac_try" in
12628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12629 *) ac_try_echo=$ac_try;;
12631 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12632 $as_echo "$ac_try_echo"; } >&5
12633 (eval "$ac_try") 2>&5
12635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12636 test $ac_status = 0; } &&
12637 test -f conftest2.$ac_objext && { { case "(($ac_try" in
12638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12639 *) ac_try_echo=$ac_try;;
12641 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12642 $as_echo "$ac_try_echo"; } >&5
12643 (eval "$ac_try") 2>&5
12645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12646 test $ac_status = 0; };
12648 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
12649 if test "x$CC" != xcc; then
12650 # Test first that cc exists at all.
12651 if { ac_try='cc -c conftest.$ac_ext >&5'
12652 { { case "(($ac_try" in
12653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12654 *) ac_try_echo=$ac_try;;
12656 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12657 $as_echo "$ac_try_echo"; } >&5
12658 (eval "$ac_try") 2>&5
12660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12661 test $ac_status = 0; }; }; then
12662 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12664 if { { case "(($ac_try" in
12665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12666 *) ac_try_echo=$ac_try;;
12668 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12669 $as_echo "$ac_try_echo"; } >&5
12670 (eval "$ac_try") 2>&5
12672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12673 test $ac_status = 0; } &&
12674 test -f conftest2.$ac_objext && { { case "(($ac_try" in
12675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12676 *) ac_try_echo=$ac_try;;
12678 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12679 $as_echo "$ac_try_echo"; } >&5
12680 (eval "$ac_try") 2>&5
12682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12683 test $ac_status = 0; };
12688 # cc exists but doesn't like -o.
12689 eval ac_cv_prog_cc_${ac_cc}_c_o=no
12694 eval ac_cv_prog_cc_${ac_cc}_c_o=no
12696 rm -f core conftest*
12699 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
12700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12701 $as_echo "yes" >&6; }
12703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12704 $as_echo "no" >&6; }
12706 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
12710 # FIXME: we rely on the cache variable name because
12711 # there is no other way.
12713 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12714 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
12715 if test "$am_t" != yes; then
12716 # Losing compiler, so override with the script.
12717 # FIXME: It is wrong to rewrite CC.
12718 # But if we don't then we get into trouble of one sort or another.
12719 # A longer-term fix would be to have automake use am__CC in this case,
12720 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12721 CC="$am_aux_dir/compile $CC"
12734 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12735 if test -n "$ac_tool_prefix"; then
12736 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12737 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12739 $as_echo_n "checking for $ac_word... " >&6; }
12740 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12741 $as_echo_n "(cached) " >&6
12743 case $PKG_CONFIG in
12745 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12749 for as_dir in $PATH
12752 test -z "$as_dir" && as_dir=.
12753 for ac_exec_ext in '' $ac_executable_extensions; do
12754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12755 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12766 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12767 if test -n "$PKG_CONFIG"; then
12768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12769 $as_echo "$PKG_CONFIG" >&6; }
12771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12772 $as_echo "no" >&6; }
12777 if test -z "$ac_cv_path_PKG_CONFIG"; then
12778 ac_pt_PKG_CONFIG=$PKG_CONFIG
12779 # Extract the first word of "pkg-config", so it can be a program name with args.
12780 set dummy pkg-config; ac_word=$2
12781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12782 $as_echo_n "checking for $ac_word... " >&6; }
12783 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12784 $as_echo_n "(cached) " >&6
12786 case $ac_pt_PKG_CONFIG in
12788 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12792 for as_dir in $PATH
12795 test -z "$as_dir" && as_dir=.
12796 for ac_exec_ext in '' $ac_executable_extensions; do
12797 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12798 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12809 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12810 if test -n "$ac_pt_PKG_CONFIG"; then
12811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12812 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12815 $as_echo "no" >&6; }
12818 if test "x$ac_pt_PKG_CONFIG" = x; then
12821 case $cross_compiling:$ac_tool_warned in
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12824 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12825 ac_tool_warned=yes ;;
12827 PKG_CONFIG=$ac_pt_PKG_CONFIG
12830 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12834 if test -n "$PKG_CONFIG"; then
12835 _pkg_min_version=0.9.0
12836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12837 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12838 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12840 $as_echo "yes" >&6; }
12842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12843 $as_echo "no" >&6; }
12848 # Check whether pkg-config supports Requires.private
12849 if $PKG_CONFIG --atleast-pkgconfig-version 0.22 ; then
12850 pkgconfig_requires_private="Requires.private"
12852 pkgconfig_requires_private="Requires"
12856 # doxygen program for documentation building
12859 # Check whether --enable-doc was given.
12860 if test "${enable_doc+set}" = set; then :
12861 enableval=$enable_doc;
12862 if test "x${enableval}" = "xyes" ; then
12863 efl_enable_doc="yes"
12865 efl_enable_doc="no"
12869 efl_enable_doc="yes"
12873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
12874 $as_echo_n "checking whether to build documentation... " >&6; }
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
12876 $as_echo "${efl_enable_doc}" >&6; }
12878 if test "x${efl_enable_doc}" = "xyes" ; then
12881 efl_doxygen="doxygen"
12884 # Check whether --with-doxygen was given.
12885 if test "${with_doxygen+set}" = set; then :
12886 withval=$with_doxygen;
12887 efl_doxygen=${withval}
12888 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
12889 set dummy ${efl_doxygen}; ac_word=$2
12890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12891 $as_echo_n "checking for $ac_word... " >&6; }
12892 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
12893 $as_echo_n "(cached) " >&6
12895 if test -n "$efl_have_doxygen"; then
12896 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
12898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12899 for as_dir in $PATH
12902 test -z "$as_dir" && as_dir=.
12903 for ac_exec_ext in '' $ac_executable_extensions; do
12904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12905 ac_cv_prog_efl_have_doxygen="yes"
12906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12913 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
12916 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
12917 if test -n "$efl_have_doxygen"; then
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
12919 $as_echo "$efl_have_doxygen" >&6; }
12921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12922 $as_echo "no" >&6; }
12926 if test "x${efl_have_doxygen}" = "xno" ; then
12928 echo "The doxygen program you specified:"
12929 echo "${efl_doxygen}"
12930 echo "was not found. Please check the path and make sure "
12931 echo "the program exists and is executable."
12932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
12933 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
12937 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
12938 set dummy ${efl_doxygen}; ac_word=$2
12939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12940 $as_echo_n "checking for $ac_word... " >&6; }
12941 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
12942 $as_echo_n "(cached) " >&6
12944 if test -n "$efl_have_doxygen"; then
12945 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
12947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12948 for as_dir in $PATH
12951 test -z "$as_dir" && as_dir=.
12952 for ac_exec_ext in '' $ac_executable_extensions; do
12953 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12954 ac_cv_prog_efl_have_doxygen="yes"
12955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12962 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
12965 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
12966 if test -n "$efl_have_doxygen"; then
12967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
12968 $as_echo "$efl_have_doxygen" >&6; }
12970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12971 $as_echo "no" >&6; }
12975 if test "x${efl_have_doxygen}" = "xno" ; then
12977 echo "The doxygen program was not found in your execute path."
12978 echo "You may have doxygen installed somewhere not covered by your path."
12980 echo "If this is the case make sure you have the packages installed, AND"
12981 echo "that the doxygen program is in your execute path (see your"
12982 echo "shell manual page on setting the \$PATH environment variable), OR"
12983 echo "alternatively, specify the program to use with --with-doxygen."
12984 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
12985 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
12991 efl_have_doxygen="no"
12996 if ! test "x${efl_have_doxygen}" = "xyes" ; then
12997 efl_enable_doc="no"
13000 if test "x${efl_have_doxygen}" = "xyes"; then
13001 EFL_BUILD_DOC_TRUE=
13002 EFL_BUILD_DOC_FALSE='#'
13004 EFL_BUILD_DOC_TRUE='#'
13005 EFL_BUILD_DOC_FALSE=
13009 if test "x$efl_have_doxygen" = "xyes"; then :
13017 ### Checks for libraries
13019 # Evil library for compilation on Windows
13023 if test -n "$PKG_CONFIG" && \
13024 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.7.5\""; } >&5
13025 ($PKG_CONFIG --exists --print-errors "evil >= 1.7.5") 2>&5
13027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13028 test $ac_status = 0; }; then
13032 $as_echo "#define HAVE_EVIL 1" >>confdefs.h
13034 requirement_edbus="${requirement_edbus} evil >= 1.7.5"
13040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
13041 $as_echo_n "checking for DBUS... " >&6; }
13043 if test -n "$DBUS_CFLAGS"; then
13044 pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
13045 elif test -n "$PKG_CONFIG"; then
13046 if test -n "$PKG_CONFIG" && \
13047 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 0.62\""; } >&5
13048 ($PKG_CONFIG --exists --print-errors "dbus-1 >= 0.62") 2>&5
13050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13051 test $ac_status = 0; }; then
13052 pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 0.62" 2>/dev/null`
13053 test "x$?" != "x0" && pkg_failed=yes
13060 if test -n "$DBUS_LIBS"; then
13061 pkg_cv_DBUS_LIBS="$DBUS_LIBS"
13062 elif test -n "$PKG_CONFIG"; then
13063 if test -n "$PKG_CONFIG" && \
13064 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 0.62\""; } >&5
13065 ($PKG_CONFIG --exists --print-errors "dbus-1 >= 0.62") 2>&5
13067 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13068 test $ac_status = 0; }; then
13069 pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 0.62" 2>/dev/null`
13070 test "x$?" != "x0" && pkg_failed=yes
13080 if test $pkg_failed = yes; then
13081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13082 $as_echo "no" >&6; }
13084 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13085 _pkg_short_errors_supported=yes
13087 _pkg_short_errors_supported=no
13089 if test $_pkg_short_errors_supported = yes; then
13090 DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-1 >= 0.62" 2>&1`
13092 DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-1 >= 0.62" 2>&1`
13094 # Put the nasty error message in config.log where it belongs
13095 echo "$DBUS_PKG_ERRORS" >&5
13097 as_fn_error $? "Package requirements (dbus-1 >= 0.62) were not met:
13101 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13102 installed software in a non-standard prefix.
13104 Alternatively, you may set the environment variables DBUS_CFLAGS
13105 and DBUS_LIBS to avoid the need to call pkg-config.
13106 See the pkg-config man page for more details." "$LINENO" 5
13107 elif test $pkg_failed = untried; then
13108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13109 $as_echo "no" >&6; }
13110 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13111 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13112 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13113 is in your PATH or set the PKG_CONFIG environment variable to the full
13114 path to pkg-config.
13116 Alternatively, you may set the environment variables DBUS_CFLAGS
13117 and DBUS_LIBS to avoid the need to call pkg-config.
13118 See the pkg-config man page for more details.
13120 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13121 See \`config.log' for more details" "$LINENO" 5; }
13123 DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
13124 DBUS_LIBS=$pkg_cv_DBUS_LIBS
13125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13126 $as_echo "yes" >&6; }
13132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS" >&5
13133 $as_echo_n "checking for EDBUS... " >&6; }
13135 if test -n "$EDBUS_CFLAGS"; then
13136 pkg_cv_EDBUS_CFLAGS="$EDBUS_CFLAGS"
13137 elif test -n "$PKG_CONFIG"; then
13138 if test -n "$PKG_CONFIG" && \
13139 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${requirement_edbus}\""; } >&5
13140 ($PKG_CONFIG --exists --print-errors "${requirement_edbus}") 2>&5
13142 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13143 test $ac_status = 0; }; then
13144 pkg_cv_EDBUS_CFLAGS=`$PKG_CONFIG --cflags "${requirement_edbus}" 2>/dev/null`
13145 test "x$?" != "x0" && pkg_failed=yes
13152 if test -n "$EDBUS_LIBS"; then
13153 pkg_cv_EDBUS_LIBS="$EDBUS_LIBS"
13154 elif test -n "$PKG_CONFIG"; then
13155 if test -n "$PKG_CONFIG" && \
13156 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${requirement_edbus}\""; } >&5
13157 ($PKG_CONFIG --exists --print-errors "${requirement_edbus}") 2>&5
13159 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13160 test $ac_status = 0; }; then
13161 pkg_cv_EDBUS_LIBS=`$PKG_CONFIG --libs "${requirement_edbus}" 2>/dev/null`
13162 test "x$?" != "x0" && pkg_failed=yes
13172 if test $pkg_failed = yes; then
13173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13174 $as_echo "no" >&6; }
13176 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13177 _pkg_short_errors_supported=yes
13179 _pkg_short_errors_supported=no
13181 if test $_pkg_short_errors_supported = yes; then
13182 EDBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "${requirement_edbus}" 2>&1`
13184 EDBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "${requirement_edbus}" 2>&1`
13186 # Put the nasty error message in config.log where it belongs
13187 echo "$EDBUS_PKG_ERRORS" >&5
13189 as_fn_error $? "Package requirements (${requirement_edbus}) were not met:
13193 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13194 installed software in a non-standard prefix.
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." "$LINENO" 5
13199 elif test $pkg_failed = untried; then
13200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13201 $as_echo "no" >&6; }
13202 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13203 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13204 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13205 is in your PATH or set the PKG_CONFIG environment variable to the full
13206 path to pkg-config.
13208 Alternatively, you may set the environment variables EDBUS_CFLAGS
13209 and EDBUS_LIBS to avoid the need to call pkg-config.
13210 See the pkg-config man page for more details.
13212 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13213 See \`config.log' for more details" "$LINENO" 5; }
13215 EDBUS_CFLAGS=$pkg_cv_EDBUS_CFLAGS
13216 EDBUS_LIBS=$pkg_cv_EDBUS_LIBS
13217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13218 $as_echo "yes" >&6; }
13222 # Find out the version of DBUS we're using
13223 dbus_version=`pkg-config --modversion dbus-1`
13224 DBUS_VERSION_MAJOR=`echo $dbus_version | awk -F. '{print $1}'`
13225 DBUS_VERSION_MINOR=`echo $dbus_version | awk -F. '{print $2}'`
13226 DBUS_VERSION_MICRO=`echo $dbus_version | awk -F. '{print $3}'`
13228 if test "z$DBUS_VERSION_MAJOR" = "z" ; then
13229 DBUS_VERSION_MAJOR="0"
13232 if test "z$DBUS_VERSION_MINOR" = "z" ; then
13233 DBUS_VERSION_MINOR="0"
13236 if test "z$DBUS_VERSION_MICRO" = "z" ; then
13237 DBUS_VERSION_MICRO="0"
13240 DBUS_VERSION_CFLAGS="$DBUS_VERSION_CFLAGS -DDBUS_VERSION_MAJOR=$DBUS_VERSION_MAJOR"
13241 DBUS_VERSION_CFLAGS="$DBUS_VERSION_CFLAGS -DDBUS_VERSION_MINOR=$DBUS_VERSION_MINOR"
13242 DBUS_VERSION_CFLAGS="$DBUS_VERSION_CFLAGS -DDBUS_VERSION_MICRO=$DBUS_VERSION_MICRO"
13245 # Dependencies for the libraries
13246 if test "x${enable_enotify}" = "xyes" ; then
13249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVAS" >&5
13250 $as_echo_n "checking for EVAS... " >&6; }
13252 if test -n "$EVAS_CFLAGS"; then
13253 pkg_cv_EVAS_CFLAGS="$EVAS_CFLAGS"
13254 elif test -n "$PKG_CONFIG"; then
13255 if test -n "$PKG_CONFIG" && \
13256 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas >= 1.7.5\""; } >&5
13257 ($PKG_CONFIG --exists --print-errors "evas >= 1.7.5") 2>&5
13259 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13260 test $ac_status = 0; }; then
13261 pkg_cv_EVAS_CFLAGS=`$PKG_CONFIG --cflags "evas >= 1.7.5" 2>/dev/null`
13262 test "x$?" != "x0" && pkg_failed=yes
13269 if test -n "$EVAS_LIBS"; then
13270 pkg_cv_EVAS_LIBS="$EVAS_LIBS"
13271 elif test -n "$PKG_CONFIG"; then
13272 if test -n "$PKG_CONFIG" && \
13273 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas >= 1.7.5\""; } >&5
13274 ($PKG_CONFIG --exists --print-errors "evas >= 1.7.5") 2>&5
13276 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13277 test $ac_status = 0; }; then
13278 pkg_cv_EVAS_LIBS=`$PKG_CONFIG --libs "evas >= 1.7.5" 2>/dev/null`
13279 test "x$?" != "x0" && pkg_failed=yes
13289 if test $pkg_failed = yes; then
13290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13291 $as_echo "no" >&6; }
13293 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13294 _pkg_short_errors_supported=yes
13296 _pkg_short_errors_supported=no
13298 if test $_pkg_short_errors_supported = yes; then
13299 EVAS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "evas >= 1.7.5" 2>&1`
13301 EVAS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "evas >= 1.7.5" 2>&1`
13303 # Put the nasty error message in config.log where it belongs
13304 echo "$EVAS_PKG_ERRORS" >&5
13306 enable_enotify="no"
13307 elif test $pkg_failed = untried; then
13308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13309 $as_echo "no" >&6; }
13310 enable_enotify="no"
13312 EVAS_CFLAGS=$pkg_cv_EVAS_CFLAGS
13313 EVAS_LIBS=$pkg_cv_EVAS_LIBS
13314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13315 $as_echo "yes" >&6; }
13316 requirement_enotify="evas >= 1.7.5 ${requirement_enotify}"
13320 if test "x${enable_ebluez}" = "xyes"; then
13322 BUILD_EBLUEZ_FALSE='#'
13324 BUILD_EBLUEZ_TRUE='#'
13325 BUILD_EBLUEZ_FALSE=
13328 if test "x${enable_econnman0_7x}" = "xyes"; then
13329 BUILD_ECONNMAN0_7X_TRUE=
13330 BUILD_ECONNMAN0_7X_FALSE='#'
13332 BUILD_ECONNMAN0_7X_TRUE='#'
13333 BUILD_ECONNMAN0_7X_FALSE=
13336 if test "x${enable_ehal}" = "xyes"; then
13338 BUILD_EHAL_FALSE='#'
13340 BUILD_EHAL_TRUE='#'
13344 if test "x${enable_enotify}" = "xyes"; then
13345 BUILD_ENOTIFY_TRUE=
13346 BUILD_ENOTIFY_FALSE='#'
13348 BUILD_ENOTIFY_TRUE='#'
13349 BUILD_ENOTIFY_FALSE=
13352 if test "x${enable_eofono}" = "xyes"; then
13354 BUILD_EOFONO_FALSE='#'
13356 BUILD_EOFONO_TRUE='#'
13357 BUILD_EOFONO_FALSE=
13360 if test "x${enable_eukit}" = "xyes"; then
13362 BUILD_EUKIT_FALSE='#'
13364 BUILD_EUKIT_TRUE='#'
13369 # Dependencies for the binaries
13375 # Check whether --enable-edbus-test was given.
13376 if test "${enable_edbus_test+set}" = set; then :
13377 enableval=$enable_edbus_test;
13378 if test "x${enableval}" = "xyes" ; then
13379 have_edbus_test="yes"
13381 have_edbus_test="no"
13385 have_edbus_test="yes"
13389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_test binary" >&5
13390 $as_echo_n "checking whether to build edbus_test binary... " >&6; }
13391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_test" >&5
13392 $as_echo "$have_edbus_test" >&6; }
13394 if test "x$have_edbus_test" = "xyes"; then
13395 EDBUS_TEST_PRG=edbus_test${EXEEXT}
13400 if test "x$have_edbus_test" = "xyes"; then
13401 BUILD_EDBUS_TEST_TRUE=
13402 BUILD_EDBUS_TEST_FALSE='#'
13404 BUILD_EDBUS_TEST_TRUE='#'
13405 BUILD_EDBUS_TEST_FALSE=
13409 if test "x$have_edbus_test" = "xyes"; then :
13418 # Check whether --enable-edbus-test-client was given.
13419 if test "${enable_edbus_test_client+set}" = set; then :
13420 enableval=$enable_edbus_test_client;
13421 if test "x${enableval}" = "xyes" ; then
13422 have_edbus_test_client="yes"
13424 have_edbus_test_client="no"
13428 have_edbus_test_client="yes"
13432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_test_client binary" >&5
13433 $as_echo_n "checking whether to build edbus_test_client binary... " >&6; }
13434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_test_client" >&5
13435 $as_echo "$have_edbus_test_client" >&6; }
13437 if test "x$have_edbus_test_client" = "xyes"; then
13438 EDBUS_TEST_CLIENT_PRG=edbus_test_client${EXEEXT}
13443 if test "x$have_edbus_test_client" = "xyes"; then
13444 BUILD_EDBUS_TEST_CLIENT_TRUE=
13445 BUILD_EDBUS_TEST_CLIENT_FALSE='#'
13447 BUILD_EDBUS_TEST_CLIENT_TRUE='#'
13448 BUILD_EDBUS_TEST_CLIENT_FALSE=
13452 if test "x$have_edbus_test_client" = "xyes"; then :
13461 # Check whether --enable-edbus-bluez-test was given.
13462 if test "${enable_edbus_bluez_test+set}" = set; then :
13463 enableval=$enable_edbus_bluez_test;
13464 if test "x${enableval}" = "xyes" ; then
13465 have_edbus_bluez_test="yes"
13467 have_edbus_bluez_test="no"
13471 have_edbus_bluez_test=${enable_ebluez}
13475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_bluez_test binary" >&5
13476 $as_echo_n "checking whether to build edbus_bluez_test binary... " >&6; }
13477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_bluez_test" >&5
13478 $as_echo "$have_edbus_bluez_test" >&6; }
13480 if test "x$have_edbus_bluez_test" = "xyes"; then
13481 EDBUS_BLUEZ_TEST_PRG=edbus_bluez_test${EXEEXT}
13486 if test "x$have_edbus_bluez_test" = "xyes"; then
13487 BUILD_EDBUS_BLUEZ_TEST_TRUE=
13488 BUILD_EDBUS_BLUEZ_TEST_FALSE='#'
13490 BUILD_EDBUS_BLUEZ_TEST_TRUE='#'
13491 BUILD_EDBUS_BLUEZ_TEST_FALSE=
13495 if test "x$have_edbus_bluez_test" = "xyes"; then :
13504 # Check whether --enable-edbus-connman0_7x-test was given.
13505 if test "${enable_edbus_connman0_7x_test+set}" = set; then :
13506 enableval=$enable_edbus_connman0_7x_test;
13507 if test "x${enableval}" = "xyes" ; then
13508 have_edbus_connman0_7x_test="yes"
13510 have_edbus_connman0_7x_test="no"
13514 have_edbus_connman0_7x_test=${enable_econnman0_7x}
13518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_connman0_7x_test binary" >&5
13519 $as_echo_n "checking whether to build edbus_connman0_7x_test binary... " >&6; }
13520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_connman0_7x_test" >&5
13521 $as_echo "$have_edbus_connman0_7x_test" >&6; }
13523 if test "x$have_edbus_connman0_7x_test" = "xyes"; then
13524 EDBUS_CONNMAN0_7X_TEST_PRG=edbus_connman0_7x_test${EXEEXT}
13529 if test "x$have_edbus_connman0_7x_test" = "xyes"; then
13530 BUILD_EDBUS_CONNMAN0_7X_TEST_TRUE=
13531 BUILD_EDBUS_CONNMAN0_7X_TEST_FALSE='#'
13533 BUILD_EDBUS_CONNMAN0_7X_TEST_TRUE='#'
13534 BUILD_EDBUS_CONNMAN0_7X_TEST_FALSE=
13538 if test "x$have_edbus_connman0_7x_test" = "xyes"; then :
13547 # Check whether --enable-edbus-notification-daemon-test was given.
13548 if test "${enable_edbus_notification_daemon_test+set}" = set; then :
13549 enableval=$enable_edbus_notification_daemon_test;
13550 if test "x${enableval}" = "xyes" ; then
13551 have_edbus_notification_daemon_test="yes"
13553 have_edbus_notification_daemon_test="no"
13557 have_edbus_notification_daemon_test=${enable_enotify}
13561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_notification_daemon_test binary" >&5
13562 $as_echo_n "checking whether to build edbus_notification_daemon_test binary... " >&6; }
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_notification_daemon_test" >&5
13564 $as_echo "$have_edbus_notification_daemon_test" >&6; }
13566 if test "x$have_edbus_notification_daemon_test" = "xyes"; then
13567 EDBUS_NOTIFICATION_DAEMON_TEST_PRG=edbus_notification_daemon_test${EXEEXT}
13572 if test "x$have_edbus_notification_daemon_test" = "xyes"; then
13573 BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_TRUE=
13574 BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_FALSE='#'
13576 BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_TRUE='#'
13577 BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_FALSE=
13581 if test "x$have_edbus_notification_daemon_test" = "xyes"; then :
13590 # Check whether --enable-edbus-notify-send was given.
13591 if test "${enable_edbus_notify_send+set}" = set; then :
13592 enableval=$enable_edbus_notify_send;
13593 if test "x${enableval}" = "xyes" ; then
13594 have_edbus_notify_send="yes"
13596 have_edbus_notify_send="no"
13600 have_edbus_notify_send=${enable_enotify}
13604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_notify_send binary" >&5
13605 $as_echo_n "checking whether to build edbus_notify_send binary... " >&6; }
13606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_notify_send" >&5
13607 $as_echo "$have_edbus_notify_send" >&6; }
13609 if test "x$have_edbus_notify_send" = "xyes"; then
13610 EDBUS_NOTIFY_SEND_PRG=edbus_notify_send${EXEEXT}
13615 if test "x$have_edbus_notify_send" = "xyes"; then
13616 BUILD_EDBUS_NOTIFY_SEND_TRUE=
13617 BUILD_EDBUS_NOTIFY_SEND_FALSE='#'
13619 BUILD_EDBUS_NOTIFY_SEND_TRUE='#'
13620 BUILD_EDBUS_NOTIFY_SEND_FALSE=
13624 if test "x$have_edbus_notify_send" = "xyes"; then :
13633 # Check whether --enable-edbus-notify-test was given.
13634 if test "${enable_edbus_notify_test+set}" = set; then :
13635 enableval=$enable_edbus_notify_test;
13636 if test "x${enableval}" = "xyes" ; then
13637 have_edbus_notify_test="yes"
13639 have_edbus_notify_test="no"
13643 have_edbus_notify_test=${enable_enotify}
13647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_notify_test binary" >&5
13648 $as_echo_n "checking whether to build edbus_notify_test binary... " >&6; }
13649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_notify_test" >&5
13650 $as_echo "$have_edbus_notify_test" >&6; }
13652 if test "x$have_edbus_notify_test" = "xyes"; then
13653 EDBUS_NOTIFY_TEST_PRG=edbus_notify_test${EXEEXT}
13658 if test "x$have_edbus_notify_test" = "xyes"; then
13659 BUILD_EDBUS_NOTIFY_TEST_TRUE=
13660 BUILD_EDBUS_NOTIFY_TEST_FALSE='#'
13662 BUILD_EDBUS_NOTIFY_TEST_TRUE='#'
13663 BUILD_EDBUS_NOTIFY_TEST_FALSE=
13667 if test "x$have_edbus_notify_test" = "xyes"; then :
13676 # Check whether --enable-edbus-ofono-test was given.
13677 if test "${enable_edbus_ofono_test+set}" = set; then :
13678 enableval=$enable_edbus_ofono_test;
13679 if test "x${enableval}" = "xyes" ; then
13680 have_edbus_ofono_test="yes"
13682 have_edbus_ofono_test="no"
13686 have_edbus_ofono_test=${enable_eofono}
13690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_ofono_test binary" >&5
13691 $as_echo_n "checking whether to build edbus_ofono_test binary... " >&6; }
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_ofono_test" >&5
13693 $as_echo "$have_edbus_ofono_test" >&6; }
13695 if test "x$have_edbus_ofono_test" = "xyes"; then
13696 EDBUS_OFONO_TEST_PRG=edbus_ofono_test${EXEEXT}
13701 if test "x$have_edbus_ofono_test" = "xyes"; then
13702 BUILD_EDBUS_OFONO_TEST_TRUE=
13703 BUILD_EDBUS_OFONO_TEST_FALSE='#'
13705 BUILD_EDBUS_OFONO_TEST_TRUE='#'
13706 BUILD_EDBUS_OFONO_TEST_FALSE=
13710 if test "x$have_edbus_ofono_test" = "xyes"; then :
13719 # Check whether --enable-edbus-ukit-test was given.
13720 if test "${enable_edbus_ukit_test+set}" = set; then :
13721 enableval=$enable_edbus_ukit_test;
13722 if test "x${enableval}" = "xyes" ; then
13723 have_edbus_ukit_test="yes"
13725 have_edbus_ukit_test="no"
13729 have_edbus_ukit_test=${enable_eukit}
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_ukit_test binary" >&5
13734 $as_echo_n "checking whether to build edbus_ukit_test binary... " >&6; }
13735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_ukit_test" >&5
13736 $as_echo "$have_edbus_ukit_test" >&6; }
13738 if test "x$have_edbus_ukit_test" = "xyes"; then
13739 EDBUS_UKIT_TEST_PRG=edbus_ukit_test${EXEEXT}
13744 if test "x$have_edbus_ukit_test" = "xyes"; then
13745 BUILD_EDBUS_UKIT_TEST_TRUE=
13746 BUILD_EDBUS_UKIT_TEST_FALSE='#'
13748 BUILD_EDBUS_UKIT_TEST_TRUE='#'
13749 BUILD_EDBUS_UKIT_TEST_FALSE=
13753 if test "x$have_edbus_ukit_test" = "xyes"; then :
13762 # Check whether --enable-edbus-performance-test was given.
13763 if test "${enable_edbus_performance_test+set}" = set; then :
13764 enableval=$enable_edbus_performance_test;
13765 if test "x${enableval}" = "xyes" ; then
13766 have_edbus_performance_test="yes"
13768 have_edbus_performance_test="no"
13772 have_edbus_performance_test="no"
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_performance_test binary" >&5
13777 $as_echo_n "checking whether to build edbus_performance_test binary... " >&6; }
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_performance_test" >&5
13779 $as_echo "$have_edbus_performance_test" >&6; }
13781 if test "x$have_edbus_performance_test" = "xyes"; then
13782 EDBUS_PERFORMANCE_TEST_PRG=edbus_performance_test${EXEEXT}
13787 if test "x$have_edbus_performance_test" = "xyes"; then
13788 BUILD_EDBUS_PERFORMANCE_TEST_TRUE=
13789 BUILD_EDBUS_PERFORMANCE_TEST_FALSE='#'
13791 BUILD_EDBUS_PERFORMANCE_TEST_TRUE='#'
13792 BUILD_EDBUS_PERFORMANCE_TEST_FALSE=
13796 if test "x$have_edbus_performance_test" = "xyes"; then :
13805 # Check whether --enable-edbus-async-test was given.
13806 if test "${enable_edbus_async_test+set}" = set; then :
13807 enableval=$enable_edbus_async_test;
13808 if test "x${enableval}" = "xyes" ; then
13809 have_edbus_async_test="yes"
13811 have_edbus_async_test="no"
13815 have_edbus_async_test="yes"
13819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_async_test binary" >&5
13820 $as_echo_n "checking whether to build edbus_async_test binary... " >&6; }
13821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_async_test" >&5
13822 $as_echo "$have_edbus_async_test" >&6; }
13824 if test "x$have_edbus_async_test" = "xyes"; then
13825 EDBUS_ASYNC_TEST_PRG=edbus_async_test${EXEEXT}
13830 if test "x$have_edbus_async_test" = "xyes"; then
13831 BUILD_EDBUS_ASYNC_TEST_TRUE=
13832 BUILD_EDBUS_ASYNC_TEST_FALSE='#'
13834 BUILD_EDBUS_ASYNC_TEST_TRUE='#'
13835 BUILD_EDBUS_ASYNC_TEST_FALSE=
13839 if test "x$have_edbus_async_test" = "xyes"; then :
13845 if test "x${have_edbus_test}" = "xyes" ; then
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_TEST" >&5
13849 $as_echo_n "checking for EDBUS_TEST... " >&6; }
13851 if test -n "$EDBUS_TEST_CFLAGS"; then
13852 pkg_cv_EDBUS_TEST_CFLAGS="$EDBUS_TEST_CFLAGS"
13853 elif test -n "$PKG_CONFIG"; then
13854 if test -n "$PKG_CONFIG" && \
13855 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.5 dbus-1 >= 0.62\""; } >&5
13856 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.5 dbus-1 >= 0.62") 2>&5
13858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13859 test $ac_status = 0; }; then
13860 pkg_cv_EDBUS_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.5 dbus-1 >= 0.62" 2>/dev/null`
13861 test "x$?" != "x0" && pkg_failed=yes
13868 if test -n "$EDBUS_TEST_LIBS"; then
13869 pkg_cv_EDBUS_TEST_LIBS="$EDBUS_TEST_LIBS"
13870 elif test -n "$PKG_CONFIG"; then
13871 if test -n "$PKG_CONFIG" && \
13872 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.5 dbus-1 >= 0.62\""; } >&5
13873 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.5 dbus-1 >= 0.62") 2>&5
13875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13876 test $ac_status = 0; }; then
13877 pkg_cv_EDBUS_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.5 dbus-1 >= 0.62" 2>/dev/null`
13878 test "x$?" != "x0" && pkg_failed=yes
13888 if test $pkg_failed = yes; then
13889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13890 $as_echo "no" >&6; }
13892 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13893 _pkg_short_errors_supported=yes
13895 _pkg_short_errors_supported=no
13897 if test $_pkg_short_errors_supported = yes; then
13898 EDBUS_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.5 dbus-1 >= 0.62" 2>&1`
13900 EDBUS_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.5 dbus-1 >= 0.62" 2>&1`
13902 # Put the nasty error message in config.log where it belongs
13903 echo "$EDBUS_TEST_PKG_ERRORS" >&5
13905 have_edbus_test="no"
13906 elif test $pkg_failed = untried; then
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13908 $as_echo "no" >&6; }
13909 have_edbus_test="no"
13911 EDBUS_TEST_CFLAGS=$pkg_cv_EDBUS_TEST_CFLAGS
13912 EDBUS_TEST_LIBS=$pkg_cv_EDBUS_TEST_LIBS
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13914 $as_echo "yes" >&6; }
13915 have_edbus_test="yes"
13919 if test "x${have_edbus_test_client}" = "xyes" ; then
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_TEST_CLIENT" >&5
13923 $as_echo_n "checking for EDBUS_TEST_CLIENT... " >&6; }
13925 if test -n "$EDBUS_TEST_CLIENT_CFLAGS"; then
13926 pkg_cv_EDBUS_TEST_CLIENT_CFLAGS="$EDBUS_TEST_CLIENT_CFLAGS"
13927 elif test -n "$PKG_CONFIG"; then
13928 if test -n "$PKG_CONFIG" && \
13929 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.5 dbus-1 >= 0.62\""; } >&5
13930 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.5 dbus-1 >= 0.62") 2>&5
13932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13933 test $ac_status = 0; }; then
13934 pkg_cv_EDBUS_TEST_CLIENT_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.5 dbus-1 >= 0.62" 2>/dev/null`
13935 test "x$?" != "x0" && pkg_failed=yes
13942 if test -n "$EDBUS_TEST_CLIENT_LIBS"; then
13943 pkg_cv_EDBUS_TEST_CLIENT_LIBS="$EDBUS_TEST_CLIENT_LIBS"
13944 elif test -n "$PKG_CONFIG"; then
13945 if test -n "$PKG_CONFIG" && \
13946 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.5 dbus-1 >= 0.62\""; } >&5
13947 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.5 dbus-1 >= 0.62") 2>&5
13949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13950 test $ac_status = 0; }; then
13951 pkg_cv_EDBUS_TEST_CLIENT_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.5 dbus-1 >= 0.62" 2>/dev/null`
13952 test "x$?" != "x0" && pkg_failed=yes
13962 if test $pkg_failed = yes; then
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13964 $as_echo "no" >&6; }
13966 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13967 _pkg_short_errors_supported=yes
13969 _pkg_short_errors_supported=no
13971 if test $_pkg_short_errors_supported = yes; then
13972 EDBUS_TEST_CLIENT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.5 dbus-1 >= 0.62" 2>&1`
13974 EDBUS_TEST_CLIENT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.5 dbus-1 >= 0.62" 2>&1`
13976 # Put the nasty error message in config.log where it belongs
13977 echo "$EDBUS_TEST_CLIENT_PKG_ERRORS" >&5
13979 have_edbus_test_client="no"
13980 elif test $pkg_failed = untried; then
13981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13982 $as_echo "no" >&6; }
13983 have_edbus_test_client="no"
13985 EDBUS_TEST_CLIENT_CFLAGS=$pkg_cv_EDBUS_TEST_CLIENT_CFLAGS
13986 EDBUS_TEST_CLIENT_LIBS=$pkg_cv_EDBUS_TEST_CLIENT_LIBS
13987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13988 $as_echo "yes" >&6; }
13989 have_edbus_test_client="yes"
13993 if test "x${have_edbus_bluez_test}" = "xyes" ; then
13996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_BLUEZ_TEST" >&5
13997 $as_echo_n "checking for EDBUS_BLUEZ_TEST... " >&6; }
13999 if test -n "$EDBUS_BLUEZ_TEST_CFLAGS"; then
14000 pkg_cv_EDBUS_BLUEZ_TEST_CFLAGS="$EDBUS_BLUEZ_TEST_CFLAGS"
14001 elif test -n "$PKG_CONFIG"; then
14002 if test -n "$PKG_CONFIG" && \
14003 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62\""; } >&5
14004 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62") 2>&5
14006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14007 test $ac_status = 0; }; then
14008 pkg_cv_EDBUS_BLUEZ_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62" 2>/dev/null`
14009 test "x$?" != "x0" && pkg_failed=yes
14016 if test -n "$EDBUS_BLUEZ_TEST_LIBS"; then
14017 pkg_cv_EDBUS_BLUEZ_TEST_LIBS="$EDBUS_BLUEZ_TEST_LIBS"
14018 elif test -n "$PKG_CONFIG"; then
14019 if test -n "$PKG_CONFIG" && \
14020 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62\""; } >&5
14021 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62") 2>&5
14023 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14024 test $ac_status = 0; }; then
14025 pkg_cv_EDBUS_BLUEZ_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62" 2>/dev/null`
14026 test "x$?" != "x0" && pkg_failed=yes
14036 if test $pkg_failed = yes; then
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14038 $as_echo "no" >&6; }
14040 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14041 _pkg_short_errors_supported=yes
14043 _pkg_short_errors_supported=no
14045 if test $_pkg_short_errors_supported = yes; then
14046 EDBUS_BLUEZ_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62" 2>&1`
14048 EDBUS_BLUEZ_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62" 2>&1`
14050 # Put the nasty error message in config.log where it belongs
14051 echo "$EDBUS_BLUEZ_TEST_PKG_ERRORS" >&5
14053 have_edbus_bluez_test="no"
14054 elif test $pkg_failed = untried; then
14055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14056 $as_echo "no" >&6; }
14057 have_edbus_bluez_test="no"
14059 EDBUS_BLUEZ_TEST_CFLAGS=$pkg_cv_EDBUS_BLUEZ_TEST_CFLAGS
14060 EDBUS_BLUEZ_TEST_LIBS=$pkg_cv_EDBUS_BLUEZ_TEST_LIBS
14061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14062 $as_echo "yes" >&6; }
14063 have_edbus_bluez_test="yes"
14067 if test "x${have_edbus_connman0_7x_test}" = "xyes" ; then
14070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_CONNMAN0_7X_TEST" >&5
14071 $as_echo_n "checking for EDBUS_CONNMAN0_7X_TEST... " >&6; }
14073 if test -n "$EDBUS_CONNMAN0_7X_TEST_CFLAGS"; then
14074 pkg_cv_EDBUS_CONNMAN0_7X_TEST_CFLAGS="$EDBUS_CONNMAN0_7X_TEST_CFLAGS"
14075 elif test -n "$PKG_CONFIG"; then
14076 if test -n "$PKG_CONFIG" && \
14077 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62\""; } >&5
14078 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62") 2>&5
14080 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14081 test $ac_status = 0; }; then
14082 pkg_cv_EDBUS_CONNMAN0_7X_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62" 2>/dev/null`
14083 test "x$?" != "x0" && pkg_failed=yes
14090 if test -n "$EDBUS_CONNMAN0_7X_TEST_LIBS"; then
14091 pkg_cv_EDBUS_CONNMAN0_7X_TEST_LIBS="$EDBUS_CONNMAN0_7X_TEST_LIBS"
14092 elif test -n "$PKG_CONFIG"; then
14093 if test -n "$PKG_CONFIG" && \
14094 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62\""; } >&5
14095 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62") 2>&5
14097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14098 test $ac_status = 0; }; then
14099 pkg_cv_EDBUS_CONNMAN0_7X_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62" 2>/dev/null`
14100 test "x$?" != "x0" && pkg_failed=yes
14110 if test $pkg_failed = yes; then
14111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14112 $as_echo "no" >&6; }
14114 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14115 _pkg_short_errors_supported=yes
14117 _pkg_short_errors_supported=no
14119 if test $_pkg_short_errors_supported = yes; then
14120 EDBUS_CONNMAN0_7X_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62" 2>&1`
14122 EDBUS_CONNMAN0_7X_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62" 2>&1`
14124 # Put the nasty error message in config.log where it belongs
14125 echo "$EDBUS_CONNMAN0_7X_TEST_PKG_ERRORS" >&5
14127 have_edbus_connman0_7x_test="no"
14128 elif test $pkg_failed = untried; then
14129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14130 $as_echo "no" >&6; }
14131 have_edbus_connman0_7x_test="no"
14133 EDBUS_CONNMAN0_7X_TEST_CFLAGS=$pkg_cv_EDBUS_CONNMAN0_7X_TEST_CFLAGS
14134 EDBUS_CONNMAN0_7X_TEST_LIBS=$pkg_cv_EDBUS_CONNMAN0_7X_TEST_LIBS
14135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14136 $as_echo "yes" >&6; }
14137 have_edbus_connman0_7x_test="yes"
14141 if test "x${have_edbus_notification_daemon_test}" = "xyes" ; then
14144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_NOTIFICATION_DAEMON_TEST" >&5
14145 $as_echo_n "checking for EDBUS_NOTIFICATION_DAEMON_TEST... " >&6; }
14147 if test -n "$EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS"; then
14148 pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS="$EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS"
14149 elif test -n "$PKG_CONFIG"; then
14150 if test -n "$PKG_CONFIG" && \
14151 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.5 evas >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62\""; } >&5
14152 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.5 evas >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62") 2>&5
14154 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14155 test $ac_status = 0; }; then
14156 pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.5 evas >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62" 2>/dev/null`
14157 test "x$?" != "x0" && pkg_failed=yes
14164 if test -n "$EDBUS_NOTIFICATION_DAEMON_TEST_LIBS"; then
14165 pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_LIBS="$EDBUS_NOTIFICATION_DAEMON_TEST_LIBS"
14166 elif test -n "$PKG_CONFIG"; then
14167 if test -n "$PKG_CONFIG" && \
14168 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.5 evas >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62\""; } >&5
14169 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.5 evas >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62") 2>&5
14171 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14172 test $ac_status = 0; }; then
14173 pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.5 evas >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62" 2>/dev/null`
14174 test "x$?" != "x0" && pkg_failed=yes
14184 if test $pkg_failed = yes; then
14185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14186 $as_echo "no" >&6; }
14188 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14189 _pkg_short_errors_supported=yes
14191 _pkg_short_errors_supported=no
14193 if test $_pkg_short_errors_supported = yes; then
14194 EDBUS_NOTIFICATION_DAEMON_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.5 evas >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62" 2>&1`
14196 EDBUS_NOTIFICATION_DAEMON_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.5 evas >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62" 2>&1`
14198 # Put the nasty error message in config.log where it belongs
14199 echo "$EDBUS_NOTIFICATION_DAEMON_TEST_PKG_ERRORS" >&5
14201 have_edbus_notification_daemon_test="no"
14202 elif test $pkg_failed = untried; then
14203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14204 $as_echo "no" >&6; }
14205 have_edbus_notification_daemon_test="no"
14207 EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS=$pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS
14208 EDBUS_NOTIFICATION_DAEMON_TEST_LIBS=$pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_LIBS
14209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14210 $as_echo "yes" >&6; }
14211 have_edbus_notification_daemon_test="yes"
14215 if test "x${have_edbus_notify_send}" = "xyes" ; then
14218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_NOTIFY_SEND" >&5
14219 $as_echo_n "checking for EDBUS_NOTIFY_SEND... " >&6; }
14221 if test -n "$EDBUS_NOTIFY_SEND_CFLAGS"; then
14222 pkg_cv_EDBUS_NOTIFY_SEND_CFLAGS="$EDBUS_NOTIFY_SEND_CFLAGS"
14223 elif test -n "$PKG_CONFIG"; then
14224 if test -n "$PKG_CONFIG" && \
14225 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.5 evas >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62\""; } >&5
14226 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.5 evas >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62") 2>&5
14228 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14229 test $ac_status = 0; }; then
14230 pkg_cv_EDBUS_NOTIFY_SEND_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.5 evas >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62" 2>/dev/null`
14231 test "x$?" != "x0" && pkg_failed=yes
14238 if test -n "$EDBUS_NOTIFY_SEND_LIBS"; then
14239 pkg_cv_EDBUS_NOTIFY_SEND_LIBS="$EDBUS_NOTIFY_SEND_LIBS"
14240 elif test -n "$PKG_CONFIG"; then
14241 if test -n "$PKG_CONFIG" && \
14242 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.5 evas >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62\""; } >&5
14243 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.5 evas >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62") 2>&5
14245 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14246 test $ac_status = 0; }; then
14247 pkg_cv_EDBUS_NOTIFY_SEND_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.5 evas >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62" 2>/dev/null`
14248 test "x$?" != "x0" && pkg_failed=yes
14258 if test $pkg_failed = yes; then
14259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14260 $as_echo "no" >&6; }
14262 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14263 _pkg_short_errors_supported=yes
14265 _pkg_short_errors_supported=no
14267 if test $_pkg_short_errors_supported = yes; then
14268 EDBUS_NOTIFY_SEND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.5 evas >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62" 2>&1`
14270 EDBUS_NOTIFY_SEND_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.5 evas >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62" 2>&1`
14272 # Put the nasty error message in config.log where it belongs
14273 echo "$EDBUS_NOTIFY_SEND_PKG_ERRORS" >&5
14275 have_edbus_notify_send="no"
14276 elif test $pkg_failed = untried; then
14277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14278 $as_echo "no" >&6; }
14279 have_edbus_notify_send="no"
14281 EDBUS_NOTIFY_SEND_CFLAGS=$pkg_cv_EDBUS_NOTIFY_SEND_CFLAGS
14282 EDBUS_NOTIFY_SEND_LIBS=$pkg_cv_EDBUS_NOTIFY_SEND_LIBS
14283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14284 $as_echo "yes" >&6; }
14285 have_edbus_notify_send="yes"
14289 if test "x${have_edbus_notify_test}" = "xyes" ; then
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_NOTIFY_TEST" >&5
14293 $as_echo_n "checking for EDBUS_NOTIFY_TEST... " >&6; }
14295 if test -n "$EDBUS_NOTIFY_TEST_CFLAGS"; then
14296 pkg_cv_EDBUS_NOTIFY_TEST_CFLAGS="$EDBUS_NOTIFY_TEST_CFLAGS"
14297 elif test -n "$PKG_CONFIG"; then
14298 if test -n "$PKG_CONFIG" && \
14299 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.5 ecore-evas >= 1.7.5 evas >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62\""; } >&5
14300 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.5 ecore-evas >= 1.7.5 evas >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62") 2>&5
14302 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14303 test $ac_status = 0; }; then
14304 pkg_cv_EDBUS_NOTIFY_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.5 ecore-evas >= 1.7.5 evas >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62" 2>/dev/null`
14305 test "x$?" != "x0" && pkg_failed=yes
14312 if test -n "$EDBUS_NOTIFY_TEST_LIBS"; then
14313 pkg_cv_EDBUS_NOTIFY_TEST_LIBS="$EDBUS_NOTIFY_TEST_LIBS"
14314 elif test -n "$PKG_CONFIG"; then
14315 if test -n "$PKG_CONFIG" && \
14316 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.5 ecore-evas >= 1.7.5 evas >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62\""; } >&5
14317 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.5 ecore-evas >= 1.7.5 evas >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62") 2>&5
14319 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14320 test $ac_status = 0; }; then
14321 pkg_cv_EDBUS_NOTIFY_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.5 ecore-evas >= 1.7.5 evas >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62" 2>/dev/null`
14322 test "x$?" != "x0" && pkg_failed=yes
14332 if test $pkg_failed = yes; then
14333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14334 $as_echo "no" >&6; }
14336 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14337 _pkg_short_errors_supported=yes
14339 _pkg_short_errors_supported=no
14341 if test $_pkg_short_errors_supported = yes; then
14342 EDBUS_NOTIFY_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.5 ecore-evas >= 1.7.5 evas >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62" 2>&1`
14344 EDBUS_NOTIFY_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.5 ecore-evas >= 1.7.5 evas >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62" 2>&1`
14346 # Put the nasty error message in config.log where it belongs
14347 echo "$EDBUS_NOTIFY_TEST_PKG_ERRORS" >&5
14349 have_edbus_notify_test="no"
14350 elif test $pkg_failed = untried; then
14351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14352 $as_echo "no" >&6; }
14353 have_edbus_notify_test="no"
14355 EDBUS_NOTIFY_TEST_CFLAGS=$pkg_cv_EDBUS_NOTIFY_TEST_CFLAGS
14356 EDBUS_NOTIFY_TEST_LIBS=$pkg_cv_EDBUS_NOTIFY_TEST_LIBS
14357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14358 $as_echo "yes" >&6; }
14359 have_edbus_notify_test="yes"
14363 if test "x${have_edbus_ofono_test}" = "xyes" ; then
14366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_OFONO_TEST" >&5
14367 $as_echo_n "checking for EDBUS_OFONO_TEST... " >&6; }
14369 if test -n "$EDBUS_OFONO_TEST_CFLAGS"; then
14370 pkg_cv_EDBUS_OFONO_TEST_CFLAGS="$EDBUS_OFONO_TEST_CFLAGS"
14371 elif test -n "$PKG_CONFIG"; then
14372 if test -n "$PKG_CONFIG" && \
14373 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62\""; } >&5
14374 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62") 2>&5
14376 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14377 test $ac_status = 0; }; then
14378 pkg_cv_EDBUS_OFONO_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62" 2>/dev/null`
14379 test "x$?" != "x0" && pkg_failed=yes
14386 if test -n "$EDBUS_OFONO_TEST_LIBS"; then
14387 pkg_cv_EDBUS_OFONO_TEST_LIBS="$EDBUS_OFONO_TEST_LIBS"
14388 elif test -n "$PKG_CONFIG"; then
14389 if test -n "$PKG_CONFIG" && \
14390 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62\""; } >&5
14391 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62") 2>&5
14393 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14394 test $ac_status = 0; }; then
14395 pkg_cv_EDBUS_OFONO_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62" 2>/dev/null`
14396 test "x$?" != "x0" && pkg_failed=yes
14406 if test $pkg_failed = yes; then
14407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14408 $as_echo "no" >&6; }
14410 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14411 _pkg_short_errors_supported=yes
14413 _pkg_short_errors_supported=no
14415 if test $_pkg_short_errors_supported = yes; then
14416 EDBUS_OFONO_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62" 2>&1`
14418 EDBUS_OFONO_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62" 2>&1`
14420 # Put the nasty error message in config.log where it belongs
14421 echo "$EDBUS_OFONO_TEST_PKG_ERRORS" >&5
14423 have_edbus_ofono_test="no"
14424 elif test $pkg_failed = untried; then
14425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14426 $as_echo "no" >&6; }
14427 have_edbus_ofono_test="no"
14429 EDBUS_OFONO_TEST_CFLAGS=$pkg_cv_EDBUS_OFONO_TEST_CFLAGS
14430 EDBUS_OFONO_TEST_LIBS=$pkg_cv_EDBUS_OFONO_TEST_LIBS
14431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14432 $as_echo "yes" >&6; }
14433 have_edbus_ofono_test="yes"
14437 if test "x${have_edbus_ukit_test}" = "xyes" ; then
14440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_UKIT_TEST" >&5
14441 $as_echo_n "checking for EDBUS_UKIT_TEST... " >&6; }
14443 if test -n "$EDBUS_UKIT_TEST_CFLAGS"; then
14444 pkg_cv_EDBUS_UKIT_TEST_CFLAGS="$EDBUS_UKIT_TEST_CFLAGS"
14445 elif test -n "$PKG_CONFIG"; then
14446 if test -n "$PKG_CONFIG" && \
14447 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62\""; } >&5
14448 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62") 2>&5
14450 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14451 test $ac_status = 0; }; then
14452 pkg_cv_EDBUS_UKIT_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62" 2>/dev/null`
14453 test "x$?" != "x0" && pkg_failed=yes
14460 if test -n "$EDBUS_UKIT_TEST_LIBS"; then
14461 pkg_cv_EDBUS_UKIT_TEST_LIBS="$EDBUS_UKIT_TEST_LIBS"
14462 elif test -n "$PKG_CONFIG"; then
14463 if test -n "$PKG_CONFIG" && \
14464 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62\""; } >&5
14465 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62") 2>&5
14467 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14468 test $ac_status = 0; }; then
14469 pkg_cv_EDBUS_UKIT_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62" 2>/dev/null`
14470 test "x$?" != "x0" && pkg_failed=yes
14480 if test $pkg_failed = yes; then
14481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14482 $as_echo "no" >&6; }
14484 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14485 _pkg_short_errors_supported=yes
14487 _pkg_short_errors_supported=no
14489 if test $_pkg_short_errors_supported = yes; then
14490 EDBUS_UKIT_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62" 2>&1`
14492 EDBUS_UKIT_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62" 2>&1`
14494 # Put the nasty error message in config.log where it belongs
14495 echo "$EDBUS_UKIT_TEST_PKG_ERRORS" >&5
14497 have_edbus_ukit_test="no"
14498 elif test $pkg_failed = untried; then
14499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14500 $as_echo "no" >&6; }
14501 have_edbus_ukit_test="no"
14503 EDBUS_UKIT_TEST_CFLAGS=$pkg_cv_EDBUS_UKIT_TEST_CFLAGS
14504 EDBUS_UKIT_TEST_LIBS=$pkg_cv_EDBUS_UKIT_TEST_LIBS
14505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14506 $as_echo "yes" >&6; }
14507 have_edbus_ukit_test="yes"
14511 if test "x${have_edbus_performance_test}" = "xyes" ; then
14514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_PERFORMANCE_TEST" >&5
14515 $as_echo_n "checking for EDBUS_PERFORMANCE_TEST... " >&6; }
14517 if test -n "$EDBUS_PERFORMANCE_TEST_CFLAGS"; then
14518 pkg_cv_EDBUS_PERFORMANCE_TEST_CFLAGS="$EDBUS_PERFORMANCE_TEST_CFLAGS"
14519 elif test -n "$PKG_CONFIG"; then
14520 if test -n "$PKG_CONFIG" && \
14521 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62 ecore-evas >= 1.7.5 elementary >= 1.7.5 evas >= 1.7.5\""; } >&5
14522 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62 ecore-evas >= 1.7.5 elementary >= 1.7.5 evas >= 1.7.5") 2>&5
14524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14525 test $ac_status = 0; }; then
14526 pkg_cv_EDBUS_PERFORMANCE_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62 ecore-evas >= 1.7.5 elementary >= 1.7.5 evas >= 1.7.5" 2>/dev/null`
14527 test "x$?" != "x0" && pkg_failed=yes
14534 if test -n "$EDBUS_PERFORMANCE_TEST_LIBS"; then
14535 pkg_cv_EDBUS_PERFORMANCE_TEST_LIBS="$EDBUS_PERFORMANCE_TEST_LIBS"
14536 elif test -n "$PKG_CONFIG"; then
14537 if test -n "$PKG_CONFIG" && \
14538 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62 ecore-evas >= 1.7.5 elementary >= 1.7.5 evas >= 1.7.5\""; } >&5
14539 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62 ecore-evas >= 1.7.5 elementary >= 1.7.5 evas >= 1.7.5") 2>&5
14541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14542 test $ac_status = 0; }; then
14543 pkg_cv_EDBUS_PERFORMANCE_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62 ecore-evas >= 1.7.5 elementary >= 1.7.5 evas >= 1.7.5" 2>/dev/null`
14544 test "x$?" != "x0" && pkg_failed=yes
14554 if test $pkg_failed = yes; then
14555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14556 $as_echo "no" >&6; }
14558 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14559 _pkg_short_errors_supported=yes
14561 _pkg_short_errors_supported=no
14563 if test $_pkg_short_errors_supported = yes; then
14564 EDBUS_PERFORMANCE_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62 ecore-evas >= 1.7.5 elementary >= 1.7.5 evas >= 1.7.5" 2>&1`
14566 EDBUS_PERFORMANCE_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.5 eina >= 1.7.5 dbus-1 >= 0.62 ecore-evas >= 1.7.5 elementary >= 1.7.5 evas >= 1.7.5" 2>&1`
14568 # Put the nasty error message in config.log where it belongs
14569 echo "$EDBUS_PERFORMANCE_TEST_PKG_ERRORS" >&5
14571 have_edbus_performance_test="no"
14572 elif test $pkg_failed = untried; then
14573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14574 $as_echo "no" >&6; }
14575 have_edbus_performance_test="no"
14577 EDBUS_PERFORMANCE_TEST_CFLAGS=$pkg_cv_EDBUS_PERFORMANCE_TEST_CFLAGS
14578 EDBUS_PERFORMANCE_TEST_LIBS=$pkg_cv_EDBUS_PERFORMANCE_TEST_LIBS
14579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14580 $as_echo "yes" >&6; }
14581 have_edbus_performance_test="yes"
14585 if test "x${have_edbus_performance_test}" = "xyes"; then
14586 BUILD_EDBUS_PERFORMANCE_TEST_TRUE=
14587 BUILD_EDBUS_PERFORMANCE_TEST_FALSE='#'
14589 BUILD_EDBUS_PERFORMANCE_TEST_TRUE='#'
14590 BUILD_EDBUS_PERFORMANCE_TEST_FALSE=
14594 if test "x${have_edbus_async_test}" = "xyes" ; then
14597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_ASYNC_TEST" >&5
14598 $as_echo_n "checking for EDBUS_ASYNC_TEST... " >&6; }
14600 if test -n "$EDBUS_ASYNC_TEST_CFLAGS"; then
14601 pkg_cv_EDBUS_ASYNC_TEST_CFLAGS="$EDBUS_ASYNC_TEST_CFLAGS"
14602 elif test -n "$PKG_CONFIG"; then
14603 if test -n "$PKG_CONFIG" && \
14604 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.5 dbus-1 >= 0.62\""; } >&5
14605 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.5 dbus-1 >= 0.62") 2>&5
14607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14608 test $ac_status = 0; }; then
14609 pkg_cv_EDBUS_ASYNC_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.5 dbus-1 >= 0.62" 2>/dev/null`
14610 test "x$?" != "x0" && pkg_failed=yes
14617 if test -n "$EDBUS_ASYNC_TEST_LIBS"; then
14618 pkg_cv_EDBUS_ASYNC_TEST_LIBS="$EDBUS_ASYNC_TEST_LIBS"
14619 elif test -n "$PKG_CONFIG"; then
14620 if test -n "$PKG_CONFIG" && \
14621 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.5 dbus-1 >= 0.62\""; } >&5
14622 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.5 dbus-1 >= 0.62") 2>&5
14624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14625 test $ac_status = 0; }; then
14626 pkg_cv_EDBUS_ASYNC_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.5 dbus-1 >= 0.62" 2>/dev/null`
14627 test "x$?" != "x0" && pkg_failed=yes
14637 if test $pkg_failed = yes; then
14638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14639 $as_echo "no" >&6; }
14641 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14642 _pkg_short_errors_supported=yes
14644 _pkg_short_errors_supported=no
14646 if test $_pkg_short_errors_supported = yes; then
14647 EDBUS_ASYNC_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.7.5 dbus-1 >= 0.62" 2>&1`
14649 EDBUS_ASYNC_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.7.5 dbus-1 >= 0.62" 2>&1`
14651 # Put the nasty error message in config.log where it belongs
14652 echo "$EDBUS_ASYNC_TEST_PKG_ERRORS" >&5
14654 have_edbus_async_test="no"
14655 elif test $pkg_failed = untried; then
14656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14657 $as_echo "no" >&6; }
14658 have_edbus_async_test="no"
14660 EDBUS_ASYNC_TEST_CFLAGS=$pkg_cv_EDBUS_ASYNC_TEST_CFLAGS
14661 EDBUS_ASYNC_TEST_LIBS=$pkg_cv_EDBUS_ASYNC_TEST_LIBS
14662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14663 $as_echo "yes" >&6; }
14664 have_edbus_async_test="yes"
14668 ### Checks for header files
14671 ### Checks for types
14674 ### Checks for structures
14677 ### Checks for compiler characteristics
14682 EFL_EDBUS_BUILD="-DEFL_EDBUS_BUILD"
14687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14688 $as_echo_n "checking for ANSI C header files... " >&6; }
14689 if ${ac_cv_header_stdc+:} false; then :
14690 $as_echo_n "(cached) " >&6
14692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14693 /* end confdefs.h. */
14694 #include <stdlib.h>
14695 #include <stdarg.h>
14696 #include <string.h>
14707 if ac_fn_c_try_compile "$LINENO"; then :
14708 ac_cv_header_stdc=yes
14710 ac_cv_header_stdc=no
14712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14714 if test $ac_cv_header_stdc = yes; then
14715 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14717 /* end confdefs.h. */
14718 #include <string.h>
14721 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14722 $EGREP "memchr" >/dev/null 2>&1; then :
14725 ac_cv_header_stdc=no
14731 if test $ac_cv_header_stdc = yes; then
14732 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14734 /* end confdefs.h. */
14735 #include <stdlib.h>
14738 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14739 $EGREP "free" >/dev/null 2>&1; then :
14742 ac_cv_header_stdc=no
14748 if test $ac_cv_header_stdc = yes; then
14749 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14750 if test "$cross_compiling" = yes; then :
14753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14754 /* end confdefs.h. */
14756 #include <stdlib.h>
14757 #if ((' ' & 0x0FF) == 0x020)
14758 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14759 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14761 # define ISLOWER(c) \
14762 (('a' <= (c) && (c) <= 'i') \
14763 || ('j' <= (c) && (c) <= 'r') \
14764 || ('s' <= (c) && (c) <= 'z'))
14765 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14768 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14773 for (i = 0; i < 256; i++)
14774 if (XOR (islower (i), ISLOWER (i))
14775 || toupper (i) != TOUPPER (i))
14780 if ac_fn_c_try_run "$LINENO"; then :
14783 ac_cv_header_stdc=no
14785 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14786 conftest.$ac_objext conftest.beam conftest.$ac_ext
14791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
14792 $as_echo "$ac_cv_header_stdc" >&6; }
14793 if test $ac_cv_header_stdc = yes; then
14795 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
14801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
14802 $as_echo_n "checking for __attribute__... " >&6; }
14804 if ${ac_cv___attribute__+:} false; then :
14805 $as_echo_n "(cached) " >&6
14807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14808 /* end confdefs.h. */
14810 #include <stdlib.h>
14813 int foo(int x __attribute__ ((unused)))
14826 if ac_fn_c_try_compile "$LINENO"; then :
14827 ac_cv___attribute__="yes"
14829 ac_cv___attribute__="no"
14832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
14837 $as_echo "$ac_cv___attribute__" >&6; }
14839 if test "x${ac_cv___attribute__}" = "xyes" ; then
14841 $as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
14844 $as_echo "#define __UNUSED__ __attribute__((unused))" >>confdefs.h
14848 $as_echo "#define __UNUSED__ /**/" >>confdefs.h
14854 if ! test "x${VMIC}" = "x" ; then
14857 CFLAGS_save="${CFLAGS}"
14858 CFLAGS="${CFLAGS} -Wall"
14861 ac_cpp='$CPP $CPPFLAGS'
14862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wall" >&5
14867 $as_echo_n "checking whether the compiler supports -Wall... " >&6; }
14869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14870 /* end confdefs.h. */
14880 if ac_fn_c_try_compile "$LINENO"; then :
14885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
14887 $as_echo "${have_flag}" >&6; }
14889 if test "x${have_flag}" = "xno" ; then
14890 CFLAGS="${CFLAGS_save}"
14893 ac_cpp='$CPP $CPPFLAGS'
14894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14902 CFLAGS_save="${CFLAGS}"
14903 CFLAGS="${CFLAGS} -W"
14906 ac_cpp='$CPP $CPPFLAGS'
14907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -W" >&5
14912 $as_echo_n "checking whether the compiler supports -W... " >&6; }
14914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14915 /* end confdefs.h. */
14925 if ac_fn_c_try_compile "$LINENO"; then :
14930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
14932 $as_echo "${have_flag}" >&6; }
14934 if test "x${have_flag}" = "xno" ; then
14935 CFLAGS="${CFLAGS_save}"
14938 ac_cpp='$CPP $CPPFLAGS'
14939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14949 CFLAGS_save="${CFLAGS}"
14950 CFLAGS="${CFLAGS} -Wshadow"
14953 ac_cpp='$CPP $CPPFLAGS'
14954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshadow" >&5
14959 $as_echo_n "checking whether the compiler supports -Wshadow... " >&6; }
14961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14962 /* end confdefs.h. */
14972 if ac_fn_c_try_compile "$LINENO"; then :
14977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
14979 $as_echo "${have_flag}" >&6; }
14981 if test "x${have_flag}" = "xno" ; then
14982 CFLAGS="${CFLAGS_save}"
14985 ac_cpp='$CPP $CPPFLAGS'
14986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14994 ### Checks for linker characteristics
14996 lt_enable_auto_import=""
14999 lt_enable_auto_import="-Wl,--enable-auto-import"
15005 ### Checks for library functions
15007 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15008 if test "x$ac_cv_type_size_t" = xyes; then :
15012 cat >>confdefs.h <<_ACEOF
15013 #define size_t unsigned int
15018 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
15019 # for constant arguments. Useless!
15020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
15021 $as_echo_n "checking for working alloca.h... " >&6; }
15022 if ${ac_cv_working_alloca_h+:} false; then :
15023 $as_echo_n "(cached) " >&6
15025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15026 /* end confdefs.h. */
15027 #include <alloca.h>
15031 char *p = (char *) alloca (2 * sizeof (int));
15037 if ac_fn_c_try_link "$LINENO"; then :
15038 ac_cv_working_alloca_h=yes
15040 ac_cv_working_alloca_h=no
15042 rm -f core conftest.err conftest.$ac_objext \
15043 conftest$ac_exeext conftest.$ac_ext
15045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
15046 $as_echo "$ac_cv_working_alloca_h" >&6; }
15047 if test $ac_cv_working_alloca_h = yes; then
15049 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
15053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
15054 $as_echo_n "checking for alloca... " >&6; }
15055 if ${ac_cv_func_alloca_works+:} false; then :
15056 $as_echo_n "(cached) " >&6
15058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15059 /* end confdefs.h. */
15061 # define alloca __builtin_alloca
15064 # include <malloc.h>
15065 # define alloca _alloca
15067 # ifdef HAVE_ALLOCA_H
15068 # include <alloca.h>
15073 # ifndef alloca /* predefined by HP cc +Olibcalls */
15074 void *alloca (size_t);
15084 char *p = (char *) alloca (1);
15090 if ac_fn_c_try_link "$LINENO"; then :
15091 ac_cv_func_alloca_works=yes
15093 ac_cv_func_alloca_works=no
15095 rm -f core conftest.err conftest.$ac_objext \
15096 conftest$ac_exeext conftest.$ac_ext
15098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
15099 $as_echo "$ac_cv_func_alloca_works" >&6; }
15101 if test $ac_cv_func_alloca_works = yes; then
15103 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
15106 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
15107 # that cause trouble. Some versions do not even contain alloca or
15108 # contain a buggy version. If you still want to use their alloca,
15109 # use ar to extract alloca.o from them instead of compiling alloca.c.
15111 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
15113 $as_echo "#define C_ALLOCA 1" >>confdefs.h
15116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
15117 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
15118 if ${ac_cv_os_cray+:} false; then :
15119 $as_echo_n "(cached) " >&6
15121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15122 /* end confdefs.h. */
15123 #if defined CRAY && ! defined CRAY2
15130 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15131 $EGREP "webecray" >/dev/null 2>&1; then :
15139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
15140 $as_echo "$ac_cv_os_cray" >&6; }
15141 if test $ac_cv_os_cray = yes; then
15142 for ac_func in _getb67 GETB67 getb67; do
15143 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15144 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15145 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15147 cat >>confdefs.h <<_ACEOF
15148 #define CRAY_STACKSEG_END $ac_func
15157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
15158 $as_echo_n "checking stack direction for C alloca... " >&6; }
15159 if ${ac_cv_c_stack_direction+:} false; then :
15160 $as_echo_n "(cached) " >&6
15162 if test "$cross_compiling" = yes; then :
15163 ac_cv_c_stack_direction=0
15165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15166 /* end confdefs.h. */
15167 $ac_includes_default
15169 find_stack_direction ()
15171 static char *addr = 0;
15176 return find_stack_direction ();
15179 return (&dummy > addr) ? 1 : -1;
15185 return find_stack_direction () < 0;
15188 if ac_fn_c_try_run "$LINENO"; then :
15189 ac_cv_c_stack_direction=1
15191 ac_cv_c_stack_direction=-1
15193 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15194 conftest.$ac_objext conftest.beam conftest.$ac_ext
15198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
15199 $as_echo "$ac_cv_c_stack_direction" >&6; }
15200 cat >>confdefs.h <<_ACEOF
15201 #define STACK_DIRECTION $ac_cv_c_stack_direction
15217 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"
15219 cat >confcache <<\_ACEOF
15220 # This file is a shell script that caches the results of configure
15221 # tests run on this system so they can be shared between configure
15222 # scripts and configure runs, see configure's option --config-cache.
15223 # It is not useful on other systems. If it contains results you don't
15224 # want to keep, you may remove or edit it.
15226 # config.status only pays attention to the cache file if you give it
15227 # the --recheck option to rerun configure.
15229 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15230 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15231 # following values.
15235 # The following way of writing the cache mishandles newlines in values,
15236 # but we know of no workaround that is simple, portable, and efficient.
15237 # So, we kill variables containing newlines.
15238 # Ultrix sh set writes to stderr and can't be redirected directly,
15239 # and sets the high bit in the cache file unless we assign to the vars.
15241 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15242 eval ac_val=\$$ac_var
15246 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15247 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15250 _ | IFS | as_nl) ;; #(
15251 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15252 *) { eval $ac_var=; unset $ac_var;} ;;
15258 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15259 *${as_nl}ac_space=\ *)
15260 # `set' does not quote correctly, so add quotes: double-quote
15261 # substitution turns \\\\ into \\, and sed turns \\ into \.
15264 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15267 # `set' quotes correctly as required by POSIX, so do not add quotes.
15268 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15277 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15279 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15281 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15282 if test -w "$cache_file"; then
15283 if test "x$cache_file" != "x/dev/null"; then
15284 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15285 $as_echo "$as_me: updating cache $cache_file" >&6;}
15286 if test ! -f "$cache_file" || test -h "$cache_file"; then
15287 cat confcache >"$cache_file"
15289 case $cache_file in #(
15291 mv -f confcache "$cache_file"$$ &&
15292 mv -f "$cache_file"$$ "$cache_file" ;; #(
15294 mv -f confcache "$cache_file" ;;
15299 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15300 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15305 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15306 # Let make expand exec_prefix.
15307 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15309 DEFS=-DHAVE_CONFIG_H
15314 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15315 # 1. Remove the extension, and $U if already installed.
15316 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15317 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15318 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15319 # will be set to the directory where LIBOBJS objects are built.
15320 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15321 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15323 LIBOBJS=$ac_libobjs
15325 LTLIBOBJS=$ac_ltlibobjs
15328 if test -n "$EXEEXT"; then
15330 am__EXEEXT_FALSE='#'
15332 am__EXEEXT_TRUE='#'
15336 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15337 as_fn_error $? "conditional \"AMDEP\" was never defined.
15338 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15340 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15341 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15342 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15344 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15345 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15346 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15348 if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
15349 as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
15350 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15352 if test -z "${BUILD_EBLUEZ_TRUE}" && test -z "${BUILD_EBLUEZ_FALSE}"; then
15353 as_fn_error $? "conditional \"BUILD_EBLUEZ\" was never defined.
15354 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15356 if test -z "${BUILD_ECONNMAN0_7X_TRUE}" && test -z "${BUILD_ECONNMAN0_7X_FALSE}"; then
15357 as_fn_error $? "conditional \"BUILD_ECONNMAN0_7X\" was never defined.
15358 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15360 if test -z "${BUILD_EHAL_TRUE}" && test -z "${BUILD_EHAL_FALSE}"; then
15361 as_fn_error $? "conditional \"BUILD_EHAL\" was never defined.
15362 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15364 if test -z "${BUILD_ENOTIFY_TRUE}" && test -z "${BUILD_ENOTIFY_FALSE}"; then
15365 as_fn_error $? "conditional \"BUILD_ENOTIFY\" was never defined.
15366 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15368 if test -z "${BUILD_EOFONO_TRUE}" && test -z "${BUILD_EOFONO_FALSE}"; then
15369 as_fn_error $? "conditional \"BUILD_EOFONO\" was never defined.
15370 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15372 if test -z "${BUILD_EUKIT_TRUE}" && test -z "${BUILD_EUKIT_FALSE}"; then
15373 as_fn_error $? "conditional \"BUILD_EUKIT\" was never defined.
15374 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15376 if test -z "${BUILD_EDBUS_TEST_TRUE}" && test -z "${BUILD_EDBUS_TEST_FALSE}"; then
15377 as_fn_error $? "conditional \"BUILD_EDBUS_TEST\" was never defined.
15378 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15380 if test -z "${BUILD_EDBUS_TEST_CLIENT_TRUE}" && test -z "${BUILD_EDBUS_TEST_CLIENT_FALSE}"; then
15381 as_fn_error $? "conditional \"BUILD_EDBUS_TEST_CLIENT\" was never defined.
15382 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15384 if test -z "${BUILD_EDBUS_BLUEZ_TEST_TRUE}" && test -z "${BUILD_EDBUS_BLUEZ_TEST_FALSE}"; then
15385 as_fn_error $? "conditional \"BUILD_EDBUS_BLUEZ_TEST\" was never defined.
15386 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15388 if test -z "${BUILD_EDBUS_CONNMAN0_7X_TEST_TRUE}" && test -z "${BUILD_EDBUS_CONNMAN0_7X_TEST_FALSE}"; then
15389 as_fn_error $? "conditional \"BUILD_EDBUS_CONNMAN0_7X_TEST\" was never defined.
15390 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15392 if test -z "${BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_TRUE}" && test -z "${BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_FALSE}"; then
15393 as_fn_error $? "conditional \"BUILD_EDBUS_NOTIFICATION_DAEMON_TEST\" was never defined.
15394 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15396 if test -z "${BUILD_EDBUS_NOTIFY_SEND_TRUE}" && test -z "${BUILD_EDBUS_NOTIFY_SEND_FALSE}"; then
15397 as_fn_error $? "conditional \"BUILD_EDBUS_NOTIFY_SEND\" was never defined.
15398 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15400 if test -z "${BUILD_EDBUS_NOTIFY_TEST_TRUE}" && test -z "${BUILD_EDBUS_NOTIFY_TEST_FALSE}"; then
15401 as_fn_error $? "conditional \"BUILD_EDBUS_NOTIFY_TEST\" was never defined.
15402 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15404 if test -z "${BUILD_EDBUS_OFONO_TEST_TRUE}" && test -z "${BUILD_EDBUS_OFONO_TEST_FALSE}"; then
15405 as_fn_error $? "conditional \"BUILD_EDBUS_OFONO_TEST\" was never defined.
15406 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15408 if test -z "${BUILD_EDBUS_UKIT_TEST_TRUE}" && test -z "${BUILD_EDBUS_UKIT_TEST_FALSE}"; then
15409 as_fn_error $? "conditional \"BUILD_EDBUS_UKIT_TEST\" was never defined.
15410 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15412 if test -z "${BUILD_EDBUS_PERFORMANCE_TEST_TRUE}" && test -z "${BUILD_EDBUS_PERFORMANCE_TEST_FALSE}"; then
15413 as_fn_error $? "conditional \"BUILD_EDBUS_PERFORMANCE_TEST\" was never defined.
15414 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15416 if test -z "${BUILD_EDBUS_ASYNC_TEST_TRUE}" && test -z "${BUILD_EDBUS_ASYNC_TEST_FALSE}"; then
15417 as_fn_error $? "conditional \"BUILD_EDBUS_ASYNC_TEST\" was never defined.
15418 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15420 if test -z "${BUILD_EDBUS_PERFORMANCE_TEST_TRUE}" && test -z "${BUILD_EDBUS_PERFORMANCE_TEST_FALSE}"; then
15421 as_fn_error $? "conditional \"BUILD_EDBUS_PERFORMANCE_TEST\" was never defined.
15422 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15425 : "${CONFIG_STATUS=./config.status}"
15427 ac_clean_files_save=$ac_clean_files
15428 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15429 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15430 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15432 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15434 # Generated by $as_me.
15435 # Run this file to recreate the current configuration.
15436 # Compiler output produced by configure, useful for debugging
15437 # configure, is in config.log if it exists.
15440 ac_cs_recheck=false
15443 SHELL=\${CONFIG_SHELL-$SHELL}
15446 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15447 ## -------------------- ##
15448 ## M4sh Initialization. ##
15449 ## -------------------- ##
15451 # Be more Bourne compatible
15452 DUALCASE=1; export DUALCASE # for MKS sh
15453 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15456 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15457 # is contrary to our usage. Disable this feature.
15458 alias -g '${1+"$@"}'='"$@"'
15459 setopt NO_GLOB_SUBST
15461 case `(set -o) 2>/dev/null` in #(
15473 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15474 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15475 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15476 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15477 # Prefer a ksh shell builtin over an external printf program on Solaris,
15478 # but without wasting forks for bash or zsh.
15479 if test -z "$BASH_VERSION$ZSH_VERSION" \
15480 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15481 as_echo='print -r --'
15482 as_echo_n='print -rn --'
15483 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15484 as_echo='printf %s\n'
15485 as_echo_n='printf %s'
15487 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15488 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15489 as_echo_n='/usr/ucb/echo -n'
15491 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15492 as_echo_n_body='eval
15496 expr "X$arg" : "X\\(.*\\)$as_nl";
15497 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15499 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15501 export as_echo_n_body
15502 as_echo_n='sh -c $as_echo_n_body as_echo'
15504 export as_echo_body
15505 as_echo='sh -c $as_echo_body as_echo'
15508 # The user is always right.
15509 if test "${PATH_SEPARATOR+set}" != set; then
15511 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15512 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15519 # We need space, tab and new line, in precisely that order. Quoting is
15520 # there to prevent editors from complaining about space-tab.
15521 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15522 # splitting by setting IFS to empty value.)
15525 # Find who we are. Look in the path if we contain no directory separator.
15528 *[\\/]* ) as_myself=$0 ;;
15529 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15530 for as_dir in $PATH
15533 test -z "$as_dir" && as_dir=.
15534 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15540 # We did not find ourselves, most probably we were run as `sh COMMAND'
15541 # in which case we are not to be found in the path.
15542 if test "x$as_myself" = x; then
15545 if test ! -f "$as_myself"; then
15546 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15550 # Unset variables that we do not need and which cause bugs (e.g. in
15551 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15552 # suppresses any "Segmentation fault" message there. '((' could
15553 # trigger a bug in pdksh 5.2.14.
15554 for as_var in BASH_ENV ENV MAIL MAILPATH
15555 do eval test x\${$as_var+set} = xset \
15556 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15569 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15572 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15573 # ----------------------------------------
15574 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15575 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15576 # script with STATUS, using 1 if that was 0.
15579 as_status=$1; test $as_status -eq 0 && as_status=1
15581 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15582 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15584 $as_echo "$as_me: error: $2" >&2
15585 as_fn_exit $as_status
15589 # as_fn_set_status STATUS
15590 # -----------------------
15591 # Set $? to STATUS, without forking.
15592 as_fn_set_status ()
15595 } # as_fn_set_status
15597 # as_fn_exit STATUS
15598 # -----------------
15599 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15603 as_fn_set_status $1
15609 # Portably unset VAR.
15612 { eval $1=; unset $1;}
15614 as_unset=as_fn_unset
15615 # as_fn_append VAR VALUE
15616 # ----------------------
15617 # Append the text in VALUE to the end of the definition contained in VAR. Take
15618 # advantage of any shell optimizations that allow amortized linear growth over
15619 # repeated appends, instead of the typical quadratic growth present in naive
15621 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15622 eval 'as_fn_append ()
15633 # as_fn_arith ARG...
15634 # ------------------
15635 # Perform arithmetic evaluation on the ARGs, and store the result in the
15636 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15637 # must be portable across $(()) and expr.
15638 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15639 eval 'as_fn_arith ()
15646 as_val=`expr "$@" || test $? -eq 1`
15651 if expr a : '\(a\)' >/dev/null 2>&1 &&
15652 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15658 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15659 as_basename=basename
15664 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15670 as_me=`$as_basename -- "$0" ||
15671 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15672 X"$0" : 'X\(//\)$' \| \
15673 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15675 sed '/^.*\/\([^/][^/]*\)\/*$/{
15689 # Avoid depending upon Character Ranges.
15690 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15691 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15692 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15693 as_cr_digits='0123456789'
15694 as_cr_alnum=$as_cr_Letters$as_cr_digits
15696 ECHO_C= ECHO_N= ECHO_T=
15697 case `echo -n x` in #(((((
15699 case `echo 'xy\c'` in
15700 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15702 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15709 rm -f conf$$ conf$$.exe conf$$.file
15710 if test -d conf$$.dir; then
15711 rm -f conf$$.dir/conf$$.file
15714 mkdir conf$$.dir 2>/dev/null
15716 if (echo >conf$$.file) 2>/dev/null; then
15717 if ln -s conf$$.file conf$$ 2>/dev/null; then
15719 # ... but there are two gotchas:
15720 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15721 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15722 # In both cases, we have to default to `cp -p'.
15723 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15725 elif ln conf$$.file conf$$ 2>/dev/null; then
15733 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15734 rmdir conf$$.dir 2>/dev/null
15739 # Create "$as_dir" as a directory, including parents if necessary.
15744 -*) as_dir=./$as_dir;;
15746 test -d "$as_dir" || eval $as_mkdir_p || {
15750 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15751 *) as_qdir=$as_dir;;
15753 as_dirs="'$as_qdir' $as_dirs"
15754 as_dir=`$as_dirname -- "$as_dir" ||
15755 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15756 X"$as_dir" : 'X\(//\)[^/]' \| \
15757 X"$as_dir" : 'X\(//\)$' \| \
15758 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15759 $as_echo X"$as_dir" |
15760 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15764 /^X\(\/\/\)[^/].*/{
15777 test -d "$as_dir" && break
15779 test -z "$as_dirs" || eval "mkdir $as_dirs"
15780 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15784 if mkdir -p . 2>/dev/null; then
15785 as_mkdir_p='mkdir -p "$as_dir"'
15787 test -d ./-p && rmdir ./-p
15791 if test -x / >/dev/null 2>&1; then
15792 as_test_x='test -x'
15794 if ls -dL / >/dev/null 2>&1; then
15801 if test -d "$1"; then
15807 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15808 ???[sx]*):;;*)false;;esac;fi
15812 as_executable_p=$as_test_x
15814 # Sed expression to map a string onto a valid CPP name.
15815 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15817 # Sed expression to map a string onto a valid variable name.
15818 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15822 ## ----------------------------------- ##
15823 ## Main body of $CONFIG_STATUS script. ##
15824 ## ----------------------------------- ##
15826 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15828 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15829 # Save the log message, to keep $0 and so on meaningful, and to
15830 # report actual input values of CONFIG_FILES etc. instead of their
15831 # values after options handling.
15833 This file was extended by e_dbus $as_me 1.7.5, which was
15834 generated by GNU Autoconf 2.68. Invocation command line was
15836 CONFIG_FILES = $CONFIG_FILES
15837 CONFIG_HEADERS = $CONFIG_HEADERS
15838 CONFIG_LINKS = $CONFIG_LINKS
15839 CONFIG_COMMANDS = $CONFIG_COMMANDS
15842 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15847 case $ac_config_files in *"
15848 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15851 case $ac_config_headers in *"
15852 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15856 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15857 # Files that config.status was made for.
15858 config_files="$ac_config_files"
15859 config_headers="$ac_config_headers"
15860 config_commands="$ac_config_commands"
15864 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15866 \`$as_me' instantiates files and other configuration actions
15867 from templates according to the current configuration. Unless the files
15868 and actions are specified as TAGs, all are instantiated by default.
15870 Usage: $0 [OPTION]... [TAG]...
15872 -h, --help print this help, then exit
15873 -V, --version print version number and configuration settings, then exit
15874 --config print configuration, then exit
15875 -q, --quiet, --silent
15876 do not print progress messages
15877 -d, --debug don't remove temporary files
15878 --recheck update $as_me by reconfiguring in the same conditions
15879 --file=FILE[:TEMPLATE]
15880 instantiate the configuration file FILE
15881 --header=FILE[:TEMPLATE]
15882 instantiate the configuration header FILE
15884 Configuration files:
15887 Configuration headers:
15890 Configuration commands:
15893 Report bugs to <enlightenment-devel@lists.sourceforge.net>."
15896 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15897 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15899 e_dbus config.status 1.7.5
15900 configured by $0, generated by GNU Autoconf 2.68,
15901 with options \\"\$ac_cs_config\\"
15903 Copyright (C) 2010 Free Software Foundation, Inc.
15904 This config.status script is free software; the Free Software Foundation
15905 gives unlimited permission to copy, distribute and modify it."
15912 test -n "\$AWK" || AWK=awk
15915 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15916 # The default lists apply if the user does not specify any file.
15922 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15923 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15927 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15939 # Handling of the options.
15940 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15942 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15943 $as_echo "$ac_cs_version"; exit ;;
15944 --config | --confi | --conf | --con | --co | --c )
15945 $as_echo "$ac_cs_config"; exit ;;
15946 --debug | --debu | --deb | --de | --d | -d )
15948 --file | --fil | --fi | --f )
15951 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15952 '') as_fn_error $? "missing file argument" ;;
15954 as_fn_append CONFIG_FILES " '$ac_optarg'"
15955 ac_need_defaults=false;;
15956 --header | --heade | --head | --hea )
15959 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15961 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15962 ac_need_defaults=false;;
15964 # Conflict between --help and --header
15965 as_fn_error $? "ambiguous option: \`$1'
15966 Try \`$0 --help' for more information.";;
15967 --help | --hel | -h )
15968 $as_echo "$ac_cs_usage"; exit ;;
15969 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15970 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15973 # This is an error.
15974 -*) as_fn_error $? "unrecognized option: \`$1'
15975 Try \`$0 --help' for more information." ;;
15977 *) as_fn_append ac_config_targets " $1"
15978 ac_need_defaults=false ;;
15984 ac_configure_extra_args=
15986 if $ac_cs_silent; then
15988 ac_configure_extra_args="$ac_configure_extra_args --silent"
15992 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15993 if \$ac_cs_recheck; then
15994 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15996 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15997 CONFIG_SHELL='$SHELL'
15998 export CONFIG_SHELL
16003 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16007 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16008 ## Running $as_me. ##
16014 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16018 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16021 # The HP-UX ksh and POSIX shell print the target directory to stdout
16022 # if CDPATH is set.
16023 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16025 sed_quote_subst='$sed_quote_subst'
16026 double_quote_subst='$double_quote_subst'
16027 delay_variable_subst='$delay_variable_subst'
16028 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
16029 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16030 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16031 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16032 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16033 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16034 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16035 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16036 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16037 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16038 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16039 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16040 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16041 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16042 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16043 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16044 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16045 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16046 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16047 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16048 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16049 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16050 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16051 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16052 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16053 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16054 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16055 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16056 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16057 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16058 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16059 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16060 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16061 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16062 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16063 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16064 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16065 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16066 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16067 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16068 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16069 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16070 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16071 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16072 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16073 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16074 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16075 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16076 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16077 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16078 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16079 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16080 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16081 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16082 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16083 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16084 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16085 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"`'
16086 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16087 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16088 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16089 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16090 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16091 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16092 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16093 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16094 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16095 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16096 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16097 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16098 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16099 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16100 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16101 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16102 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16103 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16104 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16105 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16106 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16107 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16108 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16109 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16110 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16111 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16112 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16113 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16114 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16115 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16116 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16117 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16118 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16119 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16120 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16121 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16122 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16123 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16124 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16125 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16126 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16127 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16128 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16129 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16130 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16131 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16132 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16133 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16134 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16135 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16136 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16137 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16138 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16139 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16140 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16141 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16142 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16143 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16144 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16145 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16146 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16147 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16148 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16149 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16150 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16151 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16152 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16153 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16154 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16155 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16156 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16157 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16158 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16161 LTCFLAGS='$LTCFLAGS'
16162 compiler='$compiler_DEFAULT'
16164 # A function that is used when there is no print builtin or printf.
16165 func_fallback_echo ()
16167 eval 'cat <<_LTECHO_EOF
16172 # Quote evaled strings.
16189 deplibs_check_method \
16193 sharedlib_from_linklib_cmd \
16196 archiver_list_spec \
16202 lt_cv_sys_global_symbol_pipe \
16203 lt_cv_sys_global_symbol_to_cdecl \
16204 lt_cv_sys_global_symbol_to_c_name_address \
16205 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16206 nm_file_list_spec \
16207 lt_prog_compiler_no_builtin_flag \
16208 lt_prog_compiler_pic \
16209 lt_prog_compiler_wl \
16210 lt_prog_compiler_static \
16211 lt_cv_prog_compiler_c_o \
16220 export_dynamic_flag_spec \
16221 whole_archive_flag_spec \
16222 compiler_needs_object \
16224 allow_undefined_flag \
16225 no_undefined_flag \
16226 hardcode_libdir_flag_spec \
16227 hardcode_libdir_separator \
16231 variables_saved_for_relink \
16233 library_names_spec \
16235 install_override_mode \
16239 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16240 *[\\\\\\\`\\"\\\$]*)
16241 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16244 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16249 # Double-quote double-evaled strings.
16250 for var in reload_cmds \
16251 old_postinstall_cmds \
16252 old_postuninstall_cmds \
16254 extract_expsyms_cmds \
16255 old_archive_from_new_cmds \
16256 old_archive_from_expsyms_cmds \
16258 archive_expsym_cmds \
16260 module_expsym_cmds \
16261 export_symbols_cmds \
16265 postuninstall_cmds \
16267 sys_lib_search_path_spec \
16268 sys_lib_dlsearch_path_spec; do
16269 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16270 *[\\\\\\\`\\"\\\$]*)
16271 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16274 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16279 ac_aux_dir='$ac_aux_dir'
16280 xsi_shell='$xsi_shell'
16281 lt_shell_append='$lt_shell_append'
16283 # See if we are running on zsh, and set the options which allow our
16284 # commands through without removal of \ escapes INIT.
16285 if test -n "\${ZSH_VERSION+set}" ; then
16286 setopt NO_GLOB_SUBST
16292 TIMESTAMP='$TIMESTAMP'
16301 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16303 # Handling of arguments.
16304 for ac_config_target in $ac_config_targets
16306 case $ac_config_target in
16307 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16308 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16309 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16310 "e_dbus.spec") CONFIG_FILES="$CONFIG_FILES e_dbus.spec" ;;
16311 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16312 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16313 "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
16314 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16315 "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
16316 "src/lib/bluez/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/bluez/Makefile" ;;
16317 "src/lib/connman0_7x/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/connman0_7x/Makefile" ;;
16318 "src/lib/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/dbus/Makefile" ;;
16319 "src/lib/hal/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/hal/Makefile" ;;
16320 "src/lib/notification/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/notification/Makefile" ;;
16321 "src/lib/ofono/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ofono/Makefile" ;;
16322 "src/lib/ukit/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ukit/Makefile" ;;
16323 "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
16324 "ebluez.pc") CONFIG_FILES="$CONFIG_FILES ebluez.pc" ;;
16325 "econnman-0.7x.pc") CONFIG_FILES="$CONFIG_FILES econnman-0.7x.pc" ;;
16326 "edbus.pc") CONFIG_FILES="$CONFIG_FILES edbus.pc" ;;
16327 "ehal.pc") CONFIG_FILES="$CONFIG_FILES ehal.pc" ;;
16328 "enotify.pc") CONFIG_FILES="$CONFIG_FILES enotify.pc" ;;
16329 "eofono.pc") CONFIG_FILES="$CONFIG_FILES eofono.pc" ;;
16330 "eukit.pc") CONFIG_FILES="$CONFIG_FILES eukit.pc" ;;
16332 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16337 # If the user did not use the arguments to specify the items to instantiate,
16338 # then the envvar interface is used. Set only those that are not.
16339 # We use the long form for the default assignment because of an extremely
16340 # bizarre bug on SunOS 4.1.3.
16341 if $ac_need_defaults; then
16342 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16343 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16344 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16347 # Have a temporary directory for convenience. Make it in the build tree
16348 # simply because there is no reason against having it here, and in addition,
16349 # creating and moving files from /tmp can sometimes cause problems.
16350 # Hook for its removal unless debugging.
16351 # Note that there is a small window in which the directory will not be cleaned:
16352 # after its creation but before its name has been assigned to `$tmp'.
16356 trap 'exit_status=$?
16357 : "${ac_tmp:=$tmp}"
16358 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16360 trap 'as_fn_exit 1' 1 2 13 15
16362 # Create a (secure) tmp directory for tmp files.
16365 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16369 tmp=./conf$$-$RANDOM
16370 (umask 077 && mkdir "$tmp")
16371 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16374 # Set up the scripts for CONFIG_FILES section.
16375 # No need to generate them if there are no CONFIG_FILES.
16376 # This happens for instance with `./config.status config.h'.
16377 if test -n "$CONFIG_FILES"; then
16380 ac_cr=`echo X | tr X '\015'`
16381 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16382 # But we know of no other shell where ac_cr would be empty at this
16383 # point, so we can use a bashism as a fallback.
16384 if test "x$ac_cr" = x; then
16385 eval ac_cr=\$\'\\r\'
16387 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16388 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16391 ac_cs_awk_cr=$ac_cr
16394 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16399 echo "cat >conf$$subs.awk <<_ACEOF" &&
16400 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16402 } >conf$$subs.sh ||
16403 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16404 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16406 for ac_last_try in false false false false false :; do
16407 . ./conf$$subs.sh ||
16408 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16410 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16411 if test $ac_delim_n = $ac_delim_num; then
16413 elif $ac_last_try; then
16414 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16416 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16419 rm -f conf$$subs.sh
16421 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16422 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16426 s/^/S["/; s/!.*/"]=/
16436 s/\(.\{148\}\)..*/\1/
16438 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16443 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16450 s/\(.\{148\}\)..*/\1/
16452 s/["\\]/\\&/g; s/^/"/; s/$/"/
16456 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16461 ' <conf$$subs.awk | sed '
16466 ' >>$CONFIG_STATUS || ac_write_fail=1
16467 rm -f conf$$subs.awk
16468 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16470 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16471 for (key in S) S_is_set[key] = 1
16477 nfields = split(line, field, "@")
16479 len = length(field[1])
16480 for (i = 2; i < nfields; i++) {
16482 keylen = length(key)
16483 if (S_is_set[key]) {
16485 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16486 len += length(value) + length(field[++i])
16497 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16498 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16499 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16502 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16503 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16506 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16507 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16508 # trailing colons and then remove the whole line if VPATH becomes empty
16509 # (actually we leave an empty line to preserve line numbers).
16510 if test "x$srcdir" = x.; then
16511 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16529 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16530 fi # test -n "$CONFIG_FILES"
16532 # Set up the scripts for CONFIG_HEADERS section.
16533 # No need to generate them if there are no CONFIG_HEADERS.
16534 # This happens for instance with `./config.status Makefile'.
16535 if test -n "$CONFIG_HEADERS"; then
16536 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16540 # Transform confdefs.h into an awk script `defines.awk', embedded as
16541 # here-document in config.status, that substitutes the proper values into
16542 # config.h.in to produce config.h.
16544 # Create a delimiter string that does not exist in confdefs.h, to ease
16545 # handling of long lines.
16547 for ac_last_try in false false :; do
16548 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16549 if test -z "$ac_tt"; then
16551 elif $ac_last_try; then
16552 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16554 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16558 # For the awk script, D is an array of macro values keyed by name,
16559 # likewise P contains macro parameters if any. Preserve backslash
16560 # newline sequences.
16562 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16564 s/.\{148\}/&'"$ac_delim"'/g
16567 s/^[ ]*#[ ]*define[ ][ ]*/ /
16574 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16576 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16580 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16581 D["\1"]=" \3\\\\\\n"\\/p
16583 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16588 s/.\{148\}/&'"$ac_delim"'/g
16593 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16596 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16598 ' <confdefs.h | sed '
16599 s/'"$ac_delim"'/"\\\
16600 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16602 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16603 for (key in D) D_is_set[key] = 1
16606 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16608 split(line, arg, " ")
16609 if (arg[1] == "#") {
16613 defundef = substr(arg[1], 2)
16616 split(mac1, mac2, "(") #)
16618 prefix = substr(line, 1, index(line, defundef) - 1)
16619 if (D_is_set[macro]) {
16620 # Preserve the white space surrounding the "#".
16621 print prefix "define", macro P[macro] D[macro]
16624 # Replace #undef with comments. This is necessary, for example,
16625 # in the case of _POSIX_SOURCE, which is predefined and required
16626 # on some systems where configure will not decide to define it.
16627 if (defundef == "undef") {
16628 print "/*", prefix defundef, macro, "*/"
16636 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16637 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16638 fi # test -n "$CONFIG_HEADERS"
16641 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16646 :[FHLC]) ac_mode=$ac_tag; continue;;
16648 case $ac_mode$ac_tag in
16650 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16651 :[FH]-) ac_tag=-:-;;
16652 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16669 -) ac_f="$ac_tmp/stdin";;
16670 *) # Look for the file first in the build tree, then in the source tree
16671 # (if the path is not absolute). The absolute path cannot be DOS-style,
16672 # because $ac_f cannot contain `:'.
16676 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16678 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16680 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16681 as_fn_append ac_file_inputs " '$ac_f'"
16684 # Let's still pretend it is `configure' which instantiates (i.e., don't
16685 # use $as_me), people would be surprised to read:
16686 # /* config.h. Generated by config.status. */
16687 configure_input='Generated from '`
16688 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16690 if test x"$ac_file" != x-; then
16691 configure_input="$ac_file. $configure_input"
16692 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16693 $as_echo "$as_me: creating $ac_file" >&6;}
16695 # Neutralize special characters interpreted by sed in replacement strings.
16696 case $configure_input in #(
16697 *\&* | *\|* | *\\* )
16698 ac_sed_conf_input=`$as_echo "$configure_input" |
16699 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16700 *) ac_sed_conf_input=$configure_input;;
16704 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16705 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16710 ac_dir=`$as_dirname -- "$ac_file" ||
16711 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16712 X"$ac_file" : 'X\(//\)[^/]' \| \
16713 X"$ac_file" : 'X\(//\)$' \| \
16714 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16715 $as_echo X"$ac_file" |
16716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16720 /^X\(\/\/\)[^/].*/{
16733 as_dir="$ac_dir"; as_fn_mkdir_p
16737 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16739 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16740 # A ".." for each directory in $ac_dir_suffix.
16741 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16742 case $ac_top_builddir_sub in
16743 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16744 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16747 ac_abs_top_builddir=$ac_pwd
16748 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16749 # for backward compatibility:
16750 ac_top_builddir=$ac_top_build_prefix
16753 .) # We are building in place.
16755 ac_top_srcdir=$ac_top_builddir_sub
16756 ac_abs_top_srcdir=$ac_pwd ;;
16757 [\\/]* | ?:[\\/]* ) # Absolute name.
16758 ac_srcdir=$srcdir$ac_dir_suffix;
16759 ac_top_srcdir=$srcdir
16760 ac_abs_top_srcdir=$srcdir ;;
16761 *) # Relative name.
16762 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16763 ac_top_srcdir=$ac_top_build_prefix$srcdir
16764 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16766 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16776 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16777 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16779 ac_MKDIR_P=$MKDIR_P
16781 [\\/$]* | ?:[\\/]* ) ;;
16782 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16786 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16787 # If the template does not know about datarootdir, expand it.
16788 # FIXME: This hack should be removed a few years after 2.60.
16789 ac_datarootdir_hack=; ac_datarootdir_seen=
16800 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16801 *datarootdir*) ac_datarootdir_seen=yes;;
16802 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16804 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16806 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16807 ac_datarootdir_hack='
16808 s&@datadir@&$datadir&g
16809 s&@docdir@&$docdir&g
16810 s&@infodir@&$infodir&g
16811 s&@localedir@&$localedir&g
16812 s&@mandir@&$mandir&g
16813 s&\\\${datarootdir}&$datarootdir&g' ;;
16817 # Neutralize VPATH when `$srcdir' = `.'.
16818 # Shell code in configure.ac might set extrasub.
16819 # FIXME: do we really want to maintain this feature?
16820 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16821 ac_sed_extra="$ac_vpsub
16824 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16826 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16827 s|@configure_input@|$ac_sed_conf_input|;t t
16828 s&@top_builddir@&$ac_top_builddir_sub&;t t
16829 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16830 s&@srcdir@&$ac_srcdir&;t t
16831 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16832 s&@top_srcdir@&$ac_top_srcdir&;t t
16833 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16834 s&@builddir@&$ac_builddir&;t t
16835 s&@abs_builddir@&$ac_abs_builddir&;t t
16836 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16837 s&@INSTALL@&$ac_INSTALL&;t t
16838 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16839 $ac_datarootdir_hack
16841 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16842 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16844 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16845 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16846 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16847 "$ac_tmp/out"`; test -z "$ac_out"; } &&
16848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16849 which seems to be undefined. Please make sure it is defined" >&5
16850 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16851 which seems to be undefined. Please make sure it is defined" >&2;}
16853 rm -f "$ac_tmp/stdin"
16855 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16856 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16858 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16864 if test x"$ac_file" != x-; then
16866 $as_echo "/* $configure_input */" \
16867 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16868 } >"$ac_tmp/config.h" \
16869 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16870 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16871 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16872 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16875 mv "$ac_tmp/config.h" "$ac_file" \
16876 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16879 $as_echo "/* $configure_input */" \
16880 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16881 || as_fn_error $? "could not create -" "$LINENO" 5
16883 # Compute "$ac_file"'s index in $config_headers.
16886 for _am_header in $config_headers :; do
16887 case $_am_header in
16888 $_am_arg | $_am_arg:* )
16891 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16894 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16895 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16896 X"$_am_arg" : 'X\(//\)[^/]' \| \
16897 X"$_am_arg" : 'X\(//\)$' \| \
16898 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16899 $as_echo X"$_am_arg" |
16900 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16904 /^X\(\/\/\)[^/].*/{
16916 s/.*/./; q'`/stamp-h$_am_stamp_count
16919 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16920 $as_echo "$as_me: executing $ac_file commands" >&6;}
16925 case $ac_file$ac_mode in
16926 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16927 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16928 # are listed without --file. Let's play safe and only enable the eval
16929 # if we detect the quoting.
16930 case $CONFIG_FILES in
16931 *\'*) eval set x "$CONFIG_FILES" ;;
16932 *) set x $CONFIG_FILES ;;
16937 # Strip MF so we end up with the name of the file.
16938 mf=`echo "$mf" | sed -e 's/:.*$//'`
16939 # Check whether this is an Automake generated Makefile or not.
16940 # We used to match only the files named `Makefile.in', but
16941 # some people rename them; so instead we look at the file content.
16942 # Grep'ing the first line is not enough: some people post-process
16943 # each Makefile.in and add a new line on top of each file to say so.
16944 # Grep'ing the whole file is not good either: AIX grep has a line
16945 # limit of 2048, but all sed's we know have understand at least 4000.
16946 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16947 dirpart=`$as_dirname -- "$mf" ||
16948 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16949 X"$mf" : 'X\(//\)[^/]' \| \
16950 X"$mf" : 'X\(//\)$' \| \
16951 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16953 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16957 /^X\(\/\/\)[^/].*/{
16973 # Extract the definition of DEPDIR, am__include, and am__quote
16974 # from the Makefile without running `make'.
16975 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16976 test -z "$DEPDIR" && continue
16977 am__include=`sed -n 's/^am__include = //p' < "$mf"`
16978 test -z "am__include" && continue
16979 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16980 # When using ansi2knr, U may be empty or an underscore; expand it
16981 U=`sed -n 's/^U = //p' < "$mf"`
16982 # Find all dependency output files, they are included files with
16983 # $(DEPDIR) in their names. We invoke sed twice because it is the
16984 # simplest approach to changing $(DEPDIR) to its actual value in the
16986 for file in `sed -n "
16987 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16988 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16989 # Make sure the directory exists.
16990 test -f "$dirpart/$file" && continue
16991 fdir=`$as_dirname -- "$file" ||
16992 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16993 X"$file" : 'X\(//\)[^/]' \| \
16994 X"$file" : 'X\(//\)$' \| \
16995 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16996 $as_echo X"$file" |
16997 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17001 /^X\(\/\/\)[^/].*/{
17014 as_dir=$dirpart/$fdir; as_fn_mkdir_p
17015 # echo "creating $dirpart/$file"
17016 echo '# dummy' > "$dirpart/$file"
17023 # See if we are running on zsh, and set the options which allow our
17024 # commands through without removal of \ escapes.
17025 if test -n "${ZSH_VERSION+set}" ; then
17026 setopt NO_GLOB_SUBST
17029 cfgfile="${ofile}T"
17030 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17033 cat <<_LT_EOF >> "$cfgfile"
17036 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17037 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17038 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17039 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17041 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17042 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17044 # Written by Gordon Matzigkeit, 1996
17046 # This file is part of GNU Libtool.
17048 # GNU Libtool is free software; you can redistribute it and/or
17049 # modify it under the terms of the GNU General Public License as
17050 # published by the Free Software Foundation; either version 2 of
17051 # the License, or (at your option) any later version.
17053 # As a special exception to the GNU General Public License,
17054 # if you distribute this file as part of a program or library that
17055 # is built using GNU Libtool, you may include this file under the
17056 # same distribution terms that you use for the rest of that program.
17058 # GNU Libtool is distributed in the hope that it will be useful,
17059 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17060 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17061 # GNU General Public License for more details.
17063 # You should have received a copy of the GNU General Public License
17064 # along with GNU Libtool; see the file COPYING. If not, a copy
17065 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17066 # obtained by writing to the Free Software Foundation, Inc.,
17067 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17070 # The names of the tagged configurations supported by this script.
17073 # ### BEGIN LIBTOOL CONFIG
17075 # Assembler program.
17078 # DLL creation program.
17079 DLLTOOL=$lt_DLLTOOL
17081 # Object dumper program.
17082 OBJDUMP=$lt_OBJDUMP
17084 # Which release of libtool.m4 was used?
17085 macro_version=$macro_version
17086 macro_revision=$macro_revision
17088 # Whether or not to build shared libraries.
17089 build_libtool_libs=$enable_shared
17091 # Whether or not to build static libraries.
17092 build_old_libs=$enable_static
17094 # What type of objects to build.
17097 # Whether or not to optimize for fast installation.
17098 fast_install=$enable_fast_install
17100 # Shell to use when invoking shell scripts.
17103 # An echo program that protects backslashes.
17106 # The PATH separator for the build system.
17107 PATH_SEPARATOR=$lt_PATH_SEPARATOR
17110 host_alias=$host_alias
17114 # The build system.
17115 build_alias=$build_alias
17119 # A sed program that does not truncate output.
17122 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17123 Xsed="\$SED -e 1s/^X//"
17125 # A grep program that handles long lines.
17131 # A literal string matcher.
17134 # A BSD- or MS-compatible name lister.
17137 # Whether we need soft or hard links.
17140 # What is the maximum length of a command?
17141 max_cmd_len=$max_cmd_len
17143 # Object file suffix (normally "o").
17146 # Executable file suffix (normally "").
17149 # whether the shell understands "unset".
17152 # turn spaces into newlines.
17155 # turn newlines into spaces.
17158 # convert \$build file names to \$host format.
17159 to_host_file_cmd=$lt_cv_to_host_file_cmd
17161 # convert \$build files to toolchain format.
17162 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17164 # Method to check whether dependent libraries are shared objects.
17165 deplibs_check_method=$lt_deplibs_check_method
17167 # Command to use when deplibs_check_method = "file_magic".
17168 file_magic_cmd=$lt_file_magic_cmd
17170 # How to find potential files when deplibs_check_method = "file_magic".
17171 file_magic_glob=$lt_file_magic_glob
17173 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17174 want_nocaseglob=$lt_want_nocaseglob
17176 # Command to associate shared and link libraries.
17177 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17182 # Flags to create an archive.
17183 AR_FLAGS=$lt_AR_FLAGS
17185 # How to feed a file listing to the archiver.
17186 archiver_list_spec=$lt_archiver_list_spec
17188 # A symbol stripping program.
17191 # Commands used to install an old-style archive.
17193 old_postinstall_cmds=$lt_old_postinstall_cmds
17194 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17196 # Whether to use a lock for old archive extraction.
17197 lock_old_archive_extraction=$lock_old_archive_extraction
17202 # LTCC compiler flags.
17203 LTCFLAGS=$lt_CFLAGS
17205 # Take the output of nm and produce a listing of raw symbols and C names.
17206 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17208 # Transform the output of nm in a proper C declaration.
17209 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17211 # Transform the output of nm in a C name address pair.
17212 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17214 # Transform the output of nm in a C name address pair when lib prefix is needed.
17215 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17217 # Specify filename containing input files for \$NM.
17218 nm_file_list_spec=$lt_nm_file_list_spec
17220 # The root where to search for dependent libraries,and in which our libraries should be installed.
17221 lt_sysroot=$lt_sysroot
17223 # The name of the directory that contains temporary libtool files.
17226 # Used to examine libraries when file_magic_cmd begins with "file".
17227 MAGIC_CMD=$MAGIC_CMD
17229 # Must we lock files when doing compilation?
17230 need_locks=$lt_need_locks
17233 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17235 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17236 DSYMUTIL=$lt_DSYMUTIL
17238 # Tool to change global to local symbols on Mac OS X.
17241 # Tool to manipulate fat objects and archives on Mac OS X.
17244 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17247 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17248 OTOOL64=$lt_OTOOL64
17250 # Old archive suffix (normally "a").
17253 # Shared library suffix (normally ".so").
17254 shrext_cmds=$lt_shrext_cmds
17256 # The commands to extract the exported symbol list from a shared archive.
17257 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17259 # Variables whose values should be saved in libtool wrapper scripts and
17260 # restored at link time.
17261 variables_saved_for_relink=$lt_variables_saved_for_relink
17263 # Do we need the "lib" prefix for modules?
17264 need_lib_prefix=$need_lib_prefix
17266 # Do we need a version for libraries?
17267 need_version=$need_version
17269 # Library versioning type.
17270 version_type=$version_type
17272 # Shared library runtime path variable.
17273 runpath_var=$runpath_var
17275 # Shared library path variable.
17276 shlibpath_var=$shlibpath_var
17278 # Is shlibpath searched before the hard-coded library search path?
17279 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17281 # Format of library name prefix.
17282 libname_spec=$lt_libname_spec
17284 # List of archive names. First name is the real one, the rest are links.
17285 # The last name is the one that the linker finds with -lNAME
17286 library_names_spec=$lt_library_names_spec
17288 # The coded name of the library, if different from the real name.
17289 soname_spec=$lt_soname_spec
17291 # Permission mode override for installation of shared libraries.
17292 install_override_mode=$lt_install_override_mode
17294 # Command to use after installation of a shared archive.
17295 postinstall_cmds=$lt_postinstall_cmds
17297 # Command to use after uninstallation of a shared archive.
17298 postuninstall_cmds=$lt_postuninstall_cmds
17300 # Commands used to finish a libtool library installation in a directory.
17301 finish_cmds=$lt_finish_cmds
17303 # As "finish_cmds", except a single script fragment to be evaled but
17305 finish_eval=$lt_finish_eval
17307 # Whether we should hardcode library paths into libraries.
17308 hardcode_into_libs=$hardcode_into_libs
17310 # Compile-time system search path for libraries.
17311 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17313 # Run-time system search path for libraries.
17314 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17316 # Whether dlopen is supported.
17317 dlopen_support=$enable_dlopen
17319 # Whether dlopen of programs is supported.
17320 dlopen_self=$enable_dlopen_self
17322 # Whether dlopen of statically linked programs is supported.
17323 dlopen_self_static=$enable_dlopen_self_static
17325 # Commands to strip libraries.
17326 old_striplib=$lt_old_striplib
17327 striplib=$lt_striplib
17330 # The linker used to build libraries.
17333 # How to create reloadable object files.
17334 reload_flag=$lt_reload_flag
17335 reload_cmds=$lt_reload_cmds
17337 # Commands used to build an old-style archive.
17338 old_archive_cmds=$lt_old_archive_cmds
17340 # A language specific compiler.
17343 # Is the compiler the GNU compiler?
17346 # Compiler flag to turn off builtin functions.
17347 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17349 # Additional compiler flags for building library objects.
17350 pic_flag=$lt_lt_prog_compiler_pic
17352 # How to pass a linker flag through the compiler.
17353 wl=$lt_lt_prog_compiler_wl
17355 # Compiler flag to prevent dynamic linking.
17356 link_static_flag=$lt_lt_prog_compiler_static
17358 # Does compiler simultaneously support -c and -o options?
17359 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17361 # Whether or not to add -lc for building shared libraries.
17362 build_libtool_need_lc=$archive_cmds_need_lc
17364 # Whether or not to disallow shared libs when runtime libs are static.
17365 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17367 # Compiler flag to allow reflexive dlopens.
17368 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17370 # Compiler flag to generate shared objects directly from archives.
17371 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17373 # Whether the compiler copes with passing no objects directly.
17374 compiler_needs_object=$lt_compiler_needs_object
17376 # Create an old-style archive from a shared archive.
17377 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17379 # Create a temporary old-style archive to link instead of a shared archive.
17380 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17382 # Commands used to build a shared archive.
17383 archive_cmds=$lt_archive_cmds
17384 archive_expsym_cmds=$lt_archive_expsym_cmds
17386 # Commands used to build a loadable module if different from building
17387 # a shared archive.
17388 module_cmds=$lt_module_cmds
17389 module_expsym_cmds=$lt_module_expsym_cmds
17391 # Whether we are building with GNU ld or not.
17392 with_gnu_ld=$lt_with_gnu_ld
17394 # Flag that allows shared libraries with undefined symbols to be built.
17395 allow_undefined_flag=$lt_allow_undefined_flag
17397 # Flag that enforces no undefined symbols.
17398 no_undefined_flag=$lt_no_undefined_flag
17400 # Flag to hardcode \$libdir into a binary during linking.
17401 # This must work even if \$libdir does not exist
17402 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17404 # Whether we need a single "-rpath" flag with a separated argument.
17405 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17407 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17408 # DIR into the resulting binary.
17409 hardcode_direct=$hardcode_direct
17411 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17412 # DIR into the resulting binary and the resulting library dependency is
17413 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17414 # library is relocated.
17415 hardcode_direct_absolute=$hardcode_direct_absolute
17417 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17418 # into the resulting binary.
17419 hardcode_minus_L=$hardcode_minus_L
17421 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17422 # into the resulting binary.
17423 hardcode_shlibpath_var=$hardcode_shlibpath_var
17425 # Set to "yes" if building a shared library automatically hardcodes DIR
17426 # into the library and all subsequent libraries and executables linked
17428 hardcode_automatic=$hardcode_automatic
17430 # Set to yes if linker adds runtime paths of dependent libraries
17431 # to runtime path list.
17432 inherit_rpath=$inherit_rpath
17434 # Whether libtool must link a program against all its dependency libraries.
17435 link_all_deplibs=$link_all_deplibs
17437 # Set to "yes" if exported symbols are required.
17438 always_export_symbols=$always_export_symbols
17440 # The commands to list exported symbols.
17441 export_symbols_cmds=$lt_export_symbols_cmds
17443 # Symbols that should not be listed in the preloaded symbols.
17444 exclude_expsyms=$lt_exclude_expsyms
17446 # Symbols that must always be exported.
17447 include_expsyms=$lt_include_expsyms
17449 # Commands necessary for linking programs (against libraries) with templates.
17450 prelink_cmds=$lt_prelink_cmds
17452 # Commands necessary for finishing linking programs.
17453 postlink_cmds=$lt_postlink_cmds
17455 # Specify filename containing input files.
17456 file_list_spec=$lt_file_list_spec
17458 # How to hardcode a shared library path into an executable.
17459 hardcode_action=$hardcode_action
17461 # ### END LIBTOOL CONFIG
17467 cat <<\_LT_EOF >> "$cfgfile"
17468 # AIX sometimes has problems with the GCC collect2 program. For some
17469 # reason, if we set the COLLECT_NAMES environment variable, the problems
17470 # vanish in a puff of smoke.
17471 if test "X${COLLECT_NAMES+set}" != Xset; then
17473 export COLLECT_NAMES
17480 ltmain="$ac_aux_dir/ltmain.sh"
17483 # We use sed instead of cat because bash on DJGPP gets confused if
17484 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17485 # text mode, it properly converts lines to CR/LF. This bash problem
17486 # is reportedly fixed, but why not run on old versions too?
17487 sed '$q' "$ltmain" >> "$cfgfile" \
17488 || (rm -f "$cfgfile"; exit 1)
17490 if test x"$xsi_shell" = xyes; then
17491 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17495 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17496 \ * ) func_dirname_result="${3}" ;;\
17498 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17499 && mv -f "$cfgfile.tmp" "$cfgfile" \
17500 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17501 test 0 -eq $? || _lt_function_replace_fail=:
17504 sed -e '/^func_basename ()$/,/^} # func_basename /c\
17507 \ func_basename_result="${1##*/}"\
17508 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17509 && mv -f "$cfgfile.tmp" "$cfgfile" \
17510 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17511 test 0 -eq $? || _lt_function_replace_fail=:
17514 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17515 func_dirname_and_basename ()\
17518 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17519 \ * ) func_dirname_result="${3}" ;;\
17521 \ func_basename_result="${1##*/}"\
17522 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17523 && mv -f "$cfgfile.tmp" "$cfgfile" \
17524 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17525 test 0 -eq $? || _lt_function_replace_fail=:
17528 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17531 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17532 \ # positional parameters, so assign one to ordinary parameter first.\
17533 \ func_stripname_result=${3}\
17534 \ func_stripname_result=${func_stripname_result#"${1}"}\
17535 \ func_stripname_result=${func_stripname_result%"${2}"}\
17536 } # Extended-shell func_stripname 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_long_opt ()$/,/^} # func_split_long_opt /c\
17543 func_split_long_opt ()\
17545 \ func_split_long_opt_name=${1%%=*}\
17546 \ func_split_long_opt_arg=${1#*=}\
17547 } # Extended-shell func_split_long_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_split_short_opt ()$/,/^} # func_split_short_opt /c\
17554 func_split_short_opt ()\
17556 \ func_split_short_opt_arg=${1#??}\
17557 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17558 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17559 && mv -f "$cfgfile.tmp" "$cfgfile" \
17560 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17561 test 0 -eq $? || _lt_function_replace_fail=:
17564 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17568 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17569 \ *) func_lo2o_result=${1} ;;\
17571 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17572 && mv -f "$cfgfile.tmp" "$cfgfile" \
17573 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17574 test 0 -eq $? || _lt_function_replace_fail=:
17577 sed -e '/^func_xform ()$/,/^} # func_xform /c\
17580 func_xform_result=${1%.*}.lo\
17581 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17582 && mv -f "$cfgfile.tmp" "$cfgfile" \
17583 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17584 test 0 -eq $? || _lt_function_replace_fail=:
17587 sed -e '/^func_arith ()$/,/^} # func_arith /c\
17590 func_arith_result=$(( $* ))\
17591 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17592 && mv -f "$cfgfile.tmp" "$cfgfile" \
17593 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17594 test 0 -eq $? || _lt_function_replace_fail=:
17597 sed -e '/^func_len ()$/,/^} # func_len /c\
17600 func_len_result=${#1}\
17601 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17602 && mv -f "$cfgfile.tmp" "$cfgfile" \
17603 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17604 test 0 -eq $? || _lt_function_replace_fail=:
17608 if test x"$lt_shell_append" = xyes; then
17609 sed -e '/^func_append ()$/,/^} # func_append /c\
17612 eval "${1}+=\\${2}"\
17613 } # Extended-shell func_append 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 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17620 func_append_quoted ()\
17622 \ func_quote_for_eval "${2}"\
17623 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17624 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17625 && mv -f "$cfgfile.tmp" "$cfgfile" \
17626 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17627 test 0 -eq $? || _lt_function_replace_fail=:
17630 # Save a `func_append' function call where possible by direct use of '+='
17631 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17632 && mv -f "$cfgfile.tmp" "$cfgfile" \
17633 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17634 test 0 -eq $? || _lt_function_replace_fail=:
17636 # Save a `func_append' function call even when '+=' is not available
17637 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17638 && mv -f "$cfgfile.tmp" "$cfgfile" \
17639 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17640 test 0 -eq $? || _lt_function_replace_fail=:
17643 if test x"$_lt_function_replace_fail" = x":"; then
17644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17645 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17649 mv -f "$cfgfile" "$ofile" ||
17650 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17661 ac_clean_files=$ac_clean_files_save
17663 test $ac_write_fail = 0 ||
17664 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17667 # configure is writing to config.log, and then calls config.status.
17668 # config.status does its own redirection, appending to config.log.
17669 # Unfortunately, on DOS this fails, as config.log is still kept open
17670 # by configure, so config.status won't be able to write to it; its
17671 # output is simply discarded. So we exec the FD to /dev/null,
17672 # effectively closing config.log, so it can be properly (re)opened and
17673 # appended to by config.status. When coming back to configure, we
17674 # need to make the FD available again.
17675 if test "$no_create" != yes; then
17677 ac_config_status_args=
17678 test "$silent" = yes &&
17679 ac_config_status_args="$ac_config_status_args --quiet"
17681 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17683 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17684 # would make configure fail if this is the last instruction.
17685 $ac_cs_success || as_fn_exit 1
17687 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17689 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17694 #####################################################################
17700 echo "------------------------------------------------------------------------"
17701 echo "$PACKAGE $VERSION"
17702 echo "------------------------------------------------------------------------"
17704 echo "Configuration Options Summary:"
17708 echo " EBluez.............: $enable_ebluez"
17709 echo " EConnman (0.7x)....: $enable_econnman0_7x"
17710 echo " EHal...............: $enable_ehal"
17711 echo " ENotify............: $enable_enotify"
17712 echo " EOfono.............: $enable_eofono"
17713 echo " EUkit..............: $enable_eukit"
17717 echo " EDbus test.........: $have_edbus_test"
17718 echo " EDbus client test..: $have_edbus_test_client"
17719 echo " EDbus async test...: $have_edbus_async_test"
17720 echo " EDbus performance..: $have_edbus_performance_test"
17721 echo " EBluez test........: $have_edbus_bluez_test"
17722 echo " EConnman (0.7x)test: $have_edbus_connman0_7x_test"
17723 echo " ENotify Daemon test: $have_edbus_notification_daemon_test"
17724 echo " ENotify send.......: $have_edbus_notify_send"
17725 echo " ENotify test.......: $have_edbus_notify_test"
17726 echo " EOfono test........: $have_edbus_ofono_test"
17727 echo " EUkit test.........: $have_edbus_ukit_test"
17729 echo "Documentation..........: ${build_doc}"
17730 if test "x${build_doc}" = "xyes" ; then
17731 echo " Installation.......: make install-doc"
17734 echo "Compilation............: make (or gmake)"
17735 echo " CPPFLAGS.............: $CPPFLAGS"
17736 echo " CFLAGS...............: $CFLAGS"
17737 echo " LDFLAGS..............: $LDFLAGS"
17739 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
17740 echo " prefix...............: $prefix"