2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for edje 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.
703 PACKAGE_TARNAME='edje'
704 PACKAGE_VERSION='1.7.1'
705 PACKAGE_STRING='edje 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
753 EFL_ENABLE_COVERAGE_FALSE
754 EFL_ENABLE_COVERAGE_TRUE
758 EFL_ENABLE_TESTS_FALSE
759 EFL_ENABLE_TESTS_TRUE
763 lt_enable_auto_import
766 EDJE_EXTERNAL_INSPECTOR_LIBS
767 EDJE_EXTERNAL_INSPECTOR_CFLAGS
769 EDJE_INSPECTOR_CFLAGS
792 HAVE_LIBSNDFILE_FALSE
796 ENABLE_MULTISENSE_FALSE
797 ENABLE_MULTISENSE_TRUE
812 pkgconfig_requires_private
834 EDJE_CALC_CACHE_FALSE
836 EDJE_PROGRAM_CACHE_FALSE
837 EDJE_PROGRAM_CACHE_TRUE
838 BUILD_EDJE_WATCH_FALSE
839 BUILD_EDJE_WATCH_TRUE
841 BUILD_EDJE_EXTERNAL_INSPECTOR_FALSE
842 BUILD_EDJE_EXTERNAL_INSPECTOR_TRUE
843 EDJE_EXTERNAL_INSPECTOR_PRG
844 BUILD_EDJE_INSPECTOR_FALSE
845 BUILD_EDJE_INSPECTOR_TRUE
847 BUILD_EDJE_PLAYER_FALSE
848 BUILD_EDJE_PLAYER_TRUE
850 BUILD_EDJE_RECC_FALSE
853 BUILD_EDJE_DECC_FALSE
860 EDJE_AMALGAMATION_FALSE
861 EDJE_AMALGAMATION_TRUE
922 INSTALL_STRIP_PROGRAM
964 program_transform_name
977 enable_option_checking
983 enable_dependency_tracking
992 enable_edje_inspector
993 enable_edje_external_inspector
995 enable_edje_program_cache
996 enable_edje_calc_cache
1008 enable_build_examples
1010 ac_precious_vars='build_alias
1050 EDJE_INSPECTOR_CFLAGS
1052 EDJE_EXTERNAL_INSPECTOR_CFLAGS
1053 EDJE_EXTERNAL_INSPECTOR_LIBS
1060 # Initialize some variables set by options.
1062 ac_init_version=false
1063 ac_unrecognized_opts=
1064 ac_unrecognized_sep=
1065 # The variables have the same names as the options, with
1066 # dashes changed to underlines.
1067 cache_file=/dev/null
1074 program_transform_name=s,x,x,
1082 # Installation directory options.
1083 # These are left unexpanded so users can "make install exec_prefix=/foo"
1084 # and all the variables that are supposed to be based on exec_prefix
1085 # by default will actually change.
1086 # Use braces instead of parens because sh, perl, etc. also accept them.
1087 # (The list follows the same order as the GNU Coding Standards.)
1088 bindir='${exec_prefix}/bin'
1089 sbindir='${exec_prefix}/sbin'
1090 libexecdir='${exec_prefix}/libexec'
1091 datarootdir='${prefix}/share'
1092 datadir='${datarootdir}'
1093 sysconfdir='${prefix}/etc'
1094 sharedstatedir='${prefix}/com'
1095 localstatedir='${prefix}/var'
1096 includedir='${prefix}/include'
1097 oldincludedir='/usr/include'
1098 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1099 infodir='${datarootdir}/info'
1104 libdir='${exec_prefix}/lib'
1105 localedir='${datarootdir}/locale'
1106 mandir='${datarootdir}/man'
1112 # If the previous option needs an argument, assign it.
1113 if test -n "$ac_prev"; then
1114 eval $ac_prev=\$ac_option
1120 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1125 # Accept the important Cygnus configure options, so we can diagnose typos.
1127 case $ac_dashdash$ac_option in
1131 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1133 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1134 bindir=$ac_optarg ;;
1136 -build | --build | --buil | --bui | --bu)
1137 ac_prev=build_alias ;;
1138 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1139 build_alias=$ac_optarg ;;
1141 -cache-file | --cache-file | --cache-fil | --cache-fi \
1142 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1143 ac_prev=cache_file ;;
1144 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1145 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1146 cache_file=$ac_optarg ;;
1148 --config-cache | -C)
1149 cache_file=config.cache ;;
1151 -datadir | --datadir | --datadi | --datad)
1153 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1154 datadir=$ac_optarg ;;
1156 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1157 | --dataroo | --dataro | --datar)
1158 ac_prev=datarootdir ;;
1159 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1160 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1161 datarootdir=$ac_optarg ;;
1163 -disable-* | --disable-*)
1164 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1165 # Reject names that are not valid shell variable names.
1166 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1167 as_fn_error $? "invalid feature name: $ac_useropt"
1168 ac_useropt_orig=$ac_useropt
1169 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1170 case $ac_user_opts in
1172 "enable_$ac_useropt"
1174 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1175 ac_unrecognized_sep=', ';;
1177 eval enable_$ac_useropt=no ;;
1179 -docdir | --docdir | --docdi | --doc | --do)
1181 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1182 docdir=$ac_optarg ;;
1184 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1186 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1187 dvidir=$ac_optarg ;;
1189 -enable-* | --enable-*)
1190 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1191 # Reject names that are not valid shell variable names.
1192 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1193 as_fn_error $? "invalid feature name: $ac_useropt"
1194 ac_useropt_orig=$ac_useropt
1195 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1196 case $ac_user_opts in
1198 "enable_$ac_useropt"
1200 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1201 ac_unrecognized_sep=', ';;
1203 eval enable_$ac_useropt=\$ac_optarg ;;
1205 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1206 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1207 | --exec | --exe | --ex)
1208 ac_prev=exec_prefix ;;
1209 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1210 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1211 | --exec=* | --exe=* | --ex=*)
1212 exec_prefix=$ac_optarg ;;
1214 -gas | --gas | --ga | --g)
1215 # Obsolete; use --with-gas.
1218 -help | --help | --hel | --he | -h)
1219 ac_init_help=long ;;
1220 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1221 ac_init_help=recursive ;;
1222 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1223 ac_init_help=short ;;
1225 -host | --host | --hos | --ho)
1226 ac_prev=host_alias ;;
1227 -host=* | --host=* | --hos=* | --ho=*)
1228 host_alias=$ac_optarg ;;
1230 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1232 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1234 htmldir=$ac_optarg ;;
1236 -includedir | --includedir | --includedi | --included | --include \
1237 | --includ | --inclu | --incl | --inc)
1238 ac_prev=includedir ;;
1239 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1240 | --includ=* | --inclu=* | --incl=* | --inc=*)
1241 includedir=$ac_optarg ;;
1243 -infodir | --infodir | --infodi | --infod | --info | --inf)
1245 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1246 infodir=$ac_optarg ;;
1248 -libdir | --libdir | --libdi | --libd)
1250 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1251 libdir=$ac_optarg ;;
1253 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1254 | --libexe | --libex | --libe)
1255 ac_prev=libexecdir ;;
1256 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1257 | --libexe=* | --libex=* | --libe=*)
1258 libexecdir=$ac_optarg ;;
1260 -localedir | --localedir | --localedi | --localed | --locale)
1261 ac_prev=localedir ;;
1262 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1263 localedir=$ac_optarg ;;
1265 -localstatedir | --localstatedir | --localstatedi | --localstated \
1266 | --localstate | --localstat | --localsta | --localst | --locals)
1267 ac_prev=localstatedir ;;
1268 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1269 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1270 localstatedir=$ac_optarg ;;
1272 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1274 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1275 mandir=$ac_optarg ;;
1277 -nfp | --nfp | --nf)
1278 # Obsolete; use --without-fp.
1281 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1282 | --no-cr | --no-c | -n)
1285 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1286 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1289 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1290 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1291 | --oldin | --oldi | --old | --ol | --o)
1292 ac_prev=oldincludedir ;;
1293 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1294 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1295 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1296 oldincludedir=$ac_optarg ;;
1298 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1300 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1301 prefix=$ac_optarg ;;
1303 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1304 | --program-pre | --program-pr | --program-p)
1305 ac_prev=program_prefix ;;
1306 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1307 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1308 program_prefix=$ac_optarg ;;
1310 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1311 | --program-suf | --program-su | --program-s)
1312 ac_prev=program_suffix ;;
1313 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1314 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1315 program_suffix=$ac_optarg ;;
1317 -program-transform-name | --program-transform-name \
1318 | --program-transform-nam | --program-transform-na \
1319 | --program-transform-n | --program-transform- \
1320 | --program-transform | --program-transfor \
1321 | --program-transfo | --program-transf \
1322 | --program-trans | --program-tran \
1323 | --progr-tra | --program-tr | --program-t)
1324 ac_prev=program_transform_name ;;
1325 -program-transform-name=* | --program-transform-name=* \
1326 | --program-transform-nam=* | --program-transform-na=* \
1327 | --program-transform-n=* | --program-transform-=* \
1328 | --program-transform=* | --program-transfor=* \
1329 | --program-transfo=* | --program-transf=* \
1330 | --program-trans=* | --program-tran=* \
1331 | --progr-tra=* | --program-tr=* | --program-t=*)
1332 program_transform_name=$ac_optarg ;;
1334 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1336 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1337 pdfdir=$ac_optarg ;;
1339 -psdir | --psdir | --psdi | --psd | --ps)
1341 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1344 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1345 | -silent | --silent | --silen | --sile | --sil)
1348 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1350 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1352 sbindir=$ac_optarg ;;
1354 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1355 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1356 | --sharedst | --shareds | --shared | --share | --shar \
1358 ac_prev=sharedstatedir ;;
1359 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1360 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1361 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1363 sharedstatedir=$ac_optarg ;;
1365 -site | --site | --sit)
1367 -site=* | --site=* | --sit=*)
1370 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1372 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1373 srcdir=$ac_optarg ;;
1375 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1376 | --syscon | --sysco | --sysc | --sys | --sy)
1377 ac_prev=sysconfdir ;;
1378 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1379 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1380 sysconfdir=$ac_optarg ;;
1382 -target | --target | --targe | --targ | --tar | --ta | --t)
1383 ac_prev=target_alias ;;
1384 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1385 target_alias=$ac_optarg ;;
1387 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1390 -version | --version | --versio | --versi | --vers | -V)
1391 ac_init_version=: ;;
1394 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1395 # Reject names that are not valid shell variable names.
1396 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1397 as_fn_error $? "invalid package name: $ac_useropt"
1398 ac_useropt_orig=$ac_useropt
1399 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1400 case $ac_user_opts in
1404 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1405 ac_unrecognized_sep=', ';;
1407 eval with_$ac_useropt=\$ac_optarg ;;
1409 -without-* | --without-*)
1410 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1411 # Reject names that are not valid shell variable names.
1412 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1413 as_fn_error $? "invalid package name: $ac_useropt"
1414 ac_useropt_orig=$ac_useropt
1415 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1416 case $ac_user_opts in
1420 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1421 ac_unrecognized_sep=', ';;
1423 eval with_$ac_useropt=no ;;
1426 # Obsolete; use --with-x.
1429 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1430 | --x-incl | --x-inc | --x-in | --x-i)
1431 ac_prev=x_includes ;;
1432 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1433 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1434 x_includes=$ac_optarg ;;
1436 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1437 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1438 ac_prev=x_libraries ;;
1439 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1440 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1441 x_libraries=$ac_optarg ;;
1443 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1444 Try \`$0 --help' for more information"
1448 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1449 # Reject names that are not valid shell variable names.
1450 case $ac_envvar in #(
1451 '' | [0-9]* | *[!_$as_cr_alnum]* )
1452 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1454 eval $ac_envvar=\$ac_optarg
1455 export $ac_envvar ;;
1458 # FIXME: should be removed in autoconf 3.0.
1459 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1460 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1461 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1462 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1468 if test -n "$ac_prev"; then
1469 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1470 as_fn_error $? "missing argument to $ac_option"
1473 if test -n "$ac_unrecognized_opts"; then
1474 case $enable_option_checking in
1476 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1477 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1481 # Check all directory arguments for consistency.
1482 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1483 datadir sysconfdir sharedstatedir localstatedir includedir \
1484 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1485 libdir localedir mandir
1487 eval ac_val=\$$ac_var
1488 # Remove trailing slashes.
1491 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1492 eval $ac_var=\$ac_val;;
1494 # Be sure to have absolute directory names.
1496 [\\/$]* | ?:[\\/]* ) continue;;
1497 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1499 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1502 # There might be people who depend on the old broken behavior: `$host'
1503 # used to hold the argument of --host etc.
1504 # FIXME: To remove some day.
1507 target=$target_alias
1509 # FIXME: To remove some day.
1510 if test "x$host_alias" != x; then
1511 if test "x$build_alias" = x; then
1512 cross_compiling=maybe
1513 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1514 If a cross compiler is detected then cross compile mode will be used" >&2
1515 elif test "x$build_alias" != "x$host_alias"; then
1521 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1523 test "$silent" = yes && exec 6>/dev/null
1526 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1527 ac_ls_di=`ls -di .` &&
1528 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1529 as_fn_error $? "working directory cannot be determined"
1530 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1531 as_fn_error $? "pwd does not report name of working directory"
1534 # Find the source files, if location was not specified.
1535 if test -z "$srcdir"; then
1536 ac_srcdir_defaulted=yes
1537 # Try the directory containing this script, then the parent directory.
1538 ac_confdir=`$as_dirname -- "$as_myself" ||
1539 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1540 X"$as_myself" : 'X\(//\)[^/]' \| \
1541 X"$as_myself" : 'X\(//\)$' \| \
1542 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1543 $as_echo X"$as_myself" |
1544 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1562 if test ! -r "$srcdir/$ac_unique_file"; then
1566 ac_srcdir_defaulted=no
1568 if test ! -r "$srcdir/$ac_unique_file"; then
1569 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1570 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1572 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1574 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1576 # When building in place, set srcdir=.
1577 if test "$ac_abs_confdir" = "$ac_pwd"; then
1580 # Remove unnecessary trailing slashes from srcdir.
1581 # Double slashes in file names in object file debugging info
1582 # mess up M-x gdb in Emacs.
1584 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1586 for ac_var in $ac_precious_vars; do
1587 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1588 eval ac_env_${ac_var}_value=\$${ac_var}
1589 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1590 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1594 # Report the --help message.
1596 if test "$ac_init_help" = "long"; then
1597 # Omit some internal or obsolete options to make the list less imposing.
1598 # This message is too long to be a string in the A/UX 3.1 sh.
1600 \`configure' configures edje 1.7.1 to adapt to many kinds of systems.
1602 Usage: $0 [OPTION]... [VAR=VALUE]...
1604 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1605 VAR=VALUE. See below for descriptions of some of the useful variables.
1607 Defaults for the options are specified in brackets.
1610 -h, --help display this help and exit
1611 --help=short display options specific to this package
1612 --help=recursive display the short help of all the included packages
1613 -V, --version display version information and exit
1614 -q, --quiet, --silent do not print \`checking ...' messages
1615 --cache-file=FILE cache test results in FILE [disabled]
1616 -C, --config-cache alias for \`--cache-file=config.cache'
1617 -n, --no-create do not create output files
1618 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1620 Installation directories:
1621 --prefix=PREFIX install architecture-independent files in PREFIX
1622 [$ac_default_prefix]
1623 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1626 By default, \`make install' will install all the files in
1627 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1628 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1629 for instance \`--prefix=\$HOME'.
1631 For better control, use the options below.
1633 Fine tuning of the installation directories:
1634 --bindir=DIR user executables [EPREFIX/bin]
1635 --sbindir=DIR system admin executables [EPREFIX/sbin]
1636 --libexecdir=DIR program executables [EPREFIX/libexec]
1637 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1638 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1639 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1640 --libdir=DIR object code libraries [EPREFIX/lib]
1641 --includedir=DIR C header files [PREFIX/include]
1642 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1643 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1644 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1645 --infodir=DIR info documentation [DATAROOTDIR/info]
1646 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1647 --mandir=DIR man documentation [DATAROOTDIR/man]
1648 --docdir=DIR documentation root [DATAROOTDIR/doc/edje]
1649 --htmldir=DIR html documentation [DOCDIR]
1650 --dvidir=DIR dvi documentation [DOCDIR]
1651 --pdfdir=DIR pdf documentation [DOCDIR]
1652 --psdir=DIR ps documentation [DOCDIR]
1658 --program-prefix=PREFIX prepend PREFIX to installed program names
1659 --program-suffix=SUFFIX append SUFFIX to installed program names
1660 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1663 --build=BUILD configure for building on BUILD [guessed]
1664 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1668 if test -n "$ac_init_help"; then
1669 case $ac_init_help in
1670 short | recursive ) echo "Configuration of edje 1.7.1:";;
1675 --disable-option-checking ignore unrecognized --enable/--with options
1676 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1677 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1678 --enable-silent-rules less verbose build output (undo: `make V=1')
1679 --disable-silent-rules verbose build output (undo: `make V=0')
1680 --enable-shared[=PKGS] build shared libraries [default=yes]
1681 --enable-static[=PKGS] build static libraries [default=yes]
1682 --enable-fast-install[=PKGS]
1683 optimize for fast installation [default=yes]
1684 --disable-dependency-tracking speeds up one-time build
1685 --enable-dependency-tracking do not reject slow dependency extractors
1686 --disable-libtool-lock avoid locking (might break parallel builds)
1687 --enable-amalgamation enable generation of one single file with all source
1688 code in it, helps compiler optimizations.
1689 --disable-edje-cc disable building of edje_cc
1690 --disable-edje-decc disable building of edje_decc
1691 --disable-edje-recc disable building of edje_recc
1692 --disable-edje-player disable building of edje_player
1693 --disable-edje-inspector
1694 disable building of edje_inspector
1695 --disable-edje-external-inspector
1696 disable building of edje_external_inspector
1697 --disable-edje-watch disable building of edje_watch
1698 --enable-edje-program-cache
1699 enable EDJE_PROGRAM_CACHE support.
1700 [[default=disabled]]
1701 --enable-edje-calc-cache
1702 enable EDJE_CALC_CACHE support. [[default=disabled]]
1703 --enable-fixed-point reduce use of FPU by using Fixed Point provided by
1704 Eina and Eet, [[default=disabled]]
1705 --disable-doc Disable documentation build [default=enabled]
1706 --disable-sndfile disable sndfile support. [default=detect]
1707 --disable-remix disable remix support. [default=detect]
1708 --disable-vorbis disable ogg-vorbis support. [default=detect]
1709 --disable-alsa disable alsa support. [default=detect]
1710 --disable-flac disable flac support. [default=detect]
1711 --enable-tests enable tests [default=disabled]
1712 --enable-coverage enable coverage profiling instrumentation
1714 --enable-build-examples Enable building examples. This requires extra
1715 dependencies. If you don't have them installed yet,
1716 don't build with this option or it will fail. Build
1717 again when you have it, overriding the previous
1718 installation). [default==disabled]
1721 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1722 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1723 --with-pic try to use only PIC/non-PIC objects [default=use
1725 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1726 --with-edje-cc=PATH specify a specific path to edje_cc [default=edje_cc]
1727 --with-vim=DIR Location of Vim data files [[autodetect]]
1728 --with-doxygen=FILE doxygen program to use [default=doxygen]
1730 Some influential environment variables:
1731 CC C compiler command
1732 CFLAGS C compiler flags
1733 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1734 nonstandard directory <lib dir>
1735 LIBS libraries to pass to the linker, e.g. -l<library>
1736 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1737 you have headers in a nonstandard directory <include dir>
1739 PKG_CONFIG path to pkg-config utility
1741 directories to add to pkg-config's search path
1743 path overriding pkg-config's built-in search path
1744 EVIL_CFLAGS C compiler flags for EVIL, overriding pkg-config
1745 EVIL_LIBS linker flags for EVIL, overriding pkg-config
1746 LUA_CFLAGS C compiler flags for LUA, overriding pkg-config
1747 LUA_LIBS linker flags for LUA, overriding pkg-config
1749 C compiler flags for MINIMAL, overriding pkg-config
1751 linker flags for MINIMAL, overriding pkg-config
1752 EDJE_CFLAGS C compiler flags for EDJE, overriding pkg-config
1753 EDJE_LIBS linker flags for EDJE, overriding pkg-config
1755 C compiler flags for ECORE_IMF, overriding pkg-config
1757 linker flags for ECORE_IMF, overriding pkg-config
1758 EIO_CFLAGS C compiler flags for EIO, overriding pkg-config
1759 EIO_LIBS linker flags for EIO, overriding pkg-config
1761 C compiler flags for SNDFILE, overriding pkg-config
1763 linker flags for SNDFILE, overriding pkg-config
1765 C compiler flags for REMIX, overriding pkg-config
1766 REMIX_LIBS linker flags for REMIX, overriding pkg-config
1768 C compiler flags for VORBISENC, overriding pkg-config
1770 linker flags for VORBISENC, overriding pkg-config
1771 ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config
1772 ALSA_LIBS linker flags for ALSA, overriding pkg-config
1773 FLAC_CFLAGS C compiler flags for FLAC, overriding pkg-config
1774 FLAC_LIBS linker flags for FLAC, overriding pkg-config
1776 C compiler flags for EDJE_CC, overriding pkg-config
1778 linker flags for EDJE_CC, overriding pkg-config
1780 C compiler flags for EDJE_DECC, overriding pkg-config
1782 linker flags for EDJE_DECC, overriding pkg-config
1784 C compiler flags for EDJE_PLAYER, overriding pkg-config
1786 linker flags for EDJE_PLAYER, overriding pkg-config
1787 EDJE_INSPECTOR_CFLAGS
1788 C compiler flags for EDJE_INSPECTOR, overriding pkg-config
1790 linker flags for EDJE_INSPECTOR, overriding pkg-config
1791 EDJE_EXTERNAL_INSPECTOR_CFLAGS
1792 C compiler flags for EDJE_EXTERNAL_INSPECTOR, overriding
1794 EDJE_EXTERNAL_INSPECTOR_LIBS
1795 linker flags for EDJE_EXTERNAL_INSPECTOR, overriding pkg-config
1797 C compiler flags for EDJE_WATCH, overriding pkg-config
1799 linker flags for EDJE_WATCH, overriding pkg-config
1801 C compiler flags for CHECK, overriding pkg-config
1802 CHECK_LIBS linker flags for CHECK, overriding pkg-config
1804 Use these variables to override the choices made by `configure' or to help
1805 it to find libraries and programs with nonstandard names/locations.
1807 Report bugs to <enlightenment-devel@lists.sourceforge.net>.
1812 if test "$ac_init_help" = "recursive"; then
1813 # If there are subdirs, report their specific --help.
1814 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1815 test -d "$ac_dir" ||
1816 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1821 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1823 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1824 # A ".." for each directory in $ac_dir_suffix.
1825 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1826 case $ac_top_builddir_sub in
1827 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1828 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1831 ac_abs_top_builddir=$ac_pwd
1832 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1833 # for backward compatibility:
1834 ac_top_builddir=$ac_top_build_prefix
1837 .) # We are building in place.
1839 ac_top_srcdir=$ac_top_builddir_sub
1840 ac_abs_top_srcdir=$ac_pwd ;;
1841 [\\/]* | ?:[\\/]* ) # Absolute name.
1842 ac_srcdir=$srcdir$ac_dir_suffix;
1843 ac_top_srcdir=$srcdir
1844 ac_abs_top_srcdir=$srcdir ;;
1846 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1847 ac_top_srcdir=$ac_top_build_prefix$srcdir
1848 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1850 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1852 cd "$ac_dir" || { ac_status=$?; continue; }
1853 # Check for guested configure.
1854 if test -f "$ac_srcdir/configure.gnu"; then
1856 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1857 elif test -f "$ac_srcdir/configure"; then
1859 $SHELL "$ac_srcdir/configure" --help=recursive
1861 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1863 cd "$ac_pwd" || { ac_status=$?; break; }
1867 test -n "$ac_init_help" && exit $ac_status
1868 if $ac_init_version; then
1870 edje configure 1.7.1
1871 generated by GNU Autoconf 2.67
1873 Copyright (C) 2010 Free Software Foundation, Inc.
1874 This configure script is free software; the Free Software Foundation
1875 gives unlimited permission to copy, distribute and modify it.
1880 ## ------------------------ ##
1881 ## Autoconf initialization. ##
1882 ## ------------------------ ##
1884 # ac_fn_c_try_compile LINENO
1885 # --------------------------
1886 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1887 ac_fn_c_try_compile ()
1889 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1890 rm -f conftest.$ac_objext
1891 if { { ac_try="$ac_compile"
1893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1894 *) ac_try_echo=$ac_try;;
1896 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1897 $as_echo "$ac_try_echo"; } >&5
1898 (eval "$ac_compile") 2>conftest.err
1900 if test -s conftest.err; then
1901 grep -v '^ *+' conftest.err >conftest.er1
1902 cat conftest.er1 >&5
1903 mv -f conftest.er1 conftest.err
1905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1906 test $ac_status = 0; } && {
1907 test -z "$ac_c_werror_flag" ||
1908 test ! -s conftest.err
1909 } && test -s conftest.$ac_objext; then :
1912 $as_echo "$as_me: failed program was:" >&5
1913 sed 's/^/| /' conftest.$ac_ext >&5
1917 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1918 as_fn_set_status $ac_retval
1920 } # ac_fn_c_try_compile
1922 # ac_fn_c_try_link LINENO
1923 # -----------------------
1924 # Try to link conftest.$ac_ext, and return whether this succeeded.
1927 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1928 rm -f conftest.$ac_objext conftest$ac_exeext
1929 if { { ac_try="$ac_link"
1931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1932 *) ac_try_echo=$ac_try;;
1934 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1935 $as_echo "$ac_try_echo"; } >&5
1936 (eval "$ac_link") 2>conftest.err
1938 if test -s conftest.err; then
1939 grep -v '^ *+' conftest.err >conftest.er1
1940 cat conftest.er1 >&5
1941 mv -f conftest.er1 conftest.err
1943 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1944 test $ac_status = 0; } && {
1945 test -z "$ac_c_werror_flag" ||
1946 test ! -s conftest.err
1947 } && test -s conftest$ac_exeext && {
1948 test "$cross_compiling" = yes ||
1949 $as_test_x conftest$ac_exeext
1953 $as_echo "$as_me: failed program was:" >&5
1954 sed 's/^/| /' conftest.$ac_ext >&5
1958 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1959 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1960 # interfere with the next link command; also delete a directory that is
1961 # left behind by Apple's compiler. We do this before executing the actions.
1962 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1963 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1964 as_fn_set_status $ac_retval
1966 } # ac_fn_c_try_link
1968 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1969 # -------------------------------------------------------
1970 # Tests whether HEADER exists and can be compiled using the include files in
1971 # INCLUDES, setting the cache variable VAR accordingly.
1972 ac_fn_c_check_header_compile ()
1974 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1976 $as_echo_n "checking for $2... " >&6; }
1977 if eval "test \"\${$3+set}\"" = set; then :
1978 $as_echo_n "(cached) " >&6
1980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1981 /* end confdefs.h. */
1985 if ac_fn_c_try_compile "$LINENO"; then :
1990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1994 $as_echo "$ac_res" >&6; }
1995 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1997 } # ac_fn_c_check_header_compile
1999 # ac_fn_c_try_cpp LINENO
2000 # ----------------------
2001 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2004 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2005 if { { ac_try="$ac_cpp conftest.$ac_ext"
2007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2008 *) ac_try_echo=$ac_try;;
2010 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2011 $as_echo "$ac_try_echo"; } >&5
2012 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2014 if test -s conftest.err; then
2015 grep -v '^ *+' conftest.err >conftest.er1
2016 cat conftest.er1 >&5
2017 mv -f conftest.er1 conftest.err
2019 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2020 test $ac_status = 0; } > conftest.i && {
2021 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2022 test ! -s conftest.err
2026 $as_echo "$as_me: failed program was:" >&5
2027 sed 's/^/| /' conftest.$ac_ext >&5
2031 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2032 as_fn_set_status $ac_retval
2036 # ac_fn_c_try_run LINENO
2037 # ----------------------
2038 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2039 # that executables *can* be run.
2042 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2043 if { { ac_try="$ac_link"
2045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2046 *) ac_try_echo=$ac_try;;
2048 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2049 $as_echo "$ac_try_echo"; } >&5
2050 (eval "$ac_link") 2>&5
2052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2053 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2054 { { case "(($ac_try" in
2055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2056 *) ac_try_echo=$ac_try;;
2058 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2059 $as_echo "$ac_try_echo"; } >&5
2060 (eval "$ac_try") 2>&5
2062 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2063 test $ac_status = 0; }; }; then :
2066 $as_echo "$as_me: program exited with status $ac_status" >&5
2067 $as_echo "$as_me: failed program was:" >&5
2068 sed 's/^/| /' conftest.$ac_ext >&5
2070 ac_retval=$ac_status
2072 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2073 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2074 as_fn_set_status $ac_retval
2078 # ac_fn_c_check_func LINENO FUNC VAR
2079 # ----------------------------------
2080 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2081 ac_fn_c_check_func ()
2083 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2085 $as_echo_n "checking for $2... " >&6; }
2086 if eval "test \"\${$3+set}\"" = set; then :
2087 $as_echo_n "(cached) " >&6
2089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2090 /* end confdefs.h. */
2091 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2092 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2093 #define $2 innocuous_$2
2095 /* System header to define __stub macros and hopefully few prototypes,
2096 which can conflict with char $2 (); below.
2097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2098 <limits.h> exists even on freestanding compilers. */
2101 # include <limits.h>
2103 # include <assert.h>
2108 /* Override any GCC internal prototype to avoid an error.
2109 Use char because int might match the return type of a GCC
2110 builtin and then its argument prototype would still apply. */
2115 /* The GNU C library defines this for functions which it implements
2116 to always fail with ENOSYS. Some functions are actually named
2117 something starting with __ and the normal name is an alias. */
2118 #if defined __stub_$2 || defined __stub___$2
2130 if ac_fn_c_try_link "$LINENO"; then :
2135 rm -f core conftest.err conftest.$ac_objext \
2136 conftest$ac_exeext conftest.$ac_ext
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2140 $as_echo "$ac_res" >&6; }
2141 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2143 } # ac_fn_c_check_func
2145 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2146 # -------------------------------------------------------
2147 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2148 # the include files in INCLUDES and setting the cache variable VAR
2150 ac_fn_c_check_header_mongrel ()
2152 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2153 if eval "test \"\${$3+set}\"" = set; then :
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2155 $as_echo_n "checking for $2... " >&6; }
2156 if eval "test \"\${$3+set}\"" = set; then :
2157 $as_echo_n "(cached) " >&6
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2161 $as_echo "$ac_res" >&6; }
2163 # Is the header compilable?
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2165 $as_echo_n "checking $2 usability... " >&6; }
2166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2167 /* end confdefs.h. */
2171 if ac_fn_c_try_compile "$LINENO"; then :
2172 ac_header_compiler=yes
2174 ac_header_compiler=no
2176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2178 $as_echo "$ac_header_compiler" >&6; }
2180 # Is the header present?
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2182 $as_echo_n "checking $2 presence... " >&6; }
2183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2184 /* end confdefs.h. */
2187 if ac_fn_c_try_cpp "$LINENO"; then :
2188 ac_header_preproc=yes
2190 ac_header_preproc=no
2192 rm -f conftest.err conftest.i conftest.$ac_ext
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2194 $as_echo "$ac_header_preproc" >&6; }
2196 # So? What about this header?
2197 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2200 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2202 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2206 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2208 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2210 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2212 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2214 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2215 ( $as_echo "## -------------------------------------------------------- ##
2216 ## Report this to enlightenment-devel@lists.sourceforge.net ##
2217 ## -------------------------------------------------------- ##"
2218 ) | sed "s/^/$as_me: WARNING: /" >&2
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2222 $as_echo_n "checking for $2... " >&6; }
2223 if eval "test \"\${$3+set}\"" = set; then :
2224 $as_echo_n "(cached) " >&6
2226 eval "$3=\$ac_header_compiler"
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2230 $as_echo "$ac_res" >&6; }
2232 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2234 } # ac_fn_c_check_header_mongrel
2235 cat >config.log <<_ACEOF
2236 This file contains any messages produced by compilers while
2237 running configure, to aid debugging if configure makes a mistake.
2239 It was created by edje $as_me 1.7.1, which was
2240 generated by GNU Autoconf 2.67. Invocation command line was
2252 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2253 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2254 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2255 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2256 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2258 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2259 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2261 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2262 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2263 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2264 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2265 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2266 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2267 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2275 test -z "$as_dir" && as_dir=.
2276 $as_echo "PATH: $as_dir"
2292 # Keep a trace of the command line.
2293 # Strip out --no-create and --no-recursion so they do not pile up.
2294 # Strip out --silent because we don't want to record it for future runs.
2295 # Also quote any args containing shell meta-characters.
2296 # Make two passes to allow for proper duplicate-argument suppression.
2300 ac_must_keep_next=false
2306 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2307 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2308 | -silent | --silent | --silen | --sile | --sil)
2311 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2314 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2316 as_fn_append ac_configure_args1 " '$ac_arg'"
2317 if test $ac_must_keep_next = true; then
2318 ac_must_keep_next=false # Got value, back to normal.
2321 *=* | --config-cache | -C | -disable-* | --disable-* \
2322 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2323 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2324 | -with-* | --with-* | -without-* | --without-* | --x)
2325 case "$ac_configure_args0 " in
2326 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2329 -* ) ac_must_keep_next=true ;;
2332 as_fn_append ac_configure_args " '$ac_arg'"
2337 { ac_configure_args0=; unset ac_configure_args0;}
2338 { ac_configure_args1=; unset ac_configure_args1;}
2340 # When interrupted or exit'd, cleanup temporary files, and complete
2341 # config.log. We remove comments because anyway the quotes in there
2342 # would cause problems or look ugly.
2343 # WARNING: Use '\'' to represent an apostrophe within the trap.
2344 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2345 trap 'exit_status=$?
2346 # Save into config.log some information that might help in debugging.
2350 $as_echo "## ---------------- ##
2351 ## Cache variables. ##
2352 ## ---------------- ##"
2354 # The following way of writing the cache mishandles newlines in values,
2356 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2357 eval ac_val=\$$ac_var
2361 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2362 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2365 _ | IFS | as_nl) ;; #(
2366 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2367 *) { eval $ac_var=; unset $ac_var;} ;;
2372 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2373 *${as_nl}ac_space=\ *)
2375 "s/'\''/'\''\\\\'\'''\''/g;
2376 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2379 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2386 $as_echo "## ----------------- ##
2387 ## Output variables. ##
2388 ## ----------------- ##"
2390 for ac_var in $ac_subst_vars
2392 eval ac_val=\$$ac_var
2394 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2396 $as_echo "$ac_var='\''$ac_val'\''"
2400 if test -n "$ac_subst_files"; then
2401 $as_echo "## ------------------- ##
2402 ## File substitutions. ##
2403 ## ------------------- ##"
2405 for ac_var in $ac_subst_files
2407 eval ac_val=\$$ac_var
2409 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2411 $as_echo "$ac_var='\''$ac_val'\''"
2416 if test -s confdefs.h; then
2417 $as_echo "## ----------- ##
2424 test "$ac_signal" != 0 &&
2425 $as_echo "$as_me: caught signal $ac_signal"
2426 $as_echo "$as_me: exit $exit_status"
2428 rm -f core *.core core.conftest.* &&
2429 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2432 for ac_signal in 1 2 13 15; do
2433 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2437 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2438 rm -f -r conftest* confdefs.h
2440 $as_echo "/* confdefs.h */" > confdefs.h
2442 # Predefined preprocessor variables.
2444 cat >>confdefs.h <<_ACEOF
2445 #define PACKAGE_NAME "$PACKAGE_NAME"
2448 cat >>confdefs.h <<_ACEOF
2449 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2452 cat >>confdefs.h <<_ACEOF
2453 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2456 cat >>confdefs.h <<_ACEOF
2457 #define PACKAGE_STRING "$PACKAGE_STRING"
2460 cat >>confdefs.h <<_ACEOF
2461 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2464 cat >>confdefs.h <<_ACEOF
2465 #define PACKAGE_URL "$PACKAGE_URL"
2469 # Let the site file select an alternate cache file if it wants to.
2470 # Prefer an explicitly selected file to automatically selected ones.
2473 if test -n "$CONFIG_SITE"; then
2474 # We do not want a PATH search for config.site.
2475 case $CONFIG_SITE in #((
2476 -*) ac_site_file1=./$CONFIG_SITE;;
2477 */*) ac_site_file1=$CONFIG_SITE;;
2478 *) ac_site_file1=./$CONFIG_SITE;;
2480 elif test "x$prefix" != xNONE; then
2481 ac_site_file1=$prefix/share/config.site
2482 ac_site_file2=$prefix/etc/config.site
2484 ac_site_file1=$ac_default_prefix/share/config.site
2485 ac_site_file2=$ac_default_prefix/etc/config.site
2487 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2489 test "x$ac_site_file" = xNONE && continue
2490 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2492 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2493 sed 's/^/| /' "$ac_site_file" >&5
2495 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2496 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2497 as_fn_error $? "failed to load site script $ac_site_file
2498 See \`config.log' for more details" "$LINENO" 5 ; }
2502 if test -r "$cache_file"; then
2503 # Some versions of bash will fail to source /dev/null (special files
2504 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2505 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2507 $as_echo "$as_me: loading cache $cache_file" >&6;}
2509 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2510 *) . "./$cache_file";;
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2515 $as_echo "$as_me: creating cache $cache_file" >&6;}
2519 # Check that the precious variables saved in the cache have kept the same
2521 ac_cache_corrupted=false
2522 for ac_var in $ac_precious_vars; do
2523 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2524 eval ac_new_set=\$ac_env_${ac_var}_set
2525 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2526 eval ac_new_val=\$ac_env_${ac_var}_value
2527 case $ac_old_set,$ac_new_set in
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2530 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2531 ac_cache_corrupted=: ;;
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2534 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2535 ac_cache_corrupted=: ;;
2538 if test "x$ac_old_val" != "x$ac_new_val"; then
2539 # differences in whitespace do not lead to failure.
2540 ac_old_val_w=`echo x $ac_old_val`
2541 ac_new_val_w=`echo x $ac_new_val`
2542 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2544 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2545 ac_cache_corrupted=:
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2548 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2549 eval $ac_var=\$ac_old_val
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2552 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2554 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2557 # Pass precious variables to config.status.
2558 if test "$ac_new_set" = set; then
2560 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2561 *) ac_arg=$ac_var=$ac_new_val ;;
2563 case " $ac_configure_args " in
2564 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2565 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2569 if $ac_cache_corrupted; then
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2571 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2573 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2574 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2576 ## -------------------- ##
2577 ## Main body of script. ##
2578 ## -------------------- ##
2581 ac_cpp='$CPP $CPPFLAGS'
2582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2591 ac_config_headers="$ac_config_headers config.h"
2596 am__api_version='1.11'
2599 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2600 if test -f "$ac_dir/install-sh"; then
2602 ac_install_sh="$ac_aux_dir/install-sh -c"
2604 elif test -f "$ac_dir/install.sh"; then
2606 ac_install_sh="$ac_aux_dir/install.sh -c"
2608 elif test -f "$ac_dir/shtool"; then
2610 ac_install_sh="$ac_aux_dir/shtool install -c"
2614 if test -z "$ac_aux_dir"; then
2615 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2618 # These three variables are undocumented and unsupported,
2619 # and are intended to be withdrawn in a future Autoconf release.
2620 # They can cause serious problems if a builder's source tree is in a directory
2621 # whose full name contains unusual characters.
2622 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2623 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2624 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2627 # Find a good install program. We prefer a C program (faster),
2628 # so one script is as good as another. But avoid the broken or
2629 # incompatible versions:
2630 # SysV /etc/install, /usr/sbin/install
2631 # SunOS /usr/etc/install
2632 # IRIX /sbin/install
2634 # AmigaOS /C/install, which installs bootblocks on floppy discs
2635 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2636 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2637 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2638 # OS/2's system install, which has a completely different semantic
2639 # ./install, which can be erroneously created by make from ./install.sh.
2640 # Reject install programs that cannot install multiple files.
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2642 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2643 if test -z "$INSTALL"; then
2644 if test "${ac_cv_path_install+set}" = set; then :
2645 $as_echo_n "(cached) " >&6
2647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2651 test -z "$as_dir" && as_dir=.
2652 # Account for people who put trailing slashes in PATH elements.
2653 case $as_dir/ in #((
2654 ./ | .// | /[cC]/* | \
2655 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2656 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2659 # OSF1 and SCO ODT 3.0 have their own names for install.
2660 # Don't use installbsd from OSF since it installs stuff as root
2662 for ac_prog in ginstall scoinst install; do
2663 for ac_exec_ext in '' $ac_executable_extensions; do
2664 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2665 if test $ac_prog = install &&
2666 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2667 # AIX install. It has an incompatible calling convention.
2669 elif test $ac_prog = install &&
2670 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2671 # program-specific install script used by HP pwplus--don't use.
2674 rm -rf conftest.one conftest.two conftest.dir
2675 echo one > conftest.one
2676 echo two > conftest.two
2678 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2679 test -s conftest.one && test -s conftest.two &&
2680 test -s conftest.dir/conftest.one &&
2681 test -s conftest.dir/conftest.two
2683 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2696 rm -rf conftest.one conftest.two conftest.dir
2699 if test "${ac_cv_path_install+set}" = set; then
2700 INSTALL=$ac_cv_path_install
2702 # As a last resort, use the slow shell script. Don't cache a
2703 # value for INSTALL within a source directory, because that will
2704 # break other packages using the cache if that directory is
2705 # removed, or if the value is a relative name.
2706 INSTALL=$ac_install_sh
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2710 $as_echo "$INSTALL" >&6; }
2712 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2713 # It thinks the first close brace ends the variable substitution.
2714 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2716 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2718 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2721 $as_echo_n "checking whether build environment is sane... " >&6; }
2724 echo timestamp > conftest.file
2725 # Reject unsafe characters in $srcdir or the absolute working directory
2726 # name. Accept space and tab only in the latter.
2730 *[\\\"\#\$\&\'\`$am_lf]*)
2731 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2734 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2735 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2738 # Do `set' in a subshell so we don't clobber the current shell's
2739 # arguments. Must try -L first in case configure is actually a
2740 # symlink; some systems play weird games with the mod time of symlinks
2741 # (eg FreeBSD returns the mod time of the symlink's containing
2744 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2745 if test "$*" = "X"; then
2747 set X `ls -t "$srcdir/configure" conftest.file`
2750 if test "$*" != "X $srcdir/configure conftest.file" \
2751 && test "$*" != "X conftest.file $srcdir/configure"; then
2753 # If neither matched, then we have a broken ls. This can happen
2754 # if, for instance, CONFIG_SHELL is bash and it inherits a
2755 # broken ls alias from the environment. This has actually
2756 # happened. Such a system could not be considered "sane".
2757 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2758 alias in your environment" "$LINENO" 5
2761 test "$2" = conftest.file
2767 as_fn_error $? "newly created file is older than distributed files!
2768 Check your system clock" "$LINENO" 5
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2771 $as_echo "yes" >&6; }
2772 test "$program_prefix" != NONE &&
2773 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2774 # Use a double $ so make ignores it.
2775 test "$program_suffix" != NONE &&
2776 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2777 # Double any \ or $.
2778 # By default was `s,x,x', remove it if useless.
2779 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2780 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2782 # expand $ac_aux_dir to an absolute path
2783 am_aux_dir=`cd $ac_aux_dir && pwd`
2785 if test x"${MISSING+set}" != xset; then
2788 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2790 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2793 # Use eval to expand $SHELL
2794 if eval "$MISSING --run true"; then
2795 am_missing_run="$MISSING --run "
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2799 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2802 if test x"${install_sh}" != xset; then
2805 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2807 install_sh="\${SHELL} $am_aux_dir/install-sh"
2811 # Installed binaries are usually stripped using `strip' when the user
2812 # run `make install-strip'. However `strip' might not be the right
2813 # tool to use in cross-compilation environments, therefore Automake
2814 # will honor the `STRIP' environment variable to overrule this program.
2815 if test "$cross_compiling" != no; then
2816 if test -n "$ac_tool_prefix"; then
2817 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2818 set dummy ${ac_tool_prefix}strip; ac_word=$2
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2820 $as_echo_n "checking for $ac_word... " >&6; }
2821 if test "${ac_cv_prog_STRIP+set}" = set; then :
2822 $as_echo_n "(cached) " >&6
2824 if test -n "$STRIP"; then
2825 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2831 test -z "$as_dir" && as_dir=.
2832 for ac_exec_ext in '' $ac_executable_extensions; do
2833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2834 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2844 STRIP=$ac_cv_prog_STRIP
2845 if test -n "$STRIP"; then
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2847 $as_echo "$STRIP" >&6; }
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2850 $as_echo "no" >&6; }
2855 if test -z "$ac_cv_prog_STRIP"; then
2857 # Extract the first word of "strip", so it can be a program name with args.
2858 set dummy strip; ac_word=$2
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2860 $as_echo_n "checking for $ac_word... " >&6; }
2861 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2862 $as_echo_n "(cached) " >&6
2864 if test -n "$ac_ct_STRIP"; then
2865 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2871 test -z "$as_dir" && as_dir=.
2872 for ac_exec_ext in '' $ac_executable_extensions; do
2873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2874 ac_cv_prog_ac_ct_STRIP="strip"
2875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2884 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2885 if test -n "$ac_ct_STRIP"; then
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2887 $as_echo "$ac_ct_STRIP" >&6; }
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2890 $as_echo "no" >&6; }
2893 if test "x$ac_ct_STRIP" = x; then
2896 case $cross_compiling:$ac_tool_warned in
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2899 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2900 ac_tool_warned=yes ;;
2905 STRIP="$ac_cv_prog_STRIP"
2909 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2912 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2913 if test -z "$MKDIR_P"; then
2914 if test "${ac_cv_path_mkdir+set}" = set; then :
2915 $as_echo_n "(cached) " >&6
2917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2918 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2921 test -z "$as_dir" && as_dir=.
2922 for ac_prog in mkdir gmkdir; do
2923 for ac_exec_ext in '' $ac_executable_extensions; do
2924 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2925 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2926 'mkdir (GNU coreutils) '* | \
2927 'mkdir (coreutils) '* | \
2928 'mkdir (fileutils) '4.1*)
2929 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2939 test -d ./--version && rmdir ./--version
2940 if test "${ac_cv_path_mkdir+set}" = set; then
2941 MKDIR_P="$ac_cv_path_mkdir -p"
2943 # As a last resort, use the slow shell script. Don't cache a
2944 # value for MKDIR_P within a source directory, because that will
2945 # break other packages using the cache if that directory is
2946 # removed, or if the value is a relative name.
2947 MKDIR_P="$ac_install_sh -d"
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2951 $as_echo "$MKDIR_P" >&6; }
2955 [\\/$]* | ?:[\\/]*) ;;
2956 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2959 for ac_prog in gawk mawk nawk awk
2961 # Extract the first word of "$ac_prog", so it can be a program name with args.
2962 set dummy $ac_prog; ac_word=$2
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2964 $as_echo_n "checking for $ac_word... " >&6; }
2965 if test "${ac_cv_prog_AWK+set}" = set; then :
2966 $as_echo_n "(cached) " >&6
2968 if test -n "$AWK"; then
2969 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2975 test -z "$as_dir" && as_dir=.
2976 for ac_exec_ext in '' $ac_executable_extensions; do
2977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2978 ac_cv_prog_AWK="$ac_prog"
2979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2989 if test -n "$AWK"; then
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2991 $as_echo "$AWK" >&6; }
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2994 $as_echo "no" >&6; }
2998 test -n "$AWK" && break
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3002 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3004 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3005 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
3006 $as_echo_n "(cached) " >&6
3008 cat >conftest.make <<\_ACEOF
3011 @echo '@@@%%%=$(MAKE)=@@@%%%'
3013 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3014 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3016 eval ac_cv_prog_make_${ac_make}_set=yes;;
3018 eval ac_cv_prog_make_${ac_make}_set=no;;
3022 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3024 $as_echo "yes" >&6; }
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3028 $as_echo "no" >&6; }
3029 SET_MAKE="MAKE=${MAKE-make}"
3032 rm -rf .tst 2>/dev/null
3033 mkdir .tst 2>/dev/null
3034 if test -d .tst; then
3039 rmdir .tst 2>/dev/null
3041 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3042 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3043 # is not polluted with repeated "-I."
3044 am__isrc=' -I$(srcdir)'
3045 # test to see if srcdir already configured
3046 if test -f $srcdir/config.status; then
3047 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3051 # test whether we have cygpath
3052 if test -z "$CYGPATH_W"; then
3053 if (cygpath --version) >/dev/null 2>/dev/null; then
3054 CYGPATH_W='cygpath -w'
3061 # Define the identity of the package.
3066 cat >>confdefs.h <<_ACEOF
3067 #define PACKAGE "$PACKAGE"
3071 cat >>confdefs.h <<_ACEOF
3072 #define VERSION "$VERSION"
3075 # Some tools Automake needs.
3077 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3080 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3083 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3086 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3089 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3091 # We need awk for the "check" target. The system "awk" is bad on
3093 # Always define AMTAR for backward compatibility.
3095 AMTAR=${AMTAR-"${am_missing_run}tar"}
3097 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3103 # Check whether --enable-silent-rules was given.
3104 if test "${enable_silent_rules+set}" = set; then :
3105 enableval=$enable_silent_rules;
3108 case $enable_silent_rules in
3109 yes) AM_DEFAULT_VERBOSITY=0;;
3110 no) AM_DEFAULT_VERBOSITY=1;;
3111 *) AM_DEFAULT_VERBOSITY=0;;
3116 # Make sure we can run config.sub.
3117 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3118 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3121 $as_echo_n "checking build system type... " >&6; }
3122 if test "${ac_cv_build+set}" = set; then :
3123 $as_echo_n "(cached) " >&6
3125 ac_build_alias=$build_alias
3126 test "x$ac_build_alias" = x &&
3127 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3128 test "x$ac_build_alias" = x &&
3129 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3130 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3131 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3135 $as_echo "$ac_cv_build" >&6; }
3136 case $ac_cv_build in
3138 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
3141 ac_save_IFS=$IFS; IFS='-'
3147 # Remember, the first character of IFS is used to create $*,
3148 # except with old shells:
3151 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3155 $as_echo_n "checking host system type... " >&6; }
3156 if test "${ac_cv_host+set}" = set; then :
3157 $as_echo_n "(cached) " >&6
3159 if test "x$host_alias" = x; then
3160 ac_cv_host=$ac_cv_build
3162 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3163 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3168 $as_echo "$ac_cv_host" >&6; }
3171 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
3174 ac_save_IFS=$IFS; IFS='-'
3180 # Remember, the first character of IFS is used to create $*,
3181 # except with old shells:
3184 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3187 enable_win32_dll=yes
3190 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
3191 if test -n "$ac_tool_prefix"; then
3192 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3193 set dummy ${ac_tool_prefix}as; ac_word=$2
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3195 $as_echo_n "checking for $ac_word... " >&6; }
3196 if test "${ac_cv_prog_AS+set}" = set; then :
3197 $as_echo_n "(cached) " >&6
3199 if test -n "$AS"; then
3200 ac_cv_prog_AS="$AS" # Let the user override the test.
3202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3206 test -z "$as_dir" && as_dir=.
3207 for ac_exec_ext in '' $ac_executable_extensions; do
3208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3209 ac_cv_prog_AS="${ac_tool_prefix}as"
3210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3220 if test -n "$AS"; then
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
3222 $as_echo "$AS" >&6; }
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3225 $as_echo "no" >&6; }
3230 if test -z "$ac_cv_prog_AS"; then
3232 # Extract the first word of "as", so it can be a program name with args.
3233 set dummy as; ac_word=$2
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3235 $as_echo_n "checking for $ac_word... " >&6; }
3236 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
3237 $as_echo_n "(cached) " >&6
3239 if test -n "$ac_ct_AS"; then
3240 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3246 test -z "$as_dir" && as_dir=.
3247 for ac_exec_ext in '' $ac_executable_extensions; do
3248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3249 ac_cv_prog_ac_ct_AS="as"
3250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3259 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3260 if test -n "$ac_ct_AS"; then
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
3262 $as_echo "$ac_ct_AS" >&6; }
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3265 $as_echo "no" >&6; }
3268 if test "x$ac_ct_AS" = x; then
3271 case $cross_compiling:$ac_tool_warned in
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3274 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3275 ac_tool_warned=yes ;;
3283 if test -n "$ac_tool_prefix"; then
3284 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3285 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3287 $as_echo_n "checking for $ac_word... " >&6; }
3288 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
3289 $as_echo_n "(cached) " >&6
3291 if test -n "$DLLTOOL"; then
3292 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3298 test -z "$as_dir" && as_dir=.
3299 for ac_exec_ext in '' $ac_executable_extensions; do
3300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3301 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3311 DLLTOOL=$ac_cv_prog_DLLTOOL
3312 if test -n "$DLLTOOL"; then
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
3314 $as_echo "$DLLTOOL" >&6; }
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3317 $as_echo "no" >&6; }
3322 if test -z "$ac_cv_prog_DLLTOOL"; then
3323 ac_ct_DLLTOOL=$DLLTOOL
3324 # Extract the first word of "dlltool", so it can be a program name with args.
3325 set dummy dlltool; ac_word=$2
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3327 $as_echo_n "checking for $ac_word... " >&6; }
3328 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
3329 $as_echo_n "(cached) " >&6
3331 if test -n "$ac_ct_DLLTOOL"; then
3332 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3338 test -z "$as_dir" && as_dir=.
3339 for ac_exec_ext in '' $ac_executable_extensions; do
3340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3341 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3351 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3352 if test -n "$ac_ct_DLLTOOL"; then
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
3354 $as_echo "$ac_ct_DLLTOOL" >&6; }
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3357 $as_echo "no" >&6; }
3360 if test "x$ac_ct_DLLTOOL" = x; then
3363 case $cross_compiling:$ac_tool_warned in
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3366 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3367 ac_tool_warned=yes ;;
3369 DLLTOOL=$ac_ct_DLLTOOL
3372 DLLTOOL="$ac_cv_prog_DLLTOOL"
3375 if test -n "$ac_tool_prefix"; then
3376 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
3377 set dummy ${ac_tool_prefix}objdump; ac_word=$2
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3379 $as_echo_n "checking for $ac_word... " >&6; }
3380 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
3381 $as_echo_n "(cached) " >&6
3383 if test -n "$OBJDUMP"; then
3384 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
3386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3390 test -z "$as_dir" && as_dir=.
3391 for ac_exec_ext in '' $ac_executable_extensions; do
3392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3393 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
3394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3403 OBJDUMP=$ac_cv_prog_OBJDUMP
3404 if test -n "$OBJDUMP"; then
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
3406 $as_echo "$OBJDUMP" >&6; }
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3409 $as_echo "no" >&6; }
3414 if test -z "$ac_cv_prog_OBJDUMP"; then
3415 ac_ct_OBJDUMP=$OBJDUMP
3416 # Extract the first word of "objdump", so it can be a program name with args.
3417 set dummy objdump; ac_word=$2
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3419 $as_echo_n "checking for $ac_word... " >&6; }
3420 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
3421 $as_echo_n "(cached) " >&6
3423 if test -n "$ac_ct_OBJDUMP"; then
3424 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
3426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3430 test -z "$as_dir" && as_dir=.
3431 for ac_exec_ext in '' $ac_executable_extensions; do
3432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3433 ac_cv_prog_ac_ct_OBJDUMP="objdump"
3434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3443 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
3444 if test -n "$ac_ct_OBJDUMP"; then
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
3446 $as_echo "$ac_ct_OBJDUMP" >&6; }
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3449 $as_echo "no" >&6; }
3452 if test "x$ac_ct_OBJDUMP" = x; then
3455 case $cross_compiling:$ac_tool_warned in
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3458 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3459 ac_tool_warned=yes ;;
3461 OBJDUMP=$ac_ct_OBJDUMP
3464 OBJDUMP="$ac_cv_prog_OBJDUMP"
3470 test -z "$AS" && AS=as
3476 test -z "$DLLTOOL" && DLLTOOL=dlltool
3482 test -z "$OBJDUMP" && OBJDUMP=objdump
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3493 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3498 macro_version='2.2.6b'
3499 macro_revision='1.3017'
3513 ltmain="$ac_aux_dir/ltmain.sh"
3515 DEPDIR="${am__leading_dot}deps"
3517 ac_config_commands="$ac_config_commands depfiles"
3520 am_make=${MAKE-make}
3521 cat > confinc << 'END'
3523 @echo this is the am__doit target
3526 # If we don't find an include directive, just comment out the code.
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3528 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3532 # First try GNU make style include.
3533 echo "include confinc" > confmf
3534 # Ignore all kinds of additional output from `make'.
3535 case `$am_make -s -f confmf 2> /dev/null` in #(
3536 *the\ am__doit\ target*)
3542 # Now try BSD make style include.
3543 if test "$am__include" = "#"; then
3544 echo '.include "confinc"' > confmf
3545 case `$am_make -s -f confmf 2> /dev/null` in #(
3546 *the\ am__doit\ target*)
3547 am__include=.include
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3556 $as_echo "$_am_result" >&6; }
3557 rm -f confinc confmf
3559 # Check whether --enable-dependency-tracking was given.
3560 if test "${enable_dependency_tracking+set}" = set; then :
3561 enableval=$enable_dependency_tracking;
3564 if test "x$enable_dependency_tracking" != xno; then
3565 am_depcomp="$ac_aux_dir/depcomp"
3568 if test "x$enable_dependency_tracking" != xno; then
3578 ac_cpp='$CPP $CPPFLAGS'
3579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3582 if test -n "$ac_tool_prefix"; then
3583 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3584 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3586 $as_echo_n "checking for $ac_word... " >&6; }
3587 if test "${ac_cv_prog_CC+set}" = set; then :
3588 $as_echo_n "(cached) " >&6
3590 if test -n "$CC"; then
3591 ac_cv_prog_CC="$CC" # Let the user override the test.
3593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3597 test -z "$as_dir" && as_dir=.
3598 for ac_exec_ext in '' $ac_executable_extensions; do
3599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3600 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3611 if test -n "$CC"; then
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3613 $as_echo "$CC" >&6; }
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3616 $as_echo "no" >&6; }
3621 if test -z "$ac_cv_prog_CC"; then
3623 # Extract the first word of "gcc", so it can be a program name with args.
3624 set dummy gcc; ac_word=$2
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3626 $as_echo_n "checking for $ac_word... " >&6; }
3627 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3628 $as_echo_n "(cached) " >&6
3630 if test -n "$ac_ct_CC"; then
3631 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3637 test -z "$as_dir" && as_dir=.
3638 for ac_exec_ext in '' $ac_executable_extensions; do
3639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3640 ac_cv_prog_ac_ct_CC="gcc"
3641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3650 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3651 if test -n "$ac_ct_CC"; then
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3653 $as_echo "$ac_ct_CC" >&6; }
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3656 $as_echo "no" >&6; }
3659 if test "x$ac_ct_CC" = x; then
3662 case $cross_compiling:$ac_tool_warned in
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3665 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3666 ac_tool_warned=yes ;;
3674 if test -z "$CC"; then
3675 if test -n "$ac_tool_prefix"; then
3676 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3677 set dummy ${ac_tool_prefix}cc; ac_word=$2
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3679 $as_echo_n "checking for $ac_word... " >&6; }
3680 if test "${ac_cv_prog_CC+set}" = set; then :
3681 $as_echo_n "(cached) " >&6
3683 if test -n "$CC"; then
3684 ac_cv_prog_CC="$CC" # Let the user override the test.
3686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3690 test -z "$as_dir" && as_dir=.
3691 for ac_exec_ext in '' $ac_executable_extensions; do
3692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3693 ac_cv_prog_CC="${ac_tool_prefix}cc"
3694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3704 if test -n "$CC"; then
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3706 $as_echo "$CC" >&6; }
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3709 $as_echo "no" >&6; }
3715 if test -z "$CC"; then
3716 # Extract the first word of "cc", so it can be a program name with args.
3717 set dummy cc; ac_word=$2
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3719 $as_echo_n "checking for $ac_word... " >&6; }
3720 if test "${ac_cv_prog_CC+set}" = set; then :
3721 $as_echo_n "(cached) " >&6
3723 if test -n "$CC"; then
3724 ac_cv_prog_CC="$CC" # Let the user override the test.
3727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3731 test -z "$as_dir" && as_dir=.
3732 for ac_exec_ext in '' $ac_executable_extensions; do
3733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3734 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3735 ac_prog_rejected=yes
3739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3746 if test $ac_prog_rejected = yes; then
3747 # We found a bogon in the path, so make sure we never use it.
3748 set dummy $ac_cv_prog_CC
3750 if test $# != 0; then
3751 # We chose a different compiler from the bogus one.
3752 # However, it has the same basename, so the bogon will be chosen
3753 # first if we set CC to just the basename; use the full file name.
3755 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3761 if test -n "$CC"; then
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3763 $as_echo "$CC" >&6; }
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3766 $as_echo "no" >&6; }
3771 if test -z "$CC"; then
3772 if test -n "$ac_tool_prefix"; then
3773 for ac_prog in cl.exe
3775 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3776 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3778 $as_echo_n "checking for $ac_word... " >&6; }
3779 if test "${ac_cv_prog_CC+set}" = set; then :
3780 $as_echo_n "(cached) " >&6
3782 if test -n "$CC"; then
3783 ac_cv_prog_CC="$CC" # Let the user override the test.
3785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3789 test -z "$as_dir" && as_dir=.
3790 for ac_exec_ext in '' $ac_executable_extensions; do
3791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3792 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3803 if test -n "$CC"; then
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3805 $as_echo "$CC" >&6; }
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3808 $as_echo "no" >&6; }
3812 test -n "$CC" && break
3815 if test -z "$CC"; then
3817 for ac_prog in cl.exe
3819 # Extract the first word of "$ac_prog", so it can be a program name with args.
3820 set dummy $ac_prog; ac_word=$2
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3822 $as_echo_n "checking for $ac_word... " >&6; }
3823 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3824 $as_echo_n "(cached) " >&6
3826 if test -n "$ac_ct_CC"; then
3827 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3833 test -z "$as_dir" && as_dir=.
3834 for ac_exec_ext in '' $ac_executable_extensions; do
3835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3836 ac_cv_prog_ac_ct_CC="$ac_prog"
3837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3846 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3847 if test -n "$ac_ct_CC"; then
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3849 $as_echo "$ac_ct_CC" >&6; }
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3852 $as_echo "no" >&6; }
3856 test -n "$ac_ct_CC" && break
3859 if test "x$ac_ct_CC" = x; then
3862 case $cross_compiling:$ac_tool_warned in
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3865 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3866 ac_tool_warned=yes ;;
3875 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3876 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3877 as_fn_error $? "no acceptable C compiler found in \$PATH
3878 See \`config.log' for more details" "$LINENO" 5 ; }
3880 # Provide some information about the compiler.
3881 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3884 for ac_option in --version -v -V -qversion; do
3885 { { ac_try="$ac_compiler $ac_option >&5"
3887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3888 *) ac_try_echo=$ac_try;;
3890 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3891 $as_echo "$ac_try_echo"; } >&5
3892 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3894 if test -s conftest.err; then
3896 ... rest of stderr output deleted ...
3897 10q' conftest.err >conftest.er1
3898 cat conftest.er1 >&5
3900 rm -f conftest.er1 conftest.err
3901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3902 test $ac_status = 0; }
3905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3906 /* end confdefs.h. */
3916 ac_clean_files_save=$ac_clean_files
3917 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3918 # Try to create an executable without -o first, disregard a.out.
3919 # It will help us diagnose broken compilers, and finding out an intuition
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3922 $as_echo_n "checking whether the C compiler works... " >&6; }
3923 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3925 # The possible output files:
3926 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3929 for ac_file in $ac_files
3932 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3933 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3938 if { { ac_try="$ac_link_default"
3940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3941 *) ac_try_echo=$ac_try;;
3943 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3944 $as_echo "$ac_try_echo"; } >&5
3945 (eval "$ac_link_default") 2>&5
3947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3948 test $ac_status = 0; }; then :
3949 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3950 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3951 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3952 # so that the user can short-circuit this test for compilers unknown to
3954 for ac_file in $ac_files ''
3956 test -f "$ac_file" || continue
3958 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3961 # We found the default executable, but exeext='' is most
3965 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3967 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3969 # We set ac_cv_exeext here because the later test for it is not
3970 # safe: cross compilers may not add the suffix if given an `-o'
3971 # argument, so we may need to know it at that point already.
3972 # Even if this section looks crufty: it has the advantage of
3979 test "$ac_cv_exeext" = no && ac_cv_exeext=
3984 if test -z "$ac_file"; then :
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3986 $as_echo "no" >&6; }
3987 $as_echo "$as_me: failed program was:" >&5
3988 sed 's/^/| /' conftest.$ac_ext >&5
3990 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3991 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3992 as_fn_error 77 "C compiler cannot create executables
3993 See \`config.log' for more details" "$LINENO" 5 ; }
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3996 $as_echo "yes" >&6; }
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3999 $as_echo_n "checking for C compiler default output file name... " >&6; }
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4001 $as_echo "$ac_file" >&6; }
4002 ac_exeext=$ac_cv_exeext
4004 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4005 ac_clean_files=$ac_clean_files_save
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4007 $as_echo_n "checking for suffix of executables... " >&6; }
4008 if { { ac_try="$ac_link"
4010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4011 *) ac_try_echo=$ac_try;;
4013 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4014 $as_echo "$ac_try_echo"; } >&5
4015 (eval "$ac_link") 2>&5
4017 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4018 test $ac_status = 0; }; then :
4019 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4020 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4021 # work properly (i.e., refer to `conftest.exe'), while it won't with
4023 for ac_file in conftest.exe conftest conftest.*; do
4024 test -f "$ac_file" || continue
4026 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4027 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4033 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4034 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4035 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4036 See \`config.log' for more details" "$LINENO" 5 ; }
4038 rm -f conftest conftest$ac_cv_exeext
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4040 $as_echo "$ac_cv_exeext" >&6; }
4042 rm -f conftest.$ac_ext
4043 EXEEXT=$ac_cv_exeext
4045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4046 /* end confdefs.h. */
4051 FILE *f = fopen ("conftest.out", "w");
4052 return ferror (f) || fclose (f) != 0;
4058 ac_clean_files="$ac_clean_files conftest.out"
4059 # Check that the compiler produces executables we can run. If not, either
4060 # the compiler is broken, or we cross compile.
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4062 $as_echo_n "checking whether we are cross compiling... " >&6; }
4063 if test "$cross_compiling" != yes; then
4064 { { ac_try="$ac_link"
4066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4067 *) ac_try_echo=$ac_try;;
4069 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4070 $as_echo "$ac_try_echo"; } >&5
4071 (eval "$ac_link") 2>&5
4073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4074 test $ac_status = 0; }
4075 if { ac_try='./conftest$ac_cv_exeext'
4076 { { case "(($ac_try" in
4077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4078 *) ac_try_echo=$ac_try;;
4080 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4081 $as_echo "$ac_try_echo"; } >&5
4082 (eval "$ac_try") 2>&5
4084 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4085 test $ac_status = 0; }; }; then
4088 if test "$cross_compiling" = maybe; then
4091 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4092 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4093 as_fn_error $? "cannot run C compiled programs.
4094 If you meant to cross compile, use \`--host'.
4095 See \`config.log' for more details" "$LINENO" 5 ; }
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4100 $as_echo "$cross_compiling" >&6; }
4102 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4103 ac_clean_files=$ac_clean_files_save
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4105 $as_echo_n "checking for suffix of object files... " >&6; }
4106 if test "${ac_cv_objext+set}" = set; then :
4107 $as_echo_n "(cached) " >&6
4109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4110 /* end confdefs.h. */
4120 rm -f conftest.o conftest.obj
4121 if { { ac_try="$ac_compile"
4123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4124 *) ac_try_echo=$ac_try;;
4126 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4127 $as_echo "$ac_try_echo"; } >&5
4128 (eval "$ac_compile") 2>&5
4130 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4131 test $ac_status = 0; }; then :
4132 for ac_file in conftest.o conftest.obj conftest.*; do
4133 test -f "$ac_file" || continue;
4135 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4136 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4141 $as_echo "$as_me: failed program was:" >&5
4142 sed 's/^/| /' conftest.$ac_ext >&5
4144 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4145 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4146 as_fn_error $? "cannot compute suffix of object files: cannot compile
4147 See \`config.log' for more details" "$LINENO" 5 ; }
4149 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4152 $as_echo "$ac_cv_objext" >&6; }
4153 OBJEXT=$ac_cv_objext
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4156 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4157 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4158 $as_echo_n "(cached) " >&6
4160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4161 /* end confdefs.h. */
4174 if ac_fn_c_try_compile "$LINENO"; then :
4179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4180 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4184 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4185 if test $ac_compiler_gnu = yes; then
4190 ac_test_CFLAGS=${CFLAGS+set}
4191 ac_save_CFLAGS=$CFLAGS
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4193 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4194 if test "${ac_cv_prog_cc_g+set}" = set; then :
4195 $as_echo_n "(cached) " >&6
4197 ac_save_c_werror_flag=$ac_c_werror_flag
4198 ac_c_werror_flag=yes
4201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4202 /* end confdefs.h. */
4212 if ac_fn_c_try_compile "$LINENO"; then :
4216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4217 /* end confdefs.h. */
4227 if ac_fn_c_try_compile "$LINENO"; then :
4230 ac_c_werror_flag=$ac_save_c_werror_flag
4232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4233 /* end confdefs.h. */
4243 if ac_fn_c_try_compile "$LINENO"; then :
4246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4251 ac_c_werror_flag=$ac_save_c_werror_flag
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4254 $as_echo "$ac_cv_prog_cc_g" >&6; }
4255 if test "$ac_test_CFLAGS" = set; then
4256 CFLAGS=$ac_save_CFLAGS
4257 elif test $ac_cv_prog_cc_g = yes; then
4258 if test "$GCC" = yes; then
4264 if test "$GCC" = yes; then
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4271 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4272 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4273 $as_echo_n "(cached) " >&6
4275 ac_cv_prog_cc_c89=no
4277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4278 /* end confdefs.h. */
4281 #include <sys/types.h>
4282 #include <sys/stat.h>
4283 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4284 struct buf { int x; };
4285 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4286 static char *e (p, i)
4292 static char *f (char * (*g) (char **, int), char **p, ...)
4297 s = g (p, va_arg (v,int));
4302 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4303 function prototypes and stuff, but not '\xHH' hex character constants.
4304 These don't provoke an error unfortunately, instead are silently treated
4305 as 'x'. The following induces an error, until -std is added to get
4306 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4307 array size at least. It's necessary to write '\x00'==0 to get something
4308 that's true only with -std. */
4309 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4311 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4312 inside strings and character constants. */
4314 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4316 int test (int i, double x);
4317 struct s1 {int (*f) (int a);};
4318 struct s2 {int (*f) (double a);};
4319 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4325 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4330 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4331 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4333 CC="$ac_save_CC $ac_arg"
4334 if ac_fn_c_try_compile "$LINENO"; then :
4335 ac_cv_prog_cc_c89=$ac_arg
4337 rm -f core conftest.err conftest.$ac_objext
4338 test "x$ac_cv_prog_cc_c89" != "xno" && break
4340 rm -f conftest.$ac_ext
4345 case "x$ac_cv_prog_cc_c89" in
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4348 $as_echo "none needed" >&6; } ;;
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4351 $as_echo "unsupported" >&6; } ;;
4353 CC="$CC $ac_cv_prog_cc_c89"
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4355 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4357 if test "x$ac_cv_prog_cc_c89" != xno; then :
4362 ac_cpp='$CPP $CPPFLAGS'
4363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4367 depcc="$CC" am_compiler_list=
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4370 $as_echo_n "checking dependency style of $depcc... " >&6; }
4371 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4372 $as_echo_n "(cached) " >&6
4374 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4375 # We make a subdir and do the tests there. Otherwise we can end up
4376 # making bogus files that we don't know about and never remove. For
4377 # instance it was reported that on HP-UX the gcc test will end up
4378 # making a dummy file named `D' -- because `-MD' means `put the output
4381 # Copy depcomp to subdir because otherwise we won't find it if we're
4382 # using a relative directory.
4383 cp "$am_depcomp" conftest.dir
4385 # We will build objects and dependencies in a subdirectory because
4386 # it helps to detect inapplicable dependency modes. For instance
4387 # both Tru64's cc and ICC support -MD to output dependencies as a
4388 # side effect of compilation, but ICC will put the dependencies in
4389 # the current directory while Tru64 will put them in the object
4393 am_cv_CC_dependencies_compiler_type=none
4394 if test "$am_compiler_list" = ""; then
4395 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4398 case " $depcc " in #(
4399 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4402 for depmode in $am_compiler_list; do
4403 # Setup a source with many dependencies, because some compilers
4404 # like to wrap large dependency lists on column 80 (with \), and
4405 # we should not choose a depcomp mode which is confused by this.
4407 # We need to recreate these files for each test, as the compiler may
4408 # overwrite some of them when testing with obscure command lines.
4409 # This happens at least with the AIX C compiler.
4411 for i in 1 2 3 4 5 6; do
4412 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4413 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4414 # Solaris 8's {/usr,}/bin/sh.
4415 touch sub/conftst$i.h
4417 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4419 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4420 # mode. It turns out that the SunPro C++ compiler does not properly
4421 # handle `-M -o', and we need to detect this. Also, some Intel
4422 # versions had trouble with output in subdirs
4423 am__obj=sub/conftest.${OBJEXT-o}
4424 am__minus_obj="-o $am__obj"
4427 # This depmode causes a compiler race in universal mode.
4428 test "$am__universal" = false || continue
4431 # after this tag, mechanisms are not by side-effect, so they'll
4432 # only be used when explicitly requested
4433 if test "x$enable_dependency_tracking" = xyes; then
4439 msvisualcpp | msvcmsys)
4440 # This compiler won't grok `-c -o', but also, the minuso test has
4441 # not run yet. These depmodes are late enough in the game, and
4442 # so weak that their functioning should not be impacted.
4443 am__obj=conftest.${OBJEXT-o}
4448 if depmode=$depmode \
4449 source=sub/conftest.c object=$am__obj \
4450 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4451 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4452 >/dev/null 2>conftest.err &&
4453 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4454 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4455 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4456 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4457 # icc doesn't choke on unknown options, it will just issue warnings
4458 # or remarks (even with -Werror). So we grep stderr for any message
4459 # that says an option was ignored or not supported.
4460 # When given -MP, icc 7.0 and 7.1 complain thusly:
4461 # icc: Command line warning: ignoring option '-M'; no argument required
4462 # The diagnosis changed in icc 8.0:
4463 # icc: Command line remark: option '-MP' not supported
4464 if (grep 'ignoring option' conftest.err ||
4465 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4466 am_cv_CC_dependencies_compiler_type=$depmode
4475 am_cv_CC_dependencies_compiler_type=none
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4480 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4481 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4484 test "x$enable_dependency_tracking" != xno \
4485 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4487 am__fastdepCC_FALSE='#'
4489 am__fastdepCC_TRUE='#'
4490 am__fastdepCC_FALSE=
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4495 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4496 if test "${ac_cv_path_SED+set}" = set; then :
4497 $as_echo_n "(cached) " >&6
4499 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4500 for ac_i in 1 2 3 4 5 6 7; do
4501 ac_script="$ac_script$as_nl$ac_script"
4503 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4504 { ac_script=; unset ac_script;}
4505 if test -z "$SED"; then
4506 ac_path_SED_found=false
4507 # Loop through the user's path and test for each of PROGNAME-LIST
4508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4512 test -z "$as_dir" && as_dir=.
4513 for ac_prog in sed gsed; do
4514 for ac_exec_ext in '' $ac_executable_extensions; do
4515 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4516 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4517 # Check for GNU ac_path_SED and select it if it is found.
4518 # Check for GNU $ac_path_SED
4519 case `"$ac_path_SED" --version 2>&1` in
4521 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4524 $as_echo_n 0123456789 >"conftest.in"
4527 cat "conftest.in" "conftest.in" >"conftest.tmp"
4528 mv "conftest.tmp" "conftest.in"
4529 cp "conftest.in" "conftest.nl"
4530 $as_echo '' >> "conftest.nl"
4531 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4532 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4533 as_fn_arith $ac_count + 1 && ac_count=$as_val
4534 if test $ac_count -gt ${ac_path_SED_max-0}; then
4535 # Best one so far, save it but keep looking for a better one
4536 ac_cv_path_SED="$ac_path_SED"
4537 ac_path_SED_max=$ac_count
4539 # 10*(2^10) chars as input seems more than enough
4540 test $ac_count -gt 10 && break
4542 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4545 $ac_path_SED_found && break 3
4550 if test -z "$ac_cv_path_SED"; then
4551 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4559 $as_echo "$ac_cv_path_SED" >&6; }
4560 SED="$ac_cv_path_SED"
4563 test -z "$SED" && SED=sed
4564 Xsed="$SED -e 1s/^X//"
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4577 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4578 if test "${ac_cv_path_GREP+set}" = set; then :
4579 $as_echo_n "(cached) " >&6
4581 if test -z "$GREP"; then
4582 ac_path_GREP_found=false
4583 # Loop through the user's path and test for each of PROGNAME-LIST
4584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4585 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4588 test -z "$as_dir" && as_dir=.
4589 for ac_prog in grep ggrep; do
4590 for ac_exec_ext in '' $ac_executable_extensions; do
4591 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4592 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4593 # Check for GNU ac_path_GREP and select it if it is found.
4594 # Check for GNU $ac_path_GREP
4595 case `"$ac_path_GREP" --version 2>&1` in
4597 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4600 $as_echo_n 0123456789 >"conftest.in"
4603 cat "conftest.in" "conftest.in" >"conftest.tmp"
4604 mv "conftest.tmp" "conftest.in"
4605 cp "conftest.in" "conftest.nl"
4606 $as_echo 'GREP' >> "conftest.nl"
4607 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4608 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4609 as_fn_arith $ac_count + 1 && ac_count=$as_val
4610 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4611 # Best one so far, save it but keep looking for a better one
4612 ac_cv_path_GREP="$ac_path_GREP"
4613 ac_path_GREP_max=$ac_count
4615 # 10*(2^10) chars as input seems more than enough
4616 test $ac_count -gt 10 && break
4618 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4621 $ac_path_GREP_found && break 3
4626 if test -z "$ac_cv_path_GREP"; then
4627 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4630 ac_cv_path_GREP=$GREP
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4635 $as_echo "$ac_cv_path_GREP" >&6; }
4636 GREP="$ac_cv_path_GREP"
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4640 $as_echo_n "checking for egrep... " >&6; }
4641 if test "${ac_cv_path_EGREP+set}" = set; then :
4642 $as_echo_n "(cached) " >&6
4644 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4645 then ac_cv_path_EGREP="$GREP -E"
4647 if test -z "$EGREP"; then
4648 ac_path_EGREP_found=false
4649 # Loop through the user's path and test for each of PROGNAME-LIST
4650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4651 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4654 test -z "$as_dir" && as_dir=.
4655 for ac_prog in egrep; do
4656 for ac_exec_ext in '' $ac_executable_extensions; do
4657 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4658 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4659 # Check for GNU ac_path_EGREP and select it if it is found.
4660 # Check for GNU $ac_path_EGREP
4661 case `"$ac_path_EGREP" --version 2>&1` in
4663 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4666 $as_echo_n 0123456789 >"conftest.in"
4669 cat "conftest.in" "conftest.in" >"conftest.tmp"
4670 mv "conftest.tmp" "conftest.in"
4671 cp "conftest.in" "conftest.nl"
4672 $as_echo 'EGREP' >> "conftest.nl"
4673 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4674 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4675 as_fn_arith $ac_count + 1 && ac_count=$as_val
4676 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4677 # Best one so far, save it but keep looking for a better one
4678 ac_cv_path_EGREP="$ac_path_EGREP"
4679 ac_path_EGREP_max=$ac_count
4681 # 10*(2^10) chars as input seems more than enough
4682 test $ac_count -gt 10 && break
4684 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4687 $ac_path_EGREP_found && break 3
4692 if test -z "$ac_cv_path_EGREP"; then
4693 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4696 ac_cv_path_EGREP=$EGREP
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4702 $as_echo "$ac_cv_path_EGREP" >&6; }
4703 EGREP="$ac_cv_path_EGREP"
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4707 $as_echo_n "checking for fgrep... " >&6; }
4708 if test "${ac_cv_path_FGREP+set}" = set; then :
4709 $as_echo_n "(cached) " >&6
4711 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4712 then ac_cv_path_FGREP="$GREP -F"
4714 if test -z "$FGREP"; then
4715 ac_path_FGREP_found=false
4716 # Loop through the user's path and test for each of PROGNAME-LIST
4717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4718 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4721 test -z "$as_dir" && as_dir=.
4722 for ac_prog in fgrep; do
4723 for ac_exec_ext in '' $ac_executable_extensions; do
4724 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4725 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4726 # Check for GNU ac_path_FGREP and select it if it is found.
4727 # Check for GNU $ac_path_FGREP
4728 case `"$ac_path_FGREP" --version 2>&1` in
4730 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4733 $as_echo_n 0123456789 >"conftest.in"
4736 cat "conftest.in" "conftest.in" >"conftest.tmp"
4737 mv "conftest.tmp" "conftest.in"
4738 cp "conftest.in" "conftest.nl"
4739 $as_echo 'FGREP' >> "conftest.nl"
4740 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4741 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4742 as_fn_arith $ac_count + 1 && ac_count=$as_val
4743 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4744 # Best one so far, save it but keep looking for a better one
4745 ac_cv_path_FGREP="$ac_path_FGREP"
4746 ac_path_FGREP_max=$ac_count
4748 # 10*(2^10) chars as input seems more than enough
4749 test $ac_count -gt 10 && break
4751 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4754 $ac_path_FGREP_found && break 3
4759 if test -z "$ac_cv_path_FGREP"; then
4760 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4763 ac_cv_path_FGREP=$FGREP
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4769 $as_echo "$ac_cv_path_FGREP" >&6; }
4770 FGREP="$ac_cv_path_FGREP"
4773 test -z "$GREP" && GREP=grep
4793 # Check whether --with-gnu-ld was given.
4794 if test "${with_gnu_ld+set}" = set; then :
4795 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4801 if test "$GCC" = yes; then
4802 # Check if gcc -print-prog-name=ld gives a path.
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4804 $as_echo_n "checking for ld used by $CC... " >&6; }
4807 # gcc leaves a trailing carriage return which upsets mingw
4808 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4810 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4813 # Accept absolute paths.
4815 re_direlt='/[^/][^/]*/\.\./'
4816 # Canonicalize the pathname of ld
4817 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4818 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4819 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4821 test -z "$LD" && LD="$ac_prog"
4824 # If it fails, then pretend we aren't using GCC.
4828 # If it is relative, then search for the first ld in PATH.
4832 elif test "$with_gnu_ld" = yes; then
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4834 $as_echo_n "checking for GNU ld... " >&6; }
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4837 $as_echo_n "checking for non-GNU ld... " >&6; }
4839 if test "${lt_cv_path_LD+set}" = set; then :
4840 $as_echo_n "(cached) " >&6
4842 if test -z "$LD"; then
4843 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4844 for ac_dir in $PATH; do
4846 test -z "$ac_dir" && ac_dir=.
4847 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4848 lt_cv_path_LD="$ac_dir/$ac_prog"
4849 # Check to see if the program is GNU ld. I'd rather use --version,
4850 # but apparently some variants of GNU ld only accept -v.
4851 # Break only if it was the GNU/non-GNU ld that we prefer.
4852 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4853 *GNU* | *'with BFD'*)
4854 test "$with_gnu_ld" != no && break
4857 test "$with_gnu_ld" != yes && break
4864 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4869 if test -n "$LD"; then
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4871 $as_echo "$LD" >&6; }
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4874 $as_echo "no" >&6; }
4876 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4878 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4879 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4880 $as_echo_n "(cached) " >&6
4882 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4883 case `$LD -v 2>&1 </dev/null` in
4884 *GNU* | *'with BFD'*)
4885 lt_cv_prog_gnu_ld=yes
4888 lt_cv_prog_gnu_ld=no
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4893 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4894 with_gnu_ld=$lt_cv_prog_gnu_ld
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4905 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4906 if test "${lt_cv_path_NM+set}" = set; then :
4907 $as_echo_n "(cached) " >&6
4909 if test -n "$NM"; then
4910 # Let the user override the test.
4913 lt_nm_to_check="${ac_tool_prefix}nm"
4914 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4915 lt_nm_to_check="$lt_nm_to_check nm"
4917 for lt_tmp_nm in $lt_nm_to_check; do
4918 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4919 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4921 test -z "$ac_dir" && ac_dir=.
4922 tmp_nm="$ac_dir/$lt_tmp_nm"
4923 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4924 # Check to see if the nm accepts a BSD-compat flag.
4925 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4926 # nm: unknown option "B" ignored
4927 # Tru64's nm complains that /dev/null is an invalid object file
4928 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4929 */dev/null* | *'Invalid file or object type'*)
4930 lt_cv_path_NM="$tmp_nm -B"
4934 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4936 lt_cv_path_NM="$tmp_nm -p"
4940 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4941 continue # so that we can try to find one that supports BSD flags
4950 : ${lt_cv_path_NM=no}
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4954 $as_echo "$lt_cv_path_NM" >&6; }
4955 if test "$lt_cv_path_NM" != "no"; then
4958 # Didn't find any BSD compatible name lister, look for dumpbin.
4959 if test -n "$ac_tool_prefix"; then
4960 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4962 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4963 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4965 $as_echo_n "checking for $ac_word... " >&6; }
4966 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4967 $as_echo_n "(cached) " >&6
4969 if test -n "$DUMPBIN"; then
4970 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4976 test -z "$as_dir" && as_dir=.
4977 for ac_exec_ext in '' $ac_executable_extensions; do
4978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4979 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4989 DUMPBIN=$ac_cv_prog_DUMPBIN
4990 if test -n "$DUMPBIN"; then
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4992 $as_echo "$DUMPBIN" >&6; }
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4995 $as_echo "no" >&6; }
4999 test -n "$DUMPBIN" && break
5002 if test -z "$DUMPBIN"; then
5003 ac_ct_DUMPBIN=$DUMPBIN
5004 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5006 # Extract the first word of "$ac_prog", so it can be a program name with args.
5007 set dummy $ac_prog; ac_word=$2
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5009 $as_echo_n "checking for $ac_word... " >&6; }
5010 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5011 $as_echo_n "(cached) " >&6
5013 if test -n "$ac_ct_DUMPBIN"; then
5014 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5020 test -z "$as_dir" && as_dir=.
5021 for ac_exec_ext in '' $ac_executable_extensions; do
5022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5023 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5033 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5034 if test -n "$ac_ct_DUMPBIN"; then
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5036 $as_echo "$ac_ct_DUMPBIN" >&6; }
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5039 $as_echo "no" >&6; }
5043 test -n "$ac_ct_DUMPBIN" && break
5046 if test "x$ac_ct_DUMPBIN" = x; then
5049 case $cross_compiling:$ac_tool_warned in
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5052 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5053 ac_tool_warned=yes ;;
5055 DUMPBIN=$ac_ct_DUMPBIN
5060 if test "$DUMPBIN" != ":"; then
5064 test -z "$NM" && NM=nm
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5072 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5073 if test "${lt_cv_nm_interface+set}" = set; then :
5074 $as_echo_n "(cached) " >&6
5076 lt_cv_nm_interface="BSD nm"
5077 echo "int some_variable = 0;" > conftest.$ac_ext
5078 (eval echo "\"\$as_me:5078: $ac_compile\"" >&5)
5079 (eval "$ac_compile" 2>conftest.err)
5080 cat conftest.err >&5
5081 (eval echo "\"\$as_me:5081: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5082 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5083 cat conftest.err >&5
5084 (eval echo "\"\$as_me:5084: output\"" >&5)
5085 cat conftest.out >&5
5086 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5087 lt_cv_nm_interface="MS dumpbin"
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5092 $as_echo "$lt_cv_nm_interface" >&6; }
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5095 $as_echo_n "checking whether ln -s works... " >&6; }
5097 if test "$LN_S" = "ln -s"; then
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5099 $as_echo "yes" >&6; }
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5102 $as_echo "no, using $LN_S" >&6; }
5105 # find the maximum length of command line arguments
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5107 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5108 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5109 $as_echo_n "(cached) " >&6
5116 # On DJGPP, this test can blow up pretty badly due to problems in libc
5117 # (any single argument exceeding 2000 bytes causes a buffer overrun
5118 # during glob expansion). Even if it were fixed, the result of this
5119 # check would be larger than it should be.
5120 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5124 # Under GNU Hurd, this test is not required because there is
5125 # no limit to the length of command line arguments.
5126 # Libtool will interpret -1 as no limit whatsoever
5127 lt_cv_sys_max_cmd_len=-1;
5130 cygwin* | mingw* | cegcc*)
5131 # On Win9x/ME, this test blows up -- it succeeds, but takes
5132 # about 5 minutes as the teststring grows exponentially.
5133 # Worse, since 9x/ME are not pre-emptively multitasking,
5134 # you end up with a "frozen" computer, even though with patience
5135 # the test eventually succeeds (with a max line length of 256k).
5136 # Instead, let's just punt: use the minimum linelength reported by
5137 # all of the supported platforms: 8192 (on NT/2K/XP).
5138 lt_cv_sys_max_cmd_len=8192;
5142 # On AmigaOS with pdksh, this test takes hours, literally.
5143 # So we just punt and use a minimum line length of 8192.
5144 lt_cv_sys_max_cmd_len=8192;
5147 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5148 # This has been around since 386BSD, at least. Likely further.
5149 if test -x /sbin/sysctl; then
5150 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5151 elif test -x /usr/sbin/sysctl; then
5152 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5154 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5156 # And add a safety zone
5157 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5158 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5162 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5163 lt_cv_sys_max_cmd_len=196608
5167 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5168 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5169 # nice to cause kernel panics so lets avoid the loop below.
5170 # First set a reasonable default.
5171 lt_cv_sys_max_cmd_len=16384
5173 if test -x /sbin/sysconfig; then
5174 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5175 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5180 lt_cv_sys_max_cmd_len=102400
5182 sysv5* | sco5v6* | sysv4.2uw2*)
5183 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5184 if test -n "$kargmax"; then
5185 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5187 lt_cv_sys_max_cmd_len=32768
5191 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5192 if test -n "$lt_cv_sys_max_cmd_len"; then
5193 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5194 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5196 # Make teststring a little bigger before we do anything with it.
5197 # a 1K string should be a reasonable start.
5198 for i in 1 2 3 4 5 6 7 8 ; do
5199 teststring=$teststring$teststring
5201 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5202 # If test is not a shell built-in, we'll probably end up computing a
5203 # maximum length that is only half of the actual maximum length, but
5205 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5206 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5207 test $i != 17 # 1/2 MB should be enough
5210 teststring=$teststring$teststring
5212 # Only check the string length outside the loop.
5213 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5215 # Add a significant safety factor because C++ compilers can tack on
5216 # massive amounts of additional arguments before passing them to the
5217 # linker. It appears as though 1/2 is a usable value.
5218 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5225 if test -n $lt_cv_sys_max_cmd_len ; then
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5227 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5230 $as_echo "none" >&6; }
5232 max_cmd_len=$lt_cv_sys_max_cmd_len
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5244 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5245 # Try some XSI features
5248 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5250 && eval 'test $(( 1 + 1 )) -eq 2 \
5251 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5254 $as_echo "$xsi_shell" >&6; }
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5258 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5260 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5262 && lt_shell_append=yes
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5264 $as_echo "$lt_shell_append" >&6; }
5267 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5277 # test EBCDIC or ASCII
5278 case `echo X|tr X '\101'` in
5279 A) # ASCII based system
5280 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5281 lt_SP2NL='tr \040 \012'
5282 lt_NL2SP='tr \015\012 \040\040'
5284 *) # EBCDIC based system
5285 lt_SP2NL='tr \100 \n'
5286 lt_NL2SP='tr \r\n \100\100'
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5299 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5300 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5301 $as_echo_n "(cached) " >&6
5303 lt_cv_ld_reload_flag='-r'
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5306 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5307 reload_flag=$lt_cv_ld_reload_flag
5308 case $reload_flag in
5310 *) reload_flag=" $reload_flag" ;;
5312 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5315 if test "$GCC" = yes; then
5316 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5318 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5331 if test -n "$ac_tool_prefix"; then
5332 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5333 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5335 $as_echo_n "checking for $ac_word... " >&6; }
5336 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5337 $as_echo_n "(cached) " >&6
5339 if test -n "$OBJDUMP"; then
5340 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5346 test -z "$as_dir" && as_dir=.
5347 for ac_exec_ext in '' $ac_executable_extensions; do
5348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5349 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5359 OBJDUMP=$ac_cv_prog_OBJDUMP
5360 if test -n "$OBJDUMP"; then
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5362 $as_echo "$OBJDUMP" >&6; }
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5365 $as_echo "no" >&6; }
5370 if test -z "$ac_cv_prog_OBJDUMP"; then
5371 ac_ct_OBJDUMP=$OBJDUMP
5372 # Extract the first word of "objdump", so it can be a program name with args.
5373 set dummy objdump; ac_word=$2
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5375 $as_echo_n "checking for $ac_word... " >&6; }
5376 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5377 $as_echo_n "(cached) " >&6
5379 if test -n "$ac_ct_OBJDUMP"; then
5380 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5386 test -z "$as_dir" && as_dir=.
5387 for ac_exec_ext in '' $ac_executable_extensions; do
5388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5389 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5399 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5400 if test -n "$ac_ct_OBJDUMP"; then
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5402 $as_echo "$ac_ct_OBJDUMP" >&6; }
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5405 $as_echo "no" >&6; }
5408 if test "x$ac_ct_OBJDUMP" = x; then
5411 case $cross_compiling:$ac_tool_warned in
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5414 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5415 ac_tool_warned=yes ;;
5417 OBJDUMP=$ac_ct_OBJDUMP
5420 OBJDUMP="$ac_cv_prog_OBJDUMP"
5423 test -z "$OBJDUMP" && OBJDUMP=objdump
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5431 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5432 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5433 $as_echo_n "(cached) " >&6
5435 lt_cv_file_magic_cmd='$MAGIC_CMD'
5436 lt_cv_file_magic_test_file=
5437 lt_cv_deplibs_check_method='unknown'
5438 # Need to set the preceding variable on all platforms that support
5439 # interlibrary dependencies.
5440 # 'none' -- dependencies not supported.
5441 # `unknown' -- same as none, but documents that we really don't know.
5442 # 'pass_all' -- all dependencies passed with no checks.
5443 # 'test_compile' -- check by making test program.
5444 # 'file_magic [[regex]]' -- check by looking for files in library path
5445 # which responds to the $file_magic_cmd with a given extended regex.
5446 # If you have `file' or equivalent on your system and you're not sure
5447 # whether `pass_all' will *always* work, you probably want this one.
5451 lt_cv_deplibs_check_method=pass_all
5455 lt_cv_deplibs_check_method=pass_all
5459 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5460 lt_cv_file_magic_cmd='/usr/bin/file -L'
5461 lt_cv_file_magic_test_file=/shlib/libc.so
5465 # func_win32_libid is a shell function defined in ltmain.sh
5466 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5467 lt_cv_file_magic_cmd='func_win32_libid'
5471 # Base MSYS/MinGW do not provide the 'file' command needed by
5472 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5473 # unless we find 'file', for example because we are cross-compiling.
5474 if ( file / ) >/dev/null 2>&1; then
5475 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5476 lt_cv_file_magic_cmd='func_win32_libid'
5478 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5479 lt_cv_file_magic_cmd='$OBJDUMP -f'
5484 # use the weaker test based on 'objdump'. See mingw*.
5485 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5486 lt_cv_file_magic_cmd='$OBJDUMP -f'
5489 darwin* | rhapsody*)
5490 lt_cv_deplibs_check_method=pass_all
5493 freebsd* | dragonfly*)
5494 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5497 # Not sure whether the presence of OpenBSD here was a mistake.
5498 # Let's accept both of them until this is cleared up.
5499 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5500 lt_cv_file_magic_cmd=/usr/bin/file
5501 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5505 lt_cv_deplibs_check_method=pass_all
5510 lt_cv_deplibs_check_method=pass_all
5513 hpux10.20* | hpux11*)
5514 lt_cv_file_magic_cmd=/usr/bin/file
5517 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5518 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5521 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]'
5522 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5525 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5526 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5532 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5533 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5536 irix5* | irix6* | nonstopux*)
5538 *-32|*"-32 ") libmagic=32-bit;;
5539 *-n32|*"-n32 ") libmagic=N32;;
5540 *-64|*"-64 ") libmagic=64-bit;;
5541 *) libmagic=never-match;;
5543 lt_cv_deplibs_check_method=pass_all
5546 # This must be Linux ELF.
5547 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5548 lt_cv_deplibs_check_method=pass_all
5551 netbsd* | netbsdelf*-gnu)
5552 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5553 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5555 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5560 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5561 lt_cv_file_magic_cmd=/usr/bin/file
5562 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5566 lt_cv_deplibs_check_method=pass_all
5570 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5571 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5573 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5577 osf3* | osf4* | osf5*)
5578 lt_cv_deplibs_check_method=pass_all
5582 lt_cv_deplibs_check_method=pass_all
5586 lt_cv_deplibs_check_method=pass_all
5589 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5590 lt_cv_deplibs_check_method=pass_all
5594 case $host_vendor in
5596 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]'
5597 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5600 lt_cv_deplibs_check_method=pass_all
5603 lt_cv_file_magic_cmd='/bin/file'
5604 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5607 lt_cv_file_magic_cmd='/bin/file'
5608 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5609 lt_cv_file_magic_test_file=/lib/libc.so
5612 lt_cv_deplibs_check_method=pass_all
5615 lt_cv_deplibs_check_method=pass_all
5621 lt_cv_deplibs_check_method=pass_all
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5627 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5628 file_magic_cmd=$lt_cv_file_magic_cmd
5629 deplibs_check_method=$lt_cv_deplibs_check_method
5630 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5643 if test -n "$ac_tool_prefix"; then
5644 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5645 set dummy ${ac_tool_prefix}ar; ac_word=$2
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5647 $as_echo_n "checking for $ac_word... " >&6; }
5648 if test "${ac_cv_prog_AR+set}" = set; then :
5649 $as_echo_n "(cached) " >&6
5651 if test -n "$AR"; then
5652 ac_cv_prog_AR="$AR" # Let the user override the test.
5654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5658 test -z "$as_dir" && as_dir=.
5659 for ac_exec_ext in '' $ac_executable_extensions; do
5660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5661 ac_cv_prog_AR="${ac_tool_prefix}ar"
5662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5672 if test -n "$AR"; then
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5674 $as_echo "$AR" >&6; }
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5677 $as_echo "no" >&6; }
5682 if test -z "$ac_cv_prog_AR"; then
5684 # Extract the first word of "ar", so it can be a program name with args.
5685 set dummy ar; ac_word=$2
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5687 $as_echo_n "checking for $ac_word... " >&6; }
5688 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5689 $as_echo_n "(cached) " >&6
5691 if test -n "$ac_ct_AR"; then
5692 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5698 test -z "$as_dir" && as_dir=.
5699 for ac_exec_ext in '' $ac_executable_extensions; do
5700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5701 ac_cv_prog_ac_ct_AR="ar"
5702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5711 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5712 if test -n "$ac_ct_AR"; then
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5714 $as_echo "$ac_ct_AR" >&6; }
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5717 $as_echo "no" >&6; }
5720 if test "x$ac_ct_AR" = x; then
5723 case $cross_compiling:$ac_tool_warned in
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5726 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5727 ac_tool_warned=yes ;;
5735 test -z "$AR" && AR=ar
5736 test -z "$AR_FLAGS" && AR_FLAGS=cru
5748 if test -n "$ac_tool_prefix"; then
5749 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5750 set dummy ${ac_tool_prefix}strip; ac_word=$2
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5752 $as_echo_n "checking for $ac_word... " >&6; }
5753 if test "${ac_cv_prog_STRIP+set}" = set; then :
5754 $as_echo_n "(cached) " >&6
5756 if test -n "$STRIP"; then
5757 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5763 test -z "$as_dir" && as_dir=.
5764 for ac_exec_ext in '' $ac_executable_extensions; do
5765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5766 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5776 STRIP=$ac_cv_prog_STRIP
5777 if test -n "$STRIP"; then
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5779 $as_echo "$STRIP" >&6; }
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5782 $as_echo "no" >&6; }
5787 if test -z "$ac_cv_prog_STRIP"; then
5789 # Extract the first word of "strip", so it can be a program name with args.
5790 set dummy strip; ac_word=$2
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5792 $as_echo_n "checking for $ac_word... " >&6; }
5793 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5794 $as_echo_n "(cached) " >&6
5796 if test -n "$ac_ct_STRIP"; then
5797 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5803 test -z "$as_dir" && as_dir=.
5804 for ac_exec_ext in '' $ac_executable_extensions; do
5805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5806 ac_cv_prog_ac_ct_STRIP="strip"
5807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5816 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5817 if test -n "$ac_ct_STRIP"; then
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5819 $as_echo "$ac_ct_STRIP" >&6; }
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5822 $as_echo "no" >&6; }
5825 if test "x$ac_ct_STRIP" = x; then
5828 case $cross_compiling:$ac_tool_warned in
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5831 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5832 ac_tool_warned=yes ;;
5837 STRIP="$ac_cv_prog_STRIP"
5840 test -z "$STRIP" && STRIP=:
5847 if test -n "$ac_tool_prefix"; then
5848 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5849 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5851 $as_echo_n "checking for $ac_word... " >&6; }
5852 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5853 $as_echo_n "(cached) " >&6
5855 if test -n "$RANLIB"; then
5856 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5862 test -z "$as_dir" && as_dir=.
5863 for ac_exec_ext in '' $ac_executable_extensions; do
5864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5865 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5875 RANLIB=$ac_cv_prog_RANLIB
5876 if test -n "$RANLIB"; then
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5878 $as_echo "$RANLIB" >&6; }
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5881 $as_echo "no" >&6; }
5886 if test -z "$ac_cv_prog_RANLIB"; then
5887 ac_ct_RANLIB=$RANLIB
5888 # Extract the first word of "ranlib", so it can be a program name with args.
5889 set dummy ranlib; ac_word=$2
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5891 $as_echo_n "checking for $ac_word... " >&6; }
5892 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5893 $as_echo_n "(cached) " >&6
5895 if test -n "$ac_ct_RANLIB"; then
5896 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5902 test -z "$as_dir" && as_dir=.
5903 for ac_exec_ext in '' $ac_executable_extensions; do
5904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5905 ac_cv_prog_ac_ct_RANLIB="ranlib"
5906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5915 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5916 if test -n "$ac_ct_RANLIB"; then
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5918 $as_echo "$ac_ct_RANLIB" >&6; }
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5921 $as_echo "no" >&6; }
5924 if test "x$ac_ct_RANLIB" = x; then
5927 case $cross_compiling:$ac_tool_warned in
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5930 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5931 ac_tool_warned=yes ;;
5933 RANLIB=$ac_ct_RANLIB
5936 RANLIB="$ac_cv_prog_RANLIB"
5939 test -z "$RANLIB" && RANLIB=:
5946 # Determine commands to create old-style static archives.
5947 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5948 old_postinstall_cmds='chmod 644 $oldlib'
5949 old_postuninstall_cmds=
5951 if test -n "$RANLIB"; then
5954 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5957 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5960 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5996 # If no C compiler was specified, use CC.
5999 # If no C compiler flags were specified, use CFLAGS.
6000 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6002 # Allow CC to be a program name with arguments.
6006 # Check for command to grab the raw symbol name followed by C symbol from nm.
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6008 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6009 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6010 $as_echo_n "(cached) " >&6
6013 # These are sane defaults that work on at least a few old systems.
6014 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6016 # Character class describing NM global symbol codes.
6017 symcode='[BCDEGRST]'
6019 # Regexp to match symbols that can be accessed directly from C.
6020 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6022 # Define system-specific variables.
6027 cygwin* | mingw* | pw32* | cegcc*)
6028 symcode='[ABCDGISTW]'
6031 if test "$host_cpu" = ia64; then
6032 symcode='[ABCDEGRST]'
6036 symcode='[BCDEGRST]'
6039 symcode='[BCDEGQRST]'
6050 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6058 # If we're using GNU nm, then use its standard symbol codes.
6059 case `$NM -V 2>&1` in
6060 *GNU* | *'with BFD'*)
6061 symcode='[ABCDGIRSTW]' ;;
6064 # Transform an extracted symbol line into a proper C declaration.
6065 # Some systems (esp. on ia64) link data and code symbols differently,
6066 # so use this general approach.
6067 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6069 # Transform an extracted symbol line into symbol name and symbol address
6070 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6071 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'"
6073 # Handle CRLF in mingw tool chain
6077 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6081 # Try without a prefix underscore, then with it.
6082 for ac_symprfx in "" "_"; do
6084 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6085 symxfrm="\\1 $ac_symprfx\\2 \\2"
6087 # Write the raw and C identifiers.
6088 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6089 # Fake it for dumpbin and say T for any non-static function
6090 # and D for any global variable.
6091 # Also find C++ and __fastcall symbols from MSVC++,
6092 # which start with @ or ?.
6093 lt_cv_sys_global_symbol_pipe="$AWK '"\
6094 " {last_section=section; section=\$ 3};"\
6095 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6096 " \$ 0!~/External *\|/{next};"\
6097 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6098 " {if(hide[section]) next};"\
6099 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6100 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6101 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6102 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6103 " ' prfx=^$ac_symprfx"
6105 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6108 # Check to see that the pipe works correctly.
6112 cat > conftest.$ac_ext <<_LT_EOF
6117 void nm_test_func(void);
6118 void nm_test_func(void){}
6122 int main(){nm_test_var='a';nm_test_func();return(0);}
6125 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6126 (eval $ac_compile) 2>&5
6128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6129 test $ac_status = 0; }; then
6130 # Now try to grab the symbols.
6132 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6133 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6136 test $ac_status = 0; } && test -s "$nlist"; then
6137 # Try sorting and uniquifying the output.
6138 if sort "$nlist" | uniq > "$nlist"T; then
6139 mv -f "$nlist"T "$nlist"
6144 # Make sure that we snagged all the symbols we need.
6145 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6146 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6147 cat <<_LT_EOF > conftest.$ac_ext
6153 # Now generate the symbol file.
6154 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6156 cat <<_LT_EOF >> conftest.$ac_ext
6158 /* The mapping between symbol names and symbols. */
6163 lt__PROGRAM__LTX_preloaded_symbols[] =
6165 { "@PROGRAM@", (void *) 0 },
6167 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6168 cat <<\_LT_EOF >> conftest.$ac_ext
6172 /* This works around a problem in FreeBSD linker */
6173 #ifdef FREEBSD_WORKAROUND
6174 static const void *lt_preloaded_setup() {
6175 return lt__PROGRAM__LTX_preloaded_symbols;
6183 # Now try linking the two files.
6184 mv conftest.$ac_objext conftstm.$ac_objext
6185 lt_save_LIBS="$LIBS"
6186 lt_save_CFLAGS="$CFLAGS"
6187 LIBS="conftstm.$ac_objext"
6188 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6189 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6190 (eval $ac_link) 2>&5
6192 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6193 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6196 LIBS="$lt_save_LIBS"
6197 CFLAGS="$lt_save_CFLAGS"
6199 echo "cannot find nm_test_func in $nlist" >&5
6202 echo "cannot find nm_test_var in $nlist" >&5
6205 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6208 echo "$progname: failed program was:" >&5
6209 cat conftest.$ac_ext >&5
6211 rm -rf conftest* conftst*
6213 # Do not use the global_symbol_pipe unless it works.
6214 if test "$pipe_works" = yes; then
6217 lt_cv_sys_global_symbol_pipe=
6223 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6224 lt_cv_sys_global_symbol_to_cdecl=
6226 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6228 $as_echo "failed" >&6; }
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6231 $as_echo "ok" >&6; }
6256 # Check whether --enable-libtool-lock was given.
6257 if test "${enable_libtool_lock+set}" = set; then :
6258 enableval=$enable_libtool_lock;
6261 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6263 # Some flags need to be propagated to the compiler or linker for good
6267 # Find out which ABI we are using.
6268 echo 'int i;' > conftest.$ac_ext
6269 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6270 (eval $ac_compile) 2>&5
6272 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6273 test $ac_status = 0; }; then
6274 case `/usr/bin/file conftest.$ac_objext` in
6286 # Find out which ABI we are using.
6287 echo '#line 6287 "configure"' > conftest.$ac_ext
6288 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6289 (eval $ac_compile) 2>&5
6291 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6292 test $ac_status = 0; }; then
6293 if test "$lt_cv_prog_gnu_ld" = yes; then
6294 case `/usr/bin/file conftest.$ac_objext` in
6296 LD="${LD-ld} -melf32bsmip"
6299 LD="${LD-ld} -melf32bmipn32"
6302 LD="${LD-ld} -melf64bmip"
6306 case `/usr/bin/file conftest.$ac_objext` in
6322 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6323 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6324 # Find out which ABI we are using.
6325 echo 'int i;' > conftest.$ac_ext
6326 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6327 (eval $ac_compile) 2>&5
6329 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6330 test $ac_status = 0; }; then
6331 case `/usr/bin/file conftest.o` in
6334 x86_64-*kfreebsd*-gnu)
6335 LD="${LD-ld} -m elf_i386_fbsd"
6338 LD="${LD-ld} -m elf_i386"
6340 ppc64-*linux*|powerpc64-*linux*)
6341 LD="${LD-ld} -m elf32ppclinux"
6344 LD="${LD-ld} -m elf_s390"
6347 LD="${LD-ld} -m elf32_sparc"
6353 x86_64-*kfreebsd*-gnu)
6354 LD="${LD-ld} -m elf_x86_64_fbsd"
6357 LD="${LD-ld} -m elf_x86_64"
6359 ppc*-*linux*|powerpc*-*linux*)
6360 LD="${LD-ld} -m elf64ppc"
6362 s390*-*linux*|s390*-*tpf*)
6363 LD="${LD-ld} -m elf64_s390"
6366 LD="${LD-ld} -m elf64_sparc"
6376 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6377 SAVE_CFLAGS="$CFLAGS"
6378 CFLAGS="$CFLAGS -belf"
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6380 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6381 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6382 $as_echo_n "(cached) " >&6
6385 ac_cpp='$CPP $CPPFLAGS'
6386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6391 /* end confdefs.h. */
6401 if ac_fn_c_try_link "$LINENO"; then :
6402 lt_cv_cc_needs_belf=yes
6404 lt_cv_cc_needs_belf=no
6406 rm -f core conftest.err conftest.$ac_objext \
6407 conftest$ac_exeext conftest.$ac_ext
6409 ac_cpp='$CPP $CPPFLAGS'
6410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6416 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6417 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6418 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6419 CFLAGS="$SAVE_CFLAGS"
6423 # Find out which ABI we are using.
6424 echo 'int i;' > conftest.$ac_ext
6425 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6426 (eval $ac_compile) 2>&5
6428 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6429 test $ac_status = 0; }; then
6430 case `/usr/bin/file conftest.o` in
6432 case $lt_cv_prog_gnu_ld in
6433 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6435 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6447 need_locks="$enable_libtool_lock"
6451 rhapsody* | darwin*)
6452 if test -n "$ac_tool_prefix"; then
6453 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6454 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6456 $as_echo_n "checking for $ac_word... " >&6; }
6457 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6458 $as_echo_n "(cached) " >&6
6460 if test -n "$DSYMUTIL"; then
6461 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6467 test -z "$as_dir" && as_dir=.
6468 for ac_exec_ext in '' $ac_executable_extensions; do
6469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6470 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6480 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6481 if test -n "$DSYMUTIL"; then
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6483 $as_echo "$DSYMUTIL" >&6; }
6485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6486 $as_echo "no" >&6; }
6491 if test -z "$ac_cv_prog_DSYMUTIL"; then
6492 ac_ct_DSYMUTIL=$DSYMUTIL
6493 # Extract the first word of "dsymutil", so it can be a program name with args.
6494 set dummy dsymutil; ac_word=$2
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6496 $as_echo_n "checking for $ac_word... " >&6; }
6497 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6498 $as_echo_n "(cached) " >&6
6500 if test -n "$ac_ct_DSYMUTIL"; then
6501 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6507 test -z "$as_dir" && as_dir=.
6508 for ac_exec_ext in '' $ac_executable_extensions; do
6509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6510 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6520 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6521 if test -n "$ac_ct_DSYMUTIL"; then
6522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6523 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6526 $as_echo "no" >&6; }
6529 if test "x$ac_ct_DSYMUTIL" = x; then
6532 case $cross_compiling:$ac_tool_warned in
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6535 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6536 ac_tool_warned=yes ;;
6538 DSYMUTIL=$ac_ct_DSYMUTIL
6541 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6544 if test -n "$ac_tool_prefix"; then
6545 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6546 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6548 $as_echo_n "checking for $ac_word... " >&6; }
6549 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6550 $as_echo_n "(cached) " >&6
6552 if test -n "$NMEDIT"; then
6553 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6559 test -z "$as_dir" && as_dir=.
6560 for ac_exec_ext in '' $ac_executable_extensions; do
6561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6562 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6572 NMEDIT=$ac_cv_prog_NMEDIT
6573 if test -n "$NMEDIT"; then
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6575 $as_echo "$NMEDIT" >&6; }
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6578 $as_echo "no" >&6; }
6583 if test -z "$ac_cv_prog_NMEDIT"; then
6584 ac_ct_NMEDIT=$NMEDIT
6585 # Extract the first word of "nmedit", so it can be a program name with args.
6586 set dummy nmedit; ac_word=$2
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6588 $as_echo_n "checking for $ac_word... " >&6; }
6589 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6590 $as_echo_n "(cached) " >&6
6592 if test -n "$ac_ct_NMEDIT"; then
6593 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6599 test -z "$as_dir" && as_dir=.
6600 for ac_exec_ext in '' $ac_executable_extensions; do
6601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6602 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6612 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6613 if test -n "$ac_ct_NMEDIT"; then
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6615 $as_echo "$ac_ct_NMEDIT" >&6; }
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6618 $as_echo "no" >&6; }
6621 if test "x$ac_ct_NMEDIT" = x; then
6624 case $cross_compiling:$ac_tool_warned in
6626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6627 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6628 ac_tool_warned=yes ;;
6630 NMEDIT=$ac_ct_NMEDIT
6633 NMEDIT="$ac_cv_prog_NMEDIT"
6636 if test -n "$ac_tool_prefix"; then
6637 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6638 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6640 $as_echo_n "checking for $ac_word... " >&6; }
6641 if test "${ac_cv_prog_LIPO+set}" = set; then :
6642 $as_echo_n "(cached) " >&6
6644 if test -n "$LIPO"; then
6645 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6651 test -z "$as_dir" && as_dir=.
6652 for ac_exec_ext in '' $ac_executable_extensions; do
6653 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6654 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6664 LIPO=$ac_cv_prog_LIPO
6665 if test -n "$LIPO"; then
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6667 $as_echo "$LIPO" >&6; }
6669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6670 $as_echo "no" >&6; }
6675 if test -z "$ac_cv_prog_LIPO"; then
6677 # Extract the first word of "lipo", so it can be a program name with args.
6678 set dummy lipo; ac_word=$2
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6680 $as_echo_n "checking for $ac_word... " >&6; }
6681 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6682 $as_echo_n "(cached) " >&6
6684 if test -n "$ac_ct_LIPO"; then
6685 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6691 test -z "$as_dir" && as_dir=.
6692 for ac_exec_ext in '' $ac_executable_extensions; do
6693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6694 ac_cv_prog_ac_ct_LIPO="lipo"
6695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6704 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6705 if test -n "$ac_ct_LIPO"; then
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6707 $as_echo "$ac_ct_LIPO" >&6; }
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6710 $as_echo "no" >&6; }
6713 if test "x$ac_ct_LIPO" = x; then
6716 case $cross_compiling:$ac_tool_warned in
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6719 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6720 ac_tool_warned=yes ;;
6725 LIPO="$ac_cv_prog_LIPO"
6728 if test -n "$ac_tool_prefix"; then
6729 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6730 set dummy ${ac_tool_prefix}otool; ac_word=$2
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6732 $as_echo_n "checking for $ac_word... " >&6; }
6733 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6734 $as_echo_n "(cached) " >&6
6736 if test -n "$OTOOL"; then
6737 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6743 test -z "$as_dir" && as_dir=.
6744 for ac_exec_ext in '' $ac_executable_extensions; do
6745 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6746 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6756 OTOOL=$ac_cv_prog_OTOOL
6757 if test -n "$OTOOL"; then
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6759 $as_echo "$OTOOL" >&6; }
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6762 $as_echo "no" >&6; }
6767 if test -z "$ac_cv_prog_OTOOL"; then
6769 # Extract the first word of "otool", so it can be a program name with args.
6770 set dummy otool; ac_word=$2
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6772 $as_echo_n "checking for $ac_word... " >&6; }
6773 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6774 $as_echo_n "(cached) " >&6
6776 if test -n "$ac_ct_OTOOL"; then
6777 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6783 test -z "$as_dir" && as_dir=.
6784 for ac_exec_ext in '' $ac_executable_extensions; do
6785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6786 ac_cv_prog_ac_ct_OTOOL="otool"
6787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6796 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6797 if test -n "$ac_ct_OTOOL"; then
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6799 $as_echo "$ac_ct_OTOOL" >&6; }
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6802 $as_echo "no" >&6; }
6805 if test "x$ac_ct_OTOOL" = x; then
6808 case $cross_compiling:$ac_tool_warned in
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6811 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6812 ac_tool_warned=yes ;;
6817 OTOOL="$ac_cv_prog_OTOOL"
6820 if test -n "$ac_tool_prefix"; then
6821 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6822 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6824 $as_echo_n "checking for $ac_word... " >&6; }
6825 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6826 $as_echo_n "(cached) " >&6
6828 if test -n "$OTOOL64"; then
6829 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6835 test -z "$as_dir" && as_dir=.
6836 for ac_exec_ext in '' $ac_executable_extensions; do
6837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6838 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6848 OTOOL64=$ac_cv_prog_OTOOL64
6849 if test -n "$OTOOL64"; then
6850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6851 $as_echo "$OTOOL64" >&6; }
6853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6854 $as_echo "no" >&6; }
6859 if test -z "$ac_cv_prog_OTOOL64"; then
6860 ac_ct_OTOOL64=$OTOOL64
6861 # Extract the first word of "otool64", so it can be a program name with args.
6862 set dummy otool64; ac_word=$2
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6864 $as_echo_n "checking for $ac_word... " >&6; }
6865 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6866 $as_echo_n "(cached) " >&6
6868 if test -n "$ac_ct_OTOOL64"; then
6869 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6875 test -z "$as_dir" && as_dir=.
6876 for ac_exec_ext in '' $ac_executable_extensions; do
6877 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6878 ac_cv_prog_ac_ct_OTOOL64="otool64"
6879 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6888 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6889 if test -n "$ac_ct_OTOOL64"; then
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6891 $as_echo "$ac_ct_OTOOL64" >&6; }
6893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6894 $as_echo "no" >&6; }
6897 if test "x$ac_ct_OTOOL64" = x; then
6900 case $cross_compiling:$ac_tool_warned in
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6903 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6904 ac_tool_warned=yes ;;
6906 OTOOL64=$ac_ct_OTOOL64
6909 OTOOL64="$ac_cv_prog_OTOOL64"
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6939 $as_echo_n "checking for -single_module linker flag... " >&6; }
6940 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6941 $as_echo_n "(cached) " >&6
6943 lt_cv_apple_cc_single_mod=no
6944 if test -z "${LT_MULTI_MODULE}"; then
6945 # By default we will add the -single_module flag. You can override
6946 # by either setting the environment variable LT_MULTI_MODULE
6947 # non-empty at configure time, or by adding -multi_module to the
6949 rm -rf libconftest.dylib*
6950 echo "int foo(void){return 1;}" > conftest.c
6951 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6952 -dynamiclib -Wl,-single_module conftest.c" >&5
6953 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6954 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6956 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6957 lt_cv_apple_cc_single_mod=yes
6959 cat conftest.err >&5
6961 rm -rf libconftest.dylib*
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6966 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6968 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6969 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6970 $as_echo_n "(cached) " >&6
6972 lt_cv_ld_exported_symbols_list=no
6973 save_LDFLAGS=$LDFLAGS
6974 echo "_main" > conftest.sym
6975 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6977 /* end confdefs.h. */
6987 if ac_fn_c_try_link "$LINENO"; then :
6988 lt_cv_ld_exported_symbols_list=yes
6990 lt_cv_ld_exported_symbols_list=no
6992 rm -f core conftest.err conftest.$ac_objext \
6993 conftest$ac_exeext conftest.$ac_ext
6994 LDFLAGS="$save_LDFLAGS"
6997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6998 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7000 rhapsody* | darwin1.[012])
7001 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7003 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7004 darwin*) # darwin 5.x on
7005 # if running on 10.5 or later, the deployment target defaults
7006 # to the OS version, if on x86, and 10.4, the deployment
7007 # target defaults to 10.4. Don't you love it?
7008 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7009 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7010 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7012 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7014 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7018 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7019 _lt_dar_single_mod='$single_module'
7021 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7022 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7024 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7026 if test "$DSYMUTIL" != ":"; then
7027 _lt_dsymutil='~$DSYMUTIL $lib || :'
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
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7040 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7041 # On Suns, sometimes $CPP names a directory.
7042 if test -n "$CPP" && test -d "$CPP"; then
7045 if test -z "$CPP"; then
7046 if test "${ac_cv_prog_CPP+set}" = set; then :
7047 $as_echo_n "(cached) " >&6
7049 # Double quotes because CPP needs to be expanded
7050 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7053 for ac_c_preproc_warn_flag in '' yes
7055 # Use a header file that comes with gcc, so configuring glibc
7056 # with a fresh cross-compiler works.
7057 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7058 # <limits.h> exists even on freestanding compilers.
7059 # On the NeXT, cc -E runs the code through the compiler's parser,
7060 # not just through cpp. "Syntax error" is here to catch this case.
7061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7062 /* end confdefs.h. */
7064 # include <limits.h>
7066 # include <assert.h>
7070 if ac_fn_c_try_cpp "$LINENO"; then :
7073 # Broken: fails on valid input.
7076 rm -f conftest.err conftest.i conftest.$ac_ext
7078 # OK, works on sane cases. Now check whether nonexistent headers
7079 # can be detected and how.
7080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7081 /* end confdefs.h. */
7082 #include <ac_nonexistent.h>
7084 if ac_fn_c_try_cpp "$LINENO"; then :
7085 # Broken: success on invalid input.
7088 # Passes both tests.
7092 rm -f conftest.err conftest.i conftest.$ac_ext
7095 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7096 rm -f conftest.i conftest.err conftest.$ac_ext
7097 if $ac_preproc_ok; then :
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7110 $as_echo "$CPP" >&6; }
7112 for ac_c_preproc_warn_flag in '' yes
7114 # Use a header file that comes with gcc, so configuring glibc
7115 # with a fresh cross-compiler works.
7116 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7117 # <limits.h> exists even on freestanding compilers.
7118 # On the NeXT, cc -E runs the code through the compiler's parser,
7119 # not just through cpp. "Syntax error" is here to catch this case.
7120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7121 /* end confdefs.h. */
7123 # include <limits.h>
7125 # include <assert.h>
7129 if ac_fn_c_try_cpp "$LINENO"; then :
7132 # Broken: fails on valid input.
7135 rm -f conftest.err conftest.i conftest.$ac_ext
7137 # OK, works on sane cases. Now check whether nonexistent headers
7138 # can be detected and how.
7139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7140 /* end confdefs.h. */
7141 #include <ac_nonexistent.h>
7143 if ac_fn_c_try_cpp "$LINENO"; then :
7144 # Broken: success on invalid input.
7147 # Passes both tests.
7151 rm -f conftest.err conftest.i conftest.$ac_ext
7154 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7155 rm -f conftest.i conftest.err conftest.$ac_ext
7156 if $ac_preproc_ok; then :
7159 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7160 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7161 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7162 See \`config.log' for more details" "$LINENO" 5 ; }
7166 ac_cpp='$CPP $CPPFLAGS'
7167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7173 $as_echo_n "checking for ANSI C header files... " >&6; }
7174 if test "${ac_cv_header_stdc+set}" = set; then :
7175 $as_echo_n "(cached) " >&6
7177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7178 /* end confdefs.h. */
7192 if ac_fn_c_try_compile "$LINENO"; then :
7193 ac_cv_header_stdc=yes
7195 ac_cv_header_stdc=no
7197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7199 if test $ac_cv_header_stdc = yes; then
7200 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7202 /* end confdefs.h. */
7206 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7207 $EGREP "memchr" >/dev/null 2>&1; then :
7210 ac_cv_header_stdc=no
7216 if test $ac_cv_header_stdc = yes; then
7217 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7219 /* end confdefs.h. */
7223 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7224 $EGREP "free" >/dev/null 2>&1; then :
7227 ac_cv_header_stdc=no
7233 if test $ac_cv_header_stdc = yes; then
7234 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7235 if test "$cross_compiling" = yes; then :
7238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7239 /* end confdefs.h. */
7242 #if ((' ' & 0x0FF) == 0x020)
7243 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7244 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7246 # define ISLOWER(c) \
7247 (('a' <= (c) && (c) <= 'i') \
7248 || ('j' <= (c) && (c) <= 'r') \
7249 || ('s' <= (c) && (c) <= 'z'))
7250 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7253 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7258 for (i = 0; i < 256; i++)
7259 if (XOR (islower (i), ISLOWER (i))
7260 || toupper (i) != TOUPPER (i))
7265 if ac_fn_c_try_run "$LINENO"; then :
7268 ac_cv_header_stdc=no
7270 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7271 conftest.$ac_objext conftest.beam conftest.$ac_ext
7276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7277 $as_echo "$ac_cv_header_stdc" >&6; }
7278 if test $ac_cv_header_stdc = yes; then
7280 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7284 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7285 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7286 inttypes.h stdint.h unistd.h
7288 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7289 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7291 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7292 cat >>confdefs.h <<_ACEOF
7293 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7301 for ac_header in dlfcn.h
7303 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7305 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7306 cat >>confdefs.h <<_ACEOF
7307 #define HAVE_DLFCN_H 1
7324 # Check whether --enable-shared was given.
7325 if test "${enable_shared+set}" = set; then :
7326 enableval=$enable_shared; p=${PACKAGE-default}
7328 yes) enable_shared=yes ;;
7329 no) enable_shared=no ;;
7332 # Look at the argument we got. We use all the common list separators.
7333 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7334 for pkg in $enableval; do
7336 if test "X$pkg" = "X$p"; then
7355 # Check whether --enable-static was given.
7356 if test "${enable_static+set}" = set; then :
7357 enableval=$enable_static; p=${PACKAGE-default}
7359 yes) enable_static=yes ;;
7360 no) enable_static=no ;;
7363 # Look at the argument we got. We use all the common list separators.
7364 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7365 for pkg in $enableval; do
7367 if test "X$pkg" = "X$p"; then
7387 # Check whether --with-pic was given.
7388 if test "${with_pic+set}" = set; then :
7389 withval=$with_pic; pic_mode="$withval"
7395 test -z "$pic_mode" && pic_mode=default
7403 # Check whether --enable-fast-install was given.
7404 if test "${enable_fast_install+set}" = set; then :
7405 enableval=$enable_fast_install; p=${PACKAGE-default}
7407 yes) enable_fast_install=yes ;;
7408 no) enable_fast_install=no ;;
7410 enable_fast_install=no
7411 # Look at the argument we got. We use all the common list separators.
7412 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7413 for pkg in $enableval; do
7415 if test "X$pkg" = "X$p"; then
7416 enable_fast_install=yes
7423 enable_fast_install=yes
7436 # This can be used to rebuild libtool when needed
7437 LIBTOOL_DEPS="$ltmain"
7439 # Always use our own libtool.
7440 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7466 test -z "$LN_S" && LN_S="ln -s"
7481 if test -n "${ZSH_VERSION+set}" ; then
7482 setopt NO_GLOB_SUBST
7485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7486 $as_echo_n "checking for objdir... " >&6; }
7487 if test "${lt_cv_objdir+set}" = set; then :
7488 $as_echo_n "(cached) " >&6
7490 rm -f .libs 2>/dev/null
7491 mkdir .libs 2>/dev/null
7492 if test -d .libs; then
7495 # MS-DOS does not allow filenames that begin with a dot.
7498 rmdir .libs 2>/dev/null
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7501 $as_echo "$lt_cv_objdir" >&6; }
7502 objdir=$lt_cv_objdir
7508 cat >>confdefs.h <<_ACEOF
7509 #define LT_OBJDIR "$lt_cv_objdir/"
7530 # AIX sometimes has problems with the GCC collect2 program. For some
7531 # reason, if we set the COLLECT_NAMES environment variable, the problems
7532 # vanish in a puff of smoke.
7533 if test "X${COLLECT_NAMES+set}" != Xset; then
7535 export COLLECT_NAMES
7540 # Sed substitution that helps us do robust quoting. It backslashifies
7541 # metacharacters that are still active within double-quoted strings.
7542 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7544 # Same as above, but do not quote variable references.
7545 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7547 # Sed substitution to delay expansion of an escaped shell variable in a
7548 # double_quote_subst'ed string.
7549 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7551 # Sed substitution to delay expansion of an escaped single quote.
7552 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7554 # Sed substitution to avoid accidental globbing in evaled expressions
7555 no_glob_subst='s/\*/\\\*/g'
7559 can_build_shared=yes
7561 # All known linkers require a `.a' archive for static linking (except MSVC,
7562 # which needs '.lib').
7565 with_gnu_ld="$lt_cv_prog_gnu_ld"
7568 old_CFLAGS="$CFLAGS"
7570 # Set sane defaults for various variables
7571 test -z "$CC" && CC=cc
7572 test -z "$LTCC" && LTCC=$CC
7573 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7574 test -z "$LD" && LD=ld
7575 test -z "$ac_objext" && ac_objext=o
7577 for cc_temp in $compiler""; do
7579 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7580 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7585 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7588 # Only perform the check for file, if the check method requires it
7589 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7590 case $deplibs_check_method in
7592 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7594 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7595 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7596 $as_echo_n "(cached) " >&6
7600 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7603 lt_save_MAGIC_CMD="$MAGIC_CMD"
7604 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7605 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7606 for ac_dir in $ac_dummy; do
7608 test -z "$ac_dir" && ac_dir=.
7609 if test -f $ac_dir/${ac_tool_prefix}file; then
7610 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7611 if test -n "$file_magic_test_file"; then
7612 case $deplibs_check_method in
7614 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7615 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7616 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7617 $EGREP "$file_magic_regex" > /dev/null; then
7622 *** Warning: the command libtool uses to detect shared libraries,
7623 *** $file_magic_cmd, produces output that libtool cannot recognize.
7624 *** The result is that libtool may fail to recognize shared libraries
7625 *** as such. This will affect the creation of libtool libraries that
7626 *** depend on shared libraries, but programs linked with such libtool
7627 *** libraries will work regardless of this problem. Nevertheless, you
7628 *** may want to report the problem to your system manager and/or to
7629 *** bug-libtool@gnu.org
7639 MAGIC_CMD="$lt_save_MAGIC_CMD"
7644 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7645 if test -n "$MAGIC_CMD"; then
7646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7647 $as_echo "$MAGIC_CMD" >&6; }
7649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7650 $as_echo "no" >&6; }
7657 if test -z "$lt_cv_path_MAGIC_CMD"; then
7658 if test -n "$ac_tool_prefix"; then
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7660 $as_echo_n "checking for file... " >&6; }
7661 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7662 $as_echo_n "(cached) " >&6
7666 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7669 lt_save_MAGIC_CMD="$MAGIC_CMD"
7670 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7671 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7672 for ac_dir in $ac_dummy; do
7674 test -z "$ac_dir" && ac_dir=.
7675 if test -f $ac_dir/file; then
7676 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7677 if test -n "$file_magic_test_file"; then
7678 case $deplibs_check_method in
7680 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7681 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7682 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7683 $EGREP "$file_magic_regex" > /dev/null; then
7688 *** Warning: the command libtool uses to detect shared libraries,
7689 *** $file_magic_cmd, produces output that libtool cannot recognize.
7690 *** The result is that libtool may fail to recognize shared libraries
7691 *** as such. This will affect the creation of libtool libraries that
7692 *** depend on shared libraries, but programs linked with such libtool
7693 *** libraries will work regardless of this problem. Nevertheless, you
7694 *** may want to report the problem to your system manager and/or to
7695 *** bug-libtool@gnu.org
7705 MAGIC_CMD="$lt_save_MAGIC_CMD"
7710 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7711 if test -n "$MAGIC_CMD"; then
7712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7713 $as_echo "$MAGIC_CMD" >&6; }
7715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7716 $as_echo "no" >&6; }
7729 # Use C for the default configuration in the libtool script
7733 ac_cpp='$CPP $CPPFLAGS'
7734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7739 # Source file extension for C test sources.
7742 # Object file extension for compiled C test sources.
7746 # Code to be used in simple compile tests
7747 lt_simple_compile_test_code="int some_variable = 0;"
7749 # Code to be used in simple link tests
7750 lt_simple_link_test_code='int main(){return(0);}'
7758 # If no C compiler was specified, use CC.
7761 # If no C compiler flags were specified, use CFLAGS.
7762 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7764 # Allow CC to be a program name with arguments.
7767 # Save the default compiler, since it gets overwritten when the other
7768 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7769 compiler_DEFAULT=$CC
7771 # save warnings/boilerplate of simple test code
7772 ac_outfile=conftest.$ac_objext
7773 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7774 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7775 _lt_compiler_boilerplate=`cat conftest.err`
7778 ac_outfile=conftest.$ac_objext
7779 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7780 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7781 _lt_linker_boilerplate=`cat conftest.err`
7786 ## There is no encapsulation within the following macros, do not change
7787 ## the running order or otherwise move them around unless you know exactly
7788 ## what you are doing...
7789 if test -n "$compiler"; then
7791 lt_prog_compiler_no_builtin_flag=
7793 if test "$GCC" = yes; then
7794 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7797 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7798 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7799 $as_echo_n "(cached) " >&6
7801 lt_cv_prog_compiler_rtti_exceptions=no
7802 ac_outfile=conftest.$ac_objext
7803 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7804 lt_compiler_flag="-fno-rtti -fno-exceptions"
7805 # Insert the option either (1) after the last *FLAGS variable, or
7806 # (2) before a word containing "conftest.", or (3) at the end.
7807 # Note that $ac_compile itself does not contain backslashes and begins
7808 # with a dollar sign (not a hyphen), so the echo should work correctly.
7809 # The option is referenced via a variable to avoid confusing sed.
7810 lt_compile=`echo "$ac_compile" | $SED \
7811 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7812 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7813 -e 's:$: $lt_compiler_flag:'`
7814 (eval echo "\"\$as_me:7814: $lt_compile\"" >&5)
7815 (eval "$lt_compile" 2>conftest.err)
7817 cat conftest.err >&5
7818 echo "$as_me:7818: \$? = $ac_status" >&5
7819 if (exit $ac_status) && test -s "$ac_outfile"; then
7820 # The compiler can only warn and ignore the option if not recognized
7821 # So say no if there are warnings other than the usual output.
7822 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7823 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7824 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7825 lt_cv_prog_compiler_rtti_exceptions=yes
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7832 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7834 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7835 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7847 lt_prog_compiler_wl=
7848 lt_prog_compiler_pic=
7849 lt_prog_compiler_static=
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7852 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7854 if test "$GCC" = yes; then
7855 lt_prog_compiler_wl='-Wl,'
7856 lt_prog_compiler_static='-static'
7860 # All AIX code is PIC.
7861 if test "$host_cpu" = ia64; then
7862 # AIX 5 now supports IA64 processor
7863 lt_prog_compiler_static='-Bstatic'
7870 # see comment about AmigaOS4 .so support
7871 lt_prog_compiler_pic='-fPIC'
7874 # FIXME: we need at least 68020 code to build shared libraries, but
7875 # adding the `-m68020' flag to GCC prevents building anything better,
7877 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7882 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7883 # PIC is the default for these OSes.
7886 mingw* | cygwin* | pw32* | os2* | cegcc*)
7887 # This hack is so that the source file can tell whether it is being
7888 # built for inclusion in a dll (and should export symbols for example).
7889 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7890 # (--disable-auto-import) libraries
7891 lt_prog_compiler_pic='-DDLL_EXPORT'
7894 darwin* | rhapsody*)
7895 # PIC is the default on this platform
7896 # Common symbols not allowed in MH_DYLIB files
7897 lt_prog_compiler_pic='-fno-common'
7901 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7902 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7903 # sets the default TLS model and affects inlining.
7909 lt_prog_compiler_pic='-fPIC'
7915 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7916 # Instead, we relocate shared libraries at runtime.
7920 # Just because we use GCC doesn't mean we suddenly get shared libraries
7921 # on systems that don't support them.
7922 lt_prog_compiler_can_build_shared=no
7927 # QNX uses GNU C++, but need to define -shared option too, otherwise
7929 lt_prog_compiler_pic='-fPIC -shared'
7933 if test -d /usr/nec; then
7934 lt_prog_compiler_pic=-Kconform_pic
7939 lt_prog_compiler_pic='-fPIC'
7943 # PORTME Check for flag to pass linker flags through the system compiler.
7946 lt_prog_compiler_wl='-Wl,'
7947 if test "$host_cpu" = ia64; then
7948 # AIX 5 now supports IA64 processor
7949 lt_prog_compiler_static='-Bstatic'
7951 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7955 mingw* | cygwin* | pw32* | os2* | cegcc*)
7956 # This hack is so that the source file can tell whether it is being
7957 # built for inclusion in a dll (and should export symbols for example).
7958 lt_prog_compiler_pic='-DDLL_EXPORT'
7961 hpux9* | hpux10* | hpux11*)
7962 lt_prog_compiler_wl='-Wl,'
7963 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7970 lt_prog_compiler_pic='+Z'
7973 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7974 lt_prog_compiler_static='${wl}-a ${wl}archive'
7977 irix5* | irix6* | nonstopux*)
7978 lt_prog_compiler_wl='-Wl,'
7979 # PIC (with -KPIC) is the default.
7980 lt_prog_compiler_static='-non_shared'
7983 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7984 case $cc_basename in
7985 # old Intel for x86_64 which still supported -KPIC.
7987 lt_prog_compiler_wl='-Wl,'
7988 lt_prog_compiler_pic='-KPIC'
7989 lt_prog_compiler_static='-static'
7991 # icc used to be incompatible with GCC.
7992 # ICC 10 doesn't accept -KPIC any more.
7994 lt_prog_compiler_wl='-Wl,'
7995 lt_prog_compiler_pic='-fPIC'
7996 lt_prog_compiler_static='-static'
7998 # Lahey Fortran 8.1.
8000 lt_prog_compiler_wl='-Wl,'
8001 lt_prog_compiler_pic='--shared'
8002 lt_prog_compiler_static='--static'
8004 pgcc* | pgf77* | pgf90* | pgf95*)
8005 # Portland Group compilers (*not* the Pentium gcc compiler,
8006 # which looks to be a dead project)
8007 lt_prog_compiler_wl='-Wl,'
8008 lt_prog_compiler_pic='-fpic'
8009 lt_prog_compiler_static='-Bstatic'
8012 lt_prog_compiler_wl='-Wl,'
8013 # All Alpha code is PIC.
8014 lt_prog_compiler_static='-non_shared'
8017 # IBM XL C 8.0/Fortran 10.1 on PPC
8018 lt_prog_compiler_wl='-Wl,'
8019 lt_prog_compiler_pic='-qpic'
8020 lt_prog_compiler_static='-qstaticlink'
8023 case `$CC -V 2>&1 | sed 5q` in
8026 lt_prog_compiler_pic='-KPIC'
8027 lt_prog_compiler_static='-Bstatic'
8028 lt_prog_compiler_wl='-Wl,'
8031 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8032 lt_prog_compiler_pic='-KPIC'
8033 lt_prog_compiler_static='-Bstatic'
8034 lt_prog_compiler_wl=''
8042 lt_prog_compiler_pic='-KPIC'
8043 lt_prog_compiler_static='-Bstatic'
8047 # QNX uses GNU C++, but need to define -shared option too, otherwise
8049 lt_prog_compiler_pic='-fPIC -shared'
8052 osf3* | osf4* | osf5*)
8053 lt_prog_compiler_wl='-Wl,'
8054 # All OSF/1 code is PIC.
8055 lt_prog_compiler_static='-non_shared'
8059 lt_prog_compiler_static='-non_shared'
8063 lt_prog_compiler_pic='-KPIC'
8064 lt_prog_compiler_static='-Bstatic'
8065 case $cc_basename in
8067 lt_prog_compiler_wl='-Qoption ld ';;
8069 lt_prog_compiler_wl='-Wl,';;
8074 lt_prog_compiler_wl='-Qoption ld '
8075 lt_prog_compiler_pic='-PIC'
8076 lt_prog_compiler_static='-Bstatic'
8079 sysv4 | sysv4.2uw2* | sysv4.3*)
8080 lt_prog_compiler_wl='-Wl,'
8081 lt_prog_compiler_pic='-KPIC'
8082 lt_prog_compiler_static='-Bstatic'
8086 if test -d /usr/nec ;then
8087 lt_prog_compiler_pic='-Kconform_pic'
8088 lt_prog_compiler_static='-Bstatic'
8092 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8093 lt_prog_compiler_wl='-Wl,'
8094 lt_prog_compiler_pic='-KPIC'
8095 lt_prog_compiler_static='-Bstatic'
8099 lt_prog_compiler_wl='-Wl,'
8100 lt_prog_compiler_can_build_shared=no
8104 lt_prog_compiler_pic='-pic'
8105 lt_prog_compiler_static='-Bstatic'
8109 lt_prog_compiler_can_build_shared=no
8115 # For platforms which do not support PIC, -DPIC is meaningless:
8117 lt_prog_compiler_pic=
8120 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8124 $as_echo "$lt_prog_compiler_pic" >&6; }
8132 # Check to make sure the PIC flag actually works.
8134 if test -n "$lt_prog_compiler_pic"; then
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8136 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8137 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8138 $as_echo_n "(cached) " >&6
8140 lt_cv_prog_compiler_pic_works=no
8141 ac_outfile=conftest.$ac_objext
8142 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8143 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8144 # Insert the option either (1) after the last *FLAGS variable, or
8145 # (2) before a word containing "conftest.", or (3) at the end.
8146 # Note that $ac_compile itself does not contain backslashes and begins
8147 # with a dollar sign (not a hyphen), so the echo should work correctly.
8148 # The option is referenced via a variable to avoid confusing sed.
8149 lt_compile=`echo "$ac_compile" | $SED \
8150 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8151 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8152 -e 's:$: $lt_compiler_flag:'`
8153 (eval echo "\"\$as_me:8153: $lt_compile\"" >&5)
8154 (eval "$lt_compile" 2>conftest.err)
8156 cat conftest.err >&5
8157 echo "$as_me:8157: \$? = $ac_status" >&5
8158 if (exit $ac_status) && test -s "$ac_outfile"; then
8159 # The compiler can only warn and ignore the option if not recognized
8160 # So say no if there are warnings other than the usual output.
8161 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8162 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8163 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8164 lt_cv_prog_compiler_pic_works=yes
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8171 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8173 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8174 case $lt_prog_compiler_pic in
8176 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8179 lt_prog_compiler_pic=
8180 lt_prog_compiler_can_build_shared=no
8191 # Check to make sure the static flag actually works.
8193 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8195 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8196 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8197 $as_echo_n "(cached) " >&6
8199 lt_cv_prog_compiler_static_works=no
8200 save_LDFLAGS="$LDFLAGS"
8201 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8202 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8203 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8204 # The linker can only warn and ignore the option if not recognized
8205 # So say no if there are warnings
8206 if test -s conftest.err; then
8207 # Append any errors to the config.log.
8208 cat conftest.err 1>&5
8209 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8210 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8211 if diff conftest.exp conftest.er2 >/dev/null; then
8212 lt_cv_prog_compiler_static_works=yes
8215 lt_cv_prog_compiler_static_works=yes
8219 LDFLAGS="$save_LDFLAGS"
8222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8223 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8225 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8228 lt_prog_compiler_static=
8237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8238 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8239 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8240 $as_echo_n "(cached) " >&6
8242 lt_cv_prog_compiler_c_o=no
8243 $RM -r conftest 2>/dev/null
8247 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8249 lt_compiler_flag="-o out/conftest2.$ac_objext"
8250 # Insert the option either (1) after the last *FLAGS variable, or
8251 # (2) before a word containing "conftest.", or (3) at the end.
8252 # Note that $ac_compile itself does not contain backslashes and begins
8253 # with a dollar sign (not a hyphen), so the echo should work correctly.
8254 lt_compile=`echo "$ac_compile" | $SED \
8255 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8256 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8257 -e 's:$: $lt_compiler_flag:'`
8258 (eval echo "\"\$as_me:8258: $lt_compile\"" >&5)
8259 (eval "$lt_compile" 2>out/conftest.err)
8261 cat out/conftest.err >&5
8262 echo "$as_me:8262: \$? = $ac_status" >&5
8263 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8265 # The compiler can only warn and ignore the option if not recognized
8266 # So say no if there are warnings
8267 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8268 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8269 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8270 lt_cv_prog_compiler_c_o=yes
8275 # SGI C++ compiler will create directory out/ii_files/ for
8276 # template instantiation
8277 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8278 $RM out/* && rmdir out
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8285 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8293 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8294 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8295 $as_echo_n "(cached) " >&6
8297 lt_cv_prog_compiler_c_o=no
8298 $RM -r conftest 2>/dev/null
8302 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8304 lt_compiler_flag="-o out/conftest2.$ac_objext"
8305 # Insert the option either (1) after the last *FLAGS variable, or
8306 # (2) before a word containing "conftest.", or (3) at the end.
8307 # Note that $ac_compile itself does not contain backslashes and begins
8308 # with a dollar sign (not a hyphen), so the echo should work correctly.
8309 lt_compile=`echo "$ac_compile" | $SED \
8310 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8311 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8312 -e 's:$: $lt_compiler_flag:'`
8313 (eval echo "\"\$as_me:8313: $lt_compile\"" >&5)
8314 (eval "$lt_compile" 2>out/conftest.err)
8316 cat out/conftest.err >&5
8317 echo "$as_me:8317: \$? = $ac_status" >&5
8318 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8320 # The compiler can only warn and ignore the option if not recognized
8321 # So say no if there are warnings
8322 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8323 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8324 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8325 lt_cv_prog_compiler_c_o=yes
8330 # SGI C++ compiler will create directory out/ii_files/ for
8331 # template instantiation
8332 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8333 $RM out/* && rmdir out
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8340 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8345 hard_links="nottested"
8346 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8347 # do not overwrite the value of need_locks provided by the user
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8349 $as_echo_n "checking if we can lock with hard links... " >&6; }
8352 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8354 ln conftest.a conftest.b 2>&5 || hard_links=no
8355 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8357 $as_echo "$hard_links" >&6; }
8358 if test "$hard_links" = no; then
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8360 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8373 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8376 allow_undefined_flag=
8377 always_export_symbols=no
8379 archive_expsym_cmds=
8380 compiler_needs_object=no
8381 enable_shared_with_static_runtimes=no
8382 export_dynamic_flag_spec=
8383 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8384 hardcode_automatic=no
8386 hardcode_direct_absolute=no
8387 hardcode_libdir_flag_spec=
8388 hardcode_libdir_flag_spec_ld=
8389 hardcode_libdir_separator=
8391 hardcode_shlibpath_var=unsupported
8393 link_all_deplibs=unknown
8396 old_archive_from_new_cmds=
8397 old_archive_from_expsyms_cmds=
8398 thread_safe_flag_spec=
8399 whole_archive_flag_spec=
8400 # include_expsyms should be a list of space-separated symbols to be *always*
8401 # included in the symbol list
8403 # exclude_expsyms can be an extended regexp of symbols to exclude
8404 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8405 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8406 # as well as any symbol that contains `d'.
8407 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8408 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8409 # platforms (ab)use it in PIC code, but their linkers get confused if
8410 # the symbol is explicitly referenced. Since portable code cannot
8411 # rely on this symbol name, it's probably fine to never include it in
8412 # preloaded symbol tables.
8413 # Exclude shared library initialization/finalization symbols.
8414 extract_expsyms_cmds=
8417 cygwin* | mingw* | pw32* | cegcc*)
8418 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8419 # When not using gcc, we currently assume that we are using
8420 # Microsoft Visual C++.
8421 if test "$GCC" != yes; then
8426 # we just hope/assume this is gcc and not c89 (= MSVC++)
8432 linux* | k*bsd*-gnu)
8438 if test "$with_gnu_ld" = yes; then
8439 # If archive_cmds runs LD, not CC, wlarc should be empty
8442 # Set some defaults for GNU ld with shared library support. These
8443 # are reset later if shared libraries are not supported. Putting them
8444 # here allows them to be overridden if necessary.
8445 runpath_var=LD_RUN_PATH
8446 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8447 export_dynamic_flag_spec='${wl}--export-dynamic'
8448 # ancient GNU ld didn't support --whole-archive et. al.
8449 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8450 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8452 whole_archive_flag_spec=
8454 supports_anon_versioning=no
8455 case `$LD -v 2>&1` in
8456 *GNU\ gold*) supports_anon_versioning=yes ;;
8457 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8458 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8459 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8460 *\ 2.11.*) ;; # other 2.11 versions
8461 *) supports_anon_versioning=yes ;;
8464 # See if GNU ld supports shared libraries.
8467 # On AIX/PPC, the GNU linker is very broken
8468 if test "$host_cpu" != ia64; then
8472 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8473 *** to be unable to reliably create shared libraries on AIX.
8474 *** Therefore, libtool is disabling shared libraries support. If you
8475 *** really care for shared libraries, you may want to modify your PATH
8476 *** so that a non-GNU linker is found, and then restart.
8485 # see comment about AmigaOS4 .so support
8486 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8487 archive_expsym_cmds=''
8490 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)'
8491 hardcode_libdir_flag_spec='-L$libdir'
8492 hardcode_minus_L=yes
8498 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8499 allow_undefined_flag=unsupported
8500 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8501 # support --undefined. This deserves some investigation. FIXME
8502 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8508 cygwin* | mingw* | pw32* | cegcc*)
8509 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8510 # as there is no search path for DLLs.
8511 hardcode_libdir_flag_spec='-L$libdir'
8512 allow_undefined_flag=unsupported
8513 always_export_symbols=no
8514 enable_shared_with_static_runtimes=yes
8515 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8517 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8518 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8519 # If the export-symbols file already is a .def file (1st line
8520 # is EXPORTS), use it as is; otherwise, prepend...
8521 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8522 cp $export_symbols $output_objdir/$soname.def;
8524 echo EXPORTS > $output_objdir/$soname.def;
8525 cat $export_symbols >> $output_objdir/$soname.def;
8527 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8535 hardcode_shlibpath_var=no
8536 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8537 export_dynamic_flag_spec='${wl}-E'
8538 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8539 # Instead, shared libraries are loaded at an image base (0x10000000 by
8540 # default) and relocated if they conflict, which is a slow very memory
8541 # consuming and fragmenting process. To avoid this, we pick a random,
8542 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8543 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8544 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8545 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'
8548 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8550 if test "$host_os" = linux-dietlibc; then
8551 case $cc_basename in
8552 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8555 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8556 && test "$tmp_diet" = no
8559 tmp_sharedflag='-shared'
8560 case $cc_basename,$host_cpu in
8561 pgcc*) # Portland Group C compiler
8562 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'
8563 tmp_addflag=' $pic_flag'
8565 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8566 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'
8567 tmp_addflag=' $pic_flag -Mnomain' ;;
8568 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8569 tmp_addflag=' -i_dynamic' ;;
8570 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8571 tmp_addflag=' -i_dynamic -nofor_main' ;;
8572 ifc* | ifort*) # Intel Fortran compiler
8573 tmp_addflag=' -nofor_main' ;;
8574 lf95*) # Lahey Fortran 8.1
8575 whole_archive_flag_spec=
8576 tmp_sharedflag='--shared' ;;
8577 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8578 tmp_sharedflag='-qmkshrobj'
8581 case `$CC -V 2>&1 | sed 5q` in
8582 *Sun\ C*) # Sun C 5.9
8583 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'
8584 compiler_needs_object=yes
8585 tmp_sharedflag='-G' ;;
8586 *Sun\ F*) # Sun Fortran 8.3
8587 tmp_sharedflag='-G' ;;
8589 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8591 if test "x$supports_anon_versioning" = xyes; then
8592 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8593 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8594 echo "local: *; };" >> $output_objdir/$libname.ver~
8595 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8598 case $cc_basename in
8600 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8601 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8602 hardcode_libdir_flag_spec=
8603 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8604 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8605 if test "x$supports_anon_versioning" = xyes; then
8606 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8607 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8608 echo "local: *; };" >> $output_objdir/$libname.ver~
8609 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8618 netbsd* | netbsdelf*-gnu)
8619 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8620 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8623 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8624 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8629 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8633 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8634 *** create shared libraries on Solaris systems. Therefore, libtool
8635 *** is disabling shared libraries support. We urge you to upgrade GNU
8636 *** binutils to release 2.9.1 or newer. Another option is to modify
8637 *** your PATH or compiler configuration so that the native linker is
8638 *** used, and then restart.
8641 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8642 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8643 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8649 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8650 case `$LD -v 2>&1` in
8651 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8655 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8656 *** reliably create shared libraries on SCO systems. Therefore, libtool
8657 *** is disabling shared libraries support. We urge you to upgrade GNU
8658 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8659 *** your PATH or compiler configuration so that the native linker is
8660 *** used, and then restart.
8665 # For security reasons, it is highly recommended that you always
8666 # use absolute paths for naming shared libraries, and exclude the
8667 # DT_RUNPATH tag from executables and libraries. But doing so
8668 # requires that you compile everything twice, which is a pain.
8669 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8670 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8671 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8672 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8681 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8684 hardcode_shlibpath_var=no
8688 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8689 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8690 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8697 if test "$ld_shlibs" = no; then
8699 hardcode_libdir_flag_spec=
8700 export_dynamic_flag_spec=
8701 whole_archive_flag_spec=
8704 # PORTME fill in a description of your system's linker (not GNU ld)
8707 allow_undefined_flag=unsupported
8708 always_export_symbols=yes
8709 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'
8710 # Note: this linker hardcodes the directories in LIBPATH if there
8711 # are no directories specified by -L.
8712 hardcode_minus_L=yes
8713 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8714 # Neither direct hardcoding nor static linking is supported with a
8716 hardcode_direct=unsupported
8721 if test "$host_cpu" = ia64; then
8722 # On IA64, the linker does run time linking by default, so we don't
8723 # have to do anything special.
8724 aix_use_runtimelinking=no
8725 exp_sym_flag='-Bexport'
8728 # If we're using GNU nm, then we don't want the "-C" option.
8729 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8730 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8731 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'
8733 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'
8735 aix_use_runtimelinking=no
8737 # Test if we are trying to use run time linking or normal
8738 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8739 # need to do runtime linking.
8740 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8741 for ld_flag in $LDFLAGS; do
8742 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8743 aix_use_runtimelinking=yes
8750 exp_sym_flag='-bexport'
8751 no_entry_flag='-bnoentry'
8754 # When large executables or shared objects are built, AIX ld can
8755 # have problems creating the table of contents. If linking a library
8756 # or program results in "error TOC overflow" add -mminimal-toc to
8757 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8758 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8762 hardcode_direct_absolute=yes
8763 hardcode_libdir_separator=':'
8764 link_all_deplibs=yes
8765 file_list_spec='${wl}-f,'
8767 if test "$GCC" = yes; then
8768 case $host_os in aix4.[012]|aix4.[012].*)
8769 # We only want to do this on AIX 4.2 and lower, the check
8770 # below for broken collect2 doesn't work under 4.3+
8771 collect2name=`${CC} -print-prog-name=collect2`
8772 if test -f "$collect2name" &&
8773 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8775 # We have reworked collect2
8778 # We have old collect2
8779 hardcode_direct=unsupported
8780 # It fails to find uninstalled libraries when the uninstalled
8781 # path is not listed in the libpath. Setting hardcode_minus_L
8782 # to unsupported forces relinking
8783 hardcode_minus_L=yes
8784 hardcode_libdir_flag_spec='-L$libdir'
8785 hardcode_libdir_separator=
8789 shared_flag='-shared'
8790 if test "$aix_use_runtimelinking" = yes; then
8791 shared_flag="$shared_flag "'${wl}-G'
8796 if test "$host_cpu" = ia64; then
8797 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8798 # chokes on -Wl,-G. The following line is correct:
8801 if test "$aix_use_runtimelinking" = yes; then
8802 shared_flag='${wl}-G'
8804 shared_flag='${wl}-bM:SRE'
8809 export_dynamic_flag_spec='${wl}-bexpall'
8810 # It seems that -bexpall does not export symbols beginning with
8811 # underscore (_), so it is better to generate a list of symbols to export.
8812 always_export_symbols=yes
8813 if test "$aix_use_runtimelinking" = yes; then
8814 # Warning - without using the other runtime loading flags (-brtl),
8815 # -berok will link without error, but may produce a broken library.
8816 allow_undefined_flag='-berok'
8817 # Determine the default libpath from the value encoded in an
8819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8820 /* end confdefs.h. */
8830 if ac_fn_c_try_link "$LINENO"; then :
8832 lt_aix_libpath_sed='
8833 /Import File Strings/,/^$/ {
8839 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8840 # Check for a 64-bit object if we didn't find anything.
8841 if test -z "$aix_libpath"; then
8842 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8845 rm -f core conftest.err conftest.$ac_objext \
8846 conftest$ac_exeext conftest.$ac_ext
8847 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8849 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8850 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"
8852 if test "$host_cpu" = ia64; then
8853 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8854 allow_undefined_flag="-z nodefs"
8855 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"
8857 # Determine the default libpath from the value encoded in an
8859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8860 /* end confdefs.h. */
8870 if ac_fn_c_try_link "$LINENO"; then :
8872 lt_aix_libpath_sed='
8873 /Import File Strings/,/^$/ {
8879 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8880 # Check for a 64-bit object if we didn't find anything.
8881 if test -z "$aix_libpath"; then
8882 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8885 rm -f core conftest.err conftest.$ac_objext \
8886 conftest$ac_exeext conftest.$ac_ext
8887 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8889 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8890 # Warning - without using the other run time loading flags,
8891 # -berok will link without error, but may produce a broken library.
8892 no_undefined_flag=' ${wl}-bernotok'
8893 allow_undefined_flag=' ${wl}-berok'
8894 # Exported symbols can be pulled into shared objects from archives
8895 whole_archive_flag_spec='$convenience'
8896 archive_cmds_need_lc=yes
8897 # This is similar to how AIX traditionally builds its shared libraries.
8898 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'
8906 # see comment about AmigaOS4 .so support
8907 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8908 archive_expsym_cmds=''
8911 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)'
8912 hardcode_libdir_flag_spec='-L$libdir'
8913 hardcode_minus_L=yes
8919 export_dynamic_flag_spec=-rdynamic
8922 cygwin* | mingw* | pw32* | cegcc*)
8923 # When not using gcc, we currently assume that we are using
8924 # Microsoft Visual C++.
8925 # hardcode_libdir_flag_spec is actually meaningless, as there is
8926 # no search path for DLLs.
8927 hardcode_libdir_flag_spec=' '
8928 allow_undefined_flag=unsupported
8929 # Tell ltmain to make .lib files, not .a files.
8931 # Tell ltmain to make .dll files, not .so files.
8933 # FIXME: Setting linknames here is a bad hack.
8934 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8935 # The linker will automatically build a .lib file if we build a DLL.
8936 old_archive_from_new_cmds='true'
8937 # FIXME: Should let the user specify the lib program.
8938 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8939 fix_srcfile_path='`cygpath -w "$srcfile"`'
8940 enable_shared_with_static_runtimes=yes
8943 darwin* | rhapsody*)
8946 archive_cmds_need_lc=no
8948 hardcode_automatic=yes
8949 hardcode_shlibpath_var=unsupported
8950 whole_archive_flag_spec=''
8951 link_all_deplibs=yes
8952 allow_undefined_flag="$_lt_dar_allow_undefined"
8953 case $cc_basename in
8954 ifort*) _lt_dar_can_shared=yes ;;
8955 *) _lt_dar_can_shared=$GCC ;;
8957 if test "$_lt_dar_can_shared" = "yes"; then
8958 output_verbose_link_cmd=echo
8959 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8960 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8961 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}"
8962 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}"
8971 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8972 hardcode_libdir_flag_spec='-L$libdir'
8973 hardcode_shlibpath_var=no
8980 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8981 # support. Future versions do this automatically, but an explicit c++rt0.o
8982 # does not break anything, and helps significantly (at the cost of a little
8985 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8986 hardcode_libdir_flag_spec='-R$libdir'
8988 hardcode_shlibpath_var=no
8991 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8993 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8995 hardcode_minus_L=yes
8996 hardcode_shlibpath_var=no
8999 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9000 freebsd* | dragonfly*)
9001 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9002 hardcode_libdir_flag_spec='-R$libdir'
9004 hardcode_shlibpath_var=no
9008 if test "$GCC" = yes; then
9009 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'
9011 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'
9013 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9014 hardcode_libdir_separator=:
9017 # hardcode_minus_L: Not really in the search PATH,
9018 # but as the default location of the library.
9019 hardcode_minus_L=yes
9020 export_dynamic_flag_spec='${wl}-E'
9024 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9025 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9027 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9029 if test "$with_gnu_ld" = no; then
9030 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9031 hardcode_libdir_flag_spec_ld='+b $libdir'
9032 hardcode_libdir_separator=:
9034 hardcode_direct_absolute=yes
9035 export_dynamic_flag_spec='${wl}-E'
9036 # hardcode_minus_L: Not really in the search PATH,
9037 # but as the default location of the library.
9038 hardcode_minus_L=yes
9043 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9046 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9049 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9052 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9058 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9061 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9064 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9068 if test "$with_gnu_ld" = no; then
9069 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9070 hardcode_libdir_separator=:
9075 hardcode_shlibpath_var=no
9079 hardcode_direct_absolute=yes
9080 export_dynamic_flag_spec='${wl}-E'
9082 # hardcode_minus_L: Not really in the search PATH,
9083 # but as the default location of the library.
9084 hardcode_minus_L=yes
9090 irix5* | irix6* | nonstopux*)
9091 if test "$GCC" = yes; then
9092 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'
9093 # Try to use the -exported_symbol ld option, if it does not
9094 # work, assume that -exports_file does not work either and
9095 # implicitly export all symbols.
9096 save_LDFLAGS="$LDFLAGS"
9097 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9099 /* end confdefs.h. */
9102 if ac_fn_c_try_link "$LINENO"; then :
9103 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'
9106 rm -f core conftest.err conftest.$ac_objext \
9107 conftest$ac_exeext conftest.$ac_ext
9108 LDFLAGS="$save_LDFLAGS"
9110 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'
9111 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'
9113 archive_cmds_need_lc='no'
9114 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9115 hardcode_libdir_separator=:
9117 link_all_deplibs=yes
9120 netbsd* | netbsdelf*-gnu)
9121 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9122 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9124 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9126 hardcode_libdir_flag_spec='-R$libdir'
9128 hardcode_shlibpath_var=no
9132 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9134 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9135 hardcode_libdir_separator=:
9136 hardcode_shlibpath_var=no
9143 if test -f /usr/libexec/ld.so; then
9145 hardcode_shlibpath_var=no
9146 hardcode_direct_absolute=yes
9147 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9148 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9149 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9150 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9151 export_dynamic_flag_spec='${wl}-E'
9154 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9155 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9156 hardcode_libdir_flag_spec='-R$libdir'
9159 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9160 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9170 hardcode_libdir_flag_spec='-L$libdir'
9171 hardcode_minus_L=yes
9172 allow_undefined_flag=unsupported
9173 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'
9174 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9178 if test "$GCC" = yes; then
9179 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9180 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'
9182 allow_undefined_flag=' -expect_unresolved \*'
9183 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'
9185 archive_cmds_need_lc='no'
9186 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9187 hardcode_libdir_separator=:
9190 osf4* | osf5*) # as osf3* with the addition of -msym flag
9191 if test "$GCC" = yes; then
9192 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9193 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'
9194 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9196 allow_undefined_flag=' -expect_unresolved \*'
9197 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'
9198 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~
9199 $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'
9201 # Both c and cxx compiler support -rpath directly
9202 hardcode_libdir_flag_spec='-rpath $libdir'
9204 archive_cmds_need_lc='no'
9205 hardcode_libdir_separator=:
9209 no_undefined_flag=' -z defs'
9210 if test "$GCC" = yes; then
9212 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9213 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9214 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9216 case `$CC -V 2>&1` in
9219 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9220 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9221 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9225 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9226 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9227 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9231 hardcode_libdir_flag_spec='-R$libdir'
9232 hardcode_shlibpath_var=no
9234 solaris2.[0-5] | solaris2.[0-5].*) ;;
9236 # The compiler driver will combine and reorder linker options,
9237 # but understands `-z linker_flag'. GCC discards it without `$wl',
9238 # but is careful enough not to reorder.
9239 # Supported since Solaris 2.6 (maybe 2.5.1?)
9240 if test "$GCC" = yes; then
9241 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9243 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9247 link_all_deplibs=yes
9251 if test "x$host_vendor" = xsequent; then
9252 # Use $CC to link under sequent, because it throws in some extra .o
9253 # files that make .init and .fini sections work.
9254 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9256 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9258 hardcode_libdir_flag_spec='-L$libdir'
9260 hardcode_minus_L=yes
9261 hardcode_shlibpath_var=no
9265 case $host_vendor in
9267 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9268 hardcode_direct=yes # is this really true???
9271 ## LD is ld it makes a PLAMLIB
9272 ## CC just makes a GrossModule.
9273 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9274 reload_cmds='$CC -r -o $output$reload_objs'
9278 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9279 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9282 runpath_var='LD_RUN_PATH'
9283 hardcode_shlibpath_var=no
9287 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9288 hardcode_shlibpath_var=no
9289 export_dynamic_flag_spec='-Bexport'
9293 if test -d /usr/nec; then
9294 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9295 hardcode_shlibpath_var=no
9296 runpath_var=LD_RUN_PATH
9297 hardcode_runpath_var=yes
9302 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9303 no_undefined_flag='${wl}-z,text'
9304 archive_cmds_need_lc=no
9305 hardcode_shlibpath_var=no
9306 runpath_var='LD_RUN_PATH'
9308 if test "$GCC" = yes; then
9309 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9310 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9312 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9313 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9317 sysv5* | sco3.2v5* | sco5v6*)
9318 # Note: We can NOT use -z defs as we might desire, because we do not
9319 # link with -lc, and that would cause any symbols used from libc to
9320 # always be unresolved, which means just about no library would
9321 # ever link correctly. If we're not using GNU ld we use -z text
9322 # though, which does catch some bad symbols but isn't as heavy-handed
9324 no_undefined_flag='${wl}-z,text'
9325 allow_undefined_flag='${wl}-z,nodefs'
9326 archive_cmds_need_lc=no
9327 hardcode_shlibpath_var=no
9328 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9329 hardcode_libdir_separator=':'
9330 link_all_deplibs=yes
9331 export_dynamic_flag_spec='${wl}-Bexport'
9332 runpath_var='LD_RUN_PATH'
9334 if test "$GCC" = yes; then
9335 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9336 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9338 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9339 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9344 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9345 hardcode_libdir_flag_spec='-L$libdir'
9346 hardcode_shlibpath_var=no
9354 if test x$host_vendor = xsni; then
9356 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9357 export_dynamic_flag_spec='${wl}-Blargedynsym'
9363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9364 $as_echo "$ld_shlibs" >&6; }
9365 test "$ld_shlibs" = no && can_build_shared=no
9367 with_gnu_ld=$with_gnu_ld
9384 # Do we need to explicitly link libc?
9386 case "x$archive_cmds_need_lc" in
9388 # Assume -lc should be added
9389 archive_cmds_need_lc=yes
9391 if test "$enable_shared" = yes && test "$GCC" = yes; then
9392 case $archive_cmds in
9394 # FIXME: we may have to deal with multi-command sequences.
9397 # Test whether the compiler implicitly links with -lc since on some
9398 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9399 # to ld, don't add -lc before -lgcc.
9400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9401 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9403 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9405 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9406 (eval $ac_compile) 2>&5
9408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9409 test $ac_status = 0; } 2>conftest.err; then
9412 libobjs=conftest.$ac_objext
9414 wl=$lt_prog_compiler_wl
9415 pic_flag=$lt_prog_compiler_pic
9421 lt_save_allow_undefined_flag=$allow_undefined_flag
9422 allow_undefined_flag=
9423 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9424 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9426 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9427 test $ac_status = 0; }
9429 archive_cmds_need_lc=no
9431 archive_cmds_need_lc=yes
9433 allow_undefined_flag=$lt_save_allow_undefined_flag
9435 cat conftest.err 1>&5
9438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9439 $as_echo "$archive_cmds_need_lc" >&6; }
9602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9603 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9605 if test "$GCC" = yes; then
9607 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9608 *) lt_awk_arg="/^libraries:/" ;;
9610 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9611 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9612 # if the path contains ";" then we assume it to be the separator
9613 # otherwise default to the standard path separator (i.e. ":") - it is
9614 # assumed that no part of a normal pathname contains ";" but that should
9615 # okay in the real world where ";" in dirpaths is itself problematic.
9616 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9618 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9620 # Ok, now we have the path, separated by spaces, we can step through it
9621 # and add multilib dir if necessary.
9622 lt_tmp_lt_search_path_spec=
9623 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9624 for lt_sys_path in $lt_search_path_spec; do
9625 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9626 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9628 test -d "$lt_sys_path" && \
9629 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9632 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9633 BEGIN {RS=" "; FS="/|\n";} {
9636 for (lt_i = NF; lt_i > 0; lt_i--) {
9637 if ($lt_i != "" && $lt_i != ".") {
9638 if ($lt_i == "..") {
9641 if (lt_count == 0) {
9642 lt_foo="/" $lt_i lt_foo;
9649 if (lt_foo != "") { lt_freq[lt_foo]++; }
9650 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9652 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9654 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9657 libname_spec='lib$name'
9665 shlibpath_overrides_runpath=unknown
9667 dynamic_linker="$host_os ld.so"
9668 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9669 need_lib_prefix=unknown
9670 hardcode_into_libs=no
9672 # when you set need_version to no, make sure it does not cause -set_version
9673 # flags to be left without arguments
9674 need_version=unknown
9679 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9680 shlibpath_var=LIBPATH
9682 # AIX 3 has no versioning support, so we append a major version to the name.
9683 soname_spec='${libname}${release}${shared_ext}$major'
9690 hardcode_into_libs=yes
9691 if test "$host_cpu" = ia64; then
9692 # AIX 5 supports IA64
9693 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9694 shlibpath_var=LD_LIBRARY_PATH
9696 # With GCC up to 2.95.x, collect2 would create an import file
9697 # for dependence libraries. The import file would start with
9698 # the line `#! .'. This would cause the generated library to
9699 # depend on `.', always an invalid library. This was fixed in
9700 # development snapshots of GCC prior to 3.0.
9702 aix4 | aix4.[01] | aix4.[01].*)
9703 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9705 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9712 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9713 # soname into executable. Probably we can add versioning support to
9714 # collect2, so additional links can be useful in future.
9715 if test "$aix_use_runtimelinking" = yes; then
9716 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9717 # instead of lib<name>.a to let people know that these are not
9718 # typical AIX shared libraries.
9719 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9721 # We preserve .a as extension for shared libraries through AIX4.2
9722 # and later when we are not doing run time linking.
9723 library_names_spec='${libname}${release}.a $libname.a'
9724 soname_spec='${libname}${release}${shared_ext}$major'
9726 shlibpath_var=LIBPATH
9733 # Since July 2007 AmigaOS4 officially supports .so libraries.
9734 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9735 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9738 library_names_spec='$libname.ixlibrary $libname.a'
9739 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9740 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'
9746 library_names_spec='${libname}${shared_ext}'
9747 dynamic_linker="$host_os ld.so"
9748 shlibpath_var=LIBRARY_PATH
9754 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9755 soname_spec='${libname}${release}${shared_ext}$major'
9756 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9757 shlibpath_var=LD_LIBRARY_PATH
9758 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9759 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9760 # the default ld.so.conf also contains /usr/contrib/lib and
9761 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9762 # libtool to hard-code these into programs
9765 cygwin* | mingw* | pw32* | cegcc*)
9766 version_type=windows
9771 case $GCC,$host_os in
9772 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9773 library_names_spec='$libname.dll.a'
9774 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9775 postinstall_cmds='base_file=`basename \${file}`~
9776 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9777 dldir=$destdir/`dirname \$dlpath`~
9778 test -d \$dldir || mkdir -p \$dldir~
9779 $install_prog $dir/$dlname \$dldir/$dlname~
9780 chmod a+x \$dldir/$dlname~
9781 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9782 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9784 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9785 dlpath=$dir/\$dldll~
9787 shlibpath_overrides_runpath=yes
9791 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9792 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9793 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9796 # MinGW DLLs use traditional 'lib' prefix
9797 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9798 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9799 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9800 # It is most probably a Windows format PATH printed by
9801 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9802 # path with ; separators, and with drive letters. We can handle the
9803 # drive letters (cygwin fileutils understands them), so leave them,
9804 # especially as we might pass files found there to a mingw objdump,
9805 # which wouldn't understand a cygwinified path. Ahh.
9806 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9808 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9812 # pw32 DLLs use 'pw' prefix rather than 'lib'
9813 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9819 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9822 dynamic_linker='Win32 ld.exe'
9823 # FIXME: first we should search . and the directory the executable is in
9827 darwin* | rhapsody*)
9828 dynamic_linker="$host_os dyld"
9832 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9833 soname_spec='${libname}${release}${major}$shared_ext'
9834 shlibpath_overrides_runpath=yes
9835 shlibpath_var=DYLD_LIBRARY_PATH
9836 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9838 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9839 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9846 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9847 soname_spec='${libname}${release}${shared_ext}$major'
9848 shlibpath_var=LD_LIBRARY_PATH
9855 freebsd* | dragonfly*)
9856 # DragonFly does not have aout. When/if they implement a new
9857 # versioning mechanism, adjust this.
9858 if test -x /usr/bin/objformat; then
9859 objformat=`/usr/bin/objformat`
9862 freebsd[123]*) objformat=aout ;;
9866 version_type=freebsd-$objformat
9867 case $version_type in
9869 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9874 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9878 shlibpath_var=LD_LIBRARY_PATH
9881 shlibpath_overrides_runpath=yes
9883 freebsd3.[01]* | freebsdelf3.[01]*)
9884 shlibpath_overrides_runpath=yes
9885 hardcode_into_libs=yes
9887 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9888 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9889 shlibpath_overrides_runpath=no
9890 hardcode_into_libs=yes
9892 *) # from 4.6 on, and DragonFly
9893 shlibpath_overrides_runpath=yes
9894 hardcode_into_libs=yes
9903 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9904 soname_spec='${libname}${release}${shared_ext}$major'
9905 shlibpath_var=LD_LIBRARY_PATH
9906 hardcode_into_libs=yes
9909 hpux9* | hpux10* | hpux11*)
9910 # Give a soname corresponding to the major version so that dld.sl refuses to
9911 # link against other versions.
9918 hardcode_into_libs=yes
9919 dynamic_linker="$host_os dld.so"
9920 shlibpath_var=LD_LIBRARY_PATH
9921 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9922 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9923 soname_spec='${libname}${release}${shared_ext}$major'
9924 if test "X$HPUX_IA64_MODE" = X32; then
9925 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9927 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9929 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9933 hardcode_into_libs=yes
9934 dynamic_linker="$host_os dld.sl"
9935 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9936 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9937 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9938 soname_spec='${libname}${release}${shared_ext}$major'
9939 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9940 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9944 dynamic_linker="$host_os dld.sl"
9945 shlibpath_var=SHLIB_PATH
9946 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9947 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9948 soname_spec='${libname}${release}${shared_ext}$major'
9951 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9952 postinstall_cmds='chmod 555 $lib'
9959 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9960 soname_spec='${libname}${release}${shared_ext}$major'
9961 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9962 shlibpath_var=LD_LIBRARY_PATH
9963 shlibpath_overrides_runpath=no
9964 hardcode_into_libs=yes
9967 irix5* | irix6* | nonstopux*)
9969 nonstopux*) version_type=nonstopux ;;
9971 if test "$lt_cv_prog_gnu_ld" = yes; then
9979 soname_spec='${libname}${release}${shared_ext}$major'
9980 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9982 irix5* | nonstopux*)
9986 case $LD in # libtool.m4 will add one of these switches to LD
9987 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9988 libsuff= shlibsuff= libmagic=32-bit;;
9989 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9990 libsuff=32 shlibsuff=N32 libmagic=N32;;
9991 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9992 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9993 *) libsuff= shlibsuff= libmagic=never-match;;
9997 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9998 shlibpath_overrides_runpath=no
9999 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10000 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10001 hardcode_into_libs=yes
10004 # No shared lib support for Linux oldld, aout, or coff.
10005 linux*oldld* | linux*aout* | linux*coff*)
10009 # This must be Linux ELF.
10010 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10014 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10015 soname_spec='${libname}${release}${shared_ext}$major'
10016 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10017 shlibpath_var=LD_LIBRARY_PATH
10018 shlibpath_overrides_runpath=no
10019 # Some binutils ld are patched to set DT_RUNPATH
10020 save_LDFLAGS=$LDFLAGS
10021 save_libdir=$libdir
10022 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10023 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10025 /* end confdefs.h. */
10035 if ac_fn_c_try_link "$LINENO"; then :
10036 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10037 shlibpath_overrides_runpath=yes
10040 rm -f core conftest.err conftest.$ac_objext \
10041 conftest$ac_exeext conftest.$ac_ext
10042 LDFLAGS=$save_LDFLAGS
10043 libdir=$save_libdir
10045 # This implies no fast_install, which is unacceptable.
10046 # Some rework will be needed to allow for fast_install
10047 # before this can be enabled.
10048 hardcode_into_libs=yes
10050 # Append ld.so.conf contents to the search path
10051 if test -f /etc/ld.so.conf; then
10052 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' ' '`
10053 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10056 # We used to test for /lib/ld.so.1 and disable shared libraries on
10057 # powerpc, because MkLinux only supported shared libraries with the
10058 # GNU dynamic linker. Since this was broken with cross compilers,
10059 # most powerpc-linux boxes support dynamic linking these days and
10060 # people can always --disable-shared, the test was removed, and we
10061 # assume the GNU/Linux dynamic linker is in use.
10062 dynamic_linker='GNU/Linux ld.so'
10069 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10070 soname_spec='${libname}${release}${shared_ext}$major'
10071 shlibpath_var=LD_LIBRARY_PATH
10072 shlibpath_overrides_runpath=no
10073 hardcode_into_libs=yes
10074 dynamic_linker='NetBSD ld.elf_so'
10081 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10082 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10083 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10084 dynamic_linker='NetBSD (a.out) ld.so'
10086 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10087 soname_spec='${libname}${release}${shared_ext}$major'
10088 dynamic_linker='NetBSD ld.elf_so'
10090 shlibpath_var=LD_LIBRARY_PATH
10091 shlibpath_overrides_runpath=yes
10092 hardcode_into_libs=yes
10097 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10098 shlibpath_var=LD_LIBRARY_PATH
10099 shlibpath_overrides_runpath=yes
10106 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10107 soname_spec='${libname}${release}${shared_ext}$major'
10108 shlibpath_var=LD_LIBRARY_PATH
10109 shlibpath_overrides_runpath=no
10110 hardcode_into_libs=yes
10111 dynamic_linker='ldqnx.so'
10116 sys_lib_dlsearch_path_spec="/usr/lib"
10118 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10120 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10121 *) need_version=no ;;
10123 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10124 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10125 shlibpath_var=LD_LIBRARY_PATH
10126 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10128 openbsd2.[89] | openbsd2.[89].*)
10129 shlibpath_overrides_runpath=no
10132 shlibpath_overrides_runpath=yes
10136 shlibpath_overrides_runpath=yes
10141 libname_spec='$name'
10144 library_names_spec='$libname${shared_ext} $libname.a'
10145 dynamic_linker='OS/2 ld.exe'
10146 shlibpath_var=LIBPATH
10149 osf3* | osf4* | osf5*)
10153 soname_spec='${libname}${release}${shared_ext}$major'
10154 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10155 shlibpath_var=LD_LIBRARY_PATH
10156 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10157 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10168 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10169 soname_spec='${libname}${release}${shared_ext}$major'
10170 shlibpath_var=LD_LIBRARY_PATH
10171 shlibpath_overrides_runpath=yes
10172 hardcode_into_libs=yes
10173 # ldd complains unless libraries are executable
10174 postinstall_cmds='chmod +x $lib'
10179 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10180 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10181 shlibpath_var=LD_LIBRARY_PATH
10182 shlibpath_overrides_runpath=yes
10183 if test "$with_gnu_ld" = yes; then
10191 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10192 soname_spec='${libname}${release}${shared_ext}$major'
10193 shlibpath_var=LD_LIBRARY_PATH
10194 case $host_vendor in
10196 shlibpath_overrides_runpath=no
10198 runpath_var=LD_RUN_PATH
10206 shlibpath_overrides_runpath=no
10207 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10213 if test -d /usr/nec ;then
10215 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10216 soname_spec='$libname${shared_ext}.$major'
10217 shlibpath_var=LD_LIBRARY_PATH
10221 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10222 version_type=freebsd-elf
10225 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10226 soname_spec='${libname}${release}${shared_ext}$major'
10227 shlibpath_var=LD_LIBRARY_PATH
10228 shlibpath_overrides_runpath=yes
10229 hardcode_into_libs=yes
10230 if test "$with_gnu_ld" = yes; then
10231 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10233 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10236 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10240 sys_lib_dlsearch_path_spec='/usr/lib'
10244 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10248 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10249 shlibpath_var=LD_LIBRARY_PATH
10250 shlibpath_overrides_runpath=no
10251 hardcode_into_libs=yes
10256 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10257 soname_spec='${libname}${release}${shared_ext}$major'
10258 shlibpath_var=LD_LIBRARY_PATH
10265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10266 $as_echo "$dynamic_linker" >&6; }
10267 test "$dynamic_linker" = no && can_build_shared=no
10269 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10270 if test "$GCC" = yes; then
10271 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10274 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10275 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10277 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10278 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10368 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10370 if test -n "$hardcode_libdir_flag_spec" ||
10371 test -n "$runpath_var" ||
10372 test "X$hardcode_automatic" = "Xyes" ; then
10374 # We can hardcode non-existent directories.
10375 if test "$hardcode_direct" != no &&
10376 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10377 # have to relink, otherwise we might link with an installed library
10378 # when we should be linking with a yet-to-be-installed one
10379 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10380 test "$hardcode_minus_L" != no; then
10381 # Linking always hardcodes the temporary library directory.
10382 hardcode_action=relink
10384 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10385 hardcode_action=immediate
10388 # We cannot hardcode anything, or else we can only hardcode existing
10390 hardcode_action=unsupported
10392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10393 $as_echo "$hardcode_action" >&6; }
10395 if test "$hardcode_action" = relink ||
10396 test "$inherit_rpath" = yes; then
10397 # Fast installation is not supported
10398 enable_fast_install=no
10399 elif test "$shlibpath_overrides_runpath" = yes ||
10400 test "$enable_shared" = no; then
10401 # Fast installation is not necessary
10402 enable_fast_install=needless
10410 if test "x$enable_dlopen" != xyes; then
10411 enable_dlopen=unknown
10412 enable_dlopen_self=unknown
10413 enable_dlopen_self_static=unknown
10420 lt_cv_dlopen="load_add_on"
10422 lt_cv_dlopen_self=yes
10425 mingw* | pw32* | cegcc*)
10426 lt_cv_dlopen="LoadLibrary"
10431 lt_cv_dlopen="dlopen"
10436 # if libdl is installed we need to link against it
10437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10438 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10439 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10440 $as_echo_n "(cached) " >&6
10442 ac_check_lib_save_LIBS=$LIBS
10444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10445 /* end confdefs.h. */
10447 /* Override any GCC internal prototype to avoid an error.
10448 Use char because int might match the return type of a GCC
10449 builtin and then its argument prototype would still apply. */
10462 if ac_fn_c_try_link "$LINENO"; then :
10463 ac_cv_lib_dl_dlopen=yes
10465 ac_cv_lib_dl_dlopen=no
10467 rm -f core conftest.err conftest.$ac_objext \
10468 conftest$ac_exeext conftest.$ac_ext
10469 LIBS=$ac_check_lib_save_LIBS
10471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10472 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10473 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10474 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10477 lt_cv_dlopen="dyld"
10479 lt_cv_dlopen_self=yes
10486 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10487 if test "x$ac_cv_func_shl_load" = x""yes; then :
10488 lt_cv_dlopen="shl_load"
10490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10491 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10492 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10493 $as_echo_n "(cached) " >&6
10495 ac_check_lib_save_LIBS=$LIBS
10497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10498 /* end confdefs.h. */
10500 /* Override any GCC internal prototype to avoid an error.
10501 Use char because int might match the return type of a GCC
10502 builtin and then its argument prototype would still apply. */
10510 return shl_load ();
10515 if ac_fn_c_try_link "$LINENO"; then :
10516 ac_cv_lib_dld_shl_load=yes
10518 ac_cv_lib_dld_shl_load=no
10520 rm -f core conftest.err conftest.$ac_objext \
10521 conftest$ac_exeext conftest.$ac_ext
10522 LIBS=$ac_check_lib_save_LIBS
10524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10525 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10526 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10527 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10529 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10530 if test "x$ac_cv_func_dlopen" = x""yes; then :
10531 lt_cv_dlopen="dlopen"
10533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10534 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10535 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10536 $as_echo_n "(cached) " >&6
10538 ac_check_lib_save_LIBS=$LIBS
10540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10541 /* end confdefs.h. */
10543 /* Override any GCC internal prototype to avoid an error.
10544 Use char because int might match the return type of a GCC
10545 builtin and then its argument prototype would still apply. */
10558 if ac_fn_c_try_link "$LINENO"; then :
10559 ac_cv_lib_dl_dlopen=yes
10561 ac_cv_lib_dl_dlopen=no
10563 rm -f core conftest.err conftest.$ac_objext \
10564 conftest$ac_exeext conftest.$ac_ext
10565 LIBS=$ac_check_lib_save_LIBS
10567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10568 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10569 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10570 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10573 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10574 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10575 $as_echo_n "(cached) " >&6
10577 ac_check_lib_save_LIBS=$LIBS
10578 LIBS="-lsvld $LIBS"
10579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10580 /* end confdefs.h. */
10582 /* Override any GCC internal prototype to avoid an error.
10583 Use char because int might match the return type of a GCC
10584 builtin and then its argument prototype would still apply. */
10597 if ac_fn_c_try_link "$LINENO"; then :
10598 ac_cv_lib_svld_dlopen=yes
10600 ac_cv_lib_svld_dlopen=no
10602 rm -f core conftest.err conftest.$ac_objext \
10603 conftest$ac_exeext conftest.$ac_ext
10604 LIBS=$ac_check_lib_save_LIBS
10606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10607 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10608 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10609 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10612 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10613 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10614 $as_echo_n "(cached) " >&6
10616 ac_check_lib_save_LIBS=$LIBS
10618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10619 /* end confdefs.h. */
10621 /* Override any GCC internal prototype to avoid an error.
10622 Use char because int might match the return type of a GCC
10623 builtin and then its argument prototype would still apply. */
10631 return dld_link ();
10636 if ac_fn_c_try_link "$LINENO"; then :
10637 ac_cv_lib_dld_dld_link=yes
10639 ac_cv_lib_dld_dld_link=no
10641 rm -f core conftest.err conftest.$ac_objext \
10642 conftest$ac_exeext conftest.$ac_ext
10643 LIBS=$ac_check_lib_save_LIBS
10645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10646 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10647 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10648 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10669 if test "x$lt_cv_dlopen" != xno; then
10675 case $lt_cv_dlopen in
10677 save_CPPFLAGS="$CPPFLAGS"
10678 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10680 save_LDFLAGS="$LDFLAGS"
10681 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10684 LIBS="$lt_cv_dlopen_libs $LIBS"
10686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10687 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10688 if test "${lt_cv_dlopen_self+set}" = set; then :
10689 $as_echo_n "(cached) " >&6
10691 if test "$cross_compiling" = yes; then :
10692 lt_cv_dlopen_self=cross
10694 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10695 lt_status=$lt_dlunknown
10696 cat > conftest.$ac_ext <<_LT_EOF
10697 #line 10697 "configure"
10698 #include "confdefs.h"
10707 # define LT_DLGLOBAL RTLD_GLOBAL
10710 # define LT_DLGLOBAL DL_GLOBAL
10712 # define LT_DLGLOBAL 0
10716 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10717 find out it does not work in some platform. */
10718 #ifndef LT_DLLAZY_OR_NOW
10720 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10723 # define LT_DLLAZY_OR_NOW DL_LAZY
10726 # define LT_DLLAZY_OR_NOW RTLD_NOW
10729 # define LT_DLLAZY_OR_NOW DL_NOW
10731 # define LT_DLLAZY_OR_NOW 0
10738 void fnord() { int i=42;}
10741 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10742 int status = $lt_dlunknown;
10746 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10747 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10748 /* dlclose (self); */
10756 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10757 (eval $ac_link) 2>&5
10759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10760 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10761 (./conftest; exit; ) >&5 2>/dev/null
10763 case x$lt_status in
10764 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10765 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10766 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10769 # compilation failed
10770 lt_cv_dlopen_self=no
10777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10778 $as_echo "$lt_cv_dlopen_self" >&6; }
10780 if test "x$lt_cv_dlopen_self" = xyes; then
10781 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10783 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10784 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10785 $as_echo_n "(cached) " >&6
10787 if test "$cross_compiling" = yes; then :
10788 lt_cv_dlopen_self_static=cross
10790 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10791 lt_status=$lt_dlunknown
10792 cat > conftest.$ac_ext <<_LT_EOF
10793 #line 10793 "configure"
10794 #include "confdefs.h"
10803 # define LT_DLGLOBAL RTLD_GLOBAL
10806 # define LT_DLGLOBAL DL_GLOBAL
10808 # define LT_DLGLOBAL 0
10812 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10813 find out it does not work in some platform. */
10814 #ifndef LT_DLLAZY_OR_NOW
10816 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10819 # define LT_DLLAZY_OR_NOW DL_LAZY
10822 # define LT_DLLAZY_OR_NOW RTLD_NOW
10825 # define LT_DLLAZY_OR_NOW DL_NOW
10827 # define LT_DLLAZY_OR_NOW 0
10834 void fnord() { int i=42;}
10837 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10838 int status = $lt_dlunknown;
10842 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10843 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10844 /* dlclose (self); */
10852 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10853 (eval $ac_link) 2>&5
10855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10856 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10857 (./conftest; exit; ) >&5 2>/dev/null
10859 case x$lt_status in
10860 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10861 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10862 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10865 # compilation failed
10866 lt_cv_dlopen_self_static=no
10873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10874 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10877 CPPFLAGS="$save_CPPFLAGS"
10878 LDFLAGS="$save_LDFLAGS"
10883 case $lt_cv_dlopen_self in
10884 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10885 *) enable_dlopen_self=unknown ;;
10888 case $lt_cv_dlopen_self_static in
10889 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10890 *) enable_dlopen_self_static=unknown ;;
10912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10913 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10914 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10915 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10916 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10918 $as_echo "yes" >&6; }
10920 # FIXME - insert some real tests, host_os isn't really good enough
10923 if test -n "$STRIP" ; then
10924 striplib="$STRIP -x"
10925 old_striplib="$STRIP -S"
10926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10927 $as_echo "yes" >&6; }
10929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10930 $as_echo "no" >&6; }
10934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10935 $as_echo "no" >&6; }
10951 # Report which library types will actually be built
10952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10953 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10955 $as_echo "$can_build_shared" >&6; }
10957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10958 $as_echo_n "checking whether to build shared libraries... " >&6; }
10959 test "$can_build_shared" = "no" && enable_shared=no
10961 # On AIX, shared libraries and static libraries use the same namespace, and
10962 # are all built from PIC.
10965 test "$enable_shared" = yes && enable_static=no
10966 if test -n "$RANLIB"; then
10967 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10968 postinstall_cmds='$RANLIB $lib'
10973 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10974 test "$enable_shared" = yes && enable_static=no
10978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10979 $as_echo "$enable_shared" >&6; }
10981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10982 $as_echo_n "checking whether to build static libraries... " >&6; }
10983 # Make sure either enable_shared or enable_static is yes.
10984 test "$enable_shared" = yes || enable_static=yes
10985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10986 $as_echo "$enable_static" >&6; }
10993 ac_cpp='$CPP $CPPFLAGS'
10994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11012 ac_config_commands="$ac_config_commands libtool"
11017 # Only expand once:
11021 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11022 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11026 cat >>confdefs.h <<_ACEOF
11031 cat >>confdefs.h <<_ACEOF
11036 cat >>confdefs.h <<_ACEOF
11041 cat >>confdefs.h <<_ACEOF
11045 version_info="8:1:7"
11049 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11050 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11055 cat >>confdefs.h <<_ACEOF
11056 #define SHARED_LIB_SUFFIX "$shrext_cmds"
11060 ### Default options with respect to host
11067 MODULE_ARCH="$host_os-$host_cpu"
11072 MODULE_ARCH="$host_os-$host_cpu-1.0.0"
11078 requirement_edje=""
11082 cat >>confdefs.h <<_ACEOF
11083 #define MODULE_ARCH "${MODULE_ARCH}"
11087 ### Additional options to configure
11089 # Check whether --enable-amalgamation was given.
11090 if test "${enable_amalgamation+set}" = set; then :
11091 enableval=$enable_amalgamation; if test "x${enableval}" = "xyes"; then
11092 do_amalgamation="yes"
11094 do_amalgamation="no"
11098 do_amalgamation="no"
11102 if test "x${do_amalgamation}" = "xyes"; then
11103 EDJE_AMALGAMATION_TRUE=
11104 EDJE_AMALGAMATION_FALSE='#'
11106 EDJE_AMALGAMATION_TRUE='#'
11107 EDJE_AMALGAMATION_FALSE=
11116 # Check whether --with-edje-cc was given.
11117 if test "${with_edje_cc+set}" = set; then :
11118 withval=$with_edje_cc; _efl_with_binary=${withval}
11120 _efl_with_binary=$(pkg-config --variable=prefix edje)/bin/edje_cc
11124 edje_cc=${_efl_with_binary}
11125 { $as_echo "$as_me:${as_lineno-$LINENO}: edje_cc set to ${_efl_with_binary}" >&5
11126 $as_echo "$as_me: edje_cc set to ${_efl_with_binary}" >&6;}
11128 with_binary_edje_cc=${_efl_with_binary}
11140 # Check whether --enable-edje-cc was given.
11141 if test "${enable_edje_cc+set}" = set; then :
11142 enableval=$enable_edje_cc;
11143 if test "x${enableval}" = "xyes" ; then
11152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_cc binary" >&5
11153 $as_echo_n "checking whether to build edje_cc binary... " >&6; }
11154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_cc" >&5
11155 $as_echo "$have_edje_cc" >&6; }
11157 if test "x$have_edje_cc" = "xyes"; then
11158 EDJE_CC_PRG=edje_cc${EXEEXT}
11163 if test "x$have_edje_cc" = "xyes"; then
11164 BUILD_EDJE_CC_TRUE=
11165 BUILD_EDJE_CC_FALSE='#'
11167 BUILD_EDJE_CC_TRUE='#'
11168 BUILD_EDJE_CC_FALSE=
11172 if test "x$have_edje_cc" = "xyes"; then :
11180 have_edje_decc="yes"
11183 # Check whether --enable-edje-decc was given.
11184 if test "${enable_edje_decc+set}" = set; then :
11185 enableval=$enable_edje_decc;
11186 if test "x${enableval}" = "xyes" ; then
11187 have_edje_decc="yes"
11189 have_edje_decc="no"
11195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_decc binary" >&5
11196 $as_echo_n "checking whether to build edje_decc binary... " >&6; }
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_decc" >&5
11198 $as_echo "$have_edje_decc" >&6; }
11200 if test "x$have_edje_decc" = "xyes"; then
11201 EDJE_DECC_PRG=edje_decc${EXEEXT}
11206 if test "x$have_edje_decc" = "xyes"; then
11207 BUILD_EDJE_DECC_TRUE=
11208 BUILD_EDJE_DECC_FALSE='#'
11210 BUILD_EDJE_DECC_TRUE='#'
11211 BUILD_EDJE_DECC_FALSE=
11215 if test "x$have_edje_decc" = "xyes"; then :
11223 have_edje_recc="yes"
11226 # Check whether --enable-edje-recc was given.
11227 if test "${enable_edje_recc+set}" = set; then :
11228 enableval=$enable_edje_recc;
11229 if test "x${enableval}" = "xyes" ; then
11230 have_edje_recc="yes"
11232 have_edje_recc="no"
11238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_recc binary" >&5
11239 $as_echo_n "checking whether to build edje_recc binary... " >&6; }
11240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_recc" >&5
11241 $as_echo "$have_edje_recc" >&6; }
11243 if test "x$have_edje_recc" = "xyes"; then
11244 EDJE_RECC_PRG=edje_recc${EXEEXT}
11249 if test "x$have_edje_recc" = "xyes"; then
11250 BUILD_EDJE_RECC_TRUE=
11251 BUILD_EDJE_RECC_FALSE='#'
11253 BUILD_EDJE_RECC_TRUE='#'
11254 BUILD_EDJE_RECC_FALSE=
11258 if test "x$have_edje_recc" = "xyes"; then :
11266 have_edje_player="yes"
11269 # Check whether --enable-edje-player was given.
11270 if test "${enable_edje_player+set}" = set; then :
11271 enableval=$enable_edje_player;
11272 if test "x${enableval}" = "xyes" ; then
11273 have_edje_player="yes"
11275 have_edje_player="no"
11281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_player binary" >&5
11282 $as_echo_n "checking whether to build edje_player binary... " >&6; }
11283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_player" >&5
11284 $as_echo "$have_edje_player" >&6; }
11286 if test "x$have_edje_player" = "xyes"; then
11287 EDJE_PLAYER_PRG=edje_player${EXEEXT}
11292 if test "x$have_edje_player" = "xyes"; then
11293 BUILD_EDJE_PLAYER_TRUE=
11294 BUILD_EDJE_PLAYER_FALSE='#'
11296 BUILD_EDJE_PLAYER_TRUE='#'
11297 BUILD_EDJE_PLAYER_FALSE=
11301 if test "x$have_edje_player" = "xyes"; then :
11309 have_edje_inspector="yes"
11312 # Check whether --enable-edje-inspector was given.
11313 if test "${enable_edje_inspector+set}" = set; then :
11314 enableval=$enable_edje_inspector;
11315 if test "x${enableval}" = "xyes" ; then
11316 have_edje_inspector="yes"
11318 have_edje_inspector="no"
11324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_inspector binary" >&5
11325 $as_echo_n "checking whether to build edje_inspector binary... " >&6; }
11326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_inspector" >&5
11327 $as_echo "$have_edje_inspector" >&6; }
11329 if test "x$have_edje_inspector" = "xyes"; then
11330 EDJE_INSPECTOR_PRG=edje_inspector${EXEEXT}
11335 if test "x$have_edje_inspector" = "xyes"; then
11336 BUILD_EDJE_INSPECTOR_TRUE=
11337 BUILD_EDJE_INSPECTOR_FALSE='#'
11339 BUILD_EDJE_INSPECTOR_TRUE='#'
11340 BUILD_EDJE_INSPECTOR_FALSE=
11344 if test "x$have_edje_inspector" = "xyes"; then :
11352 have_edje_external_inspector="yes"
11355 # Check whether --enable-edje-external-inspector was given.
11356 if test "${enable_edje_external_inspector+set}" = set; then :
11357 enableval=$enable_edje_external_inspector;
11358 if test "x${enableval}" = "xyes" ; then
11359 have_edje_external_inspector="yes"
11361 have_edje_external_inspector="no"
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_external_inspector binary" >&5
11368 $as_echo_n "checking whether to build edje_external_inspector binary... " >&6; }
11369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_external_inspector" >&5
11370 $as_echo "$have_edje_external_inspector" >&6; }
11372 if test "x$have_edje_external_inspector" = "xyes"; then
11373 EDJE_EXTERNAL_INSPECTOR_PRG=edje_external_inspector${EXEEXT}
11378 if test "x$have_edje_external_inspector" = "xyes"; then
11379 BUILD_EDJE_EXTERNAL_INSPECTOR_TRUE=
11380 BUILD_EDJE_EXTERNAL_INSPECTOR_FALSE='#'
11382 BUILD_EDJE_EXTERNAL_INSPECTOR_TRUE='#'
11383 BUILD_EDJE_EXTERNAL_INSPECTOR_FALSE=
11387 if test "x$have_edje_external_inspector" = "xyes"; then :
11395 have_edje_watch="yes"
11398 # Check whether --enable-edje-watch was given.
11399 if test "${enable_edje_watch+set}" = set; then :
11400 enableval=$enable_edje_watch;
11401 if test "x${enableval}" = "xyes" ; then
11402 have_edje_watch="yes"
11404 have_edje_watch="no"
11410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_watch binary" >&5
11411 $as_echo_n "checking whether to build edje_watch binary... " >&6; }
11412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_watch" >&5
11413 $as_echo "$have_edje_watch" >&6; }
11415 if test "x$have_edje_watch" = "xyes"; then
11416 EDJE_WATCH_PRG=edje_watch${EXEEXT}
11421 if test "x$have_edje_watch" = "xyes"; then
11422 BUILD_EDJE_WATCH_TRUE=
11423 BUILD_EDJE_WATCH_FALSE='#'
11425 BUILD_EDJE_WATCH_TRUE='#'
11426 BUILD_EDJE_WATCH_FALSE=
11430 if test "x$have_edje_watch" = "xyes"; then :
11436 # Optional EDJE_PROGRAM_CACHE (use much more ram, but increase speed in some cases)
11437 want_edje_program_cache="no"
11439 # Check whether --enable-edje-program-cache was given.
11440 if test "${enable_edje_program_cache+set}" = set; then :
11441 enableval=$enable_edje_program_cache; want_edje_program_cache=$enableval
11445 if test "x${want_edje_program_cache}" = "xyes"; then
11446 EDJE_PROGRAM_CACHE_TRUE=
11447 EDJE_PROGRAM_CACHE_FALSE='#'
11449 EDJE_PROGRAM_CACHE_TRUE='#'
11450 EDJE_PROGRAM_CACHE_FALSE=
11454 if test "x${want_edje_program_cache}" = "xyes" ; then
11456 $as_echo "#define EDJE_PROGRAM_CACHE 1" >>confdefs.h
11460 # Optional EDJE_CALC_CACHE (use more ram, but increase speed by reducing the need to recalculate static stuff)
11461 want_edje_calc_cache="yes"
11463 # Check whether --enable-edje-calc-cache was given.
11464 if test "${enable_edje_calc_cache+set}" = set; then :
11465 enableval=$enable_edje_calc_cache; want_edje_calc_cache=$enableval
11469 if test "x${want_edje_calc_cache}" = "xyes"; then
11470 EDJE_CALC_CACHE_TRUE=
11471 EDJE_CALC_CACHE_FALSE='#'
11473 EDJE_CALC_CACHE_TRUE='#'
11474 EDJE_CALC_CACHE_FALSE=
11478 if test "x${want_edje_calc_cache}" = "xyes" ; then
11480 $as_echo "#define EDJE_CALC_CACHE 1" >>confdefs.h
11484 # Enable Fixed Point use
11485 want_fixed_point="no"
11487 # Check whether --enable-fixed-point was given.
11488 if test "${enable_fixed_point+set}" = set; then :
11489 enableval=$enable_fixed_point; want_fixed_point=$enableval
11493 if test "x${want_fixed_point}" = "xyes"; then
11494 BUILD_EDJE_FP_TRUE=
11495 BUILD_EDJE_FP_FALSE='#'
11497 BUILD_EDJE_FP_TRUE='#'
11498 BUILD_EDJE_FP_FALSE=
11502 if test "x${want_fixed_point}" = "xyes" ; then
11504 $as_echo "#define BUILD_EDJE_FP 1" >>confdefs.h
11510 # Check whether --with-vim was given.
11511 if test "${with_vim+set}" = set; then :
11513 if test -d "${withval}"; then
11514 vimdir="${withval}"
11521 if test "x${vimdir}" = "x" ; then
11522 if test -d "${prefix}/share/vim"; then
11523 vimdir="${prefix}/share/vim"
11524 elif test -d "/usr/share/vim"; then
11525 vimdir="/usr/share/vim"
11526 elif test -d "/usr/local/share/vim"; then
11527 vimdir="/usr/local/share/vim"
11528 elif test -d "/opt/share/vim"; then
11529 vimdir="/opt/share/vim"
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for location of Vim data files" >&5
11536 $as_echo_n "checking for location of Vim data files... " >&6; }
11538 if test "${install_vim}" = "yes"; then
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vimdir" >&5
11540 $as_echo "$vimdir" >&6; }
11542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not found, EDC syntax file will not be installed" >&5
11543 $as_echo "Not found, EDC syntax file will not be installed" >&6; }
11548 ### Checks for programs
11550 ac_cpp='$CPP $CPPFLAGS'
11551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11554 if test -n "$ac_tool_prefix"; then
11555 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11556 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11558 $as_echo_n "checking for $ac_word... " >&6; }
11559 if test "${ac_cv_prog_CC+set}" = set; then :
11560 $as_echo_n "(cached) " >&6
11562 if test -n "$CC"; then
11563 ac_cv_prog_CC="$CC" # Let the user override the test.
11565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11566 for as_dir in $PATH
11569 test -z "$as_dir" && as_dir=.
11570 for ac_exec_ext in '' $ac_executable_extensions; do
11571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11572 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11583 if test -n "$CC"; then
11584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11585 $as_echo "$CC" >&6; }
11587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11588 $as_echo "no" >&6; }
11593 if test -z "$ac_cv_prog_CC"; then
11595 # Extract the first word of "gcc", so it can be a program name with args.
11596 set dummy gcc; ac_word=$2
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11598 $as_echo_n "checking for $ac_word... " >&6; }
11599 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
11600 $as_echo_n "(cached) " >&6
11602 if test -n "$ac_ct_CC"; then
11603 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11606 for as_dir in $PATH
11609 test -z "$as_dir" && as_dir=.
11610 for ac_exec_ext in '' $ac_executable_extensions; do
11611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11612 ac_cv_prog_ac_ct_CC="gcc"
11613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11622 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11623 if test -n "$ac_ct_CC"; then
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11625 $as_echo "$ac_ct_CC" >&6; }
11627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11628 $as_echo "no" >&6; }
11631 if test "x$ac_ct_CC" = x; then
11634 case $cross_compiling:$ac_tool_warned in
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11637 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11638 ac_tool_warned=yes ;;
11643 CC="$ac_cv_prog_CC"
11646 if test -z "$CC"; then
11647 if test -n "$ac_tool_prefix"; then
11648 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11649 set dummy ${ac_tool_prefix}cc; ac_word=$2
11650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11651 $as_echo_n "checking for $ac_word... " >&6; }
11652 if test "${ac_cv_prog_CC+set}" = set; then :
11653 $as_echo_n "(cached) " >&6
11655 if test -n "$CC"; then
11656 ac_cv_prog_CC="$CC" # Let the user override the test.
11658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11659 for as_dir in $PATH
11662 test -z "$as_dir" && as_dir=.
11663 for ac_exec_ext in '' $ac_executable_extensions; do
11664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11665 ac_cv_prog_CC="${ac_tool_prefix}cc"
11666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11676 if test -n "$CC"; then
11677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11678 $as_echo "$CC" >&6; }
11680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11681 $as_echo "no" >&6; }
11687 if test -z "$CC"; then
11688 # Extract the first word of "cc", so it can be a program name with args.
11689 set dummy cc; ac_word=$2
11690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11691 $as_echo_n "checking for $ac_word... " >&6; }
11692 if test "${ac_cv_prog_CC+set}" = set; then :
11693 $as_echo_n "(cached) " >&6
11695 if test -n "$CC"; then
11696 ac_cv_prog_CC="$CC" # Let the user override the test.
11698 ac_prog_rejected=no
11699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11700 for as_dir in $PATH
11703 test -z "$as_dir" && as_dir=.
11704 for ac_exec_ext in '' $ac_executable_extensions; do
11705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11706 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11707 ac_prog_rejected=yes
11711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11718 if test $ac_prog_rejected = yes; then
11719 # We found a bogon in the path, so make sure we never use it.
11720 set dummy $ac_cv_prog_CC
11722 if test $# != 0; then
11723 # We chose a different compiler from the bogus one.
11724 # However, it has the same basename, so the bogon will be chosen
11725 # first if we set CC to just the basename; use the full file name.
11727 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11733 if test -n "$CC"; then
11734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11735 $as_echo "$CC" >&6; }
11737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11738 $as_echo "no" >&6; }
11743 if test -z "$CC"; then
11744 if test -n "$ac_tool_prefix"; then
11745 for ac_prog in cl.exe
11747 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11748 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11750 $as_echo_n "checking for $ac_word... " >&6; }
11751 if test "${ac_cv_prog_CC+set}" = set; then :
11752 $as_echo_n "(cached) " >&6
11754 if test -n "$CC"; then
11755 ac_cv_prog_CC="$CC" # Let the user override the test.
11757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11758 for as_dir in $PATH
11761 test -z "$as_dir" && as_dir=.
11762 for ac_exec_ext in '' $ac_executable_extensions; do
11763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11764 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11775 if test -n "$CC"; then
11776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11777 $as_echo "$CC" >&6; }
11779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11780 $as_echo "no" >&6; }
11784 test -n "$CC" && break
11787 if test -z "$CC"; then
11789 for ac_prog in cl.exe
11791 # Extract the first word of "$ac_prog", so it can be a program name with args.
11792 set dummy $ac_prog; ac_word=$2
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11794 $as_echo_n "checking for $ac_word... " >&6; }
11795 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
11796 $as_echo_n "(cached) " >&6
11798 if test -n "$ac_ct_CC"; then
11799 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11802 for as_dir in $PATH
11805 test -z "$as_dir" && as_dir=.
11806 for ac_exec_ext in '' $ac_executable_extensions; do
11807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11808 ac_cv_prog_ac_ct_CC="$ac_prog"
11809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11818 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11819 if test -n "$ac_ct_CC"; then
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11821 $as_echo "$ac_ct_CC" >&6; }
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11824 $as_echo "no" >&6; }
11828 test -n "$ac_ct_CC" && break
11831 if test "x$ac_ct_CC" = x; then
11834 case $cross_compiling:$ac_tool_warned in
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11837 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11838 ac_tool_warned=yes ;;
11847 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11848 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11849 as_fn_error $? "no acceptable C compiler found in \$PATH
11850 See \`config.log' for more details" "$LINENO" 5 ; }
11852 # Provide some information about the compiler.
11853 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11856 for ac_option in --version -v -V -qversion; do
11857 { { ac_try="$ac_compiler $ac_option >&5"
11858 case "(($ac_try" in
11859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11860 *) ac_try_echo=$ac_try;;
11862 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11863 $as_echo "$ac_try_echo"; } >&5
11864 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11866 if test -s conftest.err; then
11868 ... rest of stderr output deleted ...
11869 10q' conftest.err >conftest.er1
11870 cat conftest.er1 >&5
11872 rm -f conftest.er1 conftest.err
11873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11874 test $ac_status = 0; }
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11878 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11879 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
11880 $as_echo_n "(cached) " >&6
11882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11883 /* end confdefs.h. */
11896 if ac_fn_c_try_compile "$LINENO"; then :
11897 ac_compiler_gnu=yes
11901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11902 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11906 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11907 if test $ac_compiler_gnu = yes; then
11912 ac_test_CFLAGS=${CFLAGS+set}
11913 ac_save_CFLAGS=$CFLAGS
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11915 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11916 if test "${ac_cv_prog_cc_g+set}" = set; then :
11917 $as_echo_n "(cached) " >&6
11919 ac_save_c_werror_flag=$ac_c_werror_flag
11920 ac_c_werror_flag=yes
11923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11924 /* end confdefs.h. */
11934 if ac_fn_c_try_compile "$LINENO"; then :
11935 ac_cv_prog_cc_g=yes
11938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11939 /* end confdefs.h. */
11949 if ac_fn_c_try_compile "$LINENO"; then :
11952 ac_c_werror_flag=$ac_save_c_werror_flag
11954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11955 /* end confdefs.h. */
11965 if ac_fn_c_try_compile "$LINENO"; then :
11966 ac_cv_prog_cc_g=yes
11968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11973 ac_c_werror_flag=$ac_save_c_werror_flag
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11976 $as_echo "$ac_cv_prog_cc_g" >&6; }
11977 if test "$ac_test_CFLAGS" = set; then
11978 CFLAGS=$ac_save_CFLAGS
11979 elif test $ac_cv_prog_cc_g = yes; then
11980 if test "$GCC" = yes; then
11986 if test "$GCC" = yes; then
11992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11993 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11994 if test "${ac_cv_prog_cc_c89+set}" = set; then :
11995 $as_echo_n "(cached) " >&6
11997 ac_cv_prog_cc_c89=no
11999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12000 /* end confdefs.h. */
12001 #include <stdarg.h>
12003 #include <sys/types.h>
12004 #include <sys/stat.h>
12005 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12006 struct buf { int x; };
12007 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12008 static char *e (p, i)
12014 static char *f (char * (*g) (char **, int), char **p, ...)
12019 s = g (p, va_arg (v,int));
12024 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12025 function prototypes and stuff, but not '\xHH' hex character constants.
12026 These don't provoke an error unfortunately, instead are silently treated
12027 as 'x'. The following induces an error, until -std is added to get
12028 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12029 array size at least. It's necessary to write '\x00'==0 to get something
12030 that's true only with -std. */
12031 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12033 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12034 inside strings and character constants. */
12036 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12038 int test (int i, double x);
12039 struct s1 {int (*f) (int a);};
12040 struct s2 {int (*f) (double a);};
12041 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12047 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12052 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12053 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12055 CC="$ac_save_CC $ac_arg"
12056 if ac_fn_c_try_compile "$LINENO"; then :
12057 ac_cv_prog_cc_c89=$ac_arg
12059 rm -f core conftest.err conftest.$ac_objext
12060 test "x$ac_cv_prog_cc_c89" != "xno" && break
12062 rm -f conftest.$ac_ext
12067 case "x$ac_cv_prog_cc_c89" in
12069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12070 $as_echo "none needed" >&6; } ;;
12072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12073 $as_echo "unsupported" >&6; } ;;
12075 CC="$CC $ac_cv_prog_cc_c89"
12076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12077 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12079 if test "x$ac_cv_prog_cc_c89" != xno; then :
12084 ac_cpp='$CPP $CPPFLAGS'
12085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12089 depcc="$CC" am_compiler_list=
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12092 $as_echo_n "checking dependency style of $depcc... " >&6; }
12093 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
12094 $as_echo_n "(cached) " >&6
12096 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12097 # We make a subdir and do the tests there. Otherwise we can end up
12098 # making bogus files that we don't know about and never remove. For
12099 # instance it was reported that on HP-UX the gcc test will end up
12100 # making a dummy file named `D' -- because `-MD' means `put the output
12103 # Copy depcomp to subdir because otherwise we won't find it if we're
12104 # using a relative directory.
12105 cp "$am_depcomp" conftest.dir
12107 # We will build objects and dependencies in a subdirectory because
12108 # it helps to detect inapplicable dependency modes. For instance
12109 # both Tru64's cc and ICC support -MD to output dependencies as a
12110 # side effect of compilation, but ICC will put the dependencies in
12111 # the current directory while Tru64 will put them in the object
12115 am_cv_CC_dependencies_compiler_type=none
12116 if test "$am_compiler_list" = ""; then
12117 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12119 am__universal=false
12120 case " $depcc " in #(
12121 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12124 for depmode in $am_compiler_list; do
12125 # Setup a source with many dependencies, because some compilers
12126 # like to wrap large dependency lists on column 80 (with \), and
12127 # we should not choose a depcomp mode which is confused by this.
12129 # We need to recreate these files for each test, as the compiler may
12130 # overwrite some of them when testing with obscure command lines.
12131 # This happens at least with the AIX C compiler.
12133 for i in 1 2 3 4 5 6; do
12134 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12135 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12136 # Solaris 8's {/usr,}/bin/sh.
12137 touch sub/conftst$i.h
12139 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12141 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12142 # mode. It turns out that the SunPro C++ compiler does not properly
12143 # handle `-M -o', and we need to detect this. Also, some Intel
12144 # versions had trouble with output in subdirs
12145 am__obj=sub/conftest.${OBJEXT-o}
12146 am__minus_obj="-o $am__obj"
12149 # This depmode causes a compiler race in universal mode.
12150 test "$am__universal" = false || continue
12153 # after this tag, mechanisms are not by side-effect, so they'll
12154 # only be used when explicitly requested
12155 if test "x$enable_dependency_tracking" = xyes; then
12161 msvisualcpp | msvcmsys)
12162 # This compiler won't grok `-c -o', but also, the minuso test has
12163 # not run yet. These depmodes are late enough in the game, and
12164 # so weak that their functioning should not be impacted.
12165 am__obj=conftest.${OBJEXT-o}
12170 if depmode=$depmode \
12171 source=sub/conftest.c object=$am__obj \
12172 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12173 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12174 >/dev/null 2>conftest.err &&
12175 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12176 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12177 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12178 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12179 # icc doesn't choke on unknown options, it will just issue warnings
12180 # or remarks (even with -Werror). So we grep stderr for any message
12181 # that says an option was ignored or not supported.
12182 # When given -MP, icc 7.0 and 7.1 complain thusly:
12183 # icc: Command line warning: ignoring option '-M'; no argument required
12184 # The diagnosis changed in icc 8.0:
12185 # icc: Command line remark: option '-MP' not supported
12186 if (grep 'ignoring option' conftest.err ||
12187 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12188 am_cv_CC_dependencies_compiler_type=$depmode
12195 rm -rf conftest.dir
12197 am_cv_CC_dependencies_compiler_type=none
12201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12202 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12203 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12206 test "x$enable_dependency_tracking" != xno \
12207 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12208 am__fastdepCC_TRUE=
12209 am__fastdepCC_FALSE='#'
12211 am__fastdepCC_TRUE='#'
12212 am__fastdepCC_FALSE=
12217 # doxygen program for documentation building
12221 # Check whether --enable-doc was given.
12222 if test "${enable_doc+set}" = set; then :
12223 enableval=$enable_doc;
12224 if test "x${enableval}" = "xyes" ; then
12225 efl_enable_doc="yes"
12227 efl_enable_doc="no"
12231 efl_enable_doc="yes"
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
12236 $as_echo_n "checking whether to build documentation... " >&6; }
12237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
12238 $as_echo "${efl_enable_doc}" >&6; }
12240 if test "x${efl_enable_doc}" = "xyes" ; then
12243 efl_doxygen="doxygen"
12246 # Check whether --with-doxygen was given.
12247 if test "${with_doxygen+set}" = set; then :
12248 withval=$with_doxygen;
12249 efl_doxygen=${withval}
12250 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
12251 set dummy ${efl_doxygen}; ac_word=$2
12252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12253 $as_echo_n "checking for $ac_word... " >&6; }
12254 if test "${ac_cv_prog_efl_have_doxygen+set}" = set; then :
12255 $as_echo_n "(cached) " >&6
12257 if test -n "$efl_have_doxygen"; then
12258 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
12260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12261 for as_dir in $PATH
12264 test -z "$as_dir" && as_dir=.
12265 for ac_exec_ext in '' $ac_executable_extensions; do
12266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12267 ac_cv_prog_efl_have_doxygen="yes"
12268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12275 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
12278 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
12279 if test -n "$efl_have_doxygen"; then
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
12281 $as_echo "$efl_have_doxygen" >&6; }
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12284 $as_echo "no" >&6; }
12288 if test "x${efl_have_doxygen}" = "xno" ; then
12290 echo "The doxygen program you specified:"
12291 echo "${efl_doxygen}"
12292 echo "was not found. Please check the path and make sure "
12293 echo "the program exists and is executable."
12294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
12295 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
12299 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
12300 set dummy ${efl_doxygen}; ac_word=$2
12301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12302 $as_echo_n "checking for $ac_word... " >&6; }
12303 if test "${ac_cv_prog_efl_have_doxygen+set}" = set; then :
12304 $as_echo_n "(cached) " >&6
12306 if test -n "$efl_have_doxygen"; then
12307 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
12309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12310 for as_dir in $PATH
12313 test -z "$as_dir" && as_dir=.
12314 for ac_exec_ext in '' $ac_executable_extensions; do
12315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12316 ac_cv_prog_efl_have_doxygen="yes"
12317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12324 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
12327 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
12328 if test -n "$efl_have_doxygen"; then
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
12330 $as_echo "$efl_have_doxygen" >&6; }
12332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12333 $as_echo "no" >&6; }
12337 if test "x${efl_have_doxygen}" = "xno" ; then
12339 echo "The doxygen program was not found in your execute path."
12340 echo "You may have doxygen installed somewhere not covered by your path."
12342 echo "If this is the case make sure you have the packages installed, AND"
12343 echo "that the doxygen program is in your execute path (see your"
12344 echo "shell manual page on setting the \$PATH environment variable), OR"
12345 echo "alternatively, specify the program to use with --with-doxygen."
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
12347 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
12356 if ! test "x${efl_have_doxygen}" = "xyes" ; then
12357 efl_enable_doc="no"
12360 if test "x${efl_enable_doc}" = "xyes"; then
12361 EFL_BUILD_DOC_TRUE=
12362 EFL_BUILD_DOC_FALSE='#'
12364 EFL_BUILD_DOC_TRUE='#'
12365 EFL_BUILD_DOC_FALSE=
12369 if test "x${efl_enable_doc}" = "xyes" ; then
12383 if test -n "$PYTHON"; then
12384 # If the user set $PYTHON, use it and don't search something else.
12385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.5" >&5
12386 $as_echo_n "checking whether $PYTHON version >= 2.5... " >&6; }
12388 # split strings by '.' and convert to numeric. Append some zeros
12389 # because we need at least 4 digits for the hex conversion.
12390 # map returns an iterator in Python 3.0 and a list in 2.x
12391 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
12393 # xrange is not present in Python 3.0 and range returns an iterator
12394 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
12395 sys.exit(sys.hexversion < minverhex)"
12396 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
12397 ($PYTHON -c "$prog") >&5 2>&5
12399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12400 (exit $ac_status); }; then :
12401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12402 $as_echo "yes" >&6; }
12404 as_fn_error $? "too old" "$LINENO" 5
12406 am_display_PYTHON=$PYTHON
12408 # Otherwise, try each interpreter until we find one that satisfies
12410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
12411 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
12412 if test "${am_cv_pathless_PYTHON+set}" = set; then :
12413 $as_echo_n "(cached) " >&6
12416 for am_cv_pathless_PYTHON in python python2 python3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
12417 test "$am_cv_pathless_PYTHON" = none && break
12419 # split strings by '.' and convert to numeric. Append some zeros
12420 # because we need at least 4 digits for the hex conversion.
12421 # map returns an iterator in Python 3.0 and a list in 2.x
12422 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
12424 # xrange is not present in Python 3.0 and range returns an iterator
12425 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
12426 sys.exit(sys.hexversion < minverhex)"
12427 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
12428 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
12430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12431 (exit $ac_status); }; then :
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
12437 $as_echo "$am_cv_pathless_PYTHON" >&6; }
12438 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
12439 if test "$am_cv_pathless_PYTHON" = none; then
12442 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
12443 set dummy $am_cv_pathless_PYTHON; ac_word=$2
12444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12445 $as_echo_n "checking for $ac_word... " >&6; }
12446 if test "${ac_cv_path_PYTHON+set}" = set; then :
12447 $as_echo_n "(cached) " >&6
12451 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
12454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12455 for as_dir in $PATH
12458 test -z "$as_dir" && as_dir=.
12459 for ac_exec_ext in '' $ac_executable_extensions; do
12460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12461 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
12462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12472 PYTHON=$ac_cv_path_PYTHON
12473 if test -n "$PYTHON"; then
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
12475 $as_echo "$PYTHON" >&6; }
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12478 $as_echo "no" >&6; }
12483 am_display_PYTHON=$am_cv_pathless_PYTHON
12487 if test "$PYTHON" = :; then
12492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
12493 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
12494 if test "${am_cv_python_version+set}" = set; then :
12495 $as_echo_n "(cached) " >&6
12497 am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
12499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
12500 $as_echo "$am_cv_python_version" >&6; }
12501 PYTHON_VERSION=$am_cv_python_version
12505 PYTHON_PREFIX='${prefix}'
12507 PYTHON_EXEC_PREFIX='${exec_prefix}'
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
12512 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
12513 if test "${am_cv_python_platform+set}" = set; then :
12514 $as_echo_n "(cached) " >&6
12516 am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
12518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
12519 $as_echo "$am_cv_python_platform" >&6; }
12520 PYTHON_PLATFORM=$am_cv_python_platform
12525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
12526 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
12527 if test "${am_cv_python_pythondir+set}" = set; then :
12528 $as_echo_n "(cached) " >&6
12530 if test "x$prefix" = xNONE
12532 am_py_prefix=$ac_default_prefix
12534 am_py_prefix=$prefix
12536 am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null ||
12537 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
12538 case $am_cv_python_pythondir in
12540 am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
12541 am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
12544 case $am_py_prefix in
12547 am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
12554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
12555 $as_echo "$am_cv_python_pythondir" >&6; }
12556 pythondir=$am_cv_python_pythondir
12560 pkgpythondir=\${pythondir}/$PACKAGE
12563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
12564 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
12565 if test "${am_cv_python_pyexecdir+set}" = set; then :
12566 $as_echo_n "(cached) " >&6
12568 if test "x$exec_prefix" = xNONE
12570 am_py_exec_prefix=$am_py_prefix
12572 am_py_exec_prefix=$exec_prefix
12574 am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null ||
12575 echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
12576 case $am_cv_python_pyexecdir in
12577 $am_py_exec_prefix*)
12578 am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
12579 am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
12582 case $am_py_exec_prefix in
12585 am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
12592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
12593 $as_echo "$am_cv_python_pyexecdir" >&6; }
12594 pyexecdir=$am_cv_python_pyexecdir
12598 pkgpyexecdir=\${pyexecdir}/$PACKAGE
12605 if test "$PYTHON" != : ; then
12607 HAVE_PYTHON_FALSE='#'
12609 HAVE_PYTHON_TRUE='#'
12622 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12623 if test -n "$ac_tool_prefix"; then
12624 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12625 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12627 $as_echo_n "checking for $ac_word... " >&6; }
12628 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
12629 $as_echo_n "(cached) " >&6
12631 case $PKG_CONFIG in
12633 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12637 for as_dir in $PATH
12640 test -z "$as_dir" && as_dir=.
12641 for ac_exec_ext in '' $ac_executable_extensions; do
12642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12643 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12654 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12655 if test -n "$PKG_CONFIG"; then
12656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12657 $as_echo "$PKG_CONFIG" >&6; }
12659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12660 $as_echo "no" >&6; }
12665 if test -z "$ac_cv_path_PKG_CONFIG"; then
12666 ac_pt_PKG_CONFIG=$PKG_CONFIG
12667 # Extract the first word of "pkg-config", so it can be a program name with args.
12668 set dummy pkg-config; ac_word=$2
12669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12670 $as_echo_n "checking for $ac_word... " >&6; }
12671 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
12672 $as_echo_n "(cached) " >&6
12674 case $ac_pt_PKG_CONFIG in
12676 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12680 for as_dir in $PATH
12683 test -z "$as_dir" && as_dir=.
12684 for ac_exec_ext in '' $ac_executable_extensions; do
12685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12686 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12697 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12698 if test -n "$ac_pt_PKG_CONFIG"; then
12699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12700 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12703 $as_echo "no" >&6; }
12706 if test "x$ac_pt_PKG_CONFIG" = x; then
12709 case $cross_compiling:$ac_tool_warned in
12711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12712 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12713 ac_tool_warned=yes ;;
12715 PKG_CONFIG=$ac_pt_PKG_CONFIG
12718 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12722 if test -n "$PKG_CONFIG"; then
12723 _pkg_min_version=0.9.0
12724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12725 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12726 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12728 $as_echo "yes" >&6; }
12730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12731 $as_echo "no" >&6; }
12736 # Check whether pkg-config supports Requires.private
12738 if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
12739 pkgconfig_requires_private="Requires.private"
12741 pkgconfig_requires_private="Requires"
12746 ### Checks for libraries
12748 # Evil library for compilation on Windows
12755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVIL" >&5
12756 $as_echo_n "checking for EVIL... " >&6; }
12758 if test -n "$EVIL_CFLAGS"; then
12759 pkg_cv_EVIL_CFLAGS="$EVIL_CFLAGS"
12760 elif test -n "$PKG_CONFIG"; then
12761 if test -n "$PKG_CONFIG" && \
12762 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.6.99\""; } >&5
12763 ($PKG_CONFIG --exists --print-errors "evil >= 1.6.99") 2>&5
12765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12766 test $ac_status = 0; }; then
12767 pkg_cv_EVIL_CFLAGS=`$PKG_CONFIG --cflags "evil >= 1.6.99" 2>/dev/null`
12774 if test -n "$EVIL_LIBS"; then
12775 pkg_cv_EVIL_LIBS="$EVIL_LIBS"
12776 elif test -n "$PKG_CONFIG"; then
12777 if test -n "$PKG_CONFIG" && \
12778 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.6.99\""; } >&5
12779 ($PKG_CONFIG --exists --print-errors "evil >= 1.6.99") 2>&5
12781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12782 test $ac_status = 0; }; then
12783 pkg_cv_EVIL_LIBS=`$PKG_CONFIG --libs "evil >= 1.6.99" 2>/dev/null`
12793 if test $pkg_failed = yes; then
12794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12795 $as_echo "no" >&6; }
12797 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12798 _pkg_short_errors_supported=yes
12800 _pkg_short_errors_supported=no
12802 if test $_pkg_short_errors_supported = yes; then
12803 EVIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "evil >= 1.6.99" 2>&1`
12805 EVIL_PKG_ERRORS=`$PKG_CONFIG --print-errors "evil >= 1.6.99" 2>&1`
12807 # Put the nasty error message in config.log where it belongs
12808 echo "$EVIL_PKG_ERRORS" >&5
12810 as_fn_error $? "Package requirements (evil >= 1.6.99) were not met:
12814 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12815 installed software in a non-standard prefix.
12817 Alternatively, you may set the environment variables EVIL_CFLAGS
12818 and EVIL_LIBS to avoid the need to call pkg-config.
12819 See the pkg-config man page for more details." "$LINENO" 5
12820 elif test $pkg_failed = untried; then
12821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12822 $as_echo "no" >&6; }
12823 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12824 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12825 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12826 is in your PATH or set the PKG_CONFIG environment variable to the full
12827 path to pkg-config.
12829 Alternatively, you may set the environment variables EVIL_CFLAGS
12830 and EVIL_LIBS to avoid the need to call pkg-config.
12831 See the pkg-config man page for more details.
12833 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12834 See \`config.log' for more details" "$LINENO" 5 ; }
12836 EVIL_CFLAGS=$pkg_cv_EVIL_CFLAGS
12837 EVIL_LIBS=$pkg_cv_EVIL_LIBS
12838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12839 $as_echo "yes" >&6; }
12843 $as_echo "#define HAVE_EVIL 1" >>confdefs.h
12845 requirement_edje="evil ${requirement_edje}"
12846 EFL_EDJE_BUILD="-DEFL_EDJE_BUILD"
12851 # Dependencies for the library
12853 # Lua pkg-config hack for different naming conventions
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
12860 $as_echo_n "checking for LUA... " >&6; }
12862 if test -n "$LUA_CFLAGS"; then
12863 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
12864 elif test -n "$PKG_CONFIG"; then
12865 if test -n "$PKG_CONFIG" && \
12866 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1.0\""; } >&5
12867 ($PKG_CONFIG --exists --print-errors "lua >= 5.1.0") 2>&5
12869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12870 test $ac_status = 0; }; then
12871 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.1.0" 2>/dev/null`
12878 if test -n "$LUA_LIBS"; then
12879 pkg_cv_LUA_LIBS="$LUA_LIBS"
12880 elif test -n "$PKG_CONFIG"; then
12881 if test -n "$PKG_CONFIG" && \
12882 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1.0\""; } >&5
12883 ($PKG_CONFIG --exists --print-errors "lua >= 5.1.0") 2>&5
12885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12886 test $ac_status = 0; }; then
12887 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.1.0" 2>/dev/null`
12897 if test $pkg_failed = yes; then
12898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12899 $as_echo "no" >&6; }
12901 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12902 _pkg_short_errors_supported=yes
12904 _pkg_short_errors_supported=no
12906 if test $_pkg_short_errors_supported = yes; then
12907 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua >= 5.1.0" 2>&1`
12909 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua >= 5.1.0" 2>&1`
12911 # Put the nasty error message in config.log where it belongs
12912 echo "$LUA_PKG_ERRORS" >&5
12916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
12917 $as_echo_n "checking for LUA... " >&6; }
12919 if test -n "$LUA_CFLAGS"; then
12920 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
12921 elif test -n "$PKG_CONFIG"; then
12922 if test -n "$PKG_CONFIG" && \
12923 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1.0\""; } >&5
12924 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1.0") 2>&5
12926 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12927 test $ac_status = 0; }; then
12928 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua5.1 >= 5.1.0" 2>/dev/null`
12935 if test -n "$LUA_LIBS"; then
12936 pkg_cv_LUA_LIBS="$LUA_LIBS"
12937 elif test -n "$PKG_CONFIG"; then
12938 if test -n "$PKG_CONFIG" && \
12939 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1.0\""; } >&5
12940 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1.0") 2>&5
12942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12943 test $ac_status = 0; }; then
12944 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua5.1 >= 5.1.0" 2>/dev/null`
12954 if test $pkg_failed = yes; then
12955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12956 $as_echo "no" >&6; }
12958 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12959 _pkg_short_errors_supported=yes
12961 _pkg_short_errors_supported=no
12963 if test $_pkg_short_errors_supported = yes; then
12964 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua5.1 >= 5.1.0" 2>&1`
12966 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua5.1 >= 5.1.0" 2>&1`
12968 # Put the nasty error message in config.log where it belongs
12969 echo "$LUA_PKG_ERRORS" >&5
12973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
12974 $as_echo_n "checking for LUA... " >&6; }
12976 if test -n "$LUA_CFLAGS"; then
12977 pkg_cv_LUA_CFLAGS="$LUA_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 \"lua-5.1 >= 5.1.0\""; } >&5
12981 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
12983 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12984 test $ac_status = 0; }; then
12985 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1.0" 2>/dev/null`
12992 if test -n "$LUA_LIBS"; then
12993 pkg_cv_LUA_LIBS="$LUA_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 \"lua-5.1 >= 5.1.0\""; } >&5
12997 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
12999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13000 test $ac_status = 0; }; then
13001 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1.0" 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 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1.0" 2>&1`
13023 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1.0" 2>&1`
13025 # Put the nasty error message in config.log where it belongs
13026 echo "$LUA_PKG_ERRORS" >&5
13030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13031 $as_echo_n "checking for LUA... " >&6; }
13033 if test -n "$LUA_CFLAGS"; then
13034 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13035 elif test -n "$PKG_CONFIG"; then
13036 if test -n "$PKG_CONFIG" && \
13037 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13038 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13040 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13041 test $ac_status = 0; }; then
13042 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
13049 if test -n "$LUA_LIBS"; then
13050 pkg_cv_LUA_LIBS="$LUA_LIBS"
13051 elif test -n "$PKG_CONFIG"; then
13052 if test -n "$PKG_CONFIG" && \
13053 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13054 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13057 test $ac_status = 0; }; then
13058 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
13068 if test $pkg_failed = yes; then
13069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13070 $as_echo "no" >&6; }
13072 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13073 _pkg_short_errors_supported=yes
13075 _pkg_short_errors_supported=no
13077 if test $_pkg_short_errors_supported = yes; then
13078 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1.0" 2>&1`
13080 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua51 >= 5.1.0" 2>&1`
13082 # Put the nasty error message in config.log where it belongs
13083 echo "$LUA_PKG_ERRORS" >&5
13086 elif test $pkg_failed = untried; then
13087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13088 $as_echo "no" >&6; }
13091 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13092 LUA_LIBS=$pkg_cv_LUA_LIBS
13093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13094 $as_echo "yes" >&6; }
13095 requirement_lua="lua51"
13097 elif test $pkg_failed = untried; then
13098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13099 $as_echo "no" >&6; }
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13103 $as_echo_n "checking for LUA... " >&6; }
13105 if test -n "$LUA_CFLAGS"; then
13106 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13107 elif test -n "$PKG_CONFIG"; then
13108 if test -n "$PKG_CONFIG" && \
13109 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13110 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13112 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13113 test $ac_status = 0; }; then
13114 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
13121 if test -n "$LUA_LIBS"; then
13122 pkg_cv_LUA_LIBS="$LUA_LIBS"
13123 elif test -n "$PKG_CONFIG"; then
13124 if test -n "$PKG_CONFIG" && \
13125 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13126 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13129 test $ac_status = 0; }; then
13130 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
13140 if test $pkg_failed = yes; then
13141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13142 $as_echo "no" >&6; }
13144 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13145 _pkg_short_errors_supported=yes
13147 _pkg_short_errors_supported=no
13149 if test $_pkg_short_errors_supported = yes; then
13150 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1.0" 2>&1`
13152 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua51 >= 5.1.0" 2>&1`
13154 # Put the nasty error message in config.log where it belongs
13155 echo "$LUA_PKG_ERRORS" >&5
13158 elif test $pkg_failed = untried; then
13159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13160 $as_echo "no" >&6; }
13163 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13164 LUA_LIBS=$pkg_cv_LUA_LIBS
13165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13166 $as_echo "yes" >&6; }
13167 requirement_lua="lua51"
13170 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13171 LUA_LIBS=$pkg_cv_LUA_LIBS
13172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13173 $as_echo "yes" >&6; }
13174 requirement_lua="lua-5.1"
13176 elif test $pkg_failed = untried; then
13177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13178 $as_echo "no" >&6; }
13181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13182 $as_echo_n "checking for LUA... " >&6; }
13184 if test -n "$LUA_CFLAGS"; then
13185 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13186 elif test -n "$PKG_CONFIG"; then
13187 if test -n "$PKG_CONFIG" && \
13188 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
13189 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
13191 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13192 test $ac_status = 0; }; then
13193 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1.0" 2>/dev/null`
13200 if test -n "$LUA_LIBS"; then
13201 pkg_cv_LUA_LIBS="$LUA_LIBS"
13202 elif test -n "$PKG_CONFIG"; then
13203 if test -n "$PKG_CONFIG" && \
13204 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
13205 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
13207 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13208 test $ac_status = 0; }; then
13209 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1.0" 2>/dev/null`
13219 if test $pkg_failed = yes; then
13220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13221 $as_echo "no" >&6; }
13223 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13224 _pkg_short_errors_supported=yes
13226 _pkg_short_errors_supported=no
13228 if test $_pkg_short_errors_supported = yes; then
13229 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1.0" 2>&1`
13231 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1.0" 2>&1`
13233 # Put the nasty error message in config.log where it belongs
13234 echo "$LUA_PKG_ERRORS" >&5
13238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13239 $as_echo_n "checking for LUA... " >&6; }
13241 if test -n "$LUA_CFLAGS"; then
13242 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13243 elif test -n "$PKG_CONFIG"; then
13244 if test -n "$PKG_CONFIG" && \
13245 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13246 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13248 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13249 test $ac_status = 0; }; then
13250 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
13257 if test -n "$LUA_LIBS"; then
13258 pkg_cv_LUA_LIBS="$LUA_LIBS"
13259 elif test -n "$PKG_CONFIG"; then
13260 if test -n "$PKG_CONFIG" && \
13261 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13262 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13264 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13265 test $ac_status = 0; }; then
13266 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
13276 if test $pkg_failed = yes; then
13277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13278 $as_echo "no" >&6; }
13280 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13281 _pkg_short_errors_supported=yes
13283 _pkg_short_errors_supported=no
13285 if test $_pkg_short_errors_supported = yes; then
13286 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1.0" 2>&1`
13288 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua51 >= 5.1.0" 2>&1`
13290 # Put the nasty error message in config.log where it belongs
13291 echo "$LUA_PKG_ERRORS" >&5
13294 elif test $pkg_failed = untried; then
13295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13296 $as_echo "no" >&6; }
13299 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13300 LUA_LIBS=$pkg_cv_LUA_LIBS
13301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13302 $as_echo "yes" >&6; }
13303 requirement_lua="lua51"
13305 elif test $pkg_failed = untried; then
13306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13307 $as_echo "no" >&6; }
13310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13311 $as_echo_n "checking for LUA... " >&6; }
13313 if test -n "$LUA_CFLAGS"; then
13314 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13315 elif test -n "$PKG_CONFIG"; then
13316 if test -n "$PKG_CONFIG" && \
13317 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13318 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13320 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13321 test $ac_status = 0; }; then
13322 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
13329 if test -n "$LUA_LIBS"; then
13330 pkg_cv_LUA_LIBS="$LUA_LIBS"
13331 elif test -n "$PKG_CONFIG"; then
13332 if test -n "$PKG_CONFIG" && \
13333 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13334 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13336 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13337 test $ac_status = 0; }; then
13338 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
13348 if test $pkg_failed = yes; then
13349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13350 $as_echo "no" >&6; }
13352 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13353 _pkg_short_errors_supported=yes
13355 _pkg_short_errors_supported=no
13357 if test $_pkg_short_errors_supported = yes; then
13358 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1.0" 2>&1`
13360 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua51 >= 5.1.0" 2>&1`
13362 # Put the nasty error message in config.log where it belongs
13363 echo "$LUA_PKG_ERRORS" >&5
13366 elif test $pkg_failed = untried; then
13367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13368 $as_echo "no" >&6; }
13371 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13372 LUA_LIBS=$pkg_cv_LUA_LIBS
13373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13374 $as_echo "yes" >&6; }
13375 requirement_lua="lua51"
13378 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13379 LUA_LIBS=$pkg_cv_LUA_LIBS
13380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13381 $as_echo "yes" >&6; }
13382 requirement_lua="lua-5.1"
13385 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13386 LUA_LIBS=$pkg_cv_LUA_LIBS
13387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13388 $as_echo "yes" >&6; }
13389 requirement_lua="lua5.1"
13391 elif test $pkg_failed = untried; then
13392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13393 $as_echo "no" >&6; }
13396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13397 $as_echo_n "checking for LUA... " >&6; }
13399 if test -n "$LUA_CFLAGS"; then
13400 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13401 elif test -n "$PKG_CONFIG"; then
13402 if test -n "$PKG_CONFIG" && \
13403 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1.0\""; } >&5
13404 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1.0") 2>&5
13406 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13407 test $ac_status = 0; }; then
13408 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua5.1 >= 5.1.0" 2>/dev/null`
13415 if test -n "$LUA_LIBS"; then
13416 pkg_cv_LUA_LIBS="$LUA_LIBS"
13417 elif test -n "$PKG_CONFIG"; then
13418 if test -n "$PKG_CONFIG" && \
13419 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1.0\""; } >&5
13420 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1.0") 2>&5
13422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13423 test $ac_status = 0; }; then
13424 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua5.1 >= 5.1.0" 2>/dev/null`
13434 if test $pkg_failed = yes; then
13435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13436 $as_echo "no" >&6; }
13438 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13439 _pkg_short_errors_supported=yes
13441 _pkg_short_errors_supported=no
13443 if test $_pkg_short_errors_supported = yes; then
13444 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua5.1 >= 5.1.0" 2>&1`
13446 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua5.1 >= 5.1.0" 2>&1`
13448 # Put the nasty error message in config.log where it belongs
13449 echo "$LUA_PKG_ERRORS" >&5
13453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13454 $as_echo_n "checking for LUA... " >&6; }
13456 if test -n "$LUA_CFLAGS"; then
13457 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13458 elif test -n "$PKG_CONFIG"; then
13459 if test -n "$PKG_CONFIG" && \
13460 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
13461 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
13463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13464 test $ac_status = 0; }; then
13465 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1.0" 2>/dev/null`
13472 if test -n "$LUA_LIBS"; then
13473 pkg_cv_LUA_LIBS="$LUA_LIBS"
13474 elif test -n "$PKG_CONFIG"; then
13475 if test -n "$PKG_CONFIG" && \
13476 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
13477 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
13479 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13480 test $ac_status = 0; }; then
13481 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1.0" 2>/dev/null`
13491 if test $pkg_failed = yes; then
13492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13493 $as_echo "no" >&6; }
13495 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13496 _pkg_short_errors_supported=yes
13498 _pkg_short_errors_supported=no
13500 if test $_pkg_short_errors_supported = yes; then
13501 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1.0" 2>&1`
13503 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1.0" 2>&1`
13505 # Put the nasty error message in config.log where it belongs
13506 echo "$LUA_PKG_ERRORS" >&5
13510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13511 $as_echo_n "checking for LUA... " >&6; }
13513 if test -n "$LUA_CFLAGS"; then
13514 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13515 elif test -n "$PKG_CONFIG"; then
13516 if test -n "$PKG_CONFIG" && \
13517 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13518 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13521 test $ac_status = 0; }; then
13522 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
13529 if test -n "$LUA_LIBS"; then
13530 pkg_cv_LUA_LIBS="$LUA_LIBS"
13531 elif test -n "$PKG_CONFIG"; then
13532 if test -n "$PKG_CONFIG" && \
13533 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13534 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13536 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13537 test $ac_status = 0; }; then
13538 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
13548 if test $pkg_failed = yes; then
13549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13550 $as_echo "no" >&6; }
13552 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13553 _pkg_short_errors_supported=yes
13555 _pkg_short_errors_supported=no
13557 if test $_pkg_short_errors_supported = yes; then
13558 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1.0" 2>&1`
13560 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua51 >= 5.1.0" 2>&1`
13562 # Put the nasty error message in config.log where it belongs
13563 echo "$LUA_PKG_ERRORS" >&5
13566 elif test $pkg_failed = untried; then
13567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13568 $as_echo "no" >&6; }
13571 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13572 LUA_LIBS=$pkg_cv_LUA_LIBS
13573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13574 $as_echo "yes" >&6; }
13575 requirement_lua="lua51"
13577 elif test $pkg_failed = untried; then
13578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13579 $as_echo "no" >&6; }
13582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13583 $as_echo_n "checking for LUA... " >&6; }
13585 if test -n "$LUA_CFLAGS"; then
13586 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13587 elif test -n "$PKG_CONFIG"; then
13588 if test -n "$PKG_CONFIG" && \
13589 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13590 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13593 test $ac_status = 0; }; then
13594 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
13601 if test -n "$LUA_LIBS"; then
13602 pkg_cv_LUA_LIBS="$LUA_LIBS"
13603 elif test -n "$PKG_CONFIG"; then
13604 if test -n "$PKG_CONFIG" && \
13605 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13606 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13609 test $ac_status = 0; }; then
13610 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
13620 if test $pkg_failed = yes; then
13621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13622 $as_echo "no" >&6; }
13624 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13625 _pkg_short_errors_supported=yes
13627 _pkg_short_errors_supported=no
13629 if test $_pkg_short_errors_supported = yes; then
13630 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1.0" 2>&1`
13632 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua51 >= 5.1.0" 2>&1`
13634 # Put the nasty error message in config.log where it belongs
13635 echo "$LUA_PKG_ERRORS" >&5
13638 elif test $pkg_failed = untried; then
13639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13640 $as_echo "no" >&6; }
13643 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13644 LUA_LIBS=$pkg_cv_LUA_LIBS
13645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13646 $as_echo "yes" >&6; }
13647 requirement_lua="lua51"
13650 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13651 LUA_LIBS=$pkg_cv_LUA_LIBS
13652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13653 $as_echo "yes" >&6; }
13654 requirement_lua="lua-5.1"
13656 elif test $pkg_failed = untried; then
13657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13658 $as_echo "no" >&6; }
13661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13662 $as_echo_n "checking for LUA... " >&6; }
13664 if test -n "$LUA_CFLAGS"; then
13665 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13666 elif test -n "$PKG_CONFIG"; then
13667 if test -n "$PKG_CONFIG" && \
13668 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
13669 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
13671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13672 test $ac_status = 0; }; then
13673 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1.0" 2>/dev/null`
13680 if test -n "$LUA_LIBS"; then
13681 pkg_cv_LUA_LIBS="$LUA_LIBS"
13682 elif test -n "$PKG_CONFIG"; then
13683 if test -n "$PKG_CONFIG" && \
13684 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
13685 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
13687 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13688 test $ac_status = 0; }; then
13689 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1.0" 2>/dev/null`
13699 if test $pkg_failed = yes; then
13700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13701 $as_echo "no" >&6; }
13703 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13704 _pkg_short_errors_supported=yes
13706 _pkg_short_errors_supported=no
13708 if test $_pkg_short_errors_supported = yes; then
13709 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1.0" 2>&1`
13711 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1.0" 2>&1`
13713 # Put the nasty error message in config.log where it belongs
13714 echo "$LUA_PKG_ERRORS" >&5
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13719 $as_echo_n "checking for LUA... " >&6; }
13721 if test -n "$LUA_CFLAGS"; then
13722 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13723 elif test -n "$PKG_CONFIG"; then
13724 if test -n "$PKG_CONFIG" && \
13725 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13726 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13729 test $ac_status = 0; }; then
13730 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
13737 if test -n "$LUA_LIBS"; then
13738 pkg_cv_LUA_LIBS="$LUA_LIBS"
13739 elif test -n "$PKG_CONFIG"; then
13740 if test -n "$PKG_CONFIG" && \
13741 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13742 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13745 test $ac_status = 0; }; then
13746 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
13756 if test $pkg_failed = yes; then
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13758 $as_echo "no" >&6; }
13760 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13761 _pkg_short_errors_supported=yes
13763 _pkg_short_errors_supported=no
13765 if test $_pkg_short_errors_supported = yes; then
13766 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1.0" 2>&1`
13768 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua51 >= 5.1.0" 2>&1`
13770 # Put the nasty error message in config.log where it belongs
13771 echo "$LUA_PKG_ERRORS" >&5
13774 elif test $pkg_failed = untried; then
13775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13776 $as_echo "no" >&6; }
13779 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13780 LUA_LIBS=$pkg_cv_LUA_LIBS
13781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13782 $as_echo "yes" >&6; }
13783 requirement_lua="lua51"
13785 elif test $pkg_failed = untried; then
13786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13787 $as_echo "no" >&6; }
13790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13791 $as_echo_n "checking for LUA... " >&6; }
13793 if test -n "$LUA_CFLAGS"; then
13794 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13795 elif test -n "$PKG_CONFIG"; then
13796 if test -n "$PKG_CONFIG" && \
13797 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13798 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13801 test $ac_status = 0; }; then
13802 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
13809 if test -n "$LUA_LIBS"; then
13810 pkg_cv_LUA_LIBS="$LUA_LIBS"
13811 elif test -n "$PKG_CONFIG"; then
13812 if test -n "$PKG_CONFIG" && \
13813 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13814 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13817 test $ac_status = 0; }; then
13818 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
13828 if test $pkg_failed = yes; then
13829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13830 $as_echo "no" >&6; }
13832 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13833 _pkg_short_errors_supported=yes
13835 _pkg_short_errors_supported=no
13837 if test $_pkg_short_errors_supported = yes; then
13838 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1.0" 2>&1`
13840 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua51 >= 5.1.0" 2>&1`
13842 # Put the nasty error message in config.log where it belongs
13843 echo "$LUA_PKG_ERRORS" >&5
13846 elif test $pkg_failed = untried; then
13847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13848 $as_echo "no" >&6; }
13851 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13852 LUA_LIBS=$pkg_cv_LUA_LIBS
13853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13854 $as_echo "yes" >&6; }
13855 requirement_lua="lua51"
13858 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13859 LUA_LIBS=$pkg_cv_LUA_LIBS
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13861 $as_echo "yes" >&6; }
13862 requirement_lua="lua-5.1"
13865 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13866 LUA_LIBS=$pkg_cv_LUA_LIBS
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13868 $as_echo "yes" >&6; }
13869 requirement_lua="lua5.1"
13872 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13873 LUA_LIBS=$pkg_cv_LUA_LIBS
13874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13875 $as_echo "yes" >&6; }
13876 requirement_lua="lua"
13879 if test "x${have_lua}" = "xno" ; then
13880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lua_newstate() is in liblua" >&5
13881 $as_echo_n "checking whether lua_newstate() is in liblua... " >&6; }
13882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lua_newstate in -llua" >&5
13883 $as_echo_n "checking for lua_newstate in -llua... " >&6; }
13884 if test "${ac_cv_lib_lua_lua_newstate+set}" = set; then :
13885 $as_echo_n "(cached) " >&6
13887 ac_check_lib_save_LIBS=$LIBS
13889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13890 /* end confdefs.h. */
13892 /* Override any GCC internal prototype to avoid an error.
13893 Use char because int might match the return type of a GCC
13894 builtin and then its argument prototype would still apply. */
13898 char lua_newstate ();
13902 return lua_newstate ();
13907 if ac_fn_c_try_link "$LINENO"; then :
13908 ac_cv_lib_lua_lua_newstate=yes
13910 ac_cv_lib_lua_lua_newstate=no
13912 rm -f core conftest.err conftest.$ac_objext \
13913 conftest$ac_exeext conftest.$ac_ext
13914 LIBS=$ac_check_lib_save_LIBS
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lua_lua_newstate" >&5
13917 $as_echo "$ac_cv_lib_lua_lua_newstate" >&6; }
13918 if test "x$ac_cv_lib_lua_lua_newstate" = x""yes; then :
13927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_lua}" >&5
13928 $as_echo "${have_lua}" >&6; }
13932 if test "x${have_lua}" = "xno" ; then
13933 as_fn_error $? "Cannot find lua library. Be sure that you have installed it and set CFLAGS and LDFLAGS correctly" "$LINENO" 5
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MINIMAL" >&5
13939 $as_echo_n "checking for MINIMAL... " >&6; }
13941 if test -n "$MINIMAL_CFLAGS"; then
13942 pkg_cv_MINIMAL_CFLAGS="$MINIMAL_CFLAGS"
13943 elif test -n "$PKG_CONFIG"; then
13944 if test -n "$PKG_CONFIG" && \
13945 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
13949 ($PKG_CONFIG --exists --print-errors "
13954 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13955 test $ac_status = 0; }; then
13956 pkg_cv_MINIMAL_CFLAGS=`$PKG_CONFIG --cflags "
13966 if test -n "$MINIMAL_LIBS"; then
13967 pkg_cv_MINIMAL_LIBS="$MINIMAL_LIBS"
13968 elif test -n "$PKG_CONFIG"; then
13969 if test -n "$PKG_CONFIG" && \
13970 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
13974 ($PKG_CONFIG --exists --print-errors "
13979 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13980 test $ac_status = 0; }; then
13981 pkg_cv_MINIMAL_LIBS=`$PKG_CONFIG --libs "
13994 if test $pkg_failed = yes; then
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13996 $as_echo "no" >&6; }
13998 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13999 _pkg_short_errors_supported=yes
14001 _pkg_short_errors_supported=no
14003 if test $_pkg_short_errors_supported = yes; then
14004 MINIMAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
14009 MINIMAL_PKG_ERRORS=`$PKG_CONFIG --print-errors "
14014 # Put the nasty error message in config.log where it belongs
14015 echo "$MINIMAL_PKG_ERRORS" >&5
14017 as_fn_error $? "Package requirements (
14022 $MINIMAL_PKG_ERRORS
14024 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14025 installed software in a non-standard prefix.
14027 Alternatively, you may set the environment variables MINIMAL_CFLAGS
14028 and MINIMAL_LIBS to avoid the need to call pkg-config.
14029 See the pkg-config man page for more details." "$LINENO" 5
14030 elif test $pkg_failed = untried; then
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14032 $as_echo "no" >&6; }
14033 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14034 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14035 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14036 is in your PATH or set the PKG_CONFIG environment variable to the full
14037 path to pkg-config.
14039 Alternatively, you may set the environment variables MINIMAL_CFLAGS
14040 and MINIMAL_LIBS to avoid the need to call pkg-config.
14041 See the pkg-config man page for more details.
14043 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14044 See \`config.log' for more details" "$LINENO" 5 ; }
14046 MINIMAL_CFLAGS=$pkg_cv_MINIMAL_CFLAGS
14047 MINIMAL_LIBS=$pkg_cv_MINIMAL_LIBS
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14049 $as_echo "yes" >&6; }
14055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE" >&5
14056 $as_echo_n "checking for EDJE... " >&6; }
14058 if test -n "$EDJE_CFLAGS"; then
14059 pkg_cv_EDJE_CFLAGS="$EDJE_CFLAGS"
14060 elif test -n "$PKG_CONFIG"; then
14061 if test -n "$PKG_CONFIG" && \
14062 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14067 ecore-evas >= 1.6.99
14068 ecore-file >= 1.6.99
14069 ecore-input >= 1.6.99
14072 ($PKG_CONFIG --exists --print-errors "
14077 ecore-evas >= 1.6.99
14078 ecore-file >= 1.6.99
14079 ecore-input >= 1.6.99
14083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14084 test $ac_status = 0; }; then
14085 pkg_cv_EDJE_CFLAGS=`$PKG_CONFIG --cflags "
14090 ecore-evas >= 1.6.99
14091 ecore-file >= 1.6.99
14092 ecore-input >= 1.6.99
14101 if test -n "$EDJE_LIBS"; then
14102 pkg_cv_EDJE_LIBS="$EDJE_LIBS"
14103 elif test -n "$PKG_CONFIG"; then
14104 if test -n "$PKG_CONFIG" && \
14105 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14110 ecore-evas >= 1.6.99
14111 ecore-file >= 1.6.99
14112 ecore-input >= 1.6.99
14115 ($PKG_CONFIG --exists --print-errors "
14120 ecore-evas >= 1.6.99
14121 ecore-file >= 1.6.99
14122 ecore-input >= 1.6.99
14126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14127 test $ac_status = 0; }; then
14128 pkg_cv_EDJE_LIBS=`$PKG_CONFIG --libs "
14133 ecore-evas >= 1.6.99
14134 ecore-file >= 1.6.99
14135 ecore-input >= 1.6.99
14147 if test $pkg_failed = yes; then
14148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14149 $as_echo "no" >&6; }
14151 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14152 _pkg_short_errors_supported=yes
14154 _pkg_short_errors_supported=no
14156 if test $_pkg_short_errors_supported = yes; then
14157 EDJE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
14162 ecore-evas >= 1.6.99
14163 ecore-file >= 1.6.99
14164 ecore-input >= 1.6.99
14168 EDJE_PKG_ERRORS=`$PKG_CONFIG --print-errors "
14173 ecore-evas >= 1.6.99
14174 ecore-file >= 1.6.99
14175 ecore-input >= 1.6.99
14179 # Put the nasty error message in config.log where it belongs
14180 echo "$EDJE_PKG_ERRORS" >&5
14182 as_fn_error $? "Package requirements (
14187 ecore-evas >= 1.6.99
14188 ecore-file >= 1.6.99
14189 ecore-input >= 1.6.99
14195 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14196 installed software in a non-standard prefix.
14198 Alternatively, you may set the environment variables EDJE_CFLAGS
14199 and EDJE_LIBS to avoid the need to call pkg-config.
14200 See the pkg-config man page for more details." "$LINENO" 5
14201 elif test $pkg_failed = untried; then
14202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14203 $as_echo "no" >&6; }
14204 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14205 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14206 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14207 is in your PATH or set the PKG_CONFIG environment variable to the full
14208 path to pkg-config.
14210 Alternatively, you may set the environment variables EDJE_CFLAGS
14211 and EDJE_LIBS to avoid the need to call pkg-config.
14212 See the pkg-config man page for more details.
14214 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14215 See \`config.log' for more details" "$LINENO" 5 ; }
14217 EDJE_CFLAGS=$pkg_cv_EDJE_CFLAGS
14218 EDJE_LIBS=$pkg_cv_EDJE_LIBS
14219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14220 $as_echo "yes" >&6; }
14224 EDJE_LIBS="${EDJE_LIBS} ${LUA_LIBS} ${lua_libs}"
14225 EDJE_CFLAGS="${EDJE_CFLAGS} ${LUA_CFLAGS}"
14227 requirement_edje="embryo >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.99 eina >= 1.6.99 ${requirement_edje}"
14228 requirement_edje="${requirement_lua} ${requirement_edje}"
14230 have_ecore_imf="no"
14233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_IMF" >&5
14234 $as_echo_n "checking for ECORE_IMF... " >&6; }
14236 if test -n "$ECORE_IMF_CFLAGS"; then
14237 pkg_cv_ECORE_IMF_CFLAGS="$ECORE_IMF_CFLAGS"
14238 elif test -n "$PKG_CONFIG"; then
14239 if test -n "$PKG_CONFIG" && \
14240 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14241 ecore-imf >= 1.6.99
14242 ecore-imf-evas >= 1.6.99
14244 ($PKG_CONFIG --exists --print-errors "
14245 ecore-imf >= 1.6.99
14246 ecore-imf-evas >= 1.6.99
14249 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14250 test $ac_status = 0; }; then
14251 pkg_cv_ECORE_IMF_CFLAGS=`$PKG_CONFIG --cflags "
14252 ecore-imf >= 1.6.99
14253 ecore-imf-evas >= 1.6.99
14261 if test -n "$ECORE_IMF_LIBS"; then
14262 pkg_cv_ECORE_IMF_LIBS="$ECORE_IMF_LIBS"
14263 elif test -n "$PKG_CONFIG"; then
14264 if test -n "$PKG_CONFIG" && \
14265 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14266 ecore-imf >= 1.6.99
14267 ecore-imf-evas >= 1.6.99
14269 ($PKG_CONFIG --exists --print-errors "
14270 ecore-imf >= 1.6.99
14271 ecore-imf-evas >= 1.6.99
14274 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14275 test $ac_status = 0; }; then
14276 pkg_cv_ECORE_IMF_LIBS=`$PKG_CONFIG --libs "
14277 ecore-imf >= 1.6.99
14278 ecore-imf-evas >= 1.6.99
14289 if test $pkg_failed = yes; then
14290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14291 $as_echo "no" >&6; }
14293 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14294 _pkg_short_errors_supported=yes
14296 _pkg_short_errors_supported=no
14298 if test $_pkg_short_errors_supported = yes; then
14299 ECORE_IMF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
14300 ecore-imf >= 1.6.99
14301 ecore-imf-evas >= 1.6.99
14304 ECORE_IMF_PKG_ERRORS=`$PKG_CONFIG --print-errors "
14305 ecore-imf >= 1.6.99
14306 ecore-imf-evas >= 1.6.99
14309 # Put the nasty error message in config.log where it belongs
14310 echo "$ECORE_IMF_PKG_ERRORS" >&5
14312 have_ecore_imf="no"
14313 elif test $pkg_failed = untried; then
14314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14315 $as_echo "no" >&6; }
14316 have_ecore_imf="no"
14318 ECORE_IMF_CFLAGS=$pkg_cv_ECORE_IMF_CFLAGS
14319 ECORE_IMF_LIBS=$pkg_cv_ECORE_IMF_LIBS
14320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14321 $as_echo "yes" >&6; }
14324 $as_echo "#define HAVE_ECORE_IMF 1" >>confdefs.h
14326 have_ecore_imf="yes"
14327 requirement_edje="ecore-imf-evas >= 1.6.99 ecore-imf >= 1.6.99 ${requirement_edje}"
14333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIO" >&5
14334 $as_echo_n "checking for EIO... " >&6; }
14336 if test -n "$EIO_CFLAGS"; then
14337 pkg_cv_EIO_CFLAGS="$EIO_CFLAGS"
14338 elif test -n "$PKG_CONFIG"; then
14339 if test -n "$PKG_CONFIG" && \
14340 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eio >= 1.6.99\""; } >&5
14341 ($PKG_CONFIG --exists --print-errors "eio >= 1.6.99") 2>&5
14343 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14344 test $ac_status = 0; }; then
14345 pkg_cv_EIO_CFLAGS=`$PKG_CONFIG --cflags "eio >= 1.6.99" 2>/dev/null`
14352 if test -n "$EIO_LIBS"; then
14353 pkg_cv_EIO_LIBS="$EIO_LIBS"
14354 elif test -n "$PKG_CONFIG"; then
14355 if test -n "$PKG_CONFIG" && \
14356 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eio >= 1.6.99\""; } >&5
14357 ($PKG_CONFIG --exists --print-errors "eio >= 1.6.99") 2>&5
14359 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14360 test $ac_status = 0; }; then
14361 pkg_cv_EIO_LIBS=`$PKG_CONFIG --libs "eio >= 1.6.99" 2>/dev/null`
14371 if test $pkg_failed = yes; then
14372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14373 $as_echo "no" >&6; }
14375 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14376 _pkg_short_errors_supported=yes
14378 _pkg_short_errors_supported=no
14380 if test $_pkg_short_errors_supported = yes; then
14381 EIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eio >= 1.6.99" 2>&1`
14383 EIO_PKG_ERRORS=`$PKG_CONFIG --print-errors "eio >= 1.6.99" 2>&1`
14385 # Put the nasty error message in config.log where it belongs
14386 echo "$EIO_PKG_ERRORS" >&5
14389 elif test $pkg_failed = untried; then
14390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14391 $as_echo "no" >&6; }
14394 EIO_CFLAGS=$pkg_cv_EIO_CFLAGS
14395 EIO_LIBS=$pkg_cv_EIO_LIBS
14396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14397 $as_echo "yes" >&6; }
14400 $as_echo "#define HAVE_EIO 1" >>confdefs.h
14403 requirement_edje="eio >= 1.6.99 ${requirement_edje}"
14407 # Enable Multisense use
14408 want_multisense="no"
14409 if test "x${want_multisense}" = "xyes"; then
14410 ENABLE_MULTISENSE_TRUE=
14411 ENABLE_MULTISENSE_FALSE='#'
14413 ENABLE_MULTISENSE_TRUE='#'
14414 ENABLE_MULTISENSE_FALSE=
14420 want_sndfile="auto"
14421 # Check whether --enable-sndfile was given.
14422 if test "${enable_sndfile+set}" = set; then :
14423 enableval=$enable_sndfile; want_sndfile=$enableval
14427 if test "x${want_multisense}" = "xyes" -a "x$want_sndfile" != "xno"; then
14431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDFILE" >&5
14432 $as_echo_n "checking for SNDFILE... " >&6; }
14434 if test -n "$SNDFILE_CFLAGS"; then
14435 pkg_cv_SNDFILE_CFLAGS="$SNDFILE_CFLAGS"
14436 elif test -n "$PKG_CONFIG"; then
14437 if test -n "$PKG_CONFIG" && \
14438 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile >= 1.0.21\""; } >&5
14439 ($PKG_CONFIG --exists --print-errors "sndfile >= 1.0.21") 2>&5
14441 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14442 test $ac_status = 0; }; then
14443 pkg_cv_SNDFILE_CFLAGS=`$PKG_CONFIG --cflags "sndfile >= 1.0.21" 2>/dev/null`
14450 if test -n "$SNDFILE_LIBS"; then
14451 pkg_cv_SNDFILE_LIBS="$SNDFILE_LIBS"
14452 elif test -n "$PKG_CONFIG"; then
14453 if test -n "$PKG_CONFIG" && \
14454 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile >= 1.0.21\""; } >&5
14455 ($PKG_CONFIG --exists --print-errors "sndfile >= 1.0.21") 2>&5
14457 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14458 test $ac_status = 0; }; then
14459 pkg_cv_SNDFILE_LIBS=`$PKG_CONFIG --libs "sndfile >= 1.0.21" 2>/dev/null`
14469 if test $pkg_failed = yes; then
14470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14471 $as_echo "no" >&6; }
14473 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14474 _pkg_short_errors_supported=yes
14476 _pkg_short_errors_supported=no
14478 if test $_pkg_short_errors_supported = yes; then
14479 SNDFILE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "sndfile >= 1.0.21" 2>&1`
14481 SNDFILE_PKG_ERRORS=`$PKG_CONFIG --print-errors "sndfile >= 1.0.21" 2>&1`
14483 # Put the nasty error message in config.log where it belongs
14484 echo "$SNDFILE_PKG_ERRORS" >&5
14486 have_sndfile="no"; want_multisense="no"
14488 elif test $pkg_failed = untried; then
14489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14490 $as_echo "no" >&6; }
14491 have_sndfile="no"; want_multisense="no"
14494 SNDFILE_CFLAGS=$pkg_cv_SNDFILE_CFLAGS
14495 SNDFILE_LIBS=$pkg_cv_SNDFILE_LIBS
14496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14497 $as_echo "yes" >&6; }
14500 $as_echo "#define HAVE_LIBSNDFILE 1" >>confdefs.h
14503 requirement_edje="sndfile >= 1.0.21 ${requirement_edje}"
14507 if test "x$want_sndfile" = "xyes" -a "x$have_sndfile" = "xno"; then
14508 as_fn_error $? "sndfile support requested, but not found by pkg-config." "$LINENO" 5
14511 if test "x${have_sndfile}" = "xyes"; then
14512 HAVE_LIBSNDFILE_TRUE=
14513 HAVE_LIBSNDFILE_FALSE='#'
14515 HAVE_LIBSNDFILE_TRUE='#'
14516 HAVE_LIBSNDFILE_FALSE=
14522 want_libremix="auto"
14523 # Check whether --enable-remix was given.
14524 if test "${enable_remix+set}" = set; then :
14525 enableval=$enable_remix; want_libremix=$enableval
14529 if test "x${want_multisense}" = "xyes" -a "x$want_libremix" != "xno"; then
14532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for REMIX" >&5
14533 $as_echo_n "checking for REMIX... " >&6; }
14535 if test -n "$REMIX_CFLAGS"; then
14536 pkg_cv_REMIX_CFLAGS="$REMIX_CFLAGS"
14537 elif test -n "$PKG_CONFIG"; then
14538 if test -n "$PKG_CONFIG" && \
14539 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"remix >= 0.2.4\""; } >&5
14540 ($PKG_CONFIG --exists --print-errors "remix >= 0.2.4") 2>&5
14542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14543 test $ac_status = 0; }; then
14544 pkg_cv_REMIX_CFLAGS=`$PKG_CONFIG --cflags "remix >= 0.2.4" 2>/dev/null`
14551 if test -n "$REMIX_LIBS"; then
14552 pkg_cv_REMIX_LIBS="$REMIX_LIBS"
14553 elif test -n "$PKG_CONFIG"; then
14554 if test -n "$PKG_CONFIG" && \
14555 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"remix >= 0.2.4\""; } >&5
14556 ($PKG_CONFIG --exists --print-errors "remix >= 0.2.4") 2>&5
14558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14559 test $ac_status = 0; }; then
14560 pkg_cv_REMIX_LIBS=`$PKG_CONFIG --libs "remix >= 0.2.4" 2>/dev/null`
14570 if test $pkg_failed = yes; then
14571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14572 $as_echo "no" >&6; }
14574 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14575 _pkg_short_errors_supported=yes
14577 _pkg_short_errors_supported=no
14579 if test $_pkg_short_errors_supported = yes; then
14580 REMIX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "remix >= 0.2.4" 2>&1`
14582 REMIX_PKG_ERRORS=`$PKG_CONFIG --print-errors "remix >= 0.2.4" 2>&1`
14584 # Put the nasty error message in config.log where it belongs
14585 echo "$REMIX_PKG_ERRORS" >&5
14587 have_libremix="no"; want_multisense="no"
14589 elif test $pkg_failed = untried; then
14590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14591 $as_echo "no" >&6; }
14592 have_libremix="no"; want_multisense="no"
14595 REMIX_CFLAGS=$pkg_cv_REMIX_CFLAGS
14596 REMIX_LIBS=$pkg_cv_REMIX_LIBS
14597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14598 $as_echo "yes" >&6; }
14601 $as_echo "#define HAVE_LIBREMIX 1" >>confdefs.h
14603 have_libremix="yes"
14604 requirement_edje="remix >= 0.2.4 ${requirement_edje}"
14606 $as_echo "#define __REMIX_PLUGIN__ 1" >>confdefs.h
14608 REMIX_PLUGIN_DIR=`pkg-config --variable=libdir remix`"/remix"
14611 cat >>confdefs.h <<_ACEOF
14612 #define REMIX_PLUGIN_DIR "$REMIX_PLUGIN_DIR"
14618 if test "x$want_libremix" = "xyes" -a "x$have_libremix" = "xno"; then
14619 as_fn_error $? "remix support requested, but not found by pkg-config." "$LINENO" 5
14622 if test "x${have_libremix}" = "xyes"; then
14623 HAVE_LIBREMIX_TRUE=
14624 HAVE_LIBREMIX_FALSE='#'
14626 HAVE_LIBREMIX_TRUE='#'
14627 HAVE_LIBREMIX_FALSE=
14631 ##vorbis/ogg library
14634 # Check whether --enable-vorbisenc was given.
14635 if test "${enable_vorbisenc+set}" = set; then :
14636 enableval=$enable_vorbisenc; want_vorbis=$enableval
14640 if test "x${want_multisense}" = "xyes" -a "x$want_vorbis" != "xno"; then
14643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VORBISENC" >&5
14644 $as_echo_n "checking for VORBISENC... " >&6; }
14646 if test -n "$VORBISENC_CFLAGS"; then
14647 pkg_cv_VORBISENC_CFLAGS="$VORBISENC_CFLAGS"
14648 elif test -n "$PKG_CONFIG"; then
14649 if test -n "$PKG_CONFIG" && \
14650 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14655 ($PKG_CONFIG --exists --print-errors "
14661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14662 test $ac_status = 0; }; then
14663 pkg_cv_VORBISENC_CFLAGS=`$PKG_CONFIG --cflags "
14674 if test -n "$VORBISENC_LIBS"; then
14675 pkg_cv_VORBISENC_LIBS="$VORBISENC_LIBS"
14676 elif test -n "$PKG_CONFIG"; then
14677 if test -n "$PKG_CONFIG" && \
14678 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14683 ($PKG_CONFIG --exists --print-errors "
14689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14690 test $ac_status = 0; }; then
14691 pkg_cv_VORBISENC_LIBS=`$PKG_CONFIG --libs "
14705 if test $pkg_failed = yes; then
14706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14707 $as_echo "no" >&6; }
14709 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14710 _pkg_short_errors_supported=yes
14712 _pkg_short_errors_supported=no
14714 if test $_pkg_short_errors_supported = yes; then
14715 VORBISENC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
14721 VORBISENC_PKG_ERRORS=`$PKG_CONFIG --print-errors "
14727 # Put the nasty error message in config.log where it belongs
14728 echo "$VORBISENC_PKG_ERRORS" >&5
14730 have_vorbis="no"; want_multisense="no"
14732 elif test $pkg_failed = untried; then
14733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14734 $as_echo "no" >&6; }
14735 have_vorbis="no"; want_multisense="no"
14738 VORBISENC_CFLAGS=$pkg_cv_VORBISENC_CFLAGS
14739 VORBISENC_LIBS=$pkg_cv_VORBISENC_LIBS
14740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14741 $as_echo "yes" >&6; }
14744 $as_echo "#define HAVE_VORBIS 1" >>confdefs.h
14747 requirement_edje="ogg >= 1.1.4 vorbis >= 1.2.3 vorbisenc >= 1.2.3 ${requirement_edje}"
14751 if test "x$want_vorbis" = "xyes" -a "x$have_vorbis" = "xno"; then
14752 as_fn_error $? "vorbisenc support requested, but not found by pkg-config." "$LINENO" 5
14758 want_alsa_lib="auto"
14759 # Check whether --enable-alsa was given.
14760 if test "${enable_alsa+set}" = set; then :
14761 enableval=$enable_alsa; want_alsa_lib=$enableval
14765 if test "x${want_multisense}" = "xyes" -a "x$want_alsa_lib" != "xno"; then
14768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA" >&5
14769 $as_echo_n "checking for ALSA... " >&6; }
14771 if test -n "$ALSA_CFLAGS"; then
14772 pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS"
14773 elif test -n "$PKG_CONFIG"; then
14774 if test -n "$PKG_CONFIG" && \
14775 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14778 ($PKG_CONFIG --exists --print-errors "
14782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14783 test $ac_status = 0; }; then
14784 pkg_cv_ALSA_CFLAGS=`$PKG_CONFIG --cflags "
14793 if test -n "$ALSA_LIBS"; then
14794 pkg_cv_ALSA_LIBS="$ALSA_LIBS"
14795 elif test -n "$PKG_CONFIG"; then
14796 if test -n "$PKG_CONFIG" && \
14797 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14800 ($PKG_CONFIG --exists --print-errors "
14804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14805 test $ac_status = 0; }; then
14806 pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs "
14818 if test $pkg_failed = yes; then
14819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14820 $as_echo "no" >&6; }
14822 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14823 _pkg_short_errors_supported=yes
14825 _pkg_short_errors_supported=no
14827 if test $_pkg_short_errors_supported = yes; then
14828 ALSA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
14832 ALSA_PKG_ERRORS=`$PKG_CONFIG --print-errors "
14836 # Put the nasty error message in config.log where it belongs
14837 echo "$ALSA_PKG_ERRORS" >&5
14839 have_alsa_lib="no"; want_multisense="no"
14841 elif test $pkg_failed = untried; then
14842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14843 $as_echo "no" >&6; }
14844 have_alsa_lib="no"; want_multisense="no"
14847 ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS
14848 ALSA_LIBS=$pkg_cv_ALSA_LIBS
14849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14850 $as_echo "yes" >&6; }
14853 $as_echo "#define HAVE_LIBALSA 1" >>confdefs.h
14855 have_alsa_lib="yes"
14856 requirement_edje="alsa >= 1.0.21 ${requirement_edje}"
14860 if test "x$want_alsa_lib" = "xyes" -a "x$have_alsa_lib" = "xno"; then
14861 as_fn_error $? "alsa support requested, but not found by pkg-config." "$LINENO" 5
14864 if test "x${have_alsa_lib}" = "xyes"; then
14866 HAVE_LIBALSA_FALSE='#'
14868 HAVE_LIBALSA_TRUE='#'
14869 HAVE_LIBALSA_FALSE=
14876 want_flac_lib="auto"
14877 # Check whether --enable-flac was given.
14878 if test "${enable_flac+set}" = set; then :
14879 enableval=$enable_flac; want_flac_lib=$enableval
14883 if test "x${want_multisense}" = "xyes" -a "x$want_flac_lib" != "xno"; then
14886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FLAC" >&5
14887 $as_echo_n "checking for FLAC... " >&6; }
14889 if test -n "$FLAC_CFLAGS"; then
14890 pkg_cv_FLAC_CFLAGS="$FLAC_CFLAGS"
14891 elif test -n "$PKG_CONFIG"; then
14892 if test -n "$PKG_CONFIG" && \
14893 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14896 ($PKG_CONFIG --exists --print-errors "
14900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14901 test $ac_status = 0; }; then
14902 pkg_cv_FLAC_CFLAGS=`$PKG_CONFIG --cflags "
14911 if test -n "$FLAC_LIBS"; then
14912 pkg_cv_FLAC_LIBS="$FLAC_LIBS"
14913 elif test -n "$PKG_CONFIG"; then
14914 if test -n "$PKG_CONFIG" && \
14915 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14918 ($PKG_CONFIG --exists --print-errors "
14922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14923 test $ac_status = 0; }; then
14924 pkg_cv_FLAC_LIBS=`$PKG_CONFIG --libs "
14936 if test $pkg_failed = yes; then
14937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14938 $as_echo "no" >&6; }
14940 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14941 _pkg_short_errors_supported=yes
14943 _pkg_short_errors_supported=no
14945 if test $_pkg_short_errors_supported = yes; then
14946 FLAC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
14950 FLAC_PKG_ERRORS=`$PKG_CONFIG --print-errors "
14954 # Put the nasty error message in config.log where it belongs
14955 echo "$FLAC_PKG_ERRORS" >&5
14957 have_flac_lib="no"; want_multisense="no"
14959 elif test $pkg_failed = untried; then
14960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14961 $as_echo "no" >&6; }
14962 have_flac_lib="no"; want_multisense="no"
14965 FLAC_CFLAGS=$pkg_cv_FLAC_CFLAGS
14966 FLAC_LIBS=$pkg_cv_FLAC_LIBS
14967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14968 $as_echo "yes" >&6; }
14971 $as_echo "#define HAVE_LIBFLAC 1" >>confdefs.h
14973 have_flac_lib="yes"
14974 # disabled because this adds flac include dirs to cflags... and
14975 # FLAC has an assert.h in its include dirs that ends up
14976 # overriding the system assert.h and thus causes all sorts of
14978 #requirement_edje="flac >= 1.2.1 ${requirement_edje}"
14981 if test "x$want_flac_lib" = "xyes" -a "x$have_flac_lib" = "xno"; then
14982 as_fn_error $? "flac support requested, but not found by pkg-config." "$LINENO" 5
14986 if test "x${want_multisense}" = "xyes" ; then
14988 $as_echo "#define ENABLE_MULTISENSE 1" >>confdefs.h
14993 # Dependencies for the binaries
14995 if test "x${have_edje_cc}" = "xyes" ; then
14998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_CC" >&5
14999 $as_echo_n "checking for EDJE_CC... " >&6; }
15001 if test -n "$EDJE_CC_CFLAGS"; then
15002 pkg_cv_EDJE_CC_CFLAGS="$EDJE_CC_CFLAGS"
15003 elif test -n "$PKG_CONFIG"; then
15004 if test -n "$PKG_CONFIG" && \
15005 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.0 eina >= 1.6.99\""; } >&5
15006 ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.0 eina >= 1.6.99") 2>&5
15008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15009 test $ac_status = 0; }; then
15010 pkg_cv_EDJE_CC_CFLAGS=`$PKG_CONFIG --cflags "ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.0 eina >= 1.6.99" 2>/dev/null`
15017 if test -n "$EDJE_CC_LIBS"; then
15018 pkg_cv_EDJE_CC_LIBS="$EDJE_CC_LIBS"
15019 elif test -n "$PKG_CONFIG"; then
15020 if test -n "$PKG_CONFIG" && \
15021 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.0 eina >= 1.6.99\""; } >&5
15022 ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.0 eina >= 1.6.99") 2>&5
15024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15025 test $ac_status = 0; }; then
15026 pkg_cv_EDJE_CC_LIBS=`$PKG_CONFIG --libs "ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.0 eina >= 1.6.99" 2>/dev/null`
15036 if test $pkg_failed = yes; then
15037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15038 $as_echo "no" >&6; }
15040 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15041 _pkg_short_errors_supported=yes
15043 _pkg_short_errors_supported=no
15045 if test $_pkg_short_errors_supported = yes; then
15046 EDJE_CC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.0 eina >= 1.6.99" 2>&1`
15048 EDJE_CC_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.0 eina >= 1.6.99" 2>&1`
15050 # Put the nasty error message in config.log where it belongs
15051 echo "$EDJE_CC_PKG_ERRORS" >&5
15053 as_fn_error $? "Package requirements (ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.0 eina >= 1.6.99) were not met:
15055 $EDJE_CC_PKG_ERRORS
15057 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15058 installed software in a non-standard prefix.
15060 Alternatively, you may set the environment variables EDJE_CC_CFLAGS
15061 and EDJE_CC_LIBS to avoid the need to call pkg-config.
15062 See the pkg-config man page for more details." "$LINENO" 5
15063 elif test $pkg_failed = untried; then
15064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15065 $as_echo "no" >&6; }
15066 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15067 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15068 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15069 is in your PATH or set the PKG_CONFIG environment variable to the full
15070 path to pkg-config.
15072 Alternatively, you may set the environment variables EDJE_CC_CFLAGS
15073 and EDJE_CC_LIBS to avoid the need to call pkg-config.
15074 See the pkg-config man page for more details.
15076 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15077 See \`config.log' for more details" "$LINENO" 5 ; }
15079 EDJE_CC_CFLAGS=$pkg_cv_EDJE_CC_CFLAGS
15080 EDJE_CC_LIBS=$pkg_cv_EDJE_CC_LIBS
15081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15082 $as_echo "yes" >&6; }
15085 EDJE_CC_LIBS="${EDJE_CC_LIBS} ${LUA_LIBS} ${lua_libs}"
15088 if test "x${have_edje_cc}" = "xyes"; then
15090 BUILD_EPP_FALSE='#'
15097 if test "x${have_edje_decc}" = "xyes" ; then
15100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_DECC" >&5
15101 $as_echo_n "checking for EDJE_DECC... " >&6; }
15103 if test -n "$EDJE_DECC_CFLAGS"; then
15104 pkg_cv_EDJE_DECC_CFLAGS="$EDJE_DECC_CFLAGS"
15105 elif test -n "$PKG_CONFIG"; then
15106 if test -n "$PKG_CONFIG" && \
15107 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.99 eina >= 1.6.99\""; } >&5
15108 ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.99 eina >= 1.6.99") 2>&5
15110 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15111 test $ac_status = 0; }; then
15112 pkg_cv_EDJE_DECC_CFLAGS=`$PKG_CONFIG --cflags "ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.99 eina >= 1.6.99" 2>/dev/null`
15119 if test -n "$EDJE_DECC_LIBS"; then
15120 pkg_cv_EDJE_DECC_LIBS="$EDJE_DECC_LIBS"
15121 elif test -n "$PKG_CONFIG"; then
15122 if test -n "$PKG_CONFIG" && \
15123 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.99 eina >= 1.6.99\""; } >&5
15124 ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.99 eina >= 1.6.99") 2>&5
15126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15127 test $ac_status = 0; }; then
15128 pkg_cv_EDJE_DECC_LIBS=`$PKG_CONFIG --libs "ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.99 eina >= 1.6.99" 2>/dev/null`
15138 if test $pkg_failed = yes; then
15139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15140 $as_echo "no" >&6; }
15142 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15143 _pkg_short_errors_supported=yes
15145 _pkg_short_errors_supported=no
15147 if test $_pkg_short_errors_supported = yes; then
15148 EDJE_DECC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.99 eina >= 1.6.99" 2>&1`
15150 EDJE_DECC_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.99 eina >= 1.6.99" 2>&1`
15152 # Put the nasty error message in config.log where it belongs
15153 echo "$EDJE_DECC_PKG_ERRORS" >&5
15155 as_fn_error $? "Package requirements (ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.99 eina >= 1.6.99) were not met:
15157 $EDJE_DECC_PKG_ERRORS
15159 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15160 installed software in a non-standard prefix.
15162 Alternatively, you may set the environment variables EDJE_DECC_CFLAGS
15163 and EDJE_DECC_LIBS to avoid the need to call pkg-config.
15164 See the pkg-config man page for more details." "$LINENO" 5
15165 elif test $pkg_failed = untried; then
15166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15167 $as_echo "no" >&6; }
15168 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15169 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15170 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15171 is in your PATH or set the PKG_CONFIG environment variable to the full
15172 path to pkg-config.
15174 Alternatively, you may set the environment variables EDJE_DECC_CFLAGS
15175 and EDJE_DECC_LIBS to avoid the need to call pkg-config.
15176 See the pkg-config man page for more details.
15178 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15179 See \`config.log' for more details" "$LINENO" 5 ; }
15181 EDJE_DECC_CFLAGS=$pkg_cv_EDJE_DECC_CFLAGS
15182 EDJE_DECC_LIBS=$pkg_cv_EDJE_DECC_LIBS
15183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15184 $as_echo "yes" >&6; }
15189 if test "x${have_edje_player}" = "xyes" ; then
15192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_PLAYER" >&5
15193 $as_echo_n "checking for EDJE_PLAYER... " >&6; }
15195 if test -n "$EDJE_PLAYER_CFLAGS"; then
15196 pkg_cv_EDJE_PLAYER_CFLAGS="$EDJE_PLAYER_CFLAGS"
15197 elif test -n "$PKG_CONFIG"; then
15198 if test -n "$PKG_CONFIG" && \
15199 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99\""; } >&5
15200 ($PKG_CONFIG --exists --print-errors "ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99") 2>&5
15202 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15203 test $ac_status = 0; }; then
15204 pkg_cv_EDJE_PLAYER_CFLAGS=`$PKG_CONFIG --cflags "ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99" 2>/dev/null`
15211 if test -n "$EDJE_PLAYER_LIBS"; then
15212 pkg_cv_EDJE_PLAYER_LIBS="$EDJE_PLAYER_LIBS"
15213 elif test -n "$PKG_CONFIG"; then
15214 if test -n "$PKG_CONFIG" && \
15215 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99\""; } >&5
15216 ($PKG_CONFIG --exists --print-errors "ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99") 2>&5
15218 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15219 test $ac_status = 0; }; then
15220 pkg_cv_EDJE_PLAYER_LIBS=`$PKG_CONFIG --libs "ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99" 2>/dev/null`
15230 if test $pkg_failed = yes; then
15231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15232 $as_echo "no" >&6; }
15234 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15235 _pkg_short_errors_supported=yes
15237 _pkg_short_errors_supported=no
15239 if test $_pkg_short_errors_supported = yes; then
15240 EDJE_PLAYER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99" 2>&1`
15242 EDJE_PLAYER_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99" 2>&1`
15244 # Put the nasty error message in config.log where it belongs
15245 echo "$EDJE_PLAYER_PKG_ERRORS" >&5
15247 as_fn_error $? "Package requirements (ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99) were not met:
15249 $EDJE_PLAYER_PKG_ERRORS
15251 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15252 installed software in a non-standard prefix.
15254 Alternatively, you may set the environment variables EDJE_PLAYER_CFLAGS
15255 and EDJE_PLAYER_LIBS to avoid the need to call pkg-config.
15256 See the pkg-config man page for more details." "$LINENO" 5
15257 elif test $pkg_failed = untried; then
15258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15259 $as_echo "no" >&6; }
15260 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15261 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15262 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15263 is in your PATH or set the PKG_CONFIG environment variable to the full
15264 path to pkg-config.
15266 Alternatively, you may set the environment variables EDJE_PLAYER_CFLAGS
15267 and EDJE_PLAYER_LIBS to avoid the need to call pkg-config.
15268 See the pkg-config man page for more details.
15270 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15271 See \`config.log' for more details" "$LINENO" 5 ; }
15273 EDJE_PLAYER_CFLAGS=$pkg_cv_EDJE_PLAYER_CFLAGS
15274 EDJE_PLAYER_LIBS=$pkg_cv_EDJE_PLAYER_LIBS
15275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15276 $as_echo "yes" >&6; }
15281 if test "x${have_edje_inspector}" = "xyes" ; then
15284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_INSPECTOR" >&5
15285 $as_echo_n "checking for EDJE_INSPECTOR... " >&6; }
15287 if test -n "$EDJE_INSPECTOR_CFLAGS"; then
15288 pkg_cv_EDJE_INSPECTOR_CFLAGS="$EDJE_INSPECTOR_CFLAGS"
15289 elif test -n "$PKG_CONFIG"; then
15290 if test -n "$PKG_CONFIG" && \
15291 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99\""; } >&5
15292 ($PKG_CONFIG --exists --print-errors "ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99") 2>&5
15294 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15295 test $ac_status = 0; }; then
15296 pkg_cv_EDJE_INSPECTOR_CFLAGS=`$PKG_CONFIG --cflags "ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99" 2>/dev/null`
15303 if test -n "$EDJE_INSPECTOR_LIBS"; then
15304 pkg_cv_EDJE_INSPECTOR_LIBS="$EDJE_INSPECTOR_LIBS"
15305 elif test -n "$PKG_CONFIG"; then
15306 if test -n "$PKG_CONFIG" && \
15307 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99\""; } >&5
15308 ($PKG_CONFIG --exists --print-errors "ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99") 2>&5
15310 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15311 test $ac_status = 0; }; then
15312 pkg_cv_EDJE_INSPECTOR_LIBS=`$PKG_CONFIG --libs "ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99" 2>/dev/null`
15322 if test $pkg_failed = yes; then
15323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15324 $as_echo "no" >&6; }
15326 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15327 _pkg_short_errors_supported=yes
15329 _pkg_short_errors_supported=no
15331 if test $_pkg_short_errors_supported = yes; then
15332 EDJE_INSPECTOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99" 2>&1`
15334 EDJE_INSPECTOR_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99" 2>&1`
15336 # Put the nasty error message in config.log where it belongs
15337 echo "$EDJE_INSPECTOR_PKG_ERRORS" >&5
15339 as_fn_error $? "Package requirements (ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99) were not met:
15341 $EDJE_INSPECTOR_PKG_ERRORS
15343 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15344 installed software in a non-standard prefix.
15346 Alternatively, you may set the environment variables EDJE_INSPECTOR_CFLAGS
15347 and EDJE_INSPECTOR_LIBS to avoid the need to call pkg-config.
15348 See the pkg-config man page for more details." "$LINENO" 5
15349 elif test $pkg_failed = untried; then
15350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15351 $as_echo "no" >&6; }
15352 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15353 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15354 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15355 is in your PATH or set the PKG_CONFIG environment variable to the full
15356 path to pkg-config.
15358 Alternatively, you may set the environment variables EDJE_INSPECTOR_CFLAGS
15359 and EDJE_INSPECTOR_LIBS to avoid the need to call pkg-config.
15360 See the pkg-config man page for more details.
15362 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15363 See \`config.log' for more details" "$LINENO" 5 ; }
15365 EDJE_INSPECTOR_CFLAGS=$pkg_cv_EDJE_INSPECTOR_CFLAGS
15366 EDJE_INSPECTOR_LIBS=$pkg_cv_EDJE_INSPECTOR_LIBS
15367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15368 $as_echo "yes" >&6; }
15373 if test "x${have_edje_external_inspector}" = "xyes" ; then
15376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_EXTERNAL_INSPECTOR" >&5
15377 $as_echo_n "checking for EDJE_EXTERNAL_INSPECTOR... " >&6; }
15379 if test -n "$EDJE_EXTERNAL_INSPECTOR_CFLAGS"; then
15380 pkg_cv_EDJE_EXTERNAL_INSPECTOR_CFLAGS="$EDJE_EXTERNAL_INSPECTOR_CFLAGS"
15381 elif test -n "$PKG_CONFIG"; then
15382 if test -n "$PKG_CONFIG" && \
15383 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99\""; } >&5
15384 ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99") 2>&5
15386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15387 test $ac_status = 0; }; then
15388 pkg_cv_EDJE_EXTERNAL_INSPECTOR_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99" 2>/dev/null`
15395 if test -n "$EDJE_EXTERNAL_INSPECTOR_LIBS"; then
15396 pkg_cv_EDJE_EXTERNAL_INSPECTOR_LIBS="$EDJE_EXTERNAL_INSPECTOR_LIBS"
15397 elif test -n "$PKG_CONFIG"; then
15398 if test -n "$PKG_CONFIG" && \
15399 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99\""; } >&5
15400 ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99") 2>&5
15402 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15403 test $ac_status = 0; }; then
15404 pkg_cv_EDJE_EXTERNAL_INSPECTOR_LIBS=`$PKG_CONFIG --libs "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99" 2>/dev/null`
15414 if test $pkg_failed = yes; then
15415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15416 $as_echo "no" >&6; }
15418 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15419 _pkg_short_errors_supported=yes
15421 _pkg_short_errors_supported=no
15423 if test $_pkg_short_errors_supported = yes; then
15424 EDJE_EXTERNAL_INSPECTOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99" 2>&1`
15426 EDJE_EXTERNAL_INSPECTOR_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99" 2>&1`
15428 # Put the nasty error message in config.log where it belongs
15429 echo "$EDJE_EXTERNAL_INSPECTOR_PKG_ERRORS" >&5
15431 as_fn_error $? "Package requirements (ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99) were not met:
15433 $EDJE_EXTERNAL_INSPECTOR_PKG_ERRORS
15435 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15436 installed software in a non-standard prefix.
15438 Alternatively, you may set the environment variables EDJE_EXTERNAL_INSPECTOR_CFLAGS
15439 and EDJE_EXTERNAL_INSPECTOR_LIBS to avoid the need to call pkg-config.
15440 See the pkg-config man page for more details." "$LINENO" 5
15441 elif test $pkg_failed = untried; then
15442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15443 $as_echo "no" >&6; }
15444 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15445 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15446 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15447 is in your PATH or set the PKG_CONFIG environment variable to the full
15448 path to pkg-config.
15450 Alternatively, you may set the environment variables EDJE_EXTERNAL_INSPECTOR_CFLAGS
15451 and EDJE_EXTERNAL_INSPECTOR_LIBS to avoid the need to call pkg-config.
15452 See the pkg-config man page for more details.
15454 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15455 See \`config.log' for more details" "$LINENO" 5 ; }
15457 EDJE_EXTERNAL_INSPECTOR_CFLAGS=$pkg_cv_EDJE_EXTERNAL_INSPECTOR_CFLAGS
15458 EDJE_EXTERNAL_INSPECTOR_LIBS=$pkg_cv_EDJE_EXTERNAL_INSPECTOR_LIBS
15459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15460 $as_echo "yes" >&6; }
15465 if test "x${have_edje_watch}" = "xyes" ; then
15468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_WATCH" >&5
15469 $as_echo_n "checking for EDJE_WATCH... " >&6; }
15471 if test -n "$EDJE_WATCH_CFLAGS"; then
15472 pkg_cv_EDJE_WATCH_CFLAGS="$EDJE_WATCH_CFLAGS"
15473 elif test -n "$PKG_CONFIG"; then
15474 if test -n "$PKG_CONFIG" && \
15475 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 eina >= 1.6.99 eio >= 1.6.99\""; } >&5
15476 ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 eina >= 1.6.99 eio >= 1.6.99") 2>&5
15478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15479 test $ac_status = 0; }; then
15480 pkg_cv_EDJE_WATCH_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.6.99 eina >= 1.6.99 eio >= 1.6.99" 2>/dev/null`
15487 if test -n "$EDJE_WATCH_LIBS"; then
15488 pkg_cv_EDJE_WATCH_LIBS="$EDJE_WATCH_LIBS"
15489 elif test -n "$PKG_CONFIG"; then
15490 if test -n "$PKG_CONFIG" && \
15491 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 eina >= 1.6.99 eio >= 1.6.99\""; } >&5
15492 ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 eina >= 1.6.99 eio >= 1.6.99") 2>&5
15494 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15495 test $ac_status = 0; }; then
15496 pkg_cv_EDJE_WATCH_LIBS=`$PKG_CONFIG --libs "ecore >= 1.6.99 eina >= 1.6.99 eio >= 1.6.99" 2>/dev/null`
15506 if test $pkg_failed = yes; then
15507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15508 $as_echo "no" >&6; }
15510 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15511 _pkg_short_errors_supported=yes
15513 _pkg_short_errors_supported=no
15515 if test $_pkg_short_errors_supported = yes; then
15516 EDJE_WATCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.6.99 eina >= 1.6.99 eio >= 1.6.99" 2>&1`
15518 EDJE_WATCH_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.6.99 eina >= 1.6.99 eio >= 1.6.99" 2>&1`
15520 # Put the nasty error message in config.log where it belongs
15521 echo "$EDJE_WATCH_PKG_ERRORS" >&5
15523 have_edje_watch="no"
15524 elif test $pkg_failed = untried; then
15525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15526 $as_echo "no" >&6; }
15527 have_edje_watch="no"
15529 EDJE_WATCH_CFLAGS=$pkg_cv_EDJE_WATCH_CFLAGS
15530 EDJE_WATCH_LIBS=$pkg_cv_EDJE_WATCH_LIBS
15531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15532 $as_echo "yes" >&6; }
15533 have_edje_watch="yes"
15537 if test "x${have_edje_watch}" = "xyes"; then
15538 BUILD_EDJE_WATCH_TRUE=
15539 BUILD_EDJE_WATCH_FALSE='#'
15541 BUILD_EDJE_WATCH_TRUE='#'
15542 BUILD_EDJE_WATCH_FALSE=
15546 ### Checks for header files
15547 for ac_header in locale.h sys/resource.h
15549 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15550 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15551 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15552 cat >>confdefs.h <<_ACEOF
15553 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15565 ac_cpp='$CPP $CPPFLAGS'
15566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PATH_MAX in limits.h" >&5
15572 $as_echo_n "checking for PATH_MAX in limits.h... " >&6; }
15573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15574 /* end confdefs.h. */
15576 #include <limits.h>
15588 if ac_fn_c_try_compile "$LINENO"; then :
15589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15590 $as_echo "yes" >&6; }
15594 cat >>confdefs.h <<_ACEOF
15595 #define PATH_MAX ${default_max}
15598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no: using ${default_max}" >&5
15599 $as_echo "no: using ${default_max}" >&6; }
15602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15605 ac_cpp='$CPP $CPPFLAGS'
15606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15614 ### Checks for types
15617 ### Checks for structures
15620 ### Checks for compiler characteristics
15621 if test "x$CC" != xcc; then
15622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
15623 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
15625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
15626 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
15628 set dummy $CC; ac_cc=`$as_echo "$2" |
15629 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
15630 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
15631 $as_echo_n "(cached) " >&6
15633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15634 /* end confdefs.h. */
15644 # Make sure it works both with $CC and with simple cc.
15645 # We do the test twice because some compilers refuse to overwrite an
15646 # existing .o file with -o, though they will create one.
15647 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
15649 if { { case "(($ac_try" in
15650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15651 *) ac_try_echo=$ac_try;;
15653 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15654 $as_echo "$ac_try_echo"; } >&5
15655 (eval "$ac_try") 2>&5
15657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15658 test $ac_status = 0; } &&
15659 test -f conftest2.$ac_objext && { { case "(($ac_try" in
15660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15661 *) ac_try_echo=$ac_try;;
15663 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15664 $as_echo "$ac_try_echo"; } >&5
15665 (eval "$ac_try") 2>&5
15667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15668 test $ac_status = 0; };
15670 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
15671 if test "x$CC" != xcc; then
15672 # Test first that cc exists at all.
15673 if { ac_try='cc -c conftest.$ac_ext >&5'
15674 { { case "(($ac_try" in
15675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15676 *) ac_try_echo=$ac_try;;
15678 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15679 $as_echo "$ac_try_echo"; } >&5
15680 (eval "$ac_try") 2>&5
15682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15683 test $ac_status = 0; }; }; then
15684 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
15686 if { { case "(($ac_try" in
15687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15688 *) ac_try_echo=$ac_try;;
15690 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15691 $as_echo "$ac_try_echo"; } >&5
15692 (eval "$ac_try") 2>&5
15694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15695 test $ac_status = 0; } &&
15696 test -f conftest2.$ac_objext && { { case "(($ac_try" in
15697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15698 *) ac_try_echo=$ac_try;;
15700 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15701 $as_echo "$ac_try_echo"; } >&5
15702 (eval "$ac_try") 2>&5
15704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15705 test $ac_status = 0; };
15710 # cc exists but doesn't like -o.
15711 eval ac_cv_prog_cc_${ac_cc}_c_o=no
15716 eval ac_cv_prog_cc_${ac_cc}_c_o=no
15718 rm -f core conftest*
15721 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
15722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15723 $as_echo "yes" >&6; }
15725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15726 $as_echo "no" >&6; }
15728 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
15732 # FIXME: we rely on the cache variable name because
15733 # there is no other way.
15735 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
15736 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
15737 if test "$am_t" != yes; then
15738 # Losing compiler, so override with the script.
15739 # FIXME: It is wrong to rewrite CC.
15740 # But if we don't then we get into trouble of one sort or another.
15741 # A longer-term fix would be to have automake use am__CC in this case,
15742 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
15743 CC="$am_aux_dir/compile $CC"
15747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
15748 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
15749 if test "${ac_cv_c_const+set}" = set; then :
15750 $as_echo_n "(cached) " >&6
15752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15753 /* end confdefs.h. */
15758 /* FIXME: Include the comments suggested by Paul. */
15759 #ifndef __cplusplus
15760 /* Ultrix mips cc rejects this. */
15761 typedef int charset[2];
15763 /* SunOS 4.1.1 cc rejects this. */
15764 char const *const *pcpcc;
15766 /* NEC SVR4.0.2 mips cc rejects this. */
15767 struct point {int x, y;};
15768 static struct point const zero = {0,0};
15769 /* AIX XL C 1.02.0.0 rejects this.
15770 It does not let you subtract one const X* pointer from another in
15771 an arm of an if-expression whose if-part is not a constant
15773 const char *g = "string";
15774 pcpcc = &g + (g ? g-g : 0);
15775 /* HPUX 7.0 cc rejects these. */
15777 ppc = (char**) pcpcc;
15778 pcpcc = (char const *const *) ppc;
15779 { /* SCO 3.2v4 cc rejects this. */
15781 char const *s = 0 ? (char *) 0 : (char const *) 0;
15786 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15787 int x[] = {25, 17};
15788 const int *foo = &x[0];
15791 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15792 typedef const int *iptr;
15796 { /* AIX XL C 1.02.0.0 rejects this saying
15797 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15798 struct s { int j; const int *ap[3]; };
15799 struct s *b; b->j = 5;
15801 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15802 const int foo = 10;
15803 if (!foo) return 0;
15805 return !cs[0] && !zero.x;
15812 if ac_fn_c_try_compile "$LINENO"; then :
15817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
15820 $as_echo "$ac_cv_c_const" >&6; }
15821 if test $ac_cv_c_const = no; then
15823 $as_echo "#define const /**/" >>confdefs.h
15827 case $ac_cv_prog_cc_stdc in #(
15829 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
15831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
15832 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
15833 if test "${ac_cv_prog_cc_c99+set}" = set; then :
15834 $as_echo_n "(cached) " >&6
15836 ac_cv_prog_cc_c99=no
15838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15839 /* end confdefs.h. */
15840 #include <stdarg.h>
15841 #include <stdbool.h>
15842 #include <stdlib.h>
15846 // Check varargs macros. These examples are taken from C99 6.10.3.5.
15847 #define debug(...) fprintf (stderr, __VA_ARGS__)
15848 #define showlist(...) puts (#__VA_ARGS__)
15849 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
15851 test_varargs_macros (void)
15856 debug ("X = %d\n", x);
15857 showlist (The first, second, and third items.);
15858 report (x>y, "x is %d but y is %d", x, y);
15861 // Check long long types.
15862 #define BIG64 18446744073709551615ull
15863 #define BIG32 4294967295ul
15864 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
15866 your preprocessor is broken;
15870 your preprocessor is broken;
15872 static long long int bignum = -9223372036854775807LL;
15873 static unsigned long long int ubignum = BIG64;
15875 struct incomplete_array
15881 struct named_init {
15883 const wchar_t *name;
15887 typedef const char *ccp;
15890 test_restrict (ccp restrict text)
15892 // See if C++-style comments work.
15893 // Iterate through items via the restricted pointer.
15894 // Also check for declarations in for loops.
15895 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
15900 // Check varargs and va_copy.
15902 test_varargs (const char *format, ...)
15905 va_start (args, format);
15907 va_copy (args_copy, args);
15917 case 's': // string
15918 str = va_arg (args_copy, const char *);
15921 number = va_arg (args_copy, int);
15924 fnumber = va_arg (args_copy, double);
15930 va_end (args_copy);
15939 _Bool success = false;
15942 if (test_restrict ("String literal") == 0)
15944 char *restrict newvar = "Another string";
15947 test_varargs ("s, d' f .", "string", 65, 34.234);
15948 test_varargs_macros ();
15950 // Check flexible array members.
15951 struct incomplete_array *ia =
15952 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
15954 for (int i = 0; i < ia->datasize; ++i)
15955 ia->data[i] = i * 1.234;
15957 // Check named initializers.
15958 struct named_init ni = {
15960 .name = L"Test wide string",
15961 .average = 543.34343,
15966 int dynamic_array[ni.number];
15967 dynamic_array[ni.number - 1] = 543;
15969 // work around unused variable warnings
15970 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
15971 || dynamic_array[ni.number - 1] != 543);
15977 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
15979 CC="$ac_save_CC $ac_arg"
15980 if ac_fn_c_try_compile "$LINENO"; then :
15981 ac_cv_prog_cc_c99=$ac_arg
15983 rm -f core conftest.err conftest.$ac_objext
15984 test "x$ac_cv_prog_cc_c99" != "xno" && break
15986 rm -f conftest.$ac_ext
15991 case "x$ac_cv_prog_cc_c99" in
15993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
15994 $as_echo "none needed" >&6; } ;;
15996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
15997 $as_echo "unsupported" >&6; } ;;
15999 CC="$CC $ac_cv_prog_cc_c99"
16000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
16001 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
16003 if test "x$ac_cv_prog_cc_c99" != xno; then :
16004 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
16006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
16007 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
16008 if test "${ac_cv_prog_cc_c89+set}" = set; then :
16009 $as_echo_n "(cached) " >&6
16011 ac_cv_prog_cc_c89=no
16013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16014 /* end confdefs.h. */
16015 #include <stdarg.h>
16017 #include <sys/types.h>
16018 #include <sys/stat.h>
16019 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16020 struct buf { int x; };
16021 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16022 static char *e (p, i)
16028 static char *f (char * (*g) (char **, int), char **p, ...)
16033 s = g (p, va_arg (v,int));
16038 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16039 function prototypes and stuff, but not '\xHH' hex character constants.
16040 These don't provoke an error unfortunately, instead are silently treated
16041 as 'x'. The following induces an error, until -std is added to get
16042 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16043 array size at least. It's necessary to write '\x00'==0 to get something
16044 that's true only with -std. */
16045 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16047 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16048 inside strings and character constants. */
16050 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16052 int test (int i, double x);
16053 struct s1 {int (*f) (int a);};
16054 struct s2 {int (*f) (double a);};
16055 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16061 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16066 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16067 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16069 CC="$ac_save_CC $ac_arg"
16070 if ac_fn_c_try_compile "$LINENO"; then :
16071 ac_cv_prog_cc_c89=$ac_arg
16073 rm -f core conftest.err conftest.$ac_objext
16074 test "x$ac_cv_prog_cc_c89" != "xno" && break
16076 rm -f conftest.$ac_ext
16081 case "x$ac_cv_prog_cc_c89" in
16083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16084 $as_echo "none needed" >&6; } ;;
16086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16087 $as_echo "unsupported" >&6; } ;;
16089 CC="$CC $ac_cv_prog_cc_c89"
16090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
16091 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
16093 if test "x$ac_cv_prog_cc_c89" != xno; then :
16094 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
16096 ac_cv_prog_cc_stdc=no
16102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
16103 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
16104 if test "${ac_cv_prog_cc_stdc+set}" = set; then :
16105 $as_echo_n "(cached) " >&6
16108 case $ac_cv_prog_cc_stdc in #(
16110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16111 $as_echo "unsupported" >&6; } ;; #(
16113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16114 $as_echo "none needed" >&6; } ;; #(
16116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
16117 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
16120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
16121 $as_echo_n "checking for ANSI C header files... " >&6; }
16122 if test "${ac_cv_header_stdc+set}" = set; then :
16123 $as_echo_n "(cached) " >&6
16125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16126 /* end confdefs.h. */
16127 #include <stdlib.h>
16128 #include <stdarg.h>
16129 #include <string.h>
16140 if ac_fn_c_try_compile "$LINENO"; then :
16141 ac_cv_header_stdc=yes
16143 ac_cv_header_stdc=no
16145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16147 if test $ac_cv_header_stdc = yes; then
16148 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16150 /* end confdefs.h. */
16151 #include <string.h>
16154 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16155 $EGREP "memchr" >/dev/null 2>&1; then :
16158 ac_cv_header_stdc=no
16164 if test $ac_cv_header_stdc = yes; then
16165 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16167 /* end confdefs.h. */
16168 #include <stdlib.h>
16171 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16172 $EGREP "free" >/dev/null 2>&1; then :
16175 ac_cv_header_stdc=no
16181 if test $ac_cv_header_stdc = yes; then
16182 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16183 if test "$cross_compiling" = yes; then :
16186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16187 /* end confdefs.h. */
16189 #include <stdlib.h>
16190 #if ((' ' & 0x0FF) == 0x020)
16191 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16192 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16194 # define ISLOWER(c) \
16195 (('a' <= (c) && (c) <= 'i') \
16196 || ('j' <= (c) && (c) <= 'r') \
16197 || ('s' <= (c) && (c) <= 'z'))
16198 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16201 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16206 for (i = 0; i < 256; i++)
16207 if (XOR (islower (i), ISLOWER (i))
16208 || toupper (i) != TOUPPER (i))
16213 if ac_fn_c_try_run "$LINENO"; then :
16216 ac_cv_header_stdc=no
16218 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16219 conftest.$ac_objext conftest.beam conftest.$ac_ext
16224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
16225 $as_echo "$ac_cv_header_stdc" >&6; }
16226 if test $ac_cv_header_stdc = yes; then
16228 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
16234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
16235 $as_echo_n "checking for __attribute__... " >&6; }
16237 if test "${ac_cv___attribute__+set}" = set; then :
16238 $as_echo_n "(cached) " >&6
16240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16241 /* end confdefs.h. */
16243 #include <stdlib.h>
16246 int foo(int x __attribute__ ((unused)))
16259 if ac_fn_c_try_compile "$LINENO"; then :
16260 ac_cv___attribute__="yes"
16262 ac_cv___attribute__="no"
16265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
16270 $as_echo "$ac_cv___attribute__" >&6; }
16272 if test "x${ac_cv___attribute__}" = "xyes" ; then
16274 $as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
16277 $as_echo "#define __UNUSED__ __attribute__((unused))" >>confdefs.h
16281 $as_echo "#define __UNUSED__ /**/" >>confdefs.h
16289 EDJE_CFLAGS="${EDJE_CFLAGS} -D_WIN32_WCE=0x0420"
16294 ### Checks for linker characteristics
16296 lt_enable_auto_import=""
16299 lt_enable_auto_import="-Wl,--enable-auto-import"
16305 ### Checks for library functions
16307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
16308 $as_echo_n "checking for library containing strerror... " >&6; }
16309 if test "${ac_cv_search_strerror+set}" = set; then :
16310 $as_echo_n "(cached) " >&6
16312 ac_func_search_save_LIBS=$LIBS
16313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16314 /* end confdefs.h. */
16316 /* Override any GCC internal prototype to avoid an error.
16317 Use char because int might match the return type of a GCC
16318 builtin and then its argument prototype would still apply. */
16326 return strerror ();
16331 for ac_lib in '' cposix; do
16332 if test -z "$ac_lib"; then
16333 ac_res="none required"
16336 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16338 if ac_fn_c_try_link "$LINENO"; then :
16339 ac_cv_search_strerror=$ac_res
16341 rm -f core conftest.err conftest.$ac_objext \
16343 if test "${ac_cv_search_strerror+set}" = set; then :
16347 if test "${ac_cv_search_strerror+set}" = set; then :
16350 ac_cv_search_strerror=no
16352 rm conftest.$ac_ext
16353 LIBS=$ac_func_search_save_LIBS
16355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
16356 $as_echo "$ac_cv_search_strerror" >&6; }
16357 ac_res=$ac_cv_search_strerror
16358 if test "$ac_res" != no; then :
16359 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16364 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
16365 # for constant arguments. Useless!
16366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
16367 $as_echo_n "checking for working alloca.h... " >&6; }
16368 if test "${ac_cv_working_alloca_h+set}" = set; then :
16369 $as_echo_n "(cached) " >&6
16371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16372 /* end confdefs.h. */
16373 #include <alloca.h>
16377 char *p = (char *) alloca (2 * sizeof (int));
16383 if ac_fn_c_try_link "$LINENO"; then :
16384 ac_cv_working_alloca_h=yes
16386 ac_cv_working_alloca_h=no
16388 rm -f core conftest.err conftest.$ac_objext \
16389 conftest$ac_exeext conftest.$ac_ext
16391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
16392 $as_echo "$ac_cv_working_alloca_h" >&6; }
16393 if test $ac_cv_working_alloca_h = yes; then
16395 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
16399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
16400 $as_echo_n "checking for alloca... " >&6; }
16401 if test "${ac_cv_func_alloca_works+set}" = set; then :
16402 $as_echo_n "(cached) " >&6
16404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16405 /* end confdefs.h. */
16407 # define alloca __builtin_alloca
16410 # include <malloc.h>
16411 # define alloca _alloca
16413 # ifdef HAVE_ALLOCA_H
16414 # include <alloca.h>
16419 # ifndef alloca /* predefined by HP cc +Olibcalls */
16430 char *p = (char *) alloca (1);
16436 if ac_fn_c_try_link "$LINENO"; then :
16437 ac_cv_func_alloca_works=yes
16439 ac_cv_func_alloca_works=no
16441 rm -f core conftest.err conftest.$ac_objext \
16442 conftest$ac_exeext conftest.$ac_ext
16444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
16445 $as_echo "$ac_cv_func_alloca_works" >&6; }
16447 if test $ac_cv_func_alloca_works = yes; then
16449 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
16452 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
16453 # that cause trouble. Some versions do not even contain alloca or
16454 # contain a buggy version. If you still want to use their alloca,
16455 # use ar to extract alloca.o from them instead of compiling alloca.c.
16457 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
16459 $as_echo "#define C_ALLOCA 1" >>confdefs.h
16462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
16463 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
16464 if test "${ac_cv_os_cray+set}" = set; then :
16465 $as_echo_n "(cached) " >&6
16467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16468 /* end confdefs.h. */
16469 #if defined CRAY && ! defined CRAY2
16476 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16477 $EGREP "webecray" >/dev/null 2>&1; then :
16485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
16486 $as_echo "$ac_cv_os_cray" >&6; }
16487 if test $ac_cv_os_cray = yes; then
16488 for ac_func in _getb67 GETB67 getb67; do
16489 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16490 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16491 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16493 cat >>confdefs.h <<_ACEOF
16494 #define CRAY_STACKSEG_END $ac_func
16503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
16504 $as_echo_n "checking stack direction for C alloca... " >&6; }
16505 if test "${ac_cv_c_stack_direction+set}" = set; then :
16506 $as_echo_n "(cached) " >&6
16508 if test "$cross_compiling" = yes; then :
16509 ac_cv_c_stack_direction=0
16511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16512 /* end confdefs.h. */
16513 $ac_includes_default
16515 find_stack_direction ()
16517 static char *addr = 0;
16522 return find_stack_direction ();
16525 return (&dummy > addr) ? 1 : -1;
16531 return find_stack_direction () < 0;
16534 if ac_fn_c_try_run "$LINENO"; then :
16535 ac_cv_c_stack_direction=1
16537 ac_cv_c_stack_direction=-1
16539 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16540 conftest.$ac_objext conftest.beam conftest.$ac_ext
16544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
16545 $as_echo "$ac_cv_c_stack_direction" >&6; }
16546 cat >>confdefs.h <<_ACEOF
16547 #define STACK_DIRECTION $ac_cv_c_stack_direction
16557 $as_echo "#define HAVE_REALPATH 1" >>confdefs.h
16561 for ac_func in realpath
16563 ac_fn_c_check_func "$LINENO" "realpath" "ac_cv_func_realpath"
16564 if test "x$ac_cv_func_realpath" = x""yes; then :
16565 cat >>confdefs.h <<_ACEOF
16566 #define HAVE_REALPATH 1
16575 ### Unit tests, coverage and benchmarking
16580 # Check whether --enable-tests was given.
16581 if test "${enable_tests+set}" = set; then :
16582 enableval=$enable_tests;
16583 if test "x${enableval}" = "xyes" ; then
16584 _efl_enable_tests="yes"
16586 _efl_enable_tests="no"
16590 _efl_enable_tests="no"
16594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tests are built" >&5
16595 $as_echo_n "checking whether tests are built... " >&6; }
16596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_tests}" >&5
16597 $as_echo "${_efl_enable_tests}" >&6; }
16601 if test "x${_efl_enable_tests}" = "xyes" ; then
16604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
16605 $as_echo_n "checking for CHECK... " >&6; }
16607 if test -n "$CHECK_CFLAGS"; then
16608 pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
16609 elif test -n "$PKG_CONFIG"; then
16610 if test -n "$PKG_CONFIG" && \
16611 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
16612 ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
16614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16615 test $ac_status = 0; }; then
16616 pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.5" 2>/dev/null`
16623 if test -n "$CHECK_LIBS"; then
16624 pkg_cv_CHECK_LIBS="$CHECK_LIBS"
16625 elif test -n "$PKG_CONFIG"; then
16626 if test -n "$PKG_CONFIG" && \
16627 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
16628 ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
16630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16631 test $ac_status = 0; }; then
16632 pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.5" 2>/dev/null`
16642 if test $pkg_failed = yes; then
16643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16644 $as_echo "no" >&6; }
16646 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16647 _pkg_short_errors_supported=yes
16649 _pkg_short_errors_supported=no
16651 if test $_pkg_short_errors_supported = yes; then
16652 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "check >= 0.9.5" 2>&1`
16654 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors "check >= 0.9.5" 2>&1`
16656 # Put the nasty error message in config.log where it belongs
16657 echo "$CHECK_PKG_ERRORS" >&5
16659 _efl_enable_tests="no"
16660 elif test $pkg_failed = untried; then
16661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16662 $as_echo "no" >&6; }
16663 _efl_enable_tests="no"
16665 CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
16666 CHECK_LIBS=$pkg_cv_CHECK_LIBS
16667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16668 $as_echo "yes" >&6; }
16673 if test "x${_efl_enable_tests}" = "xyes"; then
16674 EFL_ENABLE_TESTS_TRUE=
16675 EFL_ENABLE_TESTS_FALSE='#'
16677 EFL_ENABLE_TESTS_TRUE='#'
16678 EFL_ENABLE_TESTS_FALSE=
16682 if test "x$_efl_enable_tests" = "xyes"; then :
16692 # Check whether --enable-coverage was given.
16693 if test "${enable_coverage+set}" = set; then :
16694 enableval=$enable_coverage;
16695 if test "x${enableval}" = "xyes" ; then
16696 _efl_enable_coverage="yes"
16698 _efl_enable_coverage="no"
16702 _efl_enable_coverage="no"
16706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use profiling instrumentation" >&5
16707 $as_echo_n "checking whether to use profiling instrumentation... " >&6; }
16708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_efl_enable_coverage" >&5
16709 $as_echo "$_efl_enable_coverage" >&6; }
16712 if test "x$_efl_enable_coverage" = "xyes" && test ! "x${enable_tests}" = "xyes" ; then
16713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Coverage report requested but tests not being built, disable profiling instrumentation." >&5
16714 $as_echo "$as_me: WARNING: Coverage report requested but tests not being built, disable profiling instrumentation." >&2;}
16715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Run configure with --enable-tests" >&5
16716 $as_echo "$as_me: WARNING: Run configure with --enable-tests" >&2;}
16717 _efl_enable_coverage="no"
16720 if test "x$_efl_enable_coverage" = "xyes" ; then
16721 # Extract the first word of "lcov", so it can be a program name with args.
16722 set dummy lcov; ac_word=$2
16723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16724 $as_echo_n "checking for $ac_word... " >&6; }
16725 if test "${ac_cv_prog_have_lcov+set}" = set; then :
16726 $as_echo_n "(cached) " >&6
16728 if test -n "$have_lcov"; then
16729 ac_cv_prog_have_lcov="$have_lcov" # Let the user override the test.
16731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16732 for as_dir in $PATH
16735 test -z "$as_dir" && as_dir=.
16736 for ac_exec_ext in '' $ac_executable_extensions; do
16737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16738 ac_cv_prog_have_lcov="yes"
16739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16746 test -z "$ac_cv_prog_have_lcov" && ac_cv_prog_have_lcov="no"
16749 have_lcov=$ac_cv_prog_have_lcov
16750 if test -n "$have_lcov"; then
16751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_lcov" >&5
16752 $as_echo "$have_lcov" >&6; }
16754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16755 $as_echo "no" >&6; }
16759 if test "x$have_lcov" = "xyes" ; then
16760 EFL_COVERAGE_CFLAGS="-fprofile-arcs -ftest-coverage"
16761 EFL_COVERAGE_LIBS="-lgcov"
16762 # remove any optimisation flag and force debug symbols
16763 EFL_DEBUG_CFLAGS="-g -O0 -DDEBUG"
16765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: lcov is not found, disable profiling instrumentation" >&5
16766 $as_echo "$as_me: WARNING: lcov is not found, disable profiling instrumentation" >&2;}
16767 _efl_enable_coverage="no"
16774 if test "x${_efl_enable_coverage}" = "xyes"; then
16775 EFL_ENABLE_COVERAGE_TRUE=
16776 EFL_ENABLE_COVERAGE_FALSE='#'
16778 EFL_ENABLE_COVERAGE_TRUE='#'
16779 EFL_ENABLE_COVERAGE_FALSE=
16783 if test "x$_efl_enable_coverage" = "xyes"; then :
16784 enable_coverage="yes"
16786 enable_coverage="no"
16789 EDJE_CFLAGS="${EDJE_CFLAGS} ${EFL_COVERAGE_CFLAGS}"
16790 EDJE_LIBS="${EDJE_LIBS} ${EFL_COVERAGE_LIBS}"
16791 if test "x$enable_coverage" = "xyes" ; then
16792 EDJE_CFLAGS="${EDJE_CFLAGS} ${EFL_DEBUG_CFLAGS}"
16797 build_examples="no"
16798 # Check whether --enable-build-examples was given.
16799 if test "${enable_build_examples+set}" = set; then :
16800 enableval=$enable_build_examples;
16801 if test "x${enableval}" = "xyes" ; then
16802 build_examples="yes"
16804 build_examples="no"
16808 build_examples="no"
16811 if test "x${build_examples}" = "xyes"; then
16812 BUILD_EXAMPLES_TRUE=
16813 BUILD_EXAMPLES_FALSE='#'
16815 BUILD_EXAMPLES_TRUE='#'
16816 BUILD_EXAMPLES_FALSE=
16822 ac_config_files="$ac_config_files edje.pc edje.spec Makefile data/Makefile data/include/Makefile doc/Makefile doc/Doxyfile src/Makefile src/lib/Makefile src/bin/Makefile src/bin/epp/Makefile src/modules/Makefile src/modules/alsa_snd_player/Makefile src/modules/eet_snd_reader/Makefile src/modules/multisense_factory/Makefile src/tests/Makefile utils/Makefile src/examples/Makefile"
16824 cat >confcache <<\_ACEOF
16825 # This file is a shell script that caches the results of configure
16826 # tests run on this system so they can be shared between configure
16827 # scripts and configure runs, see configure's option --config-cache.
16828 # It is not useful on other systems. If it contains results you don't
16829 # want to keep, you may remove or edit it.
16831 # config.status only pays attention to the cache file if you give it
16832 # the --recheck option to rerun configure.
16834 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16835 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16836 # following values.
16840 # The following way of writing the cache mishandles newlines in values,
16841 # but we know of no workaround that is simple, portable, and efficient.
16842 # So, we kill variables containing newlines.
16843 # Ultrix sh set writes to stderr and can't be redirected directly,
16844 # and sets the high bit in the cache file unless we assign to the vars.
16846 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16847 eval ac_val=\$$ac_var
16851 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16852 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16855 _ | IFS | as_nl) ;; #(
16856 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16857 *) { eval $ac_var=; unset $ac_var;} ;;
16863 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16864 *${as_nl}ac_space=\ *)
16865 # `set' does not quote correctly, so add quotes: double-quote
16866 # substitution turns \\\\ into \\, and sed turns \\ into \.
16869 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16872 # `set' quotes correctly as required by POSIX, so do not add quotes.
16873 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16882 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16884 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16886 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16887 if test -w "$cache_file"; then
16888 test "x$cache_file" != "x/dev/null" &&
16889 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16890 $as_echo "$as_me: updating cache $cache_file" >&6;}
16891 cat confcache >$cache_file
16893 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16894 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16899 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16900 # Let make expand exec_prefix.
16901 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16903 DEFS=-DHAVE_CONFIG_H
16908 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16909 # 1. Remove the extension, and $U if already installed.
16910 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16911 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16912 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16913 # will be set to the directory where LIBOBJS objects are built.
16914 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16915 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16917 LIBOBJS=$ac_libobjs
16919 LTLIBOBJS=$ac_ltlibobjs
16922 if test -n "$EXEEXT"; then
16924 am__EXEEXT_FALSE='#'
16926 am__EXEEXT_TRUE='#'
16930 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16931 as_fn_error $? "conditional \"AMDEP\" was never defined.
16932 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16934 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16935 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16936 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16938 if test -z "${EDJE_AMALGAMATION_TRUE}" && test -z "${EDJE_AMALGAMATION_FALSE}"; then
16939 as_fn_error $? "conditional \"EDJE_AMALGAMATION\" was never defined.
16940 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16942 if test -z "${BUILD_EDJE_CC_TRUE}" && test -z "${BUILD_EDJE_CC_FALSE}"; then
16943 as_fn_error $? "conditional \"BUILD_EDJE_CC\" was never defined.
16944 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16946 if test -z "${BUILD_EDJE_DECC_TRUE}" && test -z "${BUILD_EDJE_DECC_FALSE}"; then
16947 as_fn_error $? "conditional \"BUILD_EDJE_DECC\" was never defined.
16948 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16950 if test -z "${BUILD_EDJE_RECC_TRUE}" && test -z "${BUILD_EDJE_RECC_FALSE}"; then
16951 as_fn_error $? "conditional \"BUILD_EDJE_RECC\" was never defined.
16952 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16954 if test -z "${BUILD_EDJE_PLAYER_TRUE}" && test -z "${BUILD_EDJE_PLAYER_FALSE}"; then
16955 as_fn_error $? "conditional \"BUILD_EDJE_PLAYER\" was never defined.
16956 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16958 if test -z "${BUILD_EDJE_INSPECTOR_TRUE}" && test -z "${BUILD_EDJE_INSPECTOR_FALSE}"; then
16959 as_fn_error $? "conditional \"BUILD_EDJE_INSPECTOR\" was never defined.
16960 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16962 if test -z "${BUILD_EDJE_EXTERNAL_INSPECTOR_TRUE}" && test -z "${BUILD_EDJE_EXTERNAL_INSPECTOR_FALSE}"; then
16963 as_fn_error $? "conditional \"BUILD_EDJE_EXTERNAL_INSPECTOR\" was never defined.
16964 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16966 if test -z "${BUILD_EDJE_WATCH_TRUE}" && test -z "${BUILD_EDJE_WATCH_FALSE}"; then
16967 as_fn_error $? "conditional \"BUILD_EDJE_WATCH\" was never defined.
16968 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16970 if test -z "${EDJE_PROGRAM_CACHE_TRUE}" && test -z "${EDJE_PROGRAM_CACHE_FALSE}"; then
16971 as_fn_error $? "conditional \"EDJE_PROGRAM_CACHE\" was never defined.
16972 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16974 if test -z "${EDJE_CALC_CACHE_TRUE}" && test -z "${EDJE_CALC_CACHE_FALSE}"; then
16975 as_fn_error $? "conditional \"EDJE_CALC_CACHE\" was never defined.
16976 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16978 if test -z "${BUILD_EDJE_FP_TRUE}" && test -z "${BUILD_EDJE_FP_FALSE}"; then
16979 as_fn_error $? "conditional \"BUILD_EDJE_FP\" was never defined.
16980 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16982 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16983 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16984 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16986 if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
16987 as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
16988 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16990 if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then
16991 as_fn_error $? "conditional \"HAVE_PYTHON\" was never defined.
16992 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16994 if test -z "${ENABLE_MULTISENSE_TRUE}" && test -z "${ENABLE_MULTISENSE_FALSE}"; then
16995 as_fn_error $? "conditional \"ENABLE_MULTISENSE\" was never defined.
16996 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16998 if test -z "${HAVE_LIBSNDFILE_TRUE}" && test -z "${HAVE_LIBSNDFILE_FALSE}"; then
16999 as_fn_error $? "conditional \"HAVE_LIBSNDFILE\" was never defined.
17000 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17002 if test -z "${HAVE_LIBREMIX_TRUE}" && test -z "${HAVE_LIBREMIX_FALSE}"; then
17003 as_fn_error $? "conditional \"HAVE_LIBREMIX\" was never defined.
17004 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17006 if test -z "${HAVE_LIBALSA_TRUE}" && test -z "${HAVE_LIBALSA_FALSE}"; then
17007 as_fn_error $? "conditional \"HAVE_LIBALSA\" was never defined.
17008 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17010 if test -z "${BUILD_EPP_TRUE}" && test -z "${BUILD_EPP_FALSE}"; then
17011 as_fn_error $? "conditional \"BUILD_EPP\" was never defined.
17012 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17014 if test -z "${BUILD_EDJE_WATCH_TRUE}" && test -z "${BUILD_EDJE_WATCH_FALSE}"; then
17015 as_fn_error $? "conditional \"BUILD_EDJE_WATCH\" was never defined.
17016 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17018 if test -z "${EFL_ENABLE_TESTS_TRUE}" && test -z "${EFL_ENABLE_TESTS_FALSE}"; then
17019 as_fn_error $? "conditional \"EFL_ENABLE_TESTS\" was never defined.
17020 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17022 if test -z "${EFL_ENABLE_COVERAGE_TRUE}" && test -z "${EFL_ENABLE_COVERAGE_FALSE}"; then
17023 as_fn_error $? "conditional \"EFL_ENABLE_COVERAGE\" was never defined.
17024 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17026 if test -z "${BUILD_EXAMPLES_TRUE}" && test -z "${BUILD_EXAMPLES_FALSE}"; then
17027 as_fn_error $? "conditional \"BUILD_EXAMPLES\" was never defined.
17028 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17031 : ${CONFIG_STATUS=./config.status}
17033 ac_clean_files_save=$ac_clean_files
17034 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17035 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17036 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17038 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17040 # Generated by $as_me.
17041 # Run this file to recreate the current configuration.
17042 # Compiler output produced by configure, useful for debugging
17043 # configure, is in config.log if it exists.
17046 ac_cs_recheck=false
17049 SHELL=\${CONFIG_SHELL-$SHELL}
17052 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17053 ## -------------------- ##
17054 ## M4sh Initialization. ##
17055 ## -------------------- ##
17057 # Be more Bourne compatible
17058 DUALCASE=1; export DUALCASE # for MKS sh
17059 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17062 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17063 # is contrary to our usage. Disable this feature.
17064 alias -g '${1+"$@"}'='"$@"'
17065 setopt NO_GLOB_SUBST
17067 case `(set -o) 2>/dev/null` in #(
17079 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17080 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17081 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17082 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17083 # Prefer a ksh shell builtin over an external printf program on Solaris,
17084 # but without wasting forks for bash or zsh.
17085 if test -z "$BASH_VERSION$ZSH_VERSION" \
17086 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17087 as_echo='print -r --'
17088 as_echo_n='print -rn --'
17089 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17090 as_echo='printf %s\n'
17091 as_echo_n='printf %s'
17093 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17094 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17095 as_echo_n='/usr/ucb/echo -n'
17097 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17098 as_echo_n_body='eval
17102 expr "X$arg" : "X\\(.*\\)$as_nl";
17103 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17105 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17107 export as_echo_n_body
17108 as_echo_n='sh -c $as_echo_n_body as_echo'
17110 export as_echo_body
17111 as_echo='sh -c $as_echo_body as_echo'
17114 # The user is always right.
17115 if test "${PATH_SEPARATOR+set}" != set; then
17117 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17118 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17125 # We need space, tab and new line, in precisely that order. Quoting is
17126 # there to prevent editors from complaining about space-tab.
17127 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17128 # splitting by setting IFS to empty value.)
17131 # Find who we are. Look in the path if we contain no directory separator.
17133 *[\\/]* ) as_myself=$0 ;;
17134 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17135 for as_dir in $PATH
17138 test -z "$as_dir" && as_dir=.
17139 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17145 # We did not find ourselves, most probably we were run as `sh COMMAND'
17146 # in which case we are not to be found in the path.
17147 if test "x$as_myself" = x; then
17150 if test ! -f "$as_myself"; then
17151 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17155 # Unset variables that we do not need and which cause bugs (e.g. in
17156 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17157 # suppresses any "Segmentation fault" message there. '((' could
17158 # trigger a bug in pdksh 5.2.14.
17159 for as_var in BASH_ENV ENV MAIL MAILPATH
17160 do eval test x\${$as_var+set} = xset \
17161 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17174 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17177 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17178 # ----------------------------------------
17179 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17180 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17181 # script with STATUS, using 1 if that was 0.
17184 as_status=$1; test $as_status -eq 0 && as_status=1
17186 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17187 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17189 $as_echo "$as_me: error: $2" >&2
17190 as_fn_exit $as_status
17194 # as_fn_set_status STATUS
17195 # -----------------------
17196 # Set $? to STATUS, without forking.
17197 as_fn_set_status ()
17200 } # as_fn_set_status
17202 # as_fn_exit STATUS
17203 # -----------------
17204 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17208 as_fn_set_status $1
17214 # Portably unset VAR.
17217 { eval $1=; unset $1;}
17219 as_unset=as_fn_unset
17220 # as_fn_append VAR VALUE
17221 # ----------------------
17222 # Append the text in VALUE to the end of the definition contained in VAR. Take
17223 # advantage of any shell optimizations that allow amortized linear growth over
17224 # repeated appends, instead of the typical quadratic growth present in naive
17226 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17227 eval 'as_fn_append ()
17238 # as_fn_arith ARG...
17239 # ------------------
17240 # Perform arithmetic evaluation on the ARGs, and store the result in the
17241 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17242 # must be portable across $(()) and expr.
17243 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17244 eval 'as_fn_arith ()
17251 as_val=`expr "$@" || test $? -eq 1`
17256 if expr a : '\(a\)' >/dev/null 2>&1 &&
17257 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17263 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17264 as_basename=basename
17269 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17275 as_me=`$as_basename -- "$0" ||
17276 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17277 X"$0" : 'X\(//\)$' \| \
17278 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17280 sed '/^.*\/\([^/][^/]*\)\/*$/{
17294 # Avoid depending upon Character Ranges.
17295 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17296 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17297 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17298 as_cr_digits='0123456789'
17299 as_cr_alnum=$as_cr_Letters$as_cr_digits
17301 ECHO_C= ECHO_N= ECHO_T=
17302 case `echo -n x` in #(((((
17304 case `echo 'xy\c'` in
17305 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17307 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17314 rm -f conf$$ conf$$.exe conf$$.file
17315 if test -d conf$$.dir; then
17316 rm -f conf$$.dir/conf$$.file
17319 mkdir conf$$.dir 2>/dev/null
17321 if (echo >conf$$.file) 2>/dev/null; then
17322 if ln -s conf$$.file conf$$ 2>/dev/null; then
17324 # ... but there are two gotchas:
17325 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17326 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17327 # In both cases, we have to default to `cp -p'.
17328 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17330 elif ln conf$$.file conf$$ 2>/dev/null; then
17338 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17339 rmdir conf$$.dir 2>/dev/null
17344 # Create "$as_dir" as a directory, including parents if necessary.
17349 -*) as_dir=./$as_dir;;
17351 test -d "$as_dir" || eval $as_mkdir_p || {
17355 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17356 *) as_qdir=$as_dir;;
17358 as_dirs="'$as_qdir' $as_dirs"
17359 as_dir=`$as_dirname -- "$as_dir" ||
17360 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17361 X"$as_dir" : 'X\(//\)[^/]' \| \
17362 X"$as_dir" : 'X\(//\)$' \| \
17363 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17364 $as_echo X"$as_dir" |
17365 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17369 /^X\(\/\/\)[^/].*/{
17382 test -d "$as_dir" && break
17384 test -z "$as_dirs" || eval "mkdir $as_dirs"
17385 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17389 if mkdir -p . 2>/dev/null; then
17390 as_mkdir_p='mkdir -p "$as_dir"'
17392 test -d ./-p && rmdir ./-p
17396 if test -x / >/dev/null 2>&1; then
17397 as_test_x='test -x'
17399 if ls -dL / >/dev/null 2>&1; then
17406 if test -d "$1"; then
17412 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
17413 ???[sx]*):;;*)false;;esac;fi
17417 as_executable_p=$as_test_x
17419 # Sed expression to map a string onto a valid CPP name.
17420 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17422 # Sed expression to map a string onto a valid variable name.
17423 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17427 ## ----------------------------------- ##
17428 ## Main body of $CONFIG_STATUS script. ##
17429 ## ----------------------------------- ##
17431 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17433 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17434 # Save the log message, to keep $0 and so on meaningful, and to
17435 # report actual input values of CONFIG_FILES etc. instead of their
17436 # values after options handling.
17438 This file was extended by edje $as_me 1.7.1, which was
17439 generated by GNU Autoconf 2.67. Invocation command line was
17441 CONFIG_FILES = $CONFIG_FILES
17442 CONFIG_HEADERS = $CONFIG_HEADERS
17443 CONFIG_LINKS = $CONFIG_LINKS
17444 CONFIG_COMMANDS = $CONFIG_COMMANDS
17447 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17452 case $ac_config_files in *"
17453 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17456 case $ac_config_headers in *"
17457 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17461 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17462 # Files that config.status was made for.
17463 config_files="$ac_config_files"
17464 config_headers="$ac_config_headers"
17465 config_commands="$ac_config_commands"
17469 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17471 \`$as_me' instantiates files and other configuration actions
17472 from templates according to the current configuration. Unless the files
17473 and actions are specified as TAGs, all are instantiated by default.
17475 Usage: $0 [OPTION]... [TAG]...
17477 -h, --help print this help, then exit
17478 -V, --version print version number and configuration settings, then exit
17479 --config print configuration, then exit
17480 -q, --quiet, --silent
17481 do not print progress messages
17482 -d, --debug don't remove temporary files
17483 --recheck update $as_me by reconfiguring in the same conditions
17484 --file=FILE[:TEMPLATE]
17485 instantiate the configuration file FILE
17486 --header=FILE[:TEMPLATE]
17487 instantiate the configuration header FILE
17489 Configuration files:
17492 Configuration headers:
17495 Configuration commands:
17498 Report bugs to <enlightenment-devel@lists.sourceforge.net>."
17501 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17502 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17504 edje config.status 1.7.1
17505 configured by $0, generated by GNU Autoconf 2.67,
17506 with options \\"\$ac_cs_config\\"
17508 Copyright (C) 2010 Free Software Foundation, Inc.
17509 This config.status script is free software; the Free Software Foundation
17510 gives unlimited permission to copy, distribute and modify it."
17517 test -n "\$AWK" || AWK=awk
17520 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17521 # The default lists apply if the user does not specify any file.
17527 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17528 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17532 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17544 # Handling of the options.
17545 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17547 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17548 $as_echo "$ac_cs_version"; exit ;;
17549 --config | --confi | --conf | --con | --co | --c )
17550 $as_echo "$ac_cs_config"; exit ;;
17551 --debug | --debu | --deb | --de | --d | -d )
17553 --file | --fil | --fi | --f )
17556 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17557 '') as_fn_error $? "missing file argument" ;;
17559 as_fn_append CONFIG_FILES " '$ac_optarg'"
17560 ac_need_defaults=false;;
17561 --header | --heade | --head | --hea )
17564 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17566 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17567 ac_need_defaults=false;;
17569 # Conflict between --help and --header
17570 as_fn_error $? "ambiguous option: \`$1'
17571 Try \`$0 --help' for more information.";;
17572 --help | --hel | -h )
17573 $as_echo "$ac_cs_usage"; exit ;;
17574 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17575 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17578 # This is an error.
17579 -*) as_fn_error $? "unrecognized option: \`$1'
17580 Try \`$0 --help' for more information." ;;
17582 *) as_fn_append ac_config_targets " $1"
17583 ac_need_defaults=false ;;
17589 ac_configure_extra_args=
17591 if $ac_cs_silent; then
17593 ac_configure_extra_args="$ac_configure_extra_args --silent"
17597 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17598 if \$ac_cs_recheck; then
17599 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17601 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17602 CONFIG_SHELL='$SHELL'
17603 export CONFIG_SHELL
17608 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17612 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17613 ## Running $as_me. ##
17619 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17623 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17626 # The HP-UX ksh and POSIX shell print the target directory to stdout
17627 # if CDPATH is set.
17628 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17630 sed_quote_subst='$sed_quote_subst'
17631 double_quote_subst='$double_quote_subst'
17632 delay_variable_subst='$delay_variable_subst'
17633 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
17634 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
17635 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
17636 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
17637 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
17638 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
17639 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
17640 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
17641 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
17642 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
17643 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
17644 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
17645 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
17646 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
17647 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
17648 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
17649 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
17650 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
17651 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
17652 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
17653 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
17654 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
17655 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
17656 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
17657 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
17658 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
17659 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
17660 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
17661 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
17662 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
17663 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17664 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
17665 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
17666 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
17667 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17668 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
17669 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
17670 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17671 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17672 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17673 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
17674 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17675 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
17676 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
17677 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
17678 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
17679 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"`'
17680 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"`'
17681 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
17682 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
17683 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
17684 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
17685 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
17686 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
17687 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
17688 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
17689 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
17690 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
17691 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
17692 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
17693 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
17694 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
17695 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
17696 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
17697 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17698 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17699 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
17700 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
17701 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17702 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17703 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
17704 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17705 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17706 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17707 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17708 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17709 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17710 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
17711 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17712 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17713 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17714 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
17715 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
17716 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
17717 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
17718 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
17719 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17720 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
17721 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
17722 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
17723 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
17724 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
17725 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17726 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17727 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17728 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17729 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
17730 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
17731 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
17732 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
17733 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
17734 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17735 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17736 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
17737 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17738 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
17739 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17740 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17741 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17742 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17743 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
17744 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
17745 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17746 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17747 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
17748 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
17749 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
17750 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
17751 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
17752 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
17755 LTCFLAGS='$LTCFLAGS'
17756 compiler='$compiler_DEFAULT'
17758 # Quote evaled strings.
17769 deplibs_check_method \
17778 lt_cv_sys_global_symbol_pipe \
17779 lt_cv_sys_global_symbol_to_cdecl \
17780 lt_cv_sys_global_symbol_to_c_name_address \
17781 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17784 lt_prog_compiler_no_builtin_flag \
17785 lt_prog_compiler_wl \
17786 lt_prog_compiler_pic \
17787 lt_prog_compiler_static \
17788 lt_cv_prog_compiler_c_o \
17796 export_dynamic_flag_spec \
17797 whole_archive_flag_spec \
17798 compiler_needs_object \
17800 allow_undefined_flag \
17801 no_undefined_flag \
17802 hardcode_libdir_flag_spec \
17803 hardcode_libdir_flag_spec_ld \
17804 hardcode_libdir_separator \
17809 variables_saved_for_relink \
17811 library_names_spec \
17816 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17817 *[\\\\\\\`\\"\\\$]*)
17818 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17821 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17826 # Double-quote double-evaled strings.
17827 for var in reload_cmds \
17828 old_postinstall_cmds \
17829 old_postuninstall_cmds \
17831 extract_expsyms_cmds \
17832 old_archive_from_new_cmds \
17833 old_archive_from_expsyms_cmds \
17835 archive_expsym_cmds \
17837 module_expsym_cmds \
17838 export_symbols_cmds \
17841 postuninstall_cmds \
17843 sys_lib_search_path_spec \
17844 sys_lib_dlsearch_path_spec; do
17845 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17846 *[\\\\\\\`\\"\\\$]*)
17847 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17850 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17855 # Fix-up fallback echo if it was mangled by the above quoting rules.
17857 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
17861 ac_aux_dir='$ac_aux_dir'
17862 xsi_shell='$xsi_shell'
17863 lt_shell_append='$lt_shell_append'
17865 # See if we are running on zsh, and set the options which allow our
17866 # commands through without removal of \ escapes INIT.
17867 if test -n "\${ZSH_VERSION+set}" ; then
17868 setopt NO_GLOB_SUBST
17874 TIMESTAMP='$TIMESTAMP'
17883 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17885 # Handling of arguments.
17886 for ac_config_target in $ac_config_targets
17888 case $ac_config_target in
17889 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17890 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17891 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17892 "edje.pc") CONFIG_FILES="$CONFIG_FILES edje.pc" ;;
17893 "edje.spec") CONFIG_FILES="$CONFIG_FILES edje.spec" ;;
17894 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17895 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
17896 "data/include/Makefile") CONFIG_FILES="$CONFIG_FILES data/include/Makefile" ;;
17897 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
17898 "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
17899 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
17900 "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
17901 "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
17902 "src/bin/epp/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/epp/Makefile" ;;
17903 "src/modules/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/Makefile" ;;
17904 "src/modules/alsa_snd_player/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/alsa_snd_player/Makefile" ;;
17905 "src/modules/eet_snd_reader/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/eet_snd_reader/Makefile" ;;
17906 "src/modules/multisense_factory/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/multisense_factory/Makefile" ;;
17907 "src/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/Makefile" ;;
17908 "utils/Makefile") CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;;
17909 "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;;
17911 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
17916 # If the user did not use the arguments to specify the items to instantiate,
17917 # then the envvar interface is used. Set only those that are not.
17918 # We use the long form for the default assignment because of an extremely
17919 # bizarre bug on SunOS 4.1.3.
17920 if $ac_need_defaults; then
17921 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17922 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17923 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17926 # Have a temporary directory for convenience. Make it in the build tree
17927 # simply because there is no reason against having it here, and in addition,
17928 # creating and moving files from /tmp can sometimes cause problems.
17929 # Hook for its removal unless debugging.
17930 # Note that there is a small window in which the directory will not be cleaned:
17931 # after its creation but before its name has been assigned to `$tmp'.
17935 trap 'exit_status=$?
17936 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
17938 trap 'as_fn_exit 1' 1 2 13 15
17940 # Create a (secure) tmp directory for tmp files.
17943 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17944 test -n "$tmp" && test -d "$tmp"
17947 tmp=./conf$$-$RANDOM
17948 (umask 077 && mkdir "$tmp")
17949 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17951 # Set up the scripts for CONFIG_FILES section.
17952 # No need to generate them if there are no CONFIG_FILES.
17953 # This happens for instance with `./config.status config.h'.
17954 if test -n "$CONFIG_FILES"; then
17957 ac_cr=`echo X | tr X '\015'`
17958 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17959 # But we know of no other shell where ac_cr would be empty at this
17960 # point, so we can use a bashism as a fallback.
17961 if test "x$ac_cr" = x; then
17962 eval ac_cr=\$\'\\r\'
17964 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17965 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17968 ac_cs_awk_cr=$ac_cr
17971 echo 'BEGIN {' >"$tmp/subs1.awk" &&
17976 echo "cat >conf$$subs.awk <<_ACEOF" &&
17977 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17979 } >conf$$subs.sh ||
17980 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17981 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17983 for ac_last_try in false false false false false :; do
17984 . ./conf$$subs.sh ||
17985 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17987 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17988 if test $ac_delim_n = $ac_delim_num; then
17990 elif $ac_last_try; then
17991 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17993 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17996 rm -f conf$$subs.sh
17998 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17999 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
18003 s/^/S["/; s/!.*/"]=/
18013 s/\(.\{148\}\)..*/\1/
18015 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18020 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18027 s/\(.\{148\}\)..*/\1/
18029 s/["\\]/\\&/g; s/^/"/; s/$/"/
18033 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18038 ' <conf$$subs.awk | sed '
18043 ' >>$CONFIG_STATUS || ac_write_fail=1
18044 rm -f conf$$subs.awk
18045 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18047 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
18048 for (key in S) S_is_set[key] = 1
18054 nfields = split(line, field, "@")
18056 len = length(field[1])
18057 for (i = 2; i < nfields; i++) {
18059 keylen = length(key)
18060 if (S_is_set[key]) {
18062 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18063 len += length(value) + length(field[++i])
18074 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18075 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18076 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18079 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
18080 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18083 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18084 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18085 # trailing colons and then remove the whole line if VPATH becomes empty
18086 # (actually we leave an empty line to preserve line numbers).
18087 if test "x$srcdir" = x.; then
18088 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18106 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18107 fi # test -n "$CONFIG_FILES"
18109 # Set up the scripts for CONFIG_HEADERS section.
18110 # No need to generate them if there are no CONFIG_HEADERS.
18111 # This happens for instance with `./config.status Makefile'.
18112 if test -n "$CONFIG_HEADERS"; then
18113 cat >"$tmp/defines.awk" <<\_ACAWK ||
18117 # Transform confdefs.h into an awk script `defines.awk', embedded as
18118 # here-document in config.status, that substitutes the proper values into
18119 # config.h.in to produce config.h.
18121 # Create a delimiter string that does not exist in confdefs.h, to ease
18122 # handling of long lines.
18124 for ac_last_try in false false :; do
18125 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
18126 if test -z "$ac_t"; then
18128 elif $ac_last_try; then
18129 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18131 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18135 # For the awk script, D is an array of macro values keyed by name,
18136 # likewise P contains macro parameters if any. Preserve backslash
18137 # newline sequences.
18139 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18141 s/.\{148\}/&'"$ac_delim"'/g
18144 s/^[ ]*#[ ]*define[ ][ ]*/ /
18151 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18153 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18157 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18158 D["\1"]=" \3\\\\\\n"\\/p
18160 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18165 s/.\{148\}/&'"$ac_delim"'/g
18170 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18173 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18175 ' <confdefs.h | sed '
18176 s/'"$ac_delim"'/"\\\
18177 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18179 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18180 for (key in D) D_is_set[key] = 1
18183 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18185 split(line, arg, " ")
18186 if (arg[1] == "#") {
18190 defundef = substr(arg[1], 2)
18193 split(mac1, mac2, "(") #)
18195 prefix = substr(line, 1, index(line, defundef) - 1)
18196 if (D_is_set[macro]) {
18197 # Preserve the white space surrounding the "#".
18198 print prefix "define", macro P[macro] D[macro]
18201 # Replace #undef with comments. This is necessary, for example,
18202 # in the case of _POSIX_SOURCE, which is predefined and required
18203 # on some systems where configure will not decide to define it.
18204 if (defundef == "undef") {
18205 print "/*", prefix defundef, macro, "*/"
18213 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18214 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18215 fi # test -n "$CONFIG_HEADERS"
18218 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18223 :[FHLC]) ac_mode=$ac_tag; continue;;
18225 case $ac_mode$ac_tag in
18227 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
18228 :[FH]-) ac_tag=-:-;;
18229 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18246 -) ac_f="$tmp/stdin";;
18247 *) # Look for the file first in the build tree, then in the source tree
18248 # (if the path is not absolute). The absolute path cannot be DOS-style,
18249 # because $ac_f cannot contain `:'.
18253 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18255 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
18257 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18258 as_fn_append ac_file_inputs " '$ac_f'"
18261 # Let's still pretend it is `configure' which instantiates (i.e., don't
18262 # use $as_me), people would be surprised to read:
18263 # /* config.h. Generated by config.status. */
18264 configure_input='Generated from '`
18265 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18267 if test x"$ac_file" != x-; then
18268 configure_input="$ac_file. $configure_input"
18269 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18270 $as_echo "$as_me: creating $ac_file" >&6;}
18272 # Neutralize special characters interpreted by sed in replacement strings.
18273 case $configure_input in #(
18274 *\&* | *\|* | *\\* )
18275 ac_sed_conf_input=`$as_echo "$configure_input" |
18276 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18277 *) ac_sed_conf_input=$configure_input;;
18281 *:-:* | *:-) cat >"$tmp/stdin" \
18282 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18287 ac_dir=`$as_dirname -- "$ac_file" ||
18288 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18289 X"$ac_file" : 'X\(//\)[^/]' \| \
18290 X"$ac_file" : 'X\(//\)$' \| \
18291 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18292 $as_echo X"$ac_file" |
18293 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18297 /^X\(\/\/\)[^/].*/{
18310 as_dir="$ac_dir"; as_fn_mkdir_p
18314 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18316 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18317 # A ".." for each directory in $ac_dir_suffix.
18318 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18319 case $ac_top_builddir_sub in
18320 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18321 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18324 ac_abs_top_builddir=$ac_pwd
18325 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18326 # for backward compatibility:
18327 ac_top_builddir=$ac_top_build_prefix
18330 .) # We are building in place.
18332 ac_top_srcdir=$ac_top_builddir_sub
18333 ac_abs_top_srcdir=$ac_pwd ;;
18334 [\\/]* | ?:[\\/]* ) # Absolute name.
18335 ac_srcdir=$srcdir$ac_dir_suffix;
18336 ac_top_srcdir=$srcdir
18337 ac_abs_top_srcdir=$srcdir ;;
18338 *) # Relative name.
18339 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18340 ac_top_srcdir=$ac_top_build_prefix$srcdir
18341 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18343 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18353 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18354 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18356 ac_MKDIR_P=$MKDIR_P
18358 [\\/$]* | ?:[\\/]* ) ;;
18359 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18363 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18364 # If the template does not know about datarootdir, expand it.
18365 # FIXME: This hack should be removed a few years after 2.60.
18366 ac_datarootdir_hack=; ac_datarootdir_seen=
18377 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18378 *datarootdir*) ac_datarootdir_seen=yes;;
18379 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18381 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18383 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18384 ac_datarootdir_hack='
18385 s&@datadir@&$datadir&g
18386 s&@docdir@&$docdir&g
18387 s&@infodir@&$infodir&g
18388 s&@localedir@&$localedir&g
18389 s&@mandir@&$mandir&g
18390 s&\\\${datarootdir}&$datarootdir&g' ;;
18394 # Neutralize VPATH when `$srcdir' = `.'.
18395 # Shell code in configure.ac might set extrasub.
18396 # FIXME: do we really want to maintain this feature?
18397 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18398 ac_sed_extra="$ac_vpsub
18401 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18403 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18404 s|@configure_input@|$ac_sed_conf_input|;t t
18405 s&@top_builddir@&$ac_top_builddir_sub&;t t
18406 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18407 s&@srcdir@&$ac_srcdir&;t t
18408 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18409 s&@top_srcdir@&$ac_top_srcdir&;t t
18410 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18411 s&@builddir@&$ac_builddir&;t t
18412 s&@abs_builddir@&$ac_abs_builddir&;t t
18413 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18414 s&@INSTALL@&$ac_INSTALL&;t t
18415 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18416 $ac_datarootdir_hack
18418 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
18419 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18421 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18422 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
18423 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
18424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18425 which seems to be undefined. Please make sure it is defined" >&5
18426 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18427 which seems to be undefined. Please make sure it is defined" >&2;}
18431 -) cat "$tmp/out" && rm -f "$tmp/out";;
18432 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
18434 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18440 if test x"$ac_file" != x-; then
18442 $as_echo "/* $configure_input */" \
18443 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
18444 } >"$tmp/config.h" \
18445 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18446 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
18447 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18448 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18451 mv "$tmp/config.h" "$ac_file" \
18452 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18455 $as_echo "/* $configure_input */" \
18456 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
18457 || as_fn_error $? "could not create -" "$LINENO" 5
18459 # Compute "$ac_file"'s index in $config_headers.
18462 for _am_header in $config_headers :; do
18463 case $_am_header in
18464 $_am_arg | $_am_arg:* )
18467 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18470 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18471 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18472 X"$_am_arg" : 'X\(//\)[^/]' \| \
18473 X"$_am_arg" : 'X\(//\)$' \| \
18474 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18475 $as_echo X"$_am_arg" |
18476 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18480 /^X\(\/\/\)[^/].*/{
18492 s/.*/./; q'`/stamp-h$_am_stamp_count
18495 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18496 $as_echo "$as_me: executing $ac_file commands" >&6;}
18501 case $ac_file$ac_mode in
18502 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18503 # Autoconf 2.62 quotes --file arguments for eval, but not when files
18504 # are listed without --file. Let's play safe and only enable the eval
18505 # if we detect the quoting.
18506 case $CONFIG_FILES in
18507 *\'*) eval set x "$CONFIG_FILES" ;;
18508 *) set x $CONFIG_FILES ;;
18513 # Strip MF so we end up with the name of the file.
18514 mf=`echo "$mf" | sed -e 's/:.*$//'`
18515 # Check whether this is an Automake generated Makefile or not.
18516 # We used to match only the files named `Makefile.in', but
18517 # some people rename them; so instead we look at the file content.
18518 # Grep'ing the first line is not enough: some people post-process
18519 # each Makefile.in and add a new line on top of each file to say so.
18520 # Grep'ing the whole file is not good either: AIX grep has a line
18521 # limit of 2048, but all sed's we know have understand at least 4000.
18522 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18523 dirpart=`$as_dirname -- "$mf" ||
18524 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18525 X"$mf" : 'X\(//\)[^/]' \| \
18526 X"$mf" : 'X\(//\)$' \| \
18527 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18529 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18533 /^X\(\/\/\)[^/].*/{
18549 # Extract the definition of DEPDIR, am__include, and am__quote
18550 # from the Makefile without running `make'.
18551 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18552 test -z "$DEPDIR" && continue
18553 am__include=`sed -n 's/^am__include = //p' < "$mf"`
18554 test -z "am__include" && continue
18555 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18556 # When using ansi2knr, U may be empty or an underscore; expand it
18557 U=`sed -n 's/^U = //p' < "$mf"`
18558 # Find all dependency output files, they are included files with
18559 # $(DEPDIR) in their names. We invoke sed twice because it is the
18560 # simplest approach to changing $(DEPDIR) to its actual value in the
18562 for file in `sed -n "
18563 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18564 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18565 # Make sure the directory exists.
18566 test -f "$dirpart/$file" && continue
18567 fdir=`$as_dirname -- "$file" ||
18568 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18569 X"$file" : 'X\(//\)[^/]' \| \
18570 X"$file" : 'X\(//\)$' \| \
18571 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18572 $as_echo X"$file" |
18573 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18577 /^X\(\/\/\)[^/].*/{
18590 as_dir=$dirpart/$fdir; as_fn_mkdir_p
18591 # echo "creating $dirpart/$file"
18592 echo '# dummy' > "$dirpart/$file"
18599 # See if we are running on zsh, and set the options which allow our
18600 # commands through without removal of \ escapes.
18601 if test -n "${ZSH_VERSION+set}" ; then
18602 setopt NO_GLOB_SUBST
18605 cfgfile="${ofile}T"
18606 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18609 cat <<_LT_EOF >> "$cfgfile"
18612 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18613 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18614 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18615 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18617 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18618 # 2006, 2007, 2008 Free Software Foundation, Inc.
18619 # Written by Gordon Matzigkeit, 1996
18621 # This file is part of GNU Libtool.
18623 # GNU Libtool is free software; you can redistribute it and/or
18624 # modify it under the terms of the GNU General Public License as
18625 # published by the Free Software Foundation; either version 2 of
18626 # the License, or (at your option) any later version.
18628 # As a special exception to the GNU General Public License,
18629 # if you distribute this file as part of a program or library that
18630 # is built using GNU Libtool, you may include this file under the
18631 # same distribution terms that you use for the rest of that program.
18633 # GNU Libtool is distributed in the hope that it will be useful,
18634 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18635 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18636 # GNU General Public License for more details.
18638 # You should have received a copy of the GNU General Public License
18639 # along with GNU Libtool; see the file COPYING. If not, a copy
18640 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18641 # obtained by writing to the Free Software Foundation, Inc.,
18642 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18645 # The names of the tagged configurations supported by this script.
18648 # ### BEGIN LIBTOOL CONFIG
18650 # Assembler program.
18653 # DLL creation program.
18656 # Object dumper program.
18659 # Which release of libtool.m4 was used?
18660 macro_version=$macro_version
18661 macro_revision=$macro_revision
18663 # Whether or not to build shared libraries.
18664 build_libtool_libs=$enable_shared
18666 # Whether or not to build static libraries.
18667 build_old_libs=$enable_static
18669 # What type of objects to build.
18672 # Whether or not to optimize for fast installation.
18673 fast_install=$enable_fast_install
18676 host_alias=$host_alias
18680 # The build system.
18681 build_alias=$build_alias
18685 # A sed program that does not truncate output.
18688 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18689 Xsed="\$SED -e 1s/^X//"
18691 # A grep program that handles long lines.
18697 # A literal string matcher.
18700 # A BSD- or MS-compatible name lister.
18703 # Whether we need soft or hard links.
18706 # What is the maximum length of a command?
18707 max_cmd_len=$max_cmd_len
18709 # Object file suffix (normally "o").
18712 # Executable file suffix (normally "").
18715 # whether the shell understands "unset".
18718 # turn spaces into newlines.
18721 # turn newlines into spaces.
18724 # How to create reloadable object files.
18725 reload_flag=$lt_reload_flag
18726 reload_cmds=$lt_reload_cmds
18728 # Method to check whether dependent libraries are shared objects.
18729 deplibs_check_method=$lt_deplibs_check_method
18731 # Command to use when deplibs_check_method == "file_magic".
18732 file_magic_cmd=$lt_file_magic_cmd
18736 AR_FLAGS=$lt_AR_FLAGS
18738 # A symbol stripping program.
18741 # Commands used to install an old-style archive.
18743 old_postinstall_cmds=$lt_old_postinstall_cmds
18744 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18749 # LTCC compiler flags.
18750 LTCFLAGS=$lt_CFLAGS
18752 # Take the output of nm and produce a listing of raw symbols and C names.
18753 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18755 # Transform the output of nm in a proper C declaration.
18756 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18758 # Transform the output of nm in a C name address pair.
18759 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18761 # Transform the output of nm in a C name address pair when lib prefix is needed.
18762 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18764 # The name of the directory that contains temporary libtool files.
18767 # Shell to use when invoking shell scripts.
18770 # An echo program that does not interpret backslashes.
18773 # Used to examine libraries when file_magic_cmd begins with "file".
18774 MAGIC_CMD=$MAGIC_CMD
18776 # Must we lock files when doing compilation?
18777 need_locks=$lt_need_locks
18779 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18780 DSYMUTIL=$lt_DSYMUTIL
18782 # Tool to change global to local symbols on Mac OS X.
18785 # Tool to manipulate fat objects and archives on Mac OS X.
18788 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18791 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18792 OTOOL64=$lt_OTOOL64
18794 # Old archive suffix (normally "a").
18797 # Shared library suffix (normally ".so").
18798 shrext_cmds=$lt_shrext_cmds
18800 # The commands to extract the exported symbol list from a shared archive.
18801 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18803 # Variables whose values should be saved in libtool wrapper scripts and
18804 # restored at link time.
18805 variables_saved_for_relink=$lt_variables_saved_for_relink
18807 # Do we need the "lib" prefix for modules?
18808 need_lib_prefix=$need_lib_prefix
18810 # Do we need a version for libraries?
18811 need_version=$need_version
18813 # Library versioning type.
18814 version_type=$version_type
18816 # Shared library runtime path variable.
18817 runpath_var=$runpath_var
18819 # Shared library path variable.
18820 shlibpath_var=$shlibpath_var
18822 # Is shlibpath searched before the hard-coded library search path?
18823 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18825 # Format of library name prefix.
18826 libname_spec=$lt_libname_spec
18828 # List of archive names. First name is the real one, the rest are links.
18829 # The last name is the one that the linker finds with -lNAME
18830 library_names_spec=$lt_library_names_spec
18832 # The coded name of the library, if different from the real name.
18833 soname_spec=$lt_soname_spec
18835 # Command to use after installation of a shared archive.
18836 postinstall_cmds=$lt_postinstall_cmds
18838 # Command to use after uninstallation of a shared archive.
18839 postuninstall_cmds=$lt_postuninstall_cmds
18841 # Commands used to finish a libtool library installation in a directory.
18842 finish_cmds=$lt_finish_cmds
18844 # As "finish_cmds", except a single script fragment to be evaled but
18846 finish_eval=$lt_finish_eval
18848 # Whether we should hardcode library paths into libraries.
18849 hardcode_into_libs=$hardcode_into_libs
18851 # Compile-time system search path for libraries.
18852 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18854 # Run-time system search path for libraries.
18855 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18857 # Whether dlopen is supported.
18858 dlopen_support=$enable_dlopen
18860 # Whether dlopen of programs is supported.
18861 dlopen_self=$enable_dlopen_self
18863 # Whether dlopen of statically linked programs is supported.
18864 dlopen_self_static=$enable_dlopen_self_static
18866 # Commands to strip libraries.
18867 old_striplib=$lt_old_striplib
18868 striplib=$lt_striplib
18871 # The linker used to build libraries.
18874 # Commands used to build an old-style archive.
18875 old_archive_cmds=$lt_old_archive_cmds
18877 # A language specific compiler.
18880 # Is the compiler the GNU compiler?
18883 # Compiler flag to turn off builtin functions.
18884 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18886 # How to pass a linker flag through the compiler.
18887 wl=$lt_lt_prog_compiler_wl
18889 # Additional compiler flags for building library objects.
18890 pic_flag=$lt_lt_prog_compiler_pic
18892 # Compiler flag to prevent dynamic linking.
18893 link_static_flag=$lt_lt_prog_compiler_static
18895 # Does compiler simultaneously support -c and -o options?
18896 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18898 # Whether or not to add -lc for building shared libraries.
18899 build_libtool_need_lc=$archive_cmds_need_lc
18901 # Whether or not to disallow shared libs when runtime libs are static.
18902 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18904 # Compiler flag to allow reflexive dlopens.
18905 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18907 # Compiler flag to generate shared objects directly from archives.
18908 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18910 # Whether the compiler copes with passing no objects directly.
18911 compiler_needs_object=$lt_compiler_needs_object
18913 # Create an old-style archive from a shared archive.
18914 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18916 # Create a temporary old-style archive to link instead of a shared archive.
18917 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18919 # Commands used to build a shared archive.
18920 archive_cmds=$lt_archive_cmds
18921 archive_expsym_cmds=$lt_archive_expsym_cmds
18923 # Commands used to build a loadable module if different from building
18924 # a shared archive.
18925 module_cmds=$lt_module_cmds
18926 module_expsym_cmds=$lt_module_expsym_cmds
18928 # Whether we are building with GNU ld or not.
18929 with_gnu_ld=$lt_with_gnu_ld
18931 # Flag that allows shared libraries with undefined symbols to be built.
18932 allow_undefined_flag=$lt_allow_undefined_flag
18934 # Flag that enforces no undefined symbols.
18935 no_undefined_flag=$lt_no_undefined_flag
18937 # Flag to hardcode \$libdir into a binary during linking.
18938 # This must work even if \$libdir does not exist
18939 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18941 # If ld is used when linking, flag to hardcode \$libdir into a binary
18942 # during linking. This must work even if \$libdir does not exist.
18943 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18945 # Whether we need a single "-rpath" flag with a separated argument.
18946 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18948 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18949 # DIR into the resulting binary.
18950 hardcode_direct=$hardcode_direct
18952 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18953 # DIR into the resulting binary and the resulting library dependency is
18954 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18955 # library is relocated.
18956 hardcode_direct_absolute=$hardcode_direct_absolute
18958 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18959 # into the resulting binary.
18960 hardcode_minus_L=$hardcode_minus_L
18962 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18963 # into the resulting binary.
18964 hardcode_shlibpath_var=$hardcode_shlibpath_var
18966 # Set to "yes" if building a shared library automatically hardcodes DIR
18967 # into the library and all subsequent libraries and executables linked
18969 hardcode_automatic=$hardcode_automatic
18971 # Set to yes if linker adds runtime paths of dependent libraries
18972 # to runtime path list.
18973 inherit_rpath=$inherit_rpath
18975 # Whether libtool must link a program against all its dependency libraries.
18976 link_all_deplibs=$link_all_deplibs
18978 # Fix the shell variable \$srcfile for the compiler.
18979 fix_srcfile_path=$lt_fix_srcfile_path
18981 # Set to "yes" if exported symbols are required.
18982 always_export_symbols=$always_export_symbols
18984 # The commands to list exported symbols.
18985 export_symbols_cmds=$lt_export_symbols_cmds
18987 # Symbols that should not be listed in the preloaded symbols.
18988 exclude_expsyms=$lt_exclude_expsyms
18990 # Symbols that must always be exported.
18991 include_expsyms=$lt_include_expsyms
18993 # Commands necessary for linking programs (against libraries) with templates.
18994 prelink_cmds=$lt_prelink_cmds
18996 # Specify filename containing input files.
18997 file_list_spec=$lt_file_list_spec
18999 # How to hardcode a shared library path into an executable.
19000 hardcode_action=$hardcode_action
19002 # ### END LIBTOOL CONFIG
19008 cat <<\_LT_EOF >> "$cfgfile"
19009 # AIX sometimes has problems with the GCC collect2 program. For some
19010 # reason, if we set the COLLECT_NAMES environment variable, the problems
19011 # vanish in a puff of smoke.
19012 if test "X${COLLECT_NAMES+set}" != Xset; then
19014 export COLLECT_NAMES
19021 ltmain="$ac_aux_dir/ltmain.sh"
19024 # We use sed instead of cat because bash on DJGPP gets confused if
19025 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19026 # text mode, it properly converts lines to CR/LF. This bash problem
19027 # is reportedly fixed, but why not run on old versions too?
19028 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
19029 || (rm -f "$cfgfile"; exit 1)
19033 cat << \_LT_EOF >> "$cfgfile"
19035 # func_dirname file append nondir_replacement
19036 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19037 # otherwise set result to NONDIR_REPLACEMENT.
19041 */*) func_dirname_result="${1%/*}${2}" ;;
19042 * ) func_dirname_result="${3}" ;;
19046 # func_basename file
19049 func_basename_result="${1##*/}"
19052 # func_dirname_and_basename file append nondir_replacement
19053 # perform func_basename and func_dirname in a single function
19055 # dirname: Compute the dirname of FILE. If nonempty,
19056 # add APPEND to the result, otherwise set result
19057 # to NONDIR_REPLACEMENT.
19058 # value returned in "$func_dirname_result"
19059 # basename: Compute filename of FILE.
19060 # value retuned in "$func_basename_result"
19061 # Implementation must be kept synchronized with func_dirname
19062 # and func_basename. For efficiency, we do not delegate to
19063 # those functions but instead duplicate the functionality here.
19064 func_dirname_and_basename ()
19067 */*) func_dirname_result="${1%/*}${2}" ;;
19068 * ) func_dirname_result="${3}" ;;
19070 func_basename_result="${1##*/}"
19073 # func_stripname prefix suffix name
19074 # strip PREFIX and SUFFIX off of NAME.
19075 # PREFIX and SUFFIX must not contain globbing or regex special
19076 # characters, hashes, percent signs, but SUFFIX may contain a leading
19077 # dot (in which case that matches only a dot).
19080 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
19081 # positional parameters, so assign one to ordinary parameter first.
19082 func_stripname_result=${3}
19083 func_stripname_result=${func_stripname_result#"${1}"}
19084 func_stripname_result=${func_stripname_result%"${2}"}
19090 func_opt_split_opt=${1%%=*}
19091 func_opt_split_arg=${1#*=}
19098 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
19099 *) func_lo2o_result=${1} ;;
19103 # func_xform libobj-or-source
19106 func_xform_result=${1%.*}.lo
19109 # func_arith arithmetic-term...
19112 func_arith_result=$(( $* ))
19116 # STRING may not start with a hyphen.
19119 func_len_result=${#1}
19124 *) # Bourne compatible functions.
19125 cat << \_LT_EOF >> "$cfgfile"
19127 # func_dirname file append nondir_replacement
19128 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19129 # otherwise set result to NONDIR_REPLACEMENT.
19132 # Extract subdirectory from the argument.
19133 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
19134 if test "X$func_dirname_result" = "X${1}"; then
19135 func_dirname_result="${3}"
19137 func_dirname_result="$func_dirname_result${2}"
19141 # func_basename file
19144 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
19148 # func_stripname prefix suffix name
19149 # strip PREFIX and SUFFIX off of NAME.
19150 # PREFIX and SUFFIX must not contain globbing or regex special
19151 # characters, hashes, percent signs, but SUFFIX may contain a leading
19152 # dot (in which case that matches only a dot).
19153 # func_strip_suffix prefix name
19157 .*) func_stripname_result=`$ECHO "X${3}" \
19158 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
19159 *) func_stripname_result=`$ECHO "X${3}" \
19160 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
19165 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
19166 my_sed_long_arg='1s/^-[^=]*=//'
19171 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
19172 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
19178 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
19181 # func_xform libobj-or-source
19184 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
19187 # func_arith arithmetic-term...
19190 func_arith_result=`expr "$@"`
19194 # STRING may not start with a hyphen.
19197 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
19203 case $lt_shell_append in
19205 cat << \_LT_EOF >> "$cfgfile"
19207 # func_append var value
19208 # Append VALUE to the end of shell variable VAR.
19216 cat << \_LT_EOF >> "$cfgfile"
19218 # func_append var value
19219 # Append VALUE to the end of shell variable VAR.
19230 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
19231 || (rm -f "$cfgfile"; exit 1)
19233 mv -f "$cfgfile" "$ofile" ||
19234 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19245 ac_clean_files=$ac_clean_files_save
19247 test $ac_write_fail = 0 ||
19248 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19251 # configure is writing to config.log, and then calls config.status.
19252 # config.status does its own redirection, appending to config.log.
19253 # Unfortunately, on DOS this fails, as config.log is still kept open
19254 # by configure, so config.status won't be able to write to it; its
19255 # output is simply discarded. So we exec the FD to /dev/null,
19256 # effectively closing config.log, so it can be properly (re)opened and
19257 # appended to by config.status. When coming back to configure, we
19258 # need to make the FD available again.
19259 if test "$no_create" != yes; then
19261 ac_config_status_args=
19262 test "$silent" = yes &&
19263 ac_config_status_args="$ac_config_status_args --quiet"
19265 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19267 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19268 # would make configure fail if this is the last instruction.
19269 $ac_cs_success || as_fn_exit 1
19271 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19273 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19278 #####################################################################
19284 echo "------------------------------------------------------------------------"
19285 echo "$PACKAGE $VERSION"
19286 echo "------------------------------------------------------------------------"
19288 echo "Configuration Options Summary:"
19290 echo " Amalgamation.........: ${do_amalgamation}"
19291 echo " Ecore IMF............: $have_ecore_imf"
19293 if test "x${want_multisense}" = "xyes" ; then
19294 echo " LibRemix.............: $have_libremix"
19295 echo " Libsndfile...........: $have_sndfile"
19296 echo " Ogg/Vorbis...........: $have_vorbis"
19297 echo " LibFLAC..............: $have_flac_lib"
19298 echo " LibALSA..............: $have_alsa_lib"
19301 echo " EDJE_PROGRAM_CACHE...: $want_edje_program_cache"
19302 echo " EDJE_CALC_CACHE......: $want_edje_calc_cache"
19303 echo " Fixed point..........: $want_fixed_point"
19304 echo " Documentation........: ${build_doc}"
19305 echo " Tests................: ${enable_tests}"
19306 echo " Coverage.............: ${enable_coverage}"
19307 echo " Examples.............: install:${install_examples} build:${build_examples}"
19311 echo " Build edje_cc................: $have_edje_cc"
19312 echo " Build edje_decc..............: $have_edje_decc"
19313 echo " Build edje_recc..............: $have_edje_recc"
19314 echo " Build edje_player............: $have_edje_player"
19315 echo " Build edje_inspector.........: $have_edje_inspector"
19316 echo " Build edje_external_inspector: $have_edje_external_inspector"
19317 echo " Build edje_watch.............: $have_edje_watch"
19319 echo "Compilation............: make (or gmake)"
19320 echo " CPPFLAGS.............: $CPPFLAGS"
19321 echo " CFLAGS...............: $CFLAGS"
19322 echo " LDFLAGS..............: $LDFLAGS"
19324 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
19325 echo " prefix...............: $prefix"