2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for e_dbus 1.7.1.
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.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x; then
139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev/null; then :
182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
190 test -z "$as_dir" && as_dir=.
194 for as_base in sh bash ksh sh5; do
195 # Try only shells that exist, to save several forks.
196 as_shell=$as_dir/$as_base
197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 CONFIG_SHELL=$as_shell as_have_required=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210 CONFIG_SHELL=$SHELL as_have_required=yes
215 if test "x$CONFIG_SHELL" != x; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226 if test x$as_have_required = xno; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x${ZSH_VERSION+set} = xset ; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and
234 $0: enlightenment-devel@lists.sourceforge.net about your
235 $0: system, including any error possibly output before this
236 $0: message. Then install a modern shell, or manually run
237 $0: the script under such a shell if you do have one."
243 SHELL=${CONFIG_SHELL-/bin/sh}
245 # Unset more variables known to interfere with behavior of common tools.
246 CLICOLOR_FORCE= GREP_OPTIONS=
247 unset CLICOLOR_FORCE GREP_OPTIONS
249 ## --------------------- ##
250 ## M4sh Shell Functions. ##
251 ## --------------------- ##
254 # Portably unset VAR.
257 { eval $1=; unset $1;}
261 # as_fn_set_status STATUS
262 # -----------------------
263 # Set $? to STATUS, without forking.
271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281 # Create "$as_dir" as a directory, including parents if necessary.
286 -*) as_dir=./$as_dir;;
288 test -d "$as_dir" || eval $as_mkdir_p || {
292 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
295 as_dirs="'$as_qdir' $as_dirs"
296 as_dir=`$as_dirname -- "$as_dir" ||
297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298 X"$as_dir" : 'X\(//\)[^/]' \| \
299 X"$as_dir" : 'X\(//\)$' \| \
300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301 $as_echo X"$as_dir" |
302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319 test -d "$as_dir" && break
321 test -z "$as_dirs" || eval "mkdir $as_dirs"
322 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
326 # as_fn_append VAR VALUE
327 # ----------------------
328 # Append the text in VALUE to the end of the definition contained in VAR. Take
329 # advantage of any shell optimizations that allow amortized linear growth over
330 # repeated appends, instead of the typical quadratic growth present in naive
332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333 eval 'as_fn_append ()
346 # Perform arithmetic evaluation on the ARGs, and store the result in the
347 # global $as_val. Take advantage of shells that can avoid forks. The arguments
348 # must be portable across $(()) and expr.
349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
357 as_val=`expr "$@" || test $? -eq 1`
362 # as_fn_error STATUS ERROR [LINENO LOG_FD]
363 # ----------------------------------------
364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366 # script with STATUS, using 1 if that was 0.
369 as_status=$1; test $as_status -eq 0 && as_status=1
371 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
374 $as_echo "$as_me: error: $2" >&2
375 as_fn_exit $as_status
378 if expr a : '\(a\)' >/dev/null 2>&1 &&
379 test "X`expr 00001 : '.*\(...\)'`" = X001; then
385 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
397 as_me=`$as_basename -- "$0" ||
398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399 X"$0" : 'X\(//\)$' \| \
400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402 sed '/^.*\/\([^/][^/]*\)\/*$/{
416 # Avoid depending upon Character Ranges.
417 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420 as_cr_digits='0123456789'
421 as_cr_alnum=$as_cr_Letters$as_cr_digits
424 as_lineno_1=$LINENO as_lineno_1a=$LINENO
425 as_lineno_2=$LINENO as_lineno_2a=$LINENO
426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 chmod +x "$as_me.lineno" ||
445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
447 # Don't try to exec as it changes $[0], causing all sort of problems
448 # (the dirname of $[0] is not the place where we might find the
449 # original and so on. Autoconf is especially sensitive to this).
451 # Exit status is that of the last command.
455 ECHO_C= ECHO_N= ECHO_T=
456 case `echo -n x` in #(((((
458 case `echo 'xy\c'` in
459 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
461 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
468 rm -f conf$$ conf$$.exe conf$$.file
469 if test -d conf$$.dir; then
470 rm -f conf$$.dir/conf$$.file
473 mkdir conf$$.dir 2>/dev/null
475 if (echo >conf$$.file) 2>/dev/null; then
476 if ln -s conf$$.file conf$$ 2>/dev/null; then
478 # ... but there are two gotchas:
479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481 # In both cases, we have to default to `cp -p'.
482 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
484 elif ln conf$$.file conf$$ 2>/dev/null; then
492 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
493 rmdir conf$$.dir 2>/dev/null
495 if mkdir -p . 2>/dev/null; then
496 as_mkdir_p='mkdir -p "$as_dir"'
498 test -d ./-p && rmdir ./-p
502 if test -x / >/dev/null 2>&1; then
505 if ls -dL / >/dev/null 2>&1; then
512 if test -d "$1"; then
518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519 ???[sx]*):;;*)false;;esac;fi
523 as_executable_p=$as_test_x
525 # Sed expression to map a string onto a valid CPP name.
526 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528 # Sed expression to map a string onto a valid variable name.
529 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533 # Check that we are running under the correct shell.
534 SHELL=${CONFIG_SHELL-/bin/sh}
538 # Remove one level of quotation (which was required for Make).
539 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
544 if test "X$1" = X--no-reexec; then
545 # Discard the --no-reexec flag, and continue.
547 elif test "X$1" = X--fallback-echo; then
548 # Avoid inline document here, it may be left over
550 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
551 # Yippee, $ECHO works!
554 # Restart under the correct shell.
555 exec $SHELL "$0" --no-reexec ${1+"$@"}
558 if test "X$1" = X--fallback-echo; then
559 # used as fallback echo
567 # The HP-UX ksh and POSIX shell print the target directory to stdout
569 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
571 if test -z "$lt_ECHO"; then
572 if test "X${echo_test_string+set}" != Xset; then
573 # find a string as large as possible, as long as the shell can cope with it
574 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
575 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
576 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
577 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
584 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
585 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
586 test "X$echo_testing_string" = "X$echo_test_string"; then
589 # The Solaris, AIX, and Digital Unix default echo programs unquote
590 # backslashes. This makes it impossible to quote backslashes using
591 # echo "$something" | sed 's/\\/\\\\/g'
593 # So, first we look for a working echo in the user's PATH.
595 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
596 for dir in $PATH /usr/ucb; do
598 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
599 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
600 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
601 test "X$echo_testing_string" = "X$echo_test_string"; then
608 if test "X$ECHO" = Xecho; then
609 # We didn't find a better echo, so look for alternatives.
610 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
611 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
612 test "X$echo_testing_string" = "X$echo_test_string"; then
613 # This shell has a builtin print -r that does the trick.
615 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
616 test "X$CONFIG_SHELL" != X/bin/ksh; then
617 # If we have ksh, try running configure again with it.
618 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
619 export ORIGINAL_CONFIG_SHELL
620 CONFIG_SHELL=/bin/ksh
622 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
626 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628 test "X$echo_testing_string" = "X$echo_test_string"; then
631 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
632 test "X$echo_testing_string" = 'X\t' &&
633 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
634 test "X$echo_testing_string" = "X$echo_test_string"; then
635 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
637 SHELL="$CONFIG_SHELL"
639 ECHO="$CONFIG_SHELL $0 --fallback-echo"
640 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641 test "X$echo_testing_string" = 'X\t' &&
642 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643 test "X$echo_testing_string" = "X$echo_test_string"; then
644 ECHO="$CONFIG_SHELL $0 --fallback-echo"
646 # maybe with a smaller string...
649 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
650 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
657 if test "$prev" != 'sed 50q "$0"'; then
658 echo_test_string=`eval $prev`
659 export echo_test_string
660 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
662 # Oops. We lost completely, so just stick with echo.
671 # Copy echo and quote the copy suitably for passing to libtool from
672 # the Makefile, instead of quoting the original, which is used later.
674 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
675 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
681 test -n "$DJDIR" || exec 7<&0 </dev/null
685 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
686 # so uname gets run too.
687 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
692 ac_default_prefix=/usr/local
694 ac_config_libobj_dir=.
701 # Identity of this package.
702 PACKAGE_NAME='e_dbus'
703 PACKAGE_TARNAME='e_dbus'
704 PACKAGE_VERSION='1.7.1'
705 PACKAGE_STRING='e_dbus 1.7.1'
706 PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net'
709 ac_unique_file="configure.ac"
710 # Factoring default headers for most tests.
711 ac_includes_default="\
713 #ifdef HAVE_SYS_TYPES_H
714 # include <sys/types.h>
716 #ifdef HAVE_SYS_STAT_H
717 # include <sys/stat.h>
723 # ifdef HAVE_STDLIB_H
728 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
733 #ifdef HAVE_STRINGS_H
734 # include <strings.h>
736 #ifdef HAVE_INTTYPES_H
737 # include <inttypes.h>
746 ac_subst_vars='am__EXEEXT_FALSE
756 requirement_econnman0_7x
759 lt_enable_auto_import
761 EDBUS_ASYNC_TEST_LIBS
762 EDBUS_ASYNC_TEST_CFLAGS
763 EDBUS_PERFORMANCE_TEST_LIBS
764 EDBUS_PERFORMANCE_TEST_CFLAGS
766 EDBUS_UKIT_TEST_CFLAGS
767 EDBUS_OFONO_TEST_LIBS
768 EDBUS_OFONO_TEST_CFLAGS
769 EDBUS_NOTIFY_TEST_LIBS
770 EDBUS_NOTIFY_TEST_CFLAGS
771 EDBUS_NOTIFY_SEND_LIBS
772 EDBUS_NOTIFY_SEND_CFLAGS
773 EDBUS_NOTIFICATION_DAEMON_TEST_LIBS
774 EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS
775 EDBUS_CONNMAN0_7X_TEST_LIBS
776 EDBUS_CONNMAN0_7X_TEST_CFLAGS
777 EDBUS_BLUEZ_TEST_LIBS
778 EDBUS_BLUEZ_TEST_CFLAGS
779 EDBUS_TEST_CLIENT_LIBS
780 EDBUS_TEST_CLIENT_CFLAGS
783 BUILD_EDBUS_ASYNC_TEST_FALSE
784 BUILD_EDBUS_ASYNC_TEST_TRUE
786 BUILD_EDBUS_PERFORMANCE_TEST_FALSE
787 BUILD_EDBUS_PERFORMANCE_TEST_TRUE
788 EDBUS_PERFORMANCE_TEST_PRG
789 BUILD_EDBUS_UKIT_TEST_FALSE
790 BUILD_EDBUS_UKIT_TEST_TRUE
792 BUILD_EDBUS_OFONO_TEST_FALSE
793 BUILD_EDBUS_OFONO_TEST_TRUE
795 BUILD_EDBUS_NOTIFY_TEST_FALSE
796 BUILD_EDBUS_NOTIFY_TEST_TRUE
797 EDBUS_NOTIFY_TEST_PRG
798 BUILD_EDBUS_NOTIFY_SEND_FALSE
799 BUILD_EDBUS_NOTIFY_SEND_TRUE
800 EDBUS_NOTIFY_SEND_PRG
801 BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_FALSE
802 BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_TRUE
803 EDBUS_NOTIFICATION_DAEMON_TEST_PRG
804 BUILD_EDBUS_CONNMAN0_7X_TEST_FALSE
805 BUILD_EDBUS_CONNMAN0_7X_TEST_TRUE
806 EDBUS_CONNMAN0_7X_TEST_PRG
807 BUILD_EDBUS_BLUEZ_TEST_FALSE
808 BUILD_EDBUS_BLUEZ_TEST_TRUE
810 BUILD_EDBUS_TEST_CLIENT_FALSE
811 BUILD_EDBUS_TEST_CLIENT_TRUE
812 EDBUS_TEST_CLIENT_PRG
813 BUILD_EDBUS_TEST_FALSE
814 BUILD_EDBUS_TEST_TRUE
824 BUILD_ECONNMAN0_7X_FALSE
825 BUILD_ECONNMAN0_7X_TRUE
841 pkgconfig_requires_private
904 INSTALL_STRIP_PROGRAM
946 program_transform_name
959 enable_option_checking
965 enable_dependency_tracking
977 enable_edbus_test_client
978 enable_edbus_bluez_test
979 enable_edbus_connman0_7x_test
980 enable_edbus_notification_daemon_test
981 enable_edbus_notify_send
982 enable_edbus_notify_test
983 enable_edbus_ofono_test
984 enable_edbus_ukit_test
985 enable_edbus_performance_test
986 enable_edbus_async_test
988 ac_precious_vars='build_alias
1008 EDBUS_TEST_CLIENT_CFLAGS
1009 EDBUS_TEST_CLIENT_LIBS
1010 EDBUS_BLUEZ_TEST_CFLAGS
1011 EDBUS_BLUEZ_TEST_LIBS
1012 EDBUS_CONNMAN0_7X_TEST_CFLAGS
1013 EDBUS_CONNMAN0_7X_TEST_LIBS
1014 EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS
1015 EDBUS_NOTIFICATION_DAEMON_TEST_LIBS
1016 EDBUS_NOTIFY_SEND_CFLAGS
1017 EDBUS_NOTIFY_SEND_LIBS
1018 EDBUS_NOTIFY_TEST_CFLAGS
1019 EDBUS_NOTIFY_TEST_LIBS
1020 EDBUS_OFONO_TEST_CFLAGS
1021 EDBUS_OFONO_TEST_LIBS
1022 EDBUS_UKIT_TEST_CFLAGS
1023 EDBUS_UKIT_TEST_LIBS
1024 EDBUS_PERFORMANCE_TEST_CFLAGS
1025 EDBUS_PERFORMANCE_TEST_LIBS
1026 EDBUS_ASYNC_TEST_CFLAGS
1027 EDBUS_ASYNC_TEST_LIBS'
1030 # Initialize some variables set by options.
1032 ac_init_version=false
1033 ac_unrecognized_opts=
1034 ac_unrecognized_sep=
1035 # The variables have the same names as the options, with
1036 # dashes changed to underlines.
1037 cache_file=/dev/null
1044 program_transform_name=s,x,x,
1052 # Installation directory options.
1053 # These are left unexpanded so users can "make install exec_prefix=/foo"
1054 # and all the variables that are supposed to be based on exec_prefix
1055 # by default will actually change.
1056 # Use braces instead of parens because sh, perl, etc. also accept them.
1057 # (The list follows the same order as the GNU Coding Standards.)
1058 bindir='${exec_prefix}/bin'
1059 sbindir='${exec_prefix}/sbin'
1060 libexecdir='${exec_prefix}/libexec'
1061 datarootdir='${prefix}/share'
1062 datadir='${datarootdir}'
1063 sysconfdir='${prefix}/etc'
1064 sharedstatedir='${prefix}/com'
1065 localstatedir='${prefix}/var'
1066 includedir='${prefix}/include'
1067 oldincludedir='/usr/include'
1068 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1069 infodir='${datarootdir}/info'
1074 libdir='${exec_prefix}/lib'
1075 localedir='${datarootdir}/locale'
1076 mandir='${datarootdir}/man'
1082 # If the previous option needs an argument, assign it.
1083 if test -n "$ac_prev"; then
1084 eval $ac_prev=\$ac_option
1090 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1095 # Accept the important Cygnus configure options, so we can diagnose typos.
1097 case $ac_dashdash$ac_option in
1101 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1103 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1104 bindir=$ac_optarg ;;
1106 -build | --build | --buil | --bui | --bu)
1107 ac_prev=build_alias ;;
1108 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1109 build_alias=$ac_optarg ;;
1111 -cache-file | --cache-file | --cache-fil | --cache-fi \
1112 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1113 ac_prev=cache_file ;;
1114 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1115 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1116 cache_file=$ac_optarg ;;
1118 --config-cache | -C)
1119 cache_file=config.cache ;;
1121 -datadir | --datadir | --datadi | --datad)
1123 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1124 datadir=$ac_optarg ;;
1126 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1127 | --dataroo | --dataro | --datar)
1128 ac_prev=datarootdir ;;
1129 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1130 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1131 datarootdir=$ac_optarg ;;
1133 -disable-* | --disable-*)
1134 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1135 # Reject names that are not valid shell variable names.
1136 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1137 as_fn_error $? "invalid feature name: $ac_useropt"
1138 ac_useropt_orig=$ac_useropt
1139 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1140 case $ac_user_opts in
1142 "enable_$ac_useropt"
1144 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1145 ac_unrecognized_sep=', ';;
1147 eval enable_$ac_useropt=no ;;
1149 -docdir | --docdir | --docdi | --doc | --do)
1151 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1152 docdir=$ac_optarg ;;
1154 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1156 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1157 dvidir=$ac_optarg ;;
1159 -enable-* | --enable-*)
1160 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1161 # Reject names that are not valid shell variable names.
1162 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1163 as_fn_error $? "invalid feature name: $ac_useropt"
1164 ac_useropt_orig=$ac_useropt
1165 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1166 case $ac_user_opts in
1168 "enable_$ac_useropt"
1170 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1171 ac_unrecognized_sep=', ';;
1173 eval enable_$ac_useropt=\$ac_optarg ;;
1175 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1176 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1177 | --exec | --exe | --ex)
1178 ac_prev=exec_prefix ;;
1179 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1180 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1181 | --exec=* | --exe=* | --ex=*)
1182 exec_prefix=$ac_optarg ;;
1184 -gas | --gas | --ga | --g)
1185 # Obsolete; use --with-gas.
1188 -help | --help | --hel | --he | -h)
1189 ac_init_help=long ;;
1190 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1191 ac_init_help=recursive ;;
1192 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1193 ac_init_help=short ;;
1195 -host | --host | --hos | --ho)
1196 ac_prev=host_alias ;;
1197 -host=* | --host=* | --hos=* | --ho=*)
1198 host_alias=$ac_optarg ;;
1200 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1202 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1204 htmldir=$ac_optarg ;;
1206 -includedir | --includedir | --includedi | --included | --include \
1207 | --includ | --inclu | --incl | --inc)
1208 ac_prev=includedir ;;
1209 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1210 | --includ=* | --inclu=* | --incl=* | --inc=*)
1211 includedir=$ac_optarg ;;
1213 -infodir | --infodir | --infodi | --infod | --info | --inf)
1215 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1216 infodir=$ac_optarg ;;
1218 -libdir | --libdir | --libdi | --libd)
1220 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1221 libdir=$ac_optarg ;;
1223 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1224 | --libexe | --libex | --libe)
1225 ac_prev=libexecdir ;;
1226 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1227 | --libexe=* | --libex=* | --libe=*)
1228 libexecdir=$ac_optarg ;;
1230 -localedir | --localedir | --localedi | --localed | --locale)
1231 ac_prev=localedir ;;
1232 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1233 localedir=$ac_optarg ;;
1235 -localstatedir | --localstatedir | --localstatedi | --localstated \
1236 | --localstate | --localstat | --localsta | --localst | --locals)
1237 ac_prev=localstatedir ;;
1238 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1239 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1240 localstatedir=$ac_optarg ;;
1242 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1244 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1245 mandir=$ac_optarg ;;
1247 -nfp | --nfp | --nf)
1248 # Obsolete; use --without-fp.
1251 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1252 | --no-cr | --no-c | -n)
1255 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1256 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1259 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1260 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1261 | --oldin | --oldi | --old | --ol | --o)
1262 ac_prev=oldincludedir ;;
1263 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1264 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1265 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1266 oldincludedir=$ac_optarg ;;
1268 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1270 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1271 prefix=$ac_optarg ;;
1273 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1274 | --program-pre | --program-pr | --program-p)
1275 ac_prev=program_prefix ;;
1276 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1277 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1278 program_prefix=$ac_optarg ;;
1280 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1281 | --program-suf | --program-su | --program-s)
1282 ac_prev=program_suffix ;;
1283 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1284 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1285 program_suffix=$ac_optarg ;;
1287 -program-transform-name | --program-transform-name \
1288 | --program-transform-nam | --program-transform-na \
1289 | --program-transform-n | --program-transform- \
1290 | --program-transform | --program-transfor \
1291 | --program-transfo | --program-transf \
1292 | --program-trans | --program-tran \
1293 | --progr-tra | --program-tr | --program-t)
1294 ac_prev=program_transform_name ;;
1295 -program-transform-name=* | --program-transform-name=* \
1296 | --program-transform-nam=* | --program-transform-na=* \
1297 | --program-transform-n=* | --program-transform-=* \
1298 | --program-transform=* | --program-transfor=* \
1299 | --program-transfo=* | --program-transf=* \
1300 | --program-trans=* | --program-tran=* \
1301 | --progr-tra=* | --program-tr=* | --program-t=*)
1302 program_transform_name=$ac_optarg ;;
1304 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1306 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1307 pdfdir=$ac_optarg ;;
1309 -psdir | --psdir | --psdi | --psd | --ps)
1311 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1314 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1315 | -silent | --silent | --silen | --sile | --sil)
1318 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1320 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1322 sbindir=$ac_optarg ;;
1324 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1325 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1326 | --sharedst | --shareds | --shared | --share | --shar \
1328 ac_prev=sharedstatedir ;;
1329 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1330 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1331 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1333 sharedstatedir=$ac_optarg ;;
1335 -site | --site | --sit)
1337 -site=* | --site=* | --sit=*)
1340 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1342 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1343 srcdir=$ac_optarg ;;
1345 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1346 | --syscon | --sysco | --sysc | --sys | --sy)
1347 ac_prev=sysconfdir ;;
1348 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1349 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1350 sysconfdir=$ac_optarg ;;
1352 -target | --target | --targe | --targ | --tar | --ta | --t)
1353 ac_prev=target_alias ;;
1354 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1355 target_alias=$ac_optarg ;;
1357 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1360 -version | --version | --versio | --versi | --vers | -V)
1361 ac_init_version=: ;;
1364 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1365 # Reject names that are not valid shell variable names.
1366 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1367 as_fn_error $? "invalid package name: $ac_useropt"
1368 ac_useropt_orig=$ac_useropt
1369 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1370 case $ac_user_opts in
1374 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1375 ac_unrecognized_sep=', ';;
1377 eval with_$ac_useropt=\$ac_optarg ;;
1379 -without-* | --without-*)
1380 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1381 # Reject names that are not valid shell variable names.
1382 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1383 as_fn_error $? "invalid package name: $ac_useropt"
1384 ac_useropt_orig=$ac_useropt
1385 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1386 case $ac_user_opts in
1390 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1391 ac_unrecognized_sep=', ';;
1393 eval with_$ac_useropt=no ;;
1396 # Obsolete; use --with-x.
1399 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1400 | --x-incl | --x-inc | --x-in | --x-i)
1401 ac_prev=x_includes ;;
1402 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1403 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1404 x_includes=$ac_optarg ;;
1406 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1407 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1408 ac_prev=x_libraries ;;
1409 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1410 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1411 x_libraries=$ac_optarg ;;
1413 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1414 Try \`$0 --help' for more information"
1418 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1419 # Reject names that are not valid shell variable names.
1420 case $ac_envvar in #(
1421 '' | [0-9]* | *[!_$as_cr_alnum]* )
1422 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1424 eval $ac_envvar=\$ac_optarg
1425 export $ac_envvar ;;
1428 # FIXME: should be removed in autoconf 3.0.
1429 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1430 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1431 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1432 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1438 if test -n "$ac_prev"; then
1439 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1440 as_fn_error $? "missing argument to $ac_option"
1443 if test -n "$ac_unrecognized_opts"; then
1444 case $enable_option_checking in
1446 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1447 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1451 # Check all directory arguments for consistency.
1452 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1453 datadir sysconfdir sharedstatedir localstatedir includedir \
1454 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1455 libdir localedir mandir
1457 eval ac_val=\$$ac_var
1458 # Remove trailing slashes.
1461 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1462 eval $ac_var=\$ac_val;;
1464 # Be sure to have absolute directory names.
1466 [\\/$]* | ?:[\\/]* ) continue;;
1467 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1469 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1472 # There might be people who depend on the old broken behavior: `$host'
1473 # used to hold the argument of --host etc.
1474 # FIXME: To remove some day.
1477 target=$target_alias
1479 # FIXME: To remove some day.
1480 if test "x$host_alias" != x; then
1481 if test "x$build_alias" = x; then
1482 cross_compiling=maybe
1483 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1484 If a cross compiler is detected then cross compile mode will be used" >&2
1485 elif test "x$build_alias" != "x$host_alias"; then
1491 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1493 test "$silent" = yes && exec 6>/dev/null
1496 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1497 ac_ls_di=`ls -di .` &&
1498 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1499 as_fn_error $? "working directory cannot be determined"
1500 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1501 as_fn_error $? "pwd does not report name of working directory"
1504 # Find the source files, if location was not specified.
1505 if test -z "$srcdir"; then
1506 ac_srcdir_defaulted=yes
1507 # Try the directory containing this script, then the parent directory.
1508 ac_confdir=`$as_dirname -- "$as_myself" ||
1509 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1510 X"$as_myself" : 'X\(//\)[^/]' \| \
1511 X"$as_myself" : 'X\(//\)$' \| \
1512 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1513 $as_echo X"$as_myself" |
1514 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1532 if test ! -r "$srcdir/$ac_unique_file"; then
1536 ac_srcdir_defaulted=no
1538 if test ! -r "$srcdir/$ac_unique_file"; then
1539 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1540 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1542 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1544 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1546 # When building in place, set srcdir=.
1547 if test "$ac_abs_confdir" = "$ac_pwd"; then
1550 # Remove unnecessary trailing slashes from srcdir.
1551 # Double slashes in file names in object file debugging info
1552 # mess up M-x gdb in Emacs.
1554 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1556 for ac_var in $ac_precious_vars; do
1557 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1558 eval ac_env_${ac_var}_value=\$${ac_var}
1559 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1560 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1564 # Report the --help message.
1566 if test "$ac_init_help" = "long"; then
1567 # Omit some internal or obsolete options to make the list less imposing.
1568 # This message is too long to be a string in the A/UX 3.1 sh.
1570 \`configure' configures e_dbus 1.7.1 to adapt to many kinds of systems.
1572 Usage: $0 [OPTION]... [VAR=VALUE]...
1574 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1575 VAR=VALUE. See below for descriptions of some of the useful variables.
1577 Defaults for the options are specified in brackets.
1580 -h, --help display this help and exit
1581 --help=short display options specific to this package
1582 --help=recursive display the short help of all the included packages
1583 -V, --version display version information and exit
1584 -q, --quiet, --silent do not print \`checking ...' messages
1585 --cache-file=FILE cache test results in FILE [disabled]
1586 -C, --config-cache alias for \`--cache-file=config.cache'
1587 -n, --no-create do not create output files
1588 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1590 Installation directories:
1591 --prefix=PREFIX install architecture-independent files in PREFIX
1592 [$ac_default_prefix]
1593 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1596 By default, \`make install' will install all the files in
1597 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1598 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1599 for instance \`--prefix=\$HOME'.
1601 For better control, use the options below.
1603 Fine tuning of the installation directories:
1604 --bindir=DIR user executables [EPREFIX/bin]
1605 --sbindir=DIR system admin executables [EPREFIX/sbin]
1606 --libexecdir=DIR program executables [EPREFIX/libexec]
1607 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1608 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1609 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1610 --libdir=DIR object code libraries [EPREFIX/lib]
1611 --includedir=DIR C header files [PREFIX/include]
1612 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1613 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1614 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1615 --infodir=DIR info documentation [DATAROOTDIR/info]
1616 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1617 --mandir=DIR man documentation [DATAROOTDIR/man]
1618 --docdir=DIR documentation root [DATAROOTDIR/doc/e_dbus]
1619 --htmldir=DIR html documentation [DOCDIR]
1620 --dvidir=DIR dvi documentation [DOCDIR]
1621 --pdfdir=DIR pdf documentation [DOCDIR]
1622 --psdir=DIR ps documentation [DOCDIR]
1628 --program-prefix=PREFIX prepend PREFIX to installed program names
1629 --program-suffix=SUFFIX append SUFFIX to installed program names
1630 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1633 --build=BUILD configure for building on BUILD [guessed]
1634 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1638 if test -n "$ac_init_help"; then
1639 case $ac_init_help in
1640 short | recursive ) echo "Configuration of e_dbus 1.7.1:";;
1645 --disable-option-checking ignore unrecognized --enable/--with options
1646 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1647 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1648 --enable-silent-rules less verbose build output (undo: `make V=1')
1649 --disable-silent-rules verbose build output (undo: `make V=0')
1650 --enable-shared[=PKGS] build shared libraries [default=yes]
1651 --enable-static[=PKGS] build static libraries [default=yes]
1652 --enable-fast-install[=PKGS]
1653 optimize for fast installation [default=yes]
1654 --disable-dependency-tracking speeds up one-time build
1655 --enable-dependency-tracking do not reject slow dependency extractors
1656 --disable-libtool-lock avoid locking (might break parallel builds)
1657 --enable-ebluez Enable ebluez build
1658 --enable-econnman0_7x Enable econnman 0.7x build
1659 --disable-ehal Disable ehal build
1660 --disable-enotify Disable enotify build
1661 --enable-eofono Enable eofono build
1662 --disable-eukit Disable eukit build
1663 --disable-doc Disable documentation build [default=enabled]
1664 --disable-edbus-test disable building of edbus_test
1665 --disable-edbus-test-client
1666 disable building of edbus_test_client
1667 --disable-edbus-bluez-test
1668 disable building of edbus_bluez_test
1669 --disable-edbus-connman0_7x-test
1670 disable building of edbus_connman0_7x_test
1671 --disable-edbus-notification-daemon-test
1672 disable building of edbus_notification_daemon_test
1673 --disable-edbus-notify-send
1674 disable building of edbus_notify_send
1675 --disable-edbus-notify-test
1676 disable building of edbus_notify_test
1677 --disable-edbus-ofono-test
1678 disable building of edbus_ofono_test
1679 --disable-edbus-ukit-test
1680 disable building of edbus_ukit_test
1681 --disable-edbus-performance-test
1682 disable building of edbus_performance_test
1683 --disable-edbus-async-test
1684 disable building of edbus_async_test
1687 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1688 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1689 --with-pic try to use only PIC/non-PIC objects [default=use
1691 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1692 --with-doxygen=FILE doxygen program to use [default=doxygen]
1694 Some influential environment variables:
1695 CC C compiler command
1696 CFLAGS C compiler flags
1697 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1698 nonstandard directory <lib dir>
1699 LIBS libraries to pass to the linker, e.g. -l<library>
1700 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1701 you have headers in a nonstandard directory <include dir>
1703 PKG_CONFIG path to pkg-config utility
1705 directories to add to pkg-config's search path
1707 path overriding pkg-config's built-in search path
1708 DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1709 DBUS_LIBS linker flags for DBUS, overriding pkg-config
1711 C compiler flags for EDBUS, overriding pkg-config
1712 EDBUS_LIBS linker flags for EDBUS, overriding pkg-config
1713 EVAS_CFLAGS C compiler flags for EVAS, overriding pkg-config
1714 EVAS_LIBS linker flags for EVAS, overriding pkg-config
1716 C compiler flags for EDBUS_TEST, overriding pkg-config
1718 linker flags for EDBUS_TEST, overriding pkg-config
1719 EDBUS_TEST_CLIENT_CFLAGS
1720 C compiler flags for EDBUS_TEST_CLIENT, overriding pkg-config
1721 EDBUS_TEST_CLIENT_LIBS
1722 linker flags for EDBUS_TEST_CLIENT, overriding pkg-config
1723 EDBUS_BLUEZ_TEST_CFLAGS
1724 C compiler flags for EDBUS_BLUEZ_TEST, overriding pkg-config
1725 EDBUS_BLUEZ_TEST_LIBS
1726 linker flags for EDBUS_BLUEZ_TEST, overriding pkg-config
1727 EDBUS_CONNMAN0_7X_TEST_CFLAGS
1728 C compiler flags for EDBUS_CONNMAN0_7X_TEST, overriding
1730 EDBUS_CONNMAN0_7X_TEST_LIBS
1731 linker flags for EDBUS_CONNMAN0_7X_TEST, overriding pkg-config
1732 EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS
1733 C compiler flags for EDBUS_NOTIFICATION_DAEMON_TEST, overriding
1735 EDBUS_NOTIFICATION_DAEMON_TEST_LIBS
1736 linker flags for EDBUS_NOTIFICATION_DAEMON_TEST, overriding
1738 EDBUS_NOTIFY_SEND_CFLAGS
1739 C compiler flags for EDBUS_NOTIFY_SEND, overriding pkg-config
1740 EDBUS_NOTIFY_SEND_LIBS
1741 linker flags for EDBUS_NOTIFY_SEND, overriding pkg-config
1742 EDBUS_NOTIFY_TEST_CFLAGS
1743 C compiler flags for EDBUS_NOTIFY_TEST, overriding pkg-config
1744 EDBUS_NOTIFY_TEST_LIBS
1745 linker flags for EDBUS_NOTIFY_TEST, overriding pkg-config
1746 EDBUS_OFONO_TEST_CFLAGS
1747 C compiler flags for EDBUS_OFONO_TEST, overriding pkg-config
1748 EDBUS_OFONO_TEST_LIBS
1749 linker flags for EDBUS_OFONO_TEST, overriding pkg-config
1750 EDBUS_UKIT_TEST_CFLAGS
1751 C compiler flags for EDBUS_UKIT_TEST, overriding pkg-config
1752 EDBUS_UKIT_TEST_LIBS
1753 linker flags for EDBUS_UKIT_TEST, overriding pkg-config
1754 EDBUS_PERFORMANCE_TEST_CFLAGS
1755 C compiler flags for EDBUS_PERFORMANCE_TEST, overriding
1757 EDBUS_PERFORMANCE_TEST_LIBS
1758 linker flags for EDBUS_PERFORMANCE_TEST, overriding pkg-config
1759 EDBUS_ASYNC_TEST_CFLAGS
1760 C compiler flags for EDBUS_ASYNC_TEST, overriding pkg-config
1761 EDBUS_ASYNC_TEST_LIBS
1762 linker flags for EDBUS_ASYNC_TEST, overriding pkg-config
1764 Use these variables to override the choices made by `configure' or to help
1765 it to find libraries and programs with nonstandard names/locations.
1767 Report bugs to <enlightenment-devel@lists.sourceforge.net>.
1772 if test "$ac_init_help" = "recursive"; then
1773 # If there are subdirs, report their specific --help.
1774 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1775 test -d "$ac_dir" ||
1776 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1781 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1783 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1784 # A ".." for each directory in $ac_dir_suffix.
1785 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1786 case $ac_top_builddir_sub in
1787 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1788 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1791 ac_abs_top_builddir=$ac_pwd
1792 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1793 # for backward compatibility:
1794 ac_top_builddir=$ac_top_build_prefix
1797 .) # We are building in place.
1799 ac_top_srcdir=$ac_top_builddir_sub
1800 ac_abs_top_srcdir=$ac_pwd ;;
1801 [\\/]* | ?:[\\/]* ) # Absolute name.
1802 ac_srcdir=$srcdir$ac_dir_suffix;
1803 ac_top_srcdir=$srcdir
1804 ac_abs_top_srcdir=$srcdir ;;
1806 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1807 ac_top_srcdir=$ac_top_build_prefix$srcdir
1808 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1810 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1812 cd "$ac_dir" || { ac_status=$?; continue; }
1813 # Check for guested configure.
1814 if test -f "$ac_srcdir/configure.gnu"; then
1816 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1817 elif test -f "$ac_srcdir/configure"; then
1819 $SHELL "$ac_srcdir/configure" --help=recursive
1821 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1823 cd "$ac_pwd" || { ac_status=$?; break; }
1827 test -n "$ac_init_help" && exit $ac_status
1828 if $ac_init_version; then
1830 e_dbus configure 1.7.1
1831 generated by GNU Autoconf 2.67
1833 Copyright (C) 2010 Free Software Foundation, Inc.
1834 This configure script is free software; the Free Software Foundation
1835 gives unlimited permission to copy, distribute and modify it.
1840 ## ------------------------ ##
1841 ## Autoconf initialization. ##
1842 ## ------------------------ ##
1844 # ac_fn_c_try_compile LINENO
1845 # --------------------------
1846 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1847 ac_fn_c_try_compile ()
1849 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1850 rm -f conftest.$ac_objext
1851 if { { ac_try="$ac_compile"
1853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1854 *) ac_try_echo=$ac_try;;
1856 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1857 $as_echo "$ac_try_echo"; } >&5
1858 (eval "$ac_compile") 2>conftest.err
1860 if test -s conftest.err; then
1861 grep -v '^ *+' conftest.err >conftest.er1
1862 cat conftest.er1 >&5
1863 mv -f conftest.er1 conftest.err
1865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1866 test $ac_status = 0; } && {
1867 test -z "$ac_c_werror_flag" ||
1868 test ! -s conftest.err
1869 } && test -s conftest.$ac_objext; then :
1872 $as_echo "$as_me: failed program was:" >&5
1873 sed 's/^/| /' conftest.$ac_ext >&5
1877 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1878 as_fn_set_status $ac_retval
1880 } # ac_fn_c_try_compile
1882 # ac_fn_c_try_link LINENO
1883 # -----------------------
1884 # Try to link conftest.$ac_ext, and return whether this succeeded.
1887 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1888 rm -f conftest.$ac_objext conftest$ac_exeext
1889 if { { ac_try="$ac_link"
1891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1892 *) ac_try_echo=$ac_try;;
1894 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1895 $as_echo "$ac_try_echo"; } >&5
1896 (eval "$ac_link") 2>conftest.err
1898 if test -s conftest.err; then
1899 grep -v '^ *+' conftest.err >conftest.er1
1900 cat conftest.er1 >&5
1901 mv -f conftest.er1 conftest.err
1903 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1904 test $ac_status = 0; } && {
1905 test -z "$ac_c_werror_flag" ||
1906 test ! -s conftest.err
1907 } && test -s conftest$ac_exeext && {
1908 test "$cross_compiling" = yes ||
1909 $as_test_x conftest$ac_exeext
1913 $as_echo "$as_me: failed program was:" >&5
1914 sed 's/^/| /' conftest.$ac_ext >&5
1918 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1919 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1920 # interfere with the next link command; also delete a directory that is
1921 # left behind by Apple's compiler. We do this before executing the actions.
1922 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1923 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1924 as_fn_set_status $ac_retval
1926 } # ac_fn_c_try_link
1928 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1929 # -------------------------------------------------------
1930 # Tests whether HEADER exists and can be compiled using the include files in
1931 # INCLUDES, setting the cache variable VAR accordingly.
1932 ac_fn_c_check_header_compile ()
1934 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1936 $as_echo_n "checking for $2... " >&6; }
1937 if eval "test \"\${$3+set}\"" = set; then :
1938 $as_echo_n "(cached) " >&6
1940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1941 /* end confdefs.h. */
1945 if ac_fn_c_try_compile "$LINENO"; then :
1950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1954 $as_echo "$ac_res" >&6; }
1955 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1957 } # ac_fn_c_check_header_compile
1959 # ac_fn_c_try_cpp LINENO
1960 # ----------------------
1961 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1964 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1965 if { { ac_try="$ac_cpp conftest.$ac_ext"
1967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1968 *) ac_try_echo=$ac_try;;
1970 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1971 $as_echo "$ac_try_echo"; } >&5
1972 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1974 if test -s conftest.err; then
1975 grep -v '^ *+' conftest.err >conftest.er1
1976 cat conftest.er1 >&5
1977 mv -f conftest.er1 conftest.err
1979 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1980 test $ac_status = 0; } > conftest.i && {
1981 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1982 test ! -s conftest.err
1986 $as_echo "$as_me: failed program was:" >&5
1987 sed 's/^/| /' conftest.$ac_ext >&5
1991 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1992 as_fn_set_status $ac_retval
1996 # ac_fn_c_try_run LINENO
1997 # ----------------------
1998 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1999 # that executables *can* be run.
2002 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2003 if { { ac_try="$ac_link"
2005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2006 *) ac_try_echo=$ac_try;;
2008 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2009 $as_echo "$ac_try_echo"; } >&5
2010 (eval "$ac_link") 2>&5
2012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2013 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2014 { { case "(($ac_try" in
2015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2016 *) ac_try_echo=$ac_try;;
2018 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2019 $as_echo "$ac_try_echo"; } >&5
2020 (eval "$ac_try") 2>&5
2022 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2023 test $ac_status = 0; }; }; then :
2026 $as_echo "$as_me: program exited with status $ac_status" >&5
2027 $as_echo "$as_me: failed program was:" >&5
2028 sed 's/^/| /' conftest.$ac_ext >&5
2030 ac_retval=$ac_status
2032 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2033 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2034 as_fn_set_status $ac_retval
2038 # ac_fn_c_check_func LINENO FUNC VAR
2039 # ----------------------------------
2040 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2041 ac_fn_c_check_func ()
2043 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2045 $as_echo_n "checking for $2... " >&6; }
2046 if eval "test \"\${$3+set}\"" = set; then :
2047 $as_echo_n "(cached) " >&6
2049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2050 /* end confdefs.h. */
2051 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2052 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2053 #define $2 innocuous_$2
2055 /* System header to define __stub macros and hopefully few prototypes,
2056 which can conflict with char $2 (); below.
2057 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2058 <limits.h> exists even on freestanding compilers. */
2061 # include <limits.h>
2063 # include <assert.h>
2068 /* Override any GCC internal prototype to avoid an error.
2069 Use char because int might match the return type of a GCC
2070 builtin and then its argument prototype would still apply. */
2075 /* The GNU C library defines this for functions which it implements
2076 to always fail with ENOSYS. Some functions are actually named
2077 something starting with __ and the normal name is an alias. */
2078 #if defined __stub_$2 || defined __stub___$2
2090 if ac_fn_c_try_link "$LINENO"; then :
2095 rm -f core conftest.err conftest.$ac_objext \
2096 conftest$ac_exeext conftest.$ac_ext
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2100 $as_echo "$ac_res" >&6; }
2101 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2103 } # ac_fn_c_check_func
2104 cat >config.log <<_ACEOF
2105 This file contains any messages produced by compilers while
2106 running configure, to aid debugging if configure makes a mistake.
2108 It was created by e_dbus $as_me 1.7.1, which was
2109 generated by GNU Autoconf 2.67. Invocation command line was
2121 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2122 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2123 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2124 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2125 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2127 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2128 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2130 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2131 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2132 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2133 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2134 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2135 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2136 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2144 test -z "$as_dir" && as_dir=.
2145 $as_echo "PATH: $as_dir"
2161 # Keep a trace of the command line.
2162 # Strip out --no-create and --no-recursion so they do not pile up.
2163 # Strip out --silent because we don't want to record it for future runs.
2164 # Also quote any args containing shell meta-characters.
2165 # Make two passes to allow for proper duplicate-argument suppression.
2169 ac_must_keep_next=false
2175 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2176 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2177 | -silent | --silent | --silen | --sile | --sil)
2180 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2183 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2185 as_fn_append ac_configure_args1 " '$ac_arg'"
2186 if test $ac_must_keep_next = true; then
2187 ac_must_keep_next=false # Got value, back to normal.
2190 *=* | --config-cache | -C | -disable-* | --disable-* \
2191 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2192 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2193 | -with-* | --with-* | -without-* | --without-* | --x)
2194 case "$ac_configure_args0 " in
2195 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2198 -* ) ac_must_keep_next=true ;;
2201 as_fn_append ac_configure_args " '$ac_arg'"
2206 { ac_configure_args0=; unset ac_configure_args0;}
2207 { ac_configure_args1=; unset ac_configure_args1;}
2209 # When interrupted or exit'd, cleanup temporary files, and complete
2210 # config.log. We remove comments because anyway the quotes in there
2211 # would cause problems or look ugly.
2212 # WARNING: Use '\'' to represent an apostrophe within the trap.
2213 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2214 trap 'exit_status=$?
2215 # Save into config.log some information that might help in debugging.
2219 $as_echo "## ---------------- ##
2220 ## Cache variables. ##
2221 ## ---------------- ##"
2223 # The following way of writing the cache mishandles newlines in values,
2225 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2226 eval ac_val=\$$ac_var
2230 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2231 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2234 _ | IFS | as_nl) ;; #(
2235 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2236 *) { eval $ac_var=; unset $ac_var;} ;;
2241 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2242 *${as_nl}ac_space=\ *)
2244 "s/'\''/'\''\\\\'\'''\''/g;
2245 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2248 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2255 $as_echo "## ----------------- ##
2256 ## Output variables. ##
2257 ## ----------------- ##"
2259 for ac_var in $ac_subst_vars
2261 eval ac_val=\$$ac_var
2263 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2265 $as_echo "$ac_var='\''$ac_val'\''"
2269 if test -n "$ac_subst_files"; then
2270 $as_echo "## ------------------- ##
2271 ## File substitutions. ##
2272 ## ------------------- ##"
2274 for ac_var in $ac_subst_files
2276 eval ac_val=\$$ac_var
2278 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2280 $as_echo "$ac_var='\''$ac_val'\''"
2285 if test -s confdefs.h; then
2286 $as_echo "## ----------- ##
2293 test "$ac_signal" != 0 &&
2294 $as_echo "$as_me: caught signal $ac_signal"
2295 $as_echo "$as_me: exit $exit_status"
2297 rm -f core *.core core.conftest.* &&
2298 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2301 for ac_signal in 1 2 13 15; do
2302 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2306 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2307 rm -f -r conftest* confdefs.h
2309 $as_echo "/* confdefs.h */" > confdefs.h
2311 # Predefined preprocessor variables.
2313 cat >>confdefs.h <<_ACEOF
2314 #define PACKAGE_NAME "$PACKAGE_NAME"
2317 cat >>confdefs.h <<_ACEOF
2318 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2321 cat >>confdefs.h <<_ACEOF
2322 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2325 cat >>confdefs.h <<_ACEOF
2326 #define PACKAGE_STRING "$PACKAGE_STRING"
2329 cat >>confdefs.h <<_ACEOF
2330 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2333 cat >>confdefs.h <<_ACEOF
2334 #define PACKAGE_URL "$PACKAGE_URL"
2338 # Let the site file select an alternate cache file if it wants to.
2339 # Prefer an explicitly selected file to automatically selected ones.
2342 if test -n "$CONFIG_SITE"; then
2343 # We do not want a PATH search for config.site.
2344 case $CONFIG_SITE in #((
2345 -*) ac_site_file1=./$CONFIG_SITE;;
2346 */*) ac_site_file1=$CONFIG_SITE;;
2347 *) ac_site_file1=./$CONFIG_SITE;;
2349 elif test "x$prefix" != xNONE; then
2350 ac_site_file1=$prefix/share/config.site
2351 ac_site_file2=$prefix/etc/config.site
2353 ac_site_file1=$ac_default_prefix/share/config.site
2354 ac_site_file2=$ac_default_prefix/etc/config.site
2356 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2358 test "x$ac_site_file" = xNONE && continue
2359 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2360 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2361 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2362 sed 's/^/| /' "$ac_site_file" >&5
2364 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2365 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2366 as_fn_error $? "failed to load site script $ac_site_file
2367 See \`config.log' for more details" "$LINENO" 5 ; }
2371 if test -r "$cache_file"; then
2372 # Some versions of bash will fail to source /dev/null (special files
2373 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2374 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2376 $as_echo "$as_me: loading cache $cache_file" >&6;}
2378 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2379 *) . "./$cache_file";;
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2384 $as_echo "$as_me: creating cache $cache_file" >&6;}
2388 # Check that the precious variables saved in the cache have kept the same
2390 ac_cache_corrupted=false
2391 for ac_var in $ac_precious_vars; do
2392 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2393 eval ac_new_set=\$ac_env_${ac_var}_set
2394 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2395 eval ac_new_val=\$ac_env_${ac_var}_value
2396 case $ac_old_set,$ac_new_set in
2398 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2399 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2400 ac_cache_corrupted=: ;;
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2403 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2404 ac_cache_corrupted=: ;;
2407 if test "x$ac_old_val" != "x$ac_new_val"; then
2408 # differences in whitespace do not lead to failure.
2409 ac_old_val_w=`echo x $ac_old_val`
2410 ac_new_val_w=`echo x $ac_new_val`
2411 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2413 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2414 ac_cache_corrupted=:
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2417 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2418 eval $ac_var=\$ac_old_val
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2421 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2422 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2423 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2426 # Pass precious variables to config.status.
2427 if test "$ac_new_set" = set; then
2429 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2430 *) ac_arg=$ac_var=$ac_new_val ;;
2432 case " $ac_configure_args " in
2433 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2434 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2438 if $ac_cache_corrupted; then
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2440 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2442 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2443 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2445 ## -------------------- ##
2446 ## Main body of script. ##
2447 ## -------------------- ##
2450 ac_cpp='$CPP $CPPFLAGS'
2451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2460 ac_config_headers="$ac_config_headers config.h"
2465 am__api_version='1.11'
2468 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2469 if test -f "$ac_dir/install-sh"; then
2471 ac_install_sh="$ac_aux_dir/install-sh -c"
2473 elif test -f "$ac_dir/install.sh"; then
2475 ac_install_sh="$ac_aux_dir/install.sh -c"
2477 elif test -f "$ac_dir/shtool"; then
2479 ac_install_sh="$ac_aux_dir/shtool install -c"
2483 if test -z "$ac_aux_dir"; then
2484 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2487 # These three variables are undocumented and unsupported,
2488 # and are intended to be withdrawn in a future Autoconf release.
2489 # They can cause serious problems if a builder's source tree is in a directory
2490 # whose full name contains unusual characters.
2491 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2492 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2493 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2496 # Find a good install program. We prefer a C program (faster),
2497 # so one script is as good as another. But avoid the broken or
2498 # incompatible versions:
2499 # SysV /etc/install, /usr/sbin/install
2500 # SunOS /usr/etc/install
2501 # IRIX /sbin/install
2503 # AmigaOS /C/install, which installs bootblocks on floppy discs
2504 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2505 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2506 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2507 # OS/2's system install, which has a completely different semantic
2508 # ./install, which can be erroneously created by make from ./install.sh.
2509 # Reject install programs that cannot install multiple files.
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2511 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2512 if test -z "$INSTALL"; then
2513 if test "${ac_cv_path_install+set}" = set; then :
2514 $as_echo_n "(cached) " >&6
2516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2520 test -z "$as_dir" && as_dir=.
2521 # Account for people who put trailing slashes in PATH elements.
2522 case $as_dir/ in #((
2523 ./ | .// | /[cC]/* | \
2524 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2525 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2528 # OSF1 and SCO ODT 3.0 have their own names for install.
2529 # Don't use installbsd from OSF since it installs stuff as root
2531 for ac_prog in ginstall scoinst install; do
2532 for ac_exec_ext in '' $ac_executable_extensions; do
2533 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2534 if test $ac_prog = install &&
2535 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2536 # AIX install. It has an incompatible calling convention.
2538 elif test $ac_prog = install &&
2539 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2540 # program-specific install script used by HP pwplus--don't use.
2543 rm -rf conftest.one conftest.two conftest.dir
2544 echo one > conftest.one
2545 echo two > conftest.two
2547 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2548 test -s conftest.one && test -s conftest.two &&
2549 test -s conftest.dir/conftest.one &&
2550 test -s conftest.dir/conftest.two
2552 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2565 rm -rf conftest.one conftest.two conftest.dir
2568 if test "${ac_cv_path_install+set}" = set; then
2569 INSTALL=$ac_cv_path_install
2571 # As a last resort, use the slow shell script. Don't cache a
2572 # value for INSTALL within a source directory, because that will
2573 # break other packages using the cache if that directory is
2574 # removed, or if the value is a relative name.
2575 INSTALL=$ac_install_sh
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2579 $as_echo "$INSTALL" >&6; }
2581 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2582 # It thinks the first close brace ends the variable substitution.
2583 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2585 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2587 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2590 $as_echo_n "checking whether build environment is sane... " >&6; }
2593 echo timestamp > conftest.file
2594 # Reject unsafe characters in $srcdir or the absolute working directory
2595 # name. Accept space and tab only in the latter.
2599 *[\\\"\#\$\&\'\`$am_lf]*)
2600 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2603 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2604 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2607 # Do `set' in a subshell so we don't clobber the current shell's
2608 # arguments. Must try -L first in case configure is actually a
2609 # symlink; some systems play weird games with the mod time of symlinks
2610 # (eg FreeBSD returns the mod time of the symlink's containing
2613 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2614 if test "$*" = "X"; then
2616 set X `ls -t "$srcdir/configure" conftest.file`
2619 if test "$*" != "X $srcdir/configure conftest.file" \
2620 && test "$*" != "X conftest.file $srcdir/configure"; then
2622 # If neither matched, then we have a broken ls. This can happen
2623 # if, for instance, CONFIG_SHELL is bash and it inherits a
2624 # broken ls alias from the environment. This has actually
2625 # happened. Such a system could not be considered "sane".
2626 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2627 alias in your environment" "$LINENO" 5
2630 test "$2" = conftest.file
2636 as_fn_error $? "newly created file is older than distributed files!
2637 Check your system clock" "$LINENO" 5
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2640 $as_echo "yes" >&6; }
2641 test "$program_prefix" != NONE &&
2642 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2643 # Use a double $ so make ignores it.
2644 test "$program_suffix" != NONE &&
2645 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2646 # Double any \ or $.
2647 # By default was `s,x,x', remove it if useless.
2648 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2649 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2651 # expand $ac_aux_dir to an absolute path
2652 am_aux_dir=`cd $ac_aux_dir && pwd`
2654 if test x"${MISSING+set}" != xset; then
2657 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2659 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2662 # Use eval to expand $SHELL
2663 if eval "$MISSING --run true"; then
2664 am_missing_run="$MISSING --run "
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2668 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2671 if test x"${install_sh}" != xset; then
2674 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2676 install_sh="\${SHELL} $am_aux_dir/install-sh"
2680 # Installed binaries are usually stripped using `strip' when the user
2681 # run `make install-strip'. However `strip' might not be the right
2682 # tool to use in cross-compilation environments, therefore Automake
2683 # will honor the `STRIP' environment variable to overrule this program.
2684 if test "$cross_compiling" != no; then
2685 if test -n "$ac_tool_prefix"; then
2686 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2687 set dummy ${ac_tool_prefix}strip; ac_word=$2
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2689 $as_echo_n "checking for $ac_word... " >&6; }
2690 if test "${ac_cv_prog_STRIP+set}" = set; then :
2691 $as_echo_n "(cached) " >&6
2693 if test -n "$STRIP"; then
2694 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2700 test -z "$as_dir" && as_dir=.
2701 for ac_exec_ext in '' $ac_executable_extensions; do
2702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2703 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2713 STRIP=$ac_cv_prog_STRIP
2714 if test -n "$STRIP"; then
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2716 $as_echo "$STRIP" >&6; }
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2719 $as_echo "no" >&6; }
2724 if test -z "$ac_cv_prog_STRIP"; then
2726 # Extract the first word of "strip", so it can be a program name with args.
2727 set dummy strip; ac_word=$2
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2729 $as_echo_n "checking for $ac_word... " >&6; }
2730 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2731 $as_echo_n "(cached) " >&6
2733 if test -n "$ac_ct_STRIP"; then
2734 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2740 test -z "$as_dir" && as_dir=.
2741 for ac_exec_ext in '' $ac_executable_extensions; do
2742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2743 ac_cv_prog_ac_ct_STRIP="strip"
2744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2753 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2754 if test -n "$ac_ct_STRIP"; then
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2756 $as_echo "$ac_ct_STRIP" >&6; }
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2759 $as_echo "no" >&6; }
2762 if test "x$ac_ct_STRIP" = x; then
2765 case $cross_compiling:$ac_tool_warned in
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2768 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2769 ac_tool_warned=yes ;;
2774 STRIP="$ac_cv_prog_STRIP"
2778 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2781 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2782 if test -z "$MKDIR_P"; then
2783 if test "${ac_cv_path_mkdir+set}" = set; then :
2784 $as_echo_n "(cached) " >&6
2786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2787 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2790 test -z "$as_dir" && as_dir=.
2791 for ac_prog in mkdir gmkdir; do
2792 for ac_exec_ext in '' $ac_executable_extensions; do
2793 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2794 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2795 'mkdir (GNU coreutils) '* | \
2796 'mkdir (coreutils) '* | \
2797 'mkdir (fileutils) '4.1*)
2798 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2808 test -d ./--version && rmdir ./--version
2809 if test "${ac_cv_path_mkdir+set}" = set; then
2810 MKDIR_P="$ac_cv_path_mkdir -p"
2812 # As a last resort, use the slow shell script. Don't cache a
2813 # value for MKDIR_P within a source directory, because that will
2814 # break other packages using the cache if that directory is
2815 # removed, or if the value is a relative name.
2816 MKDIR_P="$ac_install_sh -d"
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2820 $as_echo "$MKDIR_P" >&6; }
2824 [\\/$]* | ?:[\\/]*) ;;
2825 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2828 for ac_prog in gawk mawk nawk awk
2830 # Extract the first word of "$ac_prog", so it can be a program name with args.
2831 set dummy $ac_prog; ac_word=$2
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2833 $as_echo_n "checking for $ac_word... " >&6; }
2834 if test "${ac_cv_prog_AWK+set}" = set; then :
2835 $as_echo_n "(cached) " >&6
2837 if test -n "$AWK"; then
2838 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2844 test -z "$as_dir" && as_dir=.
2845 for ac_exec_ext in '' $ac_executable_extensions; do
2846 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2847 ac_cv_prog_AWK="$ac_prog"
2848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2858 if test -n "$AWK"; then
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2860 $as_echo "$AWK" >&6; }
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2863 $as_echo "no" >&6; }
2867 test -n "$AWK" && break
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2871 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2873 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2874 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2875 $as_echo_n "(cached) " >&6
2877 cat >conftest.make <<\_ACEOF
2880 @echo '@@@%%%=$(MAKE)=@@@%%%'
2882 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2883 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2885 eval ac_cv_prog_make_${ac_make}_set=yes;;
2887 eval ac_cv_prog_make_${ac_make}_set=no;;
2891 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2893 $as_echo "yes" >&6; }
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2897 $as_echo "no" >&6; }
2898 SET_MAKE="MAKE=${MAKE-make}"
2901 rm -rf .tst 2>/dev/null
2902 mkdir .tst 2>/dev/null
2903 if test -d .tst; then
2908 rmdir .tst 2>/dev/null
2910 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2911 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2912 # is not polluted with repeated "-I."
2913 am__isrc=' -I$(srcdir)'
2914 # test to see if srcdir already configured
2915 if test -f $srcdir/config.status; then
2916 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2920 # test whether we have cygpath
2921 if test -z "$CYGPATH_W"; then
2922 if (cygpath --version) >/dev/null 2>/dev/null; then
2923 CYGPATH_W='cygpath -w'
2930 # Define the identity of the package.
2935 cat >>confdefs.h <<_ACEOF
2936 #define PACKAGE "$PACKAGE"
2940 cat >>confdefs.h <<_ACEOF
2941 #define VERSION "$VERSION"
2944 # Some tools Automake needs.
2946 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2949 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2952 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2955 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2958 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2960 # We need awk for the "check" target. The system "awk" is bad on
2962 # Always define AMTAR for backward compatibility.
2964 AMTAR=${AMTAR-"${am_missing_run}tar"}
2966 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2972 # Check whether --enable-silent-rules was given.
2973 if test "${enable_silent_rules+set}" = set; then :
2974 enableval=$enable_silent_rules;
2977 case $enable_silent_rules in
2978 yes) AM_DEFAULT_VERBOSITY=0;;
2979 no) AM_DEFAULT_VERBOSITY=1;;
2980 *) AM_DEFAULT_VERBOSITY=0;;
2985 # Make sure we can run config.sub.
2986 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2987 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2990 $as_echo_n "checking build system type... " >&6; }
2991 if test "${ac_cv_build+set}" = set; then :
2992 $as_echo_n "(cached) " >&6
2994 ac_build_alias=$build_alias
2995 test "x$ac_build_alias" = x &&
2996 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2997 test "x$ac_build_alias" = x &&
2998 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2999 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3000 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3004 $as_echo "$ac_cv_build" >&6; }
3005 case $ac_cv_build in
3007 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
3010 ac_save_IFS=$IFS; IFS='-'
3016 # Remember, the first character of IFS is used to create $*,
3017 # except with old shells:
3020 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3024 $as_echo_n "checking host system type... " >&6; }
3025 if test "${ac_cv_host+set}" = set; then :
3026 $as_echo_n "(cached) " >&6
3028 if test "x$host_alias" = x; then
3029 ac_cv_host=$ac_cv_build
3031 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3032 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3037 $as_echo "$ac_cv_host" >&6; }
3040 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
3043 ac_save_IFS=$IFS; IFS='-'
3049 # Remember, the first character of IFS is used to create $*,
3050 # except with old shells:
3053 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3056 enable_win32_dll=yes
3059 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
3060 if test -n "$ac_tool_prefix"; then
3061 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3062 set dummy ${ac_tool_prefix}as; ac_word=$2
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3064 $as_echo_n "checking for $ac_word... " >&6; }
3065 if test "${ac_cv_prog_AS+set}" = set; then :
3066 $as_echo_n "(cached) " >&6
3068 if test -n "$AS"; then
3069 ac_cv_prog_AS="$AS" # Let the user override the test.
3071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3075 test -z "$as_dir" && as_dir=.
3076 for ac_exec_ext in '' $ac_executable_extensions; do
3077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3078 ac_cv_prog_AS="${ac_tool_prefix}as"
3079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3089 if test -n "$AS"; then
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
3091 $as_echo "$AS" >&6; }
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3094 $as_echo "no" >&6; }
3099 if test -z "$ac_cv_prog_AS"; then
3101 # Extract the first word of "as", so it can be a program name with args.
3102 set dummy as; ac_word=$2
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3104 $as_echo_n "checking for $ac_word... " >&6; }
3105 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
3106 $as_echo_n "(cached) " >&6
3108 if test -n "$ac_ct_AS"; then
3109 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3115 test -z "$as_dir" && as_dir=.
3116 for ac_exec_ext in '' $ac_executable_extensions; do
3117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3118 ac_cv_prog_ac_ct_AS="as"
3119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3128 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3129 if test -n "$ac_ct_AS"; then
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
3131 $as_echo "$ac_ct_AS" >&6; }
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3134 $as_echo "no" >&6; }
3137 if test "x$ac_ct_AS" = x; then
3140 case $cross_compiling:$ac_tool_warned in
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3143 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3144 ac_tool_warned=yes ;;
3152 if test -n "$ac_tool_prefix"; then
3153 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3154 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3156 $as_echo_n "checking for $ac_word... " >&6; }
3157 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
3158 $as_echo_n "(cached) " >&6
3160 if test -n "$DLLTOOL"; then
3161 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3167 test -z "$as_dir" && as_dir=.
3168 for ac_exec_ext in '' $ac_executable_extensions; do
3169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3170 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3180 DLLTOOL=$ac_cv_prog_DLLTOOL
3181 if test -n "$DLLTOOL"; then
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
3183 $as_echo "$DLLTOOL" >&6; }
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3186 $as_echo "no" >&6; }
3191 if test -z "$ac_cv_prog_DLLTOOL"; then
3192 ac_ct_DLLTOOL=$DLLTOOL
3193 # Extract the first word of "dlltool", so it can be a program name with args.
3194 set dummy dlltool; ac_word=$2
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3196 $as_echo_n "checking for $ac_word... " >&6; }
3197 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
3198 $as_echo_n "(cached) " >&6
3200 if test -n "$ac_ct_DLLTOOL"; then
3201 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3207 test -z "$as_dir" && as_dir=.
3208 for ac_exec_ext in '' $ac_executable_extensions; do
3209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3210 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3220 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3221 if test -n "$ac_ct_DLLTOOL"; then
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
3223 $as_echo "$ac_ct_DLLTOOL" >&6; }
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3226 $as_echo "no" >&6; }
3229 if test "x$ac_ct_DLLTOOL" = x; then
3232 case $cross_compiling:$ac_tool_warned in
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3235 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3236 ac_tool_warned=yes ;;
3238 DLLTOOL=$ac_ct_DLLTOOL
3241 DLLTOOL="$ac_cv_prog_DLLTOOL"
3244 if test -n "$ac_tool_prefix"; then
3245 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
3246 set dummy ${ac_tool_prefix}objdump; ac_word=$2
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3248 $as_echo_n "checking for $ac_word... " >&6; }
3249 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
3250 $as_echo_n "(cached) " >&6
3252 if test -n "$OBJDUMP"; then
3253 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
3255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3259 test -z "$as_dir" && as_dir=.
3260 for ac_exec_ext in '' $ac_executable_extensions; do
3261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3262 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
3263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3272 OBJDUMP=$ac_cv_prog_OBJDUMP
3273 if test -n "$OBJDUMP"; then
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
3275 $as_echo "$OBJDUMP" >&6; }
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3278 $as_echo "no" >&6; }
3283 if test -z "$ac_cv_prog_OBJDUMP"; then
3284 ac_ct_OBJDUMP=$OBJDUMP
3285 # Extract the first word of "objdump", so it can be a program name with args.
3286 set dummy objdump; ac_word=$2
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3288 $as_echo_n "checking for $ac_word... " >&6; }
3289 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
3290 $as_echo_n "(cached) " >&6
3292 if test -n "$ac_ct_OBJDUMP"; then
3293 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
3295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3299 test -z "$as_dir" && as_dir=.
3300 for ac_exec_ext in '' $ac_executable_extensions; do
3301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3302 ac_cv_prog_ac_ct_OBJDUMP="objdump"
3303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3312 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
3313 if test -n "$ac_ct_OBJDUMP"; then
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
3315 $as_echo "$ac_ct_OBJDUMP" >&6; }
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3318 $as_echo "no" >&6; }
3321 if test "x$ac_ct_OBJDUMP" = x; then
3324 case $cross_compiling:$ac_tool_warned in
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3327 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3328 ac_tool_warned=yes ;;
3330 OBJDUMP=$ac_ct_OBJDUMP
3333 OBJDUMP="$ac_cv_prog_OBJDUMP"
3339 test -z "$AS" && AS=as
3345 test -z "$DLLTOOL" && DLLTOOL=dlltool
3351 test -z "$OBJDUMP" && OBJDUMP=objdump
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3362 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3367 macro_version='2.2.6b'
3368 macro_revision='1.3017'
3382 ltmain="$ac_aux_dir/ltmain.sh"
3384 DEPDIR="${am__leading_dot}deps"
3386 ac_config_commands="$ac_config_commands depfiles"
3389 am_make=${MAKE-make}
3390 cat > confinc << 'END'
3392 @echo this is the am__doit target
3395 # If we don't find an include directive, just comment out the code.
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3397 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3401 # First try GNU make style include.
3402 echo "include confinc" > confmf
3403 # Ignore all kinds of additional output from `make'.
3404 case `$am_make -s -f confmf 2> /dev/null` in #(
3405 *the\ am__doit\ target*)
3411 # Now try BSD make style include.
3412 if test "$am__include" = "#"; then
3413 echo '.include "confinc"' > confmf
3414 case `$am_make -s -f confmf 2> /dev/null` in #(
3415 *the\ am__doit\ target*)
3416 am__include=.include
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3425 $as_echo "$_am_result" >&6; }
3426 rm -f confinc confmf
3428 # Check whether --enable-dependency-tracking was given.
3429 if test "${enable_dependency_tracking+set}" = set; then :
3430 enableval=$enable_dependency_tracking;
3433 if test "x$enable_dependency_tracking" != xno; then
3434 am_depcomp="$ac_aux_dir/depcomp"
3437 if test "x$enable_dependency_tracking" != xno; then
3447 ac_cpp='$CPP $CPPFLAGS'
3448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3451 if test -n "$ac_tool_prefix"; then
3452 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3453 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3455 $as_echo_n "checking for $ac_word... " >&6; }
3456 if test "${ac_cv_prog_CC+set}" = set; then :
3457 $as_echo_n "(cached) " >&6
3459 if test -n "$CC"; then
3460 ac_cv_prog_CC="$CC" # Let the user override the test.
3462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3466 test -z "$as_dir" && as_dir=.
3467 for ac_exec_ext in '' $ac_executable_extensions; do
3468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3469 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3480 if test -n "$CC"; then
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3482 $as_echo "$CC" >&6; }
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3485 $as_echo "no" >&6; }
3490 if test -z "$ac_cv_prog_CC"; then
3492 # Extract the first word of "gcc", so it can be a program name with args.
3493 set dummy gcc; ac_word=$2
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3495 $as_echo_n "checking for $ac_word... " >&6; }
3496 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3497 $as_echo_n "(cached) " >&6
3499 if test -n "$ac_ct_CC"; then
3500 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3506 test -z "$as_dir" && as_dir=.
3507 for ac_exec_ext in '' $ac_executable_extensions; do
3508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3509 ac_cv_prog_ac_ct_CC="gcc"
3510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3519 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3520 if test -n "$ac_ct_CC"; then
3521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3522 $as_echo "$ac_ct_CC" >&6; }
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3525 $as_echo "no" >&6; }
3528 if test "x$ac_ct_CC" = x; then
3531 case $cross_compiling:$ac_tool_warned in
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3534 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3535 ac_tool_warned=yes ;;
3543 if test -z "$CC"; then
3544 if test -n "$ac_tool_prefix"; then
3545 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3546 set dummy ${ac_tool_prefix}cc; ac_word=$2
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3548 $as_echo_n "checking for $ac_word... " >&6; }
3549 if test "${ac_cv_prog_CC+set}" = set; then :
3550 $as_echo_n "(cached) " >&6
3552 if test -n "$CC"; then
3553 ac_cv_prog_CC="$CC" # Let the user override the test.
3555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3559 test -z "$as_dir" && as_dir=.
3560 for ac_exec_ext in '' $ac_executable_extensions; do
3561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3562 ac_cv_prog_CC="${ac_tool_prefix}cc"
3563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3573 if test -n "$CC"; then
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3575 $as_echo "$CC" >&6; }
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3578 $as_echo "no" >&6; }
3584 if test -z "$CC"; then
3585 # Extract the first word of "cc", so it can be a program name with args.
3586 set dummy cc; ac_word=$2
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3588 $as_echo_n "checking for $ac_word... " >&6; }
3589 if test "${ac_cv_prog_CC+set}" = set; then :
3590 $as_echo_n "(cached) " >&6
3592 if test -n "$CC"; then
3593 ac_cv_prog_CC="$CC" # Let the user override the test.
3596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3600 test -z "$as_dir" && as_dir=.
3601 for ac_exec_ext in '' $ac_executable_extensions; do
3602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3603 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3604 ac_prog_rejected=yes
3608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3615 if test $ac_prog_rejected = yes; then
3616 # We found a bogon in the path, so make sure we never use it.
3617 set dummy $ac_cv_prog_CC
3619 if test $# != 0; then
3620 # We chose a different compiler from the bogus one.
3621 # However, it has the same basename, so the bogon will be chosen
3622 # first if we set CC to just the basename; use the full file name.
3624 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3630 if test -n "$CC"; then
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3632 $as_echo "$CC" >&6; }
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3635 $as_echo "no" >&6; }
3640 if test -z "$CC"; then
3641 if test -n "$ac_tool_prefix"; then
3642 for ac_prog in cl.exe
3644 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3645 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3647 $as_echo_n "checking for $ac_word... " >&6; }
3648 if test "${ac_cv_prog_CC+set}" = set; then :
3649 $as_echo_n "(cached) " >&6
3651 if test -n "$CC"; then
3652 ac_cv_prog_CC="$CC" # Let the user override the test.
3654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3658 test -z "$as_dir" && as_dir=.
3659 for ac_exec_ext in '' $ac_executable_extensions; do
3660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3661 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3672 if test -n "$CC"; then
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3674 $as_echo "$CC" >&6; }
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3677 $as_echo "no" >&6; }
3681 test -n "$CC" && break
3684 if test -z "$CC"; then
3686 for ac_prog in cl.exe
3688 # Extract the first word of "$ac_prog", so it can be a program name with args.
3689 set dummy $ac_prog; ac_word=$2
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3691 $as_echo_n "checking for $ac_word... " >&6; }
3692 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3693 $as_echo_n "(cached) " >&6
3695 if test -n "$ac_ct_CC"; then
3696 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3702 test -z "$as_dir" && as_dir=.
3703 for ac_exec_ext in '' $ac_executable_extensions; do
3704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3705 ac_cv_prog_ac_ct_CC="$ac_prog"
3706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3715 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3716 if test -n "$ac_ct_CC"; then
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3718 $as_echo "$ac_ct_CC" >&6; }
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3721 $as_echo "no" >&6; }
3725 test -n "$ac_ct_CC" && break
3728 if test "x$ac_ct_CC" = x; then
3731 case $cross_compiling:$ac_tool_warned in
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3734 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3735 ac_tool_warned=yes ;;
3744 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3745 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3746 as_fn_error $? "no acceptable C compiler found in \$PATH
3747 See \`config.log' for more details" "$LINENO" 5 ; }
3749 # Provide some information about the compiler.
3750 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3753 for ac_option in --version -v -V -qversion; do
3754 { { ac_try="$ac_compiler $ac_option >&5"
3756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3757 *) ac_try_echo=$ac_try;;
3759 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3760 $as_echo "$ac_try_echo"; } >&5
3761 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3763 if test -s conftest.err; then
3765 ... rest of stderr output deleted ...
3766 10q' conftest.err >conftest.er1
3767 cat conftest.er1 >&5
3769 rm -f conftest.er1 conftest.err
3770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3771 test $ac_status = 0; }
3774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3775 /* end confdefs.h. */
3785 ac_clean_files_save=$ac_clean_files
3786 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3787 # Try to create an executable without -o first, disregard a.out.
3788 # It will help us diagnose broken compilers, and finding out an intuition
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3791 $as_echo_n "checking whether the C compiler works... " >&6; }
3792 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3794 # The possible output files:
3795 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3798 for ac_file in $ac_files
3801 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3802 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3807 if { { ac_try="$ac_link_default"
3809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3810 *) ac_try_echo=$ac_try;;
3812 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3813 $as_echo "$ac_try_echo"; } >&5
3814 (eval "$ac_link_default") 2>&5
3816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3817 test $ac_status = 0; }; then :
3818 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3819 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3820 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3821 # so that the user can short-circuit this test for compilers unknown to
3823 for ac_file in $ac_files ''
3825 test -f "$ac_file" || continue
3827 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3830 # We found the default executable, but exeext='' is most
3834 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3836 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3838 # We set ac_cv_exeext here because the later test for it is not
3839 # safe: cross compilers may not add the suffix if given an `-o'
3840 # argument, so we may need to know it at that point already.
3841 # Even if this section looks crufty: it has the advantage of
3848 test "$ac_cv_exeext" = no && ac_cv_exeext=
3853 if test -z "$ac_file"; then :
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3855 $as_echo "no" >&6; }
3856 $as_echo "$as_me: failed program was:" >&5
3857 sed 's/^/| /' conftest.$ac_ext >&5
3859 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3860 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3861 as_fn_error 77 "C compiler cannot create executables
3862 See \`config.log' for more details" "$LINENO" 5 ; }
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3865 $as_echo "yes" >&6; }
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3868 $as_echo_n "checking for C compiler default output file name... " >&6; }
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3870 $as_echo "$ac_file" >&6; }
3871 ac_exeext=$ac_cv_exeext
3873 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3874 ac_clean_files=$ac_clean_files_save
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3876 $as_echo_n "checking for suffix of executables... " >&6; }
3877 if { { ac_try="$ac_link"
3879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3880 *) ac_try_echo=$ac_try;;
3882 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3883 $as_echo "$ac_try_echo"; } >&5
3884 (eval "$ac_link") 2>&5
3886 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3887 test $ac_status = 0; }; then :
3888 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3889 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3890 # work properly (i.e., refer to `conftest.exe'), while it won't with
3892 for ac_file in conftest.exe conftest conftest.*; do
3893 test -f "$ac_file" || continue
3895 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3896 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3902 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3903 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3904 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3905 See \`config.log' for more details" "$LINENO" 5 ; }
3907 rm -f conftest conftest$ac_cv_exeext
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3909 $as_echo "$ac_cv_exeext" >&6; }
3911 rm -f conftest.$ac_ext
3912 EXEEXT=$ac_cv_exeext
3914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3915 /* end confdefs.h. */
3920 FILE *f = fopen ("conftest.out", "w");
3921 return ferror (f) || fclose (f) != 0;
3927 ac_clean_files="$ac_clean_files conftest.out"
3928 # Check that the compiler produces executables we can run. If not, either
3929 # the compiler is broken, or we cross compile.
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3931 $as_echo_n "checking whether we are cross compiling... " >&6; }
3932 if test "$cross_compiling" != yes; then
3933 { { ac_try="$ac_link"
3935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3936 *) ac_try_echo=$ac_try;;
3938 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3939 $as_echo "$ac_try_echo"; } >&5
3940 (eval "$ac_link") 2>&5
3942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3943 test $ac_status = 0; }
3944 if { ac_try='./conftest$ac_cv_exeext'
3945 { { case "(($ac_try" in
3946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3947 *) ac_try_echo=$ac_try;;
3949 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3950 $as_echo "$ac_try_echo"; } >&5
3951 (eval "$ac_try") 2>&5
3953 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3954 test $ac_status = 0; }; }; then
3957 if test "$cross_compiling" = maybe; then
3960 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3961 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3962 as_fn_error $? "cannot run C compiled programs.
3963 If you meant to cross compile, use \`--host'.
3964 See \`config.log' for more details" "$LINENO" 5 ; }
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3969 $as_echo "$cross_compiling" >&6; }
3971 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3972 ac_clean_files=$ac_clean_files_save
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3974 $as_echo_n "checking for suffix of object files... " >&6; }
3975 if test "${ac_cv_objext+set}" = set; then :
3976 $as_echo_n "(cached) " >&6
3978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3979 /* end confdefs.h. */
3989 rm -f conftest.o conftest.obj
3990 if { { ac_try="$ac_compile"
3992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3993 *) ac_try_echo=$ac_try;;
3995 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3996 $as_echo "$ac_try_echo"; } >&5
3997 (eval "$ac_compile") 2>&5
3999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4000 test $ac_status = 0; }; then :
4001 for ac_file in conftest.o conftest.obj conftest.*; do
4002 test -f "$ac_file" || continue;
4004 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4005 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4010 $as_echo "$as_me: failed program was:" >&5
4011 sed 's/^/| /' conftest.$ac_ext >&5
4013 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4014 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4015 as_fn_error $? "cannot compute suffix of object files: cannot compile
4016 See \`config.log' for more details" "$LINENO" 5 ; }
4018 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4021 $as_echo "$ac_cv_objext" >&6; }
4022 OBJEXT=$ac_cv_objext
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4025 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4026 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4027 $as_echo_n "(cached) " >&6
4029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4030 /* end confdefs.h. */
4043 if ac_fn_c_try_compile "$LINENO"; then :
4048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4049 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4053 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4054 if test $ac_compiler_gnu = yes; then
4059 ac_test_CFLAGS=${CFLAGS+set}
4060 ac_save_CFLAGS=$CFLAGS
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4062 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4063 if test "${ac_cv_prog_cc_g+set}" = set; then :
4064 $as_echo_n "(cached) " >&6
4066 ac_save_c_werror_flag=$ac_c_werror_flag
4067 ac_c_werror_flag=yes
4070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4071 /* end confdefs.h. */
4081 if ac_fn_c_try_compile "$LINENO"; then :
4085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4086 /* end confdefs.h. */
4096 if ac_fn_c_try_compile "$LINENO"; then :
4099 ac_c_werror_flag=$ac_save_c_werror_flag
4101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4102 /* end confdefs.h. */
4112 if ac_fn_c_try_compile "$LINENO"; then :
4115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4120 ac_c_werror_flag=$ac_save_c_werror_flag
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4123 $as_echo "$ac_cv_prog_cc_g" >&6; }
4124 if test "$ac_test_CFLAGS" = set; then
4125 CFLAGS=$ac_save_CFLAGS
4126 elif test $ac_cv_prog_cc_g = yes; then
4127 if test "$GCC" = yes; then
4133 if test "$GCC" = yes; then
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4140 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4141 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4142 $as_echo_n "(cached) " >&6
4144 ac_cv_prog_cc_c89=no
4146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4147 /* end confdefs.h. */
4150 #include <sys/types.h>
4151 #include <sys/stat.h>
4152 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4153 struct buf { int x; };
4154 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4155 static char *e (p, i)
4161 static char *f (char * (*g) (char **, int), char **p, ...)
4166 s = g (p, va_arg (v,int));
4171 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4172 function prototypes and stuff, but not '\xHH' hex character constants.
4173 These don't provoke an error unfortunately, instead are silently treated
4174 as 'x'. The following induces an error, until -std is added to get
4175 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4176 array size at least. It's necessary to write '\x00'==0 to get something
4177 that's true only with -std. */
4178 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4180 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4181 inside strings and character constants. */
4183 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4185 int test (int i, double x);
4186 struct s1 {int (*f) (int a);};
4187 struct s2 {int (*f) (double a);};
4188 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4194 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4199 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4200 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4202 CC="$ac_save_CC $ac_arg"
4203 if ac_fn_c_try_compile "$LINENO"; then :
4204 ac_cv_prog_cc_c89=$ac_arg
4206 rm -f core conftest.err conftest.$ac_objext
4207 test "x$ac_cv_prog_cc_c89" != "xno" && break
4209 rm -f conftest.$ac_ext
4214 case "x$ac_cv_prog_cc_c89" in
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4217 $as_echo "none needed" >&6; } ;;
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4220 $as_echo "unsupported" >&6; } ;;
4222 CC="$CC $ac_cv_prog_cc_c89"
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4224 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4226 if test "x$ac_cv_prog_cc_c89" != xno; then :
4231 ac_cpp='$CPP $CPPFLAGS'
4232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4236 depcc="$CC" am_compiler_list=
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4239 $as_echo_n "checking dependency style of $depcc... " >&6; }
4240 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4241 $as_echo_n "(cached) " >&6
4243 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4244 # We make a subdir and do the tests there. Otherwise we can end up
4245 # making bogus files that we don't know about and never remove. For
4246 # instance it was reported that on HP-UX the gcc test will end up
4247 # making a dummy file named `D' -- because `-MD' means `put the output
4250 # Copy depcomp to subdir because otherwise we won't find it if we're
4251 # using a relative directory.
4252 cp "$am_depcomp" conftest.dir
4254 # We will build objects and dependencies in a subdirectory because
4255 # it helps to detect inapplicable dependency modes. For instance
4256 # both Tru64's cc and ICC support -MD to output dependencies as a
4257 # side effect of compilation, but ICC will put the dependencies in
4258 # the current directory while Tru64 will put them in the object
4262 am_cv_CC_dependencies_compiler_type=none
4263 if test "$am_compiler_list" = ""; then
4264 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4267 case " $depcc " in #(
4268 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4271 for depmode in $am_compiler_list; do
4272 # Setup a source with many dependencies, because some compilers
4273 # like to wrap large dependency lists on column 80 (with \), and
4274 # we should not choose a depcomp mode which is confused by this.
4276 # We need to recreate these files for each test, as the compiler may
4277 # overwrite some of them when testing with obscure command lines.
4278 # This happens at least with the AIX C compiler.
4280 for i in 1 2 3 4 5 6; do
4281 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4282 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4283 # Solaris 8's {/usr,}/bin/sh.
4284 touch sub/conftst$i.h
4286 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4288 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4289 # mode. It turns out that the SunPro C++ compiler does not properly
4290 # handle `-M -o', and we need to detect this. Also, some Intel
4291 # versions had trouble with output in subdirs
4292 am__obj=sub/conftest.${OBJEXT-o}
4293 am__minus_obj="-o $am__obj"
4296 # This depmode causes a compiler race in universal mode.
4297 test "$am__universal" = false || continue
4300 # after this tag, mechanisms are not by side-effect, so they'll
4301 # only be used when explicitly requested
4302 if test "x$enable_dependency_tracking" = xyes; then
4308 msvisualcpp | msvcmsys)
4309 # This compiler won't grok `-c -o', but also, the minuso test has
4310 # not run yet. These depmodes are late enough in the game, and
4311 # so weak that their functioning should not be impacted.
4312 am__obj=conftest.${OBJEXT-o}
4317 if depmode=$depmode \
4318 source=sub/conftest.c object=$am__obj \
4319 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4320 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4321 >/dev/null 2>conftest.err &&
4322 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4323 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4324 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4325 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4326 # icc doesn't choke on unknown options, it will just issue warnings
4327 # or remarks (even with -Werror). So we grep stderr for any message
4328 # that says an option was ignored or not supported.
4329 # When given -MP, icc 7.0 and 7.1 complain thusly:
4330 # icc: Command line warning: ignoring option '-M'; no argument required
4331 # The diagnosis changed in icc 8.0:
4332 # icc: Command line remark: option '-MP' not supported
4333 if (grep 'ignoring option' conftest.err ||
4334 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4335 am_cv_CC_dependencies_compiler_type=$depmode
4344 am_cv_CC_dependencies_compiler_type=none
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4349 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4350 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4353 test "x$enable_dependency_tracking" != xno \
4354 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4356 am__fastdepCC_FALSE='#'
4358 am__fastdepCC_TRUE='#'
4359 am__fastdepCC_FALSE=
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4364 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4365 if test "${ac_cv_path_SED+set}" = set; then :
4366 $as_echo_n "(cached) " >&6
4368 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4369 for ac_i in 1 2 3 4 5 6 7; do
4370 ac_script="$ac_script$as_nl$ac_script"
4372 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4373 { ac_script=; unset ac_script;}
4374 if test -z "$SED"; then
4375 ac_path_SED_found=false
4376 # Loop through the user's path and test for each of PROGNAME-LIST
4377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4381 test -z "$as_dir" && as_dir=.
4382 for ac_prog in sed gsed; do
4383 for ac_exec_ext in '' $ac_executable_extensions; do
4384 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4385 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4386 # Check for GNU ac_path_SED and select it if it is found.
4387 # Check for GNU $ac_path_SED
4388 case `"$ac_path_SED" --version 2>&1` in
4390 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4393 $as_echo_n 0123456789 >"conftest.in"
4396 cat "conftest.in" "conftest.in" >"conftest.tmp"
4397 mv "conftest.tmp" "conftest.in"
4398 cp "conftest.in" "conftest.nl"
4399 $as_echo '' >> "conftest.nl"
4400 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4401 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4402 as_fn_arith $ac_count + 1 && ac_count=$as_val
4403 if test $ac_count -gt ${ac_path_SED_max-0}; then
4404 # Best one so far, save it but keep looking for a better one
4405 ac_cv_path_SED="$ac_path_SED"
4406 ac_path_SED_max=$ac_count
4408 # 10*(2^10) chars as input seems more than enough
4409 test $ac_count -gt 10 && break
4411 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4414 $ac_path_SED_found && break 3
4419 if test -z "$ac_cv_path_SED"; then
4420 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4428 $as_echo "$ac_cv_path_SED" >&6; }
4429 SED="$ac_cv_path_SED"
4432 test -z "$SED" && SED=sed
4433 Xsed="$SED -e 1s/^X//"
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4446 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4447 if test "${ac_cv_path_GREP+set}" = set; then :
4448 $as_echo_n "(cached) " >&6
4450 if test -z "$GREP"; then
4451 ac_path_GREP_found=false
4452 # Loop through the user's path and test for each of PROGNAME-LIST
4453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4454 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4457 test -z "$as_dir" && as_dir=.
4458 for ac_prog in grep ggrep; do
4459 for ac_exec_ext in '' $ac_executable_extensions; do
4460 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4461 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4462 # Check for GNU ac_path_GREP and select it if it is found.
4463 # Check for GNU $ac_path_GREP
4464 case `"$ac_path_GREP" --version 2>&1` in
4466 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4469 $as_echo_n 0123456789 >"conftest.in"
4472 cat "conftest.in" "conftest.in" >"conftest.tmp"
4473 mv "conftest.tmp" "conftest.in"
4474 cp "conftest.in" "conftest.nl"
4475 $as_echo 'GREP' >> "conftest.nl"
4476 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4477 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4478 as_fn_arith $ac_count + 1 && ac_count=$as_val
4479 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4480 # Best one so far, save it but keep looking for a better one
4481 ac_cv_path_GREP="$ac_path_GREP"
4482 ac_path_GREP_max=$ac_count
4484 # 10*(2^10) chars as input seems more than enough
4485 test $ac_count -gt 10 && break
4487 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4490 $ac_path_GREP_found && break 3
4495 if test -z "$ac_cv_path_GREP"; then
4496 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4499 ac_cv_path_GREP=$GREP
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4504 $as_echo "$ac_cv_path_GREP" >&6; }
4505 GREP="$ac_cv_path_GREP"
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4509 $as_echo_n "checking for egrep... " >&6; }
4510 if test "${ac_cv_path_EGREP+set}" = set; then :
4511 $as_echo_n "(cached) " >&6
4513 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4514 then ac_cv_path_EGREP="$GREP -E"
4516 if test -z "$EGREP"; then
4517 ac_path_EGREP_found=false
4518 # Loop through the user's path and test for each of PROGNAME-LIST
4519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4520 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4523 test -z "$as_dir" && as_dir=.
4524 for ac_prog in egrep; do
4525 for ac_exec_ext in '' $ac_executable_extensions; do
4526 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4527 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4528 # Check for GNU ac_path_EGREP and select it if it is found.
4529 # Check for GNU $ac_path_EGREP
4530 case `"$ac_path_EGREP" --version 2>&1` in
4532 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4535 $as_echo_n 0123456789 >"conftest.in"
4538 cat "conftest.in" "conftest.in" >"conftest.tmp"
4539 mv "conftest.tmp" "conftest.in"
4540 cp "conftest.in" "conftest.nl"
4541 $as_echo 'EGREP' >> "conftest.nl"
4542 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4543 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4544 as_fn_arith $ac_count + 1 && ac_count=$as_val
4545 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4546 # Best one so far, save it but keep looking for a better one
4547 ac_cv_path_EGREP="$ac_path_EGREP"
4548 ac_path_EGREP_max=$ac_count
4550 # 10*(2^10) chars as input seems more than enough
4551 test $ac_count -gt 10 && break
4553 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4556 $ac_path_EGREP_found && break 3
4561 if test -z "$ac_cv_path_EGREP"; then
4562 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4565 ac_cv_path_EGREP=$EGREP
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4571 $as_echo "$ac_cv_path_EGREP" >&6; }
4572 EGREP="$ac_cv_path_EGREP"
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4576 $as_echo_n "checking for fgrep... " >&6; }
4577 if test "${ac_cv_path_FGREP+set}" = set; then :
4578 $as_echo_n "(cached) " >&6
4580 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4581 then ac_cv_path_FGREP="$GREP -F"
4583 if test -z "$FGREP"; then
4584 ac_path_FGREP_found=false
4585 # Loop through the user's path and test for each of PROGNAME-LIST
4586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4587 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4590 test -z "$as_dir" && as_dir=.
4591 for ac_prog in fgrep; do
4592 for ac_exec_ext in '' $ac_executable_extensions; do
4593 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4594 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4595 # Check for GNU ac_path_FGREP and select it if it is found.
4596 # Check for GNU $ac_path_FGREP
4597 case `"$ac_path_FGREP" --version 2>&1` in
4599 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4602 $as_echo_n 0123456789 >"conftest.in"
4605 cat "conftest.in" "conftest.in" >"conftest.tmp"
4606 mv "conftest.tmp" "conftest.in"
4607 cp "conftest.in" "conftest.nl"
4608 $as_echo 'FGREP' >> "conftest.nl"
4609 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4610 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4611 as_fn_arith $ac_count + 1 && ac_count=$as_val
4612 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4613 # Best one so far, save it but keep looking for a better one
4614 ac_cv_path_FGREP="$ac_path_FGREP"
4615 ac_path_FGREP_max=$ac_count
4617 # 10*(2^10) chars as input seems more than enough
4618 test $ac_count -gt 10 && break
4620 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4623 $ac_path_FGREP_found && break 3
4628 if test -z "$ac_cv_path_FGREP"; then
4629 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4632 ac_cv_path_FGREP=$FGREP
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4638 $as_echo "$ac_cv_path_FGREP" >&6; }
4639 FGREP="$ac_cv_path_FGREP"
4642 test -z "$GREP" && GREP=grep
4662 # Check whether --with-gnu-ld was given.
4663 if test "${with_gnu_ld+set}" = set; then :
4664 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4670 if test "$GCC" = yes; then
4671 # Check if gcc -print-prog-name=ld gives a path.
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4673 $as_echo_n "checking for ld used by $CC... " >&6; }
4676 # gcc leaves a trailing carriage return which upsets mingw
4677 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4679 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4682 # Accept absolute paths.
4684 re_direlt='/[^/][^/]*/\.\./'
4685 # Canonicalize the pathname of ld
4686 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4687 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4688 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4690 test -z "$LD" && LD="$ac_prog"
4693 # If it fails, then pretend we aren't using GCC.
4697 # If it is relative, then search for the first ld in PATH.
4701 elif test "$with_gnu_ld" = yes; then
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4703 $as_echo_n "checking for GNU ld... " >&6; }
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4706 $as_echo_n "checking for non-GNU ld... " >&6; }
4708 if test "${lt_cv_path_LD+set}" = set; then :
4709 $as_echo_n "(cached) " >&6
4711 if test -z "$LD"; then
4712 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4713 for ac_dir in $PATH; do
4715 test -z "$ac_dir" && ac_dir=.
4716 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4717 lt_cv_path_LD="$ac_dir/$ac_prog"
4718 # Check to see if the program is GNU ld. I'd rather use --version,
4719 # but apparently some variants of GNU ld only accept -v.
4720 # Break only if it was the GNU/non-GNU ld that we prefer.
4721 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4722 *GNU* | *'with BFD'*)
4723 test "$with_gnu_ld" != no && break
4726 test "$with_gnu_ld" != yes && break
4733 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4738 if test -n "$LD"; then
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4740 $as_echo "$LD" >&6; }
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4743 $as_echo "no" >&6; }
4745 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4747 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4748 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4749 $as_echo_n "(cached) " >&6
4751 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4752 case `$LD -v 2>&1 </dev/null` in
4753 *GNU* | *'with BFD'*)
4754 lt_cv_prog_gnu_ld=yes
4757 lt_cv_prog_gnu_ld=no
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4762 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4763 with_gnu_ld=$lt_cv_prog_gnu_ld
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4774 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4775 if test "${lt_cv_path_NM+set}" = set; then :
4776 $as_echo_n "(cached) " >&6
4778 if test -n "$NM"; then
4779 # Let the user override the test.
4782 lt_nm_to_check="${ac_tool_prefix}nm"
4783 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4784 lt_nm_to_check="$lt_nm_to_check nm"
4786 for lt_tmp_nm in $lt_nm_to_check; do
4787 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4788 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4790 test -z "$ac_dir" && ac_dir=.
4791 tmp_nm="$ac_dir/$lt_tmp_nm"
4792 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4793 # Check to see if the nm accepts a BSD-compat flag.
4794 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4795 # nm: unknown option "B" ignored
4796 # Tru64's nm complains that /dev/null is an invalid object file
4797 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4798 */dev/null* | *'Invalid file or object type'*)
4799 lt_cv_path_NM="$tmp_nm -B"
4803 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4805 lt_cv_path_NM="$tmp_nm -p"
4809 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4810 continue # so that we can try to find one that supports BSD flags
4819 : ${lt_cv_path_NM=no}
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4823 $as_echo "$lt_cv_path_NM" >&6; }
4824 if test "$lt_cv_path_NM" != "no"; then
4827 # Didn't find any BSD compatible name lister, look for dumpbin.
4828 if test -n "$ac_tool_prefix"; then
4829 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4831 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4832 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4834 $as_echo_n "checking for $ac_word... " >&6; }
4835 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4836 $as_echo_n "(cached) " >&6
4838 if test -n "$DUMPBIN"; then
4839 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4845 test -z "$as_dir" && as_dir=.
4846 for ac_exec_ext in '' $ac_executable_extensions; do
4847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4848 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4858 DUMPBIN=$ac_cv_prog_DUMPBIN
4859 if test -n "$DUMPBIN"; then
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4861 $as_echo "$DUMPBIN" >&6; }
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4864 $as_echo "no" >&6; }
4868 test -n "$DUMPBIN" && break
4871 if test -z "$DUMPBIN"; then
4872 ac_ct_DUMPBIN=$DUMPBIN
4873 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4875 # Extract the first word of "$ac_prog", so it can be a program name with args.
4876 set dummy $ac_prog; ac_word=$2
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4878 $as_echo_n "checking for $ac_word... " >&6; }
4879 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4880 $as_echo_n "(cached) " >&6
4882 if test -n "$ac_ct_DUMPBIN"; then
4883 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4889 test -z "$as_dir" && as_dir=.
4890 for ac_exec_ext in '' $ac_executable_extensions; do
4891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4892 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4902 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4903 if test -n "$ac_ct_DUMPBIN"; then
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4905 $as_echo "$ac_ct_DUMPBIN" >&6; }
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4908 $as_echo "no" >&6; }
4912 test -n "$ac_ct_DUMPBIN" && break
4915 if test "x$ac_ct_DUMPBIN" = x; then
4918 case $cross_compiling:$ac_tool_warned in
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4921 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4922 ac_tool_warned=yes ;;
4924 DUMPBIN=$ac_ct_DUMPBIN
4929 if test "$DUMPBIN" != ":"; then
4933 test -z "$NM" && NM=nm
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4941 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4942 if test "${lt_cv_nm_interface+set}" = set; then :
4943 $as_echo_n "(cached) " >&6
4945 lt_cv_nm_interface="BSD nm"
4946 echo "int some_variable = 0;" > conftest.$ac_ext
4947 (eval echo "\"\$as_me:4947: $ac_compile\"" >&5)
4948 (eval "$ac_compile" 2>conftest.err)
4949 cat conftest.err >&5
4950 (eval echo "\"\$as_me:4950: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4951 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4952 cat conftest.err >&5
4953 (eval echo "\"\$as_me:4953: output\"" >&5)
4954 cat conftest.out >&5
4955 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4956 lt_cv_nm_interface="MS dumpbin"
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4961 $as_echo "$lt_cv_nm_interface" >&6; }
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4964 $as_echo_n "checking whether ln -s works... " >&6; }
4966 if test "$LN_S" = "ln -s"; then
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4968 $as_echo "yes" >&6; }
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4971 $as_echo "no, using $LN_S" >&6; }
4974 # find the maximum length of command line arguments
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4976 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4977 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4978 $as_echo_n "(cached) " >&6
4985 # On DJGPP, this test can blow up pretty badly due to problems in libc
4986 # (any single argument exceeding 2000 bytes causes a buffer overrun
4987 # during glob expansion). Even if it were fixed, the result of this
4988 # check would be larger than it should be.
4989 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4993 # Under GNU Hurd, this test is not required because there is
4994 # no limit to the length of command line arguments.
4995 # Libtool will interpret -1 as no limit whatsoever
4996 lt_cv_sys_max_cmd_len=-1;
4999 cygwin* | mingw* | cegcc*)
5000 # On Win9x/ME, this test blows up -- it succeeds, but takes
5001 # about 5 minutes as the teststring grows exponentially.
5002 # Worse, since 9x/ME are not pre-emptively multitasking,
5003 # you end up with a "frozen" computer, even though with patience
5004 # the test eventually succeeds (with a max line length of 256k).
5005 # Instead, let's just punt: use the minimum linelength reported by
5006 # all of the supported platforms: 8192 (on NT/2K/XP).
5007 lt_cv_sys_max_cmd_len=8192;
5011 # On AmigaOS with pdksh, this test takes hours, literally.
5012 # So we just punt and use a minimum line length of 8192.
5013 lt_cv_sys_max_cmd_len=8192;
5016 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5017 # This has been around since 386BSD, at least. Likely further.
5018 if test -x /sbin/sysctl; then
5019 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5020 elif test -x /usr/sbin/sysctl; then
5021 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5023 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5025 # And add a safety zone
5026 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5027 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5031 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5032 lt_cv_sys_max_cmd_len=196608
5036 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5037 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5038 # nice to cause kernel panics so lets avoid the loop below.
5039 # First set a reasonable default.
5040 lt_cv_sys_max_cmd_len=16384
5042 if test -x /sbin/sysconfig; then
5043 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5044 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5049 lt_cv_sys_max_cmd_len=102400
5051 sysv5* | sco5v6* | sysv4.2uw2*)
5052 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5053 if test -n "$kargmax"; then
5054 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5056 lt_cv_sys_max_cmd_len=32768
5060 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5061 if test -n "$lt_cv_sys_max_cmd_len"; then
5062 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5063 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5065 # Make teststring a little bigger before we do anything with it.
5066 # a 1K string should be a reasonable start.
5067 for i in 1 2 3 4 5 6 7 8 ; do
5068 teststring=$teststring$teststring
5070 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5071 # If test is not a shell built-in, we'll probably end up computing a
5072 # maximum length that is only half of the actual maximum length, but
5074 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5075 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5076 test $i != 17 # 1/2 MB should be enough
5079 teststring=$teststring$teststring
5081 # Only check the string length outside the loop.
5082 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5084 # Add a significant safety factor because C++ compilers can tack on
5085 # massive amounts of additional arguments before passing them to the
5086 # linker. It appears as though 1/2 is a usable value.
5087 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5094 if test -n $lt_cv_sys_max_cmd_len ; then
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5096 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5099 $as_echo "none" >&6; }
5101 max_cmd_len=$lt_cv_sys_max_cmd_len
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5113 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5114 # Try some XSI features
5117 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5119 && eval 'test $(( 1 + 1 )) -eq 2 \
5120 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5123 $as_echo "$xsi_shell" >&6; }
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5127 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5129 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5131 && lt_shell_append=yes
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5133 $as_echo "$lt_shell_append" >&6; }
5136 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5146 # test EBCDIC or ASCII
5147 case `echo X|tr X '\101'` in
5148 A) # ASCII based system
5149 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5150 lt_SP2NL='tr \040 \012'
5151 lt_NL2SP='tr \015\012 \040\040'
5153 *) # EBCDIC based system
5154 lt_SP2NL='tr \100 \n'
5155 lt_NL2SP='tr \r\n \100\100'
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5168 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5169 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5170 $as_echo_n "(cached) " >&6
5172 lt_cv_ld_reload_flag='-r'
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5175 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5176 reload_flag=$lt_cv_ld_reload_flag
5177 case $reload_flag in
5179 *) reload_flag=" $reload_flag" ;;
5181 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5184 if test "$GCC" = yes; then
5185 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5187 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5200 if test -n "$ac_tool_prefix"; then
5201 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5202 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5204 $as_echo_n "checking for $ac_word... " >&6; }
5205 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5206 $as_echo_n "(cached) " >&6
5208 if test -n "$OBJDUMP"; then
5209 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5215 test -z "$as_dir" && as_dir=.
5216 for ac_exec_ext in '' $ac_executable_extensions; do
5217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5218 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5228 OBJDUMP=$ac_cv_prog_OBJDUMP
5229 if test -n "$OBJDUMP"; then
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5231 $as_echo "$OBJDUMP" >&6; }
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5234 $as_echo "no" >&6; }
5239 if test -z "$ac_cv_prog_OBJDUMP"; then
5240 ac_ct_OBJDUMP=$OBJDUMP
5241 # Extract the first word of "objdump", so it can be a program name with args.
5242 set dummy objdump; ac_word=$2
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5244 $as_echo_n "checking for $ac_word... " >&6; }
5245 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5246 $as_echo_n "(cached) " >&6
5248 if test -n "$ac_ct_OBJDUMP"; then
5249 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5255 test -z "$as_dir" && as_dir=.
5256 for ac_exec_ext in '' $ac_executable_extensions; do
5257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5258 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5268 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5269 if test -n "$ac_ct_OBJDUMP"; then
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5271 $as_echo "$ac_ct_OBJDUMP" >&6; }
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5274 $as_echo "no" >&6; }
5277 if test "x$ac_ct_OBJDUMP" = x; then
5280 case $cross_compiling:$ac_tool_warned in
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5283 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5284 ac_tool_warned=yes ;;
5286 OBJDUMP=$ac_ct_OBJDUMP
5289 OBJDUMP="$ac_cv_prog_OBJDUMP"
5292 test -z "$OBJDUMP" && OBJDUMP=objdump
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5300 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5301 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5302 $as_echo_n "(cached) " >&6
5304 lt_cv_file_magic_cmd='$MAGIC_CMD'
5305 lt_cv_file_magic_test_file=
5306 lt_cv_deplibs_check_method='unknown'
5307 # Need to set the preceding variable on all platforms that support
5308 # interlibrary dependencies.
5309 # 'none' -- dependencies not supported.
5310 # `unknown' -- same as none, but documents that we really don't know.
5311 # 'pass_all' -- all dependencies passed with no checks.
5312 # 'test_compile' -- check by making test program.
5313 # 'file_magic [[regex]]' -- check by looking for files in library path
5314 # which responds to the $file_magic_cmd with a given extended regex.
5315 # If you have `file' or equivalent on your system and you're not sure
5316 # whether `pass_all' will *always* work, you probably want this one.
5320 lt_cv_deplibs_check_method=pass_all
5324 lt_cv_deplibs_check_method=pass_all
5328 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5329 lt_cv_file_magic_cmd='/usr/bin/file -L'
5330 lt_cv_file_magic_test_file=/shlib/libc.so
5334 # func_win32_libid is a shell function defined in ltmain.sh
5335 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5336 lt_cv_file_magic_cmd='func_win32_libid'
5340 # Base MSYS/MinGW do not provide the 'file' command needed by
5341 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5342 # unless we find 'file', for example because we are cross-compiling.
5343 if ( file / ) >/dev/null 2>&1; then
5344 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5345 lt_cv_file_magic_cmd='func_win32_libid'
5347 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5348 lt_cv_file_magic_cmd='$OBJDUMP -f'
5353 # use the weaker test based on 'objdump'. See mingw*.
5354 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5355 lt_cv_file_magic_cmd='$OBJDUMP -f'
5358 darwin* | rhapsody*)
5359 lt_cv_deplibs_check_method=pass_all
5362 freebsd* | dragonfly*)
5363 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5366 # Not sure whether the presence of OpenBSD here was a mistake.
5367 # Let's accept both of them until this is cleared up.
5368 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5369 lt_cv_file_magic_cmd=/usr/bin/file
5370 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5374 lt_cv_deplibs_check_method=pass_all
5379 lt_cv_deplibs_check_method=pass_all
5382 hpux10.20* | hpux11*)
5383 lt_cv_file_magic_cmd=/usr/bin/file
5386 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5387 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5390 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
5391 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5394 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5395 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5401 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5402 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5405 irix5* | irix6* | nonstopux*)
5407 *-32|*"-32 ") libmagic=32-bit;;
5408 *-n32|*"-n32 ") libmagic=N32;;
5409 *-64|*"-64 ") libmagic=64-bit;;
5410 *) libmagic=never-match;;
5412 lt_cv_deplibs_check_method=pass_all
5415 # This must be Linux ELF.
5416 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5417 lt_cv_deplibs_check_method=pass_all
5420 netbsd* | netbsdelf*-gnu)
5421 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5422 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5424 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5429 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5430 lt_cv_file_magic_cmd=/usr/bin/file
5431 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5435 lt_cv_deplibs_check_method=pass_all
5439 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5440 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5442 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5446 osf3* | osf4* | osf5*)
5447 lt_cv_deplibs_check_method=pass_all
5451 lt_cv_deplibs_check_method=pass_all
5455 lt_cv_deplibs_check_method=pass_all
5458 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5459 lt_cv_deplibs_check_method=pass_all
5463 case $host_vendor in
5465 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]'
5466 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5469 lt_cv_deplibs_check_method=pass_all
5472 lt_cv_file_magic_cmd='/bin/file'
5473 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5476 lt_cv_file_magic_cmd='/bin/file'
5477 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5478 lt_cv_file_magic_test_file=/lib/libc.so
5481 lt_cv_deplibs_check_method=pass_all
5484 lt_cv_deplibs_check_method=pass_all
5490 lt_cv_deplibs_check_method=pass_all
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5496 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5497 file_magic_cmd=$lt_cv_file_magic_cmd
5498 deplibs_check_method=$lt_cv_deplibs_check_method
5499 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5512 if test -n "$ac_tool_prefix"; then
5513 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5514 set dummy ${ac_tool_prefix}ar; ac_word=$2
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5516 $as_echo_n "checking for $ac_word... " >&6; }
5517 if test "${ac_cv_prog_AR+set}" = set; then :
5518 $as_echo_n "(cached) " >&6
5520 if test -n "$AR"; then
5521 ac_cv_prog_AR="$AR" # Let the user override the test.
5523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5527 test -z "$as_dir" && as_dir=.
5528 for ac_exec_ext in '' $ac_executable_extensions; do
5529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5530 ac_cv_prog_AR="${ac_tool_prefix}ar"
5531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5541 if test -n "$AR"; then
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5543 $as_echo "$AR" >&6; }
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5546 $as_echo "no" >&6; }
5551 if test -z "$ac_cv_prog_AR"; then
5553 # Extract the first word of "ar", so it can be a program name with args.
5554 set dummy ar; ac_word=$2
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5556 $as_echo_n "checking for $ac_word... " >&6; }
5557 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5558 $as_echo_n "(cached) " >&6
5560 if test -n "$ac_ct_AR"; then
5561 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5567 test -z "$as_dir" && as_dir=.
5568 for ac_exec_ext in '' $ac_executable_extensions; do
5569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5570 ac_cv_prog_ac_ct_AR="ar"
5571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5580 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5581 if test -n "$ac_ct_AR"; then
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5583 $as_echo "$ac_ct_AR" >&6; }
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5586 $as_echo "no" >&6; }
5589 if test "x$ac_ct_AR" = x; then
5592 case $cross_compiling:$ac_tool_warned in
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5595 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5596 ac_tool_warned=yes ;;
5604 test -z "$AR" && AR=ar
5605 test -z "$AR_FLAGS" && AR_FLAGS=cru
5617 if test -n "$ac_tool_prefix"; then
5618 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5619 set dummy ${ac_tool_prefix}strip; ac_word=$2
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5621 $as_echo_n "checking for $ac_word... " >&6; }
5622 if test "${ac_cv_prog_STRIP+set}" = set; then :
5623 $as_echo_n "(cached) " >&6
5625 if test -n "$STRIP"; then
5626 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5632 test -z "$as_dir" && as_dir=.
5633 for ac_exec_ext in '' $ac_executable_extensions; do
5634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5635 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5645 STRIP=$ac_cv_prog_STRIP
5646 if test -n "$STRIP"; then
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5648 $as_echo "$STRIP" >&6; }
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5651 $as_echo "no" >&6; }
5656 if test -z "$ac_cv_prog_STRIP"; then
5658 # Extract the first word of "strip", so it can be a program name with args.
5659 set dummy strip; ac_word=$2
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5661 $as_echo_n "checking for $ac_word... " >&6; }
5662 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5663 $as_echo_n "(cached) " >&6
5665 if test -n "$ac_ct_STRIP"; then
5666 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5672 test -z "$as_dir" && as_dir=.
5673 for ac_exec_ext in '' $ac_executable_extensions; do
5674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5675 ac_cv_prog_ac_ct_STRIP="strip"
5676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5685 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5686 if test -n "$ac_ct_STRIP"; then
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5688 $as_echo "$ac_ct_STRIP" >&6; }
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5691 $as_echo "no" >&6; }
5694 if test "x$ac_ct_STRIP" = x; then
5697 case $cross_compiling:$ac_tool_warned in
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5700 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5701 ac_tool_warned=yes ;;
5706 STRIP="$ac_cv_prog_STRIP"
5709 test -z "$STRIP" && STRIP=:
5716 if test -n "$ac_tool_prefix"; then
5717 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5718 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5720 $as_echo_n "checking for $ac_word... " >&6; }
5721 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5722 $as_echo_n "(cached) " >&6
5724 if test -n "$RANLIB"; then
5725 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5731 test -z "$as_dir" && as_dir=.
5732 for ac_exec_ext in '' $ac_executable_extensions; do
5733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5734 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5744 RANLIB=$ac_cv_prog_RANLIB
5745 if test -n "$RANLIB"; then
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5747 $as_echo "$RANLIB" >&6; }
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5750 $as_echo "no" >&6; }
5755 if test -z "$ac_cv_prog_RANLIB"; then
5756 ac_ct_RANLIB=$RANLIB
5757 # Extract the first word of "ranlib", so it can be a program name with args.
5758 set dummy ranlib; ac_word=$2
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5760 $as_echo_n "checking for $ac_word... " >&6; }
5761 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5762 $as_echo_n "(cached) " >&6
5764 if test -n "$ac_ct_RANLIB"; then
5765 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5771 test -z "$as_dir" && as_dir=.
5772 for ac_exec_ext in '' $ac_executable_extensions; do
5773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5774 ac_cv_prog_ac_ct_RANLIB="ranlib"
5775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5784 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5785 if test -n "$ac_ct_RANLIB"; then
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5787 $as_echo "$ac_ct_RANLIB" >&6; }
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5790 $as_echo "no" >&6; }
5793 if test "x$ac_ct_RANLIB" = x; then
5796 case $cross_compiling:$ac_tool_warned in
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5800 ac_tool_warned=yes ;;
5802 RANLIB=$ac_ct_RANLIB
5805 RANLIB="$ac_cv_prog_RANLIB"
5808 test -z "$RANLIB" && RANLIB=:
5815 # Determine commands to create old-style static archives.
5816 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5817 old_postinstall_cmds='chmod 644 $oldlib'
5818 old_postuninstall_cmds=
5820 if test -n "$RANLIB"; then
5823 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5826 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5829 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5865 # If no C compiler was specified, use CC.
5868 # If no C compiler flags were specified, use CFLAGS.
5869 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5871 # Allow CC to be a program name with arguments.
5875 # Check for command to grab the raw symbol name followed by C symbol from nm.
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5877 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5878 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5879 $as_echo_n "(cached) " >&6
5882 # These are sane defaults that work on at least a few old systems.
5883 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5885 # Character class describing NM global symbol codes.
5886 symcode='[BCDEGRST]'
5888 # Regexp to match symbols that can be accessed directly from C.
5889 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5891 # Define system-specific variables.
5896 cygwin* | mingw* | pw32* | cegcc*)
5897 symcode='[ABCDGISTW]'
5900 if test "$host_cpu" = ia64; then
5901 symcode='[ABCDEGRST]'
5905 symcode='[BCDEGRST]'
5908 symcode='[BCDEGQRST]'
5919 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5927 # If we're using GNU nm, then use its standard symbol codes.
5928 case `$NM -V 2>&1` in
5929 *GNU* | *'with BFD'*)
5930 symcode='[ABCDGIRSTW]' ;;
5933 # Transform an extracted symbol line into a proper C declaration.
5934 # Some systems (esp. on ia64) link data and code symbols differently,
5935 # so use this general approach.
5936 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5938 # Transform an extracted symbol line into symbol name and symbol address
5939 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5940 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'"
5942 # Handle CRLF in mingw tool chain
5946 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5950 # Try without a prefix underscore, then with it.
5951 for ac_symprfx in "" "_"; do
5953 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5954 symxfrm="\\1 $ac_symprfx\\2 \\2"
5956 # Write the raw and C identifiers.
5957 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5958 # Fake it for dumpbin and say T for any non-static function
5959 # and D for any global variable.
5960 # Also find C++ and __fastcall symbols from MSVC++,
5961 # which start with @ or ?.
5962 lt_cv_sys_global_symbol_pipe="$AWK '"\
5963 " {last_section=section; section=\$ 3};"\
5964 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5965 " \$ 0!~/External *\|/{next};"\
5966 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5967 " {if(hide[section]) next};"\
5968 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5969 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5970 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5971 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5972 " ' prfx=^$ac_symprfx"
5974 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5977 # Check to see that the pipe works correctly.
5981 cat > conftest.$ac_ext <<_LT_EOF
5986 void nm_test_func(void);
5987 void nm_test_func(void){}
5991 int main(){nm_test_var='a';nm_test_func();return(0);}
5994 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5995 (eval $ac_compile) 2>&5
5997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5998 test $ac_status = 0; }; then
5999 # Now try to grab the symbols.
6001 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6002 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6004 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6005 test $ac_status = 0; } && test -s "$nlist"; then
6006 # Try sorting and uniquifying the output.
6007 if sort "$nlist" | uniq > "$nlist"T; then
6008 mv -f "$nlist"T "$nlist"
6013 # Make sure that we snagged all the symbols we need.
6014 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6015 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6016 cat <<_LT_EOF > conftest.$ac_ext
6022 # Now generate the symbol file.
6023 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6025 cat <<_LT_EOF >> conftest.$ac_ext
6027 /* The mapping between symbol names and symbols. */
6032 lt__PROGRAM__LTX_preloaded_symbols[] =
6034 { "@PROGRAM@", (void *) 0 },
6036 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6037 cat <<\_LT_EOF >> conftest.$ac_ext
6041 /* This works around a problem in FreeBSD linker */
6042 #ifdef FREEBSD_WORKAROUND
6043 static const void *lt_preloaded_setup() {
6044 return lt__PROGRAM__LTX_preloaded_symbols;
6052 # Now try linking the two files.
6053 mv conftest.$ac_objext conftstm.$ac_objext
6054 lt_save_LIBS="$LIBS"
6055 lt_save_CFLAGS="$CFLAGS"
6056 LIBS="conftstm.$ac_objext"
6057 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6058 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6059 (eval $ac_link) 2>&5
6061 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6062 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6065 LIBS="$lt_save_LIBS"
6066 CFLAGS="$lt_save_CFLAGS"
6068 echo "cannot find nm_test_func in $nlist" >&5
6071 echo "cannot find nm_test_var in $nlist" >&5
6074 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6077 echo "$progname: failed program was:" >&5
6078 cat conftest.$ac_ext >&5
6080 rm -rf conftest* conftst*
6082 # Do not use the global_symbol_pipe unless it works.
6083 if test "$pipe_works" = yes; then
6086 lt_cv_sys_global_symbol_pipe=
6092 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6093 lt_cv_sys_global_symbol_to_cdecl=
6095 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6097 $as_echo "failed" >&6; }
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6100 $as_echo "ok" >&6; }
6125 # Check whether --enable-libtool-lock was given.
6126 if test "${enable_libtool_lock+set}" = set; then :
6127 enableval=$enable_libtool_lock;
6130 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6132 # Some flags need to be propagated to the compiler or linker for good
6136 # Find out which ABI we are using.
6137 echo 'int i;' > conftest.$ac_ext
6138 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6139 (eval $ac_compile) 2>&5
6141 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6142 test $ac_status = 0; }; then
6143 case `/usr/bin/file conftest.$ac_objext` in
6155 # Find out which ABI we are using.
6156 echo '#line 6156 "configure"' > conftest.$ac_ext
6157 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6158 (eval $ac_compile) 2>&5
6160 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6161 test $ac_status = 0; }; then
6162 if test "$lt_cv_prog_gnu_ld" = yes; then
6163 case `/usr/bin/file conftest.$ac_objext` in
6165 LD="${LD-ld} -melf32bsmip"
6168 LD="${LD-ld} -melf32bmipn32"
6171 LD="${LD-ld} -melf64bmip"
6175 case `/usr/bin/file conftest.$ac_objext` in
6191 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6192 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6193 # Find out which ABI we are using.
6194 echo 'int i;' > conftest.$ac_ext
6195 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6196 (eval $ac_compile) 2>&5
6198 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6199 test $ac_status = 0; }; then
6200 case `/usr/bin/file conftest.o` in
6203 x86_64-*kfreebsd*-gnu)
6204 LD="${LD-ld} -m elf_i386_fbsd"
6207 LD="${LD-ld} -m elf_i386"
6209 ppc64-*linux*|powerpc64-*linux*)
6210 LD="${LD-ld} -m elf32ppclinux"
6213 LD="${LD-ld} -m elf_s390"
6216 LD="${LD-ld} -m elf32_sparc"
6222 x86_64-*kfreebsd*-gnu)
6223 LD="${LD-ld} -m elf_x86_64_fbsd"
6226 LD="${LD-ld} -m elf_x86_64"
6228 ppc*-*linux*|powerpc*-*linux*)
6229 LD="${LD-ld} -m elf64ppc"
6231 s390*-*linux*|s390*-*tpf*)
6232 LD="${LD-ld} -m elf64_s390"
6235 LD="${LD-ld} -m elf64_sparc"
6245 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6246 SAVE_CFLAGS="$CFLAGS"
6247 CFLAGS="$CFLAGS -belf"
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6249 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6250 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6251 $as_echo_n "(cached) " >&6
6254 ac_cpp='$CPP $CPPFLAGS'
6255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6260 /* end confdefs.h. */
6270 if ac_fn_c_try_link "$LINENO"; then :
6271 lt_cv_cc_needs_belf=yes
6273 lt_cv_cc_needs_belf=no
6275 rm -f core conftest.err conftest.$ac_objext \
6276 conftest$ac_exeext conftest.$ac_ext
6278 ac_cpp='$CPP $CPPFLAGS'
6279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6285 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6286 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6287 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6288 CFLAGS="$SAVE_CFLAGS"
6292 # Find out which ABI we are using.
6293 echo 'int i;' > conftest.$ac_ext
6294 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6295 (eval $ac_compile) 2>&5
6297 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6298 test $ac_status = 0; }; then
6299 case `/usr/bin/file conftest.o` in
6301 case $lt_cv_prog_gnu_ld in
6302 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6304 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6316 need_locks="$enable_libtool_lock"
6320 rhapsody* | darwin*)
6321 if test -n "$ac_tool_prefix"; then
6322 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6323 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6325 $as_echo_n "checking for $ac_word... " >&6; }
6326 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6327 $as_echo_n "(cached) " >&6
6329 if test -n "$DSYMUTIL"; then
6330 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6336 test -z "$as_dir" && as_dir=.
6337 for ac_exec_ext in '' $ac_executable_extensions; do
6338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6339 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6349 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6350 if test -n "$DSYMUTIL"; then
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6352 $as_echo "$DSYMUTIL" >&6; }
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6355 $as_echo "no" >&6; }
6360 if test -z "$ac_cv_prog_DSYMUTIL"; then
6361 ac_ct_DSYMUTIL=$DSYMUTIL
6362 # Extract the first word of "dsymutil", so it can be a program name with args.
6363 set dummy dsymutil; ac_word=$2
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6365 $as_echo_n "checking for $ac_word... " >&6; }
6366 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6367 $as_echo_n "(cached) " >&6
6369 if test -n "$ac_ct_DSYMUTIL"; then
6370 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6376 test -z "$as_dir" && as_dir=.
6377 for ac_exec_ext in '' $ac_executable_extensions; do
6378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6379 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6389 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6390 if test -n "$ac_ct_DSYMUTIL"; then
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6392 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6395 $as_echo "no" >&6; }
6398 if test "x$ac_ct_DSYMUTIL" = x; then
6401 case $cross_compiling:$ac_tool_warned in
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6404 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6405 ac_tool_warned=yes ;;
6407 DSYMUTIL=$ac_ct_DSYMUTIL
6410 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6413 if test -n "$ac_tool_prefix"; then
6414 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6415 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6417 $as_echo_n "checking for $ac_word... " >&6; }
6418 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6419 $as_echo_n "(cached) " >&6
6421 if test -n "$NMEDIT"; then
6422 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6428 test -z "$as_dir" && as_dir=.
6429 for ac_exec_ext in '' $ac_executable_extensions; do
6430 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6431 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6441 NMEDIT=$ac_cv_prog_NMEDIT
6442 if test -n "$NMEDIT"; then
6443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6444 $as_echo "$NMEDIT" >&6; }
6446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6447 $as_echo "no" >&6; }
6452 if test -z "$ac_cv_prog_NMEDIT"; then
6453 ac_ct_NMEDIT=$NMEDIT
6454 # Extract the first word of "nmedit", so it can be a program name with args.
6455 set dummy nmedit; ac_word=$2
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6457 $as_echo_n "checking for $ac_word... " >&6; }
6458 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6459 $as_echo_n "(cached) " >&6
6461 if test -n "$ac_ct_NMEDIT"; then
6462 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6468 test -z "$as_dir" && as_dir=.
6469 for ac_exec_ext in '' $ac_executable_extensions; do
6470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6471 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6481 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6482 if test -n "$ac_ct_NMEDIT"; then
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6484 $as_echo "$ac_ct_NMEDIT" >&6; }
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6487 $as_echo "no" >&6; }
6490 if test "x$ac_ct_NMEDIT" = x; then
6493 case $cross_compiling:$ac_tool_warned in
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6496 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6497 ac_tool_warned=yes ;;
6499 NMEDIT=$ac_ct_NMEDIT
6502 NMEDIT="$ac_cv_prog_NMEDIT"
6505 if test -n "$ac_tool_prefix"; then
6506 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6507 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6509 $as_echo_n "checking for $ac_word... " >&6; }
6510 if test "${ac_cv_prog_LIPO+set}" = set; then :
6511 $as_echo_n "(cached) " >&6
6513 if test -n "$LIPO"; then
6514 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6520 test -z "$as_dir" && as_dir=.
6521 for ac_exec_ext in '' $ac_executable_extensions; do
6522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6523 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6533 LIPO=$ac_cv_prog_LIPO
6534 if test -n "$LIPO"; then
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6536 $as_echo "$LIPO" >&6; }
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6539 $as_echo "no" >&6; }
6544 if test -z "$ac_cv_prog_LIPO"; then
6546 # Extract the first word of "lipo", so it can be a program name with args.
6547 set dummy lipo; ac_word=$2
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6549 $as_echo_n "checking for $ac_word... " >&6; }
6550 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6551 $as_echo_n "(cached) " >&6
6553 if test -n "$ac_ct_LIPO"; then
6554 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6560 test -z "$as_dir" && as_dir=.
6561 for ac_exec_ext in '' $ac_executable_extensions; do
6562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6563 ac_cv_prog_ac_ct_LIPO="lipo"
6564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6573 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6574 if test -n "$ac_ct_LIPO"; then
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6576 $as_echo "$ac_ct_LIPO" >&6; }
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6579 $as_echo "no" >&6; }
6582 if test "x$ac_ct_LIPO" = x; then
6585 case $cross_compiling:$ac_tool_warned in
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6588 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6589 ac_tool_warned=yes ;;
6594 LIPO="$ac_cv_prog_LIPO"
6597 if test -n "$ac_tool_prefix"; then
6598 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6599 set dummy ${ac_tool_prefix}otool; ac_word=$2
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6601 $as_echo_n "checking for $ac_word... " >&6; }
6602 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6603 $as_echo_n "(cached) " >&6
6605 if test -n "$OTOOL"; then
6606 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6612 test -z "$as_dir" && as_dir=.
6613 for ac_exec_ext in '' $ac_executable_extensions; do
6614 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6615 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6625 OTOOL=$ac_cv_prog_OTOOL
6626 if test -n "$OTOOL"; then
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6628 $as_echo "$OTOOL" >&6; }
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6631 $as_echo "no" >&6; }
6636 if test -z "$ac_cv_prog_OTOOL"; then
6638 # Extract the first word of "otool", so it can be a program name with args.
6639 set dummy otool; ac_word=$2
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6641 $as_echo_n "checking for $ac_word... " >&6; }
6642 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6643 $as_echo_n "(cached) " >&6
6645 if test -n "$ac_ct_OTOOL"; then
6646 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6652 test -z "$as_dir" && as_dir=.
6653 for ac_exec_ext in '' $ac_executable_extensions; do
6654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6655 ac_cv_prog_ac_ct_OTOOL="otool"
6656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6665 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6666 if test -n "$ac_ct_OTOOL"; then
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6668 $as_echo "$ac_ct_OTOOL" >&6; }
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6671 $as_echo "no" >&6; }
6674 if test "x$ac_ct_OTOOL" = x; then
6677 case $cross_compiling:$ac_tool_warned in
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6680 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6681 ac_tool_warned=yes ;;
6686 OTOOL="$ac_cv_prog_OTOOL"
6689 if test -n "$ac_tool_prefix"; then
6690 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6691 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6693 $as_echo_n "checking for $ac_word... " >&6; }
6694 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6695 $as_echo_n "(cached) " >&6
6697 if test -n "$OTOOL64"; then
6698 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6704 test -z "$as_dir" && as_dir=.
6705 for ac_exec_ext in '' $ac_executable_extensions; do
6706 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6707 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6717 OTOOL64=$ac_cv_prog_OTOOL64
6718 if test -n "$OTOOL64"; then
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6720 $as_echo "$OTOOL64" >&6; }
6722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6723 $as_echo "no" >&6; }
6728 if test -z "$ac_cv_prog_OTOOL64"; then
6729 ac_ct_OTOOL64=$OTOOL64
6730 # Extract the first word of "otool64", so it can be a program name with args.
6731 set dummy otool64; ac_word=$2
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6733 $as_echo_n "checking for $ac_word... " >&6; }
6734 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6735 $as_echo_n "(cached) " >&6
6737 if test -n "$ac_ct_OTOOL64"; then
6738 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6744 test -z "$as_dir" && as_dir=.
6745 for ac_exec_ext in '' $ac_executable_extensions; do
6746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6747 ac_cv_prog_ac_ct_OTOOL64="otool64"
6748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6757 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6758 if test -n "$ac_ct_OTOOL64"; then
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6760 $as_echo "$ac_ct_OTOOL64" >&6; }
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6763 $as_echo "no" >&6; }
6766 if test "x$ac_ct_OTOOL64" = x; then
6769 case $cross_compiling:$ac_tool_warned in
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6772 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6773 ac_tool_warned=yes ;;
6775 OTOOL64=$ac_ct_OTOOL64
6778 OTOOL64="$ac_cv_prog_OTOOL64"
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6808 $as_echo_n "checking for -single_module linker flag... " >&6; }
6809 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6810 $as_echo_n "(cached) " >&6
6812 lt_cv_apple_cc_single_mod=no
6813 if test -z "${LT_MULTI_MODULE}"; then
6814 # By default we will add the -single_module flag. You can override
6815 # by either setting the environment variable LT_MULTI_MODULE
6816 # non-empty at configure time, or by adding -multi_module to the
6818 rm -rf libconftest.dylib*
6819 echo "int foo(void){return 1;}" > conftest.c
6820 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6821 -dynamiclib -Wl,-single_module conftest.c" >&5
6822 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6823 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6825 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6826 lt_cv_apple_cc_single_mod=yes
6828 cat conftest.err >&5
6830 rm -rf libconftest.dylib*
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6835 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6837 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6838 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6839 $as_echo_n "(cached) " >&6
6841 lt_cv_ld_exported_symbols_list=no
6842 save_LDFLAGS=$LDFLAGS
6843 echo "_main" > conftest.sym
6844 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6846 /* end confdefs.h. */
6856 if ac_fn_c_try_link "$LINENO"; then :
6857 lt_cv_ld_exported_symbols_list=yes
6859 lt_cv_ld_exported_symbols_list=no
6861 rm -f core conftest.err conftest.$ac_objext \
6862 conftest$ac_exeext conftest.$ac_ext
6863 LDFLAGS="$save_LDFLAGS"
6866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6867 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6869 rhapsody* | darwin1.[012])
6870 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6872 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6873 darwin*) # darwin 5.x on
6874 # if running on 10.5 or later, the deployment target defaults
6875 # to the OS version, if on x86, and 10.4, the deployment
6876 # target defaults to 10.4. Don't you love it?
6877 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6878 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6879 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6881 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6883 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6887 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6888 _lt_dar_single_mod='$single_module'
6890 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6891 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6893 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6895 if test "$DSYMUTIL" != ":"; then
6896 _lt_dsymutil='~$DSYMUTIL $lib || :'
6904 ac_cpp='$CPP $CPPFLAGS'
6905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6909 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6910 # On Suns, sometimes $CPP names a directory.
6911 if test -n "$CPP" && test -d "$CPP"; then
6914 if test -z "$CPP"; then
6915 if test "${ac_cv_prog_CPP+set}" = set; then :
6916 $as_echo_n "(cached) " >&6
6918 # Double quotes because CPP needs to be expanded
6919 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6922 for ac_c_preproc_warn_flag in '' yes
6924 # Use a header file that comes with gcc, so configuring glibc
6925 # with a fresh cross-compiler works.
6926 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6927 # <limits.h> exists even on freestanding compilers.
6928 # On the NeXT, cc -E runs the code through the compiler's parser,
6929 # not just through cpp. "Syntax error" is here to catch this case.
6930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6931 /* end confdefs.h. */
6933 # include <limits.h>
6935 # include <assert.h>
6939 if ac_fn_c_try_cpp "$LINENO"; then :
6942 # Broken: fails on valid input.
6945 rm -f conftest.err conftest.i conftest.$ac_ext
6947 # OK, works on sane cases. Now check whether nonexistent headers
6948 # can be detected and how.
6949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6950 /* end confdefs.h. */
6951 #include <ac_nonexistent.h>
6953 if ac_fn_c_try_cpp "$LINENO"; then :
6954 # Broken: success on invalid input.
6957 # Passes both tests.
6961 rm -f conftest.err conftest.i conftest.$ac_ext
6964 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6965 rm -f conftest.i conftest.err conftest.$ac_ext
6966 if $ac_preproc_ok; then :
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6979 $as_echo "$CPP" >&6; }
6981 for ac_c_preproc_warn_flag in '' yes
6983 # Use a header file that comes with gcc, so configuring glibc
6984 # with a fresh cross-compiler works.
6985 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6986 # <limits.h> exists even on freestanding compilers.
6987 # On the NeXT, cc -E runs the code through the compiler's parser,
6988 # not just through cpp. "Syntax error" is here to catch this case.
6989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6990 /* end confdefs.h. */
6992 # include <limits.h>
6994 # include <assert.h>
6998 if ac_fn_c_try_cpp "$LINENO"; then :
7001 # Broken: fails on valid input.
7004 rm -f conftest.err conftest.i conftest.$ac_ext
7006 # OK, works on sane cases. Now check whether nonexistent headers
7007 # can be detected and how.
7008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7009 /* end confdefs.h. */
7010 #include <ac_nonexistent.h>
7012 if ac_fn_c_try_cpp "$LINENO"; then :
7013 # Broken: success on invalid input.
7016 # Passes both tests.
7020 rm -f conftest.err conftest.i conftest.$ac_ext
7023 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7024 rm -f conftest.i conftest.err conftest.$ac_ext
7025 if $ac_preproc_ok; then :
7028 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7029 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7030 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7031 See \`config.log' for more details" "$LINENO" 5 ; }
7035 ac_cpp='$CPP $CPPFLAGS'
7036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7042 $as_echo_n "checking for ANSI C header files... " >&6; }
7043 if test "${ac_cv_header_stdc+set}" = set; then :
7044 $as_echo_n "(cached) " >&6
7046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7047 /* end confdefs.h. */
7061 if ac_fn_c_try_compile "$LINENO"; then :
7062 ac_cv_header_stdc=yes
7064 ac_cv_header_stdc=no
7066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7068 if test $ac_cv_header_stdc = yes; then
7069 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7071 /* end confdefs.h. */
7075 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7076 $EGREP "memchr" >/dev/null 2>&1; then :
7079 ac_cv_header_stdc=no
7085 if test $ac_cv_header_stdc = yes; then
7086 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7088 /* end confdefs.h. */
7092 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7093 $EGREP "free" >/dev/null 2>&1; then :
7096 ac_cv_header_stdc=no
7102 if test $ac_cv_header_stdc = yes; then
7103 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7104 if test "$cross_compiling" = yes; then :
7107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7108 /* end confdefs.h. */
7111 #if ((' ' & 0x0FF) == 0x020)
7112 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7113 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7115 # define ISLOWER(c) \
7116 (('a' <= (c) && (c) <= 'i') \
7117 || ('j' <= (c) && (c) <= 'r') \
7118 || ('s' <= (c) && (c) <= 'z'))
7119 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7122 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7127 for (i = 0; i < 256; i++)
7128 if (XOR (islower (i), ISLOWER (i))
7129 || toupper (i) != TOUPPER (i))
7134 if ac_fn_c_try_run "$LINENO"; then :
7137 ac_cv_header_stdc=no
7139 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7140 conftest.$ac_objext conftest.beam conftest.$ac_ext
7145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7146 $as_echo "$ac_cv_header_stdc" >&6; }
7147 if test $ac_cv_header_stdc = yes; then
7149 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7153 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7154 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7155 inttypes.h stdint.h unistd.h
7157 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7158 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7160 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7161 cat >>confdefs.h <<_ACEOF
7162 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7170 for ac_header in dlfcn.h
7172 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7174 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7175 cat >>confdefs.h <<_ACEOF
7176 #define HAVE_DLFCN_H 1
7193 # Check whether --enable-shared was given.
7194 if test "${enable_shared+set}" = set; then :
7195 enableval=$enable_shared; p=${PACKAGE-default}
7197 yes) enable_shared=yes ;;
7198 no) enable_shared=no ;;
7201 # Look at the argument we got. We use all the common list separators.
7202 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7203 for pkg in $enableval; do
7205 if test "X$pkg" = "X$p"; then
7224 # Check whether --enable-static was given.
7225 if test "${enable_static+set}" = set; then :
7226 enableval=$enable_static; p=${PACKAGE-default}
7228 yes) enable_static=yes ;;
7229 no) enable_static=no ;;
7232 # Look at the argument we got. We use all the common list separators.
7233 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7234 for pkg in $enableval; do
7236 if test "X$pkg" = "X$p"; then
7256 # Check whether --with-pic was given.
7257 if test "${with_pic+set}" = set; then :
7258 withval=$with_pic; pic_mode="$withval"
7264 test -z "$pic_mode" && pic_mode=default
7272 # Check whether --enable-fast-install was given.
7273 if test "${enable_fast_install+set}" = set; then :
7274 enableval=$enable_fast_install; p=${PACKAGE-default}
7276 yes) enable_fast_install=yes ;;
7277 no) enable_fast_install=no ;;
7279 enable_fast_install=no
7280 # Look at the argument we got. We use all the common list separators.
7281 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7282 for pkg in $enableval; do
7284 if test "X$pkg" = "X$p"; then
7285 enable_fast_install=yes
7292 enable_fast_install=yes
7305 # This can be used to rebuild libtool when needed
7306 LIBTOOL_DEPS="$ltmain"
7308 # Always use our own libtool.
7309 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7335 test -z "$LN_S" && LN_S="ln -s"
7350 if test -n "${ZSH_VERSION+set}" ; then
7351 setopt NO_GLOB_SUBST
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7355 $as_echo_n "checking for objdir... " >&6; }
7356 if test "${lt_cv_objdir+set}" = set; then :
7357 $as_echo_n "(cached) " >&6
7359 rm -f .libs 2>/dev/null
7360 mkdir .libs 2>/dev/null
7361 if test -d .libs; then
7364 # MS-DOS does not allow filenames that begin with a dot.
7367 rmdir .libs 2>/dev/null
7369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7370 $as_echo "$lt_cv_objdir" >&6; }
7371 objdir=$lt_cv_objdir
7377 cat >>confdefs.h <<_ACEOF
7378 #define LT_OBJDIR "$lt_cv_objdir/"
7399 # AIX sometimes has problems with the GCC collect2 program. For some
7400 # reason, if we set the COLLECT_NAMES environment variable, the problems
7401 # vanish in a puff of smoke.
7402 if test "X${COLLECT_NAMES+set}" != Xset; then
7404 export COLLECT_NAMES
7409 # Sed substitution that helps us do robust quoting. It backslashifies
7410 # metacharacters that are still active within double-quoted strings.
7411 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7413 # Same as above, but do not quote variable references.
7414 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7416 # Sed substitution to delay expansion of an escaped shell variable in a
7417 # double_quote_subst'ed string.
7418 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7420 # Sed substitution to delay expansion of an escaped single quote.
7421 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7423 # Sed substitution to avoid accidental globbing in evaled expressions
7424 no_glob_subst='s/\*/\\\*/g'
7428 can_build_shared=yes
7430 # All known linkers require a `.a' archive for static linking (except MSVC,
7431 # which needs '.lib').
7434 with_gnu_ld="$lt_cv_prog_gnu_ld"
7437 old_CFLAGS="$CFLAGS"
7439 # Set sane defaults for various variables
7440 test -z "$CC" && CC=cc
7441 test -z "$LTCC" && LTCC=$CC
7442 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7443 test -z "$LD" && LD=ld
7444 test -z "$ac_objext" && ac_objext=o
7446 for cc_temp in $compiler""; do
7448 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7449 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7454 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7457 # Only perform the check for file, if the check method requires it
7458 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7459 case $deplibs_check_method in
7461 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7463 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7464 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7465 $as_echo_n "(cached) " >&6
7469 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7472 lt_save_MAGIC_CMD="$MAGIC_CMD"
7473 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7474 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7475 for ac_dir in $ac_dummy; do
7477 test -z "$ac_dir" && ac_dir=.
7478 if test -f $ac_dir/${ac_tool_prefix}file; then
7479 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7480 if test -n "$file_magic_test_file"; then
7481 case $deplibs_check_method in
7483 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7484 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7485 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7486 $EGREP "$file_magic_regex" > /dev/null; then
7491 *** Warning: the command libtool uses to detect shared libraries,
7492 *** $file_magic_cmd, produces output that libtool cannot recognize.
7493 *** The result is that libtool may fail to recognize shared libraries
7494 *** as such. This will affect the creation of libtool libraries that
7495 *** depend on shared libraries, but programs linked with such libtool
7496 *** libraries will work regardless of this problem. Nevertheless, you
7497 *** may want to report the problem to your system manager and/or to
7498 *** bug-libtool@gnu.org
7508 MAGIC_CMD="$lt_save_MAGIC_CMD"
7513 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7514 if test -n "$MAGIC_CMD"; then
7515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7516 $as_echo "$MAGIC_CMD" >&6; }
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7519 $as_echo "no" >&6; }
7526 if test -z "$lt_cv_path_MAGIC_CMD"; then
7527 if test -n "$ac_tool_prefix"; then
7528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7529 $as_echo_n "checking for file... " >&6; }
7530 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7531 $as_echo_n "(cached) " >&6
7535 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7538 lt_save_MAGIC_CMD="$MAGIC_CMD"
7539 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7540 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7541 for ac_dir in $ac_dummy; do
7543 test -z "$ac_dir" && ac_dir=.
7544 if test -f $ac_dir/file; then
7545 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7546 if test -n "$file_magic_test_file"; then
7547 case $deplibs_check_method in
7549 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7550 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7551 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7552 $EGREP "$file_magic_regex" > /dev/null; then
7557 *** Warning: the command libtool uses to detect shared libraries,
7558 *** $file_magic_cmd, produces output that libtool cannot recognize.
7559 *** The result is that libtool may fail to recognize shared libraries
7560 *** as such. This will affect the creation of libtool libraries that
7561 *** depend on shared libraries, but programs linked with such libtool
7562 *** libraries will work regardless of this problem. Nevertheless, you
7563 *** may want to report the problem to your system manager and/or to
7564 *** bug-libtool@gnu.org
7574 MAGIC_CMD="$lt_save_MAGIC_CMD"
7579 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7580 if test -n "$MAGIC_CMD"; then
7581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7582 $as_echo "$MAGIC_CMD" >&6; }
7584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7585 $as_echo "no" >&6; }
7598 # Use C for the default configuration in the libtool script
7602 ac_cpp='$CPP $CPPFLAGS'
7603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7608 # Source file extension for C test sources.
7611 # Object file extension for compiled C test sources.
7615 # Code to be used in simple compile tests
7616 lt_simple_compile_test_code="int some_variable = 0;"
7618 # Code to be used in simple link tests
7619 lt_simple_link_test_code='int main(){return(0);}'
7627 # If no C compiler was specified, use CC.
7630 # If no C compiler flags were specified, use CFLAGS.
7631 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7633 # Allow CC to be a program name with arguments.
7636 # Save the default compiler, since it gets overwritten when the other
7637 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7638 compiler_DEFAULT=$CC
7640 # save warnings/boilerplate of simple test code
7641 ac_outfile=conftest.$ac_objext
7642 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7643 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7644 _lt_compiler_boilerplate=`cat conftest.err`
7647 ac_outfile=conftest.$ac_objext
7648 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7649 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7650 _lt_linker_boilerplate=`cat conftest.err`
7655 ## There is no encapsulation within the following macros, do not change
7656 ## the running order or otherwise move them around unless you know exactly
7657 ## what you are doing...
7658 if test -n "$compiler"; then
7660 lt_prog_compiler_no_builtin_flag=
7662 if test "$GCC" = yes; then
7663 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7666 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7667 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7668 $as_echo_n "(cached) " >&6
7670 lt_cv_prog_compiler_rtti_exceptions=no
7671 ac_outfile=conftest.$ac_objext
7672 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7673 lt_compiler_flag="-fno-rtti -fno-exceptions"
7674 # Insert the option either (1) after the last *FLAGS variable, or
7675 # (2) before a word containing "conftest.", or (3) at the end.
7676 # Note that $ac_compile itself does not contain backslashes and begins
7677 # with a dollar sign (not a hyphen), so the echo should work correctly.
7678 # The option is referenced via a variable to avoid confusing sed.
7679 lt_compile=`echo "$ac_compile" | $SED \
7680 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7681 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7682 -e 's:$: $lt_compiler_flag:'`
7683 (eval echo "\"\$as_me:7683: $lt_compile\"" >&5)
7684 (eval "$lt_compile" 2>conftest.err)
7686 cat conftest.err >&5
7687 echo "$as_me:7687: \$? = $ac_status" >&5
7688 if (exit $ac_status) && test -s "$ac_outfile"; then
7689 # The compiler can only warn and ignore the option if not recognized
7690 # So say no if there are warnings other than the usual output.
7691 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7692 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7693 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7694 lt_cv_prog_compiler_rtti_exceptions=yes
7700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7701 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7703 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7704 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7716 lt_prog_compiler_wl=
7717 lt_prog_compiler_pic=
7718 lt_prog_compiler_static=
7720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7721 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7723 if test "$GCC" = yes; then
7724 lt_prog_compiler_wl='-Wl,'
7725 lt_prog_compiler_static='-static'
7729 # All AIX code is PIC.
7730 if test "$host_cpu" = ia64; then
7731 # AIX 5 now supports IA64 processor
7732 lt_prog_compiler_static='-Bstatic'
7739 # see comment about AmigaOS4 .so support
7740 lt_prog_compiler_pic='-fPIC'
7743 # FIXME: we need at least 68020 code to build shared libraries, but
7744 # adding the `-m68020' flag to GCC prevents building anything better,
7746 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7751 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7752 # PIC is the default for these OSes.
7755 mingw* | cygwin* | pw32* | os2* | cegcc*)
7756 # This hack is so that the source file can tell whether it is being
7757 # built for inclusion in a dll (and should export symbols for example).
7758 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7759 # (--disable-auto-import) libraries
7760 lt_prog_compiler_pic='-DDLL_EXPORT'
7763 darwin* | rhapsody*)
7764 # PIC is the default on this platform
7765 # Common symbols not allowed in MH_DYLIB files
7766 lt_prog_compiler_pic='-fno-common'
7770 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7771 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7772 # sets the default TLS model and affects inlining.
7778 lt_prog_compiler_pic='-fPIC'
7784 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7785 # Instead, we relocate shared libraries at runtime.
7789 # Just because we use GCC doesn't mean we suddenly get shared libraries
7790 # on systems that don't support them.
7791 lt_prog_compiler_can_build_shared=no
7796 # QNX uses GNU C++, but need to define -shared option too, otherwise
7798 lt_prog_compiler_pic='-fPIC -shared'
7802 if test -d /usr/nec; then
7803 lt_prog_compiler_pic=-Kconform_pic
7808 lt_prog_compiler_pic='-fPIC'
7812 # PORTME Check for flag to pass linker flags through the system compiler.
7815 lt_prog_compiler_wl='-Wl,'
7816 if test "$host_cpu" = ia64; then
7817 # AIX 5 now supports IA64 processor
7818 lt_prog_compiler_static='-Bstatic'
7820 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7824 mingw* | cygwin* | pw32* | os2* | cegcc*)
7825 # This hack is so that the source file can tell whether it is being
7826 # built for inclusion in a dll (and should export symbols for example).
7827 lt_prog_compiler_pic='-DDLL_EXPORT'
7830 hpux9* | hpux10* | hpux11*)
7831 lt_prog_compiler_wl='-Wl,'
7832 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7839 lt_prog_compiler_pic='+Z'
7842 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7843 lt_prog_compiler_static='${wl}-a ${wl}archive'
7846 irix5* | irix6* | nonstopux*)
7847 lt_prog_compiler_wl='-Wl,'
7848 # PIC (with -KPIC) is the default.
7849 lt_prog_compiler_static='-non_shared'
7852 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7853 case $cc_basename in
7854 # old Intel for x86_64 which still supported -KPIC.
7856 lt_prog_compiler_wl='-Wl,'
7857 lt_prog_compiler_pic='-KPIC'
7858 lt_prog_compiler_static='-static'
7860 # icc used to be incompatible with GCC.
7861 # ICC 10 doesn't accept -KPIC any more.
7863 lt_prog_compiler_wl='-Wl,'
7864 lt_prog_compiler_pic='-fPIC'
7865 lt_prog_compiler_static='-static'
7867 # Lahey Fortran 8.1.
7869 lt_prog_compiler_wl='-Wl,'
7870 lt_prog_compiler_pic='--shared'
7871 lt_prog_compiler_static='--static'
7873 pgcc* | pgf77* | pgf90* | pgf95*)
7874 # Portland Group compilers (*not* the Pentium gcc compiler,
7875 # which looks to be a dead project)
7876 lt_prog_compiler_wl='-Wl,'
7877 lt_prog_compiler_pic='-fpic'
7878 lt_prog_compiler_static='-Bstatic'
7881 lt_prog_compiler_wl='-Wl,'
7882 # All Alpha code is PIC.
7883 lt_prog_compiler_static='-non_shared'
7886 # IBM XL C 8.0/Fortran 10.1 on PPC
7887 lt_prog_compiler_wl='-Wl,'
7888 lt_prog_compiler_pic='-qpic'
7889 lt_prog_compiler_static='-qstaticlink'
7892 case `$CC -V 2>&1 | sed 5q` in
7895 lt_prog_compiler_pic='-KPIC'
7896 lt_prog_compiler_static='-Bstatic'
7897 lt_prog_compiler_wl='-Wl,'
7900 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7901 lt_prog_compiler_pic='-KPIC'
7902 lt_prog_compiler_static='-Bstatic'
7903 lt_prog_compiler_wl=''
7911 lt_prog_compiler_pic='-KPIC'
7912 lt_prog_compiler_static='-Bstatic'
7916 # QNX uses GNU C++, but need to define -shared option too, otherwise
7918 lt_prog_compiler_pic='-fPIC -shared'
7921 osf3* | osf4* | osf5*)
7922 lt_prog_compiler_wl='-Wl,'
7923 # All OSF/1 code is PIC.
7924 lt_prog_compiler_static='-non_shared'
7928 lt_prog_compiler_static='-non_shared'
7932 lt_prog_compiler_pic='-KPIC'
7933 lt_prog_compiler_static='-Bstatic'
7934 case $cc_basename in
7936 lt_prog_compiler_wl='-Qoption ld ';;
7938 lt_prog_compiler_wl='-Wl,';;
7943 lt_prog_compiler_wl='-Qoption ld '
7944 lt_prog_compiler_pic='-PIC'
7945 lt_prog_compiler_static='-Bstatic'
7948 sysv4 | sysv4.2uw2* | sysv4.3*)
7949 lt_prog_compiler_wl='-Wl,'
7950 lt_prog_compiler_pic='-KPIC'
7951 lt_prog_compiler_static='-Bstatic'
7955 if test -d /usr/nec ;then
7956 lt_prog_compiler_pic='-Kconform_pic'
7957 lt_prog_compiler_static='-Bstatic'
7961 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7962 lt_prog_compiler_wl='-Wl,'
7963 lt_prog_compiler_pic='-KPIC'
7964 lt_prog_compiler_static='-Bstatic'
7968 lt_prog_compiler_wl='-Wl,'
7969 lt_prog_compiler_can_build_shared=no
7973 lt_prog_compiler_pic='-pic'
7974 lt_prog_compiler_static='-Bstatic'
7978 lt_prog_compiler_can_build_shared=no
7984 # For platforms which do not support PIC, -DPIC is meaningless:
7986 lt_prog_compiler_pic=
7989 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7993 $as_echo "$lt_prog_compiler_pic" >&6; }
8001 # Check to make sure the PIC flag actually works.
8003 if test -n "$lt_prog_compiler_pic"; then
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8005 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8006 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8007 $as_echo_n "(cached) " >&6
8009 lt_cv_prog_compiler_pic_works=no
8010 ac_outfile=conftest.$ac_objext
8011 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8012 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8013 # Insert the option either (1) after the last *FLAGS variable, or
8014 # (2) before a word containing "conftest.", or (3) at the end.
8015 # Note that $ac_compile itself does not contain backslashes and begins
8016 # with a dollar sign (not a hyphen), so the echo should work correctly.
8017 # The option is referenced via a variable to avoid confusing sed.
8018 lt_compile=`echo "$ac_compile" | $SED \
8019 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8020 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8021 -e 's:$: $lt_compiler_flag:'`
8022 (eval echo "\"\$as_me:8022: $lt_compile\"" >&5)
8023 (eval "$lt_compile" 2>conftest.err)
8025 cat conftest.err >&5
8026 echo "$as_me:8026: \$? = $ac_status" >&5
8027 if (exit $ac_status) && test -s "$ac_outfile"; then
8028 # The compiler can only warn and ignore the option if not recognized
8029 # So say no if there are warnings other than the usual output.
8030 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8031 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8032 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8033 lt_cv_prog_compiler_pic_works=yes
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8040 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8042 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8043 case $lt_prog_compiler_pic in
8045 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8048 lt_prog_compiler_pic=
8049 lt_prog_compiler_can_build_shared=no
8060 # Check to make sure the static flag actually works.
8062 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8064 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8065 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8066 $as_echo_n "(cached) " >&6
8068 lt_cv_prog_compiler_static_works=no
8069 save_LDFLAGS="$LDFLAGS"
8070 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8071 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8072 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8073 # The linker can only warn and ignore the option if not recognized
8074 # So say no if there are warnings
8075 if test -s conftest.err; then
8076 # Append any errors to the config.log.
8077 cat conftest.err 1>&5
8078 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8079 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8080 if diff conftest.exp conftest.er2 >/dev/null; then
8081 lt_cv_prog_compiler_static_works=yes
8084 lt_cv_prog_compiler_static_works=yes
8088 LDFLAGS="$save_LDFLAGS"
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8092 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8094 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8097 lt_prog_compiler_static=
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8107 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8108 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8109 $as_echo_n "(cached) " >&6
8111 lt_cv_prog_compiler_c_o=no
8112 $RM -r conftest 2>/dev/null
8116 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8118 lt_compiler_flag="-o out/conftest2.$ac_objext"
8119 # Insert the option either (1) after the last *FLAGS variable, or
8120 # (2) before a word containing "conftest.", or (3) at the end.
8121 # Note that $ac_compile itself does not contain backslashes and begins
8122 # with a dollar sign (not a hyphen), so the echo should work correctly.
8123 lt_compile=`echo "$ac_compile" | $SED \
8124 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8125 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8126 -e 's:$: $lt_compiler_flag:'`
8127 (eval echo "\"\$as_me:8127: $lt_compile\"" >&5)
8128 (eval "$lt_compile" 2>out/conftest.err)
8130 cat out/conftest.err >&5
8131 echo "$as_me:8131: \$? = $ac_status" >&5
8132 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8134 # The compiler can only warn and ignore the option if not recognized
8135 # So say no if there are warnings
8136 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8137 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8138 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8139 lt_cv_prog_compiler_c_o=yes
8144 # SGI C++ compiler will create directory out/ii_files/ for
8145 # template instantiation
8146 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8147 $RM out/* && rmdir out
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8154 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8162 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8163 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8164 $as_echo_n "(cached) " >&6
8166 lt_cv_prog_compiler_c_o=no
8167 $RM -r conftest 2>/dev/null
8171 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8173 lt_compiler_flag="-o out/conftest2.$ac_objext"
8174 # Insert the option either (1) after the last *FLAGS variable, or
8175 # (2) before a word containing "conftest.", or (3) at the end.
8176 # Note that $ac_compile itself does not contain backslashes and begins
8177 # with a dollar sign (not a hyphen), so the echo should work correctly.
8178 lt_compile=`echo "$ac_compile" | $SED \
8179 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8180 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8181 -e 's:$: $lt_compiler_flag:'`
8182 (eval echo "\"\$as_me:8182: $lt_compile\"" >&5)
8183 (eval "$lt_compile" 2>out/conftest.err)
8185 cat out/conftest.err >&5
8186 echo "$as_me:8186: \$? = $ac_status" >&5
8187 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8189 # The compiler can only warn and ignore the option if not recognized
8190 # So say no if there are warnings
8191 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8192 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8193 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8194 lt_cv_prog_compiler_c_o=yes
8199 # SGI C++ compiler will create directory out/ii_files/ for
8200 # template instantiation
8201 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8202 $RM out/* && rmdir out
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8209 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8214 hard_links="nottested"
8215 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8216 # do not overwrite the value of need_locks provided by the user
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8218 $as_echo_n "checking if we can lock with hard links... " >&6; }
8221 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8223 ln conftest.a conftest.b 2>&5 || hard_links=no
8224 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8226 $as_echo "$hard_links" >&6; }
8227 if test "$hard_links" = no; then
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8229 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8242 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8245 allow_undefined_flag=
8246 always_export_symbols=no
8248 archive_expsym_cmds=
8249 compiler_needs_object=no
8250 enable_shared_with_static_runtimes=no
8251 export_dynamic_flag_spec=
8252 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8253 hardcode_automatic=no
8255 hardcode_direct_absolute=no
8256 hardcode_libdir_flag_spec=
8257 hardcode_libdir_flag_spec_ld=
8258 hardcode_libdir_separator=
8260 hardcode_shlibpath_var=unsupported
8262 link_all_deplibs=unknown
8265 old_archive_from_new_cmds=
8266 old_archive_from_expsyms_cmds=
8267 thread_safe_flag_spec=
8268 whole_archive_flag_spec=
8269 # include_expsyms should be a list of space-separated symbols to be *always*
8270 # included in the symbol list
8272 # exclude_expsyms can be an extended regexp of symbols to exclude
8273 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8274 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8275 # as well as any symbol that contains `d'.
8276 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8277 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8278 # platforms (ab)use it in PIC code, but their linkers get confused if
8279 # the symbol is explicitly referenced. Since portable code cannot
8280 # rely on this symbol name, it's probably fine to never include it in
8281 # preloaded symbol tables.
8282 # Exclude shared library initialization/finalization symbols.
8283 extract_expsyms_cmds=
8286 cygwin* | mingw* | pw32* | cegcc*)
8287 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8288 # When not using gcc, we currently assume that we are using
8289 # Microsoft Visual C++.
8290 if test "$GCC" != yes; then
8295 # we just hope/assume this is gcc and not c89 (= MSVC++)
8301 linux* | k*bsd*-gnu)
8307 if test "$with_gnu_ld" = yes; then
8308 # If archive_cmds runs LD, not CC, wlarc should be empty
8311 # Set some defaults for GNU ld with shared library support. These
8312 # are reset later if shared libraries are not supported. Putting them
8313 # here allows them to be overridden if necessary.
8314 runpath_var=LD_RUN_PATH
8315 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8316 export_dynamic_flag_spec='${wl}--export-dynamic'
8317 # ancient GNU ld didn't support --whole-archive et. al.
8318 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8319 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8321 whole_archive_flag_spec=
8323 supports_anon_versioning=no
8324 case `$LD -v 2>&1` in
8325 *GNU\ gold*) supports_anon_versioning=yes ;;
8326 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8327 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8328 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8329 *\ 2.11.*) ;; # other 2.11 versions
8330 *) supports_anon_versioning=yes ;;
8333 # See if GNU ld supports shared libraries.
8336 # On AIX/PPC, the GNU linker is very broken
8337 if test "$host_cpu" != ia64; then
8341 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8342 *** to be unable to reliably create shared libraries on AIX.
8343 *** Therefore, libtool is disabling shared libraries support. If you
8344 *** really care for shared libraries, you may want to modify your PATH
8345 *** so that a non-GNU linker is found, and then restart.
8354 # see comment about AmigaOS4 .so support
8355 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8356 archive_expsym_cmds=''
8359 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)'
8360 hardcode_libdir_flag_spec='-L$libdir'
8361 hardcode_minus_L=yes
8367 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8368 allow_undefined_flag=unsupported
8369 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8370 # support --undefined. This deserves some investigation. FIXME
8371 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8377 cygwin* | mingw* | pw32* | cegcc*)
8378 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8379 # as there is no search path for DLLs.
8380 hardcode_libdir_flag_spec='-L$libdir'
8381 allow_undefined_flag=unsupported
8382 always_export_symbols=no
8383 enable_shared_with_static_runtimes=yes
8384 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8386 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8387 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8388 # If the export-symbols file already is a .def file (1st line
8389 # is EXPORTS), use it as is; otherwise, prepend...
8390 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8391 cp $export_symbols $output_objdir/$soname.def;
8393 echo EXPORTS > $output_objdir/$soname.def;
8394 cat $export_symbols >> $output_objdir/$soname.def;
8396 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8404 hardcode_shlibpath_var=no
8405 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8406 export_dynamic_flag_spec='${wl}-E'
8407 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8408 # Instead, shared libraries are loaded at an image base (0x10000000 by
8409 # default) and relocated if they conflict, which is a slow very memory
8410 # consuming and fragmenting process. To avoid this, we pick a random,
8411 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8412 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8413 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8414 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'
8417 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8419 if test "$host_os" = linux-dietlibc; then
8420 case $cc_basename in
8421 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8424 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8425 && test "$tmp_diet" = no
8428 tmp_sharedflag='-shared'
8429 case $cc_basename,$host_cpu in
8430 pgcc*) # Portland Group C compiler
8431 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8432 tmp_addflag=' $pic_flag'
8434 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8435 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8436 tmp_addflag=' $pic_flag -Mnomain' ;;
8437 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8438 tmp_addflag=' -i_dynamic' ;;
8439 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8440 tmp_addflag=' -i_dynamic -nofor_main' ;;
8441 ifc* | ifort*) # Intel Fortran compiler
8442 tmp_addflag=' -nofor_main' ;;
8443 lf95*) # Lahey Fortran 8.1
8444 whole_archive_flag_spec=
8445 tmp_sharedflag='--shared' ;;
8446 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8447 tmp_sharedflag='-qmkshrobj'
8450 case `$CC -V 2>&1 | sed 5q` in
8451 *Sun\ C*) # Sun C 5.9
8452 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8453 compiler_needs_object=yes
8454 tmp_sharedflag='-G' ;;
8455 *Sun\ F*) # Sun Fortran 8.3
8456 tmp_sharedflag='-G' ;;
8458 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8460 if test "x$supports_anon_versioning" = xyes; then
8461 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8462 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8463 echo "local: *; };" >> $output_objdir/$libname.ver~
8464 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8467 case $cc_basename in
8469 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8470 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8471 hardcode_libdir_flag_spec=
8472 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8473 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8474 if test "x$supports_anon_versioning" = xyes; then
8475 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8476 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8477 echo "local: *; };" >> $output_objdir/$libname.ver~
8478 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8487 netbsd* | netbsdelf*-gnu)
8488 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8489 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8492 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8493 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8498 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8502 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8503 *** create shared libraries on Solaris systems. Therefore, libtool
8504 *** is disabling shared libraries support. We urge you to upgrade GNU
8505 *** binutils to release 2.9.1 or newer. Another option is to modify
8506 *** your PATH or compiler configuration so that the native linker is
8507 *** used, and then restart.
8510 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8511 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8512 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8518 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8519 case `$LD -v 2>&1` in
8520 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8524 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8525 *** reliably create shared libraries on SCO systems. Therefore, libtool
8526 *** is disabling shared libraries support. We urge you to upgrade GNU
8527 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8528 *** your PATH or compiler configuration so that the native linker is
8529 *** used, and then restart.
8534 # For security reasons, it is highly recommended that you always
8535 # use absolute paths for naming shared libraries, and exclude the
8536 # DT_RUNPATH tag from executables and libraries. But doing so
8537 # requires that you compile everything twice, which is a pain.
8538 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8539 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8540 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8541 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8550 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8553 hardcode_shlibpath_var=no
8557 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8558 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8559 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8566 if test "$ld_shlibs" = no; then
8568 hardcode_libdir_flag_spec=
8569 export_dynamic_flag_spec=
8570 whole_archive_flag_spec=
8573 # PORTME fill in a description of your system's linker (not GNU ld)
8576 allow_undefined_flag=unsupported
8577 always_export_symbols=yes
8578 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'
8579 # Note: this linker hardcodes the directories in LIBPATH if there
8580 # are no directories specified by -L.
8581 hardcode_minus_L=yes
8582 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8583 # Neither direct hardcoding nor static linking is supported with a
8585 hardcode_direct=unsupported
8590 if test "$host_cpu" = ia64; then
8591 # On IA64, the linker does run time linking by default, so we don't
8592 # have to do anything special.
8593 aix_use_runtimelinking=no
8594 exp_sym_flag='-Bexport'
8597 # If we're using GNU nm, then we don't want the "-C" option.
8598 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8599 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8600 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8602 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'
8604 aix_use_runtimelinking=no
8606 # Test if we are trying to use run time linking or normal
8607 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8608 # need to do runtime linking.
8609 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8610 for ld_flag in $LDFLAGS; do
8611 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8612 aix_use_runtimelinking=yes
8619 exp_sym_flag='-bexport'
8620 no_entry_flag='-bnoentry'
8623 # When large executables or shared objects are built, AIX ld can
8624 # have problems creating the table of contents. If linking a library
8625 # or program results in "error TOC overflow" add -mminimal-toc to
8626 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8627 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8631 hardcode_direct_absolute=yes
8632 hardcode_libdir_separator=':'
8633 link_all_deplibs=yes
8634 file_list_spec='${wl}-f,'
8636 if test "$GCC" = yes; then
8637 case $host_os in aix4.[012]|aix4.[012].*)
8638 # We only want to do this on AIX 4.2 and lower, the check
8639 # below for broken collect2 doesn't work under 4.3+
8640 collect2name=`${CC} -print-prog-name=collect2`
8641 if test -f "$collect2name" &&
8642 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8644 # We have reworked collect2
8647 # We have old collect2
8648 hardcode_direct=unsupported
8649 # It fails to find uninstalled libraries when the uninstalled
8650 # path is not listed in the libpath. Setting hardcode_minus_L
8651 # to unsupported forces relinking
8652 hardcode_minus_L=yes
8653 hardcode_libdir_flag_spec='-L$libdir'
8654 hardcode_libdir_separator=
8658 shared_flag='-shared'
8659 if test "$aix_use_runtimelinking" = yes; then
8660 shared_flag="$shared_flag "'${wl}-G'
8665 if test "$host_cpu" = ia64; then
8666 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8667 # chokes on -Wl,-G. The following line is correct:
8670 if test "$aix_use_runtimelinking" = yes; then
8671 shared_flag='${wl}-G'
8673 shared_flag='${wl}-bM:SRE'
8678 export_dynamic_flag_spec='${wl}-bexpall'
8679 # It seems that -bexpall does not export symbols beginning with
8680 # underscore (_), so it is better to generate a list of symbols to export.
8681 always_export_symbols=yes
8682 if test "$aix_use_runtimelinking" = yes; then
8683 # Warning - without using the other runtime loading flags (-brtl),
8684 # -berok will link without error, but may produce a broken library.
8685 allow_undefined_flag='-berok'
8686 # Determine the default libpath from the value encoded in an
8688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8689 /* end confdefs.h. */
8699 if ac_fn_c_try_link "$LINENO"; then :
8701 lt_aix_libpath_sed='
8702 /Import File Strings/,/^$/ {
8708 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8709 # Check for a 64-bit object if we didn't find anything.
8710 if test -z "$aix_libpath"; then
8711 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8714 rm -f core conftest.err conftest.$ac_objext \
8715 conftest$ac_exeext conftest.$ac_ext
8716 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8718 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8719 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8721 if test "$host_cpu" = ia64; then
8722 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8723 allow_undefined_flag="-z nodefs"
8724 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"
8726 # Determine the default libpath from the value encoded in an
8728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8729 /* end confdefs.h. */
8739 if ac_fn_c_try_link "$LINENO"; then :
8741 lt_aix_libpath_sed='
8742 /Import File Strings/,/^$/ {
8748 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8749 # Check for a 64-bit object if we didn't find anything.
8750 if test -z "$aix_libpath"; then
8751 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8754 rm -f core conftest.err conftest.$ac_objext \
8755 conftest$ac_exeext conftest.$ac_ext
8756 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8758 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8759 # Warning - without using the other run time loading flags,
8760 # -berok will link without error, but may produce a broken library.
8761 no_undefined_flag=' ${wl}-bernotok'
8762 allow_undefined_flag=' ${wl}-berok'
8763 # Exported symbols can be pulled into shared objects from archives
8764 whole_archive_flag_spec='$convenience'
8765 archive_cmds_need_lc=yes
8766 # This is similar to how AIX traditionally builds its shared libraries.
8767 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'
8775 # see comment about AmigaOS4 .so support
8776 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8777 archive_expsym_cmds=''
8780 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)'
8781 hardcode_libdir_flag_spec='-L$libdir'
8782 hardcode_minus_L=yes
8788 export_dynamic_flag_spec=-rdynamic
8791 cygwin* | mingw* | pw32* | cegcc*)
8792 # When not using gcc, we currently assume that we are using
8793 # Microsoft Visual C++.
8794 # hardcode_libdir_flag_spec is actually meaningless, as there is
8795 # no search path for DLLs.
8796 hardcode_libdir_flag_spec=' '
8797 allow_undefined_flag=unsupported
8798 # Tell ltmain to make .lib files, not .a files.
8800 # Tell ltmain to make .dll files, not .so files.
8802 # FIXME: Setting linknames here is a bad hack.
8803 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8804 # The linker will automatically build a .lib file if we build a DLL.
8805 old_archive_from_new_cmds='true'
8806 # FIXME: Should let the user specify the lib program.
8807 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8808 fix_srcfile_path='`cygpath -w "$srcfile"`'
8809 enable_shared_with_static_runtimes=yes
8812 darwin* | rhapsody*)
8815 archive_cmds_need_lc=no
8817 hardcode_automatic=yes
8818 hardcode_shlibpath_var=unsupported
8819 whole_archive_flag_spec=''
8820 link_all_deplibs=yes
8821 allow_undefined_flag="$_lt_dar_allow_undefined"
8822 case $cc_basename in
8823 ifort*) _lt_dar_can_shared=yes ;;
8824 *) _lt_dar_can_shared=$GCC ;;
8826 if test "$_lt_dar_can_shared" = "yes"; then
8827 output_verbose_link_cmd=echo
8828 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8829 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8830 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}"
8831 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}"
8840 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8841 hardcode_libdir_flag_spec='-L$libdir'
8842 hardcode_shlibpath_var=no
8849 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8850 # support. Future versions do this automatically, but an explicit c++rt0.o
8851 # does not break anything, and helps significantly (at the cost of a little
8854 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8855 hardcode_libdir_flag_spec='-R$libdir'
8857 hardcode_shlibpath_var=no
8860 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8862 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8864 hardcode_minus_L=yes
8865 hardcode_shlibpath_var=no
8868 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8869 freebsd* | dragonfly*)
8870 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8871 hardcode_libdir_flag_spec='-R$libdir'
8873 hardcode_shlibpath_var=no
8877 if test "$GCC" = yes; then
8878 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8880 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'
8882 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8883 hardcode_libdir_separator=:
8886 # hardcode_minus_L: Not really in the search PATH,
8887 # but as the default location of the library.
8888 hardcode_minus_L=yes
8889 export_dynamic_flag_spec='${wl}-E'
8893 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8894 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8896 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8898 if test "$with_gnu_ld" = no; then
8899 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8900 hardcode_libdir_flag_spec_ld='+b $libdir'
8901 hardcode_libdir_separator=:
8903 hardcode_direct_absolute=yes
8904 export_dynamic_flag_spec='${wl}-E'
8905 # hardcode_minus_L: Not really in the search PATH,
8906 # but as the default location of the library.
8907 hardcode_minus_L=yes
8912 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8915 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8918 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8921 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8927 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8930 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8933 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8937 if test "$with_gnu_ld" = no; then
8938 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8939 hardcode_libdir_separator=:
8944 hardcode_shlibpath_var=no
8948 hardcode_direct_absolute=yes
8949 export_dynamic_flag_spec='${wl}-E'
8951 # hardcode_minus_L: Not really in the search PATH,
8952 # but as the default location of the library.
8953 hardcode_minus_L=yes
8959 irix5* | irix6* | nonstopux*)
8960 if test "$GCC" = yes; then
8961 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8962 # Try to use the -exported_symbol ld option, if it does not
8963 # work, assume that -exports_file does not work either and
8964 # implicitly export all symbols.
8965 save_LDFLAGS="$LDFLAGS"
8966 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8968 /* end confdefs.h. */
8971 if ac_fn_c_try_link "$LINENO"; then :
8972 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
8975 rm -f core conftest.err conftest.$ac_objext \
8976 conftest$ac_exeext conftest.$ac_ext
8977 LDFLAGS="$save_LDFLAGS"
8979 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8980 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
8982 archive_cmds_need_lc='no'
8983 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8984 hardcode_libdir_separator=:
8986 link_all_deplibs=yes
8989 netbsd* | netbsdelf*-gnu)
8990 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8991 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8993 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8995 hardcode_libdir_flag_spec='-R$libdir'
8997 hardcode_shlibpath_var=no
9001 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9003 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9004 hardcode_libdir_separator=:
9005 hardcode_shlibpath_var=no
9012 if test -f /usr/libexec/ld.so; then
9014 hardcode_shlibpath_var=no
9015 hardcode_direct_absolute=yes
9016 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9017 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9018 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9019 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9020 export_dynamic_flag_spec='${wl}-E'
9023 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9024 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9025 hardcode_libdir_flag_spec='-R$libdir'
9028 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9029 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9039 hardcode_libdir_flag_spec='-L$libdir'
9040 hardcode_minus_L=yes
9041 allow_undefined_flag=unsupported
9042 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'
9043 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9047 if test "$GCC" = yes; then
9048 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9049 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9051 allow_undefined_flag=' -expect_unresolved \*'
9052 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9054 archive_cmds_need_lc='no'
9055 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9056 hardcode_libdir_separator=:
9059 osf4* | osf5*) # as osf3* with the addition of -msym flag
9060 if test "$GCC" = yes; then
9061 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9062 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9063 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9065 allow_undefined_flag=' -expect_unresolved \*'
9066 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9067 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~
9068 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9070 # Both c and cxx compiler support -rpath directly
9071 hardcode_libdir_flag_spec='-rpath $libdir'
9073 archive_cmds_need_lc='no'
9074 hardcode_libdir_separator=:
9078 no_undefined_flag=' -z defs'
9079 if test "$GCC" = yes; then
9081 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9082 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9083 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9085 case `$CC -V 2>&1` in
9088 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9089 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9090 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9094 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9095 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9096 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9100 hardcode_libdir_flag_spec='-R$libdir'
9101 hardcode_shlibpath_var=no
9103 solaris2.[0-5] | solaris2.[0-5].*) ;;
9105 # The compiler driver will combine and reorder linker options,
9106 # but understands `-z linker_flag'. GCC discards it without `$wl',
9107 # but is careful enough not to reorder.
9108 # Supported since Solaris 2.6 (maybe 2.5.1?)
9109 if test "$GCC" = yes; then
9110 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9112 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9116 link_all_deplibs=yes
9120 if test "x$host_vendor" = xsequent; then
9121 # Use $CC to link under sequent, because it throws in some extra .o
9122 # files that make .init and .fini sections work.
9123 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9125 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9127 hardcode_libdir_flag_spec='-L$libdir'
9129 hardcode_minus_L=yes
9130 hardcode_shlibpath_var=no
9134 case $host_vendor in
9136 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9137 hardcode_direct=yes # is this really true???
9140 ## LD is ld it makes a PLAMLIB
9141 ## CC just makes a GrossModule.
9142 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9143 reload_cmds='$CC -r -o $output$reload_objs'
9147 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9148 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9151 runpath_var='LD_RUN_PATH'
9152 hardcode_shlibpath_var=no
9156 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9157 hardcode_shlibpath_var=no
9158 export_dynamic_flag_spec='-Bexport'
9162 if test -d /usr/nec; then
9163 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9164 hardcode_shlibpath_var=no
9165 runpath_var=LD_RUN_PATH
9166 hardcode_runpath_var=yes
9171 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9172 no_undefined_flag='${wl}-z,text'
9173 archive_cmds_need_lc=no
9174 hardcode_shlibpath_var=no
9175 runpath_var='LD_RUN_PATH'
9177 if test "$GCC" = yes; then
9178 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9179 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9181 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9182 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9186 sysv5* | sco3.2v5* | sco5v6*)
9187 # Note: We can NOT use -z defs as we might desire, because we do not
9188 # link with -lc, and that would cause any symbols used from libc to
9189 # always be unresolved, which means just about no library would
9190 # ever link correctly. If we're not using GNU ld we use -z text
9191 # though, which does catch some bad symbols but isn't as heavy-handed
9193 no_undefined_flag='${wl}-z,text'
9194 allow_undefined_flag='${wl}-z,nodefs'
9195 archive_cmds_need_lc=no
9196 hardcode_shlibpath_var=no
9197 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9198 hardcode_libdir_separator=':'
9199 link_all_deplibs=yes
9200 export_dynamic_flag_spec='${wl}-Bexport'
9201 runpath_var='LD_RUN_PATH'
9203 if test "$GCC" = yes; then
9204 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9205 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9207 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9208 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9213 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9214 hardcode_libdir_flag_spec='-L$libdir'
9215 hardcode_shlibpath_var=no
9223 if test x$host_vendor = xsni; then
9225 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9226 export_dynamic_flag_spec='${wl}-Blargedynsym'
9232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9233 $as_echo "$ld_shlibs" >&6; }
9234 test "$ld_shlibs" = no && can_build_shared=no
9236 with_gnu_ld=$with_gnu_ld
9253 # Do we need to explicitly link libc?
9255 case "x$archive_cmds_need_lc" in
9257 # Assume -lc should be added
9258 archive_cmds_need_lc=yes
9260 if test "$enable_shared" = yes && test "$GCC" = yes; then
9261 case $archive_cmds in
9263 # FIXME: we may have to deal with multi-command sequences.
9266 # Test whether the compiler implicitly links with -lc since on some
9267 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9268 # to ld, don't add -lc before -lgcc.
9269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9270 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9272 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9274 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9275 (eval $ac_compile) 2>&5
9277 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9278 test $ac_status = 0; } 2>conftest.err; then
9281 libobjs=conftest.$ac_objext
9283 wl=$lt_prog_compiler_wl
9284 pic_flag=$lt_prog_compiler_pic
9290 lt_save_allow_undefined_flag=$allow_undefined_flag
9291 allow_undefined_flag=
9292 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9293 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9295 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9296 test $ac_status = 0; }
9298 archive_cmds_need_lc=no
9300 archive_cmds_need_lc=yes
9302 allow_undefined_flag=$lt_save_allow_undefined_flag
9304 cat conftest.err 1>&5
9307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9308 $as_echo "$archive_cmds_need_lc" >&6; }
9471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9472 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9474 if test "$GCC" = yes; then
9476 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9477 *) lt_awk_arg="/^libraries:/" ;;
9479 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9480 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9481 # if the path contains ";" then we assume it to be the separator
9482 # otherwise default to the standard path separator (i.e. ":") - it is
9483 # assumed that no part of a normal pathname contains ";" but that should
9484 # okay in the real world where ";" in dirpaths is itself problematic.
9485 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9487 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9489 # Ok, now we have the path, separated by spaces, we can step through it
9490 # and add multilib dir if necessary.
9491 lt_tmp_lt_search_path_spec=
9492 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9493 for lt_sys_path in $lt_search_path_spec; do
9494 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9495 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9497 test -d "$lt_sys_path" && \
9498 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9501 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9502 BEGIN {RS=" "; FS="/|\n";} {
9505 for (lt_i = NF; lt_i > 0; lt_i--) {
9506 if ($lt_i != "" && $lt_i != ".") {
9507 if ($lt_i == "..") {
9510 if (lt_count == 0) {
9511 lt_foo="/" $lt_i lt_foo;
9518 if (lt_foo != "") { lt_freq[lt_foo]++; }
9519 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9521 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9523 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9526 libname_spec='lib$name'
9534 shlibpath_overrides_runpath=unknown
9536 dynamic_linker="$host_os ld.so"
9537 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9538 need_lib_prefix=unknown
9539 hardcode_into_libs=no
9541 # when you set need_version to no, make sure it does not cause -set_version
9542 # flags to be left without arguments
9543 need_version=unknown
9548 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9549 shlibpath_var=LIBPATH
9551 # AIX 3 has no versioning support, so we append a major version to the name.
9552 soname_spec='${libname}${release}${shared_ext}$major'
9559 hardcode_into_libs=yes
9560 if test "$host_cpu" = ia64; then
9561 # AIX 5 supports IA64
9562 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9563 shlibpath_var=LD_LIBRARY_PATH
9565 # With GCC up to 2.95.x, collect2 would create an import file
9566 # for dependence libraries. The import file would start with
9567 # the line `#! .'. This would cause the generated library to
9568 # depend on `.', always an invalid library. This was fixed in
9569 # development snapshots of GCC prior to 3.0.
9571 aix4 | aix4.[01] | aix4.[01].*)
9572 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9574 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9581 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9582 # soname into executable. Probably we can add versioning support to
9583 # collect2, so additional links can be useful in future.
9584 if test "$aix_use_runtimelinking" = yes; then
9585 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9586 # instead of lib<name>.a to let people know that these are not
9587 # typical AIX shared libraries.
9588 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9590 # We preserve .a as extension for shared libraries through AIX4.2
9591 # and later when we are not doing run time linking.
9592 library_names_spec='${libname}${release}.a $libname.a'
9593 soname_spec='${libname}${release}${shared_ext}$major'
9595 shlibpath_var=LIBPATH
9602 # Since July 2007 AmigaOS4 officially supports .so libraries.
9603 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9604 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9607 library_names_spec='$libname.ixlibrary $libname.a'
9608 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9609 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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'
9615 library_names_spec='${libname}${shared_ext}'
9616 dynamic_linker="$host_os ld.so"
9617 shlibpath_var=LIBRARY_PATH
9623 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9624 soname_spec='${libname}${release}${shared_ext}$major'
9625 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9626 shlibpath_var=LD_LIBRARY_PATH
9627 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9628 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9629 # the default ld.so.conf also contains /usr/contrib/lib and
9630 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9631 # libtool to hard-code these into programs
9634 cygwin* | mingw* | pw32* | cegcc*)
9635 version_type=windows
9640 case $GCC,$host_os in
9641 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9642 library_names_spec='$libname.dll.a'
9643 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9644 postinstall_cmds='base_file=`basename \${file}`~
9645 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9646 dldir=$destdir/`dirname \$dlpath`~
9647 test -d \$dldir || mkdir -p \$dldir~
9648 $install_prog $dir/$dlname \$dldir/$dlname~
9649 chmod a+x \$dldir/$dlname~
9650 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9651 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9653 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9654 dlpath=$dir/\$dldll~
9656 shlibpath_overrides_runpath=yes
9660 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9661 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9662 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9665 # MinGW DLLs use traditional 'lib' prefix
9666 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9667 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9668 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9669 # It is most probably a Windows format PATH printed by
9670 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9671 # path with ; separators, and with drive letters. We can handle the
9672 # drive letters (cygwin fileutils understands them), so leave them,
9673 # especially as we might pass files found there to a mingw objdump,
9674 # which wouldn't understand a cygwinified path. Ahh.
9675 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9677 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9681 # pw32 DLLs use 'pw' prefix rather than 'lib'
9682 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9688 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9691 dynamic_linker='Win32 ld.exe'
9692 # FIXME: first we should search . and the directory the executable is in
9696 darwin* | rhapsody*)
9697 dynamic_linker="$host_os dyld"
9701 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9702 soname_spec='${libname}${release}${major}$shared_ext'
9703 shlibpath_overrides_runpath=yes
9704 shlibpath_var=DYLD_LIBRARY_PATH
9705 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9707 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9708 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9715 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9716 soname_spec='${libname}${release}${shared_ext}$major'
9717 shlibpath_var=LD_LIBRARY_PATH
9724 freebsd* | dragonfly*)
9725 # DragonFly does not have aout. When/if they implement a new
9726 # versioning mechanism, adjust this.
9727 if test -x /usr/bin/objformat; then
9728 objformat=`/usr/bin/objformat`
9731 freebsd[123]*) objformat=aout ;;
9735 version_type=freebsd-$objformat
9736 case $version_type in
9738 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9743 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9747 shlibpath_var=LD_LIBRARY_PATH
9750 shlibpath_overrides_runpath=yes
9752 freebsd3.[01]* | freebsdelf3.[01]*)
9753 shlibpath_overrides_runpath=yes
9754 hardcode_into_libs=yes
9756 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9757 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9758 shlibpath_overrides_runpath=no
9759 hardcode_into_libs=yes
9761 *) # from 4.6 on, and DragonFly
9762 shlibpath_overrides_runpath=yes
9763 hardcode_into_libs=yes
9772 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9773 soname_spec='${libname}${release}${shared_ext}$major'
9774 shlibpath_var=LD_LIBRARY_PATH
9775 hardcode_into_libs=yes
9778 hpux9* | hpux10* | hpux11*)
9779 # Give a soname corresponding to the major version so that dld.sl refuses to
9780 # link against other versions.
9787 hardcode_into_libs=yes
9788 dynamic_linker="$host_os dld.so"
9789 shlibpath_var=LD_LIBRARY_PATH
9790 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9791 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9792 soname_spec='${libname}${release}${shared_ext}$major'
9793 if test "X$HPUX_IA64_MODE" = X32; then
9794 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9796 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9798 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9802 hardcode_into_libs=yes
9803 dynamic_linker="$host_os dld.sl"
9804 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9805 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9806 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9807 soname_spec='${libname}${release}${shared_ext}$major'
9808 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9809 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9813 dynamic_linker="$host_os dld.sl"
9814 shlibpath_var=SHLIB_PATH
9815 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9816 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9817 soname_spec='${libname}${release}${shared_ext}$major'
9820 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9821 postinstall_cmds='chmod 555 $lib'
9828 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9829 soname_spec='${libname}${release}${shared_ext}$major'
9830 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9831 shlibpath_var=LD_LIBRARY_PATH
9832 shlibpath_overrides_runpath=no
9833 hardcode_into_libs=yes
9836 irix5* | irix6* | nonstopux*)
9838 nonstopux*) version_type=nonstopux ;;
9840 if test "$lt_cv_prog_gnu_ld" = yes; then
9848 soname_spec='${libname}${release}${shared_ext}$major'
9849 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9851 irix5* | nonstopux*)
9855 case $LD in # libtool.m4 will add one of these switches to LD
9856 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9857 libsuff= shlibsuff= libmagic=32-bit;;
9858 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9859 libsuff=32 shlibsuff=N32 libmagic=N32;;
9860 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9861 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9862 *) libsuff= shlibsuff= libmagic=never-match;;
9866 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9867 shlibpath_overrides_runpath=no
9868 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9869 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9870 hardcode_into_libs=yes
9873 # No shared lib support for Linux oldld, aout, or coff.
9874 linux*oldld* | linux*aout* | linux*coff*)
9878 # This must be Linux ELF.
9879 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9883 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9884 soname_spec='${libname}${release}${shared_ext}$major'
9885 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9886 shlibpath_var=LD_LIBRARY_PATH
9887 shlibpath_overrides_runpath=no
9888 # Some binutils ld are patched to set DT_RUNPATH
9889 save_LDFLAGS=$LDFLAGS
9891 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9892 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9894 /* end confdefs.h. */
9904 if ac_fn_c_try_link "$LINENO"; then :
9905 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9906 shlibpath_overrides_runpath=yes
9909 rm -f core conftest.err conftest.$ac_objext \
9910 conftest$ac_exeext conftest.$ac_ext
9911 LDFLAGS=$save_LDFLAGS
9914 # This implies no fast_install, which is unacceptable.
9915 # Some rework will be needed to allow for fast_install
9916 # before this can be enabled.
9917 hardcode_into_libs=yes
9919 # Append ld.so.conf contents to the search path
9920 if test -f /etc/ld.so.conf; then
9921 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;/^$/d' | tr '\n' ' '`
9922 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9925 # We used to test for /lib/ld.so.1 and disable shared libraries on
9926 # powerpc, because MkLinux only supported shared libraries with the
9927 # GNU dynamic linker. Since this was broken with cross compilers,
9928 # most powerpc-linux boxes support dynamic linking these days and
9929 # people can always --disable-shared, the test was removed, and we
9930 # assume the GNU/Linux dynamic linker is in use.
9931 dynamic_linker='GNU/Linux ld.so'
9938 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9939 soname_spec='${libname}${release}${shared_ext}$major'
9940 shlibpath_var=LD_LIBRARY_PATH
9941 shlibpath_overrides_runpath=no
9942 hardcode_into_libs=yes
9943 dynamic_linker='NetBSD ld.elf_so'
9950 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9951 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9952 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9953 dynamic_linker='NetBSD (a.out) ld.so'
9955 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9956 soname_spec='${libname}${release}${shared_ext}$major'
9957 dynamic_linker='NetBSD ld.elf_so'
9959 shlibpath_var=LD_LIBRARY_PATH
9960 shlibpath_overrides_runpath=yes
9961 hardcode_into_libs=yes
9966 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9967 shlibpath_var=LD_LIBRARY_PATH
9968 shlibpath_overrides_runpath=yes
9975 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9976 soname_spec='${libname}${release}${shared_ext}$major'
9977 shlibpath_var=LD_LIBRARY_PATH
9978 shlibpath_overrides_runpath=no
9979 hardcode_into_libs=yes
9980 dynamic_linker='ldqnx.so'
9985 sys_lib_dlsearch_path_spec="/usr/lib"
9987 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9989 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9990 *) need_version=no ;;
9992 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9993 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9994 shlibpath_var=LD_LIBRARY_PATH
9995 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9997 openbsd2.[89] | openbsd2.[89].*)
9998 shlibpath_overrides_runpath=no
10001 shlibpath_overrides_runpath=yes
10005 shlibpath_overrides_runpath=yes
10010 libname_spec='$name'
10013 library_names_spec='$libname${shared_ext} $libname.a'
10014 dynamic_linker='OS/2 ld.exe'
10015 shlibpath_var=LIBPATH
10018 osf3* | osf4* | osf5*)
10022 soname_spec='${libname}${release}${shared_ext}$major'
10023 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10024 shlibpath_var=LD_LIBRARY_PATH
10025 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10026 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10037 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10038 soname_spec='${libname}${release}${shared_ext}$major'
10039 shlibpath_var=LD_LIBRARY_PATH
10040 shlibpath_overrides_runpath=yes
10041 hardcode_into_libs=yes
10042 # ldd complains unless libraries are executable
10043 postinstall_cmds='chmod +x $lib'
10048 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10049 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10050 shlibpath_var=LD_LIBRARY_PATH
10051 shlibpath_overrides_runpath=yes
10052 if test "$with_gnu_ld" = yes; then
10060 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10061 soname_spec='${libname}${release}${shared_ext}$major'
10062 shlibpath_var=LD_LIBRARY_PATH
10063 case $host_vendor in
10065 shlibpath_overrides_runpath=no
10067 runpath_var=LD_RUN_PATH
10075 shlibpath_overrides_runpath=no
10076 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10082 if test -d /usr/nec ;then
10084 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10085 soname_spec='$libname${shared_ext}.$major'
10086 shlibpath_var=LD_LIBRARY_PATH
10090 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10091 version_type=freebsd-elf
10094 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10095 soname_spec='${libname}${release}${shared_ext}$major'
10096 shlibpath_var=LD_LIBRARY_PATH
10097 shlibpath_overrides_runpath=yes
10098 hardcode_into_libs=yes
10099 if test "$with_gnu_ld" = yes; then
10100 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10102 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10105 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10109 sys_lib_dlsearch_path_spec='/usr/lib'
10113 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10117 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10118 shlibpath_var=LD_LIBRARY_PATH
10119 shlibpath_overrides_runpath=no
10120 hardcode_into_libs=yes
10125 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10126 soname_spec='${libname}${release}${shared_ext}$major'
10127 shlibpath_var=LD_LIBRARY_PATH
10134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10135 $as_echo "$dynamic_linker" >&6; }
10136 test "$dynamic_linker" = no && can_build_shared=no
10138 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10139 if test "$GCC" = yes; then
10140 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10143 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10144 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10146 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10147 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10237 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10239 if test -n "$hardcode_libdir_flag_spec" ||
10240 test -n "$runpath_var" ||
10241 test "X$hardcode_automatic" = "Xyes" ; then
10243 # We can hardcode non-existent directories.
10244 if test "$hardcode_direct" != no &&
10245 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10246 # have to relink, otherwise we might link with an installed library
10247 # when we should be linking with a yet-to-be-installed one
10248 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10249 test "$hardcode_minus_L" != no; then
10250 # Linking always hardcodes the temporary library directory.
10251 hardcode_action=relink
10253 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10254 hardcode_action=immediate
10257 # We cannot hardcode anything, or else we can only hardcode existing
10259 hardcode_action=unsupported
10261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10262 $as_echo "$hardcode_action" >&6; }
10264 if test "$hardcode_action" = relink ||
10265 test "$inherit_rpath" = yes; then
10266 # Fast installation is not supported
10267 enable_fast_install=no
10268 elif test "$shlibpath_overrides_runpath" = yes ||
10269 test "$enable_shared" = no; then
10270 # Fast installation is not necessary
10271 enable_fast_install=needless
10279 if test "x$enable_dlopen" != xyes; then
10280 enable_dlopen=unknown
10281 enable_dlopen_self=unknown
10282 enable_dlopen_self_static=unknown
10289 lt_cv_dlopen="load_add_on"
10291 lt_cv_dlopen_self=yes
10294 mingw* | pw32* | cegcc*)
10295 lt_cv_dlopen="LoadLibrary"
10300 lt_cv_dlopen="dlopen"
10305 # if libdl is installed we need to link against it
10306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10307 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10308 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10309 $as_echo_n "(cached) " >&6
10311 ac_check_lib_save_LIBS=$LIBS
10313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10314 /* end confdefs.h. */
10316 /* Override any GCC internal prototype to avoid an error.
10317 Use char because int might match the return type of a GCC
10318 builtin and then its argument prototype would still apply. */
10331 if ac_fn_c_try_link "$LINENO"; then :
10332 ac_cv_lib_dl_dlopen=yes
10334 ac_cv_lib_dl_dlopen=no
10336 rm -f core conftest.err conftest.$ac_objext \
10337 conftest$ac_exeext conftest.$ac_ext
10338 LIBS=$ac_check_lib_save_LIBS
10340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10341 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10342 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10343 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10346 lt_cv_dlopen="dyld"
10348 lt_cv_dlopen_self=yes
10355 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10356 if test "x$ac_cv_func_shl_load" = x""yes; then :
10357 lt_cv_dlopen="shl_load"
10359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10360 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10361 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10362 $as_echo_n "(cached) " >&6
10364 ac_check_lib_save_LIBS=$LIBS
10366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10367 /* end confdefs.h. */
10369 /* Override any GCC internal prototype to avoid an error.
10370 Use char because int might match the return type of a GCC
10371 builtin and then its argument prototype would still apply. */
10379 return shl_load ();
10384 if ac_fn_c_try_link "$LINENO"; then :
10385 ac_cv_lib_dld_shl_load=yes
10387 ac_cv_lib_dld_shl_load=no
10389 rm -f core conftest.err conftest.$ac_objext \
10390 conftest$ac_exeext conftest.$ac_ext
10391 LIBS=$ac_check_lib_save_LIBS
10393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10394 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10395 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10396 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10398 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10399 if test "x$ac_cv_func_dlopen" = x""yes; then :
10400 lt_cv_dlopen="dlopen"
10402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10403 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10404 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10405 $as_echo_n "(cached) " >&6
10407 ac_check_lib_save_LIBS=$LIBS
10409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10410 /* end confdefs.h. */
10412 /* Override any GCC internal prototype to avoid an error.
10413 Use char because int might match the return type of a GCC
10414 builtin and then its argument prototype would still apply. */
10427 if ac_fn_c_try_link "$LINENO"; then :
10428 ac_cv_lib_dl_dlopen=yes
10430 ac_cv_lib_dl_dlopen=no
10432 rm -f core conftest.err conftest.$ac_objext \
10433 conftest$ac_exeext conftest.$ac_ext
10434 LIBS=$ac_check_lib_save_LIBS
10436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10437 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10438 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10439 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10442 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10443 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10444 $as_echo_n "(cached) " >&6
10446 ac_check_lib_save_LIBS=$LIBS
10447 LIBS="-lsvld $LIBS"
10448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10449 /* end confdefs.h. */
10451 /* Override any GCC internal prototype to avoid an error.
10452 Use char because int might match the return type of a GCC
10453 builtin and then its argument prototype would still apply. */
10466 if ac_fn_c_try_link "$LINENO"; then :
10467 ac_cv_lib_svld_dlopen=yes
10469 ac_cv_lib_svld_dlopen=no
10471 rm -f core conftest.err conftest.$ac_objext \
10472 conftest$ac_exeext conftest.$ac_ext
10473 LIBS=$ac_check_lib_save_LIBS
10475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10476 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10477 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10478 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10481 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10482 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10483 $as_echo_n "(cached) " >&6
10485 ac_check_lib_save_LIBS=$LIBS
10487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10488 /* end confdefs.h. */
10490 /* Override any GCC internal prototype to avoid an error.
10491 Use char because int might match the return type of a GCC
10492 builtin and then its argument prototype would still apply. */
10500 return dld_link ();
10505 if ac_fn_c_try_link "$LINENO"; then :
10506 ac_cv_lib_dld_dld_link=yes
10508 ac_cv_lib_dld_dld_link=no
10510 rm -f core conftest.err conftest.$ac_objext \
10511 conftest$ac_exeext conftest.$ac_ext
10512 LIBS=$ac_check_lib_save_LIBS
10514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10515 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10516 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10517 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10538 if test "x$lt_cv_dlopen" != xno; then
10544 case $lt_cv_dlopen in
10546 save_CPPFLAGS="$CPPFLAGS"
10547 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10549 save_LDFLAGS="$LDFLAGS"
10550 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10553 LIBS="$lt_cv_dlopen_libs $LIBS"
10555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10556 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10557 if test "${lt_cv_dlopen_self+set}" = set; then :
10558 $as_echo_n "(cached) " >&6
10560 if test "$cross_compiling" = yes; then :
10561 lt_cv_dlopen_self=cross
10563 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10564 lt_status=$lt_dlunknown
10565 cat > conftest.$ac_ext <<_LT_EOF
10566 #line 10566 "configure"
10567 #include "confdefs.h"
10576 # define LT_DLGLOBAL RTLD_GLOBAL
10579 # define LT_DLGLOBAL DL_GLOBAL
10581 # define LT_DLGLOBAL 0
10585 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10586 find out it does not work in some platform. */
10587 #ifndef LT_DLLAZY_OR_NOW
10589 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10592 # define LT_DLLAZY_OR_NOW DL_LAZY
10595 # define LT_DLLAZY_OR_NOW RTLD_NOW
10598 # define LT_DLLAZY_OR_NOW DL_NOW
10600 # define LT_DLLAZY_OR_NOW 0
10607 void fnord() { int i=42;}
10610 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10611 int status = $lt_dlunknown;
10615 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10616 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10617 /* dlclose (self); */
10625 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10626 (eval $ac_link) 2>&5
10628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10629 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10630 (./conftest; exit; ) >&5 2>/dev/null
10632 case x$lt_status in
10633 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10634 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10635 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10638 # compilation failed
10639 lt_cv_dlopen_self=no
10646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10647 $as_echo "$lt_cv_dlopen_self" >&6; }
10649 if test "x$lt_cv_dlopen_self" = xyes; then
10650 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10652 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10653 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10654 $as_echo_n "(cached) " >&6
10656 if test "$cross_compiling" = yes; then :
10657 lt_cv_dlopen_self_static=cross
10659 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10660 lt_status=$lt_dlunknown
10661 cat > conftest.$ac_ext <<_LT_EOF
10662 #line 10662 "configure"
10663 #include "confdefs.h"
10672 # define LT_DLGLOBAL RTLD_GLOBAL
10675 # define LT_DLGLOBAL DL_GLOBAL
10677 # define LT_DLGLOBAL 0
10681 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10682 find out it does not work in some platform. */
10683 #ifndef LT_DLLAZY_OR_NOW
10685 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10688 # define LT_DLLAZY_OR_NOW DL_LAZY
10691 # define LT_DLLAZY_OR_NOW RTLD_NOW
10694 # define LT_DLLAZY_OR_NOW DL_NOW
10696 # define LT_DLLAZY_OR_NOW 0
10703 void fnord() { int i=42;}
10706 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10707 int status = $lt_dlunknown;
10711 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10712 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10713 /* dlclose (self); */
10721 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10722 (eval $ac_link) 2>&5
10724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10725 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10726 (./conftest; exit; ) >&5 2>/dev/null
10728 case x$lt_status in
10729 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10730 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10731 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10734 # compilation failed
10735 lt_cv_dlopen_self_static=no
10742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10743 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10746 CPPFLAGS="$save_CPPFLAGS"
10747 LDFLAGS="$save_LDFLAGS"
10752 case $lt_cv_dlopen_self in
10753 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10754 *) enable_dlopen_self=unknown ;;
10757 case $lt_cv_dlopen_self_static in
10758 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10759 *) enable_dlopen_self_static=unknown ;;
10781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10782 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10783 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10784 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10785 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10787 $as_echo "yes" >&6; }
10789 # FIXME - insert some real tests, host_os isn't really good enough
10792 if test -n "$STRIP" ; then
10793 striplib="$STRIP -x"
10794 old_striplib="$STRIP -S"
10795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10796 $as_echo "yes" >&6; }
10798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10799 $as_echo "no" >&6; }
10803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10804 $as_echo "no" >&6; }
10820 # Report which library types will actually be built
10821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10822 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10824 $as_echo "$can_build_shared" >&6; }
10826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10827 $as_echo_n "checking whether to build shared libraries... " >&6; }
10828 test "$can_build_shared" = "no" && enable_shared=no
10830 # On AIX, shared libraries and static libraries use the same namespace, and
10831 # are all built from PIC.
10834 test "$enable_shared" = yes && enable_static=no
10835 if test -n "$RANLIB"; then
10836 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10837 postinstall_cmds='$RANLIB $lib'
10842 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10843 test "$enable_shared" = yes && enable_static=no
10847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10848 $as_echo "$enable_shared" >&6; }
10850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10851 $as_echo_n "checking whether to build static libraries... " >&6; }
10852 # Make sure either enable_shared or enable_static is yes.
10853 test "$enable_shared" = yes || enable_static=yes
10854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10855 $as_echo "$enable_static" >&6; }
10862 ac_cpp='$CPP $CPPFLAGS'
10863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10881 ac_config_commands="$ac_config_commands libtool"
10886 # Only expand once:
10890 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
10891 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
10895 cat >>confdefs.h <<_ACEOF
10900 cat >>confdefs.h <<_ACEOF
10905 cat >>confdefs.h <<_ACEOF
10910 cat >>confdefs.h <<_ACEOF
10914 version_info="8:1:7"
10918 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
10919 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
10923 ### Needed information
10929 want_econnman0_7x="yes"
10938 want_econnman0_7x="no"
10946 requirement_ebluez="edbus >= 1.6.99"
10947 requirement_econnman0_7x="edbus >= 1.6.99"
10948 requirement_edbus="ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62"
10949 requirement_ehal="edbus >= 1.6.99"
10950 requirement_enotify="edbus >= 1.6.99"
10951 requirement_eofono="edbus >= 1.6.99"
10952 requirement_eukit="edbus >= 1.6.99"
10953 requirement_dbus="dbus-1 >= 0.62"
10955 ### Additional options to configure
10958 # Check whether --enable-ebluez was given.
10959 if test "${enable_ebluez+set}" = set; then :
10960 enableval=$enable_ebluez; enable_ebluez=$enableval
10962 enable_ebluez="${want_ebluez}"
10966 # Check whether --enable-econnman0_7x was given.
10967 if test "${enable_econnman0_7x+set}" = set; then :
10968 enableval=$enable_econnman0_7x; enable_econnman0_7x=$enableval
10970 enable_econnman0_7x="${want_econnman0_7x}"
10974 # Check whether --enable-ehal was given.
10975 if test "${enable_ehal+set}" = set; then :
10976 enableval=$enable_ehal; enable_ehal=$enableval
10978 enable_ehal="${want_ehal}"
10982 # Check whether --enable-enotify was given.
10983 if test "${enable_enotify+set}" = set; then :
10984 enableval=$enable_enotify; enable_enotify=$enableval
10986 enable_enotify="${want_enotify}"
10990 # Check whether --enable-eofono was given.
10991 if test "${enable_eofono+set}" = set; then :
10992 enableval=$enable_eofono; enable_eofono=$enableval
10994 enable_eofono="${want_eofono}"
10998 # Check whether --enable-eukit was given.
10999 if test "${enable_eukit+set}" = set; then :
11000 enableval=$enable_eukit; enable_eukit=$enableval
11002 enable_eukit="${want_eukit}"
11006 ### Checks for programs
11009 ac_cpp='$CPP $CPPFLAGS'
11010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11013 if test -n "$ac_tool_prefix"; then
11014 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11015 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11017 $as_echo_n "checking for $ac_word... " >&6; }
11018 if test "${ac_cv_prog_CC+set}" = set; then :
11019 $as_echo_n "(cached) " >&6
11021 if test -n "$CC"; then
11022 ac_cv_prog_CC="$CC" # Let the user override the test.
11024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11025 for as_dir in $PATH
11028 test -z "$as_dir" && as_dir=.
11029 for ac_exec_ext in '' $ac_executable_extensions; do
11030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11031 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11042 if test -n "$CC"; then
11043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11044 $as_echo "$CC" >&6; }
11046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11047 $as_echo "no" >&6; }
11052 if test -z "$ac_cv_prog_CC"; then
11054 # Extract the first word of "gcc", so it can be a program name with args.
11055 set dummy gcc; ac_word=$2
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11057 $as_echo_n "checking for $ac_word... " >&6; }
11058 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
11059 $as_echo_n "(cached) " >&6
11061 if test -n "$ac_ct_CC"; then
11062 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11065 for as_dir in $PATH
11068 test -z "$as_dir" && as_dir=.
11069 for ac_exec_ext in '' $ac_executable_extensions; do
11070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11071 ac_cv_prog_ac_ct_CC="gcc"
11072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11081 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11082 if test -n "$ac_ct_CC"; then
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11084 $as_echo "$ac_ct_CC" >&6; }
11086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11087 $as_echo "no" >&6; }
11090 if test "x$ac_ct_CC" = x; then
11093 case $cross_compiling:$ac_tool_warned in
11095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11096 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11097 ac_tool_warned=yes ;;
11102 CC="$ac_cv_prog_CC"
11105 if test -z "$CC"; then
11106 if test -n "$ac_tool_prefix"; then
11107 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11108 set dummy ${ac_tool_prefix}cc; ac_word=$2
11109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11110 $as_echo_n "checking for $ac_word... " >&6; }
11111 if test "${ac_cv_prog_CC+set}" = set; then :
11112 $as_echo_n "(cached) " >&6
11114 if test -n "$CC"; then
11115 ac_cv_prog_CC="$CC" # Let the user override the test.
11117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11118 for as_dir in $PATH
11121 test -z "$as_dir" && as_dir=.
11122 for ac_exec_ext in '' $ac_executable_extensions; do
11123 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11124 ac_cv_prog_CC="${ac_tool_prefix}cc"
11125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11135 if test -n "$CC"; then
11136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11137 $as_echo "$CC" >&6; }
11139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11140 $as_echo "no" >&6; }
11146 if test -z "$CC"; then
11147 # Extract the first word of "cc", so it can be a program name with args.
11148 set dummy cc; ac_word=$2
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11150 $as_echo_n "checking for $ac_word... " >&6; }
11151 if test "${ac_cv_prog_CC+set}" = set; then :
11152 $as_echo_n "(cached) " >&6
11154 if test -n "$CC"; then
11155 ac_cv_prog_CC="$CC" # Let the user override the test.
11157 ac_prog_rejected=no
11158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11159 for as_dir in $PATH
11162 test -z "$as_dir" && as_dir=.
11163 for ac_exec_ext in '' $ac_executable_extensions; do
11164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11165 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11166 ac_prog_rejected=yes
11170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11177 if test $ac_prog_rejected = yes; then
11178 # We found a bogon in the path, so make sure we never use it.
11179 set dummy $ac_cv_prog_CC
11181 if test $# != 0; then
11182 # We chose a different compiler from the bogus one.
11183 # However, it has the same basename, so the bogon will be chosen
11184 # first if we set CC to just the basename; use the full file name.
11186 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11192 if test -n "$CC"; then
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11194 $as_echo "$CC" >&6; }
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11197 $as_echo "no" >&6; }
11202 if test -z "$CC"; then
11203 if test -n "$ac_tool_prefix"; then
11204 for ac_prog in cl.exe
11206 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11207 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11209 $as_echo_n "checking for $ac_word... " >&6; }
11210 if test "${ac_cv_prog_CC+set}" = set; then :
11211 $as_echo_n "(cached) " >&6
11213 if test -n "$CC"; then
11214 ac_cv_prog_CC="$CC" # Let the user override the test.
11216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11217 for as_dir in $PATH
11220 test -z "$as_dir" && as_dir=.
11221 for ac_exec_ext in '' $ac_executable_extensions; do
11222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11223 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11234 if test -n "$CC"; then
11235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11236 $as_echo "$CC" >&6; }
11238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11239 $as_echo "no" >&6; }
11243 test -n "$CC" && break
11246 if test -z "$CC"; then
11248 for ac_prog in cl.exe
11250 # Extract the first word of "$ac_prog", so it can be a program name with args.
11251 set dummy $ac_prog; ac_word=$2
11252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11253 $as_echo_n "checking for $ac_word... " >&6; }
11254 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
11255 $as_echo_n "(cached) " >&6
11257 if test -n "$ac_ct_CC"; then
11258 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11261 for as_dir in $PATH
11264 test -z "$as_dir" && as_dir=.
11265 for ac_exec_ext in '' $ac_executable_extensions; do
11266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11267 ac_cv_prog_ac_ct_CC="$ac_prog"
11268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11277 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11278 if test -n "$ac_ct_CC"; then
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11280 $as_echo "$ac_ct_CC" >&6; }
11282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11283 $as_echo "no" >&6; }
11287 test -n "$ac_ct_CC" && break
11290 if test "x$ac_ct_CC" = x; then
11293 case $cross_compiling:$ac_tool_warned in
11295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11296 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11297 ac_tool_warned=yes ;;
11306 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11307 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11308 as_fn_error $? "no acceptable C compiler found in \$PATH
11309 See \`config.log' for more details" "$LINENO" 5 ; }
11311 # Provide some information about the compiler.
11312 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11315 for ac_option in --version -v -V -qversion; do
11316 { { ac_try="$ac_compiler $ac_option >&5"
11317 case "(($ac_try" in
11318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11319 *) ac_try_echo=$ac_try;;
11321 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11322 $as_echo "$ac_try_echo"; } >&5
11323 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11325 if test -s conftest.err; then
11327 ... rest of stderr output deleted ...
11328 10q' conftest.err >conftest.er1
11329 cat conftest.er1 >&5
11331 rm -f conftest.er1 conftest.err
11332 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11333 test $ac_status = 0; }
11336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11337 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11338 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
11339 $as_echo_n "(cached) " >&6
11341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11342 /* end confdefs.h. */
11355 if ac_fn_c_try_compile "$LINENO"; then :
11356 ac_compiler_gnu=yes
11360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11361 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11365 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11366 if test $ac_compiler_gnu = yes; then
11371 ac_test_CFLAGS=${CFLAGS+set}
11372 ac_save_CFLAGS=$CFLAGS
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11374 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11375 if test "${ac_cv_prog_cc_g+set}" = set; then :
11376 $as_echo_n "(cached) " >&6
11378 ac_save_c_werror_flag=$ac_c_werror_flag
11379 ac_c_werror_flag=yes
11382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11383 /* end confdefs.h. */
11393 if ac_fn_c_try_compile "$LINENO"; then :
11394 ac_cv_prog_cc_g=yes
11397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11398 /* end confdefs.h. */
11408 if ac_fn_c_try_compile "$LINENO"; then :
11411 ac_c_werror_flag=$ac_save_c_werror_flag
11413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11414 /* end confdefs.h. */
11424 if ac_fn_c_try_compile "$LINENO"; then :
11425 ac_cv_prog_cc_g=yes
11427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11432 ac_c_werror_flag=$ac_save_c_werror_flag
11434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11435 $as_echo "$ac_cv_prog_cc_g" >&6; }
11436 if test "$ac_test_CFLAGS" = set; then
11437 CFLAGS=$ac_save_CFLAGS
11438 elif test $ac_cv_prog_cc_g = yes; then
11439 if test "$GCC" = yes; then
11445 if test "$GCC" = yes; then
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11452 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11453 if test "${ac_cv_prog_cc_c89+set}" = set; then :
11454 $as_echo_n "(cached) " >&6
11456 ac_cv_prog_cc_c89=no
11458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11459 /* end confdefs.h. */
11460 #include <stdarg.h>
11462 #include <sys/types.h>
11463 #include <sys/stat.h>
11464 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11465 struct buf { int x; };
11466 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11467 static char *e (p, i)
11473 static char *f (char * (*g) (char **, int), char **p, ...)
11478 s = g (p, va_arg (v,int));
11483 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11484 function prototypes and stuff, but not '\xHH' hex character constants.
11485 These don't provoke an error unfortunately, instead are silently treated
11486 as 'x'. The following induces an error, until -std is added to get
11487 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11488 array size at least. It's necessary to write '\x00'==0 to get something
11489 that's true only with -std. */
11490 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11492 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11493 inside strings and character constants. */
11495 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11497 int test (int i, double x);
11498 struct s1 {int (*f) (int a);};
11499 struct s2 {int (*f) (double a);};
11500 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11506 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11511 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11512 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11514 CC="$ac_save_CC $ac_arg"
11515 if ac_fn_c_try_compile "$LINENO"; then :
11516 ac_cv_prog_cc_c89=$ac_arg
11518 rm -f core conftest.err conftest.$ac_objext
11519 test "x$ac_cv_prog_cc_c89" != "xno" && break
11521 rm -f conftest.$ac_ext
11526 case "x$ac_cv_prog_cc_c89" in
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
11529 $as_echo "none needed" >&6; } ;;
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
11532 $as_echo "unsupported" >&6; } ;;
11534 CC="$CC $ac_cv_prog_cc_c89"
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
11536 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
11538 if test "x$ac_cv_prog_cc_c89" != xno; then :
11543 ac_cpp='$CPP $CPPFLAGS'
11544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11548 depcc="$CC" am_compiler_list=
11550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11551 $as_echo_n "checking dependency style of $depcc... " >&6; }
11552 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
11553 $as_echo_n "(cached) " >&6
11555 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11556 # We make a subdir and do the tests there. Otherwise we can end up
11557 # making bogus files that we don't know about and never remove. For
11558 # instance it was reported that on HP-UX the gcc test will end up
11559 # making a dummy file named `D' -- because `-MD' means `put the output
11562 # Copy depcomp to subdir because otherwise we won't find it if we're
11563 # using a relative directory.
11564 cp "$am_depcomp" conftest.dir
11566 # We will build objects and dependencies in a subdirectory because
11567 # it helps to detect inapplicable dependency modes. For instance
11568 # both Tru64's cc and ICC support -MD to output dependencies as a
11569 # side effect of compilation, but ICC will put the dependencies in
11570 # the current directory while Tru64 will put them in the object
11574 am_cv_CC_dependencies_compiler_type=none
11575 if test "$am_compiler_list" = ""; then
11576 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11578 am__universal=false
11579 case " $depcc " in #(
11580 *\ -arch\ *\ -arch\ *) am__universal=true ;;
11583 for depmode in $am_compiler_list; do
11584 # Setup a source with many dependencies, because some compilers
11585 # like to wrap large dependency lists on column 80 (with \), and
11586 # we should not choose a depcomp mode which is confused by this.
11588 # We need to recreate these files for each test, as the compiler may
11589 # overwrite some of them when testing with obscure command lines.
11590 # This happens at least with the AIX C compiler.
11592 for i in 1 2 3 4 5 6; do
11593 echo '#include "conftst'$i'.h"' >> sub/conftest.c
11594 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11595 # Solaris 8's {/usr,}/bin/sh.
11596 touch sub/conftst$i.h
11598 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11600 # We check with `-c' and `-o' for the sake of the "dashmstdout"
11601 # mode. It turns out that the SunPro C++ compiler does not properly
11602 # handle `-M -o', and we need to detect this. Also, some Intel
11603 # versions had trouble with output in subdirs
11604 am__obj=sub/conftest.${OBJEXT-o}
11605 am__minus_obj="-o $am__obj"
11608 # This depmode causes a compiler race in universal mode.
11609 test "$am__universal" = false || continue
11612 # after this tag, mechanisms are not by side-effect, so they'll
11613 # only be used when explicitly requested
11614 if test "x$enable_dependency_tracking" = xyes; then
11620 msvisualcpp | msvcmsys)
11621 # This compiler won't grok `-c -o', but also, the minuso test has
11622 # not run yet. These depmodes are late enough in the game, and
11623 # so weak that their functioning should not be impacted.
11624 am__obj=conftest.${OBJEXT-o}
11629 if depmode=$depmode \
11630 source=sub/conftest.c object=$am__obj \
11631 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11632 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
11633 >/dev/null 2>conftest.err &&
11634 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11635 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11636 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
11637 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11638 # icc doesn't choke on unknown options, it will just issue warnings
11639 # or remarks (even with -Werror). So we grep stderr for any message
11640 # that says an option was ignored or not supported.
11641 # When given -MP, icc 7.0 and 7.1 complain thusly:
11642 # icc: Command line warning: ignoring option '-M'; no argument required
11643 # The diagnosis changed in icc 8.0:
11644 # icc: Command line remark: option '-MP' not supported
11645 if (grep 'ignoring option' conftest.err ||
11646 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11647 am_cv_CC_dependencies_compiler_type=$depmode
11654 rm -rf conftest.dir
11656 am_cv_CC_dependencies_compiler_type=none
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
11661 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
11662 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
11665 test "x$enable_dependency_tracking" != xno \
11666 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
11667 am__fastdepCC_TRUE=
11668 am__fastdepCC_FALSE='#'
11670 am__fastdepCC_TRUE='#'
11671 am__fastdepCC_FALSE=
11675 if test "x$CC" != xcc; then
11676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
11677 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
11679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
11680 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
11682 set dummy $CC; ac_cc=`$as_echo "$2" |
11683 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11684 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
11685 $as_echo_n "(cached) " >&6
11687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11688 /* end confdefs.h. */
11698 # Make sure it works both with $CC and with simple cc.
11699 # We do the test twice because some compilers refuse to overwrite an
11700 # existing .o file with -o, though they will create one.
11701 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11703 if { { case "(($ac_try" in
11704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11705 *) ac_try_echo=$ac_try;;
11707 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11708 $as_echo "$ac_try_echo"; } >&5
11709 (eval "$ac_try") 2>&5
11711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11712 test $ac_status = 0; } &&
11713 test -f conftest2.$ac_objext && { { case "(($ac_try" in
11714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11715 *) ac_try_echo=$ac_try;;
11717 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11718 $as_echo "$ac_try_echo"; } >&5
11719 (eval "$ac_try") 2>&5
11721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11722 test $ac_status = 0; };
11724 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
11725 if test "x$CC" != xcc; then
11726 # Test first that cc exists at all.
11727 if { ac_try='cc -c conftest.$ac_ext >&5'
11728 { { case "(($ac_try" in
11729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11730 *) ac_try_echo=$ac_try;;
11732 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11733 $as_echo "$ac_try_echo"; } >&5
11734 (eval "$ac_try") 2>&5
11736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11737 test $ac_status = 0; }; }; then
11738 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11740 if { { case "(($ac_try" in
11741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11742 *) ac_try_echo=$ac_try;;
11744 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11745 $as_echo "$ac_try_echo"; } >&5
11746 (eval "$ac_try") 2>&5
11748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11749 test $ac_status = 0; } &&
11750 test -f conftest2.$ac_objext && { { case "(($ac_try" in
11751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11752 *) ac_try_echo=$ac_try;;
11754 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11755 $as_echo "$ac_try_echo"; } >&5
11756 (eval "$ac_try") 2>&5
11758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11759 test $ac_status = 0; };
11764 # cc exists but doesn't like -o.
11765 eval ac_cv_prog_cc_${ac_cc}_c_o=no
11770 eval ac_cv_prog_cc_${ac_cc}_c_o=no
11772 rm -f core conftest*
11775 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
11776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11777 $as_echo "yes" >&6; }
11779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11780 $as_echo "no" >&6; }
11782 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
11786 # FIXME: we rely on the cache variable name because
11787 # there is no other way.
11789 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11790 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
11791 if test "$am_t" != yes; then
11792 # Losing compiler, so override with the script.
11793 # FIXME: It is wrong to rewrite CC.
11794 # But if we don't then we get into trouble of one sort or another.
11795 # A longer-term fix would be to have automake use am__CC in this case,
11796 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
11797 CC="$am_aux_dir/compile $CC"
11809 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11810 if test -n "$ac_tool_prefix"; then
11811 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11812 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11814 $as_echo_n "checking for $ac_word... " >&6; }
11815 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
11816 $as_echo_n "(cached) " >&6
11818 case $PKG_CONFIG in
11820 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11824 for as_dir in $PATH
11827 test -z "$as_dir" && as_dir=.
11828 for ac_exec_ext in '' $ac_executable_extensions; do
11829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11830 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11841 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11842 if test -n "$PKG_CONFIG"; then
11843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11844 $as_echo "$PKG_CONFIG" >&6; }
11846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11847 $as_echo "no" >&6; }
11852 if test -z "$ac_cv_path_PKG_CONFIG"; then
11853 ac_pt_PKG_CONFIG=$PKG_CONFIG
11854 # Extract the first word of "pkg-config", so it can be a program name with args.
11855 set dummy pkg-config; ac_word=$2
11856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11857 $as_echo_n "checking for $ac_word... " >&6; }
11858 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
11859 $as_echo_n "(cached) " >&6
11861 case $ac_pt_PKG_CONFIG in
11863 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11867 for as_dir in $PATH
11870 test -z "$as_dir" && as_dir=.
11871 for ac_exec_ext in '' $ac_executable_extensions; do
11872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11873 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11884 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11885 if test -n "$ac_pt_PKG_CONFIG"; then
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11887 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11890 $as_echo "no" >&6; }
11893 if test "x$ac_pt_PKG_CONFIG" = x; then
11896 case $cross_compiling:$ac_tool_warned in
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11899 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11900 ac_tool_warned=yes ;;
11902 PKG_CONFIG=$ac_pt_PKG_CONFIG
11905 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11909 if test -n "$PKG_CONFIG"; then
11910 _pkg_min_version=0.9.0
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11912 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11913 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11915 $as_echo "yes" >&6; }
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11918 $as_echo "no" >&6; }
11923 # Check whether pkg-config supports Requires.private
11924 if $PKG_CONFIG --atleast-pkgconfig-version 0.22 ; then
11925 pkgconfig_requires_private="Requires.private"
11927 pkgconfig_requires_private="Requires"
11931 # doxygen program for documentation building
11934 # Check whether --enable-doc was given.
11935 if test "${enable_doc+set}" = set; then :
11936 enableval=$enable_doc;
11937 if test "x${enableval}" = "xyes" ; then
11938 efl_enable_doc="yes"
11940 efl_enable_doc="no"
11944 efl_enable_doc="yes"
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
11949 $as_echo_n "checking whether to build documentation... " >&6; }
11950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
11951 $as_echo "${efl_enable_doc}" >&6; }
11953 if test "x${efl_enable_doc}" = "xyes" ; then
11956 efl_doxygen="doxygen"
11959 # Check whether --with-doxygen was given.
11960 if test "${with_doxygen+set}" = set; then :
11961 withval=$with_doxygen;
11962 efl_doxygen=${withval}
11963 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
11964 set dummy ${efl_doxygen}; ac_word=$2
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11966 $as_echo_n "checking for $ac_word... " >&6; }
11967 if test "${ac_cv_prog_efl_have_doxygen+set}" = set; then :
11968 $as_echo_n "(cached) " >&6
11970 if test -n "$efl_have_doxygen"; then
11971 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
11973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11974 for as_dir in $PATH
11977 test -z "$as_dir" && as_dir=.
11978 for ac_exec_ext in '' $ac_executable_extensions; do
11979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11980 ac_cv_prog_efl_have_doxygen="yes"
11981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11988 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
11991 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
11992 if test -n "$efl_have_doxygen"; then
11993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
11994 $as_echo "$efl_have_doxygen" >&6; }
11996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11997 $as_echo "no" >&6; }
12001 if test "x${efl_have_doxygen}" = "xno" ; then
12003 echo "The doxygen program you specified:"
12004 echo "${efl_doxygen}"
12005 echo "was not found. Please check the path and make sure "
12006 echo "the program exists and is executable."
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
12008 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
12012 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
12013 set dummy ${efl_doxygen}; ac_word=$2
12014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12015 $as_echo_n "checking for $ac_word... " >&6; }
12016 if test "${ac_cv_prog_efl_have_doxygen+set}" = set; then :
12017 $as_echo_n "(cached) " >&6
12019 if test -n "$efl_have_doxygen"; then
12020 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
12022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12023 for as_dir in $PATH
12026 test -z "$as_dir" && as_dir=.
12027 for ac_exec_ext in '' $ac_executable_extensions; do
12028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12029 ac_cv_prog_efl_have_doxygen="yes"
12030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12037 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
12040 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
12041 if test -n "$efl_have_doxygen"; then
12042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
12043 $as_echo "$efl_have_doxygen" >&6; }
12045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12046 $as_echo "no" >&6; }
12050 if test "x${efl_have_doxygen}" = "xno" ; then
12052 echo "The doxygen program was not found in your execute path."
12053 echo "You may have doxygen installed somewhere not covered by your path."
12055 echo "If this is the case make sure you have the packages installed, AND"
12056 echo "that the doxygen program is in your execute path (see your"
12057 echo "shell manual page on setting the \$PATH environment variable), OR"
12058 echo "alternatively, specify the program to use with --with-doxygen."
12059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
12060 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
12066 efl_have_doxygen="no"
12071 if ! test "x${efl_have_doxygen}" = "xyes" ; then
12072 efl_enable_doc="no"
12075 if test "x${efl_have_doxygen}" = "xyes"; then
12076 EFL_BUILD_DOC_TRUE=
12077 EFL_BUILD_DOC_FALSE='#'
12079 EFL_BUILD_DOC_TRUE='#'
12080 EFL_BUILD_DOC_FALSE=
12084 if test "x$efl_have_doxygen" = "xyes"; then :
12092 ### Checks for libraries
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
12097 $as_echo_n "checking for DBUS... " >&6; }
12099 if test -n "$DBUS_CFLAGS"; then
12100 pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
12101 elif test -n "$PKG_CONFIG"; then
12102 if test -n "$PKG_CONFIG" && \
12103 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 0.62\""; } >&5
12104 ($PKG_CONFIG --exists --print-errors "dbus-1 >= 0.62") 2>&5
12106 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12107 test $ac_status = 0; }; then
12108 pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 0.62" 2>/dev/null`
12115 if test -n "$DBUS_LIBS"; then
12116 pkg_cv_DBUS_LIBS="$DBUS_LIBS"
12117 elif test -n "$PKG_CONFIG"; then
12118 if test -n "$PKG_CONFIG" && \
12119 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 0.62\""; } >&5
12120 ($PKG_CONFIG --exists --print-errors "dbus-1 >= 0.62") 2>&5
12122 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12123 test $ac_status = 0; }; then
12124 pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 0.62" 2>/dev/null`
12134 if test $pkg_failed = yes; then
12135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12136 $as_echo "no" >&6; }
12138 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12139 _pkg_short_errors_supported=yes
12141 _pkg_short_errors_supported=no
12143 if test $_pkg_short_errors_supported = yes; then
12144 DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "dbus-1 >= 0.62" 2>&1`
12146 DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors "dbus-1 >= 0.62" 2>&1`
12148 # Put the nasty error message in config.log where it belongs
12149 echo "$DBUS_PKG_ERRORS" >&5
12151 as_fn_error $? "Package requirements (dbus-1 >= 0.62) were not met:
12155 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12156 installed software in a non-standard prefix.
12158 Alternatively, you may set the environment variables DBUS_CFLAGS
12159 and DBUS_LIBS to avoid the need to call pkg-config.
12160 See the pkg-config man page for more details." "$LINENO" 5
12161 elif test $pkg_failed = untried; then
12162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12163 $as_echo "no" >&6; }
12164 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12165 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12166 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12167 is in your PATH or set the PKG_CONFIG environment variable to the full
12168 path to pkg-config.
12170 Alternatively, you may set the environment variables DBUS_CFLAGS
12171 and DBUS_LIBS to avoid the need to call pkg-config.
12172 See the pkg-config man page for more details.
12174 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12175 See \`config.log' for more details" "$LINENO" 5 ; }
12177 DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
12178 DBUS_LIBS=$pkg_cv_DBUS_LIBS
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12180 $as_echo "yes" >&6; }
12183 dbus_libs="$DBUS_LIBS"
12184 dbus_cflags="$DBUS_CFLAGS"
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS" >&5
12190 $as_echo_n "checking for EDBUS... " >&6; }
12192 if test -n "$EDBUS_CFLAGS"; then
12193 pkg_cv_EDBUS_CFLAGS="$EDBUS_CFLAGS"
12194 elif test -n "$PKG_CONFIG"; then
12195 if test -n "$PKG_CONFIG" && \
12196 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
12197 ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
12199 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12200 test $ac_status = 0; }; then
12201 pkg_cv_EDBUS_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
12208 if test -n "$EDBUS_LIBS"; then
12209 pkg_cv_EDBUS_LIBS="$EDBUS_LIBS"
12210 elif test -n "$PKG_CONFIG"; then
12211 if test -n "$PKG_CONFIG" && \
12212 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
12213 ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
12215 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12216 test $ac_status = 0; }; then
12217 pkg_cv_EDBUS_LIBS=`$PKG_CONFIG --libs "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
12227 if test $pkg_failed = yes; then
12228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12229 $as_echo "no" >&6; }
12231 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12232 _pkg_short_errors_supported=yes
12234 _pkg_short_errors_supported=no
12236 if test $_pkg_short_errors_supported = yes; then
12237 EDBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
12239 EDBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
12241 # Put the nasty error message in config.log where it belongs
12242 echo "$EDBUS_PKG_ERRORS" >&5
12244 as_fn_error $? "Package requirements (ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62) were not met:
12248 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12249 installed software in a non-standard prefix.
12251 Alternatively, you may set the environment variables EDBUS_CFLAGS
12252 and EDBUS_LIBS to avoid the need to call pkg-config.
12253 See the pkg-config man page for more details." "$LINENO" 5
12254 elif test $pkg_failed = untried; then
12255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12256 $as_echo "no" >&6; }
12257 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12258 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12259 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12260 is in your PATH or set the PKG_CONFIG environment variable to the full
12261 path to pkg-config.
12263 Alternatively, you may set the environment variables EDBUS_CFLAGS
12264 and EDBUS_LIBS to avoid the need to call pkg-config.
12265 See the pkg-config man page for more details.
12267 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12268 See \`config.log' for more details" "$LINENO" 5 ; }
12270 EDBUS_CFLAGS=$pkg_cv_EDBUS_CFLAGS
12271 EDBUS_LIBS=$pkg_cv_EDBUS_LIBS
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12273 $as_echo "yes" >&6; }
12277 # Find out the version of DBUS we're using
12278 dbus_version=`pkg-config --modversion dbus-1`
12279 DBUS_VERSION_MAJOR=`echo $dbus_version | awk -F. '{print $1}'`
12280 DBUS_VERSION_MINOR=`echo $dbus_version | awk -F. '{print $2}'`
12281 DBUS_VERSION_MICRO=`echo $dbus_version | awk -F. '{print $3}'`
12283 if test "z$DBUS_VERSION_MAJOR" = "z" ; then
12284 DBUS_VERSION_MAJOR="0"
12287 if test "z$DBUS_VERSION_MINOR" = "z" ; then
12288 DBUS_VERSION_MINOR="0"
12291 if test "z$DBUS_VERSION_MICRO" = "z" ; then
12292 DBUS_VERSION_MICRO="0"
12295 DBUS_VERSION_CFLAGS="$DBUS_VERSION_CFLAGS -DDBUS_VERSION_MAJOR=$DBUS_VERSION_MAJOR"
12296 DBUS_VERSION_CFLAGS="$DBUS_VERSION_CFLAGS -DDBUS_VERSION_MINOR=$DBUS_VERSION_MINOR"
12297 DBUS_VERSION_CFLAGS="$DBUS_VERSION_CFLAGS -DDBUS_VERSION_MICRO=$DBUS_VERSION_MICRO"
12300 # Dependencies for the libraries
12301 if test "x${enable_enotify}" = "xyes" ; then
12304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVAS" >&5
12305 $as_echo_n "checking for EVAS... " >&6; }
12307 if test -n "$EVAS_CFLAGS"; then
12308 pkg_cv_EVAS_CFLAGS="$EVAS_CFLAGS"
12309 elif test -n "$PKG_CONFIG"; then
12310 if test -n "$PKG_CONFIG" && \
12311 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas >= 1.6.99\""; } >&5
12312 ($PKG_CONFIG --exists --print-errors "evas >= 1.6.99") 2>&5
12314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12315 test $ac_status = 0; }; then
12316 pkg_cv_EVAS_CFLAGS=`$PKG_CONFIG --cflags "evas >= 1.6.99" 2>/dev/null`
12323 if test -n "$EVAS_LIBS"; then
12324 pkg_cv_EVAS_LIBS="$EVAS_LIBS"
12325 elif test -n "$PKG_CONFIG"; then
12326 if test -n "$PKG_CONFIG" && \
12327 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas >= 1.6.99\""; } >&5
12328 ($PKG_CONFIG --exists --print-errors "evas >= 1.6.99") 2>&5
12330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12331 test $ac_status = 0; }; then
12332 pkg_cv_EVAS_LIBS=`$PKG_CONFIG --libs "evas >= 1.6.99" 2>/dev/null`
12342 if test $pkg_failed = yes; then
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12344 $as_echo "no" >&6; }
12346 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12347 _pkg_short_errors_supported=yes
12349 _pkg_short_errors_supported=no
12351 if test $_pkg_short_errors_supported = yes; then
12352 EVAS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "evas >= 1.6.99" 2>&1`
12354 EVAS_PKG_ERRORS=`$PKG_CONFIG --print-errors "evas >= 1.6.99" 2>&1`
12356 # Put the nasty error message in config.log where it belongs
12357 echo "$EVAS_PKG_ERRORS" >&5
12359 enable_enotify="no"
12360 elif test $pkg_failed = untried; then
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12362 $as_echo "no" >&6; }
12363 enable_enotify="no"
12365 EVAS_CFLAGS=$pkg_cv_EVAS_CFLAGS
12366 EVAS_LIBS=$pkg_cv_EVAS_LIBS
12367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12368 $as_echo "yes" >&6; }
12369 requirement_enotify="evas >= 1.6.99 ${requirement_enotify}"
12373 if test "x${enable_ebluez}" = "xyes"; then
12375 BUILD_EBLUEZ_FALSE='#'
12377 BUILD_EBLUEZ_TRUE='#'
12378 BUILD_EBLUEZ_FALSE=
12381 if test "x${enable_econnman0_7x}" = "xyes"; then
12382 BUILD_ECONNMAN0_7X_TRUE=
12383 BUILD_ECONNMAN0_7X_FALSE='#'
12385 BUILD_ECONNMAN0_7X_TRUE='#'
12386 BUILD_ECONNMAN0_7X_FALSE=
12389 if test "x${enable_ehal}" = "xyes"; then
12391 BUILD_EHAL_FALSE='#'
12393 BUILD_EHAL_TRUE='#'
12397 if test "x${enable_enotify}" = "xyes"; then
12398 BUILD_ENOTIFY_TRUE=
12399 BUILD_ENOTIFY_FALSE='#'
12401 BUILD_ENOTIFY_TRUE='#'
12402 BUILD_ENOTIFY_FALSE=
12405 if test "x${enable_eofono}" = "xyes"; then
12407 BUILD_EOFONO_FALSE='#'
12409 BUILD_EOFONO_TRUE='#'
12410 BUILD_EOFONO_FALSE=
12413 if test "x${enable_eukit}" = "xyes"; then
12415 BUILD_EUKIT_FALSE='#'
12417 BUILD_EUKIT_TRUE='#'
12422 # Dependencies for the binaries
12428 # Check whether --enable-edbus-test was given.
12429 if test "${enable_edbus_test+set}" = set; then :
12430 enableval=$enable_edbus_test;
12431 if test "x${enableval}" = "xyes" ; then
12432 have_edbus_test="yes"
12434 have_edbus_test="no"
12438 have_edbus_test="yes"
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_test binary" >&5
12443 $as_echo_n "checking whether to build edbus_test binary... " >&6; }
12444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_test" >&5
12445 $as_echo "$have_edbus_test" >&6; }
12447 if test "x$have_edbus_test" = "xyes"; then
12448 EDBUS_TEST_PRG=edbus_test${EXEEXT}
12453 if test "x$have_edbus_test" = "xyes"; then
12454 BUILD_EDBUS_TEST_TRUE=
12455 BUILD_EDBUS_TEST_FALSE='#'
12457 BUILD_EDBUS_TEST_TRUE='#'
12458 BUILD_EDBUS_TEST_FALSE=
12462 if test "x$have_edbus_test" = "xyes"; then :
12471 # Check whether --enable-edbus-test-client was given.
12472 if test "${enable_edbus_test_client+set}" = set; then :
12473 enableval=$enable_edbus_test_client;
12474 if test "x${enableval}" = "xyes" ; then
12475 have_edbus_test_client="yes"
12477 have_edbus_test_client="no"
12481 have_edbus_test_client="yes"
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_test_client binary" >&5
12486 $as_echo_n "checking whether to build edbus_test_client binary... " >&6; }
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_test_client" >&5
12488 $as_echo "$have_edbus_test_client" >&6; }
12490 if test "x$have_edbus_test_client" = "xyes"; then
12491 EDBUS_TEST_CLIENT_PRG=edbus_test_client${EXEEXT}
12496 if test "x$have_edbus_test_client" = "xyes"; then
12497 BUILD_EDBUS_TEST_CLIENT_TRUE=
12498 BUILD_EDBUS_TEST_CLIENT_FALSE='#'
12500 BUILD_EDBUS_TEST_CLIENT_TRUE='#'
12501 BUILD_EDBUS_TEST_CLIENT_FALSE=
12505 if test "x$have_edbus_test_client" = "xyes"; then :
12514 # Check whether --enable-edbus-bluez-test was given.
12515 if test "${enable_edbus_bluez_test+set}" = set; then :
12516 enableval=$enable_edbus_bluez_test;
12517 if test "x${enableval}" = "xyes" ; then
12518 have_edbus_bluez_test="yes"
12520 have_edbus_bluez_test="no"
12524 have_edbus_bluez_test=${enable_ebluez}
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_bluez_test binary" >&5
12529 $as_echo_n "checking whether to build edbus_bluez_test binary... " >&6; }
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_bluez_test" >&5
12531 $as_echo "$have_edbus_bluez_test" >&6; }
12533 if test "x$have_edbus_bluez_test" = "xyes"; then
12534 EDBUS_BLUEZ_TEST_PRG=edbus_bluez_test${EXEEXT}
12539 if test "x$have_edbus_bluez_test" = "xyes"; then
12540 BUILD_EDBUS_BLUEZ_TEST_TRUE=
12541 BUILD_EDBUS_BLUEZ_TEST_FALSE='#'
12543 BUILD_EDBUS_BLUEZ_TEST_TRUE='#'
12544 BUILD_EDBUS_BLUEZ_TEST_FALSE=
12548 if test "x$have_edbus_bluez_test" = "xyes"; then :
12557 # Check whether --enable-edbus-connman0_7x-test was given.
12558 if test "${enable_edbus_connman0_7x_test+set}" = set; then :
12559 enableval=$enable_edbus_connman0_7x_test;
12560 if test "x${enableval}" = "xyes" ; then
12561 have_edbus_connman0_7x_test="yes"
12563 have_edbus_connman0_7x_test="no"
12567 have_edbus_connman0_7x_test=${enable_econnman0_7x}
12571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_connman0_7x_test binary" >&5
12572 $as_echo_n "checking whether to build edbus_connman0_7x_test binary... " >&6; }
12573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_connman0_7x_test" >&5
12574 $as_echo "$have_edbus_connman0_7x_test" >&6; }
12576 if test "x$have_edbus_connman0_7x_test" = "xyes"; then
12577 EDBUS_CONNMAN0_7X_TEST_PRG=edbus_connman0_7x_test${EXEEXT}
12582 if test "x$have_edbus_connman0_7x_test" = "xyes"; then
12583 BUILD_EDBUS_CONNMAN0_7X_TEST_TRUE=
12584 BUILD_EDBUS_CONNMAN0_7X_TEST_FALSE='#'
12586 BUILD_EDBUS_CONNMAN0_7X_TEST_TRUE='#'
12587 BUILD_EDBUS_CONNMAN0_7X_TEST_FALSE=
12591 if test "x$have_edbus_connman0_7x_test" = "xyes"; then :
12600 # Check whether --enable-edbus-notification-daemon-test was given.
12601 if test "${enable_edbus_notification_daemon_test+set}" = set; then :
12602 enableval=$enable_edbus_notification_daemon_test;
12603 if test "x${enableval}" = "xyes" ; then
12604 have_edbus_notification_daemon_test="yes"
12606 have_edbus_notification_daemon_test="no"
12610 have_edbus_notification_daemon_test=${enable_enotify}
12614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_notification_daemon_test binary" >&5
12615 $as_echo_n "checking whether to build edbus_notification_daemon_test binary... " >&6; }
12616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_notification_daemon_test" >&5
12617 $as_echo "$have_edbus_notification_daemon_test" >&6; }
12619 if test "x$have_edbus_notification_daemon_test" = "xyes"; then
12620 EDBUS_NOTIFICATION_DAEMON_TEST_PRG=edbus_notification_daemon_test${EXEEXT}
12625 if test "x$have_edbus_notification_daemon_test" = "xyes"; then
12626 BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_TRUE=
12627 BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_FALSE='#'
12629 BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_TRUE='#'
12630 BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_FALSE=
12634 if test "x$have_edbus_notification_daemon_test" = "xyes"; then :
12643 # Check whether --enable-edbus-notify-send was given.
12644 if test "${enable_edbus_notify_send+set}" = set; then :
12645 enableval=$enable_edbus_notify_send;
12646 if test "x${enableval}" = "xyes" ; then
12647 have_edbus_notify_send="yes"
12649 have_edbus_notify_send="no"
12653 have_edbus_notify_send=${enable_enotify}
12657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_notify_send binary" >&5
12658 $as_echo_n "checking whether to build edbus_notify_send binary... " >&6; }
12659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_notify_send" >&5
12660 $as_echo "$have_edbus_notify_send" >&6; }
12662 if test "x$have_edbus_notify_send" = "xyes"; then
12663 EDBUS_NOTIFY_SEND_PRG=edbus_notify_send${EXEEXT}
12668 if test "x$have_edbus_notify_send" = "xyes"; then
12669 BUILD_EDBUS_NOTIFY_SEND_TRUE=
12670 BUILD_EDBUS_NOTIFY_SEND_FALSE='#'
12672 BUILD_EDBUS_NOTIFY_SEND_TRUE='#'
12673 BUILD_EDBUS_NOTIFY_SEND_FALSE=
12677 if test "x$have_edbus_notify_send" = "xyes"; then :
12686 # Check whether --enable-edbus-notify-test was given.
12687 if test "${enable_edbus_notify_test+set}" = set; then :
12688 enableval=$enable_edbus_notify_test;
12689 if test "x${enableval}" = "xyes" ; then
12690 have_edbus_notify_test="yes"
12692 have_edbus_notify_test="no"
12696 have_edbus_notify_test=${enable_enotify}
12700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_notify_test binary" >&5
12701 $as_echo_n "checking whether to build edbus_notify_test binary... " >&6; }
12702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_notify_test" >&5
12703 $as_echo "$have_edbus_notify_test" >&6; }
12705 if test "x$have_edbus_notify_test" = "xyes"; then
12706 EDBUS_NOTIFY_TEST_PRG=edbus_notify_test${EXEEXT}
12711 if test "x$have_edbus_notify_test" = "xyes"; then
12712 BUILD_EDBUS_NOTIFY_TEST_TRUE=
12713 BUILD_EDBUS_NOTIFY_TEST_FALSE='#'
12715 BUILD_EDBUS_NOTIFY_TEST_TRUE='#'
12716 BUILD_EDBUS_NOTIFY_TEST_FALSE=
12720 if test "x$have_edbus_notify_test" = "xyes"; then :
12729 # Check whether --enable-edbus-ofono-test was given.
12730 if test "${enable_edbus_ofono_test+set}" = set; then :
12731 enableval=$enable_edbus_ofono_test;
12732 if test "x${enableval}" = "xyes" ; then
12733 have_edbus_ofono_test="yes"
12735 have_edbus_ofono_test="no"
12739 have_edbus_ofono_test=${enable_eofono}
12743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_ofono_test binary" >&5
12744 $as_echo_n "checking whether to build edbus_ofono_test binary... " >&6; }
12745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_ofono_test" >&5
12746 $as_echo "$have_edbus_ofono_test" >&6; }
12748 if test "x$have_edbus_ofono_test" = "xyes"; then
12749 EDBUS_OFONO_TEST_PRG=edbus_ofono_test${EXEEXT}
12754 if test "x$have_edbus_ofono_test" = "xyes"; then
12755 BUILD_EDBUS_OFONO_TEST_TRUE=
12756 BUILD_EDBUS_OFONO_TEST_FALSE='#'
12758 BUILD_EDBUS_OFONO_TEST_TRUE='#'
12759 BUILD_EDBUS_OFONO_TEST_FALSE=
12763 if test "x$have_edbus_ofono_test" = "xyes"; then :
12772 # Check whether --enable-edbus-ukit-test was given.
12773 if test "${enable_edbus_ukit_test+set}" = set; then :
12774 enableval=$enable_edbus_ukit_test;
12775 if test "x${enableval}" = "xyes" ; then
12776 have_edbus_ukit_test="yes"
12778 have_edbus_ukit_test="no"
12782 have_edbus_ukit_test=${enable_eukit}
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_ukit_test binary" >&5
12787 $as_echo_n "checking whether to build edbus_ukit_test binary... " >&6; }
12788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_ukit_test" >&5
12789 $as_echo "$have_edbus_ukit_test" >&6; }
12791 if test "x$have_edbus_ukit_test" = "xyes"; then
12792 EDBUS_UKIT_TEST_PRG=edbus_ukit_test${EXEEXT}
12797 if test "x$have_edbus_ukit_test" = "xyes"; then
12798 BUILD_EDBUS_UKIT_TEST_TRUE=
12799 BUILD_EDBUS_UKIT_TEST_FALSE='#'
12801 BUILD_EDBUS_UKIT_TEST_TRUE='#'
12802 BUILD_EDBUS_UKIT_TEST_FALSE=
12806 if test "x$have_edbus_ukit_test" = "xyes"; then :
12815 # Check whether --enable-edbus-performance-test was given.
12816 if test "${enable_edbus_performance_test+set}" = set; then :
12817 enableval=$enable_edbus_performance_test;
12818 if test "x${enableval}" = "xyes" ; then
12819 have_edbus_performance_test="yes"
12821 have_edbus_performance_test="no"
12825 have_edbus_performance_test="no"
12829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_performance_test binary" >&5
12830 $as_echo_n "checking whether to build edbus_performance_test binary... " >&6; }
12831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_performance_test" >&5
12832 $as_echo "$have_edbus_performance_test" >&6; }
12834 if test "x$have_edbus_performance_test" = "xyes"; then
12835 EDBUS_PERFORMANCE_TEST_PRG=edbus_performance_test${EXEEXT}
12840 if test "x$have_edbus_performance_test" = "xyes"; then
12841 BUILD_EDBUS_PERFORMANCE_TEST_TRUE=
12842 BUILD_EDBUS_PERFORMANCE_TEST_FALSE='#'
12844 BUILD_EDBUS_PERFORMANCE_TEST_TRUE='#'
12845 BUILD_EDBUS_PERFORMANCE_TEST_FALSE=
12849 if test "x$have_edbus_performance_test" = "xyes"; then :
12858 # Check whether --enable-edbus-async-test was given.
12859 if test "${enable_edbus_async_test+set}" = set; then :
12860 enableval=$enable_edbus_async_test;
12861 if test "x${enableval}" = "xyes" ; then
12862 have_edbus_async_test="yes"
12864 have_edbus_async_test="no"
12868 have_edbus_async_test="yes"
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edbus_async_test binary" >&5
12873 $as_echo_n "checking whether to build edbus_async_test binary... " >&6; }
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edbus_async_test" >&5
12875 $as_echo "$have_edbus_async_test" >&6; }
12877 if test "x$have_edbus_async_test" = "xyes"; then
12878 EDBUS_ASYNC_TEST_PRG=edbus_async_test${EXEEXT}
12883 if test "x$have_edbus_async_test" = "xyes"; then
12884 BUILD_EDBUS_ASYNC_TEST_TRUE=
12885 BUILD_EDBUS_ASYNC_TEST_FALSE='#'
12887 BUILD_EDBUS_ASYNC_TEST_TRUE='#'
12888 BUILD_EDBUS_ASYNC_TEST_FALSE=
12892 if test "x$have_edbus_async_test" = "xyes"; then :
12898 if test "x${have_edbus_test}" = "xyes" ; then
12901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_TEST" >&5
12902 $as_echo_n "checking for EDBUS_TEST... " >&6; }
12904 if test -n "$EDBUS_TEST_CFLAGS"; then
12905 pkg_cv_EDBUS_TEST_CFLAGS="$EDBUS_TEST_CFLAGS"
12906 elif test -n "$PKG_CONFIG"; then
12907 if test -n "$PKG_CONFIG" && \
12908 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 dbus-1 >= 0.62\""; } >&5
12909 ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 dbus-1 >= 0.62") 2>&5
12911 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12912 test $ac_status = 0; }; then
12913 pkg_cv_EDBUS_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
12920 if test -n "$EDBUS_TEST_LIBS"; then
12921 pkg_cv_EDBUS_TEST_LIBS="$EDBUS_TEST_LIBS"
12922 elif test -n "$PKG_CONFIG"; then
12923 if test -n "$PKG_CONFIG" && \
12924 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 dbus-1 >= 0.62\""; } >&5
12925 ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 dbus-1 >= 0.62") 2>&5
12927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12928 test $ac_status = 0; }; then
12929 pkg_cv_EDBUS_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
12939 if test $pkg_failed = yes; then
12940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12941 $as_echo "no" >&6; }
12943 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12944 _pkg_short_errors_supported=yes
12946 _pkg_short_errors_supported=no
12948 if test $_pkg_short_errors_supported = yes; then
12949 EDBUS_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.6.99 dbus-1 >= 0.62" 2>&1`
12951 EDBUS_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.6.99 dbus-1 >= 0.62" 2>&1`
12953 # Put the nasty error message in config.log where it belongs
12954 echo "$EDBUS_TEST_PKG_ERRORS" >&5
12956 have_edbus_test="no"
12957 elif test $pkg_failed = untried; then
12958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12959 $as_echo "no" >&6; }
12960 have_edbus_test="no"
12962 EDBUS_TEST_CFLAGS=$pkg_cv_EDBUS_TEST_CFLAGS
12963 EDBUS_TEST_LIBS=$pkg_cv_EDBUS_TEST_LIBS
12964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12965 $as_echo "yes" >&6; }
12966 have_edbus_test="yes"
12970 if test "x${have_edbus_test_client}" = "xyes" ; then
12973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_TEST_CLIENT" >&5
12974 $as_echo_n "checking for EDBUS_TEST_CLIENT... " >&6; }
12976 if test -n "$EDBUS_TEST_CLIENT_CFLAGS"; then
12977 pkg_cv_EDBUS_TEST_CLIENT_CFLAGS="$EDBUS_TEST_CLIENT_CFLAGS"
12978 elif test -n "$PKG_CONFIG"; then
12979 if test -n "$PKG_CONFIG" && \
12980 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 dbus-1 >= 0.62\""; } >&5
12981 ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 dbus-1 >= 0.62") 2>&5
12983 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12984 test $ac_status = 0; }; then
12985 pkg_cv_EDBUS_TEST_CLIENT_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
12992 if test -n "$EDBUS_TEST_CLIENT_LIBS"; then
12993 pkg_cv_EDBUS_TEST_CLIENT_LIBS="$EDBUS_TEST_CLIENT_LIBS"
12994 elif test -n "$PKG_CONFIG"; then
12995 if test -n "$PKG_CONFIG" && \
12996 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 dbus-1 >= 0.62\""; } >&5
12997 ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 dbus-1 >= 0.62") 2>&5
12999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13000 test $ac_status = 0; }; then
13001 pkg_cv_EDBUS_TEST_CLIENT_LIBS=`$PKG_CONFIG --libs "ecore >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
13011 if test $pkg_failed = yes; then
13012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13013 $as_echo "no" >&6; }
13015 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13016 _pkg_short_errors_supported=yes
13018 _pkg_short_errors_supported=no
13020 if test $_pkg_short_errors_supported = yes; then
13021 EDBUS_TEST_CLIENT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.6.99 dbus-1 >= 0.62" 2>&1`
13023 EDBUS_TEST_CLIENT_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.6.99 dbus-1 >= 0.62" 2>&1`
13025 # Put the nasty error message in config.log where it belongs
13026 echo "$EDBUS_TEST_CLIENT_PKG_ERRORS" >&5
13028 have_edbus_test_client="no"
13029 elif test $pkg_failed = untried; then
13030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13031 $as_echo "no" >&6; }
13032 have_edbus_test_client="no"
13034 EDBUS_TEST_CLIENT_CFLAGS=$pkg_cv_EDBUS_TEST_CLIENT_CFLAGS
13035 EDBUS_TEST_CLIENT_LIBS=$pkg_cv_EDBUS_TEST_CLIENT_LIBS
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13037 $as_echo "yes" >&6; }
13038 have_edbus_test_client="yes"
13042 if test "x${have_edbus_bluez_test}" = "xyes" ; then
13045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_BLUEZ_TEST" >&5
13046 $as_echo_n "checking for EDBUS_BLUEZ_TEST... " >&6; }
13048 if test -n "$EDBUS_BLUEZ_TEST_CFLAGS"; then
13049 pkg_cv_EDBUS_BLUEZ_TEST_CFLAGS="$EDBUS_BLUEZ_TEST_CFLAGS"
13050 elif test -n "$PKG_CONFIG"; then
13051 if test -n "$PKG_CONFIG" && \
13052 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
13053 ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
13055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13056 test $ac_status = 0; }; then
13057 pkg_cv_EDBUS_BLUEZ_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
13064 if test -n "$EDBUS_BLUEZ_TEST_LIBS"; then
13065 pkg_cv_EDBUS_BLUEZ_TEST_LIBS="$EDBUS_BLUEZ_TEST_LIBS"
13066 elif test -n "$PKG_CONFIG"; then
13067 if test -n "$PKG_CONFIG" && \
13068 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
13069 ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
13071 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13072 test $ac_status = 0; }; then
13073 pkg_cv_EDBUS_BLUEZ_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
13083 if test $pkg_failed = yes; then
13084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13085 $as_echo "no" >&6; }
13087 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13088 _pkg_short_errors_supported=yes
13090 _pkg_short_errors_supported=no
13092 if test $_pkg_short_errors_supported = yes; then
13093 EDBUS_BLUEZ_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
13095 EDBUS_BLUEZ_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
13097 # Put the nasty error message in config.log where it belongs
13098 echo "$EDBUS_BLUEZ_TEST_PKG_ERRORS" >&5
13100 have_edbus_bluez_test="no"
13101 elif test $pkg_failed = untried; then
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13103 $as_echo "no" >&6; }
13104 have_edbus_bluez_test="no"
13106 EDBUS_BLUEZ_TEST_CFLAGS=$pkg_cv_EDBUS_BLUEZ_TEST_CFLAGS
13107 EDBUS_BLUEZ_TEST_LIBS=$pkg_cv_EDBUS_BLUEZ_TEST_LIBS
13108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13109 $as_echo "yes" >&6; }
13110 have_edbus_bluez_test="yes"
13114 if test "x${have_edbus_connman0_7x_test}" = "xyes" ; then
13117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_CONNMAN0_7X_TEST" >&5
13118 $as_echo_n "checking for EDBUS_CONNMAN0_7X_TEST... " >&6; }
13120 if test -n "$EDBUS_CONNMAN0_7X_TEST_CFLAGS"; then
13121 pkg_cv_EDBUS_CONNMAN0_7X_TEST_CFLAGS="$EDBUS_CONNMAN0_7X_TEST_CFLAGS"
13122 elif test -n "$PKG_CONFIG"; then
13123 if test -n "$PKG_CONFIG" && \
13124 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
13125 ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
13127 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13128 test $ac_status = 0; }; then
13129 pkg_cv_EDBUS_CONNMAN0_7X_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
13136 if test -n "$EDBUS_CONNMAN0_7X_TEST_LIBS"; then
13137 pkg_cv_EDBUS_CONNMAN0_7X_TEST_LIBS="$EDBUS_CONNMAN0_7X_TEST_LIBS"
13138 elif test -n "$PKG_CONFIG"; then
13139 if test -n "$PKG_CONFIG" && \
13140 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
13141 ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
13143 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13144 test $ac_status = 0; }; then
13145 pkg_cv_EDBUS_CONNMAN0_7X_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
13155 if test $pkg_failed = yes; then
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13157 $as_echo "no" >&6; }
13159 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13160 _pkg_short_errors_supported=yes
13162 _pkg_short_errors_supported=no
13164 if test $_pkg_short_errors_supported = yes; then
13165 EDBUS_CONNMAN0_7X_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
13167 EDBUS_CONNMAN0_7X_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
13169 # Put the nasty error message in config.log where it belongs
13170 echo "$EDBUS_CONNMAN0_7X_TEST_PKG_ERRORS" >&5
13172 have_edbus_connman0_7x_test="no"
13173 elif test $pkg_failed = untried; then
13174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13175 $as_echo "no" >&6; }
13176 have_edbus_connman0_7x_test="no"
13178 EDBUS_CONNMAN0_7X_TEST_CFLAGS=$pkg_cv_EDBUS_CONNMAN0_7X_TEST_CFLAGS
13179 EDBUS_CONNMAN0_7X_TEST_LIBS=$pkg_cv_EDBUS_CONNMAN0_7X_TEST_LIBS
13180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13181 $as_echo "yes" >&6; }
13182 have_edbus_connman0_7x_test="yes"
13186 if test "x${have_edbus_notification_daemon_test}" = "xyes" ; then
13189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_NOTIFICATION_DAEMON_TEST" >&5
13190 $as_echo_n "checking for EDBUS_NOTIFICATION_DAEMON_TEST... " >&6; }
13192 if test -n "$EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS"; then
13193 pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS="$EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS"
13194 elif test -n "$PKG_CONFIG"; then
13195 if test -n "$PKG_CONFIG" && \
13196 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
13197 ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
13199 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13200 test $ac_status = 0; }; then
13201 pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
13208 if test -n "$EDBUS_NOTIFICATION_DAEMON_TEST_LIBS"; then
13209 pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_LIBS="$EDBUS_NOTIFICATION_DAEMON_TEST_LIBS"
13210 elif test -n "$PKG_CONFIG"; then
13211 if test -n "$PKG_CONFIG" && \
13212 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
13213 ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
13215 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13216 test $ac_status = 0; }; then
13217 pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
13227 if test $pkg_failed = yes; then
13228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13229 $as_echo "no" >&6; }
13231 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13232 _pkg_short_errors_supported=yes
13234 _pkg_short_errors_supported=no
13236 if test $_pkg_short_errors_supported = yes; then
13237 EDBUS_NOTIFICATION_DAEMON_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
13239 EDBUS_NOTIFICATION_DAEMON_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
13241 # Put the nasty error message in config.log where it belongs
13242 echo "$EDBUS_NOTIFICATION_DAEMON_TEST_PKG_ERRORS" >&5
13244 have_edbus_notification_daemon_test="no"
13245 elif test $pkg_failed = untried; then
13246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13247 $as_echo "no" >&6; }
13248 have_edbus_notification_daemon_test="no"
13250 EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS=$pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS
13251 EDBUS_NOTIFICATION_DAEMON_TEST_LIBS=$pkg_cv_EDBUS_NOTIFICATION_DAEMON_TEST_LIBS
13252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13253 $as_echo "yes" >&6; }
13254 have_edbus_notification_daemon_test="yes"
13258 if test "x${have_edbus_notify_send}" = "xyes" ; then
13261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_NOTIFY_SEND" >&5
13262 $as_echo_n "checking for EDBUS_NOTIFY_SEND... " >&6; }
13264 if test -n "$EDBUS_NOTIFY_SEND_CFLAGS"; then
13265 pkg_cv_EDBUS_NOTIFY_SEND_CFLAGS="$EDBUS_NOTIFY_SEND_CFLAGS"
13266 elif test -n "$PKG_CONFIG"; then
13267 if test -n "$PKG_CONFIG" && \
13268 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
13269 ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
13271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13272 test $ac_status = 0; }; then
13273 pkg_cv_EDBUS_NOTIFY_SEND_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
13280 if test -n "$EDBUS_NOTIFY_SEND_LIBS"; then
13281 pkg_cv_EDBUS_NOTIFY_SEND_LIBS="$EDBUS_NOTIFY_SEND_LIBS"
13282 elif test -n "$PKG_CONFIG"; then
13283 if test -n "$PKG_CONFIG" && \
13284 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
13285 ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
13287 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13288 test $ac_status = 0; }; then
13289 pkg_cv_EDBUS_NOTIFY_SEND_LIBS=`$PKG_CONFIG --libs "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
13299 if test $pkg_failed = yes; then
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13301 $as_echo "no" >&6; }
13303 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13304 _pkg_short_errors_supported=yes
13306 _pkg_short_errors_supported=no
13308 if test $_pkg_short_errors_supported = yes; then
13309 EDBUS_NOTIFY_SEND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
13311 EDBUS_NOTIFY_SEND_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
13313 # Put the nasty error message in config.log where it belongs
13314 echo "$EDBUS_NOTIFY_SEND_PKG_ERRORS" >&5
13316 have_edbus_notify_send="no"
13317 elif test $pkg_failed = untried; then
13318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13319 $as_echo "no" >&6; }
13320 have_edbus_notify_send="no"
13322 EDBUS_NOTIFY_SEND_CFLAGS=$pkg_cv_EDBUS_NOTIFY_SEND_CFLAGS
13323 EDBUS_NOTIFY_SEND_LIBS=$pkg_cv_EDBUS_NOTIFY_SEND_LIBS
13324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13325 $as_echo "yes" >&6; }
13326 have_edbus_notify_send="yes"
13330 if test "x${have_edbus_notify_test}" = "xyes" ; then
13333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_NOTIFY_TEST" >&5
13334 $as_echo_n "checking for EDBUS_NOTIFY_TEST... " >&6; }
13336 if test -n "$EDBUS_NOTIFY_TEST_CFLAGS"; then
13337 pkg_cv_EDBUS_NOTIFY_TEST_CFLAGS="$EDBUS_NOTIFY_TEST_CFLAGS"
13338 elif test -n "$PKG_CONFIG"; then
13339 if test -n "$PKG_CONFIG" && \
13340 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 ecore-evas >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
13341 ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 ecore-evas >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
13343 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13344 test $ac_status = 0; }; then
13345 pkg_cv_EDBUS_NOTIFY_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.6.99 ecore-evas >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
13352 if test -n "$EDBUS_NOTIFY_TEST_LIBS"; then
13353 pkg_cv_EDBUS_NOTIFY_TEST_LIBS="$EDBUS_NOTIFY_TEST_LIBS"
13354 elif test -n "$PKG_CONFIG"; then
13355 if test -n "$PKG_CONFIG" && \
13356 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 ecore-evas >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
13357 ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 ecore-evas >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
13359 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13360 test $ac_status = 0; }; then
13361 pkg_cv_EDBUS_NOTIFY_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.6.99 ecore-evas >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
13371 if test $pkg_failed = yes; then
13372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13373 $as_echo "no" >&6; }
13375 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13376 _pkg_short_errors_supported=yes
13378 _pkg_short_errors_supported=no
13380 if test $_pkg_short_errors_supported = yes; then
13381 EDBUS_NOTIFY_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.6.99 ecore-evas >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
13383 EDBUS_NOTIFY_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.6.99 ecore-evas >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
13385 # Put the nasty error message in config.log where it belongs
13386 echo "$EDBUS_NOTIFY_TEST_PKG_ERRORS" >&5
13388 have_edbus_notify_test="no"
13389 elif test $pkg_failed = untried; then
13390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13391 $as_echo "no" >&6; }
13392 have_edbus_notify_test="no"
13394 EDBUS_NOTIFY_TEST_CFLAGS=$pkg_cv_EDBUS_NOTIFY_TEST_CFLAGS
13395 EDBUS_NOTIFY_TEST_LIBS=$pkg_cv_EDBUS_NOTIFY_TEST_LIBS
13396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13397 $as_echo "yes" >&6; }
13398 have_edbus_notify_test="yes"
13402 if test "x${have_edbus_ofono_test}" = "xyes" ; then
13405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_OFONO_TEST" >&5
13406 $as_echo_n "checking for EDBUS_OFONO_TEST... " >&6; }
13408 if test -n "$EDBUS_OFONO_TEST_CFLAGS"; then
13409 pkg_cv_EDBUS_OFONO_TEST_CFLAGS="$EDBUS_OFONO_TEST_CFLAGS"
13410 elif test -n "$PKG_CONFIG"; then
13411 if test -n "$PKG_CONFIG" && \
13412 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
13413 ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
13415 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13416 test $ac_status = 0; }; then
13417 pkg_cv_EDBUS_OFONO_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
13424 if test -n "$EDBUS_OFONO_TEST_LIBS"; then
13425 pkg_cv_EDBUS_OFONO_TEST_LIBS="$EDBUS_OFONO_TEST_LIBS"
13426 elif test -n "$PKG_CONFIG"; then
13427 if test -n "$PKG_CONFIG" && \
13428 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
13429 ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
13431 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13432 test $ac_status = 0; }; then
13433 pkg_cv_EDBUS_OFONO_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
13443 if test $pkg_failed = yes; then
13444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13445 $as_echo "no" >&6; }
13447 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13448 _pkg_short_errors_supported=yes
13450 _pkg_short_errors_supported=no
13452 if test $_pkg_short_errors_supported = yes; then
13453 EDBUS_OFONO_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
13455 EDBUS_OFONO_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
13457 # Put the nasty error message in config.log where it belongs
13458 echo "$EDBUS_OFONO_TEST_PKG_ERRORS" >&5
13460 have_edbus_ofono_test="no"
13461 elif test $pkg_failed = untried; then
13462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13463 $as_echo "no" >&6; }
13464 have_edbus_ofono_test="no"
13466 EDBUS_OFONO_TEST_CFLAGS=$pkg_cv_EDBUS_OFONO_TEST_CFLAGS
13467 EDBUS_OFONO_TEST_LIBS=$pkg_cv_EDBUS_OFONO_TEST_LIBS
13468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13469 $as_echo "yes" >&6; }
13470 have_edbus_ofono_test="yes"
13474 if test "x${have_edbus_ukit_test}" = "xyes" ; then
13477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_UKIT_TEST" >&5
13478 $as_echo_n "checking for EDBUS_UKIT_TEST... " >&6; }
13480 if test -n "$EDBUS_UKIT_TEST_CFLAGS"; then
13481 pkg_cv_EDBUS_UKIT_TEST_CFLAGS="$EDBUS_UKIT_TEST_CFLAGS"
13482 elif test -n "$PKG_CONFIG"; then
13483 if test -n "$PKG_CONFIG" && \
13484 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
13485 ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
13487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13488 test $ac_status = 0; }; then
13489 pkg_cv_EDBUS_UKIT_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
13496 if test -n "$EDBUS_UKIT_TEST_LIBS"; then
13497 pkg_cv_EDBUS_UKIT_TEST_LIBS="$EDBUS_UKIT_TEST_LIBS"
13498 elif test -n "$PKG_CONFIG"; then
13499 if test -n "$PKG_CONFIG" && \
13500 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62\""; } >&5
13501 ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62") 2>&5
13503 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13504 test $ac_status = 0; }; then
13505 pkg_cv_EDBUS_UKIT_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
13515 if test $pkg_failed = yes; then
13516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13517 $as_echo "no" >&6; }
13519 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13520 _pkg_short_errors_supported=yes
13522 _pkg_short_errors_supported=no
13524 if test $_pkg_short_errors_supported = yes; then
13525 EDBUS_UKIT_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
13527 EDBUS_UKIT_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62" 2>&1`
13529 # Put the nasty error message in config.log where it belongs
13530 echo "$EDBUS_UKIT_TEST_PKG_ERRORS" >&5
13532 have_edbus_ukit_test="no"
13533 elif test $pkg_failed = untried; then
13534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13535 $as_echo "no" >&6; }
13536 have_edbus_ukit_test="no"
13538 EDBUS_UKIT_TEST_CFLAGS=$pkg_cv_EDBUS_UKIT_TEST_CFLAGS
13539 EDBUS_UKIT_TEST_LIBS=$pkg_cv_EDBUS_UKIT_TEST_LIBS
13540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13541 $as_echo "yes" >&6; }
13542 have_edbus_ukit_test="yes"
13546 if test "x${have_edbus_performance_test}" = "xyes" ; then
13549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_PERFORMANCE_TEST" >&5
13550 $as_echo_n "checking for EDBUS_PERFORMANCE_TEST... " >&6; }
13552 if test -n "$EDBUS_PERFORMANCE_TEST_CFLAGS"; then
13553 pkg_cv_EDBUS_PERFORMANCE_TEST_CFLAGS="$EDBUS_PERFORMANCE_TEST_CFLAGS"
13554 elif test -n "$PKG_CONFIG"; then
13555 if test -n "$PKG_CONFIG" && \
13556 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62 ecore-evas >= 1.6.99 elementary >= 1.6.99 evas >= 1.6.99\""; } >&5
13557 ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62 ecore-evas >= 1.6.99 elementary >= 1.6.99 evas >= 1.6.99") 2>&5
13559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13560 test $ac_status = 0; }; then
13561 pkg_cv_EDBUS_PERFORMANCE_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62 ecore-evas >= 1.6.99 elementary >= 1.6.99 evas >= 1.6.99" 2>/dev/null`
13568 if test -n "$EDBUS_PERFORMANCE_TEST_LIBS"; then
13569 pkg_cv_EDBUS_PERFORMANCE_TEST_LIBS="$EDBUS_PERFORMANCE_TEST_LIBS"
13570 elif test -n "$PKG_CONFIG"; then
13571 if test -n "$PKG_CONFIG" && \
13572 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62 ecore-evas >= 1.6.99 elementary >= 1.6.99 evas >= 1.6.99\""; } >&5
13573 ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62 ecore-evas >= 1.6.99 elementary >= 1.6.99 evas >= 1.6.99") 2>&5
13575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13576 test $ac_status = 0; }; then
13577 pkg_cv_EDBUS_PERFORMANCE_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62 ecore-evas >= 1.6.99 elementary >= 1.6.99 evas >= 1.6.99" 2>/dev/null`
13587 if test $pkg_failed = yes; then
13588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13589 $as_echo "no" >&6; }
13591 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13592 _pkg_short_errors_supported=yes
13594 _pkg_short_errors_supported=no
13596 if test $_pkg_short_errors_supported = yes; then
13597 EDBUS_PERFORMANCE_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62 ecore-evas >= 1.6.99 elementary >= 1.6.99 evas >= 1.6.99" 2>&1`
13599 EDBUS_PERFORMANCE_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.6.99 eina >= 1.6.99 dbus-1 >= 0.62 ecore-evas >= 1.6.99 elementary >= 1.6.99 evas >= 1.6.99" 2>&1`
13601 # Put the nasty error message in config.log where it belongs
13602 echo "$EDBUS_PERFORMANCE_TEST_PKG_ERRORS" >&5
13604 have_edbus_performance_test="no"
13605 elif test $pkg_failed = untried; then
13606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13607 $as_echo "no" >&6; }
13608 have_edbus_performance_test="no"
13610 EDBUS_PERFORMANCE_TEST_CFLAGS=$pkg_cv_EDBUS_PERFORMANCE_TEST_CFLAGS
13611 EDBUS_PERFORMANCE_TEST_LIBS=$pkg_cv_EDBUS_PERFORMANCE_TEST_LIBS
13612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13613 $as_echo "yes" >&6; }
13614 have_edbus_performance_test="yes"
13618 if test "x${have_edbus_performance_test}" = "xyes"; then
13619 BUILD_EDBUS_PERFORMANCE_TEST_TRUE=
13620 BUILD_EDBUS_PERFORMANCE_TEST_FALSE='#'
13622 BUILD_EDBUS_PERFORMANCE_TEST_TRUE='#'
13623 BUILD_EDBUS_PERFORMANCE_TEST_FALSE=
13627 if test "x${have_edbus_async_test}" = "xyes" ; then
13630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDBUS_ASYNC_TEST" >&5
13631 $as_echo_n "checking for EDBUS_ASYNC_TEST... " >&6; }
13633 if test -n "$EDBUS_ASYNC_TEST_CFLAGS"; then
13634 pkg_cv_EDBUS_ASYNC_TEST_CFLAGS="$EDBUS_ASYNC_TEST_CFLAGS"
13635 elif test -n "$PKG_CONFIG"; then
13636 if test -n "$PKG_CONFIG" && \
13637 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 dbus-1 >= 0.62\""; } >&5
13638 ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 dbus-1 >= 0.62") 2>&5
13640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13641 test $ac_status = 0; }; then
13642 pkg_cv_EDBUS_ASYNC_TEST_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
13649 if test -n "$EDBUS_ASYNC_TEST_LIBS"; then
13650 pkg_cv_EDBUS_ASYNC_TEST_LIBS="$EDBUS_ASYNC_TEST_LIBS"
13651 elif test -n "$PKG_CONFIG"; then
13652 if test -n "$PKG_CONFIG" && \
13653 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 dbus-1 >= 0.62\""; } >&5
13654 ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 dbus-1 >= 0.62") 2>&5
13656 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13657 test $ac_status = 0; }; then
13658 pkg_cv_EDBUS_ASYNC_TEST_LIBS=`$PKG_CONFIG --libs "ecore >= 1.6.99 dbus-1 >= 0.62" 2>/dev/null`
13668 if test $pkg_failed = yes; then
13669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13670 $as_echo "no" >&6; }
13672 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13673 _pkg_short_errors_supported=yes
13675 _pkg_short_errors_supported=no
13677 if test $_pkg_short_errors_supported = yes; then
13678 EDBUS_ASYNC_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.6.99 dbus-1 >= 0.62" 2>&1`
13680 EDBUS_ASYNC_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.6.99 dbus-1 >= 0.62" 2>&1`
13682 # Put the nasty error message in config.log where it belongs
13683 echo "$EDBUS_ASYNC_TEST_PKG_ERRORS" >&5
13685 have_edbus_async_test="no"
13686 elif test $pkg_failed = untried; then
13687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13688 $as_echo "no" >&6; }
13689 have_edbus_async_test="no"
13691 EDBUS_ASYNC_TEST_CFLAGS=$pkg_cv_EDBUS_ASYNC_TEST_CFLAGS
13692 EDBUS_ASYNC_TEST_LIBS=$pkg_cv_EDBUS_ASYNC_TEST_LIBS
13693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13694 $as_echo "yes" >&6; }
13695 have_edbus_async_test="yes"
13699 ### Checks for header files
13702 ### Checks for types
13705 ### Checks for structures
13708 ### Checks for compiler characteristics
13713 EFL_EDBUS_BUILD="-DEFL_EDBUS_BUILD"
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
13719 $as_echo_n "checking for ANSI C header files... " >&6; }
13720 if test "${ac_cv_header_stdc+set}" = set; then :
13721 $as_echo_n "(cached) " >&6
13723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13724 /* end confdefs.h. */
13725 #include <stdlib.h>
13726 #include <stdarg.h>
13727 #include <string.h>
13738 if ac_fn_c_try_compile "$LINENO"; then :
13739 ac_cv_header_stdc=yes
13741 ac_cv_header_stdc=no
13743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13745 if test $ac_cv_header_stdc = yes; then
13746 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13748 /* end confdefs.h. */
13749 #include <string.h>
13752 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13753 $EGREP "memchr" >/dev/null 2>&1; then :
13756 ac_cv_header_stdc=no
13762 if test $ac_cv_header_stdc = yes; then
13763 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13765 /* end confdefs.h. */
13766 #include <stdlib.h>
13769 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13770 $EGREP "free" >/dev/null 2>&1; then :
13773 ac_cv_header_stdc=no
13779 if test $ac_cv_header_stdc = yes; then
13780 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13781 if test "$cross_compiling" = yes; then :
13784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13785 /* end confdefs.h. */
13787 #include <stdlib.h>
13788 #if ((' ' & 0x0FF) == 0x020)
13789 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13790 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13792 # define ISLOWER(c) \
13793 (('a' <= (c) && (c) <= 'i') \
13794 || ('j' <= (c) && (c) <= 'r') \
13795 || ('s' <= (c) && (c) <= 'z'))
13796 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13799 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13804 for (i = 0; i < 256; i++)
13805 if (XOR (islower (i), ISLOWER (i))
13806 || toupper (i) != TOUPPER (i))
13811 if ac_fn_c_try_run "$LINENO"; then :
13814 ac_cv_header_stdc=no
13816 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13817 conftest.$ac_objext conftest.beam conftest.$ac_ext
13822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
13823 $as_echo "$ac_cv_header_stdc" >&6; }
13824 if test $ac_cv_header_stdc = yes; then
13826 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
13832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
13833 $as_echo_n "checking for __attribute__... " >&6; }
13835 if test "${ac_cv___attribute__+set}" = set; then :
13836 $as_echo_n "(cached) " >&6
13838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13839 /* end confdefs.h. */
13841 #include <stdlib.h>
13844 int foo(int x __attribute__ ((unused)))
13857 if ac_fn_c_try_compile "$LINENO"; then :
13858 ac_cv___attribute__="yes"
13860 ac_cv___attribute__="no"
13863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
13868 $as_echo "$ac_cv___attribute__" >&6; }
13870 if test "x${ac_cv___attribute__}" = "xyes" ; then
13872 $as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
13875 $as_echo "#define __UNUSED__ __attribute__((unused))" >>confdefs.h
13879 $as_echo "#define __UNUSED__ /**/" >>confdefs.h
13885 if ! test "x${VMIC}" = "x" ; then
13888 CFLAGS_save="${CFLAGS}"
13889 CFLAGS="${CFLAGS} -Wall"
13892 ac_cpp='$CPP $CPPFLAGS'
13893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wall" >&5
13898 $as_echo_n "checking whether the compiler supports -Wall... " >&6; }
13900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13901 /* end confdefs.h. */
13911 if ac_fn_c_try_compile "$LINENO"; then :
13916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
13918 $as_echo "${have_flag}" >&6; }
13920 if test "x${have_flag}" = "xno" ; then
13921 CFLAGS="${CFLAGS_save}"
13924 ac_cpp='$CPP $CPPFLAGS'
13925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13933 CFLAGS_save="${CFLAGS}"
13934 CFLAGS="${CFLAGS} -W"
13937 ac_cpp='$CPP $CPPFLAGS'
13938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -W" >&5
13943 $as_echo_n "checking whether the compiler supports -W... " >&6; }
13945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13946 /* end confdefs.h. */
13956 if ac_fn_c_try_compile "$LINENO"; then :
13961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
13963 $as_echo "${have_flag}" >&6; }
13965 if test "x${have_flag}" = "xno" ; then
13966 CFLAGS="${CFLAGS_save}"
13969 ac_cpp='$CPP $CPPFLAGS'
13970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13980 CFLAGS_save="${CFLAGS}"
13981 CFLAGS="${CFLAGS} -Wshadow"
13984 ac_cpp='$CPP $CPPFLAGS'
13985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshadow" >&5
13990 $as_echo_n "checking whether the compiler supports -Wshadow... " >&6; }
13992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13993 /* end confdefs.h. */
14003 if ac_fn_c_try_compile "$LINENO"; then :
14008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
14010 $as_echo "${have_flag}" >&6; }
14012 if test "x${have_flag}" = "xno" ; then
14013 CFLAGS="${CFLAGS_save}"
14016 ac_cpp='$CPP $CPPFLAGS'
14017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14025 ### Checks for linker characteristics
14027 lt_enable_auto_import=""
14030 lt_enable_auto_import="-Wl,--enable-auto-import"
14036 ### Checks for library functions
14038 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
14039 # for constant arguments. Useless!
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
14041 $as_echo_n "checking for working alloca.h... " >&6; }
14042 if test "${ac_cv_working_alloca_h+set}" = set; then :
14043 $as_echo_n "(cached) " >&6
14045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14046 /* end confdefs.h. */
14047 #include <alloca.h>
14051 char *p = (char *) alloca (2 * sizeof (int));
14057 if ac_fn_c_try_link "$LINENO"; then :
14058 ac_cv_working_alloca_h=yes
14060 ac_cv_working_alloca_h=no
14062 rm -f core conftest.err conftest.$ac_objext \
14063 conftest$ac_exeext conftest.$ac_ext
14065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
14066 $as_echo "$ac_cv_working_alloca_h" >&6; }
14067 if test $ac_cv_working_alloca_h = yes; then
14069 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
14074 $as_echo_n "checking for alloca... " >&6; }
14075 if test "${ac_cv_func_alloca_works+set}" = set; then :
14076 $as_echo_n "(cached) " >&6
14078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14079 /* end confdefs.h. */
14081 # define alloca __builtin_alloca
14084 # include <malloc.h>
14085 # define alloca _alloca
14087 # ifdef HAVE_ALLOCA_H
14088 # include <alloca.h>
14093 # ifndef alloca /* predefined by HP cc +Olibcalls */
14104 char *p = (char *) alloca (1);
14110 if ac_fn_c_try_link "$LINENO"; then :
14111 ac_cv_func_alloca_works=yes
14113 ac_cv_func_alloca_works=no
14115 rm -f core conftest.err conftest.$ac_objext \
14116 conftest$ac_exeext conftest.$ac_ext
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
14119 $as_echo "$ac_cv_func_alloca_works" >&6; }
14121 if test $ac_cv_func_alloca_works = yes; then
14123 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
14126 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
14127 # that cause trouble. Some versions do not even contain alloca or
14128 # contain a buggy version. If you still want to use their alloca,
14129 # use ar to extract alloca.o from them instead of compiling alloca.c.
14131 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
14133 $as_echo "#define C_ALLOCA 1" >>confdefs.h
14136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
14137 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
14138 if test "${ac_cv_os_cray+set}" = set; then :
14139 $as_echo_n "(cached) " >&6
14141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14142 /* end confdefs.h. */
14143 #if defined CRAY && ! defined CRAY2
14150 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14151 $EGREP "webecray" >/dev/null 2>&1; then :
14159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
14160 $as_echo "$ac_cv_os_cray" >&6; }
14161 if test $ac_cv_os_cray = yes; then
14162 for ac_func in _getb67 GETB67 getb67; do
14163 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14164 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14165 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14167 cat >>confdefs.h <<_ACEOF
14168 #define CRAY_STACKSEG_END $ac_func
14177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
14178 $as_echo_n "checking stack direction for C alloca... " >&6; }
14179 if test "${ac_cv_c_stack_direction+set}" = set; then :
14180 $as_echo_n "(cached) " >&6
14182 if test "$cross_compiling" = yes; then :
14183 ac_cv_c_stack_direction=0
14185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14186 /* end confdefs.h. */
14187 $ac_includes_default
14189 find_stack_direction ()
14191 static char *addr = 0;
14196 return find_stack_direction ();
14199 return (&dummy > addr) ? 1 : -1;
14205 return find_stack_direction () < 0;
14208 if ac_fn_c_try_run "$LINENO"; then :
14209 ac_cv_c_stack_direction=1
14211 ac_cv_c_stack_direction=-1
14213 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14214 conftest.$ac_objext conftest.beam conftest.$ac_ext
14218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
14219 $as_echo "$ac_cv_c_stack_direction" >&6; }
14220 cat >>confdefs.h <<_ACEOF
14221 #define STACK_DIRECTION $ac_cv_c_stack_direction
14238 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"
14240 cat >confcache <<\_ACEOF
14241 # This file is a shell script that caches the results of configure
14242 # tests run on this system so they can be shared between configure
14243 # scripts and configure runs, see configure's option --config-cache.
14244 # It is not useful on other systems. If it contains results you don't
14245 # want to keep, you may remove or edit it.
14247 # config.status only pays attention to the cache file if you give it
14248 # the --recheck option to rerun configure.
14250 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14251 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14252 # following values.
14256 # The following way of writing the cache mishandles newlines in values,
14257 # but we know of no workaround that is simple, portable, and efficient.
14258 # So, we kill variables containing newlines.
14259 # Ultrix sh set writes to stderr and can't be redirected directly,
14260 # and sets the high bit in the cache file unless we assign to the vars.
14262 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14263 eval ac_val=\$$ac_var
14267 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14268 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14271 _ | IFS | as_nl) ;; #(
14272 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14273 *) { eval $ac_var=; unset $ac_var;} ;;
14279 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14280 *${as_nl}ac_space=\ *)
14281 # `set' does not quote correctly, so add quotes: double-quote
14282 # substitution turns \\\\ into \\, and sed turns \\ into \.
14285 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14288 # `set' quotes correctly as required by POSIX, so do not add quotes.
14289 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14298 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14300 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14302 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14303 if test -w "$cache_file"; then
14304 test "x$cache_file" != "x/dev/null" &&
14305 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14306 $as_echo "$as_me: updating cache $cache_file" >&6;}
14307 cat confcache >$cache_file
14309 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14310 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14315 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14316 # Let make expand exec_prefix.
14317 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14319 DEFS=-DHAVE_CONFIG_H
14324 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14325 # 1. Remove the extension, and $U if already installed.
14326 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14327 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14328 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14329 # will be set to the directory where LIBOBJS objects are built.
14330 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14331 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14333 LIBOBJS=$ac_libobjs
14335 LTLIBOBJS=$ac_ltlibobjs
14338 if test -n "$EXEEXT"; then
14340 am__EXEEXT_FALSE='#'
14342 am__EXEEXT_TRUE='#'
14346 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14347 as_fn_error $? "conditional \"AMDEP\" was never defined.
14348 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14350 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14351 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14352 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14354 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14355 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14356 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14358 if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
14359 as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
14360 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14362 if test -z "${BUILD_EBLUEZ_TRUE}" && test -z "${BUILD_EBLUEZ_FALSE}"; then
14363 as_fn_error $? "conditional \"BUILD_EBLUEZ\" was never defined.
14364 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14366 if test -z "${BUILD_ECONNMAN0_7X_TRUE}" && test -z "${BUILD_ECONNMAN0_7X_FALSE}"; then
14367 as_fn_error $? "conditional \"BUILD_ECONNMAN0_7X\" was never defined.
14368 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14370 if test -z "${BUILD_EHAL_TRUE}" && test -z "${BUILD_EHAL_FALSE}"; then
14371 as_fn_error $? "conditional \"BUILD_EHAL\" was never defined.
14372 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14374 if test -z "${BUILD_ENOTIFY_TRUE}" && test -z "${BUILD_ENOTIFY_FALSE}"; then
14375 as_fn_error $? "conditional \"BUILD_ENOTIFY\" was never defined.
14376 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14378 if test -z "${BUILD_EOFONO_TRUE}" && test -z "${BUILD_EOFONO_FALSE}"; then
14379 as_fn_error $? "conditional \"BUILD_EOFONO\" was never defined.
14380 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14382 if test -z "${BUILD_EUKIT_TRUE}" && test -z "${BUILD_EUKIT_FALSE}"; then
14383 as_fn_error $? "conditional \"BUILD_EUKIT\" was never defined.
14384 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14386 if test -z "${BUILD_EDBUS_TEST_TRUE}" && test -z "${BUILD_EDBUS_TEST_FALSE}"; then
14387 as_fn_error $? "conditional \"BUILD_EDBUS_TEST\" was never defined.
14388 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14390 if test -z "${BUILD_EDBUS_TEST_CLIENT_TRUE}" && test -z "${BUILD_EDBUS_TEST_CLIENT_FALSE}"; then
14391 as_fn_error $? "conditional \"BUILD_EDBUS_TEST_CLIENT\" was never defined.
14392 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14394 if test -z "${BUILD_EDBUS_BLUEZ_TEST_TRUE}" && test -z "${BUILD_EDBUS_BLUEZ_TEST_FALSE}"; then
14395 as_fn_error $? "conditional \"BUILD_EDBUS_BLUEZ_TEST\" was never defined.
14396 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14398 if test -z "${BUILD_EDBUS_CONNMAN0_7X_TEST_TRUE}" && test -z "${BUILD_EDBUS_CONNMAN0_7X_TEST_FALSE}"; then
14399 as_fn_error $? "conditional \"BUILD_EDBUS_CONNMAN0_7X_TEST\" was never defined.
14400 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14402 if test -z "${BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_TRUE}" && test -z "${BUILD_EDBUS_NOTIFICATION_DAEMON_TEST_FALSE}"; then
14403 as_fn_error $? "conditional \"BUILD_EDBUS_NOTIFICATION_DAEMON_TEST\" was never defined.
14404 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14406 if test -z "${BUILD_EDBUS_NOTIFY_SEND_TRUE}" && test -z "${BUILD_EDBUS_NOTIFY_SEND_FALSE}"; then
14407 as_fn_error $? "conditional \"BUILD_EDBUS_NOTIFY_SEND\" was never defined.
14408 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14410 if test -z "${BUILD_EDBUS_NOTIFY_TEST_TRUE}" && test -z "${BUILD_EDBUS_NOTIFY_TEST_FALSE}"; then
14411 as_fn_error $? "conditional \"BUILD_EDBUS_NOTIFY_TEST\" was never defined.
14412 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14414 if test -z "${BUILD_EDBUS_OFONO_TEST_TRUE}" && test -z "${BUILD_EDBUS_OFONO_TEST_FALSE}"; then
14415 as_fn_error $? "conditional \"BUILD_EDBUS_OFONO_TEST\" was never defined.
14416 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14418 if test -z "${BUILD_EDBUS_UKIT_TEST_TRUE}" && test -z "${BUILD_EDBUS_UKIT_TEST_FALSE}"; then
14419 as_fn_error $? "conditional \"BUILD_EDBUS_UKIT_TEST\" was never defined.
14420 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14422 if test -z "${BUILD_EDBUS_PERFORMANCE_TEST_TRUE}" && test -z "${BUILD_EDBUS_PERFORMANCE_TEST_FALSE}"; then
14423 as_fn_error $? "conditional \"BUILD_EDBUS_PERFORMANCE_TEST\" was never defined.
14424 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14426 if test -z "${BUILD_EDBUS_ASYNC_TEST_TRUE}" && test -z "${BUILD_EDBUS_ASYNC_TEST_FALSE}"; then
14427 as_fn_error $? "conditional \"BUILD_EDBUS_ASYNC_TEST\" was never defined.
14428 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14430 if test -z "${BUILD_EDBUS_PERFORMANCE_TEST_TRUE}" && test -z "${BUILD_EDBUS_PERFORMANCE_TEST_FALSE}"; then
14431 as_fn_error $? "conditional \"BUILD_EDBUS_PERFORMANCE_TEST\" was never defined.
14432 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14435 : ${CONFIG_STATUS=./config.status}
14437 ac_clean_files_save=$ac_clean_files
14438 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14439 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14440 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14442 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14444 # Generated by $as_me.
14445 # Run this file to recreate the current configuration.
14446 # Compiler output produced by configure, useful for debugging
14447 # configure, is in config.log if it exists.
14450 ac_cs_recheck=false
14453 SHELL=\${CONFIG_SHELL-$SHELL}
14456 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14457 ## -------------------- ##
14458 ## M4sh Initialization. ##
14459 ## -------------------- ##
14461 # Be more Bourne compatible
14462 DUALCASE=1; export DUALCASE # for MKS sh
14463 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14466 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14467 # is contrary to our usage. Disable this feature.
14468 alias -g '${1+"$@"}'='"$@"'
14469 setopt NO_GLOB_SUBST
14471 case `(set -o) 2>/dev/null` in #(
14483 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14484 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14485 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14486 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14487 # Prefer a ksh shell builtin over an external printf program on Solaris,
14488 # but without wasting forks for bash or zsh.
14489 if test -z "$BASH_VERSION$ZSH_VERSION" \
14490 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14491 as_echo='print -r --'
14492 as_echo_n='print -rn --'
14493 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14494 as_echo='printf %s\n'
14495 as_echo_n='printf %s'
14497 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14498 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14499 as_echo_n='/usr/ucb/echo -n'
14501 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14502 as_echo_n_body='eval
14506 expr "X$arg" : "X\\(.*\\)$as_nl";
14507 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14509 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14511 export as_echo_n_body
14512 as_echo_n='sh -c $as_echo_n_body as_echo'
14514 export as_echo_body
14515 as_echo='sh -c $as_echo_body as_echo'
14518 # The user is always right.
14519 if test "${PATH_SEPARATOR+set}" != set; then
14521 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14522 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14529 # We need space, tab and new line, in precisely that order. Quoting is
14530 # there to prevent editors from complaining about space-tab.
14531 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14532 # splitting by setting IFS to empty value.)
14535 # Find who we are. Look in the path if we contain no directory separator.
14537 *[\\/]* ) as_myself=$0 ;;
14538 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14539 for as_dir in $PATH
14542 test -z "$as_dir" && as_dir=.
14543 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14549 # We did not find ourselves, most probably we were run as `sh COMMAND'
14550 # in which case we are not to be found in the path.
14551 if test "x$as_myself" = x; then
14554 if test ! -f "$as_myself"; then
14555 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14559 # Unset variables that we do not need and which cause bugs (e.g. in
14560 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14561 # suppresses any "Segmentation fault" message there. '((' could
14562 # trigger a bug in pdksh 5.2.14.
14563 for as_var in BASH_ENV ENV MAIL MAILPATH
14564 do eval test x\${$as_var+set} = xset \
14565 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14578 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14581 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14582 # ----------------------------------------
14583 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14584 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14585 # script with STATUS, using 1 if that was 0.
14588 as_status=$1; test $as_status -eq 0 && as_status=1
14590 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14591 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14593 $as_echo "$as_me: error: $2" >&2
14594 as_fn_exit $as_status
14598 # as_fn_set_status STATUS
14599 # -----------------------
14600 # Set $? to STATUS, without forking.
14601 as_fn_set_status ()
14604 } # as_fn_set_status
14606 # as_fn_exit STATUS
14607 # -----------------
14608 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14612 as_fn_set_status $1
14618 # Portably unset VAR.
14621 { eval $1=; unset $1;}
14623 as_unset=as_fn_unset
14624 # as_fn_append VAR VALUE
14625 # ----------------------
14626 # Append the text in VALUE to the end of the definition contained in VAR. Take
14627 # advantage of any shell optimizations that allow amortized linear growth over
14628 # repeated appends, instead of the typical quadratic growth present in naive
14630 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14631 eval 'as_fn_append ()
14642 # as_fn_arith ARG...
14643 # ------------------
14644 # Perform arithmetic evaluation on the ARGs, and store the result in the
14645 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14646 # must be portable across $(()) and expr.
14647 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14648 eval 'as_fn_arith ()
14655 as_val=`expr "$@" || test $? -eq 1`
14660 if expr a : '\(a\)' >/dev/null 2>&1 &&
14661 test "X`expr 00001 : '.*\(...\)'`" = X001; then
14667 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14668 as_basename=basename
14673 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14679 as_me=`$as_basename -- "$0" ||
14680 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14681 X"$0" : 'X\(//\)$' \| \
14682 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14684 sed '/^.*\/\([^/][^/]*\)\/*$/{
14698 # Avoid depending upon Character Ranges.
14699 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14700 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14701 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14702 as_cr_digits='0123456789'
14703 as_cr_alnum=$as_cr_Letters$as_cr_digits
14705 ECHO_C= ECHO_N= ECHO_T=
14706 case `echo -n x` in #(((((
14708 case `echo 'xy\c'` in
14709 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
14711 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
14718 rm -f conf$$ conf$$.exe conf$$.file
14719 if test -d conf$$.dir; then
14720 rm -f conf$$.dir/conf$$.file
14723 mkdir conf$$.dir 2>/dev/null
14725 if (echo >conf$$.file) 2>/dev/null; then
14726 if ln -s conf$$.file conf$$ 2>/dev/null; then
14728 # ... but there are two gotchas:
14729 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14730 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14731 # In both cases, we have to default to `cp -p'.
14732 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14734 elif ln conf$$.file conf$$ 2>/dev/null; then
14742 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14743 rmdir conf$$.dir 2>/dev/null
14748 # Create "$as_dir" as a directory, including parents if necessary.
14753 -*) as_dir=./$as_dir;;
14755 test -d "$as_dir" || eval $as_mkdir_p || {
14759 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14760 *) as_qdir=$as_dir;;
14762 as_dirs="'$as_qdir' $as_dirs"
14763 as_dir=`$as_dirname -- "$as_dir" ||
14764 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14765 X"$as_dir" : 'X\(//\)[^/]' \| \
14766 X"$as_dir" : 'X\(//\)$' \| \
14767 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14768 $as_echo X"$as_dir" |
14769 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14773 /^X\(\/\/\)[^/].*/{
14786 test -d "$as_dir" && break
14788 test -z "$as_dirs" || eval "mkdir $as_dirs"
14789 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14793 if mkdir -p . 2>/dev/null; then
14794 as_mkdir_p='mkdir -p "$as_dir"'
14796 test -d ./-p && rmdir ./-p
14800 if test -x / >/dev/null 2>&1; then
14801 as_test_x='test -x'
14803 if ls -dL / >/dev/null 2>&1; then
14810 if test -d "$1"; then
14816 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14817 ???[sx]*):;;*)false;;esac;fi
14821 as_executable_p=$as_test_x
14823 # Sed expression to map a string onto a valid CPP name.
14824 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14826 # Sed expression to map a string onto a valid variable name.
14827 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14831 ## ----------------------------------- ##
14832 ## Main body of $CONFIG_STATUS script. ##
14833 ## ----------------------------------- ##
14835 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14837 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14838 # Save the log message, to keep $0 and so on meaningful, and to
14839 # report actual input values of CONFIG_FILES etc. instead of their
14840 # values after options handling.
14842 This file was extended by e_dbus $as_me 1.7.1, which was
14843 generated by GNU Autoconf 2.67. Invocation command line was
14845 CONFIG_FILES = $CONFIG_FILES
14846 CONFIG_HEADERS = $CONFIG_HEADERS
14847 CONFIG_LINKS = $CONFIG_LINKS
14848 CONFIG_COMMANDS = $CONFIG_COMMANDS
14851 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14856 case $ac_config_files in *"
14857 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14860 case $ac_config_headers in *"
14861 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14865 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14866 # Files that config.status was made for.
14867 config_files="$ac_config_files"
14868 config_headers="$ac_config_headers"
14869 config_commands="$ac_config_commands"
14873 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14875 \`$as_me' instantiates files and other configuration actions
14876 from templates according to the current configuration. Unless the files
14877 and actions are specified as TAGs, all are instantiated by default.
14879 Usage: $0 [OPTION]... [TAG]...
14881 -h, --help print this help, then exit
14882 -V, --version print version number and configuration settings, then exit
14883 --config print configuration, then exit
14884 -q, --quiet, --silent
14885 do not print progress messages
14886 -d, --debug don't remove temporary files
14887 --recheck update $as_me by reconfiguring in the same conditions
14888 --file=FILE[:TEMPLATE]
14889 instantiate the configuration file FILE
14890 --header=FILE[:TEMPLATE]
14891 instantiate the configuration header FILE
14893 Configuration files:
14896 Configuration headers:
14899 Configuration commands:
14902 Report bugs to <enlightenment-devel@lists.sourceforge.net>."
14905 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14906 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14908 e_dbus config.status 1.7.1
14909 configured by $0, generated by GNU Autoconf 2.67,
14910 with options \\"\$ac_cs_config\\"
14912 Copyright (C) 2010 Free Software Foundation, Inc.
14913 This config.status script is free software; the Free Software Foundation
14914 gives unlimited permission to copy, distribute and modify it."
14921 test -n "\$AWK" || AWK=awk
14924 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14925 # The default lists apply if the user does not specify any file.
14931 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14932 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14936 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14948 # Handling of the options.
14949 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14951 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14952 $as_echo "$ac_cs_version"; exit ;;
14953 --config | --confi | --conf | --con | --co | --c )
14954 $as_echo "$ac_cs_config"; exit ;;
14955 --debug | --debu | --deb | --de | --d | -d )
14957 --file | --fil | --fi | --f )
14960 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14961 '') as_fn_error $? "missing file argument" ;;
14963 as_fn_append CONFIG_FILES " '$ac_optarg'"
14964 ac_need_defaults=false;;
14965 --header | --heade | --head | --hea )
14968 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14970 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14971 ac_need_defaults=false;;
14973 # Conflict between --help and --header
14974 as_fn_error $? "ambiguous option: \`$1'
14975 Try \`$0 --help' for more information.";;
14976 --help | --hel | -h )
14977 $as_echo "$ac_cs_usage"; exit ;;
14978 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14979 | -silent | --silent | --silen | --sile | --sil | --si | --s)
14982 # This is an error.
14983 -*) as_fn_error $? "unrecognized option: \`$1'
14984 Try \`$0 --help' for more information." ;;
14986 *) as_fn_append ac_config_targets " $1"
14987 ac_need_defaults=false ;;
14993 ac_configure_extra_args=
14995 if $ac_cs_silent; then
14997 ac_configure_extra_args="$ac_configure_extra_args --silent"
15001 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15002 if \$ac_cs_recheck; then
15003 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15005 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15006 CONFIG_SHELL='$SHELL'
15007 export CONFIG_SHELL
15012 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15016 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15017 ## Running $as_me. ##
15023 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15027 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15030 # The HP-UX ksh and POSIX shell print the target directory to stdout
15031 # if CDPATH is set.
15032 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15034 sed_quote_subst='$sed_quote_subst'
15035 double_quote_subst='$double_quote_subst'
15036 delay_variable_subst='$delay_variable_subst'
15037 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
15038 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
15039 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
15040 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
15041 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
15042 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
15043 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
15044 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
15045 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
15046 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
15047 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
15048 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
15049 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
15050 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
15051 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
15052 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
15053 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
15054 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
15055 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
15056 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
15057 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
15058 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
15059 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
15060 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
15061 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
15062 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
15063 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
15064 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
15065 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
15066 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
15067 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15068 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
15069 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
15070 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
15071 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15072 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
15073 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
15074 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15075 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15076 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15077 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
15078 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15079 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
15080 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
15081 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
15082 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
15083 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
15084 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15085 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
15086 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
15087 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
15088 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
15089 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
15090 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
15091 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
15092 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
15093 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
15094 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
15095 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
15096 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
15097 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
15098 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
15099 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
15100 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
15101 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15102 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15103 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
15104 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
15105 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15106 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15107 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
15108 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15109 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15110 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15111 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15112 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15113 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15114 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
15115 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15116 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15117 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15118 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
15119 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
15120 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
15121 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
15122 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
15123 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15124 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
15125 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
15126 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
15127 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
15128 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
15129 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15130 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15131 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15132 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15133 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
15134 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
15135 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15136 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
15137 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
15138 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15139 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15140 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
15141 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15142 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
15143 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15144 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15145 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15146 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15147 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
15148 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
15149 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15150 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15151 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
15152 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
15153 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
15154 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
15155 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
15156 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
15159 LTCFLAGS='$LTCFLAGS'
15160 compiler='$compiler_DEFAULT'
15162 # Quote evaled strings.
15173 deplibs_check_method \
15182 lt_cv_sys_global_symbol_pipe \
15183 lt_cv_sys_global_symbol_to_cdecl \
15184 lt_cv_sys_global_symbol_to_c_name_address \
15185 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15188 lt_prog_compiler_no_builtin_flag \
15189 lt_prog_compiler_wl \
15190 lt_prog_compiler_pic \
15191 lt_prog_compiler_static \
15192 lt_cv_prog_compiler_c_o \
15200 export_dynamic_flag_spec \
15201 whole_archive_flag_spec \
15202 compiler_needs_object \
15204 allow_undefined_flag \
15205 no_undefined_flag \
15206 hardcode_libdir_flag_spec \
15207 hardcode_libdir_flag_spec_ld \
15208 hardcode_libdir_separator \
15213 variables_saved_for_relink \
15215 library_names_spec \
15220 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15221 *[\\\\\\\`\\"\\\$]*)
15222 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15225 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15230 # Double-quote double-evaled strings.
15231 for var in reload_cmds \
15232 old_postinstall_cmds \
15233 old_postuninstall_cmds \
15235 extract_expsyms_cmds \
15236 old_archive_from_new_cmds \
15237 old_archive_from_expsyms_cmds \
15239 archive_expsym_cmds \
15241 module_expsym_cmds \
15242 export_symbols_cmds \
15245 postuninstall_cmds \
15247 sys_lib_search_path_spec \
15248 sys_lib_dlsearch_path_spec; do
15249 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15250 *[\\\\\\\`\\"\\\$]*)
15251 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15254 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15259 # Fix-up fallback echo if it was mangled by the above quoting rules.
15261 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
15265 ac_aux_dir='$ac_aux_dir'
15266 xsi_shell='$xsi_shell'
15267 lt_shell_append='$lt_shell_append'
15269 # See if we are running on zsh, and set the options which allow our
15270 # commands through without removal of \ escapes INIT.
15271 if test -n "\${ZSH_VERSION+set}" ; then
15272 setopt NO_GLOB_SUBST
15278 TIMESTAMP='$TIMESTAMP'
15287 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15289 # Handling of arguments.
15290 for ac_config_target in $ac_config_targets
15292 case $ac_config_target in
15293 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15294 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15295 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15296 "e_dbus.spec") CONFIG_FILES="$CONFIG_FILES e_dbus.spec" ;;
15297 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15298 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
15299 "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
15300 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15301 "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
15302 "src/lib/bluez/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/bluez/Makefile" ;;
15303 "src/lib/connman0_7x/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/connman0_7x/Makefile" ;;
15304 "src/lib/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/dbus/Makefile" ;;
15305 "src/lib/hal/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/hal/Makefile" ;;
15306 "src/lib/notification/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/notification/Makefile" ;;
15307 "src/lib/ofono/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ofono/Makefile" ;;
15308 "src/lib/ukit/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ukit/Makefile" ;;
15309 "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
15310 "ebluez.pc") CONFIG_FILES="$CONFIG_FILES ebluez.pc" ;;
15311 "econnman-0.7x.pc") CONFIG_FILES="$CONFIG_FILES econnman-0.7x.pc" ;;
15312 "edbus.pc") CONFIG_FILES="$CONFIG_FILES edbus.pc" ;;
15313 "ehal.pc") CONFIG_FILES="$CONFIG_FILES ehal.pc" ;;
15314 "enotify.pc") CONFIG_FILES="$CONFIG_FILES enotify.pc" ;;
15315 "eofono.pc") CONFIG_FILES="$CONFIG_FILES eofono.pc" ;;
15316 "eukit.pc") CONFIG_FILES="$CONFIG_FILES eukit.pc" ;;
15318 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
15323 # If the user did not use the arguments to specify the items to instantiate,
15324 # then the envvar interface is used. Set only those that are not.
15325 # We use the long form for the default assignment because of an extremely
15326 # bizarre bug on SunOS 4.1.3.
15327 if $ac_need_defaults; then
15328 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15329 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15330 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15333 # Have a temporary directory for convenience. Make it in the build tree
15334 # simply because there is no reason against having it here, and in addition,
15335 # creating and moving files from /tmp can sometimes cause problems.
15336 # Hook for its removal unless debugging.
15337 # Note that there is a small window in which the directory will not be cleaned:
15338 # after its creation but before its name has been assigned to `$tmp'.
15342 trap 'exit_status=$?
15343 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15345 trap 'as_fn_exit 1' 1 2 13 15
15347 # Create a (secure) tmp directory for tmp files.
15350 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15351 test -n "$tmp" && test -d "$tmp"
15354 tmp=./conf$$-$RANDOM
15355 (umask 077 && mkdir "$tmp")
15356 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15358 # Set up the scripts for CONFIG_FILES section.
15359 # No need to generate them if there are no CONFIG_FILES.
15360 # This happens for instance with `./config.status config.h'.
15361 if test -n "$CONFIG_FILES"; then
15364 ac_cr=`echo X | tr X '\015'`
15365 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15366 # But we know of no other shell where ac_cr would be empty at this
15367 # point, so we can use a bashism as a fallback.
15368 if test "x$ac_cr" = x; then
15369 eval ac_cr=\$\'\\r\'
15371 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15372 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15375 ac_cs_awk_cr=$ac_cr
15378 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15383 echo "cat >conf$$subs.awk <<_ACEOF" &&
15384 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15386 } >conf$$subs.sh ||
15387 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15388 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15390 for ac_last_try in false false false false false :; do
15391 . ./conf$$subs.sh ||
15392 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15394 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15395 if test $ac_delim_n = $ac_delim_num; then
15397 elif $ac_last_try; then
15398 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15400 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15403 rm -f conf$$subs.sh
15405 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15406 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
15410 s/^/S["/; s/!.*/"]=/
15420 s/\(.\{148\}\)..*/\1/
15422 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15427 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15434 s/\(.\{148\}\)..*/\1/
15436 s/["\\]/\\&/g; s/^/"/; s/$/"/
15440 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15445 ' <conf$$subs.awk | sed '
15450 ' >>$CONFIG_STATUS || ac_write_fail=1
15451 rm -f conf$$subs.awk
15452 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15454 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
15455 for (key in S) S_is_set[key] = 1
15461 nfields = split(line, field, "@")
15463 len = length(field[1])
15464 for (i = 2; i < nfields; i++) {
15466 keylen = length(key)
15467 if (S_is_set[key]) {
15469 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15470 len += length(value) + length(field[++i])
15481 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15482 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15483 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15486 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15487 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15490 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15491 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15492 # trailing colons and then remove the whole line if VPATH becomes empty
15493 # (actually we leave an empty line to preserve line numbers).
15494 if test "x$srcdir" = x.; then
15495 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15513 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15514 fi # test -n "$CONFIG_FILES"
15516 # Set up the scripts for CONFIG_HEADERS section.
15517 # No need to generate them if there are no CONFIG_HEADERS.
15518 # This happens for instance with `./config.status Makefile'.
15519 if test -n "$CONFIG_HEADERS"; then
15520 cat >"$tmp/defines.awk" <<\_ACAWK ||
15524 # Transform confdefs.h into an awk script `defines.awk', embedded as
15525 # here-document in config.status, that substitutes the proper values into
15526 # config.h.in to produce config.h.
15528 # Create a delimiter string that does not exist in confdefs.h, to ease
15529 # handling of long lines.
15531 for ac_last_try in false false :; do
15532 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
15533 if test -z "$ac_t"; then
15535 elif $ac_last_try; then
15536 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15538 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15542 # For the awk script, D is an array of macro values keyed by name,
15543 # likewise P contains macro parameters if any. Preserve backslash
15544 # newline sequences.
15546 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15548 s/.\{148\}/&'"$ac_delim"'/g
15551 s/^[ ]*#[ ]*define[ ][ ]*/ /
15558 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15560 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
15564 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15565 D["\1"]=" \3\\\\\\n"\\/p
15567 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15572 s/.\{148\}/&'"$ac_delim"'/g
15577 s/["\\]/\\&/g; s/^/"/; s/$/"/p
15580 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15582 ' <confdefs.h | sed '
15583 s/'"$ac_delim"'/"\\\
15584 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15586 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15587 for (key in D) D_is_set[key] = 1
15590 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15592 split(line, arg, " ")
15593 if (arg[1] == "#") {
15597 defundef = substr(arg[1], 2)
15600 split(mac1, mac2, "(") #)
15602 prefix = substr(line, 1, index(line, defundef) - 1)
15603 if (D_is_set[macro]) {
15604 # Preserve the white space surrounding the "#".
15605 print prefix "define", macro P[macro] D[macro]
15608 # Replace #undef with comments. This is necessary, for example,
15609 # in the case of _POSIX_SOURCE, which is predefined and required
15610 # on some systems where configure will not decide to define it.
15611 if (defundef == "undef") {
15612 print "/*", prefix defundef, macro, "*/"
15620 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15621 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15622 fi # test -n "$CONFIG_HEADERS"
15625 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15630 :[FHLC]) ac_mode=$ac_tag; continue;;
15632 case $ac_mode$ac_tag in
15634 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
15635 :[FH]-) ac_tag=-:-;;
15636 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15653 -) ac_f="$tmp/stdin";;
15654 *) # Look for the file first in the build tree, then in the source tree
15655 # (if the path is not absolute). The absolute path cannot be DOS-style,
15656 # because $ac_f cannot contain `:'.
15660 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15662 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
15664 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15665 as_fn_append ac_file_inputs " '$ac_f'"
15668 # Let's still pretend it is `configure' which instantiates (i.e., don't
15669 # use $as_me), people would be surprised to read:
15670 # /* config.h. Generated by config.status. */
15671 configure_input='Generated from '`
15672 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15674 if test x"$ac_file" != x-; then
15675 configure_input="$ac_file. $configure_input"
15676 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15677 $as_echo "$as_me: creating $ac_file" >&6;}
15679 # Neutralize special characters interpreted by sed in replacement strings.
15680 case $configure_input in #(
15681 *\&* | *\|* | *\\* )
15682 ac_sed_conf_input=`$as_echo "$configure_input" |
15683 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15684 *) ac_sed_conf_input=$configure_input;;
15688 *:-:* | *:-) cat >"$tmp/stdin" \
15689 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15694 ac_dir=`$as_dirname -- "$ac_file" ||
15695 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15696 X"$ac_file" : 'X\(//\)[^/]' \| \
15697 X"$ac_file" : 'X\(//\)$' \| \
15698 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15699 $as_echo X"$ac_file" |
15700 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15704 /^X\(\/\/\)[^/].*/{
15717 as_dir="$ac_dir"; as_fn_mkdir_p
15721 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15723 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15724 # A ".." for each directory in $ac_dir_suffix.
15725 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15726 case $ac_top_builddir_sub in
15727 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15728 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15731 ac_abs_top_builddir=$ac_pwd
15732 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15733 # for backward compatibility:
15734 ac_top_builddir=$ac_top_build_prefix
15737 .) # We are building in place.
15739 ac_top_srcdir=$ac_top_builddir_sub
15740 ac_abs_top_srcdir=$ac_pwd ;;
15741 [\\/]* | ?:[\\/]* ) # Absolute name.
15742 ac_srcdir=$srcdir$ac_dir_suffix;
15743 ac_top_srcdir=$srcdir
15744 ac_abs_top_srcdir=$srcdir ;;
15745 *) # Relative name.
15746 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15747 ac_top_srcdir=$ac_top_build_prefix$srcdir
15748 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15750 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15760 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15761 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15763 ac_MKDIR_P=$MKDIR_P
15765 [\\/$]* | ?:[\\/]* ) ;;
15766 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15770 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15771 # If the template does not know about datarootdir, expand it.
15772 # FIXME: This hack should be removed a few years after 2.60.
15773 ac_datarootdir_hack=; ac_datarootdir_seen=
15784 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15785 *datarootdir*) ac_datarootdir_seen=yes;;
15786 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15788 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15790 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15791 ac_datarootdir_hack='
15792 s&@datadir@&$datadir&g
15793 s&@docdir@&$docdir&g
15794 s&@infodir@&$infodir&g
15795 s&@localedir@&$localedir&g
15796 s&@mandir@&$mandir&g
15797 s&\\\${datarootdir}&$datarootdir&g' ;;
15801 # Neutralize VPATH when `$srcdir' = `.'.
15802 # Shell code in configure.ac might set extrasub.
15803 # FIXME: do we really want to maintain this feature?
15804 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15805 ac_sed_extra="$ac_vpsub
15808 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15810 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15811 s|@configure_input@|$ac_sed_conf_input|;t t
15812 s&@top_builddir@&$ac_top_builddir_sub&;t t
15813 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15814 s&@srcdir@&$ac_srcdir&;t t
15815 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15816 s&@top_srcdir@&$ac_top_srcdir&;t t
15817 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15818 s&@builddir@&$ac_builddir&;t t
15819 s&@abs_builddir@&$ac_abs_builddir&;t t
15820 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15821 s&@INSTALL@&$ac_INSTALL&;t t
15822 s&@MKDIR_P@&$ac_MKDIR_P&;t t
15823 $ac_datarootdir_hack
15825 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
15826 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15828 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15829 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
15830 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
15831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15832 which seems to be undefined. Please make sure it is defined" >&5
15833 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15834 which seems to be undefined. Please make sure it is defined" >&2;}
15838 -) cat "$tmp/out" && rm -f "$tmp/out";;
15839 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15841 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15847 if test x"$ac_file" != x-; then
15849 $as_echo "/* $configure_input */" \
15850 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
15851 } >"$tmp/config.h" \
15852 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15853 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
15854 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15855 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15858 mv "$tmp/config.h" "$ac_file" \
15859 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15862 $as_echo "/* $configure_input */" \
15863 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
15864 || as_fn_error $? "could not create -" "$LINENO" 5
15866 # Compute "$ac_file"'s index in $config_headers.
15869 for _am_header in $config_headers :; do
15870 case $_am_header in
15871 $_am_arg | $_am_arg:* )
15874 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15877 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15878 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15879 X"$_am_arg" : 'X\(//\)[^/]' \| \
15880 X"$_am_arg" : 'X\(//\)$' \| \
15881 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15882 $as_echo X"$_am_arg" |
15883 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15887 /^X\(\/\/\)[^/].*/{
15899 s/.*/./; q'`/stamp-h$_am_stamp_count
15902 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15903 $as_echo "$as_me: executing $ac_file commands" >&6;}
15908 case $ac_file$ac_mode in
15909 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15910 # Autoconf 2.62 quotes --file arguments for eval, but not when files
15911 # are listed without --file. Let's play safe and only enable the eval
15912 # if we detect the quoting.
15913 case $CONFIG_FILES in
15914 *\'*) eval set x "$CONFIG_FILES" ;;
15915 *) set x $CONFIG_FILES ;;
15920 # Strip MF so we end up with the name of the file.
15921 mf=`echo "$mf" | sed -e 's/:.*$//'`
15922 # Check whether this is an Automake generated Makefile or not.
15923 # We used to match only the files named `Makefile.in', but
15924 # some people rename them; so instead we look at the file content.
15925 # Grep'ing the first line is not enough: some people post-process
15926 # each Makefile.in and add a new line on top of each file to say so.
15927 # Grep'ing the whole file is not good either: AIX grep has a line
15928 # limit of 2048, but all sed's we know have understand at least 4000.
15929 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15930 dirpart=`$as_dirname -- "$mf" ||
15931 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15932 X"$mf" : 'X\(//\)[^/]' \| \
15933 X"$mf" : 'X\(//\)$' \| \
15934 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15936 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15940 /^X\(\/\/\)[^/].*/{
15956 # Extract the definition of DEPDIR, am__include, and am__quote
15957 # from the Makefile without running `make'.
15958 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15959 test -z "$DEPDIR" && continue
15960 am__include=`sed -n 's/^am__include = //p' < "$mf"`
15961 test -z "am__include" && continue
15962 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15963 # When using ansi2knr, U may be empty or an underscore; expand it
15964 U=`sed -n 's/^U = //p' < "$mf"`
15965 # Find all dependency output files, they are included files with
15966 # $(DEPDIR) in their names. We invoke sed twice because it is the
15967 # simplest approach to changing $(DEPDIR) to its actual value in the
15969 for file in `sed -n "
15970 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15971 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15972 # Make sure the directory exists.
15973 test -f "$dirpart/$file" && continue
15974 fdir=`$as_dirname -- "$file" ||
15975 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15976 X"$file" : 'X\(//\)[^/]' \| \
15977 X"$file" : 'X\(//\)$' \| \
15978 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15979 $as_echo X"$file" |
15980 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15984 /^X\(\/\/\)[^/].*/{
15997 as_dir=$dirpart/$fdir; as_fn_mkdir_p
15998 # echo "creating $dirpart/$file"
15999 echo '# dummy' > "$dirpart/$file"
16006 # See if we are running on zsh, and set the options which allow our
16007 # commands through without removal of \ escapes.
16008 if test -n "${ZSH_VERSION+set}" ; then
16009 setopt NO_GLOB_SUBST
16012 cfgfile="${ofile}T"
16013 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16016 cat <<_LT_EOF >> "$cfgfile"
16019 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16020 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16021 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16022 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16024 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16025 # 2006, 2007, 2008 Free Software Foundation, Inc.
16026 # Written by Gordon Matzigkeit, 1996
16028 # This file is part of GNU Libtool.
16030 # GNU Libtool is free software; you can redistribute it and/or
16031 # modify it under the terms of the GNU General Public License as
16032 # published by the Free Software Foundation; either version 2 of
16033 # the License, or (at your option) any later version.
16035 # As a special exception to the GNU General Public License,
16036 # if you distribute this file as part of a program or library that
16037 # is built using GNU Libtool, you may include this file under the
16038 # same distribution terms that you use for the rest of that program.
16040 # GNU Libtool is distributed in the hope that it will be useful,
16041 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16042 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16043 # GNU General Public License for more details.
16045 # You should have received a copy of the GNU General Public License
16046 # along with GNU Libtool; see the file COPYING. If not, a copy
16047 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16048 # obtained by writing to the Free Software Foundation, Inc.,
16049 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16052 # The names of the tagged configurations supported by this script.
16055 # ### BEGIN LIBTOOL CONFIG
16057 # Assembler program.
16060 # DLL creation program.
16063 # Object dumper program.
16066 # Which release of libtool.m4 was used?
16067 macro_version=$macro_version
16068 macro_revision=$macro_revision
16070 # Whether or not to build shared libraries.
16071 build_libtool_libs=$enable_shared
16073 # Whether or not to build static libraries.
16074 build_old_libs=$enable_static
16076 # What type of objects to build.
16079 # Whether or not to optimize for fast installation.
16080 fast_install=$enable_fast_install
16083 host_alias=$host_alias
16087 # The build system.
16088 build_alias=$build_alias
16092 # A sed program that does not truncate output.
16095 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16096 Xsed="\$SED -e 1s/^X//"
16098 # A grep program that handles long lines.
16104 # A literal string matcher.
16107 # A BSD- or MS-compatible name lister.
16110 # Whether we need soft or hard links.
16113 # What is the maximum length of a command?
16114 max_cmd_len=$max_cmd_len
16116 # Object file suffix (normally "o").
16119 # Executable file suffix (normally "").
16122 # whether the shell understands "unset".
16125 # turn spaces into newlines.
16128 # turn newlines into spaces.
16131 # How to create reloadable object files.
16132 reload_flag=$lt_reload_flag
16133 reload_cmds=$lt_reload_cmds
16135 # Method to check whether dependent libraries are shared objects.
16136 deplibs_check_method=$lt_deplibs_check_method
16138 # Command to use when deplibs_check_method == "file_magic".
16139 file_magic_cmd=$lt_file_magic_cmd
16143 AR_FLAGS=$lt_AR_FLAGS
16145 # A symbol stripping program.
16148 # Commands used to install an old-style archive.
16150 old_postinstall_cmds=$lt_old_postinstall_cmds
16151 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16156 # LTCC compiler flags.
16157 LTCFLAGS=$lt_CFLAGS
16159 # Take the output of nm and produce a listing of raw symbols and C names.
16160 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16162 # Transform the output of nm in a proper C declaration.
16163 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16165 # Transform the output of nm in a C name address pair.
16166 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16168 # Transform the output of nm in a C name address pair when lib prefix is needed.
16169 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16171 # The name of the directory that contains temporary libtool files.
16174 # Shell to use when invoking shell scripts.
16177 # An echo program that does not interpret backslashes.
16180 # Used to examine libraries when file_magic_cmd begins with "file".
16181 MAGIC_CMD=$MAGIC_CMD
16183 # Must we lock files when doing compilation?
16184 need_locks=$lt_need_locks
16186 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16187 DSYMUTIL=$lt_DSYMUTIL
16189 # Tool to change global to local symbols on Mac OS X.
16192 # Tool to manipulate fat objects and archives on Mac OS X.
16195 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16198 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16199 OTOOL64=$lt_OTOOL64
16201 # Old archive suffix (normally "a").
16204 # Shared library suffix (normally ".so").
16205 shrext_cmds=$lt_shrext_cmds
16207 # The commands to extract the exported symbol list from a shared archive.
16208 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16210 # Variables whose values should be saved in libtool wrapper scripts and
16211 # restored at link time.
16212 variables_saved_for_relink=$lt_variables_saved_for_relink
16214 # Do we need the "lib" prefix for modules?
16215 need_lib_prefix=$need_lib_prefix
16217 # Do we need a version for libraries?
16218 need_version=$need_version
16220 # Library versioning type.
16221 version_type=$version_type
16223 # Shared library runtime path variable.
16224 runpath_var=$runpath_var
16226 # Shared library path variable.
16227 shlibpath_var=$shlibpath_var
16229 # Is shlibpath searched before the hard-coded library search path?
16230 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16232 # Format of library name prefix.
16233 libname_spec=$lt_libname_spec
16235 # List of archive names. First name is the real one, the rest are links.
16236 # The last name is the one that the linker finds with -lNAME
16237 library_names_spec=$lt_library_names_spec
16239 # The coded name of the library, if different from the real name.
16240 soname_spec=$lt_soname_spec
16242 # Command to use after installation of a shared archive.
16243 postinstall_cmds=$lt_postinstall_cmds
16245 # Command to use after uninstallation of a shared archive.
16246 postuninstall_cmds=$lt_postuninstall_cmds
16248 # Commands used to finish a libtool library installation in a directory.
16249 finish_cmds=$lt_finish_cmds
16251 # As "finish_cmds", except a single script fragment to be evaled but
16253 finish_eval=$lt_finish_eval
16255 # Whether we should hardcode library paths into libraries.
16256 hardcode_into_libs=$hardcode_into_libs
16258 # Compile-time system search path for libraries.
16259 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16261 # Run-time system search path for libraries.
16262 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16264 # Whether dlopen is supported.
16265 dlopen_support=$enable_dlopen
16267 # Whether dlopen of programs is supported.
16268 dlopen_self=$enable_dlopen_self
16270 # Whether dlopen of statically linked programs is supported.
16271 dlopen_self_static=$enable_dlopen_self_static
16273 # Commands to strip libraries.
16274 old_striplib=$lt_old_striplib
16275 striplib=$lt_striplib
16278 # The linker used to build libraries.
16281 # Commands used to build an old-style archive.
16282 old_archive_cmds=$lt_old_archive_cmds
16284 # A language specific compiler.
16287 # Is the compiler the GNU compiler?
16290 # Compiler flag to turn off builtin functions.
16291 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16293 # How to pass a linker flag through the compiler.
16294 wl=$lt_lt_prog_compiler_wl
16296 # Additional compiler flags for building library objects.
16297 pic_flag=$lt_lt_prog_compiler_pic
16299 # Compiler flag to prevent dynamic linking.
16300 link_static_flag=$lt_lt_prog_compiler_static
16302 # Does compiler simultaneously support -c and -o options?
16303 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16305 # Whether or not to add -lc for building shared libraries.
16306 build_libtool_need_lc=$archive_cmds_need_lc
16308 # Whether or not to disallow shared libs when runtime libs are static.
16309 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16311 # Compiler flag to allow reflexive dlopens.
16312 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16314 # Compiler flag to generate shared objects directly from archives.
16315 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16317 # Whether the compiler copes with passing no objects directly.
16318 compiler_needs_object=$lt_compiler_needs_object
16320 # Create an old-style archive from a shared archive.
16321 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16323 # Create a temporary old-style archive to link instead of a shared archive.
16324 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16326 # Commands used to build a shared archive.
16327 archive_cmds=$lt_archive_cmds
16328 archive_expsym_cmds=$lt_archive_expsym_cmds
16330 # Commands used to build a loadable module if different from building
16331 # a shared archive.
16332 module_cmds=$lt_module_cmds
16333 module_expsym_cmds=$lt_module_expsym_cmds
16335 # Whether we are building with GNU ld or not.
16336 with_gnu_ld=$lt_with_gnu_ld
16338 # Flag that allows shared libraries with undefined symbols to be built.
16339 allow_undefined_flag=$lt_allow_undefined_flag
16341 # Flag that enforces no undefined symbols.
16342 no_undefined_flag=$lt_no_undefined_flag
16344 # Flag to hardcode \$libdir into a binary during linking.
16345 # This must work even if \$libdir does not exist
16346 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16348 # If ld is used when linking, flag to hardcode \$libdir into a binary
16349 # during linking. This must work even if \$libdir does not exist.
16350 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16352 # Whether we need a single "-rpath" flag with a separated argument.
16353 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16355 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16356 # DIR into the resulting binary.
16357 hardcode_direct=$hardcode_direct
16359 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16360 # DIR into the resulting binary and the resulting library dependency is
16361 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16362 # library is relocated.
16363 hardcode_direct_absolute=$hardcode_direct_absolute
16365 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16366 # into the resulting binary.
16367 hardcode_minus_L=$hardcode_minus_L
16369 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16370 # into the resulting binary.
16371 hardcode_shlibpath_var=$hardcode_shlibpath_var
16373 # Set to "yes" if building a shared library automatically hardcodes DIR
16374 # into the library and all subsequent libraries and executables linked
16376 hardcode_automatic=$hardcode_automatic
16378 # Set to yes if linker adds runtime paths of dependent libraries
16379 # to runtime path list.
16380 inherit_rpath=$inherit_rpath
16382 # Whether libtool must link a program against all its dependency libraries.
16383 link_all_deplibs=$link_all_deplibs
16385 # Fix the shell variable \$srcfile for the compiler.
16386 fix_srcfile_path=$lt_fix_srcfile_path
16388 # Set to "yes" if exported symbols are required.
16389 always_export_symbols=$always_export_symbols
16391 # The commands to list exported symbols.
16392 export_symbols_cmds=$lt_export_symbols_cmds
16394 # Symbols that should not be listed in the preloaded symbols.
16395 exclude_expsyms=$lt_exclude_expsyms
16397 # Symbols that must always be exported.
16398 include_expsyms=$lt_include_expsyms
16400 # Commands necessary for linking programs (against libraries) with templates.
16401 prelink_cmds=$lt_prelink_cmds
16403 # Specify filename containing input files.
16404 file_list_spec=$lt_file_list_spec
16406 # How to hardcode a shared library path into an executable.
16407 hardcode_action=$hardcode_action
16409 # ### END LIBTOOL CONFIG
16415 cat <<\_LT_EOF >> "$cfgfile"
16416 # AIX sometimes has problems with the GCC collect2 program. For some
16417 # reason, if we set the COLLECT_NAMES environment variable, the problems
16418 # vanish in a puff of smoke.
16419 if test "X${COLLECT_NAMES+set}" != Xset; then
16421 export COLLECT_NAMES
16428 ltmain="$ac_aux_dir/ltmain.sh"
16431 # We use sed instead of cat because bash on DJGPP gets confused if
16432 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16433 # text mode, it properly converts lines to CR/LF. This bash problem
16434 # is reportedly fixed, but why not run on old versions too?
16435 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16436 || (rm -f "$cfgfile"; exit 1)
16440 cat << \_LT_EOF >> "$cfgfile"
16442 # func_dirname file append nondir_replacement
16443 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16444 # otherwise set result to NONDIR_REPLACEMENT.
16448 */*) func_dirname_result="${1%/*}${2}" ;;
16449 * ) func_dirname_result="${3}" ;;
16453 # func_basename file
16456 func_basename_result="${1##*/}"
16459 # func_dirname_and_basename file append nondir_replacement
16460 # perform func_basename and func_dirname in a single function
16462 # dirname: Compute the dirname of FILE. If nonempty,
16463 # add APPEND to the result, otherwise set result
16464 # to NONDIR_REPLACEMENT.
16465 # value returned in "$func_dirname_result"
16466 # basename: Compute filename of FILE.
16467 # value retuned in "$func_basename_result"
16468 # Implementation must be kept synchronized with func_dirname
16469 # and func_basename. For efficiency, we do not delegate to
16470 # those functions but instead duplicate the functionality here.
16471 func_dirname_and_basename ()
16474 */*) func_dirname_result="${1%/*}${2}" ;;
16475 * ) func_dirname_result="${3}" ;;
16477 func_basename_result="${1##*/}"
16480 # func_stripname prefix suffix name
16481 # strip PREFIX and SUFFIX off of NAME.
16482 # PREFIX and SUFFIX must not contain globbing or regex special
16483 # characters, hashes, percent signs, but SUFFIX may contain a leading
16484 # dot (in which case that matches only a dot).
16487 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16488 # positional parameters, so assign one to ordinary parameter first.
16489 func_stripname_result=${3}
16490 func_stripname_result=${func_stripname_result#"${1}"}
16491 func_stripname_result=${func_stripname_result%"${2}"}
16497 func_opt_split_opt=${1%%=*}
16498 func_opt_split_arg=${1#*=}
16505 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
16506 *) func_lo2o_result=${1} ;;
16510 # func_xform libobj-or-source
16513 func_xform_result=${1%.*}.lo
16516 # func_arith arithmetic-term...
16519 func_arith_result=$(( $* ))
16523 # STRING may not start with a hyphen.
16526 func_len_result=${#1}
16531 *) # Bourne compatible functions.
16532 cat << \_LT_EOF >> "$cfgfile"
16534 # func_dirname file append nondir_replacement
16535 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16536 # otherwise set result to NONDIR_REPLACEMENT.
16539 # Extract subdirectory from the argument.
16540 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
16541 if test "X$func_dirname_result" = "X${1}"; then
16542 func_dirname_result="${3}"
16544 func_dirname_result="$func_dirname_result${2}"
16548 # func_basename file
16551 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
16555 # func_stripname prefix suffix name
16556 # strip PREFIX and SUFFIX off of NAME.
16557 # PREFIX and SUFFIX must not contain globbing or regex special
16558 # characters, hashes, percent signs, but SUFFIX may contain a leading
16559 # dot (in which case that matches only a dot).
16560 # func_strip_suffix prefix name
16564 .*) func_stripname_result=`$ECHO "X${3}" \
16565 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
16566 *) func_stripname_result=`$ECHO "X${3}" \
16567 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
16572 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
16573 my_sed_long_arg='1s/^-[^=]*=//'
16578 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
16579 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
16585 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
16588 # func_xform libobj-or-source
16591 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
16594 # func_arith arithmetic-term...
16597 func_arith_result=`expr "$@"`
16601 # STRING may not start with a hyphen.
16604 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16610 case $lt_shell_append in
16612 cat << \_LT_EOF >> "$cfgfile"
16614 # func_append var value
16615 # Append VALUE to the end of shell variable VAR.
16623 cat << \_LT_EOF >> "$cfgfile"
16625 # func_append var value
16626 # Append VALUE to the end of shell variable VAR.
16637 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16638 || (rm -f "$cfgfile"; exit 1)
16640 mv -f "$cfgfile" "$ofile" ||
16641 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16652 ac_clean_files=$ac_clean_files_save
16654 test $ac_write_fail = 0 ||
16655 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16658 # configure is writing to config.log, and then calls config.status.
16659 # config.status does its own redirection, appending to config.log.
16660 # Unfortunately, on DOS this fails, as config.log is still kept open
16661 # by configure, so config.status won't be able to write to it; its
16662 # output is simply discarded. So we exec the FD to /dev/null,
16663 # effectively closing config.log, so it can be properly (re)opened and
16664 # appended to by config.status. When coming back to configure, we
16665 # need to make the FD available again.
16666 if test "$no_create" != yes; then
16668 ac_config_status_args=
16669 test "$silent" = yes &&
16670 ac_config_status_args="$ac_config_status_args --quiet"
16672 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16674 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16675 # would make configure fail if this is the last instruction.
16676 $ac_cs_success || as_fn_exit 1
16678 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16680 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16685 #####################################################################
16691 echo "------------------------------------------------------------------------"
16692 echo "$PACKAGE $VERSION"
16693 echo "------------------------------------------------------------------------"
16695 echo "Configuration Options Summary:"
16699 echo " EBluez.............: $enable_ebluez"
16700 echo " EConnman (0.7x)....: $enable_econnman0_7x"
16701 echo " EHal...............: $enable_ehal"
16702 echo " ENotify............: $enable_enotify"
16703 echo " EOfono.............: $enable_eofono"
16704 echo " EUkit..............: $enable_eukit"
16708 echo " EDbus test.........: $have_edbus_test"
16709 echo " EDbus client test..: $have_edbus_test_client"
16710 echo " EDbus async test...: $have_edbus_async_test"
16711 echo " EDbus performance..: $have_edbus_performance_test"
16712 echo " EBluez test........: $have_edbus_bluez_test"
16713 echo " EConnman (0.7x)test: $have_edbus_connman0_7x_test"
16714 echo " ENotify Daemon test: $have_edbus_notification_daemon_test"
16715 echo " ENotify send.......: $have_edbus_notify_send"
16716 echo " ENotify test.......: $have_edbus_notify_test"
16717 echo " EOfono test........: $have_edbus_ofono_test"
16718 echo " EUkit test.........: $have_edbus_ukit_test"
16720 echo "Documentation..........: ${build_doc}"
16722 echo "Compilation............: make (or gmake)"
16723 echo " CPPFLAGS.............: $CPPFLAGS"
16724 echo " CFLAGS...............: $CFLAGS"
16725 echo " LDFLAGS..............: $LDFLAGS"
16727 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
16728 echo " prefix...............: $prefix"